From 914971deeedc3d02956824f269f0ed07ebeba2cb Mon Sep 17 00:00:00 2001 From: Peter Hornburger Date: Sat, 26 Oct 2024 17:24:33 +0200 Subject: [PATCH] Samstag 17:30 --- src/app/app-routing.module.ts | 4 + src/app/app.component.ts | 3 +- src/app/dataclasses/mitarbeiterstruktur.ts | 3 + .../pages/common-home/common-home.page.html | 46 + src/app/pages/common-home/common-home.page.ts | 12 + .../fi-mitarbeiterlisteneu.html | 235 ++++ .../fi-mitarbeiterlisteneu.module.ts | 41 + .../fi-mitarbeiterlisteneu.scss | 47 + .../fi-mitarbeiterlisteneu.ts | 1129 +++++++++++++++++ .../database-mitarbeiter.service.ts | 12 +- .../database-pool/database-pool.service.ts | 12 + src/index.html | 4 +- www/index.html | 6 +- www/main.2ff3f67f4bb03547.js | 1 - www/main.aa9d44e4d803a702.js | 1 + 15 files changed, 1544 insertions(+), 12 deletions(-) create mode 100644 src/app/pages/fi-mitarbeiterlisteneu/fi-mitarbeiterlisteneu.html create mode 100644 src/app/pages/fi-mitarbeiterlisteneu/fi-mitarbeiterlisteneu.module.ts create mode 100644 src/app/pages/fi-mitarbeiterlisteneu/fi-mitarbeiterlisteneu.scss create mode 100644 src/app/pages/fi-mitarbeiterlisteneu/fi-mitarbeiterlisteneu.ts delete mode 100644 www/main.2ff3f67f4bb03547.js create mode 100644 www/main.aa9d44e4d803a702.js diff --git a/src/app/app-routing.module.ts b/src/app/app-routing.module.ts index 8ba5799..e461258 100644 --- a/src/app/app-routing.module.ts +++ b/src/app/app-routing.module.ts @@ -17,6 +17,10 @@ const routes: Routes = [ path: 'FiMitarbeiterlistePage', loadChildren: () => import('./pages/fi-mitarbeiterliste/fi-mitarbeiterliste.module').then(m => m.FIMitarbeiterlistePageModule), }, + { + path: 'PageNeu', + loadChildren: () => import('./pages/fi-mitarbeiterlisteneu/fi-mitarbeiterlisteneu.module').then(m => m.FIMitarbeiterlisteNeuPageModule), + }, { path: '', loadChildren: () => import('./pages/common-home/common-home.module').then(m => m.CommonHomePageModule), diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 666c253..f4e161d 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -338,7 +338,8 @@ export class AppComponent implements OnInit, OnDestroy, AfterContentChecked { if(this.Pool.Mitarbeiterdaten.Planeradministrator === true) { - Page = this.Pool.Appeinstellungen.AdminStartseite; + Page = 'PageNeu'; // this.Pool.Appeinstellungen.AdminStartseite; + // Page = this.Pool.Appeinstellungen.AdminStartseite; } else { diff --git a/src/app/dataclasses/mitarbeiterstruktur.ts b/src/app/dataclasses/mitarbeiterstruktur.ts index d9730c9..27c157c 100644 --- a/src/app/dataclasses/mitarbeiterstruktur.ts +++ b/src/app/dataclasses/mitarbeiterstruktur.ts @@ -32,6 +32,9 @@ export interface Mitarbeiterstruktur { Homeofficefreigabestandorte: string[]; Urlaubsfreigabeorte: string[]; + Urlaubsfreigeberliste: string[]; + Homeofficefreigeberliste: string[]; + Urlaubsfreigabeinfomailliste: string[]; Meintagliste: Meintagstruktur[]; Meinewocheliste: Meinewochestruktur[]; diff --git a/src/app/pages/common-home/common-home.page.html b/src/app/pages/common-home/common-home.page.html index b0eee1a..1c56849 100644 --- a/src/app/pages/common-home/common-home.page.html +++ b/src/app/pages/common-home/common-home.page.html @@ -226,6 +226,52 @@ + +
+ + + +
+ + + + + + + + +
+ +
+
+ +
+ + +
+ +
+
+
+ +
+ + + + +
+ Neu +
+
+ +
+ + diff --git a/src/app/pages/common-home/common-home.page.ts b/src/app/pages/common-home/common-home.page.ts index a6cbfe8..804c9ab 100644 --- a/src/app/pages/common-home/common-home.page.ts +++ b/src/app/pages/common-home/common-home.page.ts @@ -281,6 +281,18 @@ export class CommonHomePage implements OnInit, OnDestroy { } } + MitarbeiterNeuButtonClicked() { + + try { + + this.Tools.SetRootPage('PageNeu'); + + } catch (error) { + + this.Debug.ShowErrorMessage(error.message, 'Home', 'MitarbeiterNeuButtonClicked', this.Debug.Typen.Page); + } + } + PlanerButtonClicked() { try { diff --git a/src/app/pages/fi-mitarbeiterlisteneu/fi-mitarbeiterlisteneu.html b/src/app/pages/fi-mitarbeiterlisteneu/fi-mitarbeiterlisteneu.html new file mode 100644 index 0000000..37a54c2 --- /dev/null +++ b/src/app/pages/fi-mitarbeiterlisteneu/fi-mitarbeiterlisteneu.html @@ -0,0 +1,235 @@ + + + + + + + + + + + + + + + +
+ + +
+
+
{{Eintrag.Titel}}
+
+ + + + + + + +
+ + + + +
+
+ + + + + + + + + + + + + +
{{Freigeber.Vorname}}
{{Freigeber.Name}}
+
Urlaub
+
+
Homeoffice
+
+
Infomail
+
+ +
+
+ +
+
+
+
+ +
+ + + + + + + + + + + +
+ + + + +
+ {{Mitarbeiterbuchstabenliste[i]}} +
+
+ + + + + + + + + +
+
+ + + + + +
+ {{Mitarbeiter.Name}} {{Mitarbeiter.Vorname}} / {{Mitarbeiter.Kuerzel}} +
+
+
+ + + + + + + + + + + + + +
+ +
+ +
+ +
+
+ + + + + + + +
+ + + + +
Administrator
+
+ + + + + + + + +
Urlaubsfreigaben
{{GetStandortliste(Mitarbeiter.Urlaubsfreigabeorte)}}
+
+ + + + + + + + +
Homeofficefreigaben
{{GetStandortliste(Mitarbeiter.Homeofficefreigabestandorte)}}
+
+
+
+ +
+ + + + + +
+ keine Mitarbeiter vorhanden +
+ + + +
+ + + + + + + +
+ {{Mitarbeiterliste.length}} Einträge +
+ +
+
+ + + + + + + + + diff --git a/src/app/pages/fi-mitarbeiterlisteneu/fi-mitarbeiterlisteneu.module.ts b/src/app/pages/fi-mitarbeiterlisteneu/fi-mitarbeiterlisteneu.module.ts new file mode 100644 index 0000000..67a815c --- /dev/null +++ b/src/app/pages/fi-mitarbeiterlisteneu/fi-mitarbeiterlisteneu.module.ts @@ -0,0 +1,41 @@ +import { NgModule } from '@angular/core'; +import { CommonModule } from '@angular/common'; +import {FormsModule, ReactiveFormsModule} from '@angular/forms'; +import { Routes, RouterModule } from '@angular/router'; +import { IonicModule } from '@ionic/angular'; +import {FiMitarbeiterlisteNeuPage} from './fi-mitarbeiterlisteneu'; +import {PageHeaderModule} from "../../components/page-header/page-header.module"; +import {AbstandElementFixedModule} from "../../components/abstand-element-fixed/abstand-element-fixed.module"; +import {AlphabetModule} from "../../components/alphabet/alphabet.module"; +import {PageFooterModule} from "../../components/page-footer/page-footer.module"; +import {PageHeaderMenuModule} from "../../components/page-header-menu/page-header-menu.module"; +import {FiMitarbeiterEditorModule} from "../../components-page/fi-mitarbeiter-editor/fi-mitarbeiter-editor.module"; +import {AuswahlDialogModule} from "../../components/auswahl-dialog/auswahl-dialog.module"; +import {CheckboxClonModule} from "../../components/checkbox-clon/checkbox-clon.module"; + +const routes: Routes = [ + { + path: '', + component: FiMitarbeiterlisteNeuPage + } +]; + +@NgModule({ + imports: [ + CommonModule, + FormsModule, + ReactiveFormsModule, + IonicModule, + RouterModule.forChild(routes), + PageHeaderModule, + PageFooterModule, + AbstandElementFixedModule, + AlphabetModule, + PageHeaderMenuModule, + FiMitarbeiterEditorModule, + AuswahlDialogModule, + CheckboxClonModule, + ], + declarations: [FiMitarbeiterlisteNeuPage] +}) +export class FIMitarbeiterlisteNeuPageModule {} diff --git a/src/app/pages/fi-mitarbeiterlisteneu/fi-mitarbeiterlisteneu.scss b/src/app/pages/fi-mitarbeiterlisteneu/fi-mitarbeiterlisteneu.scss new file mode 100644 index 0000000..8736ca1 --- /dev/null +++ b/src/app/pages/fi-mitarbeiterlisteneu/fi-mitarbeiterlisteneu.scss @@ -0,0 +1,47 @@ + +.menubuttonclass { + + display: flex; + justify-content: flex-start; // horizontal + align-items: center; // vertikal + width: 100%; + min-height: 50px; + padding: 2px; +} + +.trennertdclass { + + width: 30px; +} + +.trennerdivclass { + + width: 1px; + min-height: 30px; + height: 100%; + background: white; +} + +.butttonclass { + + padding: 8px; + border-radius: 4px; + background: #444444; + font-size: 120%; + cursor: pointer; +} +.butttonclass:hover { + + background: #7b6a58; +} + +.checkboxdivclass { + + border-radius: 3px; + padding: 4px; width: 34px; + height: 34px; + display: flex; + justify-content: center; /* horizontal */ + align-items: center; /* vertikal */ + +} diff --git a/src/app/pages/fi-mitarbeiterlisteneu/fi-mitarbeiterlisteneu.ts b/src/app/pages/fi-mitarbeiterlisteneu/fi-mitarbeiterlisteneu.ts new file mode 100644 index 0000000..054ea58 --- /dev/null +++ b/src/app/pages/fi-mitarbeiterlisteneu/fi-mitarbeiterlisteneu.ts @@ -0,0 +1,1129 @@ +import {Component, OnDestroy, OnInit, ViewChild} from '@angular/core'; +import {BasicsProvider} from "../../services/basics/basics"; +import {DebugProvider} from "../../services/debug/debug"; +import {ToolsProvider} from "../../services/tools/tools"; +import {ConstProvider} from "../../services/const/const"; +import {Mitarbeiterstruktur} from "../../dataclasses/mitarbeiterstruktur"; +import {AlphabetComponent} from "../../components/alphabet/alphabet"; +import {DatabasePoolService} from "../../services/database-pool/database-pool.service"; +import {Subscription} from "rxjs"; +import {PageHeaderComponent} from "../../components/page-header/page-header"; +import {PageFooterComponent} from "../../components/page-footer/page-footer"; +import {Standortestruktur} from "../../dataclasses/standortestruktur"; +import * as lodash from "lodash-es"; +import {DatabaseMitarbeiterService} from "../../services/database-mitarbeiter/database-mitarbeiter.service"; +import {Auswahldialogstruktur} from "../../dataclasses/auswahldialogstruktur"; +import {DatabaseStandorteService} from "../../services/database-standorte/database-standorte.service"; +import {AuswahlDialogService} from "../../services/auswahl-dialog/auswahl-dialog.service"; +import {SecurityService} from "../../services/security/security.service"; +import {MenueService} from "../../services/menue/menue.service"; + +@Component({ + selector: 'fi-mitarbeiterliste-page', + templateUrl: 'fi-mitarbeiterlisteneu.html', + styleUrls: ['fi-mitarbeiterlisteneu.scss'], +}) +export class FiMitarbeiterlisteNeuPage implements OnInit, OnDestroy { + + @ViewChild('Alphabet', { static: false }) Alphabetcomponent: AlphabetComponent; + @ViewChild('PageHeader', { static: false }) PageHeader: PageHeaderComponent; + @ViewChild('PageFooter', { static: false }) PageFooter: PageFooterComponent; + + private ListeSubscription: Subscription; + public Mitarbeiterliste: Mitarbeiterstruktur[]; + public Mitarbeiteralphabet: string[]; + public Alphapetbreite: number; + public Mitarbeiteralphabetauswahl: string; + public HideAuswahl: boolean; + public Auswahlliste: Auswahldialogstruktur[]; + public Auswahlindex: number; + public Auswahltitel: string; + public Lastletter: string; + public Mitarbeiterbuchstabenliste: string[]; + public Standardalphabet: string[]; + public Zusatzbuttonliste: string[]; + public Mitarbeiterfiltertext: string; + public Listenbreite: number; + public ShowEditor: boolean; + public ShowAuswahl: boolean; + private Auswahldialogorigin: string; + public ShowAktuelle: boolean; + public HomeMouseOver: boolean; + public CurrentStandort: Standortestruktur; + public Menueliste: { + id: string, + Titel: string; + }[]; + public CurrentMenueID: string; + public Freigabefiltervarianten = { + + Keiner: 'keiner', + Administrator: 'Administrator', + Urlaubsfreigaben: 'Urlaubsfreigaben', + Homeofficefreigaben: 'Homeofficefreigaben' + }; + public Freigabefilter: string; + public Freigeberliste: Mitarbeiterstruktur[]; + + constructor(public Basics: BasicsProvider, + public Debug: DebugProvider, + public Tools: ToolsProvider, + public Const: ConstProvider, + private Security: SecurityService, + public DB: DatabaseMitarbeiterService, + public DBStandort: DatabaseStandorteService, + public Auswahlservice: AuswahlDialogService, + public Menuservice: MenueService, + public Pool: DatabasePoolService) { + 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 = true; + this.Mitarbeiteralphabet = this.Standardalphabet; + this.Mitarbeiterbuchstabenliste = []; + this.Mitarbeiterfiltertext = ''; + this.Listenbreite = 0; + this.ShowEditor = false; + this.ShowAuswahl = false; + this.Auswahltitel = 'Standort festlegen'; + this.Auswahlliste = []; + this.Auswahldialogorigin = this.Const.NONE; + this.ListeSubscription = null; + this.ShowAktuelle = true; + this.Freigabefilter = this.Freigabefiltervarianten.Keiner; + this.HomeMouseOver = false; + this.Menueliste = []; + this.Freigeberliste = []; + } + catch (error) { + + this.Debug.ShowErrorMessage(error.message, 'Mitarbeiterliste', 'constructor', this.Debug.Typen.Page); + } + } + + ngOnDestroy(): void { + + try { + + if(this.ListeSubscription !== null) { + + this.ListeSubscription.unsubscribe(); + this.ListeSubscription = null; + } + + } catch (error) { + + this.Debug.ShowErrorMessage(error.message, 'Mitarbeiterliste', 'OnDestroy', this.Debug.Typen.Page); + } + } + + MainMenueButtonClicked(mainmenubereich: string) { + + try { + + this.Menuservice.MainMenuebereich = mainmenubereich; + + this.Menuservice.SetCurrentPage(); + } + catch (error) { + + this.Debug.ShowErrorMessage(error.message, 'Page Header Menu', 'MainMenueButtonClicked', this.Debug.Typen.Component); + } + } + + ngOnInit(): void { + + try { + + this.Security.CheckSecurity(); + + this.ListeSubscription = this.Pool.MitarbeiterlisteChanged.subscribe(() => { + + this.InitMenue(); + this.PrepareDaten(); + }); + + this.InitMenue(); + this.PrepareDaten(); + + } catch (error) { + + this.Debug.ShowErrorMessage(error.message, 'Mitarbeiterliste', 'OnInit', this.Debug.Typen.Page); + } + } + + ResetSucheButtonClicked() { + + try { + this.Mitarbeiterfiltertext = ''; + this.Mitarbeiteralphabetauswahl = 'Alle'; + + this.PrepareDaten(); + + /* + switch (this.Menueindex) { + + case 0: + + + break; + + case 1: + + this.Lieferantenfiltertext = ''; + this.Lieferantenfilter = ''; + this.Lieferantenalphabetauswahl = 'Alle'; + this.Suchleiste.value = ''; + + this.PrepareLieferantenDaten(); + + break; + } + + */ + + } + catch (error) { + + this.Debug.ShowErrorMessage(error.message, 'Mitarbeiterliste', 'ResetSucheButtonClicked', this.Debug.Typen.Page); + } + } + + public ionViewDidEnter() { + + try { + + let Alphabetbreite: number = typeof this.Alphabetcomponent.Breite !== 'undefined' ? this.Alphabetcomponent.Breite : 40; + + this.Basics.MeassureInnercontent(this.PageHeader, this.PageFooter); + + this.Listenbreite = this.Basics.Contentbreite - Alphabetbreite - 4; + + this.Alphabetcomponent.InitScreen(); + } + catch (error) { + + this.Debug.ShowErrorMessage(error.message, 'Mitarbeiterliste', 'ionViewDidEnter', this.Debug.Typen.Page); + } + } + + ionViewDidLeave() { + + try { + + } + catch (error) { + + this.Debug.ShowErrorMessage(error.message, 'Mitarbeiterliste', 'ionViewDidLeave', this.Debug.Typen.Page); + } + } + + MitrabeiterButtonClicked(eintrag: Mitarbeiterstruktur) { + + try { + + this.DB.CurrentMitarbeiter = lodash.cloneDeep(eintrag); + this.ShowEditor = true; + } + catch (error) { + + this.Debug.ShowErrorMessage(error.message, 'Mitarbeiterliste', 'MitrabeiterButtonClicked', this.Debug.Typen.Page); + } + } + + AddMitarbeiterButtonClicked() { + + try { + + this.DB.CurrentMitarbeiter = this.DB.GetEmptyMitarbeiter(); + this.ShowEditor = true; + } + catch (error) { + + this.Debug.ShowErrorMessage(error.message, 'Mitarbeiterliste', 'AddMitarbeiterButtonClicked', this.Debug.Typen.Page); + } + } + + AlphabetClicked(buchstabe: any) { + + try { + + this.Mitarbeiterfiltertext = ''; + this.Mitarbeiteralphabetauswahl = buchstabe; + + this.PrepareDaten(); + } + catch (error) { + + this.Debug.ShowErrorMessage(error.message, 'Mitarbeiterliste', 'AlphabetClicked', this.Debug.Typen.Page); + } + } + + private GetMitarbeiterAlphabetbuchstabe(value: Mitarbeiterstruktur) { + + try { + + let Buchstabe: string = value.Name.substring(0, 1).toUpperCase(); + + if(Buchstabe !== this.Lastletter) { + + this.Lastletter = Buchstabe; + + return Buchstabe; + } + else { + + return ''; + } + + } catch (error) { + + this.Debug.ShowErrorMessage(error.message, 'Mitarbeiterliste', 'GetMitarbeiterAlphabetbuchstabe', this.Debug.Typen.Page); + } + } + + private InitMenue() { + + try { + + let Anzahl: number = 0; + + this.Menueliste = []; + + for(let Mitarbeiter of this.Pool.Mitarbeiterliste) { + + if(Mitarbeiter.StandortID === null || Mitarbeiter.StandortID === 'none' || Mitarbeiter.StandortID === '') Anzahl++; + } + + if(Anzahl > 0) { + + this.Menueliste.push({id: 'Unbekannt', Titel : 'Standort unbekannt'}); + } + + + for(let Standort of this.Pool.Standorteliste) { + + this.Menueliste.push({id: Standort._id, Titel: Standort.Ort}); + } + + + + if(Anzahl > 0) this.CurrentMenueID = 'Unbekannt'; + else this.CurrentMenueID = this.Pool.Standorteliste[0]._id; + + this.Menueliste.push({id: 'Archiviert', Titel: 'Archivierte Einträge'}); + this.Menueliste.push({id: 'Berechtigtenliste', Titel: 'Berechtigtenliste'}); + + + } catch (error) { + + this.Debug.ShowErrorMessage(error, 'Mitarbeiterliste', 'InitMenue', this.Debug.Typen.Component); + } + } + + + private PrepareDaten() { + + try { + + let Liste: Mitarbeiterstruktur[]; + let Merker: Mitarbeiterstruktur[]; + let Buchstabe: string; + let Quelle: Mitarbeiterstruktur[]; + let Laenge: number; + let TeilA: string; + let TeilB: string; + let TeilC: string; + let Teillaenge: number; + let PosA: number; + let Solltext: string; + let Suchtext: string; + let Anzahl: number = 0; + let NextMitarbeiter: Mitarbeiterstruktur; + let Mitarbeiter: Mitarbeiterstruktur; + + this.Freigeberliste = []; + + if(this.Pool.Mitarbeiterliste !== null) { + + Quelle = lodash.cloneDeep(this.Pool.Mitarbeiterliste); + + this.Lastletter = ''; + + // Nach Namen sortieren + + Quelle.sort( (a: Mitarbeiterstruktur, b: Mitarbeiterstruktur) => { + + if (a.Name < b.Name) return -1; + if (a.Name > b.Name) return 1; + return 0; + }); + + // Filter + + Liste = lodash.cloneDeep(Quelle); + + switch (this.CurrentMenueID) { + + case 'Unbekannt': + + this.CurrentStandort = null; + + Liste = lodash.filter(Liste, (Eintrag: Mitarbeiterstruktur) => { + + return (Eintrag.StandortID === '' || Eintrag.StandortID === null || Eintrag.StandortID === 'none') && Eintrag.Archiviert === false; + }); + + break; + + case 'Archiviert': + + this.CurrentStandort = null; + + Liste = lodash.filter(Liste, (Eintrag: Mitarbeiterstruktur) => { + + return Eintrag.Archiviert === true; + }); + + break; + + case 'Berechtigtenliste': + + this.CurrentStandort = null; + + Liste = lodash.filter(Liste, (Eintrag: Mitarbeiterstruktur) => { + + return (Eintrag.Planeradministrator === true || Eintrag.Urlaubsfreigaben === true || Eintrag.Homeofficefreigaben === true) && Eintrag.Archiviert === false; + }); + + break; + + default: + + this.CurrentStandort = lodash.find(this.Pool.Standorteliste, { _id: this.CurrentMenueID }); + + Liste = lodash.filter(Liste, (Eintrag: Mitarbeiterstruktur) => { + + return Eintrag.StandortID === this.CurrentMenueID && Eintrag.Archiviert === false; + }); + + this.Freigeberliste = []; + + for(let ID of this.CurrentStandort.Urlaubfreigabepersonen) { + + NextMitarbeiter = lodash.find(this.Pool.Mitarbeiterliste, {_id: ID}); + + if(!lodash.isUndefined(NextMitarbeiter)) { + + Mitarbeiter = lodash.find(this.Freigeberliste, {_id: NextMitarbeiter._id}); + + if(lodash.isUndefined(Mitarbeiter)) { + + this.Freigeberliste.push(NextMitarbeiter); + } + } + } + + this.Freigeberliste.sort( (a: Mitarbeiterstruktur, b: Mitarbeiterstruktur) => { + + if (a.Name < b.Name) return -1; + if (a.Name > b.Name) return 1; + return 0; + }); + } + + // Mitarbeiteralphabetauswahl Buchstaben festlegen + + if(Liste.length > 6) { + + this.Mitarbeiteralphabet = ['Alle']; + + for(let Eintrag of Liste) { + + Buchstabe = Eintrag.Name.substring(0, 1).toUpperCase(); + + if(this.Mitarbeiteralphabet.indexOf(Buchstabe) === -1) this.Mitarbeiteralphabet.push(Buchstabe); + } + } else { + + this.Mitarbeiteralphabet = this.Standardalphabet; + } + + // Alphabetfilter anwenden + + if(this.Mitarbeiteralphabetauswahl !== 'Alle') { + + Merker = lodash.cloneDeep(Liste); + + Liste = []; + + for(let Eintrag of Merker) { + + Buchstabe = Eintrag.Name.substring(0, 1).toUpperCase(); + + Buchstabe = Buchstabe === 'Ä' ? 'A' : Buchstabe; + Buchstabe = Buchstabe === 'Ö' ? 'O' : Buchstabe; + Buchstabe = Buchstabe === 'Ü' ? 'U' : Buchstabe; + + if(this.Mitarbeiteralphabetauswahl === Buchstabe) Liste.push(Eintrag); + } + } + + // Suche Mitarbeiterfilter anwenden + + if(this.Mitarbeiterfiltertext !== '') { + + Merker = lodash.cloneDeep(Liste); + Liste = []; + + for(let Eintrag of Merker) { + + Solltext = this.Mitarbeiterfiltertext.toLowerCase(); + Suchtext = Eintrag.Name.toLowerCase(); + PosA = Suchtext.indexOf(Solltext); + + if(PosA !== -1) { + + Laenge = Eintrag.Name.length; + Teillaenge = Solltext.length; + TeilA = Eintrag.Name.substr(0, PosA); + TeilB = Eintrag.Name.substr(PosA, Teillaenge); + Teillaenge = Laenge - Teillaenge - PosA; + TeilC = Eintrag.Name.substr(Laenge - Teillaenge, Teillaenge); + + Eintrag.Filtered = true; + Eintrag.Text_A = TeilA; + Eintrag.Text_B = TeilB; + Eintrag.Text_C = TeilC; + + Liste.push(Eintrag); + } + } + } + + // Buchstabenliste festlegen + + this.Mitarbeiterbuchstabenliste = []; + + for(let Eintrag of Liste) { + + this.Mitarbeiterbuchstabenliste.push(this.GetMitarbeiterAlphabetbuchstabe(Eintrag)); + } + + this.Mitarbeiterliste = lodash.cloneDeep(Liste); + } + } + catch (error) { + + this.Debug.ShowErrorMessage(error.message, 'Mitarbeiterliste', 'PrepareDaten', this.Debug.Typen.Page); + } + } + + + GetDialogTitel(): string { + + try { + + if(this.DB.CurrentMitarbeiter !== null) { + + return this.DB.CurrentMitarbeiter._id === null ? 'Neuen Mitarbeiter anlegen' : 'Mitarbeiter bearbeiten'; + } + else { + + return 'Unbekannt'; + } + + } catch (error) { + + this.Debug.ShowErrorMessage(error.message, 'Mitarbeiterliste', 'GetDialogTitel', this.Debug.Typen.Page); + } + } + + StandortClickedHandler() { + + try { + + let Index = 0; + + this.ShowAuswahl = true; + this.Auswahltitel = 'Standort festlegen'; + this.Auswahlliste = []; + + this.Auswahldialogorigin = this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Standort; + + for(let Eintrag of this.Pool.Standorteliste) { + + this.Auswahlliste.push({ Index: Index, FirstColumn: Eintrag.Kuerzel, SecoundColumn: Eintrag.Ort, Data: Eintrag }); + Index++; + } + + + this.Auswahlindex = lodash.findIndex(this.Pool.Standorteliste, {_id: this.DB.CurrentMitarbeiter.StandortID}); + + } catch (error) { + + this.Debug.ShowErrorMessage(error.message, 'Mitarbeiterliste', 'StandortClickedHandler', this.Debug.Typen.Page); + } + } + + AuswahlOkButtonClicked(data: any) { + + try { + + switch (this.Auswahldialogorigin) { + + case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Anrede: + + this.DB.CurrentMitarbeiter.Anrede = data; + + break; + + case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Urlaub: + + this.DB.CurrentMitarbeiter.Urlaub = data; + + break; + + case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Standort: + + this.DB.CurrentMitarbeiter.StandortID = data._id; + + break; + + case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Liste_Position: + + this.DB.CurrentMitarbeiter.PositionID = data; + + break; + + case 'Resturlaub': + + this.DB.CurrentMitarbeiter.Resturlaub = data; + + break; + + case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Liste_Standortfilter: + + this.DBStandort.CurrentStandortfilter = data; + this.Pool.Mitarbeitersettings.StandortFilter = data !== null ? data._id : this.Const.NONE; + this.Mitarbeiteralphabetauswahl = 'Alle'; + + this.DB.UpdateMitarbeiter(this.Pool.Mitarbeiterdaten).then(() => { + + this.DBStandort.StandortfilterChanged.emit(); + + }).catch((error) => { + + this.Debug.ShowErrorMessage(error.message, 'Mitarbeiterliste', 'AuswahlOkButtonClicked', this.Debug.Typen.Page); + }); + + this.PrepareDaten(); + + break; + } + + this.ShowAuswahl = false; + + } catch (error) { + + this.Debug.ShowErrorMessage(error.message, 'Mitarbeiterliste', 'AuswahlOkButtonClicked', this.Debug.Typen.Page); + } + } + + GetDialogTitelicon(): string { + + try { + + if(this.DB.CurrentMitarbeiter || this.Pool.Mitarbeiterdaten) { + + switch (this.Auswahltitel) { + + case 'Standort festlegen': + + return 'location-outline'; + + break; + + case 'Fachbereich festlegen': + + return 'hammer-outline'; + + break; + + case 'Standortfilter festlegen': + + return 'location-outline'; + + break; + + default: + + return 'help-outline'; + + break; + } + } + else return 'help-outline'; + + } catch (error) { + + this.Debug.ShowErrorMessage(error.message, 'Mitarbeiterliste', 'GetDialogTitelicon', this.Debug.Typen.Page); + } + } + + AnredeClickedEventHandler() { + + try { + + this.ShowAuswahl = true; + 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 = lodash.findIndex(this.Auswahlliste, {Data: this.DB.CurrentMitarbeiter.Anrede}); + + + } catch (error) { + + this.Debug.ShowErrorMessage(error, 'Mitarbeiterliste', 'AnredeClickedEventHandler', this.Debug.Typen.Page); + } + } + + UrlaubClickedEventHandler() { + + let Index: number = 0; + + this.ShowAuswahl = true; + this.Auswahltitel = 'Urlaubstage festlegen'; + this.Auswahlliste = []; + + this.Auswahldialogorigin = this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Urlaub; + + for(let i = 0; i <= 40; i = i + 0.5) { + + this.Auswahlliste.push({ Index: Index, FirstColumn:i.toFixed(1), SecoundColumn: i === 1 ? 'Tag' : 'Tage', Data: i }); + Index++; + } + + this.Auswahlindex = lodash.findIndex(this.Auswahlliste, {Data: this.DB.CurrentMitarbeiter.Urlaub}); + + } catch (error) { + + this.Debug.ShowErrorMessage(error, 'Mitarbeiterliste', 'UrlaubClickedEventHandler', this.Debug.Typen.Page); + } + + ShowAktuelleChanged(event: { status: boolean; index: number; event: any; value: string }) { + + try { + + this.ShowAktuelle = event.status; + + this.PrepareDaten(); + + } catch (error) { + + this.Debug.ShowErrorMessage(error, 'Mitarbeiterliste', 'ShowAktuelleChanged', this.Debug.Typen.Page); + } + + } + + GetStandortliste(Urlaubsfreigabeorte: string[]): string { + + try { + + let Standort: Standortestruktur; + let Standortliste: Standortestruktur[] = []; + let Text: string = ''; + let Index: number = 0; + + + for(let id of Urlaubsfreigabeorte) { + + Standort = lodash.find(this.Pool.Standorteliste, {_id: id}); + + if(!lodash.isUndefined(Standort)) Standortliste.push(Standort); + } + + Standortliste.sort((a: Standortestruktur, b: Standortestruktur) => { + + if (a.Ort < b.Ort) return -1; + if (a.Ort > b.Ort) return 1; + + return 0; + }); + + for(Standort of Standortliste) { + + Text += Standort.Ort.substring(0, 3).toUpperCase(); + + if(Index < Standortliste.length - 1) Text += ', '; + + Index++; + } + + return Text; + + } catch (error) { + + this.Debug.ShowErrorMessage(error, 'Mitarbeiterliste', 'GetStandortliste', this.Debug.Typen.Page); + } + } + + FreigabefilterChanged(event: any) { + + try { + + this.Freigabefilter = event.detail.value; + + this.PrepareDaten(); + + } catch (error) { + + this.Debug.ShowErrorMessage(error, 'Mitarbeiterliste', 'FreigabefilterChanged', this.Debug.Typen.Page); + } + } + + PositionClickedEventHandler() { + + try { + + let Index = 0; + + this.Auswahldialogorigin = this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Liste_Position; + + this.ShowAuswahl = true; + this.Auswahltitel = 'Position festlegen'; + this.Auswahlliste = []; + + for(let Eintrag of this.Pool.Mitarbeiterpositionenliste) { + + this.Auswahlliste.push({ Index: Index, FirstColumn: Eintrag.Bezeichnung, SecoundColumn: '', Data: Eintrag._id }); + Index++; + } + + debugger; + + + this.Auswahlindex = lodash.findIndex(this.Pool.Mitarbeiterpositionenliste, {_id: this.DB.CurrentMitarbeiter.PositionID}); + this.Auswahlindex++; + + + } catch (error) { + + this.Debug.ShowErrorMessage(error, 'Mitarbeiterliste', 'PositionClickedEventHandler', this.Debug.Typen.Page); + } + } + + + ResturlaubClicked() { + + try { + + let Index: number = 0; + + this.Auswahldialogorigin = 'Resturlaub'; + this.Auswahltitel = 'Resturlaub festlegen'; + this.Auswahlliste = []; + + for(let i = -25; i < 0; i = i + 0.5) { + + this.Auswahlliste.push({ Index: Index, FirstColumn:i.toFixed(1), SecoundColumn: i === - 1 ? 'Tag' : 'Tage', Data: i }); + Index++; + } + + for(let i = 0; i <= 25; i = i + 0.5) { + + this.Auswahlliste.push({ Index: Index, FirstColumn:i.toFixed(1), SecoundColumn: i === 1 ? 'Tag' : 'Tage', Data: i }); + Index++; + } + + this.Auswahlindex = lodash.findIndex(this.Auswahlliste, (Eintrag: Auswahldialogstruktur) => { + + return Eintrag.Data === this.DB.CurrentMitarbeiter.Resturlaub; + }); + + this.ShowAuswahl = true; + + } catch (error) { + + this.Debug.ShowErrorMessage(error, 'Mitarbeiterliste', 'ResturlaubClicked', this.Debug.Typen.Page); + } + } + + MenueButtonClicked(id: string) { + + try { + + this.CurrentMenueID = id; + + this.PrepareDaten(); + + } catch (error) { + + this.Debug.ShowErrorMessage(error, 'Mitarbeiterliste', 'MenueButtonClicked', this.Debug.Typen.Page); + } + + } + + CanUrlaubsfreigabe(Freigeber: Mitarbeiterstruktur): boolean { + + try { + + if(this.CurrentStandort !== null) { + + return this.CurrentStandort.Urlaubfreigabepersonen.indexOf(Freigeber._id) !== -1; + } + else { + + return false; + } + } catch (error) { + + this.Debug.ShowErrorMessage(error, 'Mitarbeiterliste', 'CanUrlaubsfreigabe', this.Debug.Typen.Page); + } + } + + CanHomeofficefreigabe(Freigeber: Mitarbeiterstruktur): boolean { + + try { + + if(this.CurrentStandort !== null) { + + return this.CurrentStandort.Homeofficefreigabepersonen.indexOf(Freigeber._id) !== -1; + } + else { + + return false; + } + } catch (error) { + + this.Debug.ShowErrorMessage(error, 'Mitarbeiterliste', 'CanHomeofficefreigabe', this.Debug.Typen.Page); + } + } + + UrlaufsfreigabeIsSet(Freigeber: Mitarbeiterstruktur, Mitarbeiter: Mitarbeiterstruktur) { + + try { + + return Mitarbeiter.Urlaubsfreigeberliste.indexOf(Freigeber._id) !== -1; + + } catch (error) { + + this.Debug.ShowErrorMessage(error, 'Mitarbeiterliste', 'UrlaufsfreigabeIsSet', this.Debug.Typen.Page); + } + } + + UrlaufsfreigabeinfomailIsSet(Freigeber: Mitarbeiterstruktur, Mitarbeiter: Mitarbeiterstruktur) { + + try { + + return Mitarbeiter.Urlaubsfreigabeinfomailliste.indexOf(Freigeber._id) !== -1; + + } catch (error) { + + this.Debug.ShowErrorMessage(error, 'Mitarbeiterliste', 'UrlaufsfreigabeinfomailIsSet', this.Debug.Typen.Page); + } + } + + HomeofficefreigabeIsSet(Freigeber: Mitarbeiterstruktur, Mitarbeiter: Mitarbeiterstruktur) { + + try { + + return Mitarbeiter.Homeofficefreigeberliste.indexOf(Freigeber._id) !== -1; + + } catch (error) { + + this.Debug.ShowErrorMessage(error, 'Mitarbeiterliste', 'HomeofficefreigabeIsSet', this.Debug.Typen.Page); + } + } + + async UrlaufsfreigabeChanged(event: { status: boolean; index: number; event: any; value: string }, Freigeber: Mitarbeiterstruktur, Mitarbeiter: Mitarbeiterstruktur) { + + try { + + if(event.status === true) { + + Mitarbeiter.Urlaubsfreigeberliste.push(Freigeber._id); + } + else { + + Mitarbeiter.Urlaubsfreigeberliste = lodash.filter(Mitarbeiter.Urlaubsfreigeberliste, (id: string) => { + + return id !== Freigeber._id; + }); + } + + await this.DB.UpdateMitarbeiter(Mitarbeiter); + + } catch (error) { + + this.Debug.ShowErrorMessage(error, 'Mitarbeiterliste', 'UrlaufsfreigabeChanged', this.Debug.Typen.Page); + } + } + + async UrlaufsfreigabeinfomailChanged(event: { status: boolean; index: number; event: any; value: string }, Freigeber: Mitarbeiterstruktur, Mitarbeiter: Mitarbeiterstruktur) { + + try { + + if(event.status === true) { + + Mitarbeiter.Urlaubsfreigabeinfomailliste.push(Freigeber._id); + } + else { + + Mitarbeiter.Urlaubsfreigabeinfomailliste = lodash.filter(Mitarbeiter.Urlaubsfreigabeinfomailliste, (id: string) => { + + return id !== Freigeber._id; + }); + } + + await this.DB.UpdateMitarbeiter(Mitarbeiter); + + } catch (error) { + + this.Debug.ShowErrorMessage(error, 'Mitarbeiterliste', 'UrlaufsfreigabeinfomailChanged', this.Debug.Typen.Page); + } + } + + async HomeofficefreigabeChanged(event: { status: boolean; index: number; event: any; value: string }, Freigeber: Mitarbeiterstruktur, Mitarbeiter: Mitarbeiterstruktur) { + + try { + + if(event.status === true) { + + Mitarbeiter.Homeofficefreigeberliste.push(Freigeber._id); + } + else { + + Mitarbeiter.Homeofficefreigeberliste = lodash.filter(Mitarbeiter.Homeofficefreigeberliste, (id: string) => { + + return id !== Freigeber._id; + }); + } + + await this.DB.UpdateMitarbeiter(Mitarbeiter); + + } catch (error) { + + this.Debug.ShowErrorMessage(error, 'Mitarbeiterliste', 'HomeofficefreigabeChanged', this.Debug.Typen.Page); + } + } + + async AllUrlaubClicked(Freigeber: Mitarbeiterstruktur) { + + try { + + this.Pool.ProgressMessage = 'Urlaubsfreigaben werden geändert'; + this.Pool.ShowProgress = true; + this.Pool.MaxProgressValue = this.Mitarbeiterliste.length; + this.Pool.CurrentProgressValue = 0; + + for(let Mitarbeiter of this.Mitarbeiterliste) { + + if(Mitarbeiter.Urlaubsfreigeberliste.indexOf(Freigeber._id) === -1) { + + Mitarbeiter.Urlaubsfreigeberliste.push(Freigeber._id); + } + else { + + Mitarbeiter.Urlaubsfreigeberliste = lodash.filter(Mitarbeiter.Urlaubsfreigeberliste, (id: string) => { + + return id !== Freigeber._id; + }); + } + + await this.DB.UpdateMitarbeiter(Mitarbeiter); + + this.Pool.CurrentProgressValue++; + } + + this.Pool.ShowProgress = false; + + } catch (error) { + + this.Debug.ShowErrorMessage(error, 'Mitarbeiterliste', 'AllUrlaubClicked', this.Debug.Typen.Page); + } + } + + async AllHomeofficeClicked(Freigeber: Mitarbeiterstruktur) { + + try { + + this.Pool.ProgressMessage = 'Homeofficefreigaben werden geändert'; + this.Pool.ShowProgress = true; + this.Pool.MaxProgressValue = this.Mitarbeiterliste.length; + this.Pool.CurrentProgressValue = 0; + + for(let Mitarbeiter of this.Mitarbeiterliste) { + + if(Mitarbeiter.Homeofficefreigeberliste.indexOf(Freigeber._id) === -1) { + + Mitarbeiter.Homeofficefreigeberliste.push(Freigeber._id); + } + else { + + Mitarbeiter.Homeofficefreigeberliste = lodash.filter(Mitarbeiter.Homeofficefreigeberliste, (id: string) => { + + return id !== Freigeber._id; + }); + } + + await this.DB.UpdateMitarbeiter(Mitarbeiter); + + this.Pool.CurrentProgressValue++; + } + + this.Pool.ShowProgress = false; + + } catch (error) { + + this.Debug.ShowErrorMessage(error, 'Mitarbeiterliste', 'AllHomeofficeClicked', this.Debug.Typen.Page); + } + } + + async AllUrlaubfreigabeInfomailClicked(Freigeber: Mitarbeiterstruktur) { + + try { + + this.Pool.ProgressMessage = 'Urlaubfreigaben Infomails werden geändert'; + this.Pool.ShowProgress = true; + this.Pool.MaxProgressValue = this.Mitarbeiterliste.length; + this.Pool.CurrentProgressValue = 0; + + for(let Mitarbeiter of this.Mitarbeiterliste) { + + if(Mitarbeiter.Urlaubsfreigabeinfomailliste.indexOf(Freigeber._id) === -1) { + + Mitarbeiter.Urlaubsfreigabeinfomailliste.push(Freigeber._id); + } + else { + + Mitarbeiter.Urlaubsfreigabeinfomailliste = lodash.filter(Mitarbeiter.Urlaubsfreigabeinfomailliste, (id: string) => { + + return id !== Freigeber._id; + }); + } + + await this.DB.UpdateMitarbeiter(Mitarbeiter); + + this.Pool.CurrentProgressValue++; + } + + this.Pool.ShowProgress = false; + + } catch (error) { + + this.Debug.ShowErrorMessage(error, 'Mitarbeiterliste', 'AllUrlaubfreigabeInfomailClicked', this.Debug.Typen.Page); + } + } +} diff --git a/src/app/services/database-mitarbeiter/database-mitarbeiter.service.ts b/src/app/services/database-mitarbeiter/database-mitarbeiter.service.ts index 8f38057..2956461 100644 --- a/src/app/services/database-mitarbeiter/database-mitarbeiter.service.ts +++ b/src/app/services/database-mitarbeiter/database-mitarbeiter.service.ts @@ -84,6 +84,8 @@ export class DatabaseMitarbeiterService { } } + /* + if(Mitarbeiter.StandortID === '') { let Standort = lodash.find(this.Pool.Standorteliste, {Ort: 'Bamberg'}); @@ -93,6 +95,7 @@ export class DatabaseMitarbeiterService { Mitarbeiter.StandortID = Standort._id; } } + */ let A = graphuser.surname !== null ? graphuser.surname.substring(0, 2).toUpperCase() : ''; let B = graphuser.givenName !== null ? graphuser.givenName.substring(0, 1).toUpperCase() : ''; @@ -236,6 +239,9 @@ export class DatabaseMitarbeiterService { Meinewocheliste: [], Archiviert: false, Urlaubsliste: [], + Urlaubsfreigeberliste: [], + Homeofficefreigeberliste: [], + Urlaubsfreigabeinfomailliste: [] }; } catch (error) { @@ -327,9 +333,9 @@ export class DatabaseMitarbeiterService { if(Merker !== null) { - this.CurrentMitarbeiter = Merker; - // this.Pool.Mitarbeiterdaten = Merker; - // this.Pool.MitarbeiterdatenChanged.emit(); + this.CurrentMitarbeiter = Merker; + + debugger; this.UpdateMitarbeiterliste(this.CurrentMitarbeiter); this.Pool.MitarbeiterlisteChanged.emit(); diff --git a/src/app/services/database-pool/database-pool.service.ts b/src/app/services/database-pool/database-pool.service.ts index 6e72cb5..0064b4f 100644 --- a/src/app/services/database-pool/database-pool.service.ts +++ b/src/app/services/database-pool/database-pool.service.ts @@ -885,6 +885,14 @@ export class DatabasePoolService { if(lodash.isUndefined(Standort.Urlaubfreigabepersonen)) Standort.Urlaubfreigabepersonen = []; } + this.Standorteliste.sort((a: Standortestruktur, b: Standortestruktur) => { + + if (a.Ort < b.Ort) return -1; + if (a.Ort > b.Ort) return 1; + + return 0; + }); + this.StandortelisteChanged.emit(); @@ -1026,6 +1034,10 @@ export class DatabasePoolService { mitarbeiter.PositionID = null; } + if(lodash.isUndefined(mitarbeiter.Urlaubsfreigeberliste)) mitarbeiter.Urlaubsfreigeberliste = []; + if(lodash.isUndefined(mitarbeiter.Homeofficefreigeberliste)) mitarbeiter.Homeofficefreigeberliste = []; + if(lodash.isUndefined(mitarbeiter.Urlaubsfreigabeinfomailliste)) mitarbeiter.Urlaubsfreigabeinfomailliste = [] + for(let Eintrag of mitarbeiter.Meinewocheliste) { if(lodash.isUndefined(Eintrag.Kalenderwoche)) Eintrag.Kalenderwoche = 0; diff --git a/src/index.html b/src/index.html index 3bab924..d454f0e 100644 --- a/src/index.html +++ b/src/index.html @@ -14,9 +14,7 @@ - - - + diff --git a/www/index.html b/www/index.html index 3ba70bf..1ae6a89 100644 --- a/www/index.html +++ b/www/index.html @@ -14,14 +14,12 @@ - - - + - + diff --git a/www/main.2ff3f67f4bb03547.js b/www/main.2ff3f67f4bb03547.js deleted file mode 100644 index d9c3a3f..0000000 --- a/www/main.2ff3f67f4bb03547.js +++ /dev/null @@ -1 +0,0 @@ -(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1590],{19248:(pe,m,s)=>{"use strict";s.d(m,{c:()=>u,r:()=>p});const u=(k,A)=>{k.componentOnReady?k.componentOnReady().then(H=>A(H)):p(()=>A(k))},p=k=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(k):"function"==typeof requestAnimationFrame?requestAnimationFrame(k):setTimeout(k)},51896:(pe,m,s)=>{"use strict";s.d(m,{L:()=>n,a:()=>l,b:()=>u,c:()=>c,d:()=>i,g:()=>k});const n="ionViewWillEnter",l="ionViewDidEnter",u="ionViewWillLeave",c="ionViewDidLeave",i="ionViewWillUnload",k=A=>A.classList.contains("ion-page")?A:A.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||A},30388:(pe,m,s)=>{"use strict";s.d(m,{c:()=>C});var n=s(14829),l=s(46384);let u;const i=_=>_.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),e=_=>(void 0===u&&(u=void 0===_.style.animationName&&void 0!==_.style.webkitAnimationName?"-webkit-":""),u),o=(_,w,D)=>{const L=w.startsWith("animation")?e(_):"";_.style.setProperty(L+w,D)},h=(_,w)=>{const D=w.startsWith("animation")?e(_):"";_.style.removeProperty(D+w)},p=[],f=(_=[],w)=>{if(void 0!==w){const D=Array.isArray(w)?w:[w];return[..._,...D]}return _},C=_=>{let w,D,L,N,V,G,K,Ie,Le,Ue,Xe,Ae,Be,R=[],k=[],A=[],H=!1,ie={},X=[],be=[],ce={},ze=0,ct=!1,xe=!1,_e=!0,Fe=!1,Ce=!0,re=!1;const Ee=_,et=[],vt=[],Tt=[],dt=[],ot=[],Vt=[],nn=[],vn=[],zt=[],Xt=[],En=[],$n="function"==typeof AnimationEffect||void 0!==n.w&&"function"==typeof n.w.AnimationEffect,Wt="function"==typeof Element&&"function"==typeof Element.prototype.animate&&$n,kn=()=>En,fe=(he,q)=>{const de=q.findIndex(qe=>qe.c===he);de>-1&&q.splice(de,1)},Ye=(he,q)=>((q?.oneTimeCallback?vt:et).push({c:he,o:q}),Be),$t=()=>{if(Wt)En.forEach(he=>{he.cancel()}),En.length=0;else{const he=dt.slice();(0,l.r)(()=>{he.forEach(q=>{h(q,"animation-name"),h(q,"animation-duration"),h(q,"animation-timing-function"),h(q,"animation-iteration-count"),h(q,"animation-delay"),h(q,"animation-play-state"),h(q,"animation-fill-mode"),h(q,"animation-direction")})})}},un=()=>{Vt.forEach(he=>{he?.parentNode&&he.parentNode.removeChild(he)}),Vt.length=0},Rt=()=>void 0!==V?V:K?K.getFill():"both",je=()=>void 0!==Le?Le:void 0!==G?G:K?K.getDirection():"normal",pt=()=>ct?"linear":void 0!==L?L:K?K.getEasing():"linear",mt=()=>xe?0:void 0!==Ue?Ue:void 0!==D?D:K?K.getDuration():0,on=()=>void 0!==N?N:K?K.getIterations():1,Ln=()=>void 0!==Xe?Xe:void 0!==w?w:K?K.getDelay():0,jn=()=>{0!==ze&&(ze--,0===ze&&((()=>{xr(),zt.forEach(ht=>ht()),Xt.forEach(ht=>ht());const he=_e?1:0,q=X,de=be,qe=ce;dt.forEach(ht=>{const St=ht.classList;q.forEach(Ft=>St.add(Ft)),de.forEach(Ft=>St.remove(Ft));for(const Ft in qe)qe.hasOwnProperty(Ft)&&o(ht,Ft,qe[Ft])}),Ue=void 0,Le=void 0,Xe=void 0,et.forEach(ht=>ht.c(he,Be)),vt.forEach(ht=>ht.c(he,Be)),vt.length=0,Ce=!0,_e&&(Fe=!0),_e=!0})(),K&&K.animationFinish()))},qn=(he=!0)=>{un();const q=(_=>(_.forEach(w=>{for(const D in w)if(w.hasOwnProperty(D)){const L=w[D];if("easing"===D)w["animation-timing-function"]=L,delete w[D];else{const N=i(D);N!==D&&(w[N]=L,delete w[D])}}}),_))(R);dt.forEach(de=>{if(q.length>0){const qe=((_=[])=>_.map(w=>{const D=w.offset,L=[];for(const N in w)w.hasOwnProperty(N)&&"offset"!==N&&L.push(`${N}: ${w[N]};`);return`${100*D}% { ${L.join(" ")} }`}).join(" "))(q);Ae=void 0!==_?_:(_=>{let w=p.indexOf(_);return w<0&&(w=p.push(_)-1),`ion-animation-${w}`})(qe);const ht=((_,w,D)=>{var L;const N=(_=>{const w=void 0!==_.getRootNode?_.getRootNode():_;return w.head||w})(D),V=e(D),G=N.querySelector("#"+_);if(G)return G;const R=(null!==(L=D.ownerDocument)&&void 0!==L?L:document).createElement("style");return R.id=_,R.textContent=`@${V}keyframes ${_} { ${w} } @${V}keyframes ${_}-alt { ${w} }`,N.appendChild(R),R})(Ae,qe,de);Vt.push(ht),o(de,"animation-duration",`${mt()}ms`),o(de,"animation-timing-function",pt()),o(de,"animation-delay",`${Ln()}ms`),o(de,"animation-fill-mode",Rt()),o(de,"animation-direction",je());const St=on()===1/0?"infinite":on().toString();o(de,"animation-iteration-count",St),o(de,"animation-play-state","paused"),he&&o(de,"animation-name",`${ht.id}-alt`),(0,l.r)(()=>{o(de,"animation-name",ht.id||null)})}})},ii=(he=!0)=>{(()=>{nn.forEach(qe=>qe()),vn.forEach(qe=>qe());const he=k,q=A,de=ie;dt.forEach(qe=>{const ht=qe.classList;he.forEach(St=>ht.add(St)),q.forEach(St=>ht.remove(St));for(const St in de)de.hasOwnProperty(St)&&o(qe,St,de[St])})})(),R.length>0&&(Wt?(dt.forEach(he=>{const q=he.animate(R,{id:Ee,delay:Ln(),duration:mt(),easing:pt(),iterations:on(),fill:Rt(),direction:je()});q.pause(),En.push(q)}),En.length>0&&(En[0].onfinish=()=>{jn()})):qn(he)),H=!0},Fr=he=>{if(he=Math.min(Math.max(he,0),.9999),Wt)En.forEach(q=>{q.currentTime=q.effect.getComputedTiming().delay+mt()*he,q.pause()});else{const q=`-${mt()*he}ms`;dt.forEach(de=>{R.length>0&&(o(de,"animation-delay",q),o(de,"animation-play-state","paused"))})}},rt=he=>{En.forEach(q=>{q.effect.updateTiming({delay:Ln(),duration:mt(),easing:pt(),iterations:on(),fill:Rt(),direction:je()})}),void 0!==he&&Fr(he)},kt=(he=!0,q)=>{(0,l.r)(()=>{dt.forEach(de=>{o(de,"animation-name",Ae||null),o(de,"animation-duration",`${mt()}ms`),o(de,"animation-timing-function",pt()),o(de,"animation-delay",void 0!==q?`-${q*mt()}ms`:`${Ln()}ms`),o(de,"animation-fill-mode",Rt()||null),o(de,"animation-direction",je()||null);const qe=on()===1/0?"infinite":on().toString();o(de,"animation-iteration-count",qe),he&&o(de,"animation-name",`${Ae}-alt`),(0,l.r)(()=>{o(de,"animation-name",Ae||null)})})})},Et=(he=!1,q=!0,de)=>(he&&ot.forEach(qe=>{qe.update(he,q,de)}),Wt?rt(de):kt(q,de),Be),Dn=()=>{H&&(Wt?En.forEach(he=>{he.pause()}):dt.forEach(he=>{o(he,"animation-play-state","paused")}),re=!0)},Xn=()=>{Ie=void 0,jn()},xr=()=>{Ie&&clearTimeout(Ie)},cn=he=>new Promise(q=>{he?.sync&&(xe=!0,Ye(()=>xe=!1,{oneTimeCallback:!0})),H||ii(),Fe&&(Wt?(Fr(0),rt()):kt(),Fe=!1),Ce&&(ze=ot.length+1,Ce=!1);const de=()=>{fe(qe,vt),q()},qe=()=>{fe(de,Tt),q()};Ye(qe,{oneTimeCallback:!0}),((he,q)=>{Tt.push({c:he,o:{oneTimeCallback:!0}})})(de),ot.forEach(ht=>{ht.play()}),Wt?(En.forEach(he=>{he.play()}),(0===R.length||0===dt.length)&&jn()):(()=>{if(xr(),(0,l.r)(()=>{dt.forEach(he=>{R.length>0&&o(he,"animation-play-state","running")})}),0===R.length||0===dt.length)jn();else{const he=Ln()||0,q=mt()||0,de=on()||1;isFinite(de)&&(Ie=setTimeout(Xn,he+q*de+100)),((_,w)=>{let D;const L={passive:!0},V=G=>{_===G.target&&(D&&D(),xr(),(0,l.r)(()=>{dt.forEach(he=>{h(he,"animation-duration"),h(he,"animation-delay"),h(he,"animation-play-state")}),(0,l.r)(jn)}))};_&&(_.addEventListener("webkitAnimationEnd",V,L),_.addEventListener("animationend",V,L),D=()=>{_.removeEventListener("webkitAnimationEnd",V,L),_.removeEventListener("animationend",V,L)})})(dt[0])}})(),re=!1}),F=(he,q)=>{const de=R[0];return void 0===de||void 0!==de.offset&&0!==de.offset?R=[{offset:0,[he]:q},...R]:de[he]=q,Be};return Be={parentAnimation:K,elements:dt,childAnimations:ot,id:Ee,animationFinish:jn,from:F,to:(he,q)=>{const de=R[R.length-1];return void 0===de||void 0!==de.offset&&1!==de.offset?R=[...R,{offset:1,[he]:q}]:de[he]=q,Be},fromTo:(he,q,de)=>F(he,q).to(he,de),parent:he=>(K=he,Be),play:cn,pause:()=>(ot.forEach(he=>{he.pause()}),Dn(),Be),stop:()=>{ot.forEach(he=>{he.stop()}),H&&($t(),H=!1),ct=!1,xe=!1,Ce=!0,Le=void 0,Ue=void 0,Xe=void 0,ze=0,Fe=!1,_e=!0,re=!1,Tt.forEach(he=>he.c(0,Be)),Tt.length=0},destroy:he=>(ot.forEach(q=>{q.destroy(he)}),(he=>{$t(),he&&un()})(he),dt.length=0,ot.length=0,R.length=0,et.length=0,vt.length=0,H=!1,Ce=!0,Be),keyframes:he=>{const q=R!==he;return R=he,q&&(he=>{Wt?kn().forEach(q=>{const de=q.effect;if(de.setKeyframes)de.setKeyframes(he);else{const qe=new KeyframeEffect(de.target,he,de.getTiming());q.effect=qe}}):qn()})(R),Be},addAnimation:he=>{if(null!=he)if(Array.isArray(he))for(const q of he)q.parent(Be),ot.push(q);else he.parent(Be),ot.push(he);return Be},addElement:he=>{if(null!=he)if(1===he.nodeType)dt.push(he);else if(he.length>=0)for(let q=0;q(V=he,Et(!0),Be),direction:he=>(G=he,Et(!0),Be),iterations:he=>(N=he,Et(!0),Be),duration:he=>(!Wt&&0===he&&(he=1),D=he,Et(!0),Be),easing:he=>(L=he,Et(!0),Be),delay:he=>(w=he,Et(!0),Be),getWebAnimations:kn,getKeyframes:()=>R,getFill:Rt,getDirection:je,getDelay:Ln,getIterations:on,getEasing:pt,getDuration:mt,afterAddRead:he=>(zt.push(he),Be),afterAddWrite:he=>(Xt.push(he),Be),afterClearStyles:(he=[])=>{for(const q of he)ce[q]="";return Be},afterStyles:(he={})=>(ce=he,Be),afterRemoveClass:he=>(be=f(be,he),Be),afterAddClass:he=>(X=f(X,he),Be),beforeAddRead:he=>(nn.push(he),Be),beforeAddWrite:he=>(vn.push(he),Be),beforeClearStyles:(he=[])=>{for(const q of he)ie[q]="";return Be},beforeStyles:(he={})=>(ie=he,Be),beforeRemoveClass:he=>(A=f(A,he),Be),beforeAddClass:he=>(k=f(k,he),Be),onFinish:Ye,isRunning:()=>0!==ze&&!re,progressStart:(he=!1,q)=>(ot.forEach(de=>{de.progressStart(he,q)}),Dn(),ct=he,H||ii(),Et(!1,!0,q),Be),progressStep:he=>(ot.forEach(q=>{q.progressStep(he)}),Fr(he),Be),progressEnd:(he,q,de)=>(ct=!1,ot.forEach(qe=>{qe.progressEnd(he,q,de)}),void 0!==de&&(Ue=de),Fe=!1,_e=!0,0===he?(Le="reverse"===je()?"normal":"reverse","reverse"===Le&&(_e=!1),Wt?(Et(),Fr(1-q)):(Xe=(1-q)*mt()*-1,Et(!1,!1))):1===he&&(Wt?(Et(),Fr(q)):(Xe=q*mt()*-1,Et(!1,!1))),void 0!==he&&!K&&cn(),Be)}}},59637:(pe,m,s)=>{"use strict";s.d(m,{E:()=>M,I:()=>o,a:()=>n,s:()=>h});const n=p=>{try{if(p instanceof o)return p.value;if(!c()||"string"!=typeof p||""===p)return p;if(p.includes("onload="))return"";const E=document.createDocumentFragment(),S=document.createElement("div");E.appendChild(S),S.innerHTML=p,e.forEach(_=>{const w=E.querySelectorAll(_);for(let D=w.length-1;D>=0;D--){const L=w[D];L.parentNode?L.parentNode.removeChild(L):E.removeChild(L);const N=u(L);for(let V=0;V{if(p.nodeType&&1!==p.nodeType)return;if(typeof NamedNodeMap<"u"&&!(p.attributes instanceof NamedNodeMap))return void p.remove();for(let S=p.attributes.length-1;S>=0;S--){const y=p.attributes.item(S),f=y.name;if(!i.includes(f.toLowerCase())){p.removeAttribute(f);continue}const C=y.value,_=p[f];(null!=C&&C.toLowerCase().includes("javascript:")||null!=_&&_.toLowerCase().includes("javascript:"))&&p.removeAttribute(f)}const E=u(p);for(let S=0;Snull!=p.children?p.children:p.childNodes,c=()=>{var p;const E=window,S=null===(p=E?.Ionic)||void 0===p?void 0:p.config;return!S||(S.get?S.get("sanitizerEnabled",!0):!0===S.sanitizerEnabled||void 0===S.sanitizerEnabled)},i=["class","id","href","src","name","slot"],e=["script","style","iframe","meta","link","object","embed"];class o{constructor(E){this.value=E}}const h=p=>{const E=window,S=E.Ionic;if(!S||!S.config||"Object"===S.config.constructor.name)return E.Ionic=E.Ionic||{},E.Ionic.config=Object.assign(Object.assign({},E.Ionic.config),p),E.Ionic.config},M=!1},86944:(pe,m,s)=>{"use strict";s.d(m,{g:()=>n});const n=(e,o,h,v,M)=>u(e[1],o[1],h[1],v[1],M).map(p=>l(e[0],o[0],h[0],v[0],p)),l=(e,o,h,v,M)=>M*(3*o*Math.pow(M-1,2)+M*(-3*h*M+3*h+v*M))-e*Math.pow(M-1,3),u=(e,o,h,v,M)=>i((v-=M)-3*(h-=M)+3*(o-=M)-(e-=M),3*h-6*o+3*e,3*o-3*e,e).filter(E=>E>=0&&E<=1),i=(e,o,h,v)=>{if(0===e)return((e,o,h)=>{const v=o*o-4*e*h;return v<0?[]:[(-o+Math.sqrt(v))/(2*e),(-o-Math.sqrt(v))/(2*e)]})(o,h,v);const M=(3*(h/=e)-(o/=e)*o)/3,p=(2*o*o*o-9*o*h+27*(v/=e))/27;if(0===M)return[Math.pow(-p,1/3)];if(0===p)return[Math.sqrt(-M),-Math.sqrt(-M)];const E=Math.pow(p/2,2)+Math.pow(M/3,3);if(0===E)return[Math.pow(p/2,.5)-o/3];if(E>0)return[Math.pow(-p/2+Math.sqrt(E),1/3)-Math.pow(p/2+Math.sqrt(E),1/3)-o/3];const S=Math.sqrt(Math.pow(-M/3,3)),y=Math.acos(-p/(2*Math.sqrt(Math.pow(-M/3,3)))),f=2*Math.pow(S,1/3);return[f*Math.cos(y/3)-o/3,f*Math.cos((y+2*Math.PI)/3)-o/3,f*Math.cos((y+4*Math.PI)/3)-o/3]}},10495:(pe,m,s)=>{"use strict";s.d(m,{C:()=>i,a:()=>u,d:()=>c});var n=s(1528),l=s(46384);const u=function(){var e=(0,n.c)(function*(o,h,v,M,p,E){var S;if(o)return o.attachViewToDom(h,v,p,M);if(!(E||"string"==typeof v||v instanceof HTMLElement))throw new Error("framework delegate is missing");const y="string"==typeof v?null===(S=h.ownerDocument)||void 0===S?void 0:S.createElement(v):v;return M&&M.forEach(f=>y.classList.add(f)),p&&Object.assign(y,p),h.appendChild(y),yield new Promise(f=>(0,l.c)(y,f)),y});return function(h,v,M,p,E,S){return e.apply(this,arguments)}}(),c=(e,o)=>{if(o){if(e)return e.removeViewFromDom(o.parentElement,o);o.remove()}return Promise.resolve()},i=()=>{let e,o;return{attachViewToDom:function(){var M=(0,n.c)(function*(p,E,S={},y=[]){var f,C;let _;if(e=p,E){const D="string"==typeof E?null===(f=e.ownerDocument)||void 0===f?void 0:f.createElement(E):E;y.forEach(L=>D.classList.add(L)),Object.assign(D,S),e.appendChild(D),_=D,yield new Promise(L=>(0,l.c)(D,L))}else if(e.children.length>0&&("ION-MODAL"===e.tagName||"ION-POPOVER"===e.tagName)&&!(_=e.children[0]).classList.contains("ion-delegate-host")){const L=null===(C=e.ownerDocument)||void 0===C?void 0:C.createElement("div");L.classList.add("ion-delegate-host"),y.forEach(N=>L.classList.add(N)),L.append(...e.children),e.appendChild(L),_=L}const w=document.querySelector("ion-app")||document.body;return o=document.createComment("ionic teleport"),e.parentNode.insertBefore(o,e),w.appendChild(e),_??e});return function(E,S){return M.apply(this,arguments)}}(),removeViewFromDom:()=>(e&&o&&(o.parentNode.insertBefore(e,o),o.remove()),Promise.resolve())}}},66560:(pe,m,s)=>{"use strict";s.d(m,{G:()=>i});class l{constructor(o,h,v,M,p){this.id=h,this.name=v,this.disableScroll=p,this.priority=1e6*M+h,this.ctrl=o}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 o=this.ctrl.capture(this.name,this.id,this.priority);return o&&this.disableScroll&&this.ctrl.disableScroll(this.id),o}release(){this.ctrl&&(this.ctrl.release(this.id),this.disableScroll&&this.ctrl.enableScroll(this.id))}destroy(){this.release(),this.ctrl=void 0}}class u{constructor(o,h,v,M){this.id=h,this.disable=v,this.disableScroll=M,this.ctrl=o}block(){if(this.ctrl){if(this.disable)for(const o of this.disable)this.ctrl.disableGesture(o,this.id);this.disableScroll&&this.ctrl.disableScroll(this.id)}}unblock(){if(this.ctrl){if(this.disable)for(const o of this.disable)this.ctrl.enableGesture(o,this.id);this.disableScroll&&this.ctrl.enableScroll(this.id)}}destroy(){this.unblock(),this.ctrl=void 0}}const c="backdrop-no-scroll",i=new class n{constructor(){this.gestureId=0,this.requestedStart=new Map,this.disabledGestures=new Map,this.disabledScroll=new Set}createGesture(o){var h;return new l(this,this.newID(),o.name,null!==(h=o.priority)&&void 0!==h?h:0,!!o.disableScroll)}createBlocker(o={}){return new u(this,this.newID(),o.disable,!!o.disableScroll)}start(o,h,v){return this.canStart(o)?(this.requestedStart.set(h,v),!0):(this.requestedStart.delete(h),!1)}capture(o,h,v){if(!this.start(o,h,v))return!1;const M=this.requestedStart;let p=-1e4;if(M.forEach(E=>{p=Math.max(p,E)}),p===v){this.capturedId=h,M.clear();const E=new CustomEvent("ionGestureCaptured",{detail:{gestureName:o}});return document.dispatchEvent(E),!0}return M.delete(h),!1}release(o){this.requestedStart.delete(o),this.capturedId===o&&(this.capturedId=void 0)}disableGesture(o,h){let v=this.disabledGestures.get(o);void 0===v&&(v=new Set,this.disabledGestures.set(o,v)),v.add(h)}enableGesture(o,h){const v=this.disabledGestures.get(o);void 0!==v&&v.delete(h)}disableScroll(o){this.disabledScroll.add(o),1===this.disabledScroll.size&&document.body.classList.add(c)}enableScroll(o){this.disabledScroll.delete(o),0===this.disabledScroll.size&&document.body.classList.remove(c)}canStart(o){return!(void 0!==this.capturedId||this.isDisabled(o))}isCaptured(){return void 0!==this.capturedId}isScrollDisabled(){return this.disabledScroll.size>0}isDisabled(o){const h=this.disabledGestures.get(o);return!!(h&&h.size>0)}newID(){return this.gestureId++,this.gestureId}}},72784:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{MENU_BACK_BUTTON_PRIORITY:()=>v,OVERLAY_BACK_BUTTON_PRIORITY:()=>h,blockHardwareBackButton:()=>e,shoudUseCloseWatcher:()=>i,startHardwareBackButton:()=>o});var n=s(1528),l=s(14829),u=s(88523);s(62992);const i=()=>u.c.get("experimentalCloseWatcher",!1)&&void 0!==l.w&&"CloseWatcher"in l.w,e=()=>{document.addEventListener("backbutton",()=>{})},o=()=>{const M=document;let p=!1;const E=()=>{if(p)return;let S=0,y=[];const f=new CustomEvent("ionBackButton",{bubbles:!1,detail:{register(w,D){y.push({priority:w,handler:D,id:S++})}}});M.dispatchEvent(f);const C=function(){var w=(0,n.c)(function*(D){try{if(D?.handler){const L=D.handler(_);null!=L&&(yield L)}}catch(L){console.error(L)}});return function(L){return w.apply(this,arguments)}}(),_=()=>{if(y.length>0){let w={priority:Number.MIN_SAFE_INTEGER,handler:()=>{},id:-1};y.forEach(D=>{D.priority>=w.priority&&(w=D)}),p=!0,y=y.filter(D=>D.id!==w.id),C(w).then(()=>p=!1)}};_()};if(i()){let S;const y=()=>{S?.destroy(),S=new l.w.CloseWatcher,S.onclose=()=>{E(),y()}};y()}else M.addEventListener("backbutton",E)},h=100,v=99},46384:(pe,m,s)=>{"use strict";s.d(m,{a:()=>h,b:()=>v,c:()=>u,d:()=>C,e:()=>f,f:()=>y,g:()=>M,h:()=>S,i:()=>o,j:()=>V,k:()=>i,l:()=>_,m:()=>c,n:()=>E,o:()=>w,p:()=>N,q:()=>G,r:()=>p,s:()=>R,t:()=>n,u:()=>D,v:()=>L});const n=(k,A=0)=>new Promise(H=>{l(k,A,H)}),l=(k,A=0,H)=>{let K,ie;const X={passive:!0},ce=()=>{K&&K()},ze=ct=>{(void 0===ct||k===ct.target)&&(ce(),H(ct))};return k&&(k.addEventListener("webkitTransitionEnd",ze,X),k.addEventListener("transitionend",ze,X),ie=setTimeout(ze,A+500),K=()=>{void 0!==ie&&(clearTimeout(ie),ie=void 0),k.removeEventListener("webkitTransitionEnd",ze,X),k.removeEventListener("transitionend",ze,X)}),ce},u=(k,A)=>{k.componentOnReady?k.componentOnReady().then(H=>A(H)):p(()=>A(k))},c=k=>void 0!==k.componentOnReady,i=(k,A=[])=>{const H={};return A.forEach(K=>{k.hasAttribute(K)&&(null!==k.getAttribute(K)&&(H[K]=k.getAttribute(K)),k.removeAttribute(K))}),H},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"],o=(k,A)=>{let H=e;return A&&A.length>0&&(H=H.filter(K=>!A.includes(K))),i(k,H)},h=(k,A,H,K)=>{var ie;if(typeof window<"u"){const X=window,be=null===(ie=X?.Ionic)||void 0===ie?void 0:ie.config;if(be){const ce=be.get("_ael");if(ce)return ce(k,A,H,K);if(be._ael)return be._ael(k,A,H,K)}}return k.addEventListener(A,H,K)},v=(k,A,H,K)=>{var ie;if(typeof window<"u"){const X=window,be=null===(ie=X?.Ionic)||void 0===ie?void 0:ie.config;if(be){const ce=be.get("_rel");if(ce)return ce(k,A,H,K);if(be._rel)return be._rel(k,A,H,K)}}return k.removeEventListener(A,H,K)},M=(k,A=k)=>k.shadowRoot||A,p=k=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(k):"function"==typeof requestAnimationFrame?requestAnimationFrame(k):setTimeout(k),E=k=>!!k.shadowRoot&&!!k.attachShadow,S=k=>{const A=k.closest("ion-item");return A?A.querySelector("ion-label"):null},y=k=>{if(k.focus(),k.classList.contains("ion-focusable")){const A=k.closest("ion-app");A&&A.setFocus([k])}},f=(k,A)=>{let H;const K=k.getAttribute("aria-labelledby"),ie=k.id;let X=null!==K&&""!==K.trim()?K:A+"-lbl",be=null!==K&&""!==K.trim()?document.getElementById(K):S(k);return be?(null===K&&(be.id=X),H=be.textContent,be.setAttribute("aria-hidden","true")):""!==ie.trim()&&(be=document.querySelector(`label[for="${ie}"]`),be&&(""!==be.id?X=be.id:be.id=X=`${ie}-lbl`,H=be.textContent)),{label:be,labelId:X,labelText:H}},C=(k,A,H,K,ie)=>{if(k||E(A)){let X=A.querySelector("input.aux-input");X||(X=A.ownerDocument.createElement("input"),X.type="hidden",X.classList.add("aux-input"),A.appendChild(X)),X.disabled=ie,X.name=H,X.value=K||""}},_=(k,A,H)=>Math.max(k,Math.min(A,H)),w=(k,A)=>{if(!k){const H="ASSERT: "+A;throw console.error(H),new Error(H)}},D=k=>k.timeStamp||Date.now(),L=k=>{if(k){const A=k.changedTouches;if(A&&A.length>0){const H=A[0];return{x:H.clientX,y:H.clientY}}if(void 0!==k.pageX)return{x:k.pageX,y:k.pageY}}return{x:0,y:0}},N=k=>{const A="rtl"===document.dir;switch(k){case"start":return A;case"end":return!A;default:throw new Error(`"${k}" is not a valid value for [side]. Use "start" or "end" instead.`)}},V=(k,A)=>{const H=k._original||k;return{_original:k,emit:G(H.emit.bind(H),A)}},G=(k,A=0)=>{let H;return(...K)=>{clearTimeout(H),H=setTimeout(k,A,...K)}},R=(k,A)=>{if(k??(k={}),A??(A={}),k===A)return!0;const H=Object.keys(k);if(H.length!==Object.keys(A).length)return!1;for(const K of H)if(!(K in A)||k[K]!==A[K])return!1;return!0}},62528:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{GESTURE_CONTROLLER:()=>n.G,createGesture:()=>v});var n=s(66560);const l=(S,y,f,C)=>{const _=u(S)?{capture:!!C.capture,passive:!!C.passive}:!!C.capture;let w,D;return S.__zone_symbol__addEventListener?(w="__zone_symbol__addEventListener",D="__zone_symbol__removeEventListener"):(w="addEventListener",D="removeEventListener"),S[w](y,f,_),()=>{S[D](y,f,_)}},u=S=>{if(void 0===c)try{const y=Object.defineProperty({},"passive",{get:()=>{c=!0}});S.addEventListener("optsTest",()=>{},y)}catch{c=!1}return!!c};let c;const o=S=>S instanceof Document?S:S.ownerDocument,v=S=>{let y=!1,f=!1,C=!0,_=!1;const w=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},S),D=w.canStart,L=w.onWillStart,N=w.onStart,V=w.onEnd,G=w.notCaptured,R=w.onMove,k=w.threshold,A=w.passive,H=w.blurOnStart,K={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},ie=((S,y,f)=>{const C=f*(Math.PI/180),_="x"===S,w=Math.cos(C),D=y*y;let L=0,N=0,V=!1,G=0;return{start(R,k){L=R,N=k,G=0,V=!0},detect(R,k){if(!V)return!1;const A=R-L,H=k-N,K=A*A+H*H;if(Kw?1:X<-w?-1:0,V=!1,!0},isGesture:()=>0!==G,getDirection:()=>G}})(w.direction,w.threshold,w.maxAngle),X=n.G.createGesture({name:S.gestureName,priority:S.gesturePriority,disableScroll:S.disableScroll}),ze=()=>{y&&(_=!1,R&&R(K))},ct=()=>!!X.capture()&&(y=!0,C=!1,K.startX=K.currentX,K.startY=K.currentY,K.startTime=K.currentTime,L?L(K).then(Ie):Ie(),!0),Ie=()=>{H&&(()=>{if(typeof document<"u"){const Fe=document.activeElement;Fe?.blur&&Fe.blur()}})(),N&&N(K),C=!0},Le=()=>{y=!1,f=!1,_=!1,C=!0,X.release()},Ue=Fe=>{const Ce=y,Ae=C;if(Le(),Ae){if(M(K,Fe),Ce)return void(V&&V(K));G&&G(K)}},Xe=((S,y,f,C,_)=>{let w,D,L,N,V,G,R,k=0;const A=xe=>{k=Date.now()+2e3,y(xe)&&(!D&&f&&(D=l(S,"touchmove",f,_)),L||(L=l(xe.target,"touchend",K,_)),N||(N=l(xe.target,"touchcancel",K,_)))},H=xe=>{k>Date.now()||y(xe)&&(!G&&f&&(G=l(o(S),"mousemove",f,_)),R||(R=l(o(S),"mouseup",ie,_)))},K=xe=>{X(),C&&C(xe)},ie=xe=>{be(),C&&C(xe)},X=()=>{D&&D(),L&&L(),N&&N(),D=L=N=void 0},be=()=>{G&&G(),R&&R(),G=R=void 0},ce=()=>{X(),be()},ze=(xe=!0)=>{xe?(w||(w=l(S,"touchstart",A,_)),V||(V=l(S,"mousedown",H,_))):(w&&w(),V&&V(),w=V=void 0,ce())};return{enable:ze,stop:ce,destroy:()=>{ze(!1),C=f=y=void 0}}})(w.el,Fe=>{const Ce=E(Fe);return!(f||!C||(p(Fe,K),K.startX=K.currentX,K.startY=K.currentY,K.startTime=K.currentTime=Ce,K.velocityX=K.velocityY=K.deltaX=K.deltaY=0,K.event=Fe,D&&!1===D(K))||(X.release(),!X.start()))&&(f=!0,0===k?ct():(ie.start(K.startX,K.startY),!0))},Fe=>{y?!_&&C&&(_=!0,M(K,Fe),requestAnimationFrame(ze)):(M(K,Fe),ie.detect(K.currentX,K.currentY)&&(!ie.isGesture()||!ct())&&_e())},Ue,{capture:!1,passive:A}),_e=()=>{Le(),Xe.stop(),G&&G(K)};return{enable(Fe=!0){Fe||(y&&Ue(void 0),Le()),Xe.enable(Fe)},destroy(){X.destroy(),Xe.destroy()}}},M=(S,y)=>{if(!y)return;const f=S.currentX,C=S.currentY,_=S.currentTime;p(y,S);const w=S.currentX,D=S.currentY,N=(S.currentTime=E(y))-_;if(N>0&&N<100){const G=(D-C)/N;S.velocityX=(w-f)/N*.7+.3*S.velocityX,S.velocityY=.7*G+.3*S.velocityY}S.deltaX=w-S.startX,S.deltaY=D-S.startY,S.event=y},p=(S,y)=>{let f=0,C=0;if(S){const _=S.changedTouches;if(_&&_.length>0){const w=_[0];f=w.clientX,C=w.clientY}else void 0!==S.pageX&&(f=S.pageX,C=S.pageY)}y.currentX=f,y.currentY=C},E=S=>S.timeStamp||Date.now()},76256:(pe,m,s)=>{"use strict";s.d(m,{b:()=>e,c:()=>o,d:()=>h,e:()=>k,g:()=>K,l:()=>G,s:()=>A,t:()=>p,w:()=>R});var n=s(1528),l=s(62992),u=s(46384);const e="ionViewWillLeave",o="ionViewDidLeave",h="ionViewWillUnload",p=ie=>new Promise((X,be)=>{(0,l.w)(()=>{E(ie),S(ie).then(ce=>{ce.animation&&ce.animation.destroy(),y(ie),X(ce)},ce=>{y(ie),be(ce)})})}),E=ie=>{const X=ie.enteringEl,be=ie.leavingEl;H(X,be,ie.direction),ie.showGoBack?X.classList.add("can-go-back"):X.classList.remove("can-go-back"),A(X,!1),X.style.setProperty("pointer-events","none"),be&&(A(be,!1),be.style.setProperty("pointer-events","none"))},S=function(){var ie=(0,n.c)(function*(X){const be=yield f(X);return be&&l.B.isBrowser?C(be,X):_(X)});return function(be){return ie.apply(this,arguments)}}(),y=ie=>{const X=ie.enteringEl,be=ie.leavingEl;X.classList.remove("ion-page-invisible"),X.style.removeProperty("pointer-events"),void 0!==be&&(be.classList.remove("ion-page-invisible"),be.style.removeProperty("pointer-events"))},f=function(){var ie=(0,n.c)(function*(X){return X.leavingEl&&X.animated&&0!==X.duration?X.animationBuilder?X.animationBuilder:"ios"===X.mode?(yield Promise.resolve().then(s.bind(s,68512))).iosTransitionAnimation:(yield Promise.resolve().then(s.bind(s,96556))).mdTransitionAnimation:void 0});return function(be){return ie.apply(this,arguments)}}(),C=function(){var ie=(0,n.c)(function*(X,be){yield w(be,!0);const ce=X(be.baseEl,be);N(be.enteringEl,be.leavingEl);const ze=yield L(ce,be);return be.progressCallback&&be.progressCallback(void 0),ze&&V(be.enteringEl,be.leavingEl),{hasCompleted:ze,animation:ce}});return function(be,ce){return ie.apply(this,arguments)}}(),_=function(){var ie=(0,n.c)(function*(X){const be=X.enteringEl,ce=X.leavingEl;return yield w(X,!1),N(be,ce),V(be,ce),{hasCompleted:!0}});return function(be){return ie.apply(this,arguments)}}(),w=function(){var ie=(0,n.c)(function*(X,be){(void 0!==X.deepWait?X.deepWait:be)&&(yield Promise.all([k(X.enteringEl),k(X.leavingEl)])),yield D(X.viewIsReady,X.enteringEl)});return function(be,ce){return ie.apply(this,arguments)}}(),D=function(){var ie=(0,n.c)(function*(X,be){X&&(yield X(be))});return function(be,ce){return ie.apply(this,arguments)}}(),L=(ie,X)=>{const be=X.progressCallback,ce=new Promise(ze=>{ie.onFinish(ct=>ze(1===ct))});return be?(ie.progressStart(!0),be(ie)):ie.play(),ce},N=(ie,X)=>{G(X,e),G(ie,"ionViewWillEnter")},V=(ie,X)=>{G(ie,"ionViewDidEnter"),G(X,o)},G=(ie,X)=>{if(ie){const be=new CustomEvent(X,{bubbles:!1,cancelable:!1});ie.dispatchEvent(be)}},R=()=>new Promise(ie=>(0,u.r)(()=>(0,u.r)(()=>ie()))),k=function(){var ie=(0,n.c)(function*(X){const be=X;if(be){if(null!=be.componentOnReady){if(null!=(yield be.componentOnReady()))return}else if(null!=be.__registerHost)return void(yield new Promise(ze=>(0,u.r)(ze)));yield Promise.all(Array.from(be.children).map(k))}});return function(be){return ie.apply(this,arguments)}}(),A=(ie,X)=>{X?(ie.setAttribute("aria-hidden","true"),ie.classList.add("ion-page-hidden")):(ie.hidden=!1,ie.removeAttribute("aria-hidden"),ie.classList.remove("ion-page-hidden"))},H=(ie,X,be)=>{void 0!==ie&&(ie.style.zIndex="back"===be?"99":"101"),void 0!==X&&(X.style.zIndex="100")},K=ie=>ie.classList.contains("ion-page")?ie:ie.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||ie},62992:(pe,m,s)=>{"use strict";s.d(m,{B:()=>E,H:()=>ct,a:()=>sr,b:()=>ur,c:()=>Ae,d:()=>et,e:()=>Se,f:()=>Ee,g:()=>Be,h:()=>ce,i:()=>Rt,j:()=>S,r:()=>qn,w:()=>he});var n=s(1528);let c,i,e,o=!1,h=!1,v=!1,M=!1,p=!1;const E={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},S=q=>{const de=new URL(q,Dn.$resourcesUrl$);return de.origin!==mn.location.origin?de.href:de.pathname},L="s-id",N="sty-id",V="c-id",R="slot-fb{display:contents}slot-fb[hidden]{display:none}",k="http://www.w3.org/1999/xlink",A={},X=q=>"object"==(q=typeof q)||"function"===q;function be(q){var de,qe,ht;return null!==(ht=null===(qe=null===(de=q.head)||void 0===de?void 0:de.querySelector('meta[name="csp-nonce"]'))||void 0===qe?void 0:qe.getAttribute("content"))&&void 0!==ht?ht:void 0}const ce=(q,de,...qe)=>{let ht=null,St=null,Ft=null,en=!1,gn=!1;const _n=[],bn=In=>{for(let Un=0;UnIn[Un]).join(" "))}}if("function"==typeof q)return q(null===de?{}:de,_n,Ie);const hn=ze(q,null);return hn.$attrs$=de,_n.length>0&&(hn.$children$=_n),hn.$key$=St,hn.$name$=Ft,hn},ze=(q,de)=>({$flags$:0,$tag$:q,$text$:de,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),ct={},Ie={forEach:(q,de)=>q.map(Le).forEach(de),map:(q,de)=>q.map(Le).map(de).map(Ue)},Le=q=>({vattrs:q.$attrs$,vchildren:q.$children$,vkey:q.$key$,vname:q.$name$,vtag:q.$tag$,vtext:q.$text$}),Ue=q=>{if("function"==typeof q.vtag){const qe=Object.assign({},q.vattrs);return q.vkey&&(qe.key=q.vkey),q.vname&&(qe.name=q.vname),ce(q.vtag,qe,...q.vchildren||[])}const de=ze(q.vtag,q.vtext);return de.$attrs$=q.vattrs,de.$children$=q.vchildren,de.$key$=q.vkey,de.$name$=q.vname,de},_e=(q,de,qe,ht,St,Ft,en)=>{let gn,_n,bn,hn;if(1===Ft.nodeType){for(gn=Ft.getAttribute(V),gn&&(_n=gn.split("."),(_n[0]===en||"0"===_n[0])&&(bn={$flags$:0,$hostId$:_n[0],$nodeId$:_n[1],$depth$:_n[2],$index$:_n[3],$tag$:Ft.tagName.toLowerCase(),$elm$:Ft,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},de.push(bn),Ft.removeAttribute(V),q.$children$||(q.$children$=[]),q.$children$[bn.$index$]=bn,q=bn,ht&&"0"===bn.$depth$&&(ht[bn.$index$]=bn.$elm$))),hn=Ft.childNodes.length-1;hn>=0;hn--)_e(q,de,qe,ht,St,Ft.childNodes[hn],en);if(Ft.shadowRoot)for(hn=Ft.shadowRoot.childNodes.length-1;hn>=0;hn--)_e(q,de,qe,ht,St,Ft.shadowRoot.childNodes[hn],en)}else if(8===Ft.nodeType)_n=Ft.nodeValue.split("."),(_n[1]===en||"0"===_n[1])&&(gn=_n[0],bn={$flags$:0,$hostId$:_n[1],$nodeId$:_n[2],$depth$:_n[3],$index$:_n[4],$elm$:Ft,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},"t"===gn?(bn.$elm$=Ft.nextSibling,bn.$elm$&&3===bn.$elm$.nodeType&&(bn.$text$=bn.$elm$.textContent,de.push(bn),Ft.remove(),q.$children$||(q.$children$=[]),q.$children$[bn.$index$]=bn,ht&&"0"===bn.$depth$&&(ht[bn.$index$]=bn.$elm$))):bn.$hostId$===en&&("s"===gn?(bn.$tag$="slot",Ft["s-sn"]=_n[5]?bn.$name$=_n[5]:"",Ft["s-sr"]=!0,ht&&(bn.$elm$=wn.createElement(bn.$tag$),bn.$name$&&bn.$elm$.setAttribute("name",bn.$name$),Ft.parentNode.insertBefore(bn.$elm$,Ft),Ft.remove(),"0"===bn.$depth$&&(ht[bn.$index$]=bn.$elm$)),qe.push(bn),q.$children$||(q.$children$=[]),q.$children$[bn.$index$]=bn):"r"===gn&&(ht?Ft.remove():(St["s-cr"]=Ft,Ft["s-cn"]=!0))));else if(q&&"style"===q.$tag$){const In=ze(null,Ft.textContent);In.$elm$=Ft,In.$index$="0",q.$children$=[In]}},Fe=(q,de)=>{if(1===q.nodeType){let qe=0;for(;qean.push(q),Be=q=>jn(q).$modeName$,Ee=q=>jn(q).$hostElement$,et=(q,de,qe)=>{const ht=Ee(q);return{emit:St=>vt(ht,de,{bubbles:!!(4&qe),composed:!!(2&qe),cancelable:!!(1&qe),detail:St})}},vt=(q,de,qe)=>{const ht=Dn.ce(de,qe);return q.dispatchEvent(ht),ht},Tt=new WeakMap,dt=(q,de,qe)=>{let ht=Et.get(q);Vr&&qe?(ht=ht||new CSSStyleSheet,"string"==typeof ht?ht=de:ht.replaceSync(de)):ht=de,Et.set(q,ht)},ot=(q,de,qe)=>{var ht;const St=nn(de,qe),Ft=Et.get(St);if(q=11===q.nodeType?q:wn,Ft)if("string"==typeof Ft){let gn,en=Tt.get(q=q.head||q);if(en||Tt.set(q,en=new Set),!en.has(St)){if(q.host&&(gn=q.querySelector(`[${N}="${St}"]`)))gn.innerHTML=Ft;else{gn=wn.createElement("style"),gn.innerHTML=Ft;const _n=null!==(ht=Dn.$nonce$)&&void 0!==ht?ht:be(wn);null!=_n&&gn.setAttribute("nonce",_n),q.insertBefore(gn,q.querySelector("link"))}4&de.$flags$&&(gn.innerHTML+=R),en&&en.add(St)}}else q.adoptedStyleSheets.includes(Ft)||(q.adoptedStyleSheets=[...q.adoptedStyleSheets,Ft]);return St},nn=(q,de)=>"sc-"+(de&&32&q.$flags$?q.$tagName$+"-"+de:q.$tagName$),vn=q=>q.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),zt=(q,de,qe,ht,St,Ft)=>{if(qe!==ht){let en=ii(q,de),gn=de.toLowerCase();if("class"===de){const _n=q.classList,bn=En(qe),hn=En(ht);_n.remove(...bn.filter(In=>In&&!hn.includes(In))),_n.add(...hn.filter(In=>In&&!bn.includes(In)))}else if("style"===de){for(const _n in qe)(!ht||null==ht[_n])&&(_n.includes("-")?q.style.removeProperty(_n):q.style[_n]="");for(const _n in ht)(!qe||ht[_n]!==qe[_n])&&(_n.includes("-")?q.style.setProperty(_n,ht[_n]):q.style[_n]=ht[_n])}else if("key"!==de)if("ref"===de)ht&&ht(q);else if(en||"o"!==de[0]||"n"!==de[1]){const _n=X(ht);if((en||_n&&null!==ht)&&!St)try{if(q.tagName.includes("-"))q[de]=ht;else{const hn=ht??"";"list"===de?en=!1:(null==qe||q[de]!=hn)&&(q[de]=hn)}}catch{}let bn=!1;gn!==(gn=gn.replace(/^xlink\:?/,""))&&(de=gn,bn=!0),null==ht||!1===ht?(!1!==ht||""===q.getAttribute(de))&&(bn?q.removeAttributeNS(k,de):q.removeAttribute(de)):(!en||4&Ft||St)&&!_n&&(ht=!0===ht?"":ht,bn?q.setAttributeNS(k,de,ht):q.setAttribute(de,ht))}else if(de="-"===de[2]?de.slice(3):ii(mn,gn)?gn.slice(2):gn[2]+de.slice(3),qe||ht){const _n=de.endsWith($n);de=de.replace(Wt,""),qe&&Dn.rel(q,de,qe,_n),ht&&Dn.ael(q,de,ht,_n)}}},Xt=/\s/,En=q=>q?q.split(Xt):[],$n="Capture",Wt=new RegExp($n+"$"),zn=(q,de,qe,ht)=>{const St=11===de.$elm$.nodeType&&de.$elm$.host?de.$elm$.host:de.$elm$,Ft=q&&q.$attrs$||A,en=de.$attrs$||A;for(ht in Ft)ht in en||zt(St,ht,Ft[ht],void 0,qe,de.$flags$);for(ht in en)zt(St,ht,Ft[ht],en[ht],qe,de.$flags$)},kn=(q,de,qe,ht)=>{const St=de.$children$[qe];let en,gn,_n,Ft=0;if(o||(v=!0,"slot"===St.$tag$&&(c&&ht.classList.add(c+"-s"),St.$flags$|=St.$children$?2:1)),null!==St.$text$)en=St.$elm$=wn.createTextNode(St.$text$);else if(1&St.$flags$)en=St.$elm$=wn.createTextNode("");else{if(M||(M="svg"===St.$tag$),en=St.$elm$=wn.createElementNS(M?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&St.$flags$?"slot-fb":St.$tag$),M&&"foreignObject"===St.$tag$&&(M=!1),zn(null,St,M),(q=>null!=q)(c)&&en["s-si"]!==c&&en.classList.add(en["s-si"]=c),St.$children$)for(Ft=0;Ft{Dn.$flags$|=1;const qe=q.childNodes;for(let ht=qe.length-1;ht>=0;ht--){const St=qe[ht];St["s-hn"]!==e&&St["s-ol"]&&(Ye(St).insertBefore(St,$e(St)),St["s-ol"].remove(),St["s-ol"]=void 0,St["s-sh"]=void 0,v=!0),de&&ln(St,de)}Dn.$flags$&=-2},ut=(q,de,qe,ht,St,Ft)=>{let gn,en=q["s-cr"]&&q["s-cr"].parentNode||q;for(en.shadowRoot&&en.tagName===e&&(en=en.shadowRoot);St<=Ft;++St)ht[St]&&(gn=kn(null,qe,St,q),gn&&(ht[St].$elm$=gn,en.insertBefore(gn,$e(de))))},Te=(q,de,qe)=>{for(let ht=de;ht<=qe;++ht){const St=q[ht];if(St){const Ft=St.$elm$;br(St),Ft&&(h=!0,Ft["s-ol"]?Ft["s-ol"].remove():ln(Ft,!0),Ft.remove())}}},fe=(q,de,qe=!1)=>q.$tag$===de.$tag$&&("slot"===q.$tag$?q.$name$===de.$name$:!!qe||q.$key$===de.$key$),$e=q=>q&&q["s-ol"]||q,Ye=q=>(q["s-ol"]?q["s-ol"]:q).parentNode,ft=(q,de,qe=!1)=>{const ht=de.$elm$=q.$elm$,St=q.$children$,Ft=de.$children$,en=de.$tag$,gn=de.$text$;let _n;null===gn?(M="svg"===en||"foreignObject"!==en&&M,"slot"===en&&!o||zn(q,de,M),null!==St&&null!==Ft?((q,de,qe,ht,St=!1)=>{let Lr,ti,Ft=0,en=0,gn=0,_n=0,bn=de.length-1,hn=de[0],In=de[bn],Un=ht.length-1,_r=ht[0],hr=ht[Un];for(;Ft<=bn&&en<=Un;)if(null==hn)hn=de[++Ft];else if(null==In)In=de[--bn];else if(null==_r)_r=ht[++en];else if(null==hr)hr=ht[--Un];else if(fe(hn,_r,St))ft(hn,_r,St),hn=de[++Ft],_r=ht[++en];else if(fe(In,hr,St))ft(In,hr,St),In=de[--bn],hr=ht[--Un];else if(fe(hn,hr,St))("slot"===hn.$tag$||"slot"===hr.$tag$)&&ln(hn.$elm$.parentNode,!1),ft(hn,hr,St),q.insertBefore(hn.$elm$,In.$elm$.nextSibling),hn=de[++Ft],hr=ht[--Un];else if(fe(In,_r,St))("slot"===hn.$tag$||"slot"===hr.$tag$)&&ln(In.$elm$.parentNode,!1),ft(In,_r,St),q.insertBefore(In.$elm$,hn.$elm$),In=de[--bn],_r=ht[++en];else{for(gn=-1,_n=Ft;_n<=bn;++_n)if(de[_n]&&null!==de[_n].$key$&&de[_n].$key$===_r.$key$){gn=_n;break}gn>=0?(ti=de[gn],ti.$tag$!==_r.$tag$?Lr=kn(de&&de[en],qe,gn,q):(ft(ti,_r,St),de[gn]=void 0,Lr=ti.$elm$),_r=ht[++en]):(Lr=kn(de&&de[en],qe,en,q),_r=ht[++en]),Lr&&Ye(hn.$elm$).insertBefore(Lr,$e(hn.$elm$))}Ft>bn?ut(q,null==ht[Un+1]?null:ht[Un+1].$elm$,qe,ht,en,Un):en>Un&&Te(de,Ft,bn)})(ht,St,de,Ft,qe):null!==Ft?(null!==q.$text$&&(ht.textContent=""),ut(ht,null,de,Ft,0,Ft.length-1)):null!==St&&Te(St,0,St.length-1),M&&"svg"===en&&(M=!1)):(_n=ht["s-cr"])?_n.parentNode.textContent=gn:q.$text$!==gn&&(ht.data=gn)},$t=q=>{const de=q.childNodes;for(const qe of de)if(1===qe.nodeType){if(qe["s-sr"]){const ht=qe["s-sn"];qe.hidden=!1;for(const St of de)if(St!==qe)if(St["s-hn"]!==qe["s-hn"]||""!==ht){if(1===St.nodeType&&(ht===St.getAttribute("slot")||ht===St["s-sn"])){qe.hidden=!0;break}}else if(1===St.nodeType||3===St.nodeType&&""!==St.textContent.trim()){qe.hidden=!0;break}}$t(qe)}},un=[],Vn=q=>{let de,qe,ht;for(const St of q.childNodes){if(St["s-sr"]&&(de=St["s-cr"])&&de.parentNode){qe=de.parentNode.childNodes;const Ft=St["s-sn"];for(ht=qe.length-1;ht>=0;ht--)if(de=qe[ht],!de["s-cn"]&&!de["s-nr"]&&de["s-hn"]!==St["s-hn"])if(tr(de,Ft)){let en=un.find(gn=>gn.$nodeToRelocate$===de);h=!0,de["s-sn"]=de["s-sn"]||Ft,en?(en.$nodeToRelocate$["s-sh"]=St["s-hn"],en.$slotRefNode$=St):(de["s-sh"]=St["s-hn"],un.push({$slotRefNode$:St,$nodeToRelocate$:de})),de["s-sr"]&&un.map(gn=>{tr(gn.$nodeToRelocate$,de["s-sn"])&&(en=un.find(_n=>_n.$nodeToRelocate$===de),en&&!gn.$slotRefNode$&&(gn.$slotRefNode$=en.$slotRefNode$))})}else un.some(en=>en.$nodeToRelocate$===de)||un.push({$nodeToRelocate$:de})}1===St.nodeType&&Vn(St)}},tr=(q,de)=>1===q.nodeType?null===q.getAttribute("slot")&&""===de||q.getAttribute("slot")===de:q["s-sn"]===de||""===de,br=q=>{q.$attrs$&&q.$attrs$.ref&&q.$attrs$.ref(null),q.$children$&&q.$children$.map(br)},fi=(q,de)=>{de&&!q.$onRenderResolve$&&de["s-p"]&&de["s-p"].push(new Promise(qe=>q.$onRenderResolve$=qe))},Cr=(q,de)=>{if(q.$flags$|=16,!(4&q.$flags$))return fi(q,q.$ancestorComponent$),he(()=>jr(q,de));q.$flags$|=512},jr=(q,de)=>{const ht=q.$lazyInstance$;let St;return de&&(q.$flags$|=256,q.$queuedListeners$&&(q.$queuedListeners$.map(([Ft,en])=>pt(ht,Ft,en)),q.$queuedListeners$=void 0),St=pt(ht,"componentWillLoad")),St=Hn(St,()=>pt(ht,"componentWillRender")),Hn(St,()=>qt(q,ht,de))},Hn=(q,de)=>Dt(q)?q.then(de):de(),Dt=q=>q instanceof Promise||q&&q.then&&"function"==typeof q.then,qt=function(){var q=(0,n.c)(function*(de,qe,ht){var St;const Ft=de.$hostElement$,gn=Ft["s-rc"];ht&&(q=>{const de=q.$cmpMeta$,qe=q.$hostElement$,ht=de.$flags$,Ft=ot(qe.shadowRoot?qe.shadowRoot:qe.getRootNode(),de,q.$modeName$);10&ht&&(qe["s-sc"]=Ft,qe.classList.add(Ft+"-h"),2&ht&&qe.classList.add(Ft+"-s"))})(de);yt(de,qe,Ft,ht),gn&&(gn.map(bn=>bn()),Ft["s-rc"]=void 0);{const bn=null!==(St=Ft["s-p"])&&void 0!==St?St:[],hn=()=>Ze(de);0===bn.length?hn():(Promise.all(bn).then(hn),de.$flags$|=4,bn.length=0)}});return function(qe,ht,St){return q.apply(this,arguments)}}(),yt=(q,de,qe,ht)=>{try{de=de.render&&de.render(),q.$flags$&=-17,q.$flags$|=2,((q,de,qe=!1)=>{var ht,St,Ft,en;const gn=q.$hostElement$,_n=q.$cmpMeta$,bn=q.$vnode$||ze(null,null),hn=(q=>q&&q.$tag$===ct)(de)?de:ce(null,null,de);if(e=gn.tagName,_n.$attrsToReflect$&&(hn.$attrs$=hn.$attrs$||{},_n.$attrsToReflect$.map(([In,Un])=>hn.$attrs$[Un]=gn[In])),qe&&hn.$attrs$)for(const In of Object.keys(hn.$attrs$))gn.hasAttribute(In)&&!["key","ref","style","class"].includes(In)&&(hn.$attrs$[In]=gn[In]);if(hn.$tag$=null,hn.$flags$|=4,q.$vnode$=hn,hn.$elm$=bn.$elm$=gn.shadowRoot||gn,c=gn["s-sc"],o=0!=(1&_n.$flags$),i=gn["s-cr"],h=!1,ft(bn,hn,qe),Dn.$flags$|=1,v){Vn(hn.$elm$);for(const In of un){const Un=In.$nodeToRelocate$;if(!Un["s-ol"]){const _r=wn.createTextNode("");_r["s-nr"]=Un,Un.parentNode.insertBefore(Un["s-ol"]=_r,Un)}}for(const In of un){const Un=In.$nodeToRelocate$,_r=In.$slotRefNode$;if(_r){const hr=_r.parentNode;let Lr=_r.nextSibling;{let ti=null===(ht=Un["s-ol"])||void 0===ht?void 0:ht.previousSibling;for(;ti;){let it=null!==(St=ti["s-nr"])&&void 0!==St?St:null;if(it&&it["s-sn"]===Un["s-sn"]&&hr===it.parentNode&&(it=it.nextSibling,!it||!it["s-nr"])){Lr=it;break}ti=ti.previousSibling}}(!Lr&&hr!==Un.parentNode||Un.nextSibling!==Lr)&&Un!==Lr&&(!Un["s-hn"]&&Un["s-ol"]&&(Un["s-hn"]=Un["s-ol"].parentNode.nodeName),hr.insertBefore(Un,Lr),1===Un.nodeType&&(Un.hidden=null!==(Ft=Un["s-ih"])&&void 0!==Ft&&Ft))}else 1===Un.nodeType&&(qe&&(Un["s-ih"]=null!==(en=Un.hidden)&&void 0!==en&&en),Un.hidden=!0)}}h&&$t(hn.$elm$),Dn.$flags$&=-2,un.length=0,i=void 0})(q,de,ht)}catch(St){Fr(St,q.$hostElement$)}return null},Ze=q=>{const qe=q.$hostElement$,St=q.$lazyInstance$,Ft=q.$ancestorComponent$;pt(St,"componentDidRender"),64&q.$flags$?pt(St,"componentDidUpdate"):(q.$flags$|=64,mt(qe),pt(St,"componentDidLoad"),q.$onReadyResolve$(qe),Ft||je()),q.$onInstanceResolve$(qe),q.$onRenderResolve$&&(q.$onRenderResolve$(),q.$onRenderResolve$=void 0),512&q.$flags$&&Q(()=>Cr(q,!1)),q.$flags$&=-517},Rt=q=>{{const de=jn(q),qe=de.$hostElement$.isConnected;return qe&&2==(18&de.$flags$)&&Cr(de,!1),qe}},je=q=>{mt(wn.documentElement),Q(()=>vt(mn,"appload",{detail:{namespace:"ionic"}}))},pt=(q,de,qe)=>{if(q&&q[de])try{return q[de](qe)}catch(ht){Fr(ht)}},mt=q=>q.classList.add("hydrated"),jt=(q,de,qe)=>{var ht;const St=q.prototype;if(de.$members$){q.watchers&&(de.$watchers$=q.watchers);const Ft=Object.entries(de.$members$);if(Ft.map(([en,[gn]])=>{31&gn||2&qe&&32&gn?Object.defineProperty(St,en,{get(){return((q,de)=>jn(this).$instanceValues$.get(de))(0,en)},set(_n){((q,de,qe,ht)=>{const St=jn(q),Ft=St.$hostElement$,en=St.$instanceValues$.get(de),gn=St.$flags$,_n=St.$lazyInstance$;qe=((q,de)=>null==q||X(q)?q:4&de?"false"!==q&&(""===q||!!q):2&de?parseFloat(q):1&de?String(q):q)(qe,ht.$members$[de][0]);const bn=Number.isNaN(en)&&Number.isNaN(qe);if((!(8&gn)||void 0===en)&&qe!==en&&!bn&&(St.$instanceValues$.set(de,qe),_n)){if(ht.$watchers$&&128&gn){const In=ht.$watchers$[de];In&&In.map(Un=>{try{_n[Un](qe,en,de)}catch(_r){Fr(_r,Ft)}})}2==(18&gn)&&Cr(St,!1)}})(this,en,_n,de)},configurable:!0,enumerable:!0}):1&qe&&64&gn&&Object.defineProperty(St,en,{value(..._n){var bn;const hn=jn(this);return null===(bn=hn?.$onInstancePromise$)||void 0===bn?void 0:bn.then(()=>{var In;return null===(In=hn.$lazyInstance$)||void 0===In?void 0:In[en](..._n)})}})}),1&qe){const en=new Map;St.attributeChangedCallback=function(gn,_n,bn){Dn.jmp(()=>{var hn;const In=en.get(gn);if(this.hasOwnProperty(In))bn=this[In],delete this[In];else{if(St.hasOwnProperty(In)&&"number"==typeof this[In]&&this[In]==bn)return;if(null==In){const Un=jn(this),_r=Un?.$flags$;if(_r&&!(8&_r)&&128&_r&&bn!==_n){const hr=Un.$lazyInstance$,Lr=null===(hn=de.$watchers$)||void 0===hn?void 0:hn[gn];Lr?.forEach(ti=>{null!=hr[ti]&&hr[ti].call(hr,bn,_n,gn)})}return}}this[In]=(null!==bn||"boolean"!=typeof this[In])&&bn})},q.observedAttributes=Array.from(new Set([...Object.keys(null!==(ht=de.$watchers$)&&void 0!==ht?ht:{}),...Ft.filter(([gn,_n])=>15&_n[0]).map(([gn,_n])=>{var bn;const hn=_n[1]||gn;return en.set(hn,gn),512&_n[0]&&(null===(bn=de.$attrsToReflect$)||void 0===bn||bn.push([gn,hn])),hn})]))}}return q},Mn=function(){var q=(0,n.c)(function*(de,qe,ht,St){let Ft;if(!(32&qe.$flags$)){qe.$flags$|=32;{if(Ft=kt(ht),Ft.then){const bn=()=>{};Ft=yield Ft,bn()}Ft.isProxied||(ht.$watchers$=Ft.watchers,jt(Ft,ht,2),Ft.isProxied=!0);const _n=()=>{};qe.$flags$|=8;try{new Ft(qe)}catch(bn){Fr(bn)}qe.$flags$&=-9,qe.$flags$|=128,_n(),Pe(qe.$lazyInstance$)}if(Ft.style){let _n=Ft.style;"string"!=typeof _n&&(_n=_n[qe.$modeName$=(q=>an.map(de=>de(q)).find(de=>!!de))(de)]);const bn=nn(ht,qe.$modeName$);if(!Et.has(bn)){const hn=()=>{};dt(bn,_n,!!(1&ht.$flags$)),hn()}}}const en=qe.$ancestorComponent$,gn=()=>Cr(qe,!0);en&&en["s-rc"]?en["s-rc"].push(gn):gn()});return function(qe,ht,St,Ft){return q.apply(this,arguments)}}(),Pe=q=>{pt(q,"connectedCallback")},At=q=>{const de=q["s-cr"]=wn.createComment("");de["s-cn"]=!0,q.insertBefore(de,q.firstChild)},Ut=q=>{pt(q,"disconnectedCallback")},ar=function(){var q=(0,n.c)(function*(de){if(!(1&Dn.$flags$)){const qe=jn(de);qe.$rmListeners$&&(qe.$rmListeners$.map(ht=>ht()),qe.$rmListeners$=void 0),qe?.$lazyInstance$?Ut(qe.$lazyInstance$):qe?.$onReadyPromise$&&qe.$onReadyPromise$.then(()=>Ut(qe.$lazyInstance$))}});return function(qe){return q.apply(this,arguments)}}(),ur=(q,de={})=>{var qe;const St=[],Ft=de.exclude||[],en=mn.customElements,gn=wn.head,_n=gn.querySelector("meta[charset]"),bn=wn.createElement("style"),hn=[],In=wn.querySelectorAll(`[${N}]`);let Un,_r=!0,hr=0;for(Object.assign(Dn,de),Dn.$resourcesUrl$=new URL(de.resourcesUrl||"./",wn.baseURI).href,Dn.$flags$|=2;hr{ti[1].map(it=>{var co;const Ri={$flags$:it[0],$tagName$:it[1],$members$:it[2],$listeners$:it[3]};4&Ri.$flags$&&(Lr=!0),Ri.$members$=it[2],Ri.$listeners$=it[3],Ri.$attrsToReflect$=[],Ri.$watchers$=null!==(co=it[4])&&void 0!==co?co:{};const Ur=Ri.$tagName$,xn=class extends HTMLElement{constructor(Jn){super(Jn),dr(Jn=this,Ri),1&Ri.$flags$&&Jn.attachShadow({mode:"open",delegatesFocus:!!(16&Ri.$flags$)})}connectedCallback(){Un&&(clearTimeout(Un),Un=null),_r?hn.push(this):Dn.jmp(()=>(q=>{if(!(1&Dn.$flags$)){const de=jn(q),qe=de.$cmpMeta$,ht=()=>{};if(1&de.$flags$)Tr(q,de,qe.$listeners$),de?.$lazyInstance$?Pe(de.$lazyInstance$):de?.$onReadyPromise$&&de.$onReadyPromise$.then(()=>Pe(de.$lazyInstance$));else{let St;if(de.$flags$|=1,St=q.getAttribute(L),St){if(1&qe.$flags$){const Ft=ot(q.shadowRoot,qe,q.getAttribute("s-mode"));q.classList.remove(Ft+"-h",Ft+"-s")}((q,de,qe,ht)=>{const Ft=q.shadowRoot,en=[],_n=Ft?[]:null,bn=ht.$vnode$=ze(de,null);Dn.$orgLocNodes$||Fe(wn.body,Dn.$orgLocNodes$=new Map),q[L]=qe,q.removeAttribute(L),_e(bn,en,[],_n,q,q,qe),en.map(hn=>{const In=hn.$hostId$+"."+hn.$nodeId$,Un=Dn.$orgLocNodes$.get(In),_r=hn.$elm$;Un&&Xn&&""===Un["s-en"]&&Un.parentNode.insertBefore(_r,Un.nextSibling),Ft||(_r["s-hn"]=de,Un&&(_r["s-ol"]=Un,_r["s-ol"]["s-nr"]=_r)),Dn.$orgLocNodes$.delete(In)}),Ft&&_n.map(hn=>{hn&&Ft.appendChild(hn)})})(q,qe.$tagName$,St,de)}St||12&qe.$flags$&&At(q);{let Ft=q;for(;Ft=Ft.parentNode||Ft.host;)if(1===Ft.nodeType&&Ft.hasAttribute("s-id")&&Ft["s-p"]||Ft["s-p"]){fi(de,de.$ancestorComponent$=Ft);break}}qe.$members$&&Object.entries(qe.$members$).map(([Ft,[en]])=>{if(31&en&&q.hasOwnProperty(Ft)){const gn=q[Ft];delete q[Ft],q[Ft]=gn}}),Mn(q,de,qe)}ht()}})(this))}disconnectedCallback(){Dn.jmp(()=>ar(this))}componentOnReady(){return jn(this).$onReadyPromise$}};Ri.$lazyBundleId$=ti[0],!Ft.includes(Ur)&&!en.get(Ur)&&(St.push(Ur),en.define(Ur,jt(xn,Ri,1)))})}),St.length>0&&(Lr&&(bn.innerHTML+=R),bn.innerHTML+=St+"{visibility:hidden}.hydrated{visibility:inherit}",bn.innerHTML.length)){bn.setAttribute("data-styles","");const ti=null!==(qe=Dn.$nonce$)&&void 0!==qe?qe:be(wn);null!=ti&&bn.setAttribute("nonce",ti),gn.insertBefore(bn,_n?_n.nextSibling:gn.firstChild)}_r=!1,hn.length?hn.map(ti=>ti.connectedCallback()):Dn.jmp(()=>Un=setTimeout(je,30))},Tr=(q,de,qe,ht)=>{qe&&qe.map(([St,Ft,en])=>{const gn=nr(q,St),_n=lr(de,en),bn=Nr(St);Dn.ael(gn,Ft,_n,bn),(de.$rmListeners$=de.$rmListeners$||[]).push(()=>Dn.rel(gn,Ft,_n,bn))})},lr=(q,de)=>qe=>{try{256&q.$flags$?q.$lazyInstance$[de](qe):(q.$queuedListeners$=q.$queuedListeners$||[]).push([de,qe])}catch(ht){Fr(ht)}},nr=(q,de)=>4&de?wn:8&de?mn:16&de?wn.body:q,Nr=q=>xr?{passive:0!=(1&q),capture:0!=(2&q)}:0!=(2&q),tn=new WeakMap,jn=q=>tn.get(q),qn=(q,de)=>tn.set(de.$lazyInstance$=q,de),dr=(q,de)=>{const qe={$flags$:0,$hostElement$:q,$cmpMeta$:de,$instanceValues$:new Map};return qe.$onInstancePromise$=new Promise(ht=>qe.$onInstanceResolve$=ht),qe.$onReadyPromise$=new Promise(ht=>qe.$onReadyResolve$=ht),q["s-p"]=[],q["s-rc"]=[],Tr(q,qe,de.$listeners$),tn.set(q,qe)},ii=(q,de)=>de in q,Fr=(q,de)=>(0,console.error)(q,de),rt=new Map,kt=(q,de,qe)=>{const ht=q.$tagName$.replace(/-/g,"_"),St=q.$lazyBundleId$,Ft=rt.get(St);return Ft?Ft[ht]:s(21480)(`./${St}.entry.js`).then(en=>(rt.set(St,en),en[ht]),Fr)},Et=new Map,an=[],mn=typeof window<"u"?window:{},wn=mn.document||{head:{}},Dn={$flags$:0,$resourcesUrl$:"",jmp:q=>q(),raf:q=>requestAnimationFrame(q),ael:(q,de,qe,ht)=>q.addEventListener(de,qe,ht),rel:(q,de,qe,ht)=>q.removeEventListener(de,qe,ht),ce:(q,de)=>new CustomEvent(q,de)},sr=q=>{Object.assign(Dn,q)},Xn=!0,xr=(()=>{let q=!1;try{wn.addEventListener("e",null,Object.defineProperty({},"passive",{get(){q=!0}}))}catch{}return q})(),Vr=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch{}return!1})(),Ir=[],Er=[],cn=(q,de)=>qe=>{q.push(qe),p||(p=!0,de&&4&Dn.$flags$?Q(F):Dn.raf(F))},x=q=>{for(let de=0;de{x(Ir),x(Er),(p=Ir.length>0)&&Dn.raf(F)},Q=q=>Promise.resolve(void 0).then(q),Se=cn(Ir,!1),he=cn(Er,!0)},52032:(pe,m,s)=>{"use strict";s.d(m,{a:()=>l,b:()=>u,p:()=>n});const n=(c,...i)=>console.warn(`[Ionic Warning]: ${c}`,...i),l=(c,...i)=>console.error(`[Ionic Error]: ${c}`,...i),u=(c,...i)=>console.error(`<${c.tagName.toLowerCase()}> must be used inside ${i.join(" or ")}.`)},14829:(pe,m,s)=>{"use strict";s.d(m,{d:()=>l,w:()=>n});const n=typeof window<"u"?window:void 0,l=typeof document<"u"?document:void 0},43452:(pe,m,s)=>{"use strict";s.d(m,{m:()=>S});var n=s(1528),l=s(14829),u=s(72784),c=s(52032),i=s(46384),e=s(88523),o=s(30388);const h=y=>(0,o.c)().duration(y?400:300),v=y=>{let f,C;const _=y.width+8,w=(0,o.c)(),D=(0,o.c)();y.isEndSide?(f=_+"px",C="0px"):(f=-_+"px",C="0px"),w.addElement(y.menuInnerEl).fromTo("transform",`translateX(${f})`,`translateX(${C})`);const N="ios"===(0,e.b)(y),V=N?.2:.25;return D.addElement(y.backdropEl).fromTo("opacity",.01,V),h(N).addAnimation([w,D])},M=y=>{let f,C;const _=(0,e.b)(y),w=y.width;y.isEndSide?(f=-w+"px",C=w+"px"):(f=w+"px",C=-w+"px");const D=(0,o.c)().addElement(y.menuInnerEl).fromTo("transform",`translateX(${C})`,"translateX(0px)"),L=(0,o.c)().addElement(y.contentEl).fromTo("transform","translateX(0px)",`translateX(${f})`),N=(0,o.c)().addElement(y.backdropEl).fromTo("opacity",.01,.32);return h("ios"===_).addAnimation([D,L,N])},p=y=>{const f=(0,e.b)(y),C=y.width*(y.isEndSide?-1:1)+"px",_=(0,o.c)().addElement(y.contentEl).fromTo("transform","translateX(0px)",`translateX(${C})`);return h("ios"===f).addAnimation(_)},S=(()=>{const y=new Map,f=[],C=function(){var Le=(0,n.c)(function*(Ue){const Xe=yield G(Ue,!0);return!!Xe&&Xe.open()});return function(Xe){return Le.apply(this,arguments)}}(),_=function(){var Le=(0,n.c)(function*(Ue){const Xe=yield void 0!==Ue?G(Ue,!0):R();return void 0!==Xe&&Xe.close()});return function(Xe){return Le.apply(this,arguments)}}(),w=function(){var Le=(0,n.c)(function*(Ue){const Xe=yield G(Ue,!0);return!!Xe&&Xe.toggle()});return function(Xe){return Le.apply(this,arguments)}}(),D=function(){var Le=(0,n.c)(function*(Ue,Xe){const _e=yield G(Xe);return _e&&(_e.disabled=!Ue),_e});return function(Xe,_e){return Le.apply(this,arguments)}}(),L=function(){var Le=(0,n.c)(function*(Ue,Xe){const _e=yield G(Xe);return _e&&(_e.swipeGesture=Ue),_e});return function(Xe,_e){return Le.apply(this,arguments)}}(),N=function(){var Le=(0,n.c)(function*(Ue){if(null!=Ue){const Xe=yield G(Ue);return void 0!==Xe&&Xe.isOpen()}return void 0!==(yield R())});return function(Xe){return Le.apply(this,arguments)}}(),V=function(){var Le=(0,n.c)(function*(Ue){const Xe=yield G(Ue);return!!Xe&&!Xe.disabled});return function(Xe){return Le.apply(this,arguments)}}(),G=function(){var Le=(0,n.c)(function*(Ue,Xe=!1){if(yield Ie(),"start"===Ue||"end"===Ue){const Fe=f.filter(Ae=>Ae.side===Ue&&!Ae.disabled);if(Fe.length>=1)return Fe.length>1&&Xe&&(0,c.p)(`menuController queried for a menu on the "${Ue}" side, but ${Fe.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.`,Fe.map(Ae=>Ae.el)),Fe[0].el;const Ce=f.filter(Ae=>Ae.side===Ue);if(Ce.length>=1)return Ce.length>1&&Xe&&(0,c.p)(`menuController queried for a menu on the "${Ue}" side, but ${Ce.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.`,Ce.map(Ae=>Ae.el)),Ce[0].el}else if(null!=Ue)return xe(Fe=>Fe.menuId===Ue);return xe(Fe=>!Fe.disabled)||(f.length>0?f[0].el:void 0)});return function(Xe){return Le.apply(this,arguments)}}(),R=function(){var Le=(0,n.c)(function*(){return yield Ie(),ce()});return function(){return Le.apply(this,arguments)}}(),k=function(){var Le=(0,n.c)(function*(){return yield Ie(),ze()});return function(){return Le.apply(this,arguments)}}(),A=function(){var Le=(0,n.c)(function*(){return yield Ie(),ct()});return function(){return Le.apply(this,arguments)}}(),H=(Le,Ue)=>{y.set(Le,Ue)},X=function(){var Le=(0,n.c)(function*(Ue,Xe,_e){if(ct())return!1;if(Xe){const Fe=yield R();Fe&&Ue.el!==Fe&&(yield Fe.setOpen(!1,!1))}return Ue._setOpen(Xe,_e)});return function(Xe,_e,Fe){return Le.apply(this,arguments)}}(),ce=()=>xe(Le=>Le._isOpen),ze=()=>f.map(Le=>Le.el),ct=()=>f.some(Le=>Le.isAnimating),xe=Le=>{const Ue=f.find(Le);if(void 0!==Ue)return Ue.el},Ie=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map(Le=>new Promise(Ue=>(0,i.c)(Le,Ue))));return H("reveal",p),H("push",M),H("overlay",v),null==l.d||l.d.addEventListener("ionBackButton",Le=>{const Ue=ce();Ue&&Le.detail.register(u.MENU_BACK_BUTTON_PRIORITY,()=>Ue.close())}),{registerAnimation:H,get:G,getMenus:k,getOpen:R,isEnabled:V,swipeGesture:L,isAnimating:A,isOpen:N,enable:D,toggle:w,close:_,open:C,_getOpenSync:ce,_createAnimation:(Le,Ue)=>{const Xe=y.get(Le);if(!Xe)throw new Error("animation not registered");return Xe(Ue)},_register:Le=>{f.indexOf(Le)<0&&f.push(Le)},_unregister:Le=>{const Ue=f.indexOf(Le);Ue>-1&&f.splice(Ue,1)},_setOpen:X}})()},88523:(pe,m,s)=>{"use strict";s.d(m,{a:()=>p,b:()=>ze,c:()=>u,g:()=>M,i:()=>ct});var n=s(62992);class l{constructor(){this.m=new Map}reset(Ie){this.m=new Map(Object.entries(Ie))}get(Ie,Le){const Ue=this.m.get(Ie);return void 0!==Ue?Ue:Le}getBoolean(Ie,Le=!1){const Ue=this.m.get(Ie);return void 0===Ue?Le:"string"==typeof Ue?"true"===Ue:!!Ue}getNumber(Ie,Le){const Ue=parseFloat(this.m.get(Ie));return isNaN(Ue)?void 0!==Le?Le:NaN:Ue}set(Ie,Le){this.m.set(Ie,Le)}}const u=new l,h="ionic:",v="ionic-persist-config",M=xe=>E(xe),p=(xe,Ie)=>("string"==typeof xe&&(Ie=xe,xe=void 0),M(xe).includes(Ie)),E=(xe=window)=>{if(typeof xe>"u")return[];xe.Ionic=xe.Ionic||{};let Ie=xe.Ionic.platforms;return null==Ie&&(Ie=xe.Ionic.platforms=S(xe),Ie.forEach(Le=>xe.document.documentElement.classList.add(`plt-${Le}`))),Ie},S=xe=>{const Ie=u.get("platform");return Object.keys(be).filter(Le=>{const Ue=Ie?.[Le];return"function"==typeof Ue?Ue(xe):be[Le](xe)})},f=xe=>!!(ie(xe,/iPad/i)||ie(xe,/Macintosh/i)&&V(xe)),w=xe=>ie(xe,/android|sink/i),V=xe=>X(xe,"(any-pointer:coarse)"),R=xe=>k(xe)||A(xe),k=xe=>!!(xe.cordova||xe.phonegap||xe.PhoneGap),A=xe=>{const Ie=xe.Capacitor;return!!Ie?.isNative},ie=(xe,Ie)=>Ie.test(xe.navigator.userAgent),X=(xe,Ie)=>{var Le;return null===(Le=xe.matchMedia)||void 0===Le?void 0:Le.call(xe,Ie).matches},be={ipad:f,iphone:xe=>ie(xe,/iPhone/i),ios:xe=>ie(xe,/iPhone|iPod/i)||f(xe),android:w,phablet:xe=>{const Ie=xe.innerWidth,Le=xe.innerHeight,Ue=Math.min(Ie,Le),Xe=Math.max(Ie,Le);return Ue>390&&Ue<520&&Xe>620&&Xe<800},tablet:xe=>{const Ie=xe.innerWidth,Le=xe.innerHeight,Ue=Math.min(Ie,Le),Xe=Math.max(Ie,Le);return f(xe)||(xe=>w(xe)&&!ie(xe,/mobile/i))(xe)||Ue>460&&Ue<820&&Xe>780&&Xe<1400},cordova:k,capacitor:A,electron:xe=>ie(xe,/electron/i),pwa:xe=>{var Ie;return!!(null!==(Ie=xe.matchMedia)&&void 0!==Ie&&Ie.call(xe,"(display-mode: standalone)").matches||xe.navigator.standalone)},mobile:V,mobileweb:xe=>V(xe)&&!R(xe),desktop:xe=>!V(xe),hybrid:R};let ce;const ze=xe=>xe&&(0,n.g)(xe)||ce,ct=(xe={})=>{if(typeof window>"u")return;const Ie=window.document,Le=window,Ue=Le.Ionic=Le.Ionic||{},Xe={};xe._ael&&(Xe.ael=xe._ael),xe._rel&&(Xe.rel=xe._rel),xe._ce&&(Xe.ce=xe._ce),(0,n.a)(Xe);const _e=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(xe=>{try{const Ie=xe.sessionStorage.getItem(v);return null!==Ie?JSON.parse(Ie):{}}catch{return{}}})(Le)),{persistConfig:!1}),Ue.config),(xe=>{const Ie={};return xe.location.search.slice(1).split("&").map(Le=>Le.split("=")).map(([Le,Ue])=>[decodeURIComponent(Le),decodeURIComponent(Ue)]).filter(([Le])=>((xe,Ie)=>xe.substr(0,Ie.length)===Ie)(Le,h)).map(([Le,Ue])=>[Le.slice(6),Ue]).forEach(([Le,Ue])=>{Ie[Le]=Ue}),Ie})(Le)),xe);u.reset(_e),u.getBoolean("persistConfig")&&((xe,Ie)=>{try{xe.sessionStorage.setItem(v,JSON.stringify(Ie))}catch{return}})(Le,_e),E(Le),Ue.config=u,Ue.mode=ce=u.get("mode",Ie.documentElement.getAttribute("mode")||(p(Le,"ios")?"ios":"md")),u.set("mode",ce),Ie.documentElement.setAttribute("mode",ce),Ie.documentElement.classList.add(ce),u.getBoolean("_testing")&&u.set("animated",!1);const Fe=Ae=>{var Be;return null===(Be=Ae.tagName)||void 0===Be?void 0:Be.startsWith("ION-")},Ce=Ae=>["ios","md"].includes(Ae);(0,n.c)(Ae=>{for(;Ae;){const Be=Ae.mode||Ae.getAttribute("mode");if(Be){if(Ce(Be))return Be;Fe(Ae)&&console.warn('Invalid ionic mode: "'+Be+'", expected: "ios" or "md"')}Ae=Ae.parentElement}return ce})}},68512:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{iosTransitionAnimation:()=>S,shadow:()=>o});var n=s(30388),l=s(76256);s(14829),s(62992);const e=f=>document.querySelector(`${f}.ion-cloned-element`),o=f=>f.shadowRoot||f,h=f=>{const C="ION-TABS"===f.tagName?f:f.querySelector("ion-tabs"),_="ion-content ion-header:not(.header-collapse-condense-inactive) ion-title.title-large";if(null!=C){const w=C.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");return null!=w?w.querySelector(_):null}return f.querySelector(_)},v=(f,C)=>{const _="ION-TABS"===f.tagName?f:f.querySelector("ion-tabs");let w=[];if(null!=_){const D=_.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");null!=D&&(w=D.querySelectorAll("ion-buttons"))}else w=f.querySelectorAll("ion-buttons");for(const D of w){const L=D.closest("ion-header"),N=L&&!L.classList.contains("header-collapse-condense-inactive"),V=D.querySelector("ion-back-button"),G=D.classList.contains("buttons-collapse");if(null!==V&&("start"===D.slot||""===D.slot)&&(G&&N&&C||!G))return V}return null},p=(f,C,_,w,D,L,N,V,G)=>{var R,k;const A=C?`calc(100% - ${D.right+4}px)`:D.left-4+"px",H=C?"right":"left",K=C?"left":"right",ie=C?"right":"left",X=(null===(R=L.textContent)||void 0===R?void 0:R.trim())===(null===(k=V.textContent)||void 0===k?void 0:k.trim()),ce=(G.height-y)/N.height,ze=X?`scale(${G.width/N.width}, ${ce})`:`scale(${ce})`,ct="scale(1)",Ie=o(w).querySelector("ion-icon").getBoundingClientRect(),Le=C?Ie.width/2-(Ie.right-D.right)+"px":D.left-Ie.width/2+"px",Ue=C?`-${window.innerWidth-D.right}px`:`${D.left}px`,Xe=`${G.top}px`,_e=`${D.top}px`,Ae=_?[{offset:0,transform:`translate3d(${Ue}, ${_e}, 0)`},{offset:1,transform:`translate3d(${Le}, ${Xe}, 0)`}]:[{offset:0,transform:`translate3d(${Le}, ${Xe}, 0)`},{offset:1,transform:`translate3d(${Ue}, ${_e}, 0)`}],Ee=_?[{offset:0,opacity:1,transform:ct},{offset:1,opacity:0,transform:ze}]:[{offset:0,opacity:0,transform:ze},{offset:1,opacity:1,transform:ct}],Tt=_?[{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)"}],dt=(0,n.c)(),ot=(0,n.c)(),Vt=(0,n.c)(),nn=e("ion-back-button"),vn=o(nn).querySelector(".button-text"),zt=o(nn).querySelector("ion-icon");nn.text=w.text,nn.mode=w.mode,nn.icon=w.icon,nn.color=w.color,nn.disabled=w.disabled,nn.style.setProperty("display","block"),nn.style.setProperty("position","fixed"),ot.addElement(zt),dt.addElement(vn),Vt.addElement(nn),Vt.beforeStyles({position:"absolute",top:"0px",[ie]:"0px"}).keyframes(Ae),dt.beforeStyles({"transform-origin":`${H} top`}).beforeAddWrite(()=>{w.style.setProperty("display","none"),nn.style.setProperty(H,A)}).afterAddWrite(()=>{w.style.setProperty("display",""),nn.style.setProperty("display","none"),nn.style.removeProperty(H)}).keyframes(Ee),ot.beforeStyles({"transform-origin":`${K} center`}).keyframes(Tt),f.addAnimation([dt,ot,Vt])},E=(f,C,_,w,D,L,N,V)=>{var G,R;const k=C?"right":"left",A=C?`calc(100% - ${D.right}px)`:`${D.left}px`,K=`${D.top}px`,X=C?`-${window.innerWidth-V.right-8}px`:V.x-8+"px",ce=V.y-2+"px",ze=(null===(G=N.textContent)||void 0===G?void 0:G.trim())===(null===(R=w.textContent)||void 0===R?void 0:R.trim()),xe=V.height/(L.height-y),Ie="scale(1)",Le=ze?`scale(${V.width/L.width}, ${xe})`:`scale(${xe})`,_e=_?[{offset:0,opacity:0,transform:`translate3d(${X}, ${ce}, 0) ${Le}`},{offset:.1,opacity:0},{offset:1,opacity:1,transform:`translate3d(0px, ${K}, 0) ${Ie}`}]:[{offset:0,opacity:.99,transform:`translate3d(0px, ${K}, 0) ${Ie}`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${X}, ${ce}, 0) ${Le}`}],Fe=e("ion-title"),Ce=(0,n.c)();Fe.innerText=w.innerText,Fe.size=w.size,Fe.color=w.color,Ce.addElement(Fe),Ce.beforeStyles({"transform-origin":`${k} top`,height:`${D.height}px`,display:"",position:"relative",[k]:A}).beforeAddWrite(()=>{w.style.setProperty("opacity","0")}).afterAddWrite(()=>{w.style.setProperty("opacity",""),Fe.style.setProperty("display","none")}).keyframes(_e),f.addAnimation(Ce)},S=(f,C)=>{var _;try{const w="cubic-bezier(0.32,0.72,0,1)",D="opacity",L="transform",N="0%",G="rtl"===f.ownerDocument.dir,R=G?"-99.5%":"99.5%",k=G?"33%":"-33%",A=C.enteringEl,H=C.leavingEl,K="back"===C.direction,ie=A.querySelector(":scope > ion-content"),X=A.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *"),be=A.querySelectorAll(":scope > ion-header > ion-toolbar"),ce=(0,n.c)(),ze=(0,n.c)();if(ce.addElement(A).duration((null!==(_=C.duration)&&void 0!==_?_:0)||540).easing(C.easing||w).fill("both").beforeRemoveClass("ion-page-invisible"),H&&null!=f){const Le=(0,n.c)();Le.addElement(f),ce.addAnimation(Le)}if(ie||0!==be.length||0!==X.length?(ze.addElement(ie),ze.addElement(X)):ze.addElement(A.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),ce.addAnimation(ze),K?ze.beforeClearStyles([D]).fromTo("transform",`translateX(${k})`,`translateX(${N})`).fromTo(D,.8,1):ze.beforeClearStyles([D]).fromTo("transform",`translateX(${R})`,`translateX(${N})`),ie){const Le=o(ie).querySelector(".transition-effect");if(Le){const Ue=Le.querySelector(".transition-cover"),Xe=Le.querySelector(".transition-shadow"),_e=(0,n.c)(),Fe=(0,n.c)(),Ce=(0,n.c)();_e.addElement(Le).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),Fe.addElement(Ue).beforeClearStyles([D]).fromTo(D,0,.1),Ce.addElement(Xe).beforeClearStyles([D]).fromTo(D,.03,.7),_e.addAnimation([Fe,Ce]),ze.addAnimation([_e])}}const ct=A.querySelector("ion-header.header-collapse-condense"),{forward:xe,backward:Ie}=((f,C,_,w,D)=>{const L=v(w,_),N=h(D),V=h(w),G=v(D,_),R=null!==L&&null!==N&&!_,k=null!==V&&null!==G&&_;if(R){const A=N.getBoundingClientRect(),H=L.getBoundingClientRect(),K=o(L).querySelector(".button-text"),ie=K.getBoundingClientRect(),be=o(N).querySelector(".toolbar-title").getBoundingClientRect();E(f,C,_,N,A,be,K,ie),p(f,C,_,L,H,K,ie,N,be)}else if(k){const A=V.getBoundingClientRect(),H=G.getBoundingClientRect(),K=o(G).querySelector(".button-text"),ie=K.getBoundingClientRect(),be=o(V).querySelector(".toolbar-title").getBoundingClientRect();E(f,C,_,V,A,be,K,ie),p(f,C,_,G,H,K,ie,V,be)}return{forward:R,backward:k}})(ce,G,K,A,H);if(be.forEach(Le=>{const Ue=(0,n.c)();Ue.addElement(Le),ce.addAnimation(Ue);const Xe=(0,n.c)();Xe.addElement(Le.querySelector("ion-title"));const _e=(0,n.c)(),Fe=Array.from(Le.querySelectorAll("ion-buttons,[menuToggle]")),Ce=Le.closest("ion-header"),Ae=Ce?.classList.contains("header-collapse-condense-inactive");let Be;Be=Fe.filter(K?Tt=>{const dt=Tt.classList.contains("buttons-collapse");return dt&&!Ae||!dt}:Tt=>!Tt.classList.contains("buttons-collapse")),_e.addElement(Be);const re=(0,n.c)();re.addElement(Le.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])"));const Ee=(0,n.c)();Ee.addElement(o(Le).querySelector(".toolbar-background"));const et=(0,n.c)(),vt=Le.querySelector("ion-back-button");if(vt&&et.addElement(vt),Ue.addAnimation([Xe,_e,re,Ee,et]),_e.fromTo(D,.01,1),re.fromTo(D,.01,1),K)Ae||Xe.fromTo("transform",`translateX(${k})`,`translateX(${N})`).fromTo(D,.01,1),re.fromTo("transform",`translateX(${k})`,`translateX(${N})`),et.fromTo(D,.01,1);else if(ct||Xe.fromTo("transform",`translateX(${R})`,`translateX(${N})`).fromTo(D,.01,1),re.fromTo("transform",`translateX(${R})`,`translateX(${N})`),Ee.beforeClearStyles([D,"transform"]),Ce?.translucent?Ee.fromTo("transform",G?"translateX(-100%)":"translateX(100%)","translateX(0px)"):Ee.fromTo(D,.01,"var(--opacity)"),xe||et.fromTo(D,.01,1),vt&&!xe){const dt=(0,n.c)();dt.addElement(o(vt).querySelector(".button-text")).fromTo("transform",G?"translateX(-100px)":"translateX(100px)","translateX(0px)"),Ue.addAnimation(dt)}}),H){const Le=(0,n.c)(),Ue=H.querySelector(":scope > ion-content"),Xe=H.querySelectorAll(":scope > ion-header > ion-toolbar"),_e=H.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *");if(Ue||0!==Xe.length||0!==_e.length?(Le.addElement(Ue),Le.addElement(_e)):Le.addElement(H.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),ce.addAnimation(Le),K){Le.beforeClearStyles([D]).fromTo("transform",`translateX(${N})`,G?"translateX(-100%)":"translateX(100%)");const Fe=(0,l.g)(H);ce.afterAddWrite(()=>{"normal"===ce.getDirection()&&Fe.style.setProperty("display","none")})}else Le.fromTo("transform",`translateX(${N})`,`translateX(${k})`).fromTo(D,1,.8);if(Ue){const Fe=o(Ue).querySelector(".transition-effect");if(Fe){const Ce=Fe.querySelector(".transition-cover"),Ae=Fe.querySelector(".transition-shadow"),Be=(0,n.c)(),re=(0,n.c)(),Ee=(0,n.c)();Be.addElement(Fe).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),re.addElement(Ce).beforeClearStyles([D]).fromTo(D,.1,0),Ee.addElement(Ae).beforeClearStyles([D]).fromTo(D,.7,.03),Be.addAnimation([re,Ee]),Le.addAnimation([Be])}}Xe.forEach(Fe=>{const Ce=(0,n.c)();Ce.addElement(Fe);const Ae=(0,n.c)();Ae.addElement(Fe.querySelector("ion-title"));const Be=(0,n.c)(),re=Fe.querySelectorAll("ion-buttons,[menuToggle]"),Ee=Fe.closest("ion-header"),et=Ee?.classList.contains("header-collapse-condense-inactive"),vt=Array.from(re).filter(vn=>{const zt=vn.classList.contains("buttons-collapse");return zt&&!et||!zt});Be.addElement(vt);const Tt=(0,n.c)(),dt=Fe.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])");dt.length>0&&Tt.addElement(dt);const ot=(0,n.c)();ot.addElement(o(Fe).querySelector(".toolbar-background"));const Vt=(0,n.c)(),nn=Fe.querySelector("ion-back-button");if(nn&&Vt.addElement(nn),Ce.addAnimation([Ae,Be,Tt,Vt,ot]),ce.addAnimation(Ce),Vt.fromTo(D,.99,0),Be.fromTo(D,.99,0),Tt.fromTo(D,.99,0),K){if(et||Ae.fromTo("transform",`translateX(${N})`,G?"translateX(-100%)":"translateX(100%)").fromTo(D,.99,0),Tt.fromTo("transform",`translateX(${N})`,G?"translateX(-100%)":"translateX(100%)"),ot.beforeClearStyles([D,"transform"]),Ee?.translucent?ot.fromTo("transform","translateX(0px)",G?"translateX(-100%)":"translateX(100%)"):ot.fromTo(D,"var(--opacity)",0),nn&&!Ie){const zt=(0,n.c)();zt.addElement(o(nn).querySelector(".button-text")).fromTo("transform",`translateX(${N})`,`translateX(${(G?-124:124)+"px"})`),Ce.addAnimation(zt)}}else et||Ae.fromTo("transform",`translateX(${N})`,`translateX(${k})`).fromTo(D,.99,0).afterClearStyles([L,D]),Tt.fromTo("transform",`translateX(${N})`,`translateX(${k})`).afterClearStyles([L,D]),Vt.afterClearStyles([D]),Ae.afterClearStyles([D]),Be.afterClearStyles([D])})}return ce}catch(w){throw w}},y=10},96556:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{mdTransitionAnimation:()=>i});var n=s(30388),l=s(76256);s(14829),s(62992);const i=(e,o)=>{var h,v,M;const p="40px",S="back"===o.direction,f=o.leavingEl,C=(0,l.g)(o.enteringEl),_=C.querySelector("ion-toolbar"),w=(0,n.c)();if(w.addElement(C).fill("both").beforeRemoveClass("ion-page-invisible"),S?w.duration((null!==(h=o.duration)&&void 0!==h?h:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)"):w.duration((null!==(v=o.duration)&&void 0!==v?v:0)||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform",`translateY(${p})`,"translateY(0px)").fromTo("opacity",.01,1),_){const D=(0,n.c)();D.addElement(_),w.addAnimation(D)}if(f&&S){w.duration((null!==(M=o.duration)&&void 0!==M?M:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)");const D=(0,n.c)();D.addElement((0,l.g)(f)).onFinish(L=>{1===L&&D.elements.length>0&&D.elements[0].style.setProperty("display","none")}).fromTo("transform","translateY(0px)",`translateY(${p})`).fromTo("opacity",1,0),w.addAnimation(D)}return w}},63816:(pe,m,s)=>{"use strict";s.d(m,{B:()=>Be,G:()=>re,O:()=>Ee,a:()=>E,b:()=>S,c:()=>_,d:()=>et,e:()=>vt,f:()=>ct,g:()=>Ie,h:()=>Xe,i:()=>Fe,j:()=>D,k:()=>L,l:()=>y,m:()=>f,n:()=>R,o:()=>ce,p:()=>C,s:()=>Ae,t:()=>w});var n=s(1528),l=s(14829),u=s(72784),c=s(88523),i=s(10495),e=s(46384),o=s(52032);let h=0,v=0;const M=new WeakMap,p=Tt=>({create:dt=>N(Tt,dt),dismiss:(dt,ot,Vt)=>ie(document,dt,ot,Tt,Vt),getTop:()=>(0,n.c)(function*(){return ce(document,Tt)})()}),E=p("ion-alert"),S=p("ion-action-sheet"),y=p("ion-loading"),f=p("ion-modal"),C=p("ion-picker"),_=p("ion-popover"),w=p("ion-toast"),D=Tt=>{typeof document<"u"&&K(document);const dt=h++;Tt.overlayIndex=dt},L=Tt=>(Tt.hasAttribute("id")||(Tt.id="ion-overlay-"+ ++v),Tt.id),N=(Tt,dt)=>typeof window<"u"&&typeof window.customElements<"u"?window.customElements.whenDefined(Tt).then(()=>{const ot=document.createElement(Tt);return ot.classList.add("overlay-hidden"),Object.assign(ot,Object.assign(Object.assign({},dt),{hasController:!0})),Le(document).appendChild(ot),new Promise(Vt=>(0,e.c)(ot,Vt))}):Promise.resolve(),V='[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])',R=(Tt,dt)=>{const ot=Tt.querySelector(V);A(ot,dt)},k=(Tt,dt)=>{const ot=Array.from(Tt.querySelectorAll(V));A(ot.length>0?ot[ot.length-1]:null,dt)},A=(Tt,dt)=>{let ot=Tt;const Vt=Tt?.shadowRoot;Vt&&(ot=Vt.querySelector(V)||Tt),ot?(0,e.f)(ot):dt.focus()},K=Tt=>{0===h&&(h=1,Tt.addEventListener("focus",dt=>{((Tt,dt)=>{const ot=ce(dt,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover"),Vt=Tt.target;ot&&Vt&&!ot.classList.contains("ion-disable-focus-trap")&&(ot.shadowRoot?(()=>{if(ot.contains(Vt))ot.lastFocus=Vt;else if("ION-TOAST"===Vt.tagName)A(ot.lastFocus,ot);else{const zt=ot.lastFocus;R(ot,ot),zt===dt.activeElement&&k(ot,ot),ot.lastFocus=dt.activeElement}})():(()=>{if(ot===Vt)ot.lastFocus=void 0;else if("ION-TOAST"===Vt.tagName)A(ot.lastFocus,ot);else{const zt=(0,e.g)(ot);if(!zt.contains(Vt))return;const Xt=zt.querySelector(".ion-overlay-wrapper");if(!Xt)return;if(Xt.contains(Vt)||Vt===zt.querySelector("ion-backdrop"))ot.lastFocus=Vt;else{const En=ot.lastFocus;R(Xt,ot),En===dt.activeElement&&k(Xt,ot),ot.lastFocus=dt.activeElement}}})())})(dt,Tt)},!0),Tt.addEventListener("ionBackButton",dt=>{const ot=ce(Tt);ot?.backdropDismiss&&dt.detail.register(u.OVERLAY_BACK_BUTTON_PRIORITY,()=>{ot.dismiss(void 0,Be)})}),(0,u.shoudUseCloseWatcher)()||Tt.addEventListener("keydown",dt=>{if("Escape"===dt.key){const ot=ce(Tt);ot?.backdropDismiss&&ot.dismiss(void 0,Be)}}))},ie=(Tt,dt,ot,Vt,nn)=>{const vn=ce(Tt,Vt,nn);return vn?vn.dismiss(dt,ot):Promise.reject("overlay does not exist")},be=(Tt,dt)=>((Tt,dt)=>(void 0===dt&&(dt="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast"),Array.from(Tt.querySelectorAll(dt)).filter(ot=>ot.overlayIndex>0)))(Tt,dt).filter(ot=>!(Tt=>Tt.classList.contains("overlay-hidden"))(ot)),ce=(Tt,dt,ot)=>{const Vt=be(Tt,dt);return void 0===ot?Vt[Vt.length-1]:Vt.find(nn=>nn.id===ot)},ze=(Tt=!1)=>{const ot=Le(document).querySelector("ion-router-outlet, ion-nav, #ion-view-container-root");ot&&(Tt?ot.setAttribute("aria-hidden","true"):ot.removeAttribute("aria-hidden"))},ct=function(){var Tt=(0,n.c)(function*(dt,ot,Vt,nn,vn){var zt,Xt;if(dt.presented)return;ze(!0),void 0!==l.d&&be(l.d).forEach(kn=>kn.setAttribute("aria-hidden","true")),dt.presented=!0,dt.willPresent.emit(),null===(zt=dt.willPresentShorthand)||void 0===zt||zt.emit();const En=(0,c.b)(dt),$n=dt.enterAnimation?dt.enterAnimation:c.c.get(ot,"ios"===En?Vt:nn);(yield Ue(dt,$n,dt.el,vn))&&(dt.didPresent.emit(),null===(Xt=dt.didPresentShorthand)||void 0===Xt||Xt.emit()),"ION-TOAST"!==dt.el.tagName&&xe(dt.el),dt.keyboardClose&&(null===document.activeElement||!dt.el.contains(document.activeElement))&&dt.el.focus(),dt.el.removeAttribute("aria-hidden")});return function(ot,Vt,nn,vn,zt){return Tt.apply(this,arguments)}}(),xe=function(){var Tt=(0,n.c)(function*(dt){let ot=document.activeElement;if(!ot)return;const Vt=ot?.shadowRoot;Vt&&(ot=Vt.querySelector(V)||ot),yield dt.onDidDismiss(),(null===document.activeElement||document.activeElement===document.body)&&ot.focus()});return function(ot){return Tt.apply(this,arguments)}}(),Ie=function(){var Tt=(0,n.c)(function*(dt,ot,Vt,nn,vn,zt,Xt){var En,$n,Wt;if(!dt.presented)return!1;void 0!==l.d&&1===be(l.d).length&&ze(!1),dt.presented=!1;try{dt.el.style.setProperty("pointer-events","none"),dt.willDismiss.emit({data:ot,role:Vt}),null===(En=dt.willDismissShorthand)||void 0===En||En.emit({data:ot,role:Vt});const zn=(0,c.b)(dt),kn=dt.leaveAnimation?dt.leaveAnimation:c.c.get(nn,"ios"===zn?vn:zt);Vt!==re&&(yield Ue(dt,kn,dt.el,Xt)),dt.didDismiss.emit({data:ot,role:Vt}),null===($n=dt.didDismissShorthand)||void 0===$n||$n.emit({data:ot,role:Vt}),(M.get(dt)||[]).forEach(ut=>ut.destroy()),M.delete(dt),dt.el.classList.add("overlay-hidden"),dt.el.style.removeProperty("pointer-events"),void 0!==dt.el.lastFocus&&(dt.el.lastFocus=void 0)}catch(zn){console.error(zn)}return dt.el.remove(),void 0!==l.d&&(null===(Wt=ce(l.d))||void 0===Wt||Wt.removeAttribute("aria-hidden")),!0});return function(ot,Vt,nn,vn,zt,Xt,En){return Tt.apply(this,arguments)}}(),Le=Tt=>Tt.querySelector("ion-app")||Tt.body,Ue=function(){var Tt=(0,n.c)(function*(dt,ot,Vt,nn){Vt.classList.remove("overlay-hidden");const zt=ot(dt.el,nn);(!dt.animated||!c.c.getBoolean("animated",!0))&&zt.duration(0),dt.keyboardClose&&zt.beforeAddWrite(()=>{const En=Vt.ownerDocument.activeElement;En?.matches("input,ion-input, ion-textarea")&&En.blur()});const Xt=M.get(dt)||[];return M.set(dt,[...Xt,zt]),yield zt.play(),!0});return function(ot,Vt,nn,vn){return Tt.apply(this,arguments)}}(),Xe=(Tt,dt)=>{let ot;const Vt=new Promise(nn=>ot=nn);return _e(Tt,dt,nn=>{ot(nn.detail)}),Vt},_e=(Tt,dt,ot)=>{const Vt=nn=>{(0,e.b)(Tt,dt,Vt),ot(nn)};(0,e.a)(Tt,dt,Vt)},Fe=Tt=>"cancel"===Tt||Tt===Be,Ce=Tt=>Tt(),Ae=(Tt,dt)=>{if("function"==typeof Tt)return c.c.get("_zoneGate",Ce)(()=>{try{return Tt(dt)}catch(Vt){throw Vt}})},Be="backdrop",re="gesture",Ee=39,et=Tt=>{let ot,dt=!1;const Vt=(0,i.C)(),nn=(Xt=!1)=>{if(ot&&!Xt)return{delegate:ot,inline:dt};const{el:En,hasController:$n,delegate:Wt}=Tt;return dt=null!==En.parentNode&&!$n,ot=dt?Wt||Vt:Wt,{inline:dt,delegate:ot}};return{attachViewToDom:function(){var Xt=(0,n.c)(function*(En){const{delegate:$n}=nn(!0);if($n)return yield $n.attachViewToDom(Tt.el,En);const{hasController:Wt}=Tt;if(Wt&&void 0!==En)throw new Error("framework delegate is missing");return null});return function($n){return Xt.apply(this,arguments)}}(),removeViewFromDom:()=>{const{delegate:Xt}=nn();Xt&&void 0!==Tt.el&&Xt.removeViewFromDom(Tt.el.parentElement,Tt.el)}}},vt=()=>{let Tt;const dt=()=>{Tt&&(Tt(),Tt=void 0)};return{addClickListener:(Vt,nn)=>{dt();const vn=void 0!==nn?document.getElementById(nn):null;vn?Tt=((Xt,En)=>{const $n=()=>{En.present()};return Xt.addEventListener("click",$n),()=>{Xt.removeEventListener("click",$n)}})(vn,Vt):(0,o.p)(`A trigger element with the ID "${nn}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on an overlay component.`,Vt)},removeClickListener:dt}}},45256:(pe,m,s)=>{"use strict";s.d(m,{c:()=>u,g:()=>i,h:()=>l,o:()=>o});var n=s(1528);const l=(h,v)=>null!==v.closest(h),u=(h,v)=>"string"==typeof h&&h.length>0?Object.assign({"ion-color":!0,[`ion-color-${h}`]:!0},v):v,i=h=>{const v={};return(h=>void 0!==h?(Array.isArray(h)?h:h.split(" ")).filter(M=>null!=M).map(M=>M.trim()).filter(M=>""!==M):[])(h).forEach(M=>v[M]=!0),v},e=/^[a-z][a-z0-9+\-.]*:/,o=function(){var h=(0,n.c)(function*(v,M,p,E){if(null!=v&&"#"!==v[0]&&!e.test(v)){const S=document.querySelector("ion-router");if(S)return M?.preventDefault(),S.push(v,p,E)}return!1});return function(M,p,E,S){return h.apply(this,arguments)}}()},57140:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{AuthenticationHandler:()=>k,AuthenticationHandlerOptions:()=>V,BatchRequestContent:()=>u,BatchResponseContent:()=>c,ChaosHandler:()=>Xe,ChaosHandlerOptions:()=>Ie,ChaosStrategy:()=>xe,Client:()=>ut,CustomAuthenticationProvider:()=>zt,FeatureUsageFlag:()=>G,FileUpload:()=>vt,GraphClientError:()=>h,GraphError:()=>Xt,GraphRequest:()=>$n,HTTPMessageHandler:()=>A,LargeFileUploadTask:()=>et,MiddlewareFactory:()=>ct,OneDriveLargeFileUploadTask:()=>Vt,PageIterator:()=>vn,Range:()=>re,RedirectHandler:()=>X,RedirectHandlerOptions:()=>ie,ResponseType:()=>_e,RetryHandler:()=>K,RetryHandlerOptions:()=>H,StreamUpload:()=>nn,TelemetryHandler:()=>ce,TelemetryHandlerOptions:()=>R,UploadResult:()=>Ee,getValidRangeSize:()=>ot});var n=s(81316),l=function(Te){return Te.GET="GET",Te.PATCH="PATCH",Te.POST="POST",Te.PUT="PUT",Te.DELETE="DELETE",Te}(l||{});let u=(()=>{class Te{static validateDependencies(fe){if(0===fe.size){const $t=new Error("Empty requests map, Please provide at least one request.");throw $t.name="Empty Requests Error",$t}return($t=>{const un=$t.entries();let Vn=un.next();for(;!Vn.done;){const tr=Vn.value[1];if(void 0!==tr.dependsOn&&tr.dependsOn.length>0)return!1;Vn=un.next()}return!0})(fe)||($t=>{const un=$t.entries();let Vn=un.next();const tr=Vn.value[1];if(void 0!==tr.dependsOn&&tr.dependsOn.length>0)return!1;let br=Vn;for(Vn=un.next();!Vn.done;){const or=Vn.value[1];if(void 0===or.dependsOn||1!==or.dependsOn.length||or.dependsOn[0]!==br.value[1].id)return!1;br=Vn,Vn=un.next()}return!0})(fe)||($t=>{const un=$t.entries();let Vn=un.next();const tr=Vn.value[1];let br;if(void 0===tr.dependsOn||0===tr.dependsOn.length)br=tr.id;else{if(1!==tr.dependsOn.length)return!1;{const or=tr.dependsOn[0];if(or===tr.id||!$t.has(or))return!1;br=or}}for(Vn=un.next();!Vn.done;){const or=Vn.value[1];if((void 0===or.dependsOn||0===or.dependsOn.length)&&br!==or.id||void 0!==or.dependsOn&&0!==or.dependsOn.length&&(1===or.dependsOn.length&&(or.id===br||or.dependsOn[0]!==br)||or.dependsOn.length>1))return!1;Vn=un.next()}return!0})(fe)}static getRequestData(fe){return(0,n.__awaiter)(this,void 0,void 0,function*(){const $e={url:""},Ye=new RegExp("^https?://");$e.url=Ye.test(fe.url)?"/"+fe.url.split(/.*?\/\/.*?\//)[1]:fe.url,$e.method=fe.method;const ft={};return fe.headers.forEach(($t,un)=>{ft[un]=$t}),Object.keys(ft).length&&($e.headers=ft),(fe.method===l.PATCH||fe.method===l.POST||fe.method===l.PUT)&&($e.body=yield Te.getRequestBody(fe)),$e})}static getRequestBody(fe){return(0,n.__awaiter)(this,void 0,void 0,function*(){let Ye,$e=!1;try{Ye=yield fe.clone().json(),$e=!0}catch{}if(!$e)try{if(typeof Blob<"u"){const ft=yield fe.blob(),$t=new FileReader;Ye=yield new Promise(un=>{$t.addEventListener("load",()=>{const Vn=$t.result,br=new RegExp("^s*data:(.+?/.+?(;.+?=.+?)*)?(;base64)?,(.*)s*$").exec(Vn);un(br[4])},!1),$t.readAsDataURL(ft)})}else typeof Buffer<"u"&&(Ye=(yield fe.buffer()).toString("base64"));$e=!0}catch{}return Ye})}constructor(fe){if(this.requests=new Map,typeof fe<"u"){const $e=Te.requestLimit;if(fe.length>$e){const Ye=new Error(`Maximum requests limit exceeded, Max allowed number of requests are ${$e}`);throw Ye.name="Limit Exceeded Error",Ye}for(const Ye of fe)this.addRequest(Ye)}}addRequest(fe){const $e=Te.requestLimit;if(""===fe.id){const Ye=new Error("Id for a request is empty, Please provide an unique id");throw Ye.name="Empty Id For Request",Ye}if(this.requests.size===$e){const Ye=new Error(`Maximum requests limit exceeded, Max allowed number of requests are ${$e}`);throw Ye.name="Limit Exceeded Error",Ye}if(this.requests.has(fe.id)){const Ye=new Error(`Adding request with duplicate id ${fe.id}, Make the id of the requests unique`);throw Ye.name="Duplicate RequestId Error",Ye}return this.requests.set(fe.id,fe),fe.id}removeRequest(fe){const $e=this.requests.delete(fe),Ye=this.requests.entries();let ft=Ye.next();for(;!ft.done;){const $t=ft.value[1].dependsOn;if(typeof $t<"u"){const un=$t.indexOf(fe);-1!==un&&$t.splice(un,1),0===$t.length&&delete ft.value[1].dependsOn}ft=Ye.next()}return $e}getContent(){return(0,n.__awaiter)(this,void 0,void 0,function*(){const fe=[],$e={requests:fe},Ye=this.requests.entries();let ft=Ye.next();if(ft.done){const $t=new Error("No requests added yet, Please add at least one request.");throw $t.name="Empty Payload",$t}if(!Te.validateDependencies(this.requests)){const $t=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 $t.name="Invalid Dependency",$t}for(;!ft.done;){const $t=ft.value[1],un=yield Te.getRequestData($t.request);if(void 0!==un.body&&(void 0===un.headers||void 0===un.headers["content-type"])){const Vn=new Error(`Content-type header is not mentioned for request #${$t.id}, For request having body, Content-type header should be mentioned`);throw Vn.name="Invalid Content-type header",Vn}un.id=$t.id,void 0!==$t.dependsOn&&$t.dependsOn.length>0&&(un.dependsOn=$t.dependsOn),fe.push(un),ft=Ye.next()}return $e.requests=fe,$e})}addDependency(fe,$e){if(!this.requests.has(fe)){const Ye=new Error(`Dependent ${fe} does not exists, Please check the id`);throw Ye.name="Invalid Dependent",Ye}if(typeof $e<"u"&&!this.requests.has($e)){const Ye=new Error(`Dependency ${$e} does not exists, Please check the id`);throw Ye.name="Invalid Dependency",Ye}if(typeof $e<"u"){const Ye=this.requests.get(fe);if(void 0===Ye.dependsOn&&(Ye.dependsOn=[]),-1!==Ye.dependsOn.indexOf($e)){const ft=new Error(`Dependency ${$e} is already added for the request ${fe}`);throw ft.name="Duplicate Dependency",ft}Ye.dependsOn.push($e)}else{const Ye=this.requests.entries();let ft,$t=Ye.next();for(;!$t.done&&$t.value[1].id!==fe;)ft=$t,$t=Ye.next();if(!(typeof ft<"u")){const un=new Error(`Can't add dependency ${$e}, There is only a dependent request in the batch`);throw un.name="Invalid Dependency Addition",un}{const un=ft.value[0];if(void 0===$t.value[1].dependsOn&&($t.value[1].dependsOn=[]),-1!==$t.value[1].dependsOn.indexOf(un)){const Vn=new Error(`Dependency ${un} is already added for the request ${fe}`);throw Vn.name="Duplicate Dependency",Vn}$t.value[1].dependsOn.push(un)}}}removeDependency(fe,$e){const Ye=this.requests.get(fe);if(typeof Ye>"u"||void 0===Ye.dependsOn||0===Ye.dependsOn.length)return!1;if(typeof $e<"u"){const ft=Ye.dependsOn.indexOf($e);return-1!==ft&&(Ye.dependsOn.splice(ft,1),!0)}return delete Ye.dependsOn,!0}}return Te.requestLimit=20,Te})();class c{constructor(me){this.responses=new Map,this.update(me)}createResponseObject(me){const fe=me.body,$e={};if($e.status=me.status,void 0!==me.statusText&&($e.statusText=me.statusText),$e.headers=me.headers,void 0!==$e.headers&&void 0!==$e.headers["Content-Type"]&&"application/json"===$e.headers["Content-Type"].split(";")[0]){const Ye=JSON.stringify(fe);return new Response(Ye,$e)}return new Response(fe,$e)}update(me){this.nextLink=me["@odata.nextLink"];const fe=me.responses;for(let $e=0,Ye=fe.length;$e{const me=Te&&Te.constructor&&Te.constructor.name;if("Buffer"===me||"Blob"===me||"File"===me||"FormData"===me||"string"==typeof Te)return Te;if("ArrayBuffer"===me)Te=Buffer.from(Te);else if("Int8Array"===me||"Int16Array"===me||"Int32Array"===me||"Uint8Array"===me||"Uint16Array"===me||"Uint32Array"===me||"Uint8ClampedArray"===me||"Float32Array"===me||"Float64Array"===me||"DataView"===me)Te=Buffer.from(Te.buffer);else try{Te=JSON.stringify(Te)}catch{throw new Error("Unable to stringify the content")}return Te},E=Te=>y(Te),S=(Te,me)=>(me.forEach(fe=>f(fe)),y(Te,me)),y=(Te,me=o)=>{if(-1!==(Te=Te.toLowerCase()).indexOf("https://")){const fe=(Te=Te.replace("https://","")).indexOf(":"),$e=Te.indexOf("/");let Ye="";if(-1!==$e)return-1!==fe&&fe<$e?(Ye=Te.substring(0,fe),me.has(Ye)):(Ye=Te.substring(0,$e),me.has(Ye))}return!1},f=Te=>{if(-1!==Te.indexOf("/"))throw new h("Please add only hosts or hostnames to the CustomHosts config. If the url is `http://example.com:3000/`, host is `example:3000`")};class C{constructor(me=[]){this.middlewareOptions=new Map;for(const fe of me)this.middlewareOptions.set(fe.constructor,fe)}getMiddlewareOptions(me){return this.middlewareOptions.get(me)}setMiddlewareOptions(me,fe){this.middlewareOptions.set(me,fe)}}const _=()=>{let Te="";for(let me=0;me<32;me++)(8===me||12===me||16===me||20===me)&&(Te+="-"),Te+=Math.floor(16*Math.random()).toString(16);return Te},w=(Te,me,fe)=>{let $e=null;if(typeof Request<"u"&&Te instanceof Request)$e=Te.headers.get(fe);else if(typeof me<"u"&&void 0!==me.headers)if(typeof Headers<"u"&&me.headers instanceof Headers)$e=me.headers.get(fe);else if(me.headers instanceof Array){const Ye=me.headers;for(let ft=0,$t=Ye.length;ft<$t;ft++)if(Ye[ft][0]===fe){$e=Ye[ft][1];break}}else void 0!==me.headers[fe]&&($e=me.headers[fe]);return $e},D=(Te,me,fe,$e)=>{if(typeof Request<"u"&&Te instanceof Request)Te.headers.set(fe,$e);else if(typeof me<"u")if(void 0===me.headers)me.headers=new Headers({[fe]:$e});else if(typeof Headers<"u"&&me.headers instanceof Headers)me.headers.set(fe,$e);else if(me.headers instanceof Array){let Ye=0;const ft=me.headers.length;for(;Ye{typeof Request<"u"&&Te instanceof Request?Te.headers.append(fe,$e):typeof me<"u"&&(void 0===me.headers?me.headers=new Headers({[fe]:$e}):typeof Headers<"u"&&me.headers instanceof Headers?me.headers.append(fe,$e):me.headers instanceof Array?me.headers.push([fe,$e]):void 0===me.headers?me.headers={[fe]:$e}:void 0===me.headers[fe]?me.headers[fe]=$e:me.headers[fe]+=`, ${$e}`)};class V{constructor(me,fe){this.authenticationProvider=me,this.authenticationProviderOptions=fe}}var G=function(Te){return Te[Te.NONE=0]="NONE",Te[Te.REDIRECT_HANDLER_ENABLED=1]="REDIRECT_HANDLER_ENABLED",Te[Te.RETRY_HANDLER_ENABLED=2]="RETRY_HANDLER_ENABLED",Te[Te.AUTHENTICATION_HANDLER_ENABLED=4]="AUTHENTICATION_HANDLER_ENABLED",Te}(G||{});class R{constructor(){this.featureUsage=G.NONE}static updateFeatureUsageFlag(me,fe){let $e;me.middlewareControl instanceof C?$e=me.middlewareControl.getMiddlewareOptions(R):me.middlewareControl=new C,typeof $e>"u"&&($e=new R,me.middlewareControl.setMiddlewareOptions(R,$e)),$e.setFeatureUsage(fe)}setFeatureUsage(me){this.featureUsage=this.featureUsage|me}getFeatureUsage(){return this.featureUsage.toString(16)}}let k=(()=>{class Te{constructor(fe){this.authenticationProvider=fe}execute(fe){return(0,n.__awaiter)(this,void 0,void 0,function*(){const $e="string"==typeof fe.request?fe.request:fe.request.url;if(E($e)||fe.customHosts&&S($e,fe.customHosts)){let Ye,ft,$t;fe.middlewareControl instanceof C&&(Ye=fe.middlewareControl.getMiddlewareOptions(V)),Ye&&(ft=Ye.authenticationProvider,$t=Ye.authenticationProviderOptions),ft||(ft=this.authenticationProvider);const Vn=`Bearer ${yield ft.getAccessToken($t)}`;L(fe.request,fe.options,Te.AUTHORIZATION_HEADER,Vn),R.updateFeatureUsageFlag(fe,G.AUTHENTICATION_HANDLER_ENABLED)}else fe.options.headers&&delete fe.options.headers[Te.AUTHORIZATION_HEADER];return yield this.nextMiddleware.execute(fe)})}setNext(fe){this.nextMiddleware=fe}}return Te.AUTHORIZATION_HEADER="Authorization",Te})();class A{execute(me){return(0,n.__awaiter)(this,void 0,void 0,function*(){me.response=yield fetch(me.request,me.options)})}}let H=(()=>{class Te{constructor(fe=Te.DEFAULT_DELAY,$e=Te.DEFAULT_MAX_RETRIES,Ye=Te.defaultShouldRetry){if(fe>Te.MAX_DELAY&&$e>Te.MAX_MAX_RETRIES){const ft=new Error(`Delay and MaxRetries should not be more than ${Te.MAX_DELAY} and ${Te.MAX_MAX_RETRIES}`);throw ft.name="MaxLimitExceeded",ft}if(fe>Te.MAX_DELAY){const ft=new Error(`Delay should not be more than ${Te.MAX_DELAY}`);throw ft.name="MaxLimitExceeded",ft}if($e>Te.MAX_MAX_RETRIES){const ft=new Error(`MaxRetries should not be more than ${Te.MAX_MAX_RETRIES}`);throw ft.name="MaxLimitExceeded",ft}if(fe<0&&$e<0){const ft=new Error("Delay and MaxRetries should not be negative");throw ft.name="MinExpectationNotMet",ft}if(fe<0){const ft=new Error("Delay should not be negative");throw ft.name="MinExpectationNotMet",ft}if($e<0){const ft=new Error("MaxRetries should not be negative");throw ft.name="MinExpectationNotMet",ft}this.delay=Math.min(fe,Te.MAX_DELAY),this.maxRetries=Math.min($e,Te.MAX_MAX_RETRIES),this.shouldRetry=Ye}getMaxDelay(){return Te.MAX_DELAY}}return Te.DEFAULT_DELAY=3,Te.DEFAULT_MAX_RETRIES=3,Te.MAX_DELAY=180,Te.MAX_MAX_RETRIES=10,Te.defaultShouldRetry=()=>!0,Te})(),K=(()=>{class Te{constructor(fe=new H){this.options=fe}isRetry(fe){return-1!==Te.RETRY_STATUS_CODES.indexOf(fe.status)}isBuffered(fe,$e){const Ye="string"==typeof fe?$e.method:fe.method;return!((Ye===l.PUT||Ye===l.PATCH||Ye===l.POST)&&"application/octet-stream"===w(fe,$e,"Content-Type"))}getDelay(fe,$e,Ye){const ft=()=>Number(Math.random().toFixed(3)),$t=void 0!==fe.headers?fe.headers.get(Te.RETRY_AFTER_HEADER):null;let un;return un=null!==$t?Number.isNaN(Number($t))?Math.round((new Date($t).getTime()-Date.now())/1e3):Number($t):$e>=2?this.getExponentialBackOffTime($e)+Ye+ft():Ye+ft(),Math.min(un,this.options.getMaxDelay()+ft())}getExponentialBackOffTime(fe){return Math.round(.5*(Math.pow(2,fe)-1))}sleep(fe){return(0,n.__awaiter)(this,void 0,void 0,function*(){const $e=1e3*fe;return new Promise(Ye=>setTimeout(Ye,$e))})}getOptions(fe){let $e;return fe.middlewareControl instanceof C&&($e=fe.middlewareControl.getMiddlewareOptions(this.options.constructor)),typeof $e>"u"&&($e=Object.assign(new H,this.options)),$e}executeWithRetry(fe,$e,Ye){return(0,n.__awaiter)(this,void 0,void 0,function*(){if(yield this.nextMiddleware.execute(fe),$e{class Te{constructor(fe=Te.DEFAULT_MAX_REDIRECTS,$e=Te.defaultShouldRedirect){if(fe>Te.MAX_MAX_REDIRECTS){const Ye=new Error(`MaxRedirects should not be more than ${Te.MAX_MAX_REDIRECTS}`);throw Ye.name="MaxLimitExceeded",Ye}if(fe<0){const Ye=new Error("MaxRedirects should not be negative");throw Ye.name="MinExpectationNotMet",Ye}this.maxRedirects=fe,this.shouldRedirect=$e}}return Te.DEFAULT_MAX_REDIRECTS=5,Te.MAX_MAX_REDIRECTS=20,Te.defaultShouldRedirect=()=>!0,Te})(),X=(()=>{class Te{constructor(fe=new ie){this.options=fe}isRedirect(fe){return-1!==Te.REDIRECT_STATUS_CODES.indexOf(fe.status)}hasLocationHeader(fe){return fe.headers.has(Te.LOCATION_HEADER)}getLocationHeader(fe){return fe.headers.get(Te.LOCATION_HEADER)}isRelativeURL(fe){return-1===fe.indexOf("://")}shouldDropAuthorizationHeader(fe,$e){const Ye=/^[A-Za-z].+?:\/\/.+?(?=\/|$)/,ft=Ye.exec(fe);let $t,un;null!==ft&&($t=ft[0]);const Vn=Ye.exec($e);return null!==Vn&&(un=Vn[0]),typeof $t<"u"&&typeof un<"u"&&$t!==un}updateRequestUrl(fe,$e){return(0,n.__awaiter)(this,void 0,void 0,function*(){$e.request="string"==typeof $e.request?fe:yield((Te,me)=>(0,n.__awaiter)(void 0,void 0,void 0,function*(){const fe=me.headers.get("Content-Type")?yield me.blob():yield Promise.resolve(void 0),{method:$e,headers:Ye,referrer:ft,referrerPolicy:$t,mode:un,credentials:Vn,cache:tr,redirect:br,integrity:or,keepalive:fi,signal:Cr}=me;return new Request(Te,{method:$e,headers:Ye,body:fe,referrer:ft,referrerPolicy:$t,mode:un,credentials:Vn,cache:tr,redirect:br,integrity:or,keepalive:fi,signal:Cr})}))(fe,$e.request)})}getOptions(fe){let $e;return fe.middlewareControl instanceof C&&($e=fe.middlewareControl.getMiddlewareOptions(ie)),typeof $e>"u"&&($e=Object.assign(new ie,this.options)),$e}executeWithRedirect(fe,$e,Ye){return(0,n.__awaiter)(this,void 0,void 0,function*(){yield this.nextMiddleware.execute(fe);const ft=fe.response;if($e{class Te{execute(fe){return(0,n.__awaiter)(this,void 0,void 0,function*(){const $e="string"==typeof fe.request?fe.request:fe.request.url;if(E($e)||fe.customHosts&&S($e,fe.customHosts)){let Ye=w(fe.request,fe.options,Te.CLIENT_REQUEST_ID_HEADER);Ye||(Ye=_(),D(fe.request,fe.options,Te.CLIENT_REQUEST_ID_HEADER,Ye));let $t,ft=`${Te.PRODUCT_NAME}/3.0.7`;if(fe.middlewareControl instanceof C&&($t=fe.middlewareControl.getMiddlewareOptions(R)),$t){const un=$t.getFeatureUsage();ft+=` (${Te.FEATURE_USAGE_STRING}=${un})`}L(fe.request,fe.options,Te.SDK_VERSION_HEADER,ft)}else delete fe.options.headers[Te.CLIENT_REQUEST_ID_HEADER],delete fe.options.headers[Te.SDK_VERSION_HEADER];return yield this.nextMiddleware.execute(fe)})}setNext(fe){this.nextMiddleware=fe}}return Te.CLIENT_REQUEST_ID_HEADER="client-request-id",Te.SDK_VERSION_HEADER="SdkVersion",Te.PRODUCT_NAME="graph-js",Te.FEATURE_USAGE_STRING="featureUsage",Te})();class ct{static getDefaultMiddlewareChain(me){const fe=[],$e=new k(me),Ye=new K(new H),ft=new ce,$t=new A;if(fe.push($e),fe.push(Ye),"object"==typeof process){const un=new X(new ie);fe.push(un)}return fe.push(ft),fe.push($t),fe}}var xe=function(Te){return Te[Te.MANUAL=0]="MANUAL",Te[Te.RANDOM=1]="RANDOM",Te}(xe||{});class Ie{constructor(me=xe.RANDOM,fe="Some error Happened",$e,Ye,ft,$t){if(this.chaosStrategy=me,this.statusCode=$e,this.statusMessage=fe,this.chaosPercentage=void 0!==Ye?Ye:10,this.responseBody=ft,this.headers=$t,this.chaosPercentage>100)throw new Error("Error Pecentage can not be more than 100")}}const Le={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]},Ue={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 Xe{constructor(me=new Ie,fe){this.options=me,this.manualMap=fe}createResponseHeaders(me,fe,$e){const Ye=me.headers?new Headers(me.headers):new Headers;return Ye.append("Cache-Control","no-store"),Ye.append("request-id",fe),Ye.append("client-request-id",fe),Ye.append("x-ms-ags-diagnostic",""),Ye.append("Date",$e),Ye.append("Strict-Transport-Security",""),429===me.statusCode&&Ye.append("retry-after","3"),Ye}createResponseBody(me,fe,$e){if(me.responseBody)return me.responseBody;let Ye;return Ye=me.statusCode>=400?{error:{code:Ue[me.statusCode],message:me.statusMessage,innerError:{"request-id":fe,date:$e}}}:{},Ye}createResponse(me,fe){const $e=fe.request,Ye=_(),ft=new Date,$t=this.createResponseHeaders(me,Ye,ft.toString()),un=this.createResponseBody(me,Ye,ft.toString()),Vn={url:$e,status:me.statusCode,statusText:me.statusMessage,headers:$t};fe.response=new Response("string"==typeof un?un:JSON.stringify(un),Vn)}sendRequest(me,fe){return(0,n.__awaiter)(this,void 0,void 0,function*(){this.setStatusCode(me,fe.request,fe.options.method),me.chaosStrategy===xe.MANUAL&&!this.nextMiddleware||Math.floor(100*Math.random()){new RegExp($t+"$").test(Ye)&&void 0!==this.manualMap.get($t).get($e)&&(me.statusCode=this.manualMap.get($t).get($e))})}}else me.statusCode=this.getRandomStatusCode($e)}getOptions(me){let fe;return me.middlewareControl instanceof C&&(fe=me.middlewareControl.getMiddlewareOptions(Ie)),typeof fe>"u"&&(fe=Object.assign(new Ie,this.options)),fe}execute(me){return(0,n.__awaiter)(this,void 0,void 0,function*(){const fe=this.getOptions(me);return yield this.sendRequest(fe,me)})}setNext(me){this.nextMiddleware=me}}var _e=function(Te){return Te.ARRAYBUFFER="arraybuffer",Te.BLOB="blob",Te.DOCUMENT="document",Te.JSON="json",Te.RAW="raw",Te.STREAM="stream",Te.TEXT="text",Te}(_e||{}),Fe=function(Te){return Te.TEXT_HTML="text/html",Te.TEXT_XML="text/xml",Te.APPLICATION_XML="application/xml",Te.APPLICATION_XHTML="application/xhtml+xml",Te}(Fe||{}),Ce=function(Te){return Te.TEXT_PLAIN="text/plain",Te.APPLICATION_JSON="application/json",Te}(Ce||{}),Ae=function(Te){return Te.DOCUMENT="^(text\\/(html|xml))|(application\\/(xml|xhtml\\+xml))$",Te.IMAGE="^image\\/.+",Te}(Ae||{});class Be{static parseDocumentResponse(me,fe){return typeof DOMParser<"u"?new Promise(($e,Ye)=>{me.text().then(ft=>{try{const un=(new DOMParser).parseFromString(ft,fe);$e(un)}catch($t){Ye($t)}})}):Promise.resolve(me.body)}static convertResponse(me,fe){return(0,n.__awaiter)(this,void 0,void 0,function*(){if(204===me.status)return Promise.resolve();let $e;const Ye=me.headers.get("Content-type");switch(fe){case _e.ARRAYBUFFER:$e=yield me.arrayBuffer();break;case _e.BLOB:$e=yield me.blob();break;case _e.DOCUMENT:$e=yield Be.parseDocumentResponse(me,Fe.TEXT_XML);break;case _e.JSON:$e=yield me.json();break;case _e.STREAM:$e=yield Promise.resolve(me.body);break;case _e.TEXT:$e=yield me.text();break;default:if(null!==Ye){const ft=Ye.split(";")[0];$e=new RegExp(Ae.DOCUMENT).test(ft)?yield Be.parseDocumentResponse(me,ft):new RegExp(Ae.IMAGE).test(ft)?me.blob():ft===Ce.TEXT_PLAIN?yield me.text():ft===Ce.APPLICATION_JSON?yield me.json():Promise.resolve(me.body)}else $e=Promise.resolve(me.body)}return $e})}static getResponse(me,fe,$e){return(0,n.__awaiter)(this,void 0,void 0,function*(){if(fe===_e.RAW)return Promise.resolve(me);{const Ye=yield Be.convertResponse(me,fe);if(!me.ok)throw Ye;if("function"!=typeof $e)return Ye;$e(null,Ye)}})}}class re{constructor(me=-1,fe=-1){this.minValue=me,this.maxValue=fe}}class Ee{get location(){return this._location}set location(me){this._location=me}get responseBody(){return this._responseBody}set responseBody(me){this._responseBody=me}constructor(me,fe){this._location=fe,this._responseBody=me}static CreateUploadResult(me,fe){return new Ee(me,fe.get("location"))}}class et{static createUploadSession(me,fe,$e,Ye={}){return(0,n.__awaiter)(this,void 0,void 0,function*(){const ft=yield me.api(fe).headers(Ye).post($e);return{url:ft.uploadUrl,expiry:new Date(ft.expirationDateTime),isCancelled:!1}})}constructor(me,fe,$e,Ye={}){if(this.DEFAULT_FILE_SIZE=5242880,this.client=me,!fe.sliceFile)throw new h("Please pass the FileUpload object, StreamUpload object or any custom implementation of the FileObject interface");this.file=fe,this.file=fe,Ye.rangeSize||(Ye.rangeSize=this.DEFAULT_FILE_SIZE),this.options=Ye,this.uploadSession=$e,this.nextRange=new re(0,this.options.rangeSize-1)}parseRange(me){const fe=me[0];if(typeof fe>"u"||""===fe)return new re;const $e=fe.split("-"),Ye=parseInt($e[0],10);let ft=parseInt($e[1],10);return Number.isNaN(ft)&&(ft=this.file.size-1),new re(Ye,ft)}updateTaskStatus(me){this.uploadSession.expiry=new Date(me.expirationDateTime),this.nextRange=this.parseRange(me.nextExpectedRanges)}getNextRange(){if(-1===this.nextRange.minValue)return this.nextRange;const me=this.nextRange.minValue;let fe=me+this.options.rangeSize-1;return fe>=this.file.size&&(fe=this.file.size-1),new re(me,fe)}sliceFile(me){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(me.minValue,me.maxValue+1);throw new h("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 me=this.options&&this.options.uploadEventHandlers;for(;!this.uploadSession.isCancelled;){const fe=this.getNextRange();if(-1===fe.maxValue){const un=new Error("Task with which you are trying to upload is already completed, Please check for your uploaded file");throw un.name="Invalid Session",un}const $e=yield this.file.sliceFile(fe),Ye=yield this.uploadSliceGetRawResponse($e,fe,this.file.size);if(!Ye)throw new h("Something went wrong! Large file upload slice response is null.");const ft=yield Be.getResponse(Ye);if(201===Ye.status||200===Ye.status&&ft.id)return this.reportProgress(me,fe),Ee.CreateUploadResult(ft,Ye.headers);this.updateTaskStatus({expirationDateTime:ft.expirationDateTime||ft.ExpirationDateTime,nextExpectedRanges:ft.NextExpectedRanges||ft.nextExpectedRanges}),this.reportProgress(me,fe)}})}reportProgress(me,fe){me&&me.progress&&me.progress(fe,me.extraCallbackParam)}uploadSlice(me,fe,$e){return(0,n.__awaiter)(this,void 0,void 0,function*(){return yield this.client.api(this.uploadSession.url).headers({"Content-Length":""+(fe.maxValue-fe.minValue+1),"Content-Range":`bytes ${fe.minValue}-${fe.maxValue}/${$e}`,"Content-Type":"application/octet-stream"}).put(me)})}uploadSliceGetRawResponse(me,fe,$e){return(0,n.__awaiter)(this,void 0,void 0,function*(){return yield this.client.api(this.uploadSession.url).headers({"Content-Length":""+(fe.maxValue-fe.minValue+1),"Content-Range":`bytes ${fe.minValue}-${fe.maxValue}/${$e}`,"Content-Type":"application/octet-stream"}).responseType(_e.RAW).put(me)})}cancel(){return(0,n.__awaiter)(this,void 0,void 0,function*(){const me=yield this.client.api(this.uploadSession.url).responseType(_e.RAW).delete();return 204===me.status&&(this.uploadSession.isCancelled=!0),me})}getStatus(){return(0,n.__awaiter)(this,void 0,void 0,function*(){const me=yield this.client.api(this.uploadSession.url).get();return this.updateTaskStatus(me),me})}resume(){return(0,n.__awaiter)(this,void 0,void 0,function*(){return yield this.getStatus(),yield this.upload()})}getUploadSession(){return this.uploadSession}}class vt{constructor(me,fe,$e){if(this.content=me,this.name=fe,this.size=$e,!me||!fe||!$e)throw new h("Please provide the upload content, name of the file and size of the file")}sliceFile(me){return this.content.slice(me.minValue,me.maxValue+1)}}const ot=(Te=5242880)=>(Te>62914560&&(Te=62914560),(Te=>(Te>327680&&(Te=320*Math.floor(Te/327680)*1024),Te))(Te));let Vt=(()=>{class Te extends et{static constructCreateSessionUrl(fe,$e=Te.DEFAULT_UPLOAD_PATH){return fe=fe.trim(),""===($e=$e.trim())&&($e="/"),"/"!==$e[0]&&($e=`/${$e}`),"/"!==$e[$e.length-1]&&($e=`${$e}/`),`/me/drive/root:${$e.split("/").map(Ye=>encodeURIComponent(Ye)).join("/")}${encodeURIComponent(fe)}:/createUploadSession`}static getFileInfo(fe,$e){let Ye,ft;return typeof Blob<"u"&&fe instanceof Blob?(Ye=new File([fe],$e),ft=Ye.size):typeof File<"u"&&fe instanceof File?(Ye=fe,ft=Ye.size):typeof Uint8Array<"u"&&fe instanceof Uint8Array&&(ft=fe.byteLength,Ye=fe.buffer.slice(fe.byteOffset,fe.byteOffset+fe.byteLength)),{content:Ye,size:ft}}static create(fe,$e,Ye){return(0,n.__awaiter)(this,void 0,void 0,function*(){if(!fe||!$e||!Ye)throw new h("Please provide the Graph client instance, file object and OneDriveLargeFileUploadOptions value");const ft=Ye.fileName,$t=Te.getFileInfo($e,ft),un=new vt($t.content,ft,$t.size);return this.createTaskWithFileObject(fe,un,Ye)})}static createTaskWithFileObject(fe,$e,Ye){return(0,n.__awaiter)(this,void 0,void 0,function*(){if(!fe||!$e||!Ye)throw new h("Please provide the Graph client instance, FileObject interface implementation and OneDriveLargeFileUploadOptions value");const ft=Ye.uploadSessionURL?Ye.uploadSessionURL:Te.constructCreateSessionUrl(Ye.fileName,Ye.path),$t={fileName:Ye.fileName,fileDescription:Ye.fileDescription,conflictBehavior:Ye.conflictBehavior},un=yield Te.createUploadSession(fe,ft,$t),Vn=ot(Ye.rangeSize);return new Te(fe,$e,un,{rangeSize:Vn,uploadEventHandlers:Ye.uploadEventHandlers})})}static createUploadSession(fe,$e,Ye){const ft=Object.create(null,{createUploadSession:{get:()=>super.createUploadSession}});return(0,n.__awaiter)(this,void 0,void 0,function*(){return ft.createUploadSession.call(this,fe,$e,{item:{"@microsoft.graph.conflictBehavior":Ye?.conflictBehavior||"rename",name:Ye?.fileName,description:Ye?.fileDescription}})})}constructor(fe,$e,Ye,ft){super(fe,$e,Ye,ft)}commit(fe,$e="rename"){return(0,n.__awaiter)(this,void 0,void 0,function*(){const Ye={name:this.file.name,"@microsoft.graph.conflictBehavior":$e,"@microsoft.graph.sourceUrl":this.uploadSession.url};return yield this.client.api(fe).put(Ye)})}}return Te.DEFAULT_UPLOAD_PATH="/",Te})();class nn{constructor(me,fe,$e){if(this.content=me,this.name=fe,this.size=$e,!me||!fe||!$e)throw new h("Please provide the Readable Stream content, name of the file and size of the file")}sliceFile(me){return(0,n.__awaiter)(this,void 0,void 0,function*(){let fe=me.maxValue-me.minValue+1;const $e=[];if(this.previousSlice){if(me.minValue=fe?this.content.read(fe):yield this.readNBytesFromStream(fe));const Ye=Buffer.concat($e);return this.previousSlice={fileSlice:Ye,range:me},Ye})}readNBytesFromStream(me){return new Promise((fe,$e)=>{const Ye=[];let ft=me,$t=0;this.content.on("end",()=>{if(ft>0)return $e(new h("Stream ended before reading required range size"))}),this.content.on("readable",()=>{let un;for(;$t0&&(ft=me-$t);return $t===me?fe(Buffer.concat(Ye)):this.content&&this.content.readable?void 0:$e(new h("Error encountered while reading the stream during the upload"))})})}}class vn{constructor(me,fe,$e,Ye){this.client=me,this.collection=fe.value,this.nextLink=fe["@odata.nextLink"],this.deltaLink=fe["@odata.deltaLink"],this.callback=$e,this.cursor=0,this.complete=!1,this.requestOptions=Ye}iterationHelper(){if(void 0===this.collection)return!1;let me=!0;for(;me&&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 zt{constructor(me){this.provider=me}getAccessToken(){return(0,n.__awaiter)(this,void 0,void 0,function*(){return new Promise((me,fe)=>{this.provider(($e,Ye)=>(0,n.__awaiter)(this,void 0,void 0,function*(){if(Ye)me(Ye);else{$e||($e=new h("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 ft=yield h.setGraphClientError($e);fe(ft)}}))})})}}class Xt extends Error{constructor(me=-1,fe,$e){super(fe||$e&&$e.message),Object.setPrototypeOf(this,Xt.prototype),this.statusCode=me,this.code=null,this.requestId=null,this.date=new Date,this.body=null,this.stack=$e?$e.stack:this.stack}}class En{static constructError(me,fe,$e){const Ye=new Xt(fe,"",me);return void 0!==me.name&&(Ye.code=me.name),Ye.body=me.toString(),Ye.date=new Date,Ye.headers=$e?.headers,Ye}static constructErrorFromResponse(me,fe,$e){const Ye=me.error,ft=new Xt(fe,Ye.message);return ft.code=Ye.code,void 0!==Ye.innerError&&(ft.requestId=Ye.innerError["request-id"],ft.date=new Date(Ye.innerError.date)),ft.body=JSON.stringify(Ye),ft.headers=$e?.headers,ft}static getError(me=null,fe=-1,$e,Ye){return(0,n.__awaiter)(this,void 0,void 0,function*(){let ft;if(me&&me.error?ft=En.constructErrorFromResponse(me,fe,Ye):me instanceof Error?ft=En.constructError(me,fe,Ye):(ft=new Xt(fe),ft.body=me),"function"!=typeof $e)return ft;$e(ft,null)})}}class $n{constructor(me,fe,$e){this.parsePath=Ye=>{if(-1!==Ye.indexOf("https://")){const $t=(Ye=Ye.replace("https://","")).indexOf("/");-1!==$t&&(this.urlComponents.host="https://"+Ye.substring(0,$t),Ye=Ye.substring($t+1,Ye.length));const un=Ye.indexOf("/");-1!==un&&(this.urlComponents.version=Ye.substring(0,un),Ye=Ye.substring(un+1,Ye.length))}"/"===Ye.charAt(0)&&(Ye=Ye.substr(1));const ft=Ye.indexOf("?");if(-1===ft)this.urlComponents.path=Ye;else{this.urlComponents.path=Ye.substr(0,ft);const $t=Ye.substring(ft+1,Ye.length).split("&");for(const un of $t)this.parseQueryParameter(un)}},this.httpClient=me,this.config=fe,this.urlComponents={host:this.config.baseUrl,version:this.config.defaultVersion,oDataQueryParams:{},otherURLQueryParams:{},otherURLQueryOptions:[]},this._headers={},this._options={},this._middlewareOptions=[],this.parsePath($e)}addCsvQueryParameter(me,fe,$e){this.urlComponents.oDataQueryParams[me]=this.urlComponents.oDataQueryParams[me]?this.urlComponents.oDataQueryParams[me]+",":"";let Ye=[];$e.length>1&&"string"==typeof fe?Ye=Array.prototype.slice.call($e):"string"==typeof fe?Ye.push(fe):Ye=Ye.concat(fe),this.urlComponents.oDataQueryParams[me]+=Ye.join(",")}buildFullUrl(){const me=(Te=>{const me=ft=>ft.replace(/\/+$/,""),fe=ft=>ft.replace(/^\/+/,"");return Array.prototype.slice.call([this.urlComponents.host,this.urlComponents.version,this.urlComponents.path]).reduce((ft,$t)=>[me(ft),fe($t)].join("/"))})()+this.createQueryString();return this.config.debugLogging&&console.log(me),me}createQueryString(){const me=this.urlComponents,fe=[];if(0!==Object.keys(me.oDataQueryParams).length)for(const $e in me.oDataQueryParams)Object.prototype.hasOwnProperty.call(me.oDataQueryParams,$e)&&fe.push($e+"="+me.oDataQueryParams[$e]);if(0!==Object.keys(me.otherURLQueryParams).length)for(const $e in me.otherURLQueryParams)Object.prototype.hasOwnProperty.call(me.otherURLQueryParams,$e)&&fe.push($e+"="+me.otherURLQueryParams[$e]);if(0!==me.otherURLQueryOptions.length)for(const $e of me.otherURLQueryOptions)fe.push($e);return fe.length>0?"?"+fe.join("&"):""}parseQueryParameter(me){if("string"==typeof me)if("?"===me.charAt(0)&&(me=me.substring(1)),-1!==me.indexOf("&")){const fe=me.split("&");for(const $e of fe)this.parseQueryParamenterString($e)}else this.parseQueryParamenterString(me);else if(me.constructor===Object)for(const fe in me)Object.prototype.hasOwnProperty.call(me,fe)&&this.setURLComponentsQueryParamater(fe,me[fe]);return this}parseQueryParamenterString(me){if(this.isValidQueryKeyValuePair(me)){const fe=me.indexOf("="),$e=me.substring(0,fe),Ye=me.substring(fe+1);this.setURLComponentsQueryParamater($e,Ye)}else this.urlComponents.otherURLQueryOptions.push(me)}setURLComponentsQueryParamater(me,fe){if(-1!==v.indexOf(me)){const $e=this.urlComponents.oDataQueryParams[me];this.urlComponents.oDataQueryParams[me]=!$e||"$expand"!==me&&"$select"!==me&&"$orderby"!==me?fe:$e+","+fe}else this.urlComponents.otherURLQueryParams[me]=fe}isValidQueryKeyValuePair(me){const fe=me.indexOf("=");return!(-1===fe||-1!==me.indexOf("(")&&me.indexOf("(")1?this.parseMiddleWareArray(me):this.middleware=me[0]}parseMiddleWareArray(me){me.forEach((fe,$e)=>{$e{if(typeof Promise>"u"&&typeof fetch>"u"){const Te=new Error("Library cannot function without Promise and fetch. So, please provide polyfill for them.");throw Te.name="PolyFillNotAvailable",Te}if(typeof Promise>"u"){const Te=new Error("Library cannot function without Promise. So, please provide polyfill for it.");throw Te.name="PolyFillNotAvailable",Te}if(typeof fetch>"u"){const Te=new Error("Library cannot function without fetch. So, please provide polyfill for it.");throw Te.name="PolyFillNotAvailable",Te}})();for(const $e in me)Object.prototype.hasOwnProperty.call(me,$e)&&(this.config[$e]=me[$e]);let fe;if(void 0!==me.authProvider&&void 0!==me.middleware){const $e=new Error;throw $e.name="AmbiguityInInitialization",$e.message="Unable to Create Client, Please provide either authentication provider for default middleware chain or custom middleware chain not both",$e}if(void 0!==me.authProvider)fe=kn.createWithAuthenticationProvider(me.authProvider);else{if(void 0===me.middleware){const $e=new Error;throw $e.name="InvalidMiddlewareChain",$e.message="Unable to Create Client, Please provide either authentication provider for default middleware chain or custom middleware chain",$e}fe=new Wt(...[].concat(me.middleware))}this.httpClient=fe}api(me){return new $n(this.httpClient,this.config,me)}}},80484:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.AppRoutingModule=void 0;const n=s(81316),l=s(53076),u=n.__importStar(s(54496)),i=(n.__importStar(s(53076)),[{path:"FiStandortelistePage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(s(96012))).then(o=>o.FiStandortelistePageModule)},{path:"FiMitarbeiterlistePage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(s(99988))).then(o=>o.FIMitarbeiterlistePageModule)},{path:"",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(s(27735))).then(o=>o.CommonHomePageModule)},{path:"HomePage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(s(27735))).then(o=>o.CommonHomePageModule)},{path:"WartungPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(s(87848))).then(o=>o.CommonWartungPageModule)},{path:"EinstellungenPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(s(66068))).then(o=>o.CommonEinstellungenPageModule)},{path:"UrlaubPlanungPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(s(74484))).then(o=>o.CommonUrlaubsplanungPageModule)},{path:"UrlaubUebersichtPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(s(19204))).then(o=>o.CommonUrlaubsuebersichtPageModule)},{path:"UrlaubsgesamtuebersichtPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(s(98348))).then(o=>o.CommonUrlaubsgesamtuebersichtPageModule)},{path:"UrlaubFreigabenPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(s(5884))).then(o=>o.CommonUrlaubFreigabenPageModule)},{path:"UrlaubEinstellungenPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(s(53964))).then(o=>o.CommonUrlaubEinstellungenPageModule)}]);m.AppRoutingModule=(()=>{class o{static \u0275fac=function(M){return new(M||o)};static \u0275mod=u.\u0275\u0275defineNgModule({type:o});static \u0275inj=u.\u0275\u0275defineInjector({imports:[l.RouterModule.forRoot(i,{preloadingStrategy:l.PreloadAllModules,useHash:!1}),l.RouterModule]})}return o})()},86108:(pe,m,s)=>{"use strict";var n=s(1196).default;Object.defineProperty(m,"__esModule",{value:!0}),m.AppComponent=void 0;const l=s(81316),u=s(80103),c=s(21112),i=l.__importStar(s(17964)),e=l.__importStar(s(54496)),o=l.__importStar(s(92512)),h=l.__importStar(s(7992)),v=l.__importStar(s(59460)),M=l.__importStar(s(97092)),p=l.__importStar(s(14652)),E=l.__importStar(s(19668)),S=l.__importStar(s(29743)),y=l.__importStar(s(23476)),f=l.__importStar(s(22848)),C=l.__importStar(s(15024)),_=l.__importStar(s(58864)),w=l.__importStar(s(9544)),D=l.__importStar(s(8608)),L=l.__importStar(s(96140)),N=l.__importStar(s(34388));m.AppComponent=(()=>{class G{platform;Pool;Menuservice;AuthService;changeDetector;Basics;Tools;Const;authService;msalBroadcastService;MitarbeiterDB;MitarbeitersettingsDB;StandortDB;UrlaubDB;GraphService;AppeinstellungenDB;Debug;Destroying=new u.Subject;Zoomfaktor;Settingssubscription;constructor(k,A,H,K,ie,X,be,ce,ze,ct,xe,Ie,Le,Ue,Xe,_e,Fe){this.platform=k,this.Pool=A,this.Menuservice=H,this.AuthService=K,this.changeDetector=ie,this.Basics=X,this.Tools=be,this.Const=ce,this.authService=ze,this.msalBroadcastService=ct,this.MitarbeiterDB=xe,this.MitarbeitersettingsDB=Ie,this.StandortDB=Le,this.UrlaubDB=Ue,this.GraphService=Xe,this.AppeinstellungenDB=_e,this.Debug=Fe;try{this.Zoomfaktor=100,this.Settingssubscription=null}catch(Ce){this.Debug.ShowErrorMessage(Ce.message,"App Component","constructor",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Destroying.next(void 0),this.Destroying.complete(),this.StandortDB.FinishService(),this.MitarbeiterDB.FinishService(),this.Settingssubscription.unsubscribe(),this.Settingssubscription=null}catch(k){this.Debug.ShowErrorMessage(k.message,"App Component","OnDestroy",this.Debug.Typen.Component)}}ngOnInit(){try{if(this.Settingssubscription=this.Pool.MitarbeitersettingsChanged.subscribe(()=>{this.Zoomfaktor=this.Pool.Mitarbeitersettings.Zoomfaktor}),this.AuthService.SecurityEnabled)try{this.authService.initialize().subscribe(()=>{this.msalBroadcastService.inProgress$.pipe((0,u.filter)(k=>(this.Debug.ShowMessage("Interaction Status: "+k,"App Component","StartApp",this.Debug.Typen.Component),k===c.InteractionStatus.None)),(0,u.takeUntil)(this.Destroying)).subscribe(k=>{this.Debug.ShowMessage("Interaction Status: "+k,"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()})}catch(k){this.AuthService.UnsetActiveUser(),this.Debug.ShowErrorMessage(k,"App Component","OnInit",this.Debug.Typen.Component)}else this.StartApp()}catch(k){this.Debug.ShowErrorMessage(k.message,"App Component","OnInit",this.Debug.Typen.Component)}}StartApp(){var k=this;return n(function*(){try{let A,H;if(k.Debug.ShowMessage("Start App","App Component","StartApp",k.Debug.Typen.Component),yield k.platform.ready(),yield k.AuthService.SetActiveUser(),k.Basics.Contentbreite=k.platform.width(),k.Basics.Contenthoehe=k.platform.height(),null!==k.AuthService.ActiveUser){k.AuthService.SetShowLoginStatus(),k.Debug.ShowMessage("Benutzer ist angemeldet: "+k.AuthService.ActiveUser.username,"App Component","StartApp",k.Debug.Typen.Component),k.Pool.ShowProgress=!0,k.Pool.MaxProgressValue=8,k.Pool.CurrentProgressValue=0;try{!0===k.AuthService.SecurityEnabled&&(k.Pool.ProgressMessage="Lade eigene Daten",yield k.GraphService.GetOwnUserinfo(),k.Pool.CurrentProgressValue++),!0===k.AuthService.SecurityEnabled&&(k.Pool.ProgressMessage="Lade eigens Bild",yield k.GraphService.GetOwnUserimage(),k.Pool.CurrentProgressValue++),k.Pool.ProgressMessage="Lade Change Log",yield k.Pool.ReadChangelogliste(),k.Pool.CurrentProgressValue++,k.Pool.ProgressMessage="Lade Standortliste",yield k.Pool.ReadStandorteliste(),k.Pool.CurrentProgressValue++,k.Pool.ProgressMessage="Lade aktuelle Mitarbeiterliste",yield k.Pool.ReadMitarbeiterliste(),k.Pool.CurrentProgressValue++,k.Pool.ProgressMessage="Lade Positionenliste",yield k.Pool.ReadMitarbeiterpositionenliste(),k.Pool.CurrentProgressValue++,k.Pool.ProgressMessage="Aktuallisiere Mitarbeiterliste";let K=yield k.GraphService.GetAllUsers();k.Pool.CurrentProgressValue++,k.Pool.ProgressMessage="Lade Bundesl\xe4nder",yield k.UrlaubDB.ReadRegionen("DE"),k.Pool.CurrentProgressValue++,k.Pool.ProgressMessage="Lade Ferien Deutschland",yield k.UrlaubDB.ReadFerien("DE"),k.Pool.CurrentProgressValue++,k.Pool.ProgressMessage="Lade Ferien Bulgarien",yield k.UrlaubDB.ReadFerien("BG"),k.Pool.CurrentProgressValue++,k.Pool.ProgressMessage="Lade Appp Einstellungen",yield k.AppeinstellungenDB.ReadAppeinstellungen();for(let ie of K)A=i.find(k.Pool.Mitarbeiterliste,X=>X.UserID===ie.id),i.isUndefined(A)&&(console.log("Mitarbeiter wurde nicht gefunden:"),console.log(ie),-1===ie.mail.toLowerCase().indexOf("admin")&&(A=k.MitarbeiterDB.ConvertGraphuserToMitarbeiter(ie),console.log("Neuer Mitrabeiter:"),console.log(A),yield k.MitarbeiterDB.AddMitarbeiter(A)))}catch{console.log("error.message")}!1===k.MitarbeiterDB.CheckMitarbeiterExists(k.GraphService.Graphuser.mail)?(k.Debug.ShowMessage("Mitarbeiter neu eingetragen.","App Component","StartApp",k.Debug.Typen.Component),A=k.MitarbeiterDB.ConvertGraphuserToMitarbeiter(k.GraphService.Graphuser),null!==A.Email&&(A=yield k.MitarbeiterDB.AddMitarbeiter(A))):(k.Debug.ShowMessage("Mitarbeiter ist bereits eingetragen.","App Component","StartApp",k.Debug.Typen.Component),A=i.find(k.Pool.Mitarbeiterliste,{UserID:k.GraphService.Graphuser.id})),k.Pool.Mitarbeiterdaten=k.Pool.InitMitarbeiter(A),k.Pool.CheckMitarbeiterdaten(),k.UrlaubDB.SetMitarbeiter(k.Pool.Mitarbeiterdaten),k.Pool.ProgressMessage="Lade Feiertage Deutschland",yield k.UrlaubDB.ReadFeiertage("DE"),k.Pool.CurrentProgressValue++,k.Pool.ProgressMessage="Lade Feiertage Bulgarien",yield k.UrlaubDB.ReadFeiertage("BG"),k.Pool.CurrentProgressValue++,k.Pool.ProgressMessage="Lade Einstellungen",yield k.Pool.ReadSettingsliste(),k.Pool.CurrentProgressValue++,k.Pool.ProgressMessage="Syncronisiere Gesamtprojektliste",k.Pool.Mitarbeitersettings=k.Pool.InitMitarbeitersettings(),k.Pool.ProgressMessage="Aktualisiere Mitarbeitereinstellungen",yield k.MitarbeitersettingsDB.SaveMitarbeitersettings(),k.Pool.CurrentProgressValue++,k.Zoomfaktor=k.Pool.Mitarbeitersettings.Zoomfaktor,k.Pool.MitarbeitersettingsChanged.emit(),null===k.Pool.Mitarbeiterdaten.SettingsID&&(k.Pool.Mitarbeiterdaten.SettingsID=k.Pool.Mitarbeitersettings._id,yield k.MitarbeiterDB.UpdateMitarbeiter(k.Pool.Mitarbeiterdaten)),k.MitarbeiterDB.InitService(),k.StandortDB.InitService(),k.Pool.ShowProgress=!1,H=!0===k.Pool.Mitarbeiterdaten.Planeradministrator?k.Pool.Appeinstellungen.AdminStartseite:!0===k.Pool.Appeinstellungen.Wartungsmodus?k.Const.Pages.WartungPage:k.Const.Pages.UrlaubPlanungPage,k.Pool.ProjektdatenLoaded=!0,k.SetProjekteMenuebereich(H),k.Tools.SetRootPage(H).then(()=>{k.Pool.LoadingAllDataFinished.emit()})}else k.AuthService.SetShowLoginStatus(),k.Debug.ShowMessage("Benutzer ist nicht angemeldet","App Component","StartApp",k.Debug.Typen.Component)}catch(A){k.Debug.ShowErrorMessage(A.message,"App Component","StartApp",k.Debug.Typen.Component)}})()}SetProjekteMenuebereich(k){try{switch(k){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.UrlaubsgesamtuebersichtPage:this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Urlaubsplanung,this.Menuservice.UrlaubMenuebereich=this.Menuservice.UrlaubMenuebereiche.Gesamtplanung;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(k){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(A){this.Debug.ShowErrorMessage(A,"App Component","function",this.Debug.Typen.Component)}}ngAfterContentChecked(){this.changeDetector.detectChanges()}static \u0275fac=function(A){return new(A||G)(e.\u0275\u0275directiveInject(o.Platform),e.\u0275\u0275directiveInject(h.DatabasePoolService),e.\u0275\u0275directiveInject(v.MenueService),e.\u0275\u0275directiveInject(M.DatabaseAuthenticationService),e.\u0275\u0275directiveInject(e.ChangeDetectorRef),e.\u0275\u0275directiveInject(p.BasicsProvider),e.\u0275\u0275directiveInject(E.ToolsProvider),e.\u0275\u0275directiveInject(S.ConstProvider),e.\u0275\u0275directiveInject(y.MsalService),e.\u0275\u0275directiveInject(y.MsalBroadcastService),e.\u0275\u0275directiveInject(f.DatabaseMitarbeiterService),e.\u0275\u0275directiveInject(C.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(_.DatabaseStandorteService),e.\u0275\u0275directiveInject(w.DatabaseUrlaubService),e.\u0275\u0275directiveInject(D.Graphservice),e.\u0275\u0275directiveInject(L.DatabaseAppeinstellungenService),e.\u0275\u0275directiveInject(N.DebugProvider))};static \u0275cmp=e.\u0275\u0275defineComponent({type:G,selectors:[["app-root"]],decls:3,vars:2,consts:[["Outlet",""]],template:function(A,H){1&A&&(e.\u0275\u0275elementStart(0,"ion-app"),e.\u0275\u0275element(1,"ion-router-outlet",null,0),e.\u0275\u0275elementEnd()),2&A&&(e.\u0275\u0275advance(),e.\u0275\u0275styleProp("zoom",H.Zoomfaktor,"%"))},dependencies:[o.IonApp,o.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 G})()},5204:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.AppModule=m.MSALInstanceFactory=void 0;const n=s(81316),l=s(14476),u=s(92512),c=s(86108),i=s(80484),e=s(19668),o=s(34388),h=s(29743),v=s(14652),M=s(33940),p=s(59460),E=s(21052),S=s(44556),y=s(97048),f=s(23476),C=s(21112),_=s(36716),w=s(57848),D=s(91368),L=n.__importStar(s(54496)),V=(n.__importStar(s(92512)),!1===_.environment.production?"http://localhost:4200":"https://polite-cliff-084832d03.4.azurestaticapps.net"),R=!1===_.environment.production&&!1===_.environment.useonlinedb?"http://localhost:80":"bae-urlaubsplaner-docker.azurewebsites.net",ie=window.navigator.userAgent.indexOf("MSIE ")>-1||window.navigator.userAgent.indexOf("Trident/")>-1,X=(xe,Ie)=>{console.log(Ie)};m.MSALInstanceFactory=()=>new C.PublicClientApplication({auth:{clientId:"e85e5489-e9fd-4d10-b6aa-37be3ce084b6",authority:"https://login.microsoftonline.com/8870822d-b5ee-4a63-b4ea-7147f0ee753d",redirectUri:V},cache:{cacheLocation:C.BrowserCacheLocation.LocalStorage,storeAuthStateInCookie:ie},system:{loggerOptions:{loggerCallback:X,logLevel:C.LogLevel.Error,piiLoggingEnabled:!1}}});const ce=()=>{const xe=new Map;return xe.set("https://graph.microsoft.com/v1.0/me",["user.read"]),xe.set(R,["api://0caad6ac-8087-46ce-99ca-690c083121a8/database_access"]),{interactionType:C.InteractionType.Redirect,protectedResourceMap:xe}},ze=()=>({interactionType:C.InteractionType.Redirect,authRequest:{scopes:["User.Read","offline_access","openid","profile","email","Mail.Send","User.ReadBasic.All"]}});m.AppModule=(()=>{class xe{static \u0275fac=function(Ue){return new(Ue||xe)};static \u0275mod=L.\u0275\u0275defineNgModule({type:xe,bootstrap:[c.AppComponent,f.MsalRedirectComponent]});static \u0275inj=L.\u0275\u0275defineInjector({providers:[{provide:y.HTTP_INTERCEPTORS,useClass:f.MsalInterceptor,multi:!0},{provide:f.MSAL_INSTANCE,useFactory:m.MSALInstanceFactory},{provide:f.MSAL_GUARD_CONFIG,useFactory:ze},{provide:f.MSAL_INTERCEPTOR_CONFIG,useFactory:ce},{provide:D.LocationStrategy,useClass:D.HashLocationStrategy},f.MsalService,f.MsalGuard,f.MsalBroadcastService,e.ToolsProvider,o.DebugProvider,h.ConstProvider,v.BasicsProvider,p.MenueService,M.LoadingAnimationService,E.DisplayService],imports:[l.BrowserModule,u.IonicModule.forRoot({innerHTMLTemplatesEnabled:!0}),i.AppRoutingModule,S.BrowserAnimationsModule,y.HttpClientModule,f.MsalModule,w.FontAwesomeModule]})}return xe})()},64168:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.FiChangelogEditorComponent=void 0;const n=s(81316),l=s(54496),u=n.__importStar(s(78776)),c=n.__importDefault(s(35908)),i=n.__importStar(s(54496)),e=n.__importStar(s(34388)),o=n.__importStar(s(21052)),h=n.__importStar(s(29743)),v=n.__importStar(s(19668)),M=n.__importStar(s(51708)),p=n.__importStar(s(91368)),E=n.__importStar(s(92512)),S=n.__importStar(s(38056)),y=n.__importStar(s(90212)),f=n.__importStar(s(25856)),C=n.__importStar(s(29856));function _(L,N){if(1&L){const V=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table")(3,"tr")(4,"td")(5,"checkbox-clon",16),i.\u0275\u0275listener("CheckChanged",function(R){i.\u0275\u0275restoreView(V);const k=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(k.CanDeleteCheckedChanged(R))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275element(6,"td",17),i.\u0275\u0275elementStart(7,"td")(8,"ion-button",18),i.\u0275\u0275listener("click",function(){i.\u0275\u0275restoreView(V);const R=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(R.DeleteButtonClicked())}),i.\u0275\u0275element(9,"ion-icon",19),i.\u0275\u0275elementStart(10,"ion-text"),i.\u0275\u0275text(11,"Eintrag l\xf6schen"),i.\u0275\u0275elementEnd()()()()()()()}if(2&L){const V=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",V.CanDelete),i.\u0275\u0275advance(3),i.\u0275\u0275property("disabled",!V.CanDelete)}}function w(L,N){if(1&L){const V=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"ion-grid")(1,"ion-row")(2,"ion-col")(3,"input-clone",12),i.\u0275\u0275twoWayListener("ValueChange",function(R){i.\u0275\u0275restoreView(V);const k=i.\u0275\u0275nextContext();return i.\u0275\u0275twoWayBindingSet(k.DB.CurrentChangelog.Version,R)||(k.DB.CurrentChangelog.Version=R),i.\u0275\u0275resetView(R)}),i.\u0275\u0275listener("TextChanged",function(R){i.\u0275\u0275restoreView(V);const k=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(k.TextChanged(R))}),i.\u0275\u0275elementEnd()()(),i.\u0275\u0275elementStart(4,"ion-row")(5,"ion-col")(6,"input-clone",13),i.\u0275\u0275twoWayListener("ValueChange",function(R){i.\u0275\u0275restoreView(V);const k=i.\u0275\u0275nextContext();return i.\u0275\u0275twoWayBindingSet(k.DB.CurrentChangelog.Beschreibung,R)||(k.DB.CurrentChangelog.Beschreibung=R),i.\u0275\u0275resetView(R)}),i.\u0275\u0275listener("TextChanged",function(R){i.\u0275\u0275restoreView(V);const k=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(k.TextChanged(R))}),i.\u0275\u0275elementEnd()()(),i.\u0275\u0275elementStart(7,"ion-row")(8,"ion-col"),i.\u0275\u0275element(9,"input-clone",14),i.\u0275\u0275elementEnd(),i.\u0275\u0275element(10,"ion-col"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(11,"ion-row")(12,"ion-col",15),i.\u0275\u0275element(13,"br")(14,"br"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275template(15,_,12,2,"ion-row",6),i.\u0275\u0275elementEnd()}if(2&L){const V=i.\u0275\u0275nextContext();i.\u0275\u0275advance(3),i.\u0275\u0275twoWayProperty("Value",V.DB.CurrentChangelog.Version),i.\u0275\u0275property("Required",!1)("MaxLength",100),i.\u0275\u0275advance(3),i.\u0275\u0275twoWayProperty("Value",V.DB.CurrentChangelog.Beschreibung),i.\u0275\u0275property("Required",!0)("MinLength",3)("MaxLength",200),i.\u0275\u0275advance(3),i.\u0275\u0275property("Value",V.GetDatum())("Enabled",!1),i.\u0275\u0275advance(6),i.\u0275\u0275property("ngIf",null!==V.DB.CurrentChangelog._id)}}m.FiChangelogEditorComponent=(()=>{class L{Debug;Displayservice;Const;Tools;DB;Valid;CanDelete;JoiShema;ValidChange=new l.EventEmitter;CancelClickedEvent=new l.EventEmitter;OkClickedEvent=new l.EventEmitter;DeleteClickedEvent=new l.EventEmitter;Titel;Iconname;Dialogbreite;Dialoghoehe;PositionY;ZIndex;constructor(V,G,R,k,A){this.Debug=V,this.Displayservice=G,this.Const=R,this.Tools=k,this.DB=A;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(H){this.Debug.ShowErrorMessage(H.message,"Changelog Editor","constructor",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Displayservice.RemoveDialog(this.Displayservice.Dialognamen.Changelogeditor)}catch(V){this.Debug.ShowErrorMessage(V.message,"Changelog Editor","OnDestroy",this.Debug.Typen.Component)}}SetupValidation(){try{this.JoiShema=u.object({Beschreibung:u.string().required().max(100)}).options({stripUnknown:!0})}catch(V){this.Debug.ShowErrorMessage(V.message,"Changelog Editor","SetupValidation",this.Debug.Typen.Component)}}ngOnInit(){try{this.SetupValidation(),this.Displayservice.AddDialog(this.Displayservice.Dialognamen.Changelogeditor,this.ZIndex)}catch(V){this.Debug.ShowErrorMessage(V.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(V){this.Debug.ShowErrorMessage(V.message,"Changelog Editor","ValidateInput",this.Debug.Typen.Component)}}TextChanged(V){try{this.ValidateInput()}catch(G){this.Debug.ShowErrorMessage(G.message,"Changelog Editor","TextChanged",this.Debug.Typen.Component)}}ngAfterViewInit(){try{this.ValidateInput()}catch(V){this.Debug.ShowErrorMessage(V.message,"Changelog Editor","AfterViewInit",this.Debug.Typen.Component)}}CancelButtonClicked(){this.CancelClickedEvent.emit()}DeleteButtonClicked(){try{this.CanDelete&&this.DB.DeleteChangelog().then(()=>{this.DeleteClickedEvent.emit()}).catch(V=>{this.Tools.ShowHinweisDialog(V.error.message)})}catch(V){this.Debug.ShowErrorMessage(V.message,"Changelog Editor","DeleteButtonClicked",this.Debug.Typen.Component)}}OkButtonClicked(){try{null===this.DB.CurrentChangelog._id?this.DB.AddChangelog().then(V=>{this.OkClickedEvent.emit()}).catch(V=>{this.Tools.ShowHinweisDialog(V.error)}):this.DB.UpdateChangelog().then(()=>{this.OkClickedEvent.emit()}).catch(V=>{this.Tools.ShowHinweisDialog(V.error.message)})}catch(V){this.Debug.ShowErrorMessage(V.message,"Changelog Editor","OkButtonClicked",this.Debug.Typen.Component)}}ContentClicked(V){V.preventDefault(),V.stopPropagation()}CanDeleteCheckedChanged(V){try{this.CanDelete=V.status}catch(G){this.Debug.ShowErrorMessage(G.message,"Changelog Editor","CanDeleteCheckedChanged",this.Debug.Typen.Component)}}GetDatum(){try{return(0,c.default)(this.DB.CurrentChangelog.Zeitstempel).format("DD.MM.YYYY")}catch(V){this.Debug.ShowErrorMessage(V,"Changelog Editor","GetDatum",this.Debug.Typen.Component)}}static \u0275fac=function(G){return new(G||L)(i.\u0275\u0275directiveInject(e.DebugProvider),i.\u0275\u0275directiveInject(o.DisplayService),i.\u0275\u0275directiveInject(h.ConstProvider),i.\u0275\u0275directiveInject(v.ToolsProvider),i.\u0275\u0275directiveInject(M.DatabaseChangelogService))};static \u0275cmp=i.\u0275\u0275defineComponent({type:L,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(G,R){1&G&&(i.\u0275\u0275elementStart(0,"div",0)(1,"div",1),i.\u0275\u0275listener("click",function(A){return R.ContentClicked(A)}),i.\u0275\u0275elementStart(2,"div",2),i.\u0275\u0275listener("click",function(A){return R.ContentClicked(A)}),i.\u0275\u0275elementStart(3,"ion-header")(4,"page-header")(5,"table",3)(6,"tr")(7,"td"),i.\u0275\u0275element(8,"ion-icon",4),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(9,"td"),i.\u0275\u0275text(10),i.\u0275\u0275elementEnd()()()()(),i.\u0275\u0275elementStart(11,"ion-content")(12,"div",5),i.\u0275\u0275template(13,w,16,10,"ion-grid",6),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(14,"ion-footer")(15,"page-footer")(16,"table",7)(17,"tr")(18,"td")(19,"div",8),i.\u0275\u0275listener("click",function(){return R.CancelButtonClicked()}),i.\u0275\u0275element(20,"ion-icon",9),i.\u0275\u0275elementEnd()(),i.\u0275\u0275element(21,"td",10),i.\u0275\u0275elementStart(22,"td")(23,"div",8),i.\u0275\u0275listener("click",function(){return!0===R.Valid?R.OkButtonClicked():null}),i.\u0275\u0275element(24,"ion-icon",11),i.\u0275\u0275elementEnd()()()()()()()()()),2&G&&(i.\u0275\u0275styleProp("z-index",R.ZIndex),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("background",R.Displayservice.ShowOpacity(R.Displayservice.Dialognamen.Changelogeditor)?"rgba(0, 0, 0, 0.5)":"none"),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("width",R.Dialogbreite,"px")("height",R.Dialoghoehe,"px")("top",R.PositionY,"px"),i.\u0275\u0275advance(6),i.\u0275\u0275property("name",R.Iconname),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("color","white"),i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate(R.Titel),i.\u0275\u0275advance(3),i.\u0275\u0275property("ngIf",R.DB.CurrentChangelog),i.\u0275\u0275advance(11),i.\u0275\u0275property("color",!0===R.Valid?"weiss":"grau"))},dependencies:[p.NgIf,E.IonButton,E.IonCol,E.IonContent,E.IonFooter,E.IonGrid,E.IonHeader,E.IonIcon,E.IonRow,E.IonText,S.InputCloneComponent,y.PageHeaderComponent,f.CheckboxClonComponent,C.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 L})()},12095:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.FiChangelogEditorModule=void 0;const n=s(81316),l=s(92512),u=s(91368),c=s(33780),i=s(61540),e=s(6512),o=s(70216),h=s(7388),v=s(90520),M=n.__importStar(s(54496));m.FiChangelogEditorModule=(()=>{class E{static \u0275fac=function(f){return new(f||E)};static \u0275mod=M.\u0275\u0275defineNgModule({type:E});static \u0275inj=M.\u0275\u0275defineInjector({imports:[u.CommonModule,l.IonicModule,c.InputCloneModule,i.InputCloneKeeperModule,e.AbstandElementFixedModule,o.PageHeaderModule,h.CheckboxClonModule,v.PageFooterModule]})}return E})()},80887:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.FiMitarbeiterAuswahlComponent=void 0;const n=s(81316),l=s(54496),u=n.__importStar(s(17964)),c=n.__importStar(s(54496)),i=n.__importStar(s(14652)),e=n.__importStar(s(34388)),o=n.__importStar(s(19668)),h=n.__importStar(s(58864)),v=n.__importStar(s(29743)),M=n.__importStar(s(9544)),p=n.__importStar(s(21052)),E=n.__importStar(s(7992)),S=["SmallAlphabet"];function y(V,G){if(1&V&&(c.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col",24)(2,"ion-text",31)(3,"b"),c.\u0275\u0275text(4),c.\u0275\u0275elementEnd()()()()),2&V){const R=c.\u0275\u0275nextContext().index,k=c.\u0275\u0275nextContext(2);c.\u0275\u0275advance(4),c.\u0275\u0275textInterpolate(k.Mitarbeiterbuchstabenliste[R])}}function f(V,G){if(1&V&&(c.\u0275\u0275elementStart(0,"td"),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()),2&V){const R=c.\u0275\u0275nextContext(2).$implicit;c.\u0275\u0275advance(),c.\u0275\u0275textInterpolate3(" ",R.Name," ",R.Vorname," / ",R.Kuerzel," ")}}function C(V,G){if(1&V&&(c.\u0275\u0275elementStart(0,"td")(1,"span"),c.\u0275\u0275text(2),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(3,"span",34),c.\u0275\u0275text(4),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(5,"span"),c.\u0275\u0275text(6),c.\u0275\u0275elementEnd(),c.\u0275\u0275text(7),c.\u0275\u0275elementEnd()),2&V){const R=c.\u0275\u0275nextContext(2).$implicit;c.\u0275\u0275advance(2),c.\u0275\u0275textInterpolate(R.Text_A),c.\u0275\u0275advance(2),c.\u0275\u0275textInterpolate(R.Text_B),c.\u0275\u0275advance(2),c.\u0275\u0275textInterpolate(R.Text_C),c.\u0275\u0275advance(),c.\u0275\u0275textInterpolate1(" / ",R.Kuerzel," ")}}function _(V,G){if(1&V){const R=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"table",32)(1,"tr")(2,"td")(3,"checkbox-clon",33),c.\u0275\u0275listener("CheckChanged",function(A){c.\u0275\u0275restoreView(R);const H=c.\u0275\u0275nextContext(3);return c.\u0275\u0275resetView(H.CheckedChanged(A))}),c.\u0275\u0275elementEnd()(),c.\u0275\u0275template(4,f,2,3,"td",11)(5,C,8,4,"td",11),c.\u0275\u0275elementEnd()()}if(2&V){const R=c.\u0275\u0275nextContext(),k=R.index,A=R.$implicit;c.\u0275\u0275advance(3),c.\u0275\u0275property("Index",k)("Checked",A.Selected),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",!A.Filtered),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",A.Filtered)}}function w(V,G){if(1&V){const R=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"ion-item",22),c.\u0275\u0275listener("click",function(){const H=c.\u0275\u0275restoreView(R).$implicit,K=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(K.MitrabeiterButtonClicked(H))}),c.\u0275\u0275elementStart(1,"ion-grid",23),c.\u0275\u0275template(2,y,5,1,"ion-row",11),c.\u0275\u0275elementStart(3,"ion-row")(4,"ion-col",24)(5,"div",25)(6,"table",16)(7,"tr")(8,"td"),c.\u0275\u0275template(9,_,6,4,"table",26),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(10,"tr")(11,"td")(12,"table",27)(13,"tr"),c.\u0275\u0275element(14,"td",28),c.\u0275\u0275elementStart(15,"td",29),c.\u0275\u0275text(16,"Standort:"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(17,"td"),c.\u0275\u0275text(18),c.\u0275\u0275elementEnd(),c.\u0275\u0275element(19,"td",30),c.\u0275\u0275elementEnd()()()()()()()()()()}if(2&V){const R=G.$implicit,k=G.index,A=c.\u0275\u0275nextContext(2);c.\u0275\u0275advance(2),c.\u0275\u0275property("ngIf",""!==A.Mitarbeiterbuchstabenliste[k]),c.\u0275\u0275advance(7),c.\u0275\u0275property("ngIf",null!==R),c.\u0275\u0275advance(9),c.\u0275\u0275textInterpolate(A.DBStandort.GetStandort(R.StandortID))}}function D(V,G){if(1&V&&(c.\u0275\u0275elementStart(0,"ion-list"),c.\u0275\u0275template(1,w,20,3,"ion-item",21),c.\u0275\u0275elementEnd()),2&V){const R=c.\u0275\u0275nextContext();c.\u0275\u0275advance(),c.\u0275\u0275property("ngForOf",R.Anzeigeliste)}}function L(V,G){1&V&&(c.\u0275\u0275elementStart(0,"div",35),c.\u0275\u0275text(1," keine Eintr\xe4ge unter diesem Filter vorhanden "),c.\u0275\u0275elementEnd())}m.FiMitarbeiterAuswahlComponent=(()=>{class V{Basics;Debug;Tools;DBStandort;Const;DBUrlaub;Displayservice;Pool;Alphabetcomponent;Titel;Iconname;AuswahlIDliste;Multiselect;Dialogbreite;ZIndex;OnlyProjektmitarbeiter;BlockCurrentMitarbeiter;OkClickedEvent=new l.EventEmitter;CancelClickedEvent=new l.EventEmitter;StandortfilterClickedEvent=new l.EventEmitter;Anzeigeliste;Mitarbeiterbuchstabenliste;Standardalphabet;Mitarbeiteralphabet;Mitarbeiteralphabetauswahl;Alphapetbreite;Lastletter;Mitarbeiterfiltertext;Mitarbeiterliste;FilterSubscription;PositionY;AuswahlIDListeSicherung;constructor(R,k,A,H,K,ie,X,be){this.Basics=R,this.Debug=k,this.Tools=A,this.DBStandort=H,this.Const=K,this.DBUrlaub=ie,this.Displayservice=X,this.Pool=be;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,this.BlockCurrentMitarbeiter=!1}catch(ce){this.Debug.ShowErrorMessage(ce.message,"Mitarbeiter Auswahl","constructor",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Displayservice.RemoveDialog(this.Displayservice.Dialognamen.Mitarbeiterauswahl),this.FilterSubscription.unsubscribe()}catch(R){this.Debug.ShowErrorMessage(R.message,"Mitarbeiter Auswahl","OnDestroy",this.Debug.Typen.Component)}}InitTitel(){}ngOnInit(){try{this.AuswahlIDListeSicherung=u.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(R){this.Debug.ShowErrorMessage(R.message,"Mitarbeiter Auswahl","function",this.Debug.Typen.Component)}}PrepareDaten(){try{let R,k,A,H,K,ie,X,be,ce,ze,ct,xe;if(null!==this.Pool.Mitarbeiterliste){if(this.Lastletter="",this.Mitarbeiterliste=[],this.OnlyProjektmitarbeiter||(this.Mitarbeiterliste=u.cloneDeep(this.Pool.Mitarbeiterliste)),R=u.cloneDeep(this.Mitarbeiterliste),R=u.filter(R,Ie=>!1===Ie.Archiviert),R.sort((Ie,Le)=>Ie.NameLe.Name?1:0),this.BlockCurrentMitarbeiter&&null!==this.DBUrlaub.CurrentMitarbeiter&&(R=u.filter(R,Ie=>Ie._id!==this.DBUrlaub.CurrentMitarbeiter._id)),null!==this.DBStandort.CurrentStandortfilter){k=u.cloneDeep(R),R=[];for(let Ie of k)Ie.StandortID===this.DBStandort.CurrentStandortfilter._id&&R.push(Ie)}if(R.length>6){this.Mitarbeiteralphabet=["Alle"];for(let Ie of R)A=Ie.Name.substring(0,1).toUpperCase(),-1===this.Mitarbeiteralphabet.indexOf(A)&&this.Mitarbeiteralphabet.push(A)}else this.Mitarbeiteralphabet=this.Standardalphabet;if("Alle"!==this.Mitarbeiteralphabetauswahl){k=u.cloneDeep(R),R=[];for(let Ie of k)A=Ie.Name.substring(0,1).toUpperCase(),A="\xc4"===A?"A":A,A="\xd6"===A?"O":A,A="\xdc"===A?"U":A,this.Mitarbeiteralphabetauswahl===A&&R.push(Ie)}if(""!==this.Mitarbeiterfiltertext){k=u.cloneDeep(R),R=[];for(let Ie of k)ze=this.Mitarbeiterfiltertext.toLowerCase(),ct=Ie.Name.toLowerCase(),ce=ct.indexOf(ze),-1!==ce&&(H=Ie.Name.length,be=ze.length,K=Ie.Name.substr(0,ce),ie=Ie.Name.substr(ce,be),be=H-be-ce,X=Ie.Name.substr(H-be,be),Ie.Filtered=!0,Ie.Text_A=K,Ie.Text_B=ie,Ie.Text_C=X,R.push(Ie))}this.Mitarbeiterbuchstabenliste=[];for(let Ie of R)this.Mitarbeiterbuchstabenliste.push(this.GetMitarbeiterAlphabetbuchstabe(Ie));for(xe of R)xe.Selected=!1;for(let Ie of this.AuswahlIDliste)xe=u.find(R,{_id:Ie}),u.isUndefined(xe)||(xe.Selected=!0);this.Anzeigeliste=u.cloneDeep(R)}}catch(R){this.Debug.ShowErrorMessage(R.message,"Mitarbeiter Auswahl","PrepareDaten",this.Debug.Typen.Component)}}GetMitarbeiterAlphabetbuchstabe(R){try{let k=R.Name.substring(0,1).toUpperCase();return k!==this.Lastletter?(this.Lastletter=k,k):""}catch(k){this.Debug.ShowErrorMessage(k.message,"Mitarbeiter Auswahl","GetMitarbeiterAlphabetbuchstabe",this.Debug.Typen.Component)}}MitrabeiterButtonClicked(R){}AlphabetClicked(R){try{this.Mitarbeiterfiltertext="",this.Mitarbeiteralphabetauswahl=R,this.PrepareDaten()}catch(k){this.Debug.ShowErrorMessage(k.message,"Mitarbeiter Auswahl","AlphabetClicked",this.Debug.Typen.Component)}}CheckedChanged(R){try{let k;if(!1===this.Multiselect){for(k of this.Mitarbeiterliste)k.Selected=!1;for(k of this.Anzeigeliste)k.Selected=!1}k=u.find(this.Mitarbeiterliste,{_id:this.Anzeigeliste[R.index]._id}),u.isUndefined(k)||(k.Selected=R.status,!0===R.status?this.AuswahlIDliste.push(k._id):this.AuswahlIDliste=u.filter(this.AuswahlIDliste,A=>A!==k._id)),this.Anzeigeliste[R.index].Selected=R.status}catch(k){this.Debug.ShowErrorMessage(k.message,"Mitarbeiter Auswahl","CheckedChanged",this.Debug.Typen.Component)}}CancelButtonClicked(){this.CancelClickedEvent.emit();try{this.AuswahlIDliste=u.cloneDeep(this.AuswahlIDListeSicherung)}catch(R){this.Debug.ShowErrorMessage(R.message,"Mitarbeiter Auswahl","CancelButtonClicked",this.Debug.Typen.Component)}}OkButtonClicked(){this.OkClickedEvent.emit(this.AuswahlIDliste)}ContentClicked(R){R.preventDefault(),R.stopPropagation()}StandortfilterButtonClicked(){try{this.StandortfilterClickedEvent.emit()}catch(R){this.Debug.ShowErrorMessage(R.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(R){this.Debug.ShowErrorMessage(R.message,"Mitarbeiter Auswahl","GetStandortfiller",this.Debug.Typen.Component)}}static \u0275fac=function(k){return new(k||V)(c.\u0275\u0275directiveInject(i.BasicsProvider),c.\u0275\u0275directiveInject(e.DebugProvider),c.\u0275\u0275directiveInject(o.ToolsProvider),c.\u0275\u0275directiveInject(h.DatabaseStandorteService),c.\u0275\u0275directiveInject(v.ConstProvider),c.\u0275\u0275directiveInject(M.DatabaseUrlaubService),c.\u0275\u0275directiveInject(p.DisplayService),c.\u0275\u0275directiveInject(E.DatabasePoolService))};static \u0275cmp=c.\u0275\u0275defineComponent({type:V,selectors:[["fi-mitarbeiter-auswahl"]],viewQuery:function(k,A){if(1&k&&c.\u0275\u0275viewQuery(S,7),2&k){let H;c.\u0275\u0275queryRefresh(H=c.\u0275\u0275loadQuery())&&(A.Alphabetcomponent=H.first)}},inputs:{Titel:"Titel",Iconname:"Iconname",AuswahlIDliste:"AuswahlIDliste",Multiselect:"Multiselect",Dialogbreite:"Dialogbreite",ZIndex:"ZIndex",OnlyProjektmitarbeiter:"OnlyProjektmitarbeiter",BlockCurrentMitarbeiter:"BlockCurrentMitarbeiter"},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(k,A){1&k&&(c.\u0275\u0275elementStart(0,"div",0)(1,"div",1),c.\u0275\u0275listener("click",function(K){return A.ContentClicked(K)}),c.\u0275\u0275elementStart(2,"div",2),c.\u0275\u0275listener("click",function(K){return A.ContentClicked(K)}),c.\u0275\u0275elementStart(3,"ion-header")(4,"page-header")(5,"table",3)(6,"tr"),c.\u0275\u0275element(7,"td",4),c.\u0275\u0275elementStart(8,"td"),c.\u0275\u0275element(9,"ion-icon",5),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(10,"td"),c.\u0275\u0275text(11),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(12,"tr")(13,"td",6)(14,"ion-button",7),c.\u0275\u0275listener("click",function(){return A.StandortfilterButtonClicked()}),c.\u0275\u0275element(15,"ion-icon",8),c.\u0275\u0275text(16),c.\u0275\u0275elementEnd()()()()()(),c.\u0275\u0275elementStart(17,"ion-content")(18,"div",9)(19,"div",10),c.\u0275\u0275template(20,D,2,1,"ion-list",11)(21,L,2,0,"div",12),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(22,"div",13)(23,"alphabet-relative",14,15),c.\u0275\u0275listener("AlphabetClicked",function(K){return A.AlphabetClicked(K)}),c.\u0275\u0275elementEnd()()()(),c.\u0275\u0275elementStart(25,"ion-footer")(26,"page-footer")(27,"table",16)(28,"tr")(29,"td")(30,"div",17),c.\u0275\u0275listener("click",function(){return A.CancelButtonClicked()}),c.\u0275\u0275element(31,"ion-icon",18),c.\u0275\u0275elementEnd()(),c.\u0275\u0275element(32,"td",19),c.\u0275\u0275elementStart(33,"td")(34,"div",17),c.\u0275\u0275listener("click",function(){return A.OkButtonClicked()}),c.\u0275\u0275element(35,"ion-icon",20),c.\u0275\u0275elementEnd()()()()()()()()()),2&k&&(c.\u0275\u0275styleProp("z-index",A.ZIndex),c.\u0275\u0275advance(),c.\u0275\u0275styleProp("background",A.Displayservice.ShowOpacity(A.Displayservice.Dialognamen.Mitarbeiterauswahl)?"rgba(0, 0, 0, 0.5)":"none"),c.\u0275\u0275advance(),c.\u0275\u0275styleProp("width",A.Dialogbreite,"px")("bottom",A.PositionY,"px")("top",A.PositionY,"px"),c.\u0275\u0275advance(7),c.\u0275\u0275property("name",A.Iconname),c.\u0275\u0275advance(),c.\u0275\u0275styleProp("color","white"),c.\u0275\u0275advance(),c.\u0275\u0275textInterpolate(A.Titel),c.\u0275\u0275advance(5),c.\u0275\u0275textInterpolate1(" ",A.GetStandortfiller()," "),c.\u0275\u0275advance(4),c.\u0275\u0275property("ngIf",A.Mitarbeiterliste&&A.Anzeigeliste.length>0),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",A.Mitarbeiterliste&&0===A.Anzeigeliste.length),c.\u0275\u0275advance(2),c.\u0275\u0275property("Buchstabenliste",A.Mitarbeiteralphabet)("Breite",A.Alphapetbreite)("Auswahl",A.Mitarbeiteralphabetauswahl))},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 V})()},26668:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.FiMitarbeiterAuswahlModule=void 0;const n=s(81316),l=s(92512),u=s(91368),c=s(33780),i=s(61540),e=s(6512),o=s(7388),h=s(80887),v=s(87143),M=s(72160),p=s(70216),E=s(90520),S=n.__importStar(s(54496)),y=n.__importStar(s(91368)),f=n.__importStar(s(92512)),C=n.__importStar(s(25856)),_=n.__importStar(s(1215)),w=n.__importStar(s(90212)),D=n.__importStar(s(29856));m.FiMitarbeiterAuswahlModule=(()=>{class N{static \u0275fac=function(R){return new(R||N)};static \u0275mod=S.\u0275\u0275defineNgModule({type:N});static \u0275inj=S.\u0275\u0275defineInjector({imports:[u.CommonModule,l.IonicModule,c.InputCloneModule,i.InputCloneKeeperModule,e.AbstandElementFixedModule,o.CheckboxClonModule,v.AlphabetModule,M.AlphabetRelativeModule,p.PageHeaderModule,E.PageFooterModule]})}return N})(),S.\u0275\u0275setComponentScope(h.FiMitarbeiterAuswahlComponent,[y.NgForOf,y.NgIf,f.IonButton,f.IonCol,f.IonContent,f.IonFooter,f.IonGrid,f.IonHeader,f.IonIcon,f.IonItem,f.IonList,f.IonRow,f.IonText,C.CheckboxClonComponent,_.AlphabetRelativeComponent,w.PageHeaderComponent,D.PageFooterComponent],[])},82384:(pe,m,s)=>{"use strict";var n=s(1196).default;Object.defineProperty(m,"__esModule",{value:!0}),m.FiMitarbeiterEditorComponent=void 0;const l=s(81316),u=s(54496),c=l.__importStar(s(78776)),i=l.__importStar(s(17964)),e=l.__importStar(s(54496)),o=l.__importStar(s(34388)),h=l.__importStar(s(19668)),v=l.__importStar(s(7992)),M=l.__importStar(s(29743)),p=l.__importStar(s(14652)),E=l.__importStar(s(21052)),S=l.__importStar(s(58864)),y=l.__importStar(s(9544)),f=l.__importStar(s(22848));function C(X,be){if(1&X){const ce=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table",31)(3,"tr")(4,"td")(5,"checkbox-clon",32),e.\u0275\u0275listener("CheckChanged",function(ct){e.\u0275\u0275restoreView(ce);const xe=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(xe.PlaneradministratorCheckboxChanged(ct))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7,"Administrator"),e.\u0275\u0275elementEnd()()()()()}if(2&X){const ce=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(5),e.\u0275\u0275property("Enabled",!0===ce.Pool.Mitarbeiterdaten.Planeradministrator)("Checked",ce.DB.CurrentMitarbeiter.Planeradministrator)}}function _(X,be){if(1&X&&(e.\u0275\u0275elementStart(0,"td",37),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&X){const ce=be.$implicit;e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(ce.Ort)}}function w(X,be){if(1&X){const ce=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td",38)(1,"checkbox-clon",39),e.\u0275\u0275listener("CheckChanged",function(ct){e.\u0275\u0275restoreView(ce);const xe=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView(xe.UrlaubsfreigabeChanged(ct))}),e.\u0275\u0275elementEnd()()}if(2&X){const ce=be.$implicit,ze=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(),e.\u0275\u0275property("Enabled",ze.DB.CurrentMitarbeiter.Urlaubsfreigaben)("Value",ce._id)("Checked",ze.UrlaubsfreigabeChecked(ce._id))}}function D(X,be){if(1&X){const ce=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td",38)(1,"checkbox-clon",39),e.\u0275\u0275listener("CheckChanged",function(ct){e.\u0275\u0275restoreView(ce);const xe=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView(xe.HomeofficefreigabeChanged(ct))}),e.\u0275\u0275elementEnd()()}if(2&X){const ce=be.$implicit,ze=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(),e.\u0275\u0275property("Enabled",ze.DB.CurrentMitarbeiter.Homeofficefreigaben)("Value",ce._id)("Checked",ze.HomeofficefreigabeChecked(ce._id))}}function L(X,be){if(1&X){const ce=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table",33),e.\u0275\u0275element(3,"td",34),e.\u0275\u0275template(4,_,2,1,"td",35),e.\u0275\u0275elementStart(5,"tr")(6,"td")(7,"checkbox-clon",32),e.\u0275\u0275listener("CheckChanged",function(ct){e.\u0275\u0275restoreView(ce);const xe=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(xe.UrlaubsfreigabenCheckboxChanged(ct))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(8,"td"),e.\u0275\u0275text(9,"Urlaub Freigaben"),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(10,w,2,3,"td",36),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"tr")(12,"td")(13,"checkbox-clon",32),e.\u0275\u0275listener("CheckChanged",function(ct){e.\u0275\u0275restoreView(ce);const xe=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(xe.HomeofficefreigabenCheckboxChanged(ct))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(14,"td"),e.\u0275\u0275text(15,"Homeoffice Freigaben"),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(16,D,2,3,"td",36),e.\u0275\u0275elementEnd()()()()}if(2&X){const ce=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",ce.Pool.Standorteliste),e.\u0275\u0275advance(3),e.\u0275\u0275property("Enabled",!0===ce.Pool.Mitarbeiterdaten.Planeradministrator)("Checked",ce.DB.CurrentMitarbeiter.Urlaubsfreigaben),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngForOf",ce.Pool.Standorteliste),e.\u0275\u0275advance(3),e.\u0275\u0275property("Enabled",!0===ce.Pool.Mitarbeiterdaten.Planeradministrator)("Checked",ce.DB.CurrentMitarbeiter.Homeofficefreigaben),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngForOf",ce.Pool.Standorteliste)}}function N(X,be){if(1&X){const ce=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table")(3,"tr")(4,"td")(5,"checkbox-clon",40),e.\u0275\u0275listener("CheckChanged",function(ct){e.\u0275\u0275restoreView(ce);const xe=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(xe.ArchivierenCheckboxChanged(ct))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(6,"td",41),e.\u0275\u0275elementStart(7,"td"),e.\u0275\u0275text(8,"Eintrag archivieren"),e.\u0275\u0275elementEnd()()()()()}if(2&X){const ce=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(5),e.\u0275\u0275property("Checked",ce.DB.CurrentMitarbeiter.Archiviert)}}function V(X,be){if(1&X){const ce=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ion-grid")(1,"ion-row")(2,"ion-col")(3,"ion-text",18)(4,"b"),e.\u0275\u0275text(5,"Mitarbeiter"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(6,"ion-row")(7,"ion-col",19)(8,"button-value",20),e.\u0275\u0275listener("ButtonClicked",function(){e.\u0275\u0275restoreView(ce);const ct=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ct.AnredeClickedEvent.emit())}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(9,"ion-row")(10,"ion-col",21)(11,"input-clone",22),e.\u0275\u0275twoWayListener("ValueChange",function(ct){e.\u0275\u0275restoreView(ce);const xe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275twoWayBindingSet(xe.DB.CurrentMitarbeiter.Vorname,ct)||(xe.DB.CurrentMitarbeiter.Vorname=ct),e.\u0275\u0275resetView(ct)}),e.\u0275\u0275listener("TextChanged",function(ct){e.\u0275\u0275restoreView(ce);const xe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(xe.TextChanged(ct))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(12,"ion-col",21)(13,"input-clone",23),e.\u0275\u0275twoWayListener("ValueChange",function(ct){e.\u0275\u0275restoreView(ce);const xe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275twoWayBindingSet(xe.DB.CurrentMitarbeiter.Name,ct)||(xe.DB.CurrentMitarbeiter.Name=ct),e.\u0275\u0275resetView(ct)}),e.\u0275\u0275listener("TextChanged",function(ct){e.\u0275\u0275restoreView(ce);const xe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(xe.TextChanged(ct))}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(14,"ion-row")(15,"ion-col",21)(16,"input-clone",24),e.\u0275\u0275twoWayListener("ValueChange",function(ct){e.\u0275\u0275restoreView(ce);const xe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275twoWayBindingSet(xe.DB.CurrentMitarbeiter.Kuerzel,ct)||(xe.DB.CurrentMitarbeiter.Kuerzel=ct),e.\u0275\u0275resetView(ct)}),e.\u0275\u0275listener("TextChanged",function(ct){e.\u0275\u0275restoreView(ce);const xe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(xe.TextChanged(ct))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(17,"ion-col",21)(18,"input-clone",25),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(ce);const ct=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ct.PositionClicked())}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(19,"ion-row")(20,"ion-col",21)(21,"input-clone",26),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(ce);const ct=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ct.StandortClicked())})("TextChanged",function(ct){e.\u0275\u0275restoreView(ce);const xe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(xe.TextChanged(ct))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(22,"ion-col",21),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(23,"ion-row")(24,"ion-col",21)(25,"input-clone",27),e.\u0275\u0275twoWayListener("ValueChange",function(ct){e.\u0275\u0275restoreView(ce);const xe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275twoWayBindingSet(xe.DB.CurrentMitarbeiter.Email,ct)||(xe.DB.CurrentMitarbeiter.Email=ct),e.\u0275\u0275resetView(ct)}),e.\u0275\u0275listener("TextChanged",function(ct){e.\u0275\u0275restoreView(ce);const xe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(xe.TextChanged(ct))}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(26,"ion-row")(27,"ion-col")(28,"ion-text",18)(29,"b"),e.\u0275\u0275text(30,"Kontakt"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(31,"ion-row")(32,"ion-col",21)(33,"input-clone",28),e.\u0275\u0275twoWayListener("ValueChange",function(ct){e.\u0275\u0275restoreView(ce);const xe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275twoWayBindingSet(xe.DB.CurrentMitarbeiter.Telefon,ct)||(xe.DB.CurrentMitarbeiter.Telefon=ct),e.\u0275\u0275resetView(ct)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(34,"ion-col",21)(35,"input-clone",29),e.\u0275\u0275twoWayListener("ValueChange",function(ct){e.\u0275\u0275restoreView(ce);const xe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275twoWayBindingSet(xe.DB.CurrentMitarbeiter.Mobil,ct)||(xe.DB.CurrentMitarbeiter.Mobil=ct),e.\u0275\u0275resetView(ct)}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(36,"ion-row"),e.\u0275\u0275element(37,"ion-col",30),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(38,"ion-row")(39,"ion-col")(40,"ion-text",18)(41,"b"),e.\u0275\u0275text(42,"Urlaub"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(43,"ion-row")(44,"ion-col",19)(45,"button-value",20),e.\u0275\u0275listener("ButtonClicked",function(){e.\u0275\u0275restoreView(ce);const ct=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ct.UrlaubClickedEvent.emit())}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(46,"ion-row")(47,"ion-col",19)(48,"button-value",20),e.\u0275\u0275listener("ButtonClicked",function(){e.\u0275\u0275restoreView(ce);const ct=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ct.ResturlaubEvent.emit())}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275template(49,C,8,2,"ion-row",12)(50,L,17,7,"ion-row",12),e.\u0275\u0275elementStart(51,"ion-row"),e.\u0275\u0275element(52,"ion-col",30),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(53,"ion-row")(54,"ion-col")(55,"ion-text",18)(56,"b"),e.\u0275\u0275text(57,"Sonstiges"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275template(58,N,9,1,"ion-row",12),e.\u0275\u0275elementEnd()}if(2&X){const ce=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(8),e.\u0275\u0275property("Buttontext","Anrede")("Wert_A",ce.GetAnrede()),e.\u0275\u0275advance(2),e.\u0275\u0275property("size",ce.Tools.GetButtonvalueSize()),e.\u0275\u0275advance(),e.\u0275\u0275twoWayProperty("Value",ce.DB.CurrentMitarbeiter.Vorname),e.\u0275\u0275property("Required",!0)("MaxLength",100),e.\u0275\u0275advance(),e.\u0275\u0275property("size",ce.Tools.GetButtonvalueSize()),e.\u0275\u0275advance(),e.\u0275\u0275twoWayProperty("Value",ce.DB.CurrentMitarbeiter.Name),e.\u0275\u0275property("Required",!0)("MaxLength",100),e.\u0275\u0275advance(2),e.\u0275\u0275property("size",ce.Tools.GetButtonvalueSize()),e.\u0275\u0275advance(),e.\u0275\u0275twoWayProperty("Value",ce.DB.CurrentMitarbeiter.Kuerzel),e.\u0275\u0275property("Required",!0)("MinLength",3)("MaxLength",10),e.\u0275\u0275advance(),e.\u0275\u0275property("size",ce.Tools.GetButtonvalueSize()),e.\u0275\u0275advance(),e.\u0275\u0275property("Enabled",!1)("Clickable",!0)("Value",ce.DB.GetPositionsbezeichnung(ce.DB.CurrentMitarbeiter.PositionID))("DisabledColor","gray"),e.\u0275\u0275advance(2),e.\u0275\u0275property("size",ce.Tools.GetButtonvalueSize()),e.\u0275\u0275advance(),e.\u0275\u0275property("Enabled",!1)("Clickable",!0)("DisabledColor",""!==ce.DB.CurrentMitarbeiter.StandortID?ce.Basics.Farben.Burnicklgrau:ce.Basics.Farben.Orange)("Value",ce.StandortDB.GetStandort(ce.DB.CurrentMitarbeiter.StandortID)),e.\u0275\u0275advance(),e.\u0275\u0275property("size",ce.Tools.GetButtonvalueSize()),e.\u0275\u0275advance(2),e.\u0275\u0275property("size",ce.Tools.GetButtonvalueSize()),e.\u0275\u0275advance(),e.\u0275\u0275property("Inputtype","email")("Required",!0)("MinHeight",30),e.\u0275\u0275twoWayProperty("Value",ce.DB.CurrentMitarbeiter.Email),e.\u0275\u0275property("Enabled",ce.EmailinputEnabled),e.\u0275\u0275advance(7),e.\u0275\u0275property("size",ce.Tools.GetButtonvalueSize()),e.\u0275\u0275advance(),e.\u0275\u0275twoWayProperty("Value",ce.DB.CurrentMitarbeiter.Telefon),e.\u0275\u0275advance(),e.\u0275\u0275property("size",ce.Tools.GetButtonvalueSize()),e.\u0275\u0275advance(),e.\u0275\u0275twoWayProperty("Value",ce.DB.CurrentMitarbeiter.Mobil),e.\u0275\u0275advance(10),e.\u0275\u0275property("Buttontext","Urlaubstage")("Wert_A",1!==ce.DB.CurrentMitarbeiter.Urlaub?ce.DB.CurrentMitarbeiter.Urlaub+" Tage":"1 Tag"),e.\u0275\u0275advance(3),e.\u0275\u0275property("Buttontext","Resturlaub")("Wert_A",1!==ce.DB.CurrentMitarbeiter.Resturlaub?ce.DB.CurrentMitarbeiter.Resturlaub+" Tage":"1 Tag"),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",null!==ce.DB.CurrentMitarbeiter._id&&null!==ce.Pool.Mitarbeiterdaten),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",null!==ce.DB.CurrentMitarbeiter._id&&null!==ce.Pool.Mitarbeiterdaten),e.\u0275\u0275advance(8),e.\u0275\u0275property("ngIf",null!==ce.DB.CurrentMitarbeiter._id)}}function G(X,be){if(1&X&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,V,59,43,"ion-grid",12),e.\u0275\u0275elementContainerEnd()),2&X){const ce=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",ce.DB.CurrentMitarbeiter)}}function R(X,be){if(1&X){const ce=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ion-item",46),e.\u0275\u0275listener("click",function(){const xe=e.\u0275\u0275restoreView(ce).$implicit,Ie=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Ie.PositionButtonClicked(xe))}),e.\u0275\u0275elementStart(1,"table",31)(2,"tr")(3,"td")(4,"div",47),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()()()()()}if(2&X){const ce=be.$implicit;e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate(ce.Bezeichnung)}}function k(X,be){if(1&X){const ce=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"ion-button",48),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(ce);const ct=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ct.NeuePositionButtonClicked())}),e.\u0275\u0275text(3,"Neue Position eintragen"),e.\u0275\u0275elementEnd()()()}}function A(X,be){if(1&X){const ce=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td",49)(2,"input-clone",50),e.\u0275\u0275twoWayListener("ValueChange",function(ct){e.\u0275\u0275restoreView(ce);const xe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275twoWayBindingSet(xe.DB.CurrentPosition.Bezeichnung,ct)||(xe.DB.CurrentPosition.Bezeichnung=ct),e.\u0275\u0275resetView(ct)}),e.\u0275\u0275listener("TextChanged",function(ct){e.\u0275\u0275restoreView(ce);const xe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(xe.NewPositionTextChanged(ct))}),e.\u0275\u0275elementEnd()()()}if(2&X){const ce=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275twoWayProperty("Value",ce.DB.CurrentPosition.Bezeichnung),e.\u0275\u0275property("Required",!0)("MaxLength",200)("Titel",ce.AddNewPosition?"Neue Position":"Position bearbeiten")}}function H(X,be){if(1&X){const ce=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"table",31)(3,"tr")(4,"td")(5,"ion-button",51),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(ce);const ct=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ct.PositionCancelButtonClicked())}),e.\u0275\u0275element(6,"ion-icon",52),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(7,"td")(8,"ion-button",53),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(ce);const ct=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ct.PositionOkButtonClicked())}),e.\u0275\u0275element(9,"ion-icon",54),e.\u0275\u0275elementEnd()()()()()()}}function K(X,be){if(1&X&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"div",42)(2,"div",43)(3,"ion-list"),e.\u0275\u0275template(4,R,6,1,"ion-item",44),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(5,"div",45)(6,"table",31),e.\u0275\u0275template(7,k,4,0,"tr",12)(8,A,3,4,"tr",12)(9,H,10,0,"tr",12),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementContainerEnd()),2&X){const ce=e.\u0275\u0275nextContext();e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",ce.Pool.Mitarbeiterpositionenliste),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",!1===ce.AddNewPosition&&!1===ce.EditPosition),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===ce.AddNewPosition||!0===ce.EditPosition),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",ce.AddNewPosition||!0===ce.EditPosition)}}m.FiMitarbeiterEditorComponent=(()=>{class X{Debug;Tools;Pool;Const;Basics;Displayservice;StandortDB;UrlaubDB;DB;Valid;ValidChanged=new u.EventEmitter;StandortClickedEvent=new u.EventEmitter;AnredeClickedEvent=new u.EventEmitter;UrlaubClickedEvent=new u.EventEmitter;PositionClickedEvent=new u.EventEmitter;CancelClickedEvent=new u.EventEmitter;OkClickedEvent=new u.EventEmitter;ErrorEvent=new u.EventEmitter;ResturlaubEvent=new u.EventEmitter;Titel;Iconname;Dialogbreite;ZIndex;SkipOkButtonAction;EmailinputEnabled;DeleteEnabled;Teamsliste;JoiShema;ErrorMessage;PositionY;Bereich;AddNewPosition;EditPosition;Bereiche={Allgemein:"Allgemein",Positionen:"Positionen"};constructor(ce,ze,ct,xe,Ie,Le,Ue,Xe,_e){this.Debug=ce,this.Tools=ze,this.Pool=ct,this.Const=xe,this.Basics=Ie,this.Displayservice=Le,this.StandortDB=Ue,this.UrlaubDB=Xe,this.DB=_e;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,this.AddNewPosition=!1,this.EditPosition=!1,this.Bereich=this.Bereiche.Allgemein}catch(Fe){this.Debug.ShowErrorMessage(Fe.message,"Mitarbeiter Editor","constructor",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Displayservice.RemoveDialog(this.Displayservice.Dialognamen.Mitarbeitereditor)}catch(ce){this.Debug.ShowErrorMessage(ce.message,"Mitarbeiter Editor","OnDestroy",this.Debug.Typen.Component)}}ResetEditor(){try{this.DeleteEnabled=!1}catch(ce){this.Debug.ShowErrorMessage(ce.message,"Mitarbeiter Editor","ResetEditor",this.Debug.Typen.Component)}}ngOnInit(){try{this.SetupValidation(),this.Displayservice.AddDialog(this.Displayservice.Dialognamen.Mitarbeitereditor,this.ZIndex)}catch(ce){this.Debug.ShowErrorMessage(ce.message,"Mitarbeiter Editor","OnInit",this.Debug.Typen.Component)}}SetupValidation(){try{this.JoiShema=c.object({Name:c.string().required().max(100),Vorname:c.string().required().max(100),Kuerzel:c.string().required().min(3).max(10),Email:c.string().required().max(255).email({tlds:{allow:!1}}).required()}).options({stripUnknown:!0})}catch(ce){this.Debug.ShowErrorMessage(ce.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),this.ValidChanged.emit(this.Valid)}catch(ce){this.Debug.ShowErrorMessage(ce.message,"Mitarbeiter Editor","ValidateInput",this.Debug.Typen.Component)}}TextChanged(ce){try{this.ValidateInput()}catch(ze){this.Debug.ShowErrorMessage(ze.message,"Mitarbeiter Editor","TextChanged",this.Debug.Typen.Component)}}ngAfterViewInit(){try{this.ValidateInput()}catch(ce){this.Debug.ShowErrorMessage(ce.message,"Mitarbeiter Editor","AfterViewInit",this.Debug.Typen.Component)}}StandortClicked(){try{this.StandortClickedEvent.emit()}catch(ce){this.Debug.ShowErrorMessage(ce.message,"Mitarbeiter Editor","StandortClicked",this.Debug.Typen.Component)}}LoeschenCheckboxChanged(ce){try{this.DeleteEnabled=ce.status}catch(ze){this.Debug.ShowErrorMessage(ze.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(ce=>{this.Debug.ShowErrorMessage(ce,"Mitarbeiter Editor","OkButtonClicked / AddMitarbeiter",this.Debug.Typen.Component)}):this.DB.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.ResetEditor(),this.OkClickedEvent.emit()}).catch(ce=>{this.Debug.ShowErrorMessage(ce,"Mitarbeiter Editor","OkButtonClicked / UpdateMitarbeiter",this.Debug.Typen.Component)})}ContentClicked(ce){ce.preventDefault(),ce.stopPropagation()}ArchivierenCheckboxChanged(ce){try{this.DB.CurrentMitarbeiter.Archiviert=ce.status}catch(ze){this.Debug.ShowErrorMessage(ze,"Mitarbeiter Editor","ArchivierenCheckboxChanged",this.Debug.Typen.Component)}}HomeofficefreigabenCheckboxChanged(ce){try{this.DB.CurrentMitarbeiter.Homeofficefreigaben=ce.status,!1===ce.status&&(this.DB.CurrentMitarbeiter.Homeofficefreigabestandorte=[])}catch(ze){this.Debug.ShowErrorMessage(ze,"Mitarbeiter Editor","HomeofficefreigabenCheckboxChanged",this.Debug.Typen.Component)}}PlaneradministratorCheckboxChanged(ce){try{this.DB.CurrentMitarbeiter.Planeradministrator=ce.status}catch(ze){this.Debug.ShowErrorMessage(ze,"Mitarbeiter Editor","PlaneradministratorCheckboxChanged",this.Debug.Typen.Component)}}UrlaubsfreigabenCheckboxChanged(ce){try{this.DB.CurrentMitarbeiter.Urlaubsfreigaben=ce.status,!1===ce.status&&(this.DB.CurrentMitarbeiter.Urlaubsfreigabeorte=[])}catch(ze){this.Debug.ShowErrorMessage(ze,"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(ce){this.Debug.ShowErrorMessage(ce,"Mitarbeiter Editor","function",this.Debug.Typen.Component)}}UrlaubsfreigabeChecked(ce){try{return-1!==i.indexOf(this.DB.CurrentMitarbeiter.Urlaubsfreigabeorte,ce)}catch(ze){this.Debug.ShowErrorMessage(ze,"Mitarbeiter Editor","UrlaubsfreigabeChecked",this.Debug.Typen.Page)}}UrlaubsfreigabeChanged(ce){try{!0===ce.status?this.DB.CurrentMitarbeiter.Urlaubsfreigabeorte.push(ce.value):this.DB.CurrentMitarbeiter.Urlaubsfreigabeorte=i.filter(this.DB.CurrentMitarbeiter.Urlaubsfreigabeorte,ze=>ze!==ce.value)}catch(ze){this.Debug.ShowErrorMessage(ze,"Mitarbeiter Editor","UrlaubsfreigabeChanged",this.Debug.Typen.Component)}}HomeofficefreigabeChanged(ce){try{!0===ce.status?this.DB.CurrentMitarbeiter.Homeofficefreigabestandorte.push(ce.value):this.DB.CurrentMitarbeiter.Homeofficefreigabestandorte=i.filter(this.DB.CurrentMitarbeiter.Homeofficefreigabestandorte,ze=>ze!==ce.value)}catch(ze){this.Debug.ShowErrorMessage(ze,"Mitarbeiter Editor","HomeofficefreigabeChanged",this.Debug.Typen.Component)}}HomeofficefreigabeChecked(ce){try{return-1!==i.indexOf(this.DB.CurrentMitarbeiter.Homeofficefreigabestandorte,ce)}catch(ze){this.Debug.ShowErrorMessage(ze,"Mitarbeiter Editor","HomeofficefreigabeChecked",this.Debug.Typen.Component)}}AllgemeinMenuButtonClicked(){try{this.Bereich=this.Bereiche.Allgemein}catch(ce){this.Debug.ShowErrorMessage(ce,"Mitarbeiter Editor","AllgemeinMenuButtonClicked",this.Debug.Typen.Component)}}PositionenMenuButtonClicked(){try{this.Bereich=this.Bereiche.Positionen}catch(ce){this.Debug.ShowErrorMessage(ce,"Mitarbeiter Editor","PositionenMenuButtonClicked",this.Debug.Typen.Component)}}NeuePositionButtonClicked(){try{this.AddNewPosition=!0,this.DB.CurrentPosition=this.DB.GetEmptyMitarbeiterposition()}catch(ce){this.Debug.ShowErrorMessage(ce,"Mitarbeiter Editor","NeuePositionButtonClicked",this.Debug.Typen.Component)}}NewPositionTextChanged(ce){try{this.DB.CurrentPosition.Bezeichnung=ce.Text}catch(ze){this.Debug.ShowErrorMessage(ze,"Mitarbeiter Editor","NewPositionTextChanged",this.Debug.Typen.Component)}}PositionOkButtonClicked(){var ce=this;return n(function*(){try{ce.AddNewPosition&&(yield ce.DB.AddMitarbeiterposition(ce.DB.CurrentPosition),ce.AddNewPosition=!1,ce.DB.CurrentPosition=null),ce.EditPosition&&(yield ce.DB.UpdateMitarbeiterposition(ce.DB.CurrentPosition),ce.EditPosition=!1,ce.DB.CurrentPosition=null)}catch(ze){ce.Debug.ShowErrorMessage(ze,"Mitarbeiter Editor","PositionOkButtonClicked",ce.Debug.Typen.Component)}})()}PositionCancelButtonClicked(){try{this.AddNewPosition&&(this.AddNewPosition=!1,this.DB.CurrentPosition=null),this.EditPosition&&(this.EditPosition=!1,this.DB.CurrentPosition=null)}catch(ce){this.Debug.ShowErrorMessage(ce,"Mitarbeiter Editor","PositionCancelButtonClicked",this.Debug.Typen.Component)}}PositionButtonClicked(ce){try{!this.EditPosition&&!this.AddNewPosition&&(this.DB.CurrentPosition=i.cloneDeep(ce),this.EditPosition=!0)}catch(ze){this.Debug.ShowErrorMessage(ze,"Mitarbeiter Editor","PositionButtonClicked",this.Debug.Typen.Component)}}PositionClicked(){try{this.PositionClickedEvent.emit()}catch(ce){this.Debug.ShowErrorMessage(ce,"Mitarbeiter Editor","PositionClicked",this.Debug.Typen.Component)}}static \u0275fac=function(ze){return new(ze||X)(e.\u0275\u0275directiveInject(o.DebugProvider),e.\u0275\u0275directiveInject(h.ToolsProvider),e.\u0275\u0275directiveInject(v.DatabasePoolService),e.\u0275\u0275directiveInject(M.ConstProvider),e.\u0275\u0275directiveInject(p.BasicsProvider),e.\u0275\u0275directiveInject(E.DisplayService),e.\u0275\u0275directiveInject(S.DatabaseStandorteService),e.\u0275\u0275directiveInject(y.DatabaseUrlaubService),e.\u0275\u0275directiveInject(f.DatabaseMitarbeiterService))};static \u0275cmp=e.\u0275\u0275defineComponent({type:X,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",PositionClickedEvent:"PositionClickedEvent",CancelClickedEvent:"CancelClickedEvent",OkClickedEvent:"OkClickedEvent",ErrorEvent:"ErrorEvent",ResturlaubEvent:"ResturlaubEvent"},decls:45,vars:25,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"],["align","center",1,"trennertdclass"],[1,"trennerdivclass"],[1,"menubuttonclass",3,"click"],["name","reader-outline",3,"color"],[2,"width","20px"],["name","briefcase-outline",3,"color"],[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","Position",3,"Enabled","Clickable","Value","DisabledColor","click"],["Titel","Standort",3,"Enabled","Clickable","DisabledColor","Value","click","TextChanged"],["Titel","Email",3,"Inputtype","Required","MinHeight","Value","Enabled","ValueChange","TextChanged"],["Titel","Telefon",3,"Value","ValueChange"],["Titel","Mobil",3,"Value","ValueChange"],["size","12"],[1,"paddingtable"],[3,"Enabled","Checked","CheckChanged"],["border","1",1,"paddingtable"],["colspan","2"],["style","width: 100px; text-align: center",4,"ngFor","ngForOf"],["align","center",4,"ngFor","ngForOf"],[2,"width","100px","text-align","center"],["align","center"],[3,"Enabled","Value","Checked","CheckChanged"],[3,"Checked","CheckChanged"],[2,"width","6px"],[1,"keeperdivclass"],[1,"poslisteclass"],["class","ion-text-wrap","class","ion-no-padding",3,"click",4,"ngFor","ngForOf"],[1,"poseditorclass"],[1,"ion-no-padding",3,"click"],[1,"positionclass"],["color","grau","size","small",3,"click"],[2,"width","400px"],[3,"Value","Required","MaxLength","Titel","ValueChange","TextChanged"],["color","rot","size","small",3,"click"],["name","close-outline"],["color","gruen","size","small",3,"click"],["name","checkmark-outline"]],template:function(ze,ct){1&ze&&(e.\u0275\u0275elementStart(0,"div",0)(1,"div",1),e.\u0275\u0275listener("click",function(Ie){return ct.ContentClicked(Ie)}),e.\u0275\u0275elementStart(2,"div",2),e.\u0275\u0275listener("click",function(Ie){return ct.ContentClicked(Ie)}),e.\u0275\u0275elementStart(3,"ion-header")(4,"page-header")(5,"table",3)(6,"tr")(7,"td"),e.\u0275\u0275element(8,"ion-icon",4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"td"),e.\u0275\u0275text(10),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"td",5),e.\u0275\u0275element(12,"div",6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(13,"td")(14,"div",7),e.\u0275\u0275listener("click",function(){return ct.AllgemeinMenuButtonClicked()}),e.\u0275\u0275elementStart(15,"table",3)(16,"tr")(17,"td"),e.\u0275\u0275element(18,"ion-icon",8),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(19,"td"),e.\u0275\u0275text(20,"Allgemein"),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275element(21,"td",9),e.\u0275\u0275elementStart(22,"td")(23,"div",7),e.\u0275\u0275listener("click",function(){return ct.PositionenMenuButtonClicked()}),e.\u0275\u0275elementStart(24,"table",3)(25,"tr")(26,"td"),e.\u0275\u0275element(27,"ion-icon",10),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(28,"td"),e.\u0275\u0275text(29,"Positionen"),e.\u0275\u0275elementEnd()()()()()()()()(),e.\u0275\u0275elementStart(30,"ion-content")(31,"div",11),e.\u0275\u0275template(32,G,2,1,"ng-container",12)(33,K,10,4,"ng-container",12),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(34,"ion-footer")(35,"page-footer")(36,"table",13)(37,"tr")(38,"td")(39,"div",14),e.\u0275\u0275listener("click",function(){return ct.CancelButtonClicked()}),e.\u0275\u0275element(40,"ion-icon",15),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(41,"td",16),e.\u0275\u0275elementStart(42,"td")(43,"div",14),e.\u0275\u0275listener("click",function(){return!0===ct.Valid?ct.OkButtonClicked():null}),e.\u0275\u0275element(44,"ion-icon",17),e.\u0275\u0275elementEnd()()()()()()()()()),2&ze&&(e.\u0275\u0275styleProp("z-index",ct.ZIndex),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("background",ct.Displayservice.ShowOpacity(ct.Displayservice.Dialognamen.Mitarbeitereditor)?"rgba(0, 0, 0, 0.5)":"none"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("width",ct.Dialogbreite,"px")("top",ct.PositionY,"px")("bottom",ct.PositionY,"px")("top",ct.PositionY,"px"),e.\u0275\u0275advance(6),e.\u0275\u0275property("name",ct.Iconname),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color","white"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(ct.Titel),e.\u0275\u0275advance(8),e.\u0275\u0275property("color",ct.Bereich===ct.Bereiche.Allgemein?"schwarz":"weiss"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",ct.Bereich===ct.Bereiche.Allgemein?"#000000":"white"),e.\u0275\u0275advance(8),e.\u0275\u0275property("color",ct.Bereich===ct.Bereiche.Positionen?"schwarz":"weiss"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",ct.Bereich===ct.Bereiche.Positionen?"#000000":"white"),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngIf",ct.Bereich===ct.Bereiche.Allgemein),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",ct.Bereich===ct.Bereiche.Positionen),e.\u0275\u0275advance(11),e.\u0275\u0275property("color",!0===ct.Valid?"weiss":"grau"))},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}.menubuttonclass[_ngcontent-%COMP%]{cursor:pointer}.trennertdclass[_ngcontent-%COMP%]{width:30px}.positionclass[_ngcontent-%COMP%]{background:#fff;height:30px;width:300px}.positionclass[_ngcontent-%COMP%]:hover{background:silver}.keeperdivclass[_ngcontent-%COMP%]{display:flex;flex-direction:row;position:relative;width:100%;height:100%}.poslisteclass[_ngcontent-%COMP%]{height:100%;width:65%;overflow:auto}.poseditorclass[_ngcontent-%COMP%]{height:100%;width:35%;overflow:auto;border-left:2px solid #444444}"]})}return X})()},27328:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.FiMitarbeiterEditorModule=void 0;const n=s(81316),l=s(92512),u=s(91368),c=s(82384),i=s(33780),e=s(61540),o=s(6512),h=s(7388),v=s(70216),M=s(90520),p=s(72284),E=n.__importStar(s(54496)),S=n.__importStar(s(91368)),y=n.__importStar(s(92512)),f=n.__importStar(s(38056)),C=n.__importStar(s(25856)),_=n.__importStar(s(90212)),w=n.__importStar(s(29856)),D=n.__importStar(s(13228));m.FiMitarbeiterEditorModule=(()=>{class N{static \u0275fac=function(R){return new(R||N)};static \u0275mod=E.\u0275\u0275defineNgModule({type:N});static \u0275inj=E.\u0275\u0275defineInjector({imports:[u.CommonModule,l.IonicModule,i.InputCloneModule,e.InputCloneKeeperModule,o.AbstandElementFixedModule,h.CheckboxClonModule,v.PageHeaderModule,M.PageFooterModule,p.ButtonValueModule]})}return N})(),E.\u0275\u0275setComponentScope(c.FiMitarbeiterEditorComponent,[S.NgForOf,S.NgIf,y.IonButton,y.IonCol,y.IonContent,y.IonFooter,y.IonGrid,y.IonHeader,y.IonIcon,y.IonItem,y.IonList,y.IonRow,y.IonText,f.InputCloneComponent,C.CheckboxClonComponent,_.PageHeaderComponent,w.PageFooterComponent,D.ButtonValueComponent],[])},41656:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.FiStandortEditorComponent=void 0;const n=s(81316),l=s(54496),u=n.__importStar(s(78776)),c=n.__importStar(s(17964)),i=n.__importStar(s(54496)),e=n.__importStar(s(34388)),o=n.__importStar(s(21052)),h=n.__importStar(s(29743)),v=n.__importStar(s(19668)),M=n.__importStar(s(7992)),p=n.__importStar(s(9544)),E=n.__importStar(s(22848)),S=n.__importStar(s(58864)),y=n.__importStar(s(91368)),f=n.__importStar(s(92512)),C=n.__importStar(s(38056)),_=n.__importStar(s(90212)),w=n.__importStar(s(25856)),D=n.__importStar(s(29856)),L=n.__importStar(s(13228));function N(K,ie){if(1&K){const X=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"ion-col",18)(1,"button-value",19),i.\u0275\u0275listener("ButtonClicked",function(){i.\u0275\u0275restoreView(X);const ce=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(ce.BundeslandClickedEvent.emit())}),i.\u0275\u0275elementEnd()()}if(2&K){const X=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(),i.\u0275\u0275property("Buttontext","Bundesland")("Wert_A",X.GetBundesland())}}function V(K,ie){if(1&K){const X=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col",18)(2,"button-value",19),i.\u0275\u0275listener("ButtonClicked",function(){i.\u0275\u0275restoreView(X);const ce=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(ce.KonfessionClickedEvent.emit())}),i.\u0275\u0275elementEnd()()()}if(2&K){const X=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(2),i.\u0275\u0275property("Buttontext","Konfession")("Wert_A",X.GetKonfession())}}function G(K,ie){if(1&K){const X=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",28),i.\u0275\u0275listener("CheckChanged",function(ce){const ct=i.\u0275\u0275restoreView(X).$implicit,xe=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(xe.UrlaubsfreigabeCheckChanged(ce,ct._id))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(3,"td",29),i.\u0275\u0275text(4),i.\u0275\u0275elementEnd()()}if(2&K){const X=ie.$implicit,be=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(2),i.\u0275\u0275property("Enabled",be.Pool.Mitarbeiterdaten.Planeradministrator)("Value",X._id)("Checked",be.UrlaubsfreigabeChecked(X._id)),i.\u0275\u0275advance(2),i.\u0275\u0275textInterpolate2("",X.Vorname," ",X.Name,"")}}function R(K,ie){if(1&K){const X=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",28),i.\u0275\u0275listener("CheckChanged",function(ce){const ct=i.\u0275\u0275restoreView(X).$implicit,xe=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(xe.HomeofficefreigabeCheckChanged(ce,ct._id))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(3,"td",29),i.\u0275\u0275text(4),i.\u0275\u0275elementEnd()()}if(2&K){const X=ie.$implicit,be=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(2),i.\u0275\u0275property("Enabled",be.Pool.Mitarbeiterdaten.Planeradministrator)("Value",X._id)("Checked",be.HomeofficefreigabeChecked(X._id)),i.\u0275\u0275advance(2),i.\u0275\u0275textInterpolate2("",X.Vorname," ",X.Name,"")}}function k(K,ie){if(1&K){const X=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table")(3,"tr")(4,"td")(5,"checkbox-clon",30),i.\u0275\u0275listener("CheckChanged",function(ce){i.\u0275\u0275restoreView(X);const ze=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(ze.CanDeleteCheckedChanged(ce))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275element(6,"td",31),i.\u0275\u0275elementStart(7,"td")(8,"ion-button",32),i.\u0275\u0275listener("click",function(){i.\u0275\u0275restoreView(X);const ce=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(ce.DeleteButtonClicked())}),i.\u0275\u0275element(9,"ion-icon",33),i.\u0275\u0275elementStart(10,"ion-text"),i.\u0275\u0275text(11,"Eintrag l\xf6schen"),i.\u0275\u0275elementEnd()()()()()()()}if(2&K){const X=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",X.CanDelete),i.\u0275\u0275advance(3),i.\u0275\u0275property("disabled",!X.CanDelete)}}function A(K,ie){if(1&K){const X=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"ion-grid")(1,"ion-row")(2,"ion-col")(3,"ion-text",12)(4,"b"),i.\u0275\u0275text(5,"Allgemein"),i.\u0275\u0275elementEnd()()()(),i.\u0275\u0275elementStart(6,"ion-row")(7,"ion-col")(8,"input-clone",13),i.\u0275\u0275twoWayListener("ValueChange",function(ce){i.\u0275\u0275restoreView(X);const ze=i.\u0275\u0275nextContext();return i.\u0275\u0275twoWayBindingSet(ze.DB.CurrentStandort.Standort,ce)||(ze.DB.CurrentStandort.Standort=ce),i.\u0275\u0275resetView(ce)}),i.\u0275\u0275listener("TextChanged",function(ce){i.\u0275\u0275restoreView(X);const ze=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(ze.TextChanged(ce))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(9,"ion-col")(10,"input-clone",14),i.\u0275\u0275twoWayListener("ValueChange",function(ce){i.\u0275\u0275restoreView(X);const ze=i.\u0275\u0275nextContext();return i.\u0275\u0275twoWayBindingSet(ze.DB.CurrentStandort.Kuerzel,ce)||(ze.DB.CurrentStandort.Kuerzel=ce),i.\u0275\u0275resetView(ce)}),i.\u0275\u0275listener("TextChanged",function(ce){i.\u0275\u0275restoreView(X);const ze=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(ze.TextChanged(ce))}),i.\u0275\u0275elementEnd()()(),i.\u0275\u0275elementStart(11,"ion-row")(12,"ion-col")(13,"input-clone",15),i.\u0275\u0275twoWayListener("ValueChange",function(ce){i.\u0275\u0275restoreView(X);const ze=i.\u0275\u0275nextContext();return i.\u0275\u0275twoWayBindingSet(ze.DB.CurrentStandort.Strasse,ce)||(ze.DB.CurrentStandort.Strasse=ce),i.\u0275\u0275resetView(ce)}),i.\u0275\u0275listener("TextChanged",function(ce){i.\u0275\u0275restoreView(X);const ze=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(ze.TextChanged(ce))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275element(14,"ion-col"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(15,"ion-row")(16,"ion-col")(17,"input-clone",16),i.\u0275\u0275twoWayListener("ValueChange",function(ce){i.\u0275\u0275restoreView(X);const ze=i.\u0275\u0275nextContext();return i.\u0275\u0275twoWayBindingSet(ze.DB.CurrentStandort.PLZ,ce)||(ze.DB.CurrentStandort.PLZ=ce),i.\u0275\u0275resetView(ce)}),i.\u0275\u0275listener("TextChanged",function(ce){i.\u0275\u0275restoreView(X);const ze=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(ze.TextChanged(ce))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(18,"ion-col")(19,"input-clone",17),i.\u0275\u0275twoWayListener("ValueChange",function(ce){i.\u0275\u0275restoreView(X);const ze=i.\u0275\u0275nextContext();return i.\u0275\u0275twoWayBindingSet(ze.DB.CurrentStandort.Ort,ce)||(ze.DB.CurrentStandort.Ort=ce),i.\u0275\u0275resetView(ce)}),i.\u0275\u0275listener("TextChanged",function(ce){i.\u0275\u0275restoreView(X);const ze=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(ze.TextChanged(ce))}),i.\u0275\u0275elementEnd()()(),i.\u0275\u0275elementStart(20,"ion-row")(21,"ion-col",18)(22,"button-value",19),i.\u0275\u0275listener("ButtonClicked",function(){i.\u0275\u0275restoreView(X);const ce=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(ce.LandClickedEvent.emit())}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275template(23,N,2,2,"ion-col",20),i.\u0275\u0275elementEnd(),i.\u0275\u0275template(24,V,3,2,"ion-row",6),i.\u0275\u0275elementStart(25,"ion-row")(26,"ion-col")(27,"ion-text",12)(28,"b"),i.\u0275\u0275text(29,"Kontakt"),i.\u0275\u0275elementEnd()()()(),i.\u0275\u0275elementStart(30,"ion-row")(31,"ion-col")(32,"input-clone",21),i.\u0275\u0275twoWayListener("ValueChange",function(ce){i.\u0275\u0275restoreView(X);const ze=i.\u0275\u0275nextContext();return i.\u0275\u0275twoWayBindingSet(ze.DB.CurrentStandort.Telefon,ce)||(ze.DB.CurrentStandort.Telefon=ce),i.\u0275\u0275resetView(ce)}),i.\u0275\u0275listener("TextChanged",function(ce){i.\u0275\u0275restoreView(X);const ze=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(ze.TextChanged(ce))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(33,"ion-col")(34,"input-clone",22),i.\u0275\u0275twoWayListener("ValueChange",function(ce){i.\u0275\u0275restoreView(X);const ze=i.\u0275\u0275nextContext();return i.\u0275\u0275twoWayBindingSet(ze.DB.CurrentStandort.Email,ce)||(ze.DB.CurrentStandort.Email=ce),i.\u0275\u0275resetView(ce)}),i.\u0275\u0275listener("TextChanged",function(ce){i.\u0275\u0275restoreView(X);const ze=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(ze.TextChanged(ce))}),i.\u0275\u0275elementEnd()()(),i.\u0275\u0275elementStart(35,"ion-row")(36,"ion-col")(37,"ion-text",12)(38,"b"),i.\u0275\u0275text(39,"Urlaub + Homeoffice"),i.\u0275\u0275elementEnd()()()(),i.\u0275\u0275elementStart(40,"ion-row")(41,"ion-col")(42,"table",23)(43,"tr")(44,"td"),i.\u0275\u0275text(45,"Berechtigte Mitarbeiter/innen die die Homeoffice- und Urlaubsanfragen f\xfcr diesen Standort erhalten:"),i.\u0275\u0275elementEnd()()()()(),i.\u0275\u0275elementStart(46,"ion-row")(47,"ion-col")(48,"table",3)(49,"tr")(50,"td"),i.\u0275\u0275element(51,"ion-icon",24),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(52,"td",25),i.\u0275\u0275text(53,"Urlaubsfreigaben"),i.\u0275\u0275elementEnd()()()(),i.\u0275\u0275elementStart(54,"ion-col")(55,"table",3)(56,"tr")(57,"td"),i.\u0275\u0275element(58,"ion-icon",26),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(59,"td",25),i.\u0275\u0275text(60,"Homeofficefreigaben"),i.\u0275\u0275elementEnd()()()()(),i.\u0275\u0275elementStart(61,"ion-row")(62,"ion-col")(63,"table",3),i.\u0275\u0275template(64,G,5,5,"tr",27),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(65,"ion-col")(66,"table",3),i.\u0275\u0275template(67,R,5,5,"tr",27),i.\u0275\u0275elementEnd()()(),i.\u0275\u0275template(68,k,12,2,"ion-row",6),i.\u0275\u0275elementEnd()}if(2&K){const X=i.\u0275\u0275nextContext();i.\u0275\u0275advance(8),i.\u0275\u0275twoWayProperty("Value",X.DB.CurrentStandort.Standort),i.\u0275\u0275property("Required",!0)("MaxLength",100),i.\u0275\u0275advance(2),i.\u0275\u0275twoWayProperty("Value",X.DB.CurrentStandort.Kuerzel),i.\u0275\u0275property("Required",!0)("MinLength",3)("MaxLength",10),i.\u0275\u0275advance(3),i.\u0275\u0275twoWayProperty("Value",X.DB.CurrentStandort.Strasse),i.\u0275\u0275property("Required",!0)("MaxLength",100),i.\u0275\u0275advance(4),i.\u0275\u0275property("Required",!0)("MinLength",4)("MaxLength",5),i.\u0275\u0275twoWayProperty("Value",X.DB.CurrentStandort.PLZ),i.\u0275\u0275advance(2),i.\u0275\u0275property("Required",!0)("MaxLength",100),i.\u0275\u0275twoWayProperty("Value",X.DB.CurrentStandort.Ort),i.\u0275\u0275advance(3),i.\u0275\u0275property("Buttontext","Land")("Wert_A",X.GetLand()),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf","DE"===X.DB.CurrentStandort.Land),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf","DE"===X.DB.CurrentStandort.Land),i.\u0275\u0275advance(8),i.\u0275\u0275twoWayProperty("Value",X.DB.CurrentStandort.Telefon),i.\u0275\u0275advance(2),i.\u0275\u0275property("MaxLength",255)("Required",!0),i.\u0275\u0275twoWayProperty("Value",X.DB.CurrentStandort.Email),i.\u0275\u0275advance(30),i.\u0275\u0275property("ngForOf",X.DBMitarbeiter.GetUrlausbsfreigeberliste(X.DB.CurrentStandort._id)),i.\u0275\u0275advance(3),i.\u0275\u0275property("ngForOf",X.DBMitarbeiter.GetHomeofficefreigeberliste(X.DB.CurrentStandort._id)),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",null!==X.DB.CurrentStandort._id)}}m.FiStandortEditorComponent=(()=>{class K{Debug;Displayservice;Const;Tools;Pool;DBUrlaub;DBMitarbeiter;DB;Valid;CanDelete;JoiShema;ValidChange=new l.EventEmitter;CancelClickedEvent=new l.EventEmitter;OkClickedEvent=new l.EventEmitter;DeleteClickedEvent=new l.EventEmitter;LandClickedEvent=new l.EventEmitter;BundeslandClickedEvent=new l.EventEmitter;KonfessionClickedEvent=new l.EventEmitter;Titel;Iconname;Dialogbreite;Dialoghoehe;PositionY;ZIndex;constructor(X,be,ce,ze,ct,xe,Ie,Le){this.Debug=X,this.Displayservice=be,this.Const=ce,this.Tools=ze,this.Pool=ct,this.DBUrlaub=xe,this.DBMitarbeiter=Ie,this.DB=Le;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(Ue){this.Debug.ShowErrorMessage(Ue.message,"Standort Editor","constructor",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Displayservice.RemoveDialog(this.Displayservice.Dialognamen.Standorteditor)}catch(X){this.Debug.ShowErrorMessage(X.message,"Standort Editor","OnDestroy",this.Debug.Typen.Component)}}SetupValidation(){try{this.JoiShema=u.object({Standort:u.string().required().max(100),Kuerzel:u.string().required().min(3).max(10),Strasse:u.string().required().max(100),Ort:u.string().required().max(100),PLZ:u.string().required().min(4).max(5),Email:u.string().required().max(255).email({tlds:{allow:!1}}).required()}).options({stripUnknown:!0})}catch(X){this.Debug.ShowErrorMessage(X.message,"Standort Editor","SetupValidation",this.Debug.Typen.Component)}}ngOnInit(){try{this.SetupValidation(),this.Displayservice.AddDialog(this.Displayservice.Dialognamen.Standorteditor,this.ZIndex)}catch(X){this.Debug.ShowErrorMessage(X.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(X){this.Debug.ShowErrorMessage(X.message,"Standort Editor","ValidateInput",this.Debug.Typen.Component)}}TextChanged(X){try{this.ValidateInput()}catch(be){this.Debug.ShowErrorMessage(be.message,"Standort Editor","TextChanged",this.Debug.Typen.Component)}}ngAfterViewInit(){try{this.ValidateInput()}catch(X){this.Debug.ShowErrorMessage(X.message,"Standort Editor","AfterViewInit",this.Debug.Typen.Component)}}CancelButtonClicked(){this.CancelClickedEvent.emit()}DeleteButtonClicked(){try{this.CanDelete&&this.DB.DeleteStandort().then(()=>{this.DeleteClickedEvent.emit()}).catch(X=>{this.Tools.ShowHinweisDialog(X.error.message)})}catch(X){this.Debug.ShowErrorMessage(X.message,"Standort Editor","DeleteButtonClicked",this.Debug.Typen.Component)}}OkButtonClicked(){try{null===this.DB.CurrentStandort._id?this.DB.AddStandort().then(X=>{this.OkClickedEvent.emit()}).catch(X=>{this.Tools.ShowHinweisDialog(X.error)}):this.DB.UpdateStandort().then(()=>{this.OkClickedEvent.emit()}).catch(X=>{this.Tools.ShowHinweisDialog(X.error.message)})}catch(X){this.Debug.ShowErrorMessage(X.message,"Standort Editor","OkButtonClicked",this.Debug.Typen.Component)}}ContentClicked(X){X.preventDefault(),X.stopPropagation()}CanDeleteCheckedChanged(X){try{this.CanDelete=X.status}catch(be){this.Debug.ShowErrorMessage(be.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(X){this.Debug.ShowErrorMessage(X,"Standort Editor","GetLand",this.Debug.Typen.Component)}}GetBundesland(){try{let X;return null!==this.DB.CurrentStandort?(X=c.find(this.DBUrlaub.Regionenliste,{isoCode:this.DB.CurrentStandort.Bundesland}),c.isUndefined(X)?"Unbekannt":X.Name):"Unbekannt"}catch(X){this.Debug.ShowErrorMessage(X,"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(X){this.Debug.ShowErrorMessage(X,"Standort Editor","GetKonfession",this.Debug.Typen.Component)}}UrlaubsfreigabeChecked(X){try{return-1!==this.DB.CurrentStandort.Urlaubfreigabepersonen.indexOf(X)}catch(be){this.Debug.ShowErrorMessage(be,"Standort Editor","UrlaubsfreigabeChecked",this.Debug.Typen.Component)}}HomeofficefreigabeChecked(X){try{return-1!==this.DB.CurrentStandort.Homeofficefreigabepersonen.indexOf(X)}catch(be){this.Debug.ShowErrorMessage(be,"Standort Editor","HomeofficefreigabeChecked",this.Debug.Typen.Component)}}UrlaubsfreigabeCheckChanged(X,be){try{!0===X.status?this.DB.CurrentStandort.Urlaubfreigabepersonen.push(be):this.DB.CurrentStandort.Urlaubfreigabepersonen=c.filter(this.DB.CurrentStandort.Urlaubfreigabepersonen,ce=>be!==ce)}catch(ce){this.Debug.ShowErrorMessage(ce,"Standort Editor","UrlaubsfreigabeCheckChanged",this.Debug.Typen.Component)}}HomeofficefreigabeCheckChanged(X,be){try{!0===X.status?this.DB.CurrentStandort.Homeofficefreigabepersonen.push(be):this.DB.CurrentStandort.Homeofficefreigabepersonen=c.filter(this.DB.CurrentStandort.Homeofficefreigabepersonen,ce=>be!==ce)}catch(ce){this.Debug.ShowErrorMessage(ce,"Standort Editor","HomeofficefreigabeCheckChanged",this.Debug.Typen.Component)}}static \u0275fac=function(be){return new(be||K)(i.\u0275\u0275directiveInject(e.DebugProvider),i.\u0275\u0275directiveInject(o.DisplayService),i.\u0275\u0275directiveInject(h.ConstProvider),i.\u0275\u0275directiveInject(v.ToolsProvider),i.\u0275\u0275directiveInject(M.DatabasePoolService),i.\u0275\u0275directiveInject(p.DatabaseUrlaubService),i.\u0275\u0275directiveInject(E.DatabaseMitarbeiterService),i.\u0275\u0275directiveInject(S.DatabaseStandorteService))};static \u0275cmp=i.\u0275\u0275defineComponent({type:K,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"],["color","baeblau"],["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"],["Titel","Telefon","Inputtype","text",3,"Value","ValueChange","TextChanged"],["Titel","Email","Inputtype","email",3,"MaxLength","Required","Value","ValueChange","TextChanged"],[1,"paddingtable"],["name","sunny","color","orange",2,"font-size","20px"],[2,"font-size","90%","font-weight","bold"],["name","home","color","blau",2,"font-size","20px"],[4,"ngFor","ngForOf"],[3,"Enabled","Value","Checked","CheckChanged"],[2,"font-size","100%","color","#444444"],[3,"Checked","CheckChanged"],[2,"width","6px"],["size","small","color","rot",3,"disabled","click"],["name","trash-outline",2,"font-size","20px"]],template:function(be,ce){1&be&&(i.\u0275\u0275elementStart(0,"div",0)(1,"div",1),i.\u0275\u0275listener("click",function(ct){return ce.ContentClicked(ct)}),i.\u0275\u0275elementStart(2,"div",2),i.\u0275\u0275listener("click",function(ct){return ce.ContentClicked(ct)}),i.\u0275\u0275elementStart(3,"ion-header")(4,"page-header")(5,"table",3)(6,"tr")(7,"td"),i.\u0275\u0275element(8,"ion-icon",4),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(9,"td"),i.\u0275\u0275text(10),i.\u0275\u0275elementEnd()()()()(),i.\u0275\u0275elementStart(11,"ion-content")(12,"div",5),i.\u0275\u0275template(13,A,69,28,"ion-grid",6),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(14,"ion-footer")(15,"page-footer")(16,"table",7)(17,"tr")(18,"td")(19,"div",8),i.\u0275\u0275listener("click",function(){return ce.CancelButtonClicked()}),i.\u0275\u0275element(20,"ion-icon",9),i.\u0275\u0275elementEnd()(),i.\u0275\u0275element(21,"td",10),i.\u0275\u0275elementStart(22,"td")(23,"div",8),i.\u0275\u0275listener("click",function(){return!0===ce.Valid?ce.OkButtonClicked():null}),i.\u0275\u0275element(24,"ion-icon",11),i.\u0275\u0275elementEnd()()()()()()()()()),2&be&&(i.\u0275\u0275styleProp("z-index",ce.ZIndex),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("background",ce.Displayservice.ShowOpacity(ce.Displayservice.Dialognamen.Standorteditor)?"rgba(0, 0, 0, 0.5)":"none"),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("width",ce.Dialogbreite,"px")("height",ce.Dialoghoehe,"px")("top",ce.PositionY,"px"),i.\u0275\u0275advance(6),i.\u0275\u0275property("name",ce.Iconname),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("color","white"),i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate(ce.Titel),i.\u0275\u0275advance(3),i.\u0275\u0275property("ngIf",ce.DB.CurrentStandort&&null!==ce.Pool.Mitarbeiterdaten),i.\u0275\u0275advance(11),i.\u0275\u0275property("color",!0===ce.Valid?"weiss":"grau"))},dependencies:[y.NgForOf,y.NgIf,f.IonButton,f.IonCol,f.IonContent,f.IonFooter,f.IonGrid,f.IonHeader,f.IonIcon,f.IonRow,f.IonText,C.InputCloneComponent,_.PageHeaderComponent,w.CheckboxClonComponent,D.PageFooterComponent,L.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 K})()},79664:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.FiStandortEditorModule=void 0;const n=s(81316),l=s(92512),u=s(91368),c=s(33780),i=s(61540),e=s(6512),o=s(70216),h=s(7388),v=s(90520),M=s(72284),p=n.__importStar(s(54496));m.FiStandortEditorModule=(()=>{class S{static \u0275fac=function(C){return new(C||S)};static \u0275mod=p.\u0275\u0275defineNgModule({type:S});static \u0275inj=p.\u0275\u0275defineInjector({imports:[u.CommonModule,l.IonicModule,c.InputCloneModule,i.InputCloneKeeperModule,e.AbstandElementFixedModule,o.PageHeaderModule,h.CheckboxClonModule,v.PageFooterModule,M.ButtonValueModule]})}return S})()},6512:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.AbstandElementFixedModule=void 0;const n=s(81316),l=s(92512),u=s(91368),c=n.__importStar(s(54496));m.AbstandElementFixedModule=(()=>{class e{static \u0275fac=function(v){return new(v||e)};static \u0275mod=c.\u0275\u0275defineNgModule({type:e});static \u0275inj=c.\u0275\u0275defineInjector({imports:[u.CommonModule,l.IonicModule]})}return e})()},72160:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.AlphabetRelativeModule=void 0;const n=s(81316),l=s(92512),u=s(91368),c=n.__importStar(s(54496));m.AlphabetRelativeModule=(()=>{class e{static \u0275fac=function(v){return new(v||e)};static \u0275mod=c.\u0275\u0275defineNgModule({type:e});static \u0275inj=c.\u0275\u0275defineInjector({imports:[u.CommonModule,l.IonicModule]})}return e})()},1215:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.AlphabetRelativeComponent=void 0;const n=s(81316),l=s(54496),u=n.__importStar(s(54496)),c=n.__importStar(s(34388)),i=n.__importStar(s(14652)),e=n.__importStar(s(29743)),o=n.__importStar(s(19668)),h=n.__importStar(s(91368)),v=n.__importStar(s(92512)),M=["ImageKeeperDiv"];function p(S,y){if(1&S){const f=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"div",2),u.\u0275\u0275listener("click",function(){const w=u.\u0275\u0275restoreView(f).$implicit,D=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(D.AlphabetClickedHandler(w))}),u.\u0275\u0275elementStart(1,"ion-badge",3),u.\u0275\u0275text(2),u.\u0275\u0275elementEnd()()}if(2&S){const f=y.$implicit,C=u.\u0275\u0275nextContext();u.\u0275\u0275advance(),u.\u0275\u0275styleProp("color",C.Basics.Farben.BAEBlau)("border-color",f===C.Auswahl?C.Basics.Farben.BAEBlau:C.Basics.Farben.BAEHellgrau),u.\u0275\u0275advance(),u.\u0275\u0275textInterpolate1(" ",f," ")}}m.AlphabetRelativeComponent=(()=>{class S{Debug;Basics;Const;Tools;Breite;Auswahl="";Buchstabenliste=[];AlphabetClicked=new l.EventEmitter;ZusatzbuttonClicked=new l.EventEmitter;ImageKeeperDiv;Style;Filterliste;constructor(f,C,_,w){this.Debug=f,this.Basics=C,this.Const=_,this.Tools=w;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(D){this.Debug.ShowErrorMessage(D.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(C){this.Debug.ShowErrorMessage(C.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 C;C=f.Buchstabenliste,typeof C<"u"&&this.SetFilterliste(),C=f.Breite,typeof C<"u"&&this.InitScreen()}catch(C){this.Debug.ShowErrorMessage(C.message,"Alphabet","ngOnChanges",this.Debug.Typen.Component)}}static \u0275fac=function(C){return new(C||S)(u.\u0275\u0275directiveInject(c.DebugProvider),u.\u0275\u0275directiveInject(i.BasicsProvider),u.\u0275\u0275directiveInject(e.ConstProvider),u.\u0275\u0275directiveInject(o.ToolsProvider))};static \u0275cmp=u.\u0275\u0275defineComponent({type:S,selectors:[["alphabet-relative"]],viewQuery:function(C,_){if(1&C&&u.\u0275\u0275viewQuery(M,7),2&C){let w;u.\u0275\u0275queryRefresh(w=u.\u0275\u0275loadQuery())&&(_.ImageKeeperDiv=w.first)}},inputs:{Breite:"Breite",Auswahl:"Auswahl",Buchstabenliste:"Buchstabenliste"},outputs:{AlphabetClicked:"AlphabetClicked",ZusatzbuttonClicked:"ZusatzbuttonClicked"},features:[u.\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(C,_){1&C&&(u.\u0275\u0275elementStart(0,"div",0),u.\u0275\u0275template(1,p,3,5,"div",1),u.\u0275\u0275elementEnd()),2&C&&(u.\u0275\u0275property("ngStyle",_.Style),u.\u0275\u0275advance(),u.\u0275\u0275property("ngForOf",_.Filterliste))},dependencies:[h.NgForOf,h.NgStyle,v.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 S})()},87143:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.AlphabetModule=void 0;const n=s(81316),l=s(92512),u=s(91368),c=n.__importStar(s(54496));m.AlphabetModule=(()=>{class e{static \u0275fac=function(v){return new(v||e)};static \u0275mod=c.\u0275\u0275defineNgModule({type:e});static \u0275inj=c.\u0275\u0275defineInjector({imports:[u.CommonModule,l.IonicModule]})}return e})()},99031:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.AlphabetComponent=void 0;const n=s(81316),l=s(54496),u=n.__importStar(s(54496)),c=n.__importStar(s(34388)),i=n.__importStar(s(14652)),e=n.__importStar(s(29743)),o=n.__importStar(s(19668)),h=n.__importStar(s(91368)),v=n.__importStar(s(92512)),M=["ImageKeeperDiv"];function p(S,y){if(1&S){const f=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"div",2),u.\u0275\u0275listener("click",function(){const w=u.\u0275\u0275restoreView(f).$implicit,D=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(D.AlphabetClickedHandler(w))}),u.\u0275\u0275elementStart(1,"ion-badge",3),u.\u0275\u0275text(2),u.\u0275\u0275elementEnd()()}if(2&S){const f=y.$implicit,C=u.\u0275\u0275nextContext();u.\u0275\u0275advance(),u.\u0275\u0275styleProp("color","#2190df")("border-color",f===C.Auswahl?"#2190df":C.Basics.Farben.BAEHellgrau),u.\u0275\u0275advance(),u.\u0275\u0275textInterpolate1(" ",f," ")}}m.AlphabetComponent=(()=>{class S{Debug;Basics;Const;Tools;Breite;Auswahl="";Buchstabenliste=[];PageHeader=null;PageFooter=null;AlphabetClicked=new l.EventEmitter;ZusatzbuttonClicked=new l.EventEmitter;ImageKeeperDiv;Style;Filterliste;constructor(f,C,_,w){this.Debug=f,this.Basics=C,this.Const=_,this.Tools=w;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(D){this.Debug.ShowErrorMessage(D.message,"Alphabet","Constructor",this.Debug.Typen.Component)}}InitScreen(){try{let f=0,C=0;typeof this.PageHeader<"u"&&null!==this.PageHeader&&(f=this.PageHeader.PageHeaderDiv.nativeElement.clientHeight),typeof this.PageFooter<"u"&&null!==this.PageFooter&&(C=this.PageFooter.PageFooterFrameDiv.nativeElement.clientHeight),this.Style={width:this.Breite+"px",top:f+"px",bottom:C+"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(C){this.Debug.ShowErrorMessage(C.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 C;C=f.Buchstabenliste,typeof C<"u"&&this.SetFilterliste()}catch(C){this.Debug.ShowErrorMessage(C.message,"Alphabet","ngOnChanges",this.Debug.Typen.Component)}}static \u0275fac=function(C){return new(C||S)(u.\u0275\u0275directiveInject(c.DebugProvider),u.\u0275\u0275directiveInject(i.BasicsProvider),u.\u0275\u0275directiveInject(e.ConstProvider),u.\u0275\u0275directiveInject(o.ToolsProvider))};static \u0275cmp=u.\u0275\u0275defineComponent({type:S,selectors:[["alphabet"]],viewQuery:function(C,_){if(1&C&&u.\u0275\u0275viewQuery(M,7),2&C){let w;u.\u0275\u0275queryRefresh(w=u.\u0275\u0275loadQuery())&&(_.ImageKeeperDiv=w.first)}},inputs:{Breite:"Breite",Auswahl:"Auswahl",Buchstabenliste:"Buchstabenliste",PageHeader:"PageHeader",PageFooter:"PageFooter"},outputs:{AlphabetClicked:"AlphabetClicked",ZusatzbuttonClicked:"ZusatzbuttonClicked"},features:[u.\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(C,_){1&C&&(u.\u0275\u0275elementStart(0,"div",0),u.\u0275\u0275template(1,p,3,5,"div",1),u.\u0275\u0275elementEnd()),2&C&&(u.\u0275\u0275property("ngStyle",_.Style),u.\u0275\u0275advance(),u.\u0275\u0275property("ngForOf",_.Filterliste))},dependencies:[h.NgForOf,h.NgStyle,v.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 S})()},10272:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.AuswahlDialogModule=void 0;const n=s(81316),l=s(92512),u=s(56584),c=s(91368),i=s(44716),e=s(70216),o=s(90520),h=s(84104),v=n.__importStar(s(54496)),M=n.__importStar(s(92512)),p=n.__importStar(s(91368)),E=n.__importStar(s(90212)),S=n.__importStar(s(29856)),y=n.__importStar(s(66144));m.AuswahlDialogModule=(()=>{class C{static \u0275fac=function(D){return new(D||C)};static \u0275mod=v.\u0275\u0275defineNgModule({type:C});static \u0275inj=v.\u0275\u0275defineInjector({imports:[l.IonicModule,c.CommonModule,i.FormsModule,e.PageHeaderModule,o.PageFooterModule,h.SafePipeModule]})}return C})(),v.\u0275\u0275setComponentScope(u.AuswahlDialogComponent,[M.IonContent,M.IonFooter,M.IonHeader,M.IonIcon,M.IonRadio,M.IonRadioGroup,M.RadioValueAccessor,M.SelectValueAccessor,p.NgForOf,E.PageHeaderComponent,S.PageFooterComponent],[y.SafePipe])},56584:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.AuswahlDialogComponent=void 0;const n=s(81316),l=s(54496),u=n.__importStar(s(17964)),c=n.__importStar(s(54496)),i=n.__importStar(s(19668)),e=n.__importStar(s(14652)),o=n.__importStar(s(34388)),h=n.__importStar(s(21052)),v=n.__importStar(s(29743)),M=["MySelection"];function p(S,y){if(1&S&&(c.\u0275\u0275elementStart(0,"tr")(1,"td"),c.\u0275\u0275element(2,"ion-radio",15),c.\u0275\u0275elementEnd(),c.\u0275\u0275element(3,"td",16),c.\u0275\u0275pipe(4,"safe"),c.\u0275\u0275element(5,"td",17),c.\u0275\u0275pipe(6,"safe"),c.\u0275\u0275elementEnd()),2&S){const f=y.$implicit;c.\u0275\u0275advance(2),c.\u0275\u0275property("value",f.Index),c.\u0275\u0275advance(),c.\u0275\u0275property("innerHTML",c.\u0275\u0275pipeBind2(4,3,f.FirstColumn,"html"),c.\u0275\u0275sanitizeHtml),c.\u0275\u0275advance(2),c.\u0275\u0275property("innerHTML",c.\u0275\u0275pipeBind2(6,6,f.SecoundColumn,"html"),c.\u0275\u0275sanitizeHtml)}}m.AuswahlDialogComponent=(()=>{class S{Tools;Basics;Debug;Displayservice;Const;MySelection;Titel="Testtitel";Auswahlliste;Auswahlindex;Iconname;Dialogbreite;PositionY;ZIndex;IndexChanged=new l.EventEmitter;OkClickedEvent=new l.EventEmitter;CancelClickedEvent=new l.EventEmitter;constructor(f,C,_,w,D){this.Tools=f,this.Basics=C,this.Debug=_,this.Displayservice=w,this.Const=D;try{this.Auswahlliste=[{Index:0,FirstColumn:"",SecoundColumn:"",Data:null}],this.Auswahlindex=0,this.ZIndex=4e3}catch(L){this.Debug.ShowErrorMessage(L.message,"Auswahl Dialog","constructor",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Displayservice.RemoveDialog(this.Displayservice.Dialognamen.Auswahldialog)}catch(f){this.Debug.ShowErrorMessage(f.message,"Auswahl Dialog","OnDestroy",this.Debug.Typen.Component)}}ngOnInit(){try{this.Displayservice.AddDialog(this.Displayservice.Dialognamen.Auswahldialog,this.ZIndex)}catch(f){this.Debug.ShowErrorMessage(f.message,"Auswahl Dialog","OnInit",this.Debug.Typen.Component)}}Setup(f,C,_){try{this.Titel=f,this.Auswahlliste=C,this.Auswahlindex=_}catch(w){this.Debug.ShowErrorMessage(w.message,"Auswahl Dialog","Setup",this.Debug.Typen.Page)}}Open(f,C){try{typeof f<"u"&&!0===f&&(this.Auswahlindex=typeof C<"u"?C:-1),this.MySelection.open()}catch(_){this.Debug.ShowErrorMessage(_.message,"Auswahl Dialog","Open",this.Debug.Typen.Component)}}ngOnChanges(f){}IndexChangedHandler(f){try{let C;C=""===f.detail.value||isNaN(f.detail.value)?-1:f.detail.value,this.Auswahlindex=C}catch(C){this.Debug.ShowErrorMessage(C.message,"Auswahl Dialog","IndexChanged",this.Debug.Typen.Component)}}CancelButtonClicked(){this.CancelClickedEvent.emit()}OkButtonClicked(){u.isUndefined(this.Auswahlliste[this.Auswahlindex])?this.OkClickedEvent.emit(null):this.OkClickedEvent.emit(this.Auswahlliste[this.Auswahlindex].Data)}ContentClicked(f){f.preventDefault(),f.stopPropagation()}static \u0275fac=function(C){return new(C||S)(c.\u0275\u0275directiveInject(i.ToolsProvider),c.\u0275\u0275directiveInject(e.BasicsProvider),c.\u0275\u0275directiveInject(o.DebugProvider),c.\u0275\u0275directiveInject(h.DisplayService),c.\u0275\u0275directiveInject(v.ConstProvider))};static \u0275cmp=c.\u0275\u0275defineComponent({type:S,selectors:[["auswahl-dialog"]],viewQuery:function(C,_){if(1&C&&c.\u0275\u0275viewQuery(M,7),2&C){let w;c.\u0275\u0275queryRefresh(w=c.\u0275\u0275loadQuery())&&(_.MySelection=w.first)}},inputs:{Titel:"Titel",Auswahlliste:"Auswahlliste",Auswahlindex:"Auswahlindex",Iconname:"Iconname",Dialogbreite:"Dialogbreite",PositionY:"PositionY",ZIndex:"ZIndex"},outputs:{IndexChanged:"IndexChanged",OkClickedEvent:"OkClickedEvent",CancelClickedEvent:"CancelClickedEvent"},features:[c.\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(C,_){1&C&&(c.\u0275\u0275elementStart(0,"div",0)(1,"div",1),c.\u0275\u0275listener("click",function(D){return _.ContentClicked(D)}),c.\u0275\u0275elementStart(2,"div",2),c.\u0275\u0275listener("click",function(D){return _.ContentClicked(D)}),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)(13,"ion-radio-group",6),c.\u0275\u0275listener("ionChange",function(D){return _.IndexChangedHandler(D)}),c.\u0275\u0275elementStart(14,"table",7)(15,"tr"),c.\u0275\u0275element(16,"td",8),c.\u0275\u0275elementEnd(),c.\u0275\u0275template(17,p,7,9,"tr",9),c.\u0275\u0275elementStart(18,"tr"),c.\u0275\u0275element(19,"td",8),c.\u0275\u0275elementEnd()()()()(),c.\u0275\u0275elementStart(20,"ion-footer")(21,"page-footer")(22,"table",10)(23,"tr")(24,"td")(25,"div",11),c.\u0275\u0275listener("click",function(){return _.CancelButtonClicked()}),c.\u0275\u0275element(26,"ion-icon",12),c.\u0275\u0275elementEnd()(),c.\u0275\u0275element(27,"td",13),c.\u0275\u0275elementStart(28,"td")(29,"div",11),c.\u0275\u0275listener("click",function(){return _.OkButtonClicked()}),c.\u0275\u0275element(30,"ion-icon",14),c.\u0275\u0275elementEnd()()()()()()()()()),2&C&&(c.\u0275\u0275styleProp("z-index",_.ZIndex),c.\u0275\u0275advance(),c.\u0275\u0275styleProp("background",!0===_.Displayservice.ShowOpacity(_.Displayservice.Dialognamen.Auswahldialog)?"rgba(0, 0, 0, 0.5)":"none"),c.\u0275\u0275advance(),c.\u0275\u0275styleProp("width",_.Dialogbreite,"px")("bottom",_.PositionY,"px")("top",_.PositionY,"px"),c.\u0275\u0275advance(6),c.\u0275\u0275property("name",_.Iconname),c.\u0275\u0275advance(),c.\u0275\u0275styleProp("color","white"),c.\u0275\u0275advance(),c.\u0275\u0275textInterpolate(_.Titel),c.\u0275\u0275advance(3),c.\u0275\u0275property("value",_.Auswahlindex),c.\u0275\u0275advance(4),c.\u0275\u0275property("ngForOf",_.Auswahlliste))},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 S})()},22844:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.ButtonValueDateModule=void 0;const n=s(81316),l=s(92512),u=s(91368),c=n.__importStar(s(54496));m.ButtonValueDateModule=(()=>{class e{static \u0275fac=function(v){return new(v||e)};static \u0275mod=c.\u0275\u0275defineNgModule({type:e});static \u0275inj=c.\u0275\u0275defineInjector({imports:[l.IonicModule,u.CommonModule]})}return e})()},72284:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.ButtonValueModule=void 0;const n=s(81316),l=s(92512),u=s(91368),c=n.__importStar(s(54496));m.ButtonValueModule=(()=>{class e{static \u0275fac=function(v){return new(v||e)};static \u0275mod=c.\u0275\u0275defineNgModule({type:e});static \u0275inj=c.\u0275\u0275defineInjector({imports:[u.CommonModule,l.IonicModule]})}return e})()},13228:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.ButtonValueComponent=void 0;const n=s(81316),l=s(54496),u=n.__importStar(s(54496)),c=n.__importStar(s(14652)),i=n.__importStar(s(34388)),e=n.__importStar(s(19668)),o=n.__importStar(s(29743)),h=n.__importStar(s(91368)),v=n.__importStar(s(92512));function M(S,y){if(1&S&&(u.\u0275\u0275elementStart(0,"table",10)(1,"tr"),u.\u0275\u0275element(2,"td",11),u.\u0275\u0275elementEnd()()),2&S){const f=u.\u0275\u0275nextContext();u.\u0275\u0275advance(2),u.\u0275\u0275property("innerHTML",f.Wert_A_String,u.\u0275\u0275sanitizeHtml)}}function p(S,y){if(1&S&&(u.\u0275\u0275elementStart(0,"table",12)(1,"tr"),u.\u0275\u0275element(2,"td",11),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(3,"tr"),u.\u0275\u0275element(4,"td",13),u.\u0275\u0275elementEnd()()),2&S){const f=u.\u0275\u0275nextContext();u.\u0275\u0275advance(2),u.\u0275\u0275property("innerHTML",f.Wert_A_String,u.\u0275\u0275sanitizeHtml),u.\u0275\u0275advance(2),u.\u0275\u0275property("innerHTML",f.Wert_B,u.\u0275\u0275sanitizeHtml)}}m.ButtonValueComponent=(()=>{class S{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 l.EventEmitter;DisabledButtonClicked=new l.EventEmitter;RGB;Wert_A_String;constructor(f,C,_,w){this.Basics=f,this.Debug=C,this.Tools=_,this.Const=w;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(D){this.Debug.ShowErrorMessage(D.message,"Button Value","Constructor",this.Debug.Typen.Component)}}ngOnInit(){}ngOnChanges(f){try{let C=f.Buttoncolor,_=f.Wert_A;typeof C<"u"&&(C.firstChange||(this.RGB=this.Tools.HexToRGB(C.currentValue))),typeof _<"u"&&typeof _.currentValue<"u"&&"string"==typeof _.currentValue&&(this.Wert_A_String=_.currentValue)}catch(C){this.Debug.ShowErrorMessage(C.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(C){return new(C||S)(u.\u0275\u0275directiveInject(c.BasicsProvider),u.\u0275\u0275directiveInject(i.DebugProvider),u.\u0275\u0275directiveInject(e.ToolsProvider),u.\u0275\u0275directiveInject(o.ConstProvider))};static \u0275cmp=u.\u0275\u0275defineComponent({type:S,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:[u.\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(C,_){1&C&&(u.\u0275\u0275elementStart(0,"div",0),u.\u0275\u0275listener("click",function(){return _.ButtonClickedHandler()}),u.\u0275\u0275elementStart(1,"div",1)(2,"div",2)(3,"table",3)(4,"tr")(5,"td",4)(6,"ion-text",5),u.\u0275\u0275text(7),u.\u0275\u0275elementEnd()()()()()(),u.\u0275\u0275elementStart(8,"div",6)(9,"div",7),u.\u0275\u0275template(10,M,3,1,"table",8)(11,p,5,2,"table",9),u.\u0275\u0275elementEnd()()()),2&C&&(u.\u0275\u0275styleProp("background",_.Enabled?_.Buttoncolor:_.Basics.Farben.ButtongrauDisabled),u.\u0275\u0275advance(),u.\u0275\u0275styleProp("width",_.Linkebreite,"%"),u.\u0275\u0275advance(6),u.\u0275\u0275textInterpolate(_.Buttontext),u.\u0275\u0275advance(),u.\u0275\u0275styleProp("width",_.Rechtebreite,"%"),u.\u0275\u0275advance(),u.\u0275\u0275styleProp("background",_.Buttonvaluecolor),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",""===_.Wert_B),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",""!==_.Wert_B))},dependencies:[h.NgIf,v.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 S})()},25856:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.CheckboxClonComponent=void 0;const n=s(81316),l=s(54496),u=n.__importStar(s(54496)),c=n.__importStar(s(14652)),i=n.__importStar(s(19668)),e=n.__importStar(s(34388));m.CheckboxClonComponent=(()=>{class h{Basics;Tools;Debug;Checked=!1;Enabled=!0;CanUnselect=!0;Index=-1;Background="white";Value=null;CheckChanged=new l.EventEmitter;ImgSource;constructor(M,p,E){this.Basics=M,this.Tools=p,this.Debug=E;try{this.ImgSource=this.Basics.Svgpath+"hacken.svg"}catch(S){this.Debug.ShowErrorMessage(S.message,"Checkbox","constructor",this.Debug.Typen.Component)}}PrepareData(){try{this.Background=!1===this.Enabled?"#B2BABB":"white"}catch(M){this.Debug.ShowErrorMessage(M,"Checkbox","PrepareData",this.Debug.Typen.Component)}}ngOnInit(){try{this.PrepareData()}catch(M){this.Debug.ShowErrorMessage(M,"Checkbox","ngOnInit",this.Debug.Typen.Component)}}DivClickedHnadler(M){try{M.stopPropagation(),M.preventDefault(),(this.Enabled&&!0===this.CanUnselect||this.Enabled&&!1===this.CanUnselect&&!1===this.Checked)&&this.CheckChanged.emit({status:!this.Checked,index:this.Index,event:M,value:this.Value})}catch(p){this.Debug.ShowErrorMessage(p.message,"Checkbox","DivClickedHnadler",this.Debug.Typen.Component)}}ngOnChanges(M){try{let p;p=M.Enabled,typeof p<"u"&&this.PrepareData()}catch(p){this.Debug.ShowErrorMessage(p.message,"Alphabet","ngOnChanges",this.Debug.Typen.Component)}}static \u0275fac=function(p){return new(p||h)(u.\u0275\u0275directiveInject(c.BasicsProvider),u.\u0275\u0275directiveInject(i.ToolsProvider),u.\u0275\u0275directiveInject(e.DebugProvider))};static \u0275cmp=u.\u0275\u0275defineComponent({type:h,selectors:[["checkbox-clon"]],inputs:{Checked:"Checked",Enabled:"Enabled",CanUnselect:"CanUnselect",Index:"Index",Background:"Background",Value:"Value"},outputs:{CheckChanged:"CheckChanged"},features:[u.\u0275\u0275NgOnChangesFeature],decls:2,vars:4,consts:[[1,"keeperdivclass",3,"click"],[2,"width","18px","height","18px",3,"hidden","src"]],template:function(p,E){1&p&&(u.\u0275\u0275elementStart(0,"div",0),u.\u0275\u0275listener("click",function(y){return E.DivClickedHnadler(y)}),u.\u0275\u0275element(1,"img",1),u.\u0275\u0275elementEnd()),2&p&&(u.\u0275\u0275styleProp("background",E.Background),u.\u0275\u0275advance(),u.\u0275\u0275property("hidden",!E.Checked)("src",E.ImgSource,u.\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 h})()},7388:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.CheckboxClonModule=void 0;const n=s(81316),l=s(92512),u=s(91368),c=n.__importStar(s(54496));m.CheckboxClonModule=(()=>{class e{static \u0275fac=function(v){return new(v||e)};static \u0275mod=c.\u0275\u0275defineNgModule({type:e});static \u0275inj=c.\u0275\u0275defineInjector({imports:[u.CommonModule,l.IonicModule]})}return e})()},61540:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.InputCloneKeeperModule=void 0;const n=s(81316),l=s(92512),u=s(91368),c=n.__importStar(s(54496));m.InputCloneKeeperModule=(()=>{class e{static \u0275fac=function(v){return new(v||e)};static \u0275mod=c.\u0275\u0275defineNgModule({type:e});static \u0275inj=c.\u0275\u0275defineInjector({imports:[u.CommonModule,l.IonicModule]})}return e})()},38056:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.InputCloneComponent=void 0;const n=s(81316),l=s(54496),u=n.__importStar(s(78776)),c=n.__importStar(s(54496)),i=n.__importStar(s(34388)),e=n.__importStar(s(14652)),o=n.__importStar(s(19668)),h=n.__importStar(s(91368)),v=n.__importStar(s(92512));function M(N,V){1&N&&c.\u0275\u0275element(0,"td")}function p(N,V){if(1&N&&(c.\u0275\u0275elementStart(0,"tr")(1,"td",4),c.\u0275\u0275text(2),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(3,"td",5),c.\u0275\u0275element(4,"ion-icon",6),c.\u0275\u0275elementEnd(),c.\u0275\u0275template(5,M,1,0,"td",3),c.\u0275\u0275elementEnd()),2&N){const G=c.\u0275\u0275nextContext();c.\u0275\u0275styleProp("color",G.Titelcolor),c.\u0275\u0275advance(2),c.\u0275\u0275textInterpolate(G.Titel),c.\u0275\u0275advance(),c.\u0275\u0275property("hidden",!1===G.Clickable),c.\u0275\u0275advance(2),c.\u0275\u0275property("ngIf",null!==G.Einheit)}}function E(N,V){if(1&N){const G=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"ion-input",10),c.\u0275\u0275listener("ionInput",function(k){c.\u0275\u0275restoreView(G);const A=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(A.TextChangedHandler(k))}),c.\u0275\u0275elementEnd()}if(2&N){const G=c.\u0275\u0275nextContext(2);c.\u0275\u0275styleProp("font-size",G.Textsize,"px"),c.\u0275\u0275property("inputmode",G.Inputtype)("label",G.Titel)("debounce",G.Debouncetime)("value",G.Value)("color",G.Textcolor)}}function S(N,V){if(1&N&&(c.\u0275\u0275elementStart(0,"ion-label"),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()),2&N){const G=c.\u0275\u0275nextContext(2);c.\u0275\u0275advance(),c.\u0275\u0275textInterpolate(G.Value)}}function y(N,V){if(1&N&&(c.\u0275\u0275elementStart(0,"td",11),c.\u0275\u0275text(1),c.\u0275\u0275elementEnd()),2&N){const G=c.\u0275\u0275nextContext(2);c.\u0275\u0275advance(),c.\u0275\u0275textInterpolate(G.Einheit)}}function f(N,V){if(1&N&&(c.\u0275\u0275elementStart(0,"tr")(1,"td",7),c.\u0275\u0275template(2,E,1,7,"ion-input",8)(3,S,2,1,"ion-label",3),c.\u0275\u0275elementEnd(),c.\u0275\u0275template(4,y,2,1,"td",9),c.\u0275\u0275elementEnd()),2&N){const G=c.\u0275\u0275nextContext();c.\u0275\u0275advance(2),c.\u0275\u0275property("ngIf",!0===G.Enabled),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",!1===G.Enabled),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",null!==G.Einheit)}}function C(N,V){if(1&N){const G=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"ion-textarea",15),c.\u0275\u0275listener("ionChange",function(k){c.\u0275\u0275restoreView(G);const A=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(A.TextChangedHandler(k))}),c.\u0275\u0275elementEnd()}if(2&N){const G=c.\u0275\u0275nextContext(2);c.\u0275\u0275property("label",G.Titel)("debounce",G.Debouncetime)("value",G.Value)("rows",G.Lines)}}function _(N,V){if(1&N&&c.\u0275\u0275element(0,"div",16),2&N){const G=c.\u0275\u0275nextContext(2);c.\u0275\u0275styleProp("height",18*G.Lines,"px"),c.\u0275\u0275property("innerHTML",G.Tools.FormatLinebreaks(G.Value),c.\u0275\u0275sanitizeHtml)}}function w(N,V){1&N&&c.\u0275\u0275element(0,"td")}function D(N,V){if(1&N&&(c.\u0275\u0275elementStart(0,"tr")(1,"td",12),c.\u0275\u0275template(2,C,1,4,"ion-textarea",13)(3,_,1,3,"div",14),c.\u0275\u0275elementEnd(),c.\u0275\u0275template(4,w,1,0,"td",3),c.\u0275\u0275elementEnd()),2&N){const G=c.\u0275\u0275nextContext();c.\u0275\u0275advance(2),c.\u0275\u0275property("ngIf",!0===G.Enabled),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",!1===G.Enabled),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",null!==G.Einheit)}}m.InputCloneComponent=(()=>{class N{Debug;Basics;Tools;Titel;Titelcolor;Value;Debouncetime;ValueChange=new l.EventEmitter;MinLength;MaxLength;Enabled;Clickable;MinHeight;Inputtype;Required;Lines;DisabledColor;OkBorderColor;ParseToFloat;Textcolor;Textsize;Einheit;TextChanged=new l.EventEmitter;RequiredBorder;DisabledBorder;Valid;JoiShema;OkBorder;constructor(G,R,k){this.Debug=G,this.Basics=R,this.Tools=k;try{let A=1;this.OkBorderColor=this.Basics.Farben.Burnicklgrau,this.DisabledColor=this.Basics.Farben.Blau,this.OkBorder=A+"px solid "+this.OkBorderColor,this.RequiredBorder=A+"px solid "+this.Basics.Farben.Orange,this.DisabledBorder=A+"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(A){this.Debug.ShowErrorMessage(A.message,"Input Clone","constructor",this.Debug.Typen.Component)}}ngAfterViewInit(){}ngOnInit(){try{let R;"text"===this.Inputtype||"email"===this.Inputtype?(R=u.string(),"email"===this.Inputtype&&(R=R.email({tlds:{allow:!1}}))):R=u.number(),this.MinLength>0&&(R=R.min(this.MinLength)),this.MaxLength>0&&(R=R.max(this.MaxLength)),R=!0===this.Required?R.required():R.allow(""),this.JoiShema=u.object({Text:R}).options({stripUnknown:!0}),this.Valid=this.CheckValid(this.Value)}catch(G){this.Debug.ShowErrorMessage(G.message,"Input Clone","ngOnInit",this.Debug.Typen.Component)}}CheckValid(G){try{let R,k;return this.JoiShema?(R=this.JoiShema.validate({Text:G}),R.error?(k=!1,this.Debug.ShowErrorMessage(R.error.message,"Input Clone","CheckValid",this.Debug.Typen.Component)):k=!0):k=!1,k}catch(R){this.Debug.ShowErrorMessage(R.message,"Input Clone","CheckValid",this.Debug.Typen.Component)}}TextChangedHandler(G){try{let R="text"===this.Inputtype||"email"===this.Inputtype?G.detail.value:this.ParseToFloat?parseFloat(G.detail.value):parseInt(G.detail.value);!0===this.Enabled&&(typeof R>"u"&&(R=""),this.Valid=this.CheckValid(R),this.ValueChange.emit(R),this.TextChanged.emit({Titel:this.Titel,Text:R,Valid:this.Valid})),G.stopPropagation(),G.preventDefault()}catch(R){this.Debug.ShowErrorMessage(R.message,"Input Clone","TextChangedHandler",this.Debug.Typen.Component)}}ngOnChanges(G){try{let R=1,k=G.Value;typeof k<"u"&&(this.Valid=this.CheckValid(k.currentValue),this.TextChanged.emit({Titel:this.Titel,Text:k.currentValue,Valid:this.Valid})),this.DisabledBorder=R+"px solid "+this.DisabledColor,this.OkBorder=R+"px solid "+this.OkBorderColor}catch(R){this.Debug.ShowErrorMessage(R.message,"Input Clone","ngOnChanges",this.Debug.Typen.Component)}}static \u0275fac=function(R){return new(R||N)(c.\u0275\u0275directiveInject(i.DebugProvider),c.\u0275\u0275directiveInject(e.BasicsProvider),c.\u0275\u0275directiveInject(o.ToolsProvider))};static \u0275cmp=c.\u0275\u0275defineComponent({type:N,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:[c.\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(R,k){1&R&&(c.\u0275\u0275elementStart(0,"div",0)(1,"table",1),c.\u0275\u0275template(2,p,6,5,"tr",2)(3,f,5,3,"tr",3)(4,D,5,3,"tr",3),c.\u0275\u0275elementEnd()()),2&R&&(c.\u0275\u0275styleProp("cursor",!0===k.Clickable?"pointer":"default")("min-height",k.MinHeight,"px")("border",!0===k.Enabled?!0===k.Valid?k.OkBorder:k.RequiredBorder:k.DisabledBorder),c.\u0275\u0275advance(2),c.\u0275\u0275property("ngIf",null!==k.Titel&&""!==k.Titel&&!1===k.Enabled),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",1===k.Lines),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",1!==k.Lines))},dependencies:[h.NgIf,v.IonIcon,v.IonInput,v.IonLabel,v.IonTextarea,v.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 N})()},33780:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.InputCloneModule=void 0;const n=s(81316),l=s(92512),u=s(91368),c=n.__importStar(s(54496));m.InputCloneModule=(()=>{class e{static \u0275fac=function(v){return new(v||e)};static \u0275mod=c.\u0275\u0275defineNgModule({type:e});static \u0275inj=c.\u0275\u0275defineInjector({imports:[u.CommonModule,l.IonicModule]})}return e})()},90520:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.PageFooterModule=void 0;const n=s(81316),l=s(92512),u=s(91368),c=n.__importStar(s(54496));m.PageFooterModule=(()=>{class e{static \u0275fac=function(v){return new(v||e)};static \u0275mod=c.\u0275\u0275defineNgModule({type:e});static \u0275inj=c.\u0275\u0275defineInjector({imports:[l.IonicModule,u.CommonModule]})}return e})()},29856:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.PageFooterComponent=void 0;const n=s(81316),l=s(54496),u=n.__importStar(s(54496)),c=n.__importStar(s(29743)),i=n.__importStar(s(34388)),e=n.__importStar(s(14652)),o=["PageFooterFrameDiv"],h=["*"];m.PageFooterComponent=(()=>{class M{Const;Debug;Basics;PageFooterFrameDiv;MaxFooterhoehe;constructor(E,S,y){this.Const=E,this.Debug=S,this.Basics=y}ngOnInit(){}InitMaximalhoehe(){try{return this.MaxFooterhoehe=this.PageFooterFrameDiv.nativeElement.clientHeight,this.MaxFooterhoehe}catch(E){this.Debug.ShowErrorMessage(E.message,"Page Footer","InitMaximalhoehe",this.Debug.Typen.Component)}}static \u0275fac=function(S){return new(S||M)(u.\u0275\u0275directiveInject(c.ConstProvider),u.\u0275\u0275directiveInject(i.DebugProvider),u.\u0275\u0275directiveInject(e.BasicsProvider))};static \u0275cmp=u.\u0275\u0275defineComponent({type:M,selectors:[["page-footer"]],viewQuery:function(S,y){if(1&S&&u.\u0275\u0275viewQuery(o,7,l.ElementRef),2&S){let f;u.\u0275\u0275queryRefresh(f=u.\u0275\u0275loadQuery())&&(y.PageFooterFrameDiv=f.first)}},ngContentSelectors:h,decls:3,vars:0,consts:[[1,"keeperclass"],["PageFooterFrameDiv",""]],template:function(S,y){1&S&&(u.\u0275\u0275projectionDef(),u.\u0275\u0275elementStart(0,"div",0,1),u.\u0275\u0275projection(2),u.\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 M})()},89300:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.PageHeaderCenterModule=void 0;const n=s(81316),l=s(92512),u=s(91368),c=n.__importStar(s(54496));m.PageHeaderCenterModule=(()=>{class e{static \u0275fac=function(v){return new(v||e)};static \u0275mod=c.\u0275\u0275defineNgModule({type:e});static \u0275inj=c.\u0275\u0275defineInjector({imports:[u.CommonModule,l.IonicModule]})}return e})()},63792:(pe,m,s)=>{"use strict";var n=s(1196).default;Object.defineProperty(m,"__esModule",{value:!0}),m.PageHeaderMenuComponent=void 0;const l=s(81316),u=s(54496),c=l.__importDefault(s(35908)),i=l.__importStar(s(54496)),e=l.__importStar(s(34388)),o=l.__importStar(s(14652)),h=l.__importStar(s(29743)),v=l.__importStar(s(22848)),M=l.__importStar(s(15024)),p=l.__importStar(s(48044)),E=l.__importStar(s(58864)),S=l.__importStar(s(9544)),y=l.__importStar(s(8608)),f=l.__importStar(s(97092)),C=l.__importStar(s(7992)),_=l.__importStar(s(59460)),w=l.__importStar(s(91368)),D=l.__importStar(s(92512)),L=["Suchleiste"],N=["Suchleiste2"],V=["ion-searchbar"];function G(Ae,Be){if(1&Ae){const re=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275elementStart(1,"td")(2,"div",5),i.\u0275\u0275listener("mouseenter",function(){i.\u0275\u0275restoreView(re);const et=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(et.HomeMouseOver=!0)})("mouseleave",function(){i.\u0275\u0275restoreView(re);const et=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(et.HomeMouseOver=!1)})("click",function(){i.\u0275\u0275restoreView(re);const et=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(et.MainMenueButtonClicked(et.Menuservice.MainMenuebereiche.Home))}),i.\u0275\u0275elementStart(3,"table",6)(4,"tr")(5,"td"),i.\u0275\u0275element(6,"ion-icon",7),i.\u0275\u0275elementEnd()()()()(),i.\u0275\u0275elementStart(7,"td",8),i.\u0275\u0275element(8,"div"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementContainerEnd()}if(2&Ae){const re=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(6),i.\u0275\u0275property("color",re.HomeMouseOver?re.Basics.Ionicfarben.Schwarz:re.Basics.Ionicfarben.Weiss),i.\u0275\u0275advance(2),i.\u0275\u0275classMap(re.Menuservice.MainMenuebereich===re.Menuservice.MainMenuebereiche.Projekte?"trennerbigdivclass":"trennerdivclass")}}function R(Ae,Be){if(1&Ae){const re=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275element(1,"td",15),i.\u0275\u0275elementStart(2,"td")(3,"div",12),i.\u0275\u0275listener("click",function(){i.\u0275\u0275restoreView(re);const et=i.\u0275\u0275nextContext(3);return i.\u0275\u0275resetView(et.UrlaubMenueButtonClicked(et.Menuservice.UrlaubMenuebereiche.Gesamtplanung))}),i.\u0275\u0275elementStart(4,"table",6)(5,"tr")(6,"td"),i.\u0275\u0275element(7,"ion-icon",22),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(8,"td"),i.\u0275\u0275text(9,"Gesamtplanung"),i.\u0275\u0275elementEnd()()()()(),i.\u0275\u0275elementContainerEnd()}if(2&Ae){const re=i.\u0275\u0275nextContext(3);i.\u0275\u0275advance(7),i.\u0275\u0275property("color",re.GetUrlaubMenueIconcolor(re.Menuservice.UrlaubMenuebereiche.Gesamtplanung)),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("color",re.GetUrlaubMenueFontcolor(re.Menuservice.UrlaubMenuebereiche.Gesamtplanung))}}function k(Ae,Be){if(1&Ae&&(i.\u0275\u0275elementStart(0,"td")(1,"ion-badge",23),i.\u0275\u0275text(2),i.\u0275\u0275elementEnd()()),2&Ae){const re=i.\u0275\u0275nextContext(3);i.\u0275\u0275advance(2),i.\u0275\u0275textInterpolate((re.DBUrlaub.Urlaubsanfragenanzahl+re.DBUrlaub.Homeofficeanfragenanzahl).toString())}}function A(Ae,Be){1&Ae&&(i.\u0275\u0275elementStart(0,"td"),i.\u0275\u0275element(1,"img",24),i.\u0275\u0275elementEnd())}function H(Ae,Be){if(1&Ae){const re=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"td")(1,"ion-button",27),i.\u0275\u0275listener("click",function(){i.\u0275\u0275restoreView(re);const et=i.\u0275\u0275nextContext(4);return i.\u0275\u0275resetView(et.UrlaubMitarbeiterMeClicked.emit())}),i.\u0275\u0275element(2,"ion-icon",28),i.\u0275\u0275elementEnd()()}}function K(Ae,Be){if(1&Ae){const re=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"td",25)(1,"table")(2,"tr")(3,"td")(4,"ion-button",26),i.\u0275\u0275listener("click",function(){i.\u0275\u0275restoreView(re);const et=i.\u0275\u0275nextContext(3);return i.\u0275\u0275resetView(et.UrlaubMitarbeiterClicked.emit())}),i.\u0275\u0275text(5),i.\u0275\u0275elementEnd()(),i.\u0275\u0275template(6,H,3,0,"td",0),i.\u0275\u0275elementEnd()()()}if(2&Ae){const re=i.\u0275\u0275nextContext(3);i.\u0275\u0275advance(5),i.\u0275\u0275textInterpolate(null!==re.DBUrlaub.CurrentMitarbeiter?re.DBUrlaub.CurrentMitarbeiter.Vorname+" "+re.DBUrlaub.CurrentMitarbeiter.Name:"unbekannt"),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",null!==re.DBUrlaub.CurrentMitarbeiter&&re.DBUrlaub.CurrentMitarbeiter._id!==re.Pool.Mitarbeiterdaten._id)}}function ie(Ae,Be){if(1&Ae){const re=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"td")(1,"table")(2,"tr")(3,"td")(4,"div",5),i.\u0275\u0275listener("mouseenter",function(){i.\u0275\u0275restoreView(re);const et=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(et.LogoutMouseOver=!0)})("mouseleave",function(){i.\u0275\u0275restoreView(re);const et=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(et.LogoutMouseOver=!1)})("click",function(){i.\u0275\u0275restoreView(re);const et=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(et.LogoutButtonClicked())}),i.\u0275\u0275elementStart(5,"table",6)(6,"tr")(7,"td"),i.\u0275\u0275element(8,"ion-icon",9),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(9,"td"),i.\u0275\u0275text(10,"Abmelden"),i.\u0275\u0275elementEnd()()()()(),i.\u0275\u0275element(11,"td",3),i.\u0275\u0275elementStart(12,"td",8),i.\u0275\u0275element(13,"div",10),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(14,"td")(15,"div",5),i.\u0275\u0275listener("mouseenter",function(){i.\u0275\u0275restoreView(re);const et=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(et.JahrMouseOver=!0)})("mouseleave",function(){i.\u0275\u0275restoreView(re);const et=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(et.JahrMouseOver=!1)})("click",function(){i.\u0275\u0275restoreView(re);const et=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(et.JahrButtonClicked.emit())}),i.\u0275\u0275elementStart(16,"table",6)(17,"tr")(18,"td"),i.\u0275\u0275element(19,"ion-icon",11),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(20,"td"),i.\u0275\u0275text(21),i.\u0275\u0275elementEnd()()()()(),i.\u0275\u0275element(22,"td",3),i.\u0275\u0275elementStart(23,"td",8),i.\u0275\u0275element(24,"div",10),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(25,"td")(26,"div",12),i.\u0275\u0275listener("click",function(){i.\u0275\u0275restoreView(re);const et=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(et.UrlaubMenueButtonClicked(et.Menuservice.UrlaubMenuebereiche.Planung))}),i.\u0275\u0275elementStart(27,"table",6)(28,"tr")(29,"td"),i.\u0275\u0275element(30,"ion-icon",13),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(31,"td",14),i.\u0275\u0275text(32,"Planung"),i.\u0275\u0275elementEnd()()()()(),i.\u0275\u0275element(33,"td",15),i.\u0275\u0275elementStart(34,"td")(35,"div",12),i.\u0275\u0275listener("click",function(){i.\u0275\u0275restoreView(re);const et=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(et.UrlaubMenueButtonClicked(et.Menuservice.UrlaubMenuebereiche.Uebersicht))}),i.\u0275\u0275elementStart(36,"table",6)(37,"tr")(38,"td"),i.\u0275\u0275element(39,"ion-icon",16),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(40,"td"),i.\u0275\u0275text(41,"\xdcbersicht"),i.\u0275\u0275elementEnd()()()()(),i.\u0275\u0275template(42,R,10,3,"ng-container",0),i.\u0275\u0275element(43,"td",15),i.\u0275\u0275elementStart(44,"td")(45,"div",12),i.\u0275\u0275listener("click",function(){i.\u0275\u0275restoreView(re);const et=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(et.UrlaubMenueButtonClicked(et.Menuservice.UrlaubMenuebereiche.Freigaben))}),i.\u0275\u0275elementStart(46,"table",6)(47,"tr")(48,"td"),i.\u0275\u0275element(49,"ion-icon",17),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(50,"td"),i.\u0275\u0275text(51,"Anfragen"),i.\u0275\u0275elementEnd(),i.\u0275\u0275template(52,k,3,1,"td",0),i.\u0275\u0275elementEnd()()()(),i.\u0275\u0275element(53,"td",15),i.\u0275\u0275elementStart(54,"td")(55,"div",12),i.\u0275\u0275listener("click",function(){i.\u0275\u0275restoreView(re);const et=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(et.UrlaubMenueButtonClicked(et.Menuservice.UrlaubMenuebereiche.Einstellungen))}),i.\u0275\u0275elementStart(56,"table",6)(57,"tr")(58,"td"),i.\u0275\u0275element(59,"ion-icon",18),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(60,"td"),i.\u0275\u0275text(61,"Einstellungen"),i.\u0275\u0275elementEnd()()()()(),i.\u0275\u0275template(62,A,2,0,"td",0),i.\u0275\u0275element(63,"td",19),i.\u0275\u0275template(64,K,7,2,"td",20),i.\u0275\u0275element(65,"td",21),i.\u0275\u0275elementEnd()()()}if(2&Ae){const re=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(4),i.\u0275\u0275styleProp("cursor",re.LogoutMouseOver?"pointer":"default"),i.\u0275\u0275advance(4),i.\u0275\u0275property("color",re.LogoutMouseOver?re.Basics.Ionicfarben.Schwarz:re.Basics.Ionicfarben.Weiss),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("color",re.LogoutMouseOver?"#000000":"white"),i.\u0275\u0275advance(6),i.\u0275\u0275styleProp("cursor",re.JahrMouseOver?"pointer":"default"),i.\u0275\u0275advance(4),i.\u0275\u0275property("color",re.JahrMouseOver?re.Basics.Ionicfarben.Schwarz:re.Basics.Ionicfarben.Weiss),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("color",re.JahrMouseOver?"#000000":"white"),i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate1("Jahr ",re.DBUrlaub.CurrentJahr,""),i.\u0275\u0275advance(9),i.\u0275\u0275property("color",re.GetUrlaubMenueIconcolor(re.Menuservice.UrlaubMenuebereiche.Planung)),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("color",re.GetUrlaubMenueFontcolor(re.Menuservice.UrlaubMenuebereiche.Planung)),i.\u0275\u0275advance(8),i.\u0275\u0275property("color",re.GetUrlaubMenueIconcolor(re.Menuservice.UrlaubMenuebereiche.Uebersicht)),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("color",re.GetUrlaubMenueFontcolor(re.Menuservice.UrlaubMenuebereiche.Uebersicht)),i.\u0275\u0275advance(2),i.\u0275\u0275property("ngIf",!0===re.Pool.Mitarbeiterdaten.Urlaubsfreigaben||!0===re.Pool.Mitarbeiterdaten.Homeofficefreigaben||re.Pool.Mitarbeiterdaten.Planeradministrator),i.\u0275\u0275advance(7),i.\u0275\u0275property("color",re.GetUrlaubMenueIconcolor(re.Menuservice.UrlaubMenuebereiche.Freigaben)),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("color",re.GetUrlaubMenueFontcolor(re.Menuservice.UrlaubMenuebereiche.Freigaben)),i.\u0275\u0275advance(2),i.\u0275\u0275property("ngIf",re.DBUrlaub.Urlaubsanfragenanzahl>0||re.DBUrlaub.Homeofficeanfragenanzahl>0),i.\u0275\u0275advance(7),i.\u0275\u0275property("color",re.GetUrlaubMenueIconcolor(re.Menuservice.UrlaubMenuebereiche.Einstellungen)),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("color",re.GetUrlaubMenueFontcolor(re.Menuservice.UrlaubMenuebereiche.Einstellungen)),i.\u0275\u0275advance(2),i.\u0275\u0275property("ngIf",!1===re.DBUrlaub.CorrectSetup),i.\u0275\u0275advance(2),i.\u0275\u0275property("ngIf",null!==re.Pool.Mitarbeiterdaten&&!0===re.Pool.Mitarbeiterdaten.Planeradministrator)}}function X(Ae,Be){if(1&Ae){const re=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"td")(1,"div",5),i.\u0275\u0275listener("mouseenter",function(){i.\u0275\u0275restoreView(re);const et=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(et.BackMouseOver=!0)})("mouseleave",function(){i.\u0275\u0275restoreView(re);const et=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(et.BackMouseOver=!1)})("click",function(){i.\u0275\u0275restoreView(re);const et=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(et.BackButtonClicked())}),i.\u0275\u0275elementStart(2,"table",6)(3,"tr")(4,"td"),i.\u0275\u0275element(5,"ion-icon",29),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(6,"td"),i.\u0275\u0275text(7,"Zur\xfcck"),i.\u0275\u0275elementEnd()()()()()}if(2&Ae){const re=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(),i.\u0275\u0275styleProp("cursor",re.BackMouseOver?"pointer":"default"),i.\u0275\u0275advance(4),i.\u0275\u0275property("color",re.BackMouseOver?re.Basics.Ionicfarben.BAEBlau:re.Basics.Ionicfarben.Weiss),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("color",re.BackMouseOver?"#000000":"white")}}function be(Ae,Be){1&Ae&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275element(1,"td",15),i.\u0275\u0275elementStart(2,"td"),i.\u0275\u0275element(3,"ion-searchbar",30,31),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementContainerEnd())}function ce(Ae,Be){if(1&Ae){const re=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275element(1,"td",15),i.\u0275\u0275elementStart(2,"td")(3,"div",32),i.\u0275\u0275listener("click",function(){i.\u0275\u0275restoreView(re);const et=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(et.StandortButtonClicked())}),i.\u0275\u0275elementStart(4,"table",6)(5,"tr")(6,"td"),i.\u0275\u0275element(7,"ion-icon",33),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(8,"td",34),i.\u0275\u0275text(9),i.\u0275\u0275elementEnd()()()()(),i.\u0275\u0275elementContainerEnd()}if(2&Ae){const re=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(9),i.\u0275\u0275textInterpolate(re.DBStandort.GetStandortfiller())}}function ze(Ae,Be){if(1&Ae&&(i.\u0275\u0275elementStart(0,"table")(1,"tr")(2,"td"),i.\u0275\u0275element(3,"img",36),i.\u0275\u0275elementEnd(),i.\u0275\u0275element(4,"td",3),i.\u0275\u0275elementEnd()()),2&Ae){const re=i.\u0275\u0275nextContext(3);i.\u0275\u0275advance(3),i.\u0275\u0275property("src",re.GraphService.UserimageSRC,i.\u0275\u0275sanitizeUrl)}}function ct(Ae,Be){if(1&Ae&&(i.\u0275\u0275elementStart(0,"div",37),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()),2&Ae){const re=i.\u0275\u0275nextContext(3);i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate1(" ",null!==re.Pool.Mitarbeiterdaten?re.Pool.Mitarbeiterdaten.Kuerzel:"---"," ")}}function xe(Ae,Be){if(1&Ae&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275template(1,ze,5,1,"table",0)(2,ct,2,1,"div",35),i.\u0275\u0275elementContainerEnd()),2&Ae){const re=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",null!==re.GraphService.UserimageSRC),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",null===re.GraphService.UserimageSRC)}}function Ie(Ae,Be){if(1&Ae&&i.\u0275\u0275element(0,"td",44),2&Ae){const re=i.\u0275\u0275nextContext(3);i.\u0275\u0275styleProp("width",re.Timelinebreite,"px")}}function Le(Ae,Be){if(1&Ae&&i.\u0275\u0275element(0,"td",44),2&Ae){const re=i.\u0275\u0275nextContext(3);i.\u0275\u0275styleProp("width",re.Timelinebreite,"px")}}function Ue(Ae,Be){if(1&Ae&&i.\u0275\u0275element(0,"td",44),2&Ae){const re=i.\u0275\u0275nextContext(3);i.\u0275\u0275styleProp("width",re.Timelinebreite,"px")}}function Xe(Ae,Be){if(1&Ae&&i.\u0275\u0275element(0,"td",44),2&Ae){const re=i.\u0275\u0275nextContext(3);i.\u0275\u0275styleProp("width",re.Timelinebreite,"px")}}function _e(Ae,Be){if(1&Ae&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275elementStart(1,"tr")(2,"td",38),i.\u0275\u0275element(3,"div",39),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(4,"tr")(5,"td",40)(6,"table")(7,"tr")(8,"td")(9,"div",41),i.\u0275\u0275text(10),i.\u0275\u0275elementEnd()(),i.\u0275\u0275template(11,Ie,1,2,"td",42),i.\u0275\u0275element(12,"td",43),i.\u0275\u0275elementStart(13,"td")(14,"div",41),i.\u0275\u0275text(15),i.\u0275\u0275elementEnd()(),i.\u0275\u0275template(16,Le,1,2,"td",42),i.\u0275\u0275element(17,"td",43),i.\u0275\u0275elementStart(18,"td")(19,"div",41),i.\u0275\u0275text(20),i.\u0275\u0275elementEnd()(),i.\u0275\u0275template(21,Ue,1,2,"td",42),i.\u0275\u0275element(22,"td",43),i.\u0275\u0275elementStart(23,"td")(24,"div",41),i.\u0275\u0275text(25),i.\u0275\u0275elementEnd()(),i.\u0275\u0275template(26,Xe,1,2,"td",42),i.\u0275\u0275element(27,"td",43),i.\u0275\u0275elementStart(28,"td")(29,"div",41),i.\u0275\u0275text(30),i.\u0275\u0275elementEnd()()()()()(),i.\u0275\u0275elementContainerEnd()),2&Ae){const re=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(8),i.\u0275\u0275styleProp("width",re.Tagbreite,"px"),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("height",re.Wochentaghoehe,"px"),i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate3("Montag ",re.Timelineindex," ",re.GetDatumtext("Montag")," ",re.DBMitarbeiter.GetMeinewocheStunden("Montag"),""),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",0===re.Timelineindex),i.\u0275\u0275advance(2),i.\u0275\u0275styleProp("width",re.Tagbreite,"px"),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("height",re.Wochentaghoehe,"px"),i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate2("Dienstag ",re.GetDatumtext("Dienstag")," ",re.DBMitarbeiter.GetMeinewocheStunden("Dienstag"),""),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",1===re.Timelineindex),i.\u0275\u0275advance(2),i.\u0275\u0275styleProp("width",re.Tagbreite,"px"),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("height",re.Wochentaghoehe,"px"),i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate2("Mittwoch ",re.GetDatumtext("Mittwoch")," ",re.DBMitarbeiter.GetMeinewocheStunden("Mittwoch"),""),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",2===re.Timelineindex),i.\u0275\u0275advance(2),i.\u0275\u0275styleProp("width",re.Tagbreite,"px"),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("height",re.Wochentaghoehe,"px"),i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate2("Donnerstag ",re.GetDatumtext("Donnerstag")," ",re.DBMitarbeiter.GetMeinewocheStunden("Donnerstag"),""),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",3===re.Timelineindex),i.\u0275\u0275advance(2),i.\u0275\u0275styleProp("width",re.Tagbreite,"px"),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("height",re.Wochentaghoehe,"px"),i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate2("Freitag ",re.GetDatumtext("Freitag")," ",re.DBMitarbeiter.GetMeinewocheStunden("Freitag"),"")}}function Fe(Ae,Be){if(1&Ae&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275elementStart(1,"table",1)(2,"tr")(3,"td",2)(4,"table")(5,"tr"),i.\u0275\u0275element(6,"td",3),i.\u0275\u0275template(7,G,9,3,"ng-container",0)(8,ie,66,27,"td",0)(9,X,8,5,"td",0)(10,be,5,0,"ng-container",0)(11,ce,10,1,"ng-container",0),i.\u0275\u0275elementEnd()()(),i.\u0275\u0275elementStart(12,"td",4),i.\u0275\u0275template(13,xe,3,2,"ng-container",0),i.\u0275\u0275elementEnd()(),i.\u0275\u0275template(14,_e,31,35,"ng-container",0),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementContainerEnd()),2&Ae){const re=i.\u0275\u0275nextContext();i.\u0275\u0275advance(7),i.\u0275\u0275property("ngIf",null!==re.Pool.Mitarbeiterdaten&&re.Pool.Mitarbeiterdaten.Planeradministrator),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",re.Menuservice.MainMenuebereich===re.Menuservice.MainMenuebereiche.Urlaubsplanung),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",re.Menuservice.MainMenuebereich===re.Menuservice.MainMenuebereiche.Email),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",re.ShowSuchleiste),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",re.ShowSandortfilter),i.\u0275\u0275advance(2),i.\u0275\u0275property("ngIf",!1===re.AuthService.ShowLogin),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",re.Menuservice.MainMenuebereich===re.Menuservice.MainMenuebereiche.Projekte&&re.Menuservice.ProjekteMenuebereich===re.Menuservice.ProjekteMenuebereiche.Aufgabenliste&&re.Menuservice.Aufgabenlisteansicht===re.Menuservice.Aufgabenlisteansichten.Meine_Woche)}}m.PageHeaderMenuComponent=(()=>{class Ae{Debug;Basics;Const;DBMitarbeiter;DBMitarbeitersettings;Auswahlservice;DBStandort;DBUrlaub;GraphService;AuthService;Pool;Menuservice;Suchleiste;Suchleiste2;Sucheiste3;ShowSandortfilter;ShowSuchleiste;Filterorigin;ShowStandorttitle;ShowMitarbeitertitle;ShowProjektetitle;ShowFavoritentitle;SendFestlegungenEnabled;Timelineindex;SucheChanged=new u.EventEmitter;StandortfilterClicked=new u.EventEmitter;ZeitspanneFilterClicked=new u.EventEmitter;LeistungsphaseFilterClicked=new u.EventEmitter;FilterChanged=new u.EventEmitter;ShowProjektauswahlEvent=new u.EventEmitter;ShowProjektfilesEvent=new u.EventEmitter;LOPListeZeitspanneEvent=new u.EventEmitter;ShowOpenFestlegungOnlyEvent=new u.EventEmitter;SendFestlegungenClicked=new u.EventEmitter;ShowUngelesenOnlyChanged=new u.EventEmitter;ProjektsortierungChanged=new u.EventEmitter;EmailDatumChanged=new u.EventEmitter;PlanungsmatrixLeistungsphaseClicked=new u.EventEmitter;ShowLOPListeInfoeintraegeChanged=new u.EventEmitter;ExpandFestlegungeEvent=new u.EventEmitter;UrlaubMitarbeiterClicked=new u.EventEmitter;UrlaubMitarbeiterMeClicked=new u.EventEmitter;JahrButtonClicked=new u.EventEmitter;SuchleisteInputSubscription;Suchleiste2InputSubscription;SuchleisteClearSubscription;Suchleiste2ClearSubscription;FavoritenSubscription;Inputtimer;Projektauswahlbreite;Wochentaghoehe;Tagbreite;HomeMouseOver;EmailMouseOver;FilesMouseOver;ShowOpenFestlegungOnly;BackMouseOver;Timelinebreite;LogoutMouseOver;JahrMouseOver;constructor(re,Ee,et,vt,Tt,dt,ot,Vt,nn,vn,zt,Xt){this.Debug=re,this.Basics=Ee,this.Const=et,this.DBMitarbeiter=vt,this.DBMitarbeitersettings=Tt,this.Auswahlservice=dt,this.DBStandort=ot,this.DBUrlaub=Vt,this.GraphService=nn,this.AuthService=vn,this.Pool=zt,this.Menuservice=Xt;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.JahrMouseOver=!1,this.Timelineindex=0}catch(En){this.Debug.ShowErrorMessage(En.message,"Page Header Menu","consturctor",this.Debug.Typen.Component)}}LogoutButtonClicked(){try{this.Pool.ProjektdatenLoaded=!1,this.AuthService.Logout()}catch(re){this.Debug.ShowErrorMessage(re.message,"Page Header Menu","LogoutButtonClicked",this.Debug.Typen.Component)}}ngOnDestroy(){}BackButtonClicked(){try{this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Projekte,this.Menuservice.SetCurrentPage()}catch(re){this.Debug.ShowErrorMessage(re,"Page Header Menu","BackButtonClicked",this.Debug.Typen.Component)}}ngOnInit(){try{this.Projektauswahlbreite=this.Basics.Contentbreite-630}catch(re){this.Debug.ShowErrorMessage(re.message,"Page Header Menu","OnInit",this.Debug.Typen.Component)}}ngAfterViewInit(){var re=this;return n(function*(){try{re.Tagbreite=(re.Basics.Contentbreite-4-re.Timelinebreite)/5}catch(Ee){re.Debug.ShowErrorMessage(Ee.message,"Page Header Menu","ngAfterViewInit",re.Debug.Typen.Component)}})()}MainMenueButtonClicked(re){try{this.Menuservice.MainMenuebereich=re,this.Menuservice.SetCurrentPage()}catch(Ee){this.Debug.ShowErrorMessage(Ee.message,"Page Header Menu","MainMenueButtonClicked",this.Debug.Typen.Component)}}FirmaMenueButtonClicked(re){try{this.Menuservice.FirmaMenuebereich=re,this.Menuservice.SetCurrentPage()}catch(Ee){this.Debug.ShowErrorMessage(Ee.message,"Page Header Menu","FirmaMenueButtonClicked",this.Debug.Typen.Component)}}ProjekteMenueButtonClicked(re){try{this.Menuservice.ProjekteMenuebereich=re,this.Menuservice.ProjekteMenuebereich===this.Menuservice.ProjekteMenuebereiche.Aufgabenliste&&(this.Menuservice.Aufgabenlisteansicht=this.Menuservice.Aufgabenlisteansichten.Projekt),this.Menuservice.SetCurrentPage()}catch(Ee){this.Debug.ShowErrorMessage(Ee.message,"Page Header Menu","ProjekteMenueButtonClicked",this.Debug.Typen.Component)}}UrlaubMenueButtonClicked(re){try{this.Menuservice.UrlaubMenuebereich=re,this.Menuservice.UrlaubMenuebereich===this.Menuservice.ProjekteMenuebereiche.Aufgabenliste&&(this.Menuservice.Aufgabenlisteansicht=this.Menuservice.Aufgabenlisteansichten.Projekt),this.Menuservice.SetCurrentPage()}catch(Ee){this.Debug.ShowErrorMessage(Ee.message,"Page Header Menu","ProjekteMenueButtonClicked",this.Debug.Typen.Component)}}GetProjekteMenueIconcolor(re){try{return re===this.Menuservice.ProjekteMenuebereich?"schwarz":"weiss"}catch(Ee){this.Debug.ShowErrorMessage(Ee.message,"Page Header Menu","GetProjekteMenueIconcolor",this.Debug.Typen.Component)}}GetProjekteMenueFontcolor(re){try{return re===this.Menuservice.ProjekteMenuebereich?"#000000":"white"}catch(Ee){this.Debug.ShowErrorMessage(Ee.message,"Page Header Menu","GetProjekteMenueIconcolor",this.Debug.Typen.Component)}}GetUrlaubMenueIconcolor(re){try{return re===this.Menuservice.UrlaubMenuebereich?"schwarz":"weiss"}catch(Ee){this.Debug.ShowErrorMessage(Ee.message,"Page Header Menu","GetUrlaubMenueIconcolor",this.Debug.Typen.Component)}}GetUrlaubMenueFontcolor(re){try{return re===this.Menuservice.UrlaubMenuebereich?"#000000":"white"}catch(Ee){this.Debug.ShowErrorMessage(Ee.message,"Page Header Menu","GetUrlaubMenueFontcolor",this.Debug.Typen.Component)}}StandortButtonClicked(){try{this.StandortfilterClicked.emit()}catch(re){this.Debug.ShowErrorMessage(re.message,"Page Header Menu","StandortButtonClicked",this.Debug.Typen.Component)}}ZeitspaneClickedHandler(re){try{this.ZeitspanneFilterClicked.emit(re)}catch(Ee){this.Debug.ShowErrorMessage(Ee.message,"Page Header Menu","ZeitspaneClickedHandler",this.Debug.Typen.Component)}}LeistungsphaseClickedHandler(){try{this.LeistungsphaseFilterClicked.emit()}catch(re){this.Debug.ShowErrorMessage(re.message,"Page Header Menu","LeistungsphaseClickedHandler",this.Debug.Typen.Component)}}StatusFilterShowFaelligOnlyChanged(re){}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(re){this.Debug.ShowErrorMessage(re.message,"Page Header Menu","GetZeitfilterButtontext",this.Debug.Typen.Component)}}GetZeitfilterButtonwert(){try{let re,Ee,et="";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?(re=(0,c.default)(this.Pool.Mitarbeitersettings.AufgabenTerminfilterStartwert),re.format("DD.MM.YYYY")):"Unbekannt";case this.Const.Faelligkeitsterminfiltervarianten.Bis_zum_Zeitpunkt:return null!==this.Pool.Mitarbeitersettings.AufgabenTerminfilterEndewert?(Ee=(0,c.default)(this.Pool.Mitarbeitersettings.AufgabenTerminfilterEndewert),Ee.format("DD.MM.YYYY")):"Unbekannt";case this.Const.Faelligkeitsterminfiltervarianten.Zeitspanne:return null!==this.Pool.Mitarbeitersettings.AufgabenTerminfilterStartwert?(re=(0,c.default)(this.Pool.Mitarbeitersettings.AufgabenTerminfilterStartwert),et+=re.format("DD.MM.YYYY")):et+="Unbekannt",et+=" - ",null!==this.Pool.Mitarbeitersettings.AufgabenTerminfilterEndewert?(Ee=(0,c.default)(this.Pool.Mitarbeitersettings.AufgabenTerminfilterEndewert),et+=Ee.format("DD.MM.YYYY")):et+="Unbekannt",et;case this.Const.Faelligkeitsterminfiltervarianten.Nur_diesen_Monat:case this.Const.Faelligkeitsterminfiltervarianten.Nur_diese_Woche:return"Unbekannt";default:return"kein Filter"}}}catch(re){this.Debug.ShowErrorMessage(re.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(re){this.Debug.ShowErrorMessage(re,"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(re){this.Debug.ShowErrorMessage(re,"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(re){this.Debug.ShowErrorMessage(re,"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(re){this.Debug.ShowErrorMessage(re,"Page Header Menu","ProjektClicked",this.Debug.Typen.Component)}}ProjektfilesClicked(){try{this.GraphService.FilebrowserModus=this.GraphService.FilebrowserModusvarianten.Current_Projekt,this.ShowProjektfilesEvent.emit()}catch(re){this.Debug.ShowErrorMessage(re,"Page Header Menu","ProjektfilesClicked",this.Debug.Typen.Component)}}ShowOpenFestlegungOnlyChanged(re){try{this.ShowOpenFestlegungOnly=re.status,this.ShowOpenFestlegungOnlyEvent.emit(re.status)}catch(Ee){this.Debug.ShowErrorMessage(Ee,"Page Header Menu","ShowOpenFestlegungOnlyChanged",this.Debug.Typen.Component)}}GetDatumtext(re){try{let et=(0,c.default)().locale("de").clone().startOf("isoWeek");switch(re){case"Montag":return et.format("DD.MM.");case"Dienstag":return et.clone().add(1,"day").format("DD.MM.");case"Mittwoch":return et.clone().add(2,"day").format("DD.MM.");case"Donnerstag":return et.clone().add(3,"day").format("DD.MM.");case"Freitag":return et.clone().add(4,"day").format("DD.MM.")}return""}catch(Ee){this.Debug.ShowErrorMessage(Ee,"Page Header Menu","GetDatumtext",this.Debug.Typen.Component)}}static \u0275fac=function(Ee){return new(Ee||Ae)(i.\u0275\u0275directiveInject(e.DebugProvider),i.\u0275\u0275directiveInject(o.BasicsProvider),i.\u0275\u0275directiveInject(h.ConstProvider),i.\u0275\u0275directiveInject(v.DatabaseMitarbeiterService),i.\u0275\u0275directiveInject(M.DatabaseMitarbeitersettingsService),i.\u0275\u0275directiveInject(p.AuswahlDialogService),i.\u0275\u0275directiveInject(E.DatabaseStandorteService),i.\u0275\u0275directiveInject(S.DatabaseUrlaubService),i.\u0275\u0275directiveInject(y.Graphservice),i.\u0275\u0275directiveInject(f.DatabaseAuthenticationService),i.\u0275\u0275directiveInject(C.DatabasePoolService),i.\u0275\u0275directiveInject(_.MenueService))};static \u0275cmp=i.\u0275\u0275defineComponent({type:Ae,selectors:[["page-header-menu"]],viewQuery:function(Ee,et){if(1&Ee&&(i.\u0275\u0275viewQuery(L,5),i.\u0275\u0275viewQuery(N,5),i.\u0275\u0275viewQuery(V,5)),2&Ee){let vt;i.\u0275\u0275queryRefresh(vt=i.\u0275\u0275loadQuery())&&(et.Suchleiste=vt.first),i.\u0275\u0275queryRefresh(vt=i.\u0275\u0275loadQuery())&&(et.Suchleiste2=vt.first),i.\u0275\u0275queryRefresh(vt=i.\u0275\u0275loadQuery())&&(et.Sucheiste3=vt)}},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",UrlaubMitarbeiterMeClicked:"UrlaubMitarbeiterMeClicked",JahrButtonClicked:"JahrButtonClicked"},decls:1,vars:1,consts:[[4,"ngIf"],[2,"width","100%"],[2,"width","auto"],[2,"width","10px"],[2,"width","50px"],[1,"menubuttonclass",3,"mouseenter","mouseleave","click"],[1,"paddingsmalltable"],["name","home-outline",2,"font-size","16px",3,"color"],["align","center",1,"trennertdclass"],["name","log-out-outline",2,"font-size","18px",3,"color"],[1,"trennerdivclass"],["name","sunny-outline",2,"font-size","18px",3,"color"],[1,"menubuttonclass",3,"click"],["name","create-outline",2,"font-size","16px",3,"color"],[2,"white-space","nowrap"],[2,"width","20px"],["name","calendar-outline",2,"font-size","16px",3,"color"],["name","thumbs-up-outline",2,"font-size","16px",3,"color"],["name","settings-outline",2,"font-size","16px",3,"color"],[2,"width","60px"],["style","font-size: 90%; color: white;",4,"ngIf"],[2,"width","120px"],["name","apps-outline",2,"font-size","16px",3,"color"],["color","rot"],["src","assets/svgs/alert.svg",2,"width","24px"],[2,"font-size","90%","color","white"],["size","small","color","grau",3,"click"],["size","small","color","grau","slot","icon-only",3,"click"],["name","person-circle-outline"],["name","arrow-back-circle-outline",2,"font-size","16px",3,"color"],["placeholder","Suche"],["Suchleiste",""],[1,"menufilterbuttonclass",3,"click"],["name","funnel-outline","color","weiss",2,"font-size","16px"],[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(Ee,et){1&Ee&&i.\u0275\u0275template(0,Fe,15,7,"ng-container",0),2&Ee&&i.\u0275\u0275property("ngIf",null!==et.AuthService.ActiveUser)},dependencies:[w.NgIf,D.IonBadge,D.IonButton,D.IonIcon,D.IonSearchbar,D.TextValueAccessor],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 Ae})()},6168:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.PageHeaderMenuModule=void 0;const n=s(81316),l=s(92512),u=s(91368),c=s(72284),i=s(7388),e=s(22844),o=n.__importStar(s(54496));m.PageHeaderMenuModule=(()=>{class v{static \u0275fac=function(E){return new(E||v)};static \u0275mod=o.\u0275\u0275defineNgModule({type:v});static \u0275inj=o.\u0275\u0275defineInjector({imports:[u.CommonModule,l.IonicModule,c.ButtonValueModule,i.CheckboxClonModule,e.ButtonValueDateModule]})}return v})()},70216:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.PageHeaderModule=void 0;const n=s(81316),l=s(92512),u=s(91368),c=n.__importStar(s(54496));m.PageHeaderModule=(()=>{class e{static \u0275fac=function(v){return new(v||e)};static \u0275mod=c.\u0275\u0275defineNgModule({type:e});static \u0275inj=c.\u0275\u0275defineInjector({imports:[u.CommonModule,l.IonicModule]})}return e})()},90212:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.PageHeaderComponent=void 0;const n=s(81316),l=s(54496),u=n.__importStar(s(54496)),c=n.__importStar(s(34388)),i=n.__importStar(s(14652)),e=n.__importStar(s(7992)),o=n.__importStar(s(29743)),h=n.__importStar(s(91368)),v=n.__importStar(s(92512)),M=["PageHeaderDiv"];function p(y,f){if(1&y&&(u.\u0275\u0275elementStart(0,"div",3)(1,"table",4)(2,"tr")(3,"td")(4,"div",5),u.\u0275\u0275text(5),u.\u0275\u0275elementEnd()()(),u.\u0275\u0275elementStart(6,"tr")(7,"td")(8,"div",6)(9,"table",7)(10,"tr")(11,"td",8),u.\u0275\u0275text(12),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(13,"tr")(14,"td"),u.\u0275\u0275element(15,"ion-progress-bar",9),u.\u0275\u0275elementEnd()()()()()(),u.\u0275\u0275elementStart(16,"tr")(17,"td"),u.\u0275\u0275element(18,"div",10),u.\u0275\u0275elementEnd()()()()),2&y){const C=u.\u0275\u0275nextContext();u.\u0275\u0275advance(5),u.\u0275\u0275textInterpolate1(" ",C.ProgressMessage," "),u.\u0275\u0275advance(7),u.\u0275\u0275textInterpolate1(" ",C.Pool.ProgressMessage," "),u.\u0275\u0275advance(3),u.\u0275\u0275property("value",C.Pool.CurrentProgressValue/C.Pool.MaxProgressValue)}}const E=["*"];m.PageHeaderComponent=(()=>{class y{Debug;Basics;Pool;Const;PageHeaderDiv;ProgressMessage;constructor(C,_,w,D){this.Debug=C,this.Basics=_,this.Pool=w,this.Const=D;try{this.ProgressMessage="Stammdaten werden geladen werden geladen"}catch(L){this.Debug.ShowErrorMessage(L.message,"Page Header","Construktor",this.Debug.Typen.Component)}}ngOnInit(){}static \u0275fac=function(_){return new(_||y)(u.\u0275\u0275directiveInject(c.DebugProvider),u.\u0275\u0275directiveInject(i.BasicsProvider),u.\u0275\u0275directiveInject(e.DatabasePoolService),u.\u0275\u0275directiveInject(o.ConstProvider))};static \u0275cmp=u.\u0275\u0275defineComponent({type:y,selectors:[["page-header"]],viewQuery:function(_,w){if(1&_&&u.\u0275\u0275viewQuery(M,7,l.ElementRef),2&_){let D;u.\u0275\u0275queryRefresh(D=u.\u0275\u0275loadQuery())&&(w.PageHeaderDiv=D.first)}},inputs:{ProgressMessage:"ProgressMessage"},ngContentSelectors:E,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(_,w){1&_&&(u.\u0275\u0275projectionDef(),u.\u0275\u0275elementStart(0,"div",0,1),u.\u0275\u0275projection(2),u.\u0275\u0275template(3,p,19,3,"div",2),u.\u0275\u0275elementEnd()),2&_&&(u.\u0275\u0275advance(3),u.\u0275\u0275property("ngIf",w.Pool.ShowProgress))},dependencies:[h.NgIf,v.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 y})()},54588:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.PageModalKeepermodule=void 0;const n=s(81316),l=s(92512),u=s(91368),c=s(70216),i=n.__importStar(s(54496));m.PageModalKeepermodule=(()=>{class o{static \u0275fac=function(M){return new(M||o)};static \u0275mod=i.\u0275\u0275defineNgModule({type:o});static \u0275inj=i.\u0275\u0275defineInjector({imports:[u.CommonModule,l.IonicModule,c.PageHeaderModule]})}return o})()},6232:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.UrlausplanungKalenderModule=void 0;const n=s(81316),l=s(92512),u=s(91368),c=s(44716),i=s(90520),e=s(89300),o=n.__importStar(s(54496));m.UrlausplanungKalenderModule=(()=>{class v{static \u0275fac=function(E){return new(E||v)};static \u0275mod=o.\u0275\u0275defineNgModule({type:v});static \u0275inj=o.\u0275\u0275defineInjector({imports:[u.CommonModule,l.IonicModule,c.ReactiveFormsModule,c.FormsModule,i.PageFooterModule,e.PageHeaderCenterModule]})}return v})()},77440:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.UrlaubsplanungKalenderComponent=void 0;const n=s(81316),l=s(54496),u=n.__importDefault(s(35908));s(94091);const c=n.__importStar(s(17964)),i=n.__importStar(s(54496)),e=n.__importStar(s(34388)),o=n.__importStar(s(14652)),h=n.__importStar(s(7992)),v=n.__importStar(s(21052)),M=n.__importStar(s(9544)),p=n.__importStar(s(19668)),E=n.__importStar(s(29743)),S=n.__importStar(s(91368)),y=n.__importStar(s(92512));function f(vt,Tt){1&vt&&i.\u0275\u0275element(0,"div",12)}function C(vt,Tt){1&vt&&i.\u0275\u0275element(0,"div",12)}function _(vt,Tt){1&vt&&i.\u0275\u0275element(0,"div",12)}function w(vt,Tt){1&vt&&i.\u0275\u0275element(0,"div",12)}function D(vt,Tt){1&vt&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275element(1,"div",12),i.\u0275\u0275elementContainerEnd())}function L(vt,Tt){1&vt&&i.\u0275\u0275element(0,"div",17)}function N(vt,Tt){1&vt&&i.\u0275\u0275element(0,"div",17)}function V(vt,Tt){1&vt&&i.\u0275\u0275element(0,"div",17)}function G(vt,Tt){1&vt&&i.\u0275\u0275element(0,"div",17)}function R(vt,Tt){1&vt&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275element(1,"div",17),i.\u0275\u0275elementContainerEnd())}const k=()=>[];function A(vt,Tt){if(1&vt&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275elementStart(1,"div",5)(2,"div",15),i.\u0275\u0275text(3),i.\u0275\u0275elementEnd(),i.\u0275\u0275template(4,L,1,0,"div",16)(5,N,1,0,"div",16)(6,V,1,0,"div",16)(7,G,1,0,"div",16)(8,R,2,0,"ng-container",7),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementContainerEnd()),2&vt){const dt=i.\u0275\u0275nextContext().$implicit,ot=i.\u0275\u0275nextContext(),Vt=ot.$implicit,nn=ot.index,vn=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(3),i.\u0275\u0275textInterpolate(dt.Tagnummer),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",vn.DB.ShowFerientage_DE),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",vn.DB.ShowFerientage_BG),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",vn.DB.ShowFeiertage_DE),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",vn.DB.ShowFeiertage_BG),i.\u0275\u0275advance(),i.\u0275\u0275property("ngForOf",i.\u0275\u0275pureFunction0(6,k).constructor(vn.GetMaxExternUrlaubseintraege(Vt[nn].Kalenderwoche)))}}function H(vt,Tt){1&vt&&(i.\u0275\u0275elementStart(0,"tr")(1,"td",20),i.\u0275\u0275text(2,"H"),i.\u0275\u0275elementEnd()())}function K(vt,Tt){1&vt&&(i.\u0275\u0275elementStart(0,"tr")(1,"td",20),i.\u0275\u0275text(2,"HO"),i.\u0275\u0275elementEnd()())}function ie(vt,Tt){1&vt&&i.\u0275\u0275element(0,"ion-icon",25)}function X(vt,Tt){if(1&vt){const dt=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"div",23),i.\u0275\u0275listener("mouseenter",function(){i.\u0275\u0275restoreView(dt);const Vt=i.\u0275\u0275nextContext(3).$implicit,nn=i.\u0275\u0275nextContext(3);return i.\u0275\u0275resetView(nn.FerientagMouseOverEvent(Vt,"DE"))})("mouseleave",function(){i.\u0275\u0275restoreView(dt);const Vt=i.\u0275\u0275nextContext(6);return i.\u0275\u0275resetView(Vt.FerientagCrossedEvent.emit({Name:"",Laendercode:""}))}),i.\u0275\u0275template(1,ie,1,0,"ion-icon",24),i.\u0275\u0275elementEnd()}if(2&vt){const dt=i.\u0275\u0275nextContext(3).$implicit,ot=i.\u0275\u0275nextContext(3);i.\u0275\u0275styleProp("background",dt.IsFerientag_DE?ot.DB.Ferienfarbe_DE:dt.Background),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",dt.IsFerientag_DE)}}function be(vt,Tt){1&vt&&i.\u0275\u0275element(0,"ion-icon",27)}function ce(vt,Tt){if(1&vt){const dt=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"div",23),i.\u0275\u0275listener("mouseenter",function(){i.\u0275\u0275restoreView(dt);const Vt=i.\u0275\u0275nextContext(3).$implicit,nn=i.\u0275\u0275nextContext(3);return i.\u0275\u0275resetView(nn.FerientagMouseOverEvent(Vt,"BG"))})("mouseleave",function(){i.\u0275\u0275restoreView(dt);const Vt=i.\u0275\u0275nextContext(6);return i.\u0275\u0275resetView(Vt.FerientagCrossedEvent.emit({Name:"",Laendercode:""}))}),i.\u0275\u0275template(1,be,1,0,"ion-icon",26),i.\u0275\u0275elementEnd()}if(2&vt){const dt=i.\u0275\u0275nextContext(3).$implicit,ot=i.\u0275\u0275nextContext(3);i.\u0275\u0275styleProp("background",dt.IsFerientag_BG?ot.DB.Ferienfarbe_BG:dt.Background),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",dt.IsFerientag_BG)}}function ze(vt,Tt){1&vt&&i.\u0275\u0275element(0,"ion-icon",30)}function ct(vt,Tt){if(1&vt){const dt=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"div",28),i.\u0275\u0275listener("mouseenter",function(){i.\u0275\u0275restoreView(dt);const Vt=i.\u0275\u0275nextContext(3).$implicit,nn=i.\u0275\u0275nextContext(3);return i.\u0275\u0275resetView(nn.FeietragMouseOverEvent(Vt,"DE"))})("mouseleave",function(){i.\u0275\u0275restoreView(dt);const Vt=i.\u0275\u0275nextContext(6);return i.\u0275\u0275resetView(Vt.FeiertagCrossedEvent.emit({Name:"",Laendercode:""}))}),i.\u0275\u0275template(1,ze,1,0,"ion-icon",29),i.\u0275\u0275elementEnd()}if(2&vt){const dt=i.\u0275\u0275nextContext(3).$implicit,ot=i.\u0275\u0275nextContext(3);i.\u0275\u0275styleProp("background",dt.IsFeiertag_DE?ot.DB.Feiertagefarbe_DE:dt.Background),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",dt.IsFeiertag_DE)}}function xe(vt,Tt){1&vt&&i.\u0275\u0275element(0,"ion-icon",32)}function Ie(vt,Tt){if(1&vt){const dt=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"div",28),i.\u0275\u0275listener("mouseenter",function(){i.\u0275\u0275restoreView(dt);const Vt=i.\u0275\u0275nextContext(3).$implicit,nn=i.\u0275\u0275nextContext(3);return i.\u0275\u0275resetView(nn.FeietragMouseOverEvent(Vt,"BG"))})("mouseleave",function(){i.\u0275\u0275restoreView(dt);const Vt=i.\u0275\u0275nextContext(6);return i.\u0275\u0275resetView(Vt.FeiertagCrossedEvent.emit({Name:"",Laendercode:""}))}),i.\u0275\u0275template(1,xe,1,0,"ion-icon",31),i.\u0275\u0275elementEnd()}if(2&vt){const dt=i.\u0275\u0275nextContext(3).$implicit,ot=i.\u0275\u0275nextContext(3);i.\u0275\u0275styleProp("background",dt.IsFeiertag_BG?ot.DB.Feiertagefarbe_BG:dt.Background),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",dt.IsFeiertag_BG)}}function Le(vt,Tt){if(1&vt){const dt=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"div",35),i.\u0275\u0275listener("click",function(Vt){i.\u0275\u0275restoreView(dt);const nn=i.\u0275\u0275nextContext(2).$implicit,vn=i.\u0275\u0275nextContext(3).index,zt=i.\u0275\u0275nextContext().index,Xt=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(Xt.ExternUrlaubstagClicked(Vt,nn[zt][vn].MitarbeiterID))}),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()}if(2&vt){const dt=i.\u0275\u0275nextContext(2).$implicit,ot=i.\u0275\u0275nextContext(3).index,Vt=i.\u0275\u0275nextContext().index;i.\u0275\u0275styleProp("background",dt[Vt][ot].Background),i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate1(" ",dt[Vt][ot].Kuerzel," ")}}function Ue(vt,Tt){if(1&vt&&(i.\u0275\u0275elementStart(0,"div",36),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()),2&vt){const dt=i.\u0275\u0275nextContext(2).$implicit,ot=i.\u0275\u0275nextContext(3).index,Vt=i.\u0275\u0275nextContext().index;i.\u0275\u0275styleProp("background",dt[Vt][ot].Background),i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate1(" ",dt[Vt][ot].Kuerzel," | HO ")}}function Xe(vt,Tt){if(1&vt&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275template(1,Le,2,3,"div",33)(2,Ue,2,3,"div",34),i.\u0275\u0275elementContainerEnd()),2&vt){const dt=i.\u0275\u0275nextContext().$implicit,ot=i.\u0275\u0275nextContext(3).index,Vt=i.\u0275\u0275nextContext().index,nn=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",dt[Vt][ot].IsUrlaub),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",dt[Vt][ot].IsHomeoffice&&nn.Pool.Mitarbeitersettings.ShowHomeoffice)}}function _e(vt,Tt){if(1&vt&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275template(1,Xe,3,2,"ng-container",14),i.\u0275\u0275elementContainerEnd()),2&vt){const dt=Tt.$implicit,ot=i.\u0275\u0275nextContext(3).index,Vt=i.\u0275\u0275nextContext().index,nn=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",!nn.lodash.isUndefined(dt[Vt])&&!nn.lodash.isUndefined(dt[Vt][ot]))}}function Fe(vt,Tt){if(1&vt){const dt=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275elementStart(1,"div",18),i.\u0275\u0275listener("click",function(Vt){i.\u0275\u0275restoreView(dt);const nn=i.\u0275\u0275nextContext(2),vn=nn.$implicit,zt=nn.index,Xt=i.\u0275\u0275nextContext().index,En=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(En.TagClicked(Vt,vn,Xt,zt))}),i.\u0275\u0275elementStart(2,"div",19)(3,"table")(4,"tr")(5,"td",20),i.\u0275\u0275text(6),i.\u0275\u0275elementEnd()(),i.\u0275\u0275template(7,H,3,0,"tr",14)(8,K,3,0,"tr",14),i.\u0275\u0275elementEnd()(),i.\u0275\u0275template(9,X,2,3,"div",21)(10,ce,2,3,"div",21)(11,ct,2,3,"div",22)(12,Ie,2,3,"div",22)(13,_e,2,1,"ng-container",7),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementContainerEnd()}if(2&vt){const dt=i.\u0275\u0275nextContext(2).$implicit,ot=i.\u0275\u0275nextContext(3);i.\u0275\u0275advance(2),i.\u0275\u0275styleProp("background",ot.GetTagBackground(dt))("color",dt.Color),i.\u0275\u0275advance(4),i.\u0275\u0275textInterpolate(dt.Tagnummer),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",dt.IsHalberUrlaubstag),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",dt.IsHomeoffice&&ot.Pool.Mitarbeitersettings.ShowHomeoffice),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",ot.DB.ShowFerientage_DE),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",ot.DB.ShowFerientage_BG),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",ot.DB.ShowFeiertage_DE),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",ot.DB.ShowFeiertage_BG),i.\u0275\u0275advance(),i.\u0275\u0275property("ngForOf",ot.KalendertageExternliste)}}function Ce(vt,Tt){if(1&vt&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275text(1),i.\u0275\u0275elementContainerEnd()),2&vt){const dt=i.\u0275\u0275nextContext(2).$implicit;i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate1(" ",dt.Tagnummer," ")}}function Ae(vt,Tt){if(1&vt&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275template(1,Fe,14,12,"ng-container",14)(2,Ce,2,1,"ng-container",14),i.\u0275\u0275elementContainerEnd()),2&vt){const dt=i.\u0275\u0275nextContext().$implicit,ot=i.\u0275\u0275nextContext(3);i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",!0===dt.Hauptmonat&&null!==ot.Pool.Mitarbeitersettings),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",!1===dt.Hauptmonat)}}function Be(vt,Tt){if(1&vt&&(i.\u0275\u0275elementStart(0,"td",13),i.\u0275\u0275template(1,A,9,7,"ng-container",14)(2,Ae,3,2,"ng-container",14),i.\u0275\u0275elementEnd()),2&vt){const ot=Tt.index;i.\u0275\u0275styleProp("color",!0===Tt.$implicit.Hauptmonat?"black":"darkgray"),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",ot>=5),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",ot<5)}}function re(vt,Tt){if(1&vt&&(i.\u0275\u0275elementStart(0,"tr")(1,"td",8)(2,"div",5)(3,"div",9),i.\u0275\u0275text(4),i.\u0275\u0275elementEnd(),i.\u0275\u0275template(5,f,1,0,"div",10)(6,C,1,0,"div",10)(7,_,1,0,"div",10)(8,w,1,0,"div",10)(9,D,2,0,"ng-container",7),i.\u0275\u0275elementEnd()(),i.\u0275\u0275template(10,Be,3,4,"td",11),i.\u0275\u0275elementEnd()),2&vt){const dt=Tt.$implicit,ot=Tt.index,Vt=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(4),i.\u0275\u0275textInterpolate(dt[ot].Kalenderwoche),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",Vt.DB.ShowFerientage_DE),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",Vt.DB.ShowFerientage_BG),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",Vt.DB.ShowFeiertage_DE),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",Vt.DB.ShowFeiertage_BG),i.\u0275\u0275advance(),i.\u0275\u0275property("ngForOf",i.\u0275\u0275pureFunction0(7,k).constructor(Vt.GetMaxExternUrlaubseintraege(dt[ot].Kalenderwoche))),i.\u0275\u0275advance(),i.\u0275\u0275property("ngForOf",dt)}}function Ee(vt,Tt){if(1&vt&&(i.\u0275\u0275elementStart(0,"div",1)(1,"table",2)(2,"tr")(3,"td",3),i.\u0275\u0275text(4),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(5,"tr")(6,"td",4)(7,"div",5)(8,"div",6),i.\u0275\u0275text(9,"KW"),i.\u0275\u0275elementEnd()()(),i.\u0275\u0275elementStart(10,"td",4)(11,"div",5)(12,"div",6),i.\u0275\u0275text(13,"Mo"),i.\u0275\u0275elementEnd()()(),i.\u0275\u0275elementStart(14,"td",4)(15,"div",5)(16,"div",6),i.\u0275\u0275text(17,"Di"),i.\u0275\u0275elementEnd()()(),i.\u0275\u0275elementStart(18,"td",4)(19,"div",5)(20,"div",6),i.\u0275\u0275text(21,"Mi"),i.\u0275\u0275elementEnd()()(),i.\u0275\u0275elementStart(22,"td",4)(23,"div",5)(24,"div",6),i.\u0275\u0275text(25,"Do"),i.\u0275\u0275elementEnd()()(),i.\u0275\u0275elementStart(26,"td",4)(27,"div",5)(28,"div",6),i.\u0275\u0275text(29,"Fr"),i.\u0275\u0275elementEnd()()(),i.\u0275\u0275elementStart(30,"td",4)(31,"div",5)(32,"div",6),i.\u0275\u0275text(33,"Sa"),i.\u0275\u0275elementEnd()()(),i.\u0275\u0275elementStart(34,"td",4)(35,"div",5)(36,"div",6),i.\u0275\u0275text(37,"So"),i.\u0275\u0275elementEnd()()()(),i.\u0275\u0275template(38,re,11,8,"tr",7),i.\u0275\u0275elementEnd()()),2&vt){const dt=i.\u0275\u0275nextContext();i.\u0275\u0275advance(4),i.\u0275\u0275textInterpolate1(" ",dt.GetMonatname()," "),i.\u0275\u0275advance(34),i.\u0275\u0275property("ngForOf",dt.Kalendertageliste)}}m.UrlaubsplanungKalenderComponent=(()=>{class vt{Debug;Basics;Pool;Displayservice;DB;Tools;Const;ShowProtokollpunkte;Iconname;Dialogbreite;Dialoghoehe;PositionY;ZIndex;Monatindex;Jahr;AddUrlaubRunning;AddHomeofficerunning;AddHalberUrlaubstagRunning;ShowYear;FeiertagCrossedEvent=new l.EventEmitter;FerientagCrossedEvent=new l.EventEmitter;AddUrlaubFinishedEvent=new l.EventEmitter;AddHomeofficeFinishedEvent=new l.EventEmitter;ExternUrlaubstagClickedEvent=new l.EventEmitter;Kalendertageliste;KalendertageExternliste;DataSubscription;MonateSubscription;Monatname;ExterneUrlaubSubscription;UrlaubStatusSubscription;HomeofficeStatusSubscription;ExterneHomeofficeSubscription;CurrentTagindex;CurrentWochenindex;CancelUrlaubSubscription;UpdateKalenderSubscription;constructor(dt,ot,Vt,nn,vn,zt,Xt){this.Debug=dt,this.Basics=ot,this.Pool=Vt,this.Displayservice=nn,this.DB=vn,this.Tools=zt,this.Const=Xt;try{this.Dialogbreite=300,this.Dialoghoehe=400,this.Jahr=2023,this.ShowProtokollpunkte=!0,this.Kalendertageliste=[],this.KalendertageExternliste=[],this.Monatname="none",this.AddUrlaubRunning=!1,this.AddHomeofficerunning=!1,this.Monatindex=0,this.ShowYear=!1,this.CurrentWochenindex=null,this.CurrentTagindex=null,this.Monatname=this.DB.Monateliste[this.Monatindex],this.DataSubscription=null,this.MonateSubscription=null,this.ExterneUrlaubSubscription=null,this.UrlaubStatusSubscription=null,this.HomeofficeStatusSubscription=null,this.ExterneHomeofficeSubscription=null,this.CancelUrlaubSubscription=null}catch(En){this.Debug.ShowErrorMessage(En.message,"Urlaubsplanung Kalender","Construktor",this.Debug.Typen.Component)}}ngOnChanges(dt){try{let Vt=dt.AddHomeofficerunning;c.isUndefined(dt.Monatindex)||this.PrepareData(),c.isUndefined(Vt)||!1===Vt.firstChange&&!1===Vt.previousValue&&!0===Vt.currentValue&&(this.DB.CurrentHomeofficecounter=0)}catch(ot){this.Debug.ShowErrorMessage(ot,"Urlaubsplanung Kalender","ngOnChanges",this.Debug.Typen.Component)}}PrepareData(){try{let dt,ot,Vt,nn,vn,Xt,En,$n,Wt,zn,kn,ln,ut,zt=this.Monatindex+1;this.Monatname=this.DB.Monateliste[this.Monatindex],zt=zt<10?"0"+zt.toString():zt.toString(),dt=(0,u.default)(this.Jahr.toString()+"-"+zt,"YYYY-MM").daysInMonth(),ot=dt;let Te=(0,u.default)().set({date:1,month:this.Monatindex,year:this.Jahr,hour:8,minute:0}).locale("de"),me=(0,u.default)().set({date:dt,month:this.Monatindex,year:this.Jahr,hour:8,minute:0}).locale("de");Vt=Te.isoWeekday(),nn=Vt-1,ot+=nn,En=Te.clone().subtract(nn,"day"),Wt=En.clone(),Vt=me.isoWeekday(),nn=7-Vt,ot+=nn,vn=ot/7,kn=Wt.clone(),this.Kalendertageliste=[];for(let fe=0;fe{this.PrepareData()}),this.MonateSubscription=this.DB.PlanungsmonateChanged.subscribe(()=>{this.PrepareData()}),this.ExterneUrlaubSubscription=this.DB.ExterneUrlaubeChanged.subscribe(()=>{this.PrepareData()}),this.ExterneHomeofficeSubscription=this.DB.ExterneHomeofficeChanged.subscribe(()=>{this.PrepareData()}),this.UrlaubStatusSubscription=this.DB.UrlaubStatusChanged.subscribe(()=>{this.PrepareData()}),this.HomeofficeStatusSubscription=this.DB.HomeofficeStatusChanged.subscribe(()=>{this.PrepareData()}),this.CancelUrlaubSubscription=this.DB.AddUrlaubCancelEvent.subscribe(()=>{this.CancelUrlaub()}),this.UpdateKalenderSubscription=this.DB.UpdateKalenderRequestEvent.subscribe(()=>{this.PrepareData()})}catch(dt){this.Debug.ShowErrorMessage(dt.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,this.HomeofficeStatusSubscription.unsubscribe(),this.HomeofficeStatusSubscription=null,this.ExterneHomeofficeSubscription.unsubscribe(),this.ExterneHomeofficeSubscription=null,this.CancelUrlaubSubscription.unsubscribe(),this.CancelUrlaubSubscription=null,this.UpdateKalenderSubscription.unsubscribe(),this.UpdateKalenderSubscription=null}catch(dt){this.Debug.ShowErrorMessage(dt.message,"Urlaubsplanung Kalender","ngOnDestroy",this.Debug.Typen.Component)}}FeietragMouseOverEvent(dt,ot){try{let Vt="",nn=(0,u.default)(dt.Tagstempel).locale("DE"===ot?"de":"en");(dt.IsFeiertag_DE||dt.IsFeiertag_BG)&&("DE"===ot&&dt.IsFeiertag_DE?(Vt=dt.Feiertagname_DE+" / "+nn.format("D. MMMM YYYY"),this.FeiertagCrossedEvent.emit({Name:Vt,Laendercode:ot})):"BG"===ot&&dt.IsFeiertag_BG&&(Vt=dt.Feiertagname_BG+" / "+nn.format("D. MMMM YYYY"),this.FeiertagCrossedEvent.emit({Name:Vt,Laendercode:ot})))}catch(Vt){this.Debug.ShowErrorMessage(Vt,"Urlaubsplanung Kalender","FeietragMouseOverEvent",this.Debug.Typen.Component)}}FerientagMouseOverEvent(dt,ot){try{this.FerientagCrossedEvent.emit({Name:"DE"===ot?dt.Ferienname_DE:dt.Ferienname_BG,Laendercode:ot})}catch(Vt){this.Debug.ShowErrorMessage(Vt,"Urlaubsplanung Kalender","FerientagMouseOverEvent",this.Debug.Typen.Component)}}TagClicked(dt,ot,Vt,nn){try{let vn,zt,Xt,En,zn,ut,Te,$n=0,Wt="DE"===this.DB.Laendercode?ot.IsFeiertag_DE:ot.IsFeiertag_BG,kn=ot.IsUrlaub&&null===this.DB.CurrentUrlaubzeitspanne,ln=ot.IsHomeoffice,me=(0,u.default)();if(dt.stopPropagation(),dt.preventDefault(),this.CurrentTagindex=nn,this.CurrentWochenindex=Vt,this.AddUrlaubRunning)if(!1===Wt&&!1===ln&&!1===kn)if(null===this.DB.CurrentUrlaubzeitspanne)this.DB.CurrentUrlaubzeitspanne=this.DB.GetEmptyUrlaubszeitspanne(),this.DB.CurrentUrlaubzeitspanne.Startstempel=ot.Tagstempel,this.DB.CurrentUrlaubzeitspanne.Startstring=ot.Datumstring,ot.Background=this.DB.Urlaubsfaben.Geplant,ot.IsUrlaub=!0,ot.Color="white";else if(Xt=(0,u.default)(this.DB.CurrentUrlaubzeitspanne.Startstempel),ut=Xt.isoWeekday()-1,Te=nn,vn=(0,u.default)(ot.Tagstempel),!0===vn.isSameOrAfter(Xt,"day")&&vn.isSame(Xt,"week")){this.DB.CurrentUrlaubzeitspanne.Endestempel=ot.Tagstempel,this.DB.CurrentUrlaubzeitspanne.Endestring=ot.Datumstring,vn.isSameOrBefore(me)&&(this.DB.CurrentUrlaubzeitspanne.Status=this.DB.Urlaubstatusvarianten.Genehmigt,this.DB.CurrentUrlaubzeitspanne.FreigabeanfrageSended=!0,this.DB.CurrentUrlaubzeitspanne.FreigabeantwortSended=!0,this.DB.CurrentUrlaubzeitspanne.FreigabeantwortOfficeSended=!0,this.DB.CurrentUrlaubzeitspanne.Planungmeldung="Der Urlaub befand sich zum Tage der Eintragung am "+me.format("DD.MM.YYYY")+" in der Vergangenheit.");for(let fe=ut;fe<=Te;fe++)En=this.Kalendertageliste[Vt][fe],Wt="DE"===this.DB.Laendercode?En.IsFeiertag_DE:En.IsFeiertag_BG,!1===Wt&&(En.Background=this.DB.Urlaubsfaben.Geplant,En.IsUrlaub=!0,En.Color="white",$n++);this.DB.CurrentUrlaubzeitspanne.Tageanzahl=$n,zn=this.DB.CountResturlaub(),zn-$n>=0?this.AddUrlaubFinishedEvent.emit(!0):(this.Tools.ShowHinweisDialog("Du hast nur noch "+zn+" Tage Resturlaub."),this.DB.CurrentUrlaubzeitspanne=null,window.setTimeout(()=>{for(let fe=ut;fe0)for(let vn=0;vnnn&&(nn=Vt.length));return nn}catch(ot){this.Debug.ShowErrorMessage(ot,"Urlaubsplanung Kalender","GetMaxExternUrlaubseintraege",this.Debug.Typen.Component)}}ExternUrlaubstagClicked(dt,ot){try{dt.preventDefault(),dt.stopPropagation(),this.ExternUrlaubstagClickedEvent.emit(ot)}catch(Vt){this.Debug.ShowErrorMessage(Vt,"Urlaubsplanung Kalender","ExternUrlaubstagClicked",this.Debug.Typen.Component)}}static \u0275fac=function(ot){return new(ot||vt)(i.\u0275\u0275directiveInject(e.DebugProvider),i.\u0275\u0275directiveInject(o.BasicsProvider),i.\u0275\u0275directiveInject(h.DatabasePoolService),i.\u0275\u0275directiveInject(v.DisplayService),i.\u0275\u0275directiveInject(M.DatabaseUrlaubService),i.\u0275\u0275directiveInject(p.ToolsProvider),i.\u0275\u0275directiveInject(E.ConstProvider))};static \u0275cmp=i.\u0275\u0275defineComponent({type:vt,selectors:[["urlaubsplanung-kalender"]],inputs:{ShowProtokollpunkte:"ShowProtokollpunkte",Iconname:"Iconname",Dialogbreite:"Dialogbreite",Dialoghoehe:"Dialoghoehe",PositionY:"PositionY",ZIndex:"ZIndex",Monatindex:"Monatindex",Jahr:"Jahr",AddUrlaubRunning:"AddUrlaubRunning",AddHomeofficerunning:"AddHomeofficerunning",AddHalberUrlaubstagRunning:"AddHalberUrlaubstagRunning",ShowYear:"ShowYear"},outputs:{FeiertagCrossedEvent:"FeiertagCrossedEvent",FerientagCrossedEvent:"FerientagCrossedEvent",AddUrlaubFinishedEvent:"AddUrlaubFinishedEvent",AddHomeofficeFinishedEvent:"AddHomeofficeFinishedEvent",ExternUrlaubstagClickedEvent:"ExternUrlaubstagClickedEvent"},features:[i.\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"],["valign","top"],[1,"kwinfodivclass"],["class","taginfospacedivclass",4,"ngIf"],["align","center","valign","top",3,"color",4,"ngFor","ngForOf"],[1,"taginfospacedivclass"],["align","center","valign","top"],[4,"ngIf"],[1,"wochenendedivclass"],["class","wochenendespacedivclass",4,"ngIf"],[1,"wochenendespacedivclass"],[1,"tagrahmenclass",3,"click"],[1,"tagdivclass"],[2,"text-align","center"],["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","click",4,"ngIf"],["class","tagexterndivclass",3,"background",4,"ngIf"],[1,"tagexterndivclass",3,"click"],[1,"tagexterndivclass"]],template:function(ot,Vt){1&ot&&i.\u0275\u0275template(0,Ee,39,2,"div",0),2&ot&&i.\u0275\u0275property("ngIf",null!==Vt.Pool.Mitarbeitersettings)},dependencies:[S.NgForOf,S.NgIf,y.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%;height: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:26px;color:#307ac1}.kwinfodivclass[_ngcontent-%COMP%]{font-weight:700;width:100%;display:flex;justify-content:center;align-items:center;height:30px;color:#307ac1}.taginfospacedivclass[_ngcontent-%COMP%]{color:red;height:20px;width:100%}.wochenendedivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:100%;display:flex;justify-content:center;align-items:center;height:30px;background:#34495e}.wochenendespacedivclass[_ngcontent-%COMP%]{background:#34495e;height:20px;width:100%}.tagdivclass[_ngcontent-%COMP%]{cursor:pointer;font-weight:700;color:#000;width:100%;height:30px;display:flex;justify-content:center;align-items:center}.tagexterndivclass[_ngcontent-%COMP%]{border-top:1px solid red;cursor:pointer;color:#fff;font-size:80%;font-weight:700;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 vt})()},66068:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.CommonEinstellungenPageModule=void 0;const n=s(81316),l=s(91368),u=s(92512),c=s(44716),i=s(42764),e=s(70216),o=s(53076),h=s(6168),v=s(90520),M=s(7388),p=s(72284),E=s(10272),S=s(84104),y=n.__importStar(s(54496)),C=(n.__importStar(s(53076)),[{path:"",component:i.CommonEinstellungenPage}]);m.CommonEinstellungenPageModule=(()=>{class w{static \u0275fac=function(N){return new(N||w)};static \u0275mod=y.\u0275\u0275defineNgModule({type:w});static \u0275inj=y.\u0275\u0275defineInjector({imports:[l.CommonModule,c.FormsModule,u.IonicModule,e.PageHeaderModule,o.RouterModule.forChild(C),h.PageHeaderMenuModule,v.PageFooterModule,M.CheckboxClonModule,p.ButtonValueModule,E.AuswahlDialogModule,S.SafePipeModule]})}return w})()},42764:(pe,m,s)=>{"use strict";var n=s(1196).default;Object.defineProperty(m,"__esModule",{value:!0}),m.CommonEinstellungenPage=void 0;const l=s(81316),u=l.__importDefault(s(35908)),c=l.__importStar(s(17964)),i=l.__importStar(s(54496)),e=l.__importStar(s(7992)),o=l.__importStar(s(29743)),h=l.__importStar(s(14652)),v=l.__importStar(s(19668)),M=l.__importStar(s(9544)),p=l.__importStar(s(96140)),E=l.__importStar(s(34388)),S=l.__importStar(s(91368)),y=l.__importStar(s(92512)),f=l.__importStar(s(90212)),C=l.__importStar(s(63792)),_=l.__importStar(s(29856)),w=l.__importStar(s(25856));function D(K,ie){1&K&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275elementStart(1,"tr")(2,"td",14),i.\u0275\u0275text(3,"keine"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementContainerEnd())}function L(K,ie){if(1&K){const X=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"tr")(1,"td",18),i.\u0275\u0275text(2),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(3,"td"),i.\u0275\u0275text(4),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(5,"td")(6,"checkbox-clon",19),i.\u0275\u0275listener("CheckChanged",function(ce){i.\u0275\u0275restoreView(X);const ze=i.\u0275\u0275nextContext(3);return i.\u0275\u0275resetView(ze.VertreterCheckedChanged(ce))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(7,"td"),i.\u0275\u0275element(8,"div",20),i.\u0275\u0275elementEnd()()}if(2&K){const X=ie.$implicit,be=ie.index;i.\u0275\u0275advance(2),i.\u0275\u0275textInterpolate2("",X.Vorname," ",X.Name,""),i.\u0275\u0275advance(2),i.\u0275\u0275textInterpolate(X.Vertretungenanfragenanzahl),i.\u0275\u0275advance(2),i.\u0275\u0275property("Index",be)("Checked",X.Selected),i.\u0275\u0275advance(2),i.\u0275\u0275styleProp("background",X.UrlaubanfrageReminderSended?"#006400":"silver")}}function N(K,ie){if(1&K&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275template(1,L,9,7,"tr",17),i.\u0275\u0275elementContainerEnd()),2&K){const X=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(),i.\u0275\u0275property("ngForOf",X.Vertreterliste)}}function V(K,ie){1&K&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275elementStart(1,"tr")(2,"td",14),i.\u0275\u0275text(3,"keine"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementContainerEnd())}function G(K,ie){if(1&K){const X=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"tr")(1,"td",18),i.\u0275\u0275text(2),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(3,"td"),i.\u0275\u0275text(4),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(5,"td")(6,"checkbox-clon",19),i.\u0275\u0275listener("CheckChanged",function(ce){i.\u0275\u0275restoreView(X);const ze=i.\u0275\u0275nextContext(3);return i.\u0275\u0275resetView(ze.FreigberCheckedChanged(ce))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(7,"td"),i.\u0275\u0275element(8,"div",20),i.\u0275\u0275elementEnd()()}if(2&K){const X=ie.$implicit,be=ie.index;i.\u0275\u0275advance(2),i.\u0275\u0275textInterpolate2("",X.Vorname," ",X.Name,""),i.\u0275\u0275advance(2),i.\u0275\u0275textInterpolate(X.Freigabenanfragenanzahl),i.\u0275\u0275advance(2),i.\u0275\u0275property("Index",be)("Checked",X.Selected),i.\u0275\u0275advance(2),i.\u0275\u0275styleProp("background",X.UrlaubanfrageReminderSended?"#006400":"silver")}}function R(K,ie){if(1&K&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275template(1,G,9,7,"tr",17),i.\u0275\u0275elementContainerEnd()),2&K){const X=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(),i.\u0275\u0275property("ngForOf",X.Freigeberliste)}}function k(K,ie){if(1&K){const X=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275elementStart(1,"tr"),i.\u0275\u0275element(2,"td",16),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(3,"tr")(4,"td")(5,"ion-button",21),i.\u0275\u0275listener("click",function(){i.\u0275\u0275restoreView(X);const ce=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(ce.SendUrlaubReminderMail())}),i.\u0275\u0275text(6,"Erinnerung versenden"),i.\u0275\u0275elementEnd()()(),i.\u0275\u0275elementContainerEnd()}}function A(K,ie){if(1&K){const X=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"ion-content")(1,"table",4)(2,"tr")(3,"td",5)(4,"table",6)(5,"tr")(6,"td",7)(7,"ion-text",8)(8,"b"),i.\u0275\u0275text(9,"Einstellungen Allgemein"),i.\u0275\u0275elementEnd()()()(),i.\u0275\u0275elementStart(10,"tr")(11,"td",9)(12,"checkbox-clon",10),i.\u0275\u0275listener("CheckChanged",function(ce){i.\u0275\u0275restoreView(X);const ze=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(ze.DebugNoExternalEmaillCheckedChanged(ce))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(13,"td"),i.\u0275\u0275text(14,"nur Testemails senden / keine BAE Emailadressen verwenden"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(15,"tr")(16,"td",9)(17,"checkbox-clon",10),i.\u0275\u0275listener("CheckChanged",function(ce){i.\u0275\u0275restoreView(X);const ze=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(ze.ShowHomescreeninfosChanged(ce))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(18,"td"),i.\u0275\u0275text(19,"Zeige Homescreen Infos"),i.\u0275\u0275elementEnd()()(),i.\u0275\u0275element(20,"br"),i.\u0275\u0275elementStart(21,"table",6)(22,"tr")(23,"td",7)(24,"ion-text",8)(25,"b"),i.\u0275\u0275text(26,"Startseite bei Administratoren"),i.\u0275\u0275elementEnd()()()(),i.\u0275\u0275elementStart(27,"ion-radio-group",11),i.\u0275\u0275listener("ionChange",function(ce){i.\u0275\u0275restoreView(X);const ze=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(ze.StartseiteChangedHandler(ce))}),i.\u0275\u0275elementStart(28,"tr")(29,"td"),i.\u0275\u0275element(30,"ion-radio",12),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(31,"td"),i.\u0275\u0275text(32,"Home"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(33,"tr")(34,"td"),i.\u0275\u0275element(35,"ion-radio",12),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(36,"td"),i.\u0275\u0275text(37,"Standorte"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(38,"tr")(39,"td"),i.\u0275\u0275element(40,"ion-radio",12),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(41,"td"),i.\u0275\u0275text(42,"Mitarbeiter"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(43,"tr")(44,"td"),i.\u0275\u0275element(45,"ion-radio",12),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(46,"td"),i.\u0275\u0275text(47,"Einstellungen"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(48,"tr")(49,"td"),i.\u0275\u0275element(50,"ion-radio",12),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(51,"td"),i.\u0275\u0275text(52,"Urlaub Planung"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(53,"tr")(54,"td"),i.\u0275\u0275element(55,"ion-radio",12),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(56,"td"),i.\u0275\u0275text(57,"Urlaub \xdcbersicht"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(58,"tr")(59,"td"),i.\u0275\u0275element(60,"ion-radio",12),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(61,"td"),i.\u0275\u0275text(62,"Urlaub Gesamt\xfcbersicht"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(63,"tr")(64,"td"),i.\u0275\u0275element(65,"ion-radio",12),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(66,"td"),i.\u0275\u0275text(67,"Urlaub Freigaben"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(68,"tr")(69,"td"),i.\u0275\u0275element(70,"ion-radio",12),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(71,"td"),i.\u0275\u0275text(72,"Urlaub Einstellungen"),i.\u0275\u0275elementEnd()()()(),i.\u0275\u0275element(73,"br"),i.\u0275\u0275elementStart(74,"table",6)(75,"tr")(76,"td",7)(77,"ion-text",8)(78,"b"),i.\u0275\u0275text(79,"Wartungsmodus"),i.\u0275\u0275elementEnd()()()(),i.\u0275\u0275elementStart(80,"tr")(81,"td")(82,"checkbox-clon",10),i.\u0275\u0275listener("CheckChanged",function(ce){i.\u0275\u0275restoreView(X);const ze=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(ze.WartungsmodusCheckChanged(ce))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(83,"td"),i.\u0275\u0275text(84,"Watungsmodus f\xfcr Standardnutzer aktivieren"),i.\u0275\u0275elementEnd()()()(),i.\u0275\u0275elementStart(85,"td",9)(86,"table",13)(87,"tr")(88,"td",14)(89,"ion-text",8)(90,"b"),i.\u0275\u0275text(91,"Urlaubsplanung"),i.\u0275\u0275elementEnd()()()(),i.\u0275\u0275elementStart(92,"tr")(93,"td",15),i.\u0275\u0275text(94,"Vertreteranfragen an:"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275template(95,D,4,0,"ng-container",2)(96,N,2,1,"ng-container",2),i.\u0275\u0275elementStart(97,"tr"),i.\u0275\u0275element(98,"td",16),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(99,"tr")(100,"td",15),i.\u0275\u0275text(101,"Freigabeanfragen an:"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275template(102,V,4,0,"ng-container",2)(103,R,2,1,"ng-container",2)(104,k,7,0,"ng-container",2),i.\u0275\u0275elementEnd()()()()()}if(2&K){const X=i.\u0275\u0275nextContext();i.\u0275\u0275advance(12),i.\u0275\u0275property("Checked",X.Pool.Appeinstellungen.DebugNoExternalEmail),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",X.Pool.Appeinstellungen.ShowHomeScreenInfos),i.\u0275\u0275advance(10),i.\u0275\u0275property("value",X.Pool.Appeinstellungen.AdminStartseite),i.\u0275\u0275advance(3),i.\u0275\u0275property("value",X.Const.Pages.HomePage),i.\u0275\u0275advance(5),i.\u0275\u0275property("value",X.Const.Pages.FiStandortelistePage),i.\u0275\u0275advance(5),i.\u0275\u0275property("value",X.Const.Pages.FiMitarbeiterlistePage),i.\u0275\u0275advance(5),i.\u0275\u0275property("value",X.Const.Pages.EinstellungenPage),i.\u0275\u0275advance(5),i.\u0275\u0275property("value",X.Const.Pages.UrlaubPlanungPage),i.\u0275\u0275advance(5),i.\u0275\u0275property("value",X.Const.Pages.UrlaubUebersichtPage),i.\u0275\u0275advance(5),i.\u0275\u0275property("value",X.Const.Pages.UrlaubsgesamtuebersichtPage),i.\u0275\u0275advance(5),i.\u0275\u0275property("value",X.Const.Pages.UrlaubFreigabenPage),i.\u0275\u0275advance(5),i.\u0275\u0275property("value",X.Const.Pages.UrlaubEinstellungenPage),i.\u0275\u0275advance(12),i.\u0275\u0275property("Checked",X.Pool.Appeinstellungen.Wartungsmodus),i.\u0275\u0275advance(13),i.\u0275\u0275property("ngIf",0===X.Vertreterliste.length),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",0!==X.Vertreterliste.length),i.\u0275\u0275advance(6),i.\u0275\u0275property("ngIf",0===X.Freigeberliste.length),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",0!==X.Freigeberliste.length),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",X.Vertreterliste.length>0||X.Freigeberliste.length>0)}}m.CommonEinstellungenPage=(()=>{class K{Pool;Const;Basics;Tools;DBUrlaub;DB;Debug;DataSubscription;Vertreterliste;Freigeberliste;ShowAuswahl;Auswahlindex;Auswahltitel;Auswahlliste;constructor(X,be,ce,ze,ct,xe,Ie){this.Pool=X,this.Const=be,this.Basics=ce,this.Tools=ze,this.DBUrlaub=ct,this.DB=xe,this.Debug=Ie;try{this.DataSubscription=null,this.Vertreterliste=[],this.Freigeberliste=[],this.ShowAuswahl=!1,this.Auswahlliste=[{Index:0,FirstColumn:"",SecoundColumn:"",Data:null}],this.Auswahlindex=0,this.Auswahltitel=""}catch(Le){this.Debug.ShowErrorMessage(Le.message,"Einstellungen","constructor",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.DataSubscription.unsubscribe(),this.DataSubscription=null}catch(X){this.Debug.ShowErrorMessage(X,"Einstellungen","OnDestroy",this.Debug.Typen.Page)}}ngOnInit(){try{this.DataSubscription=this.Pool.LoadingAllDataFinished.subscribe(()=>{this.PrepareData()}),this.PrepareData()}catch(X){this.Debug.ShowErrorMessage(X,"Einstellungen","OnInit",this.Debug.Typen.Page)}}DebugNoExternalEmaillCheckedChanged(X){try{this.Pool.Appeinstellungen.DebugNoExternalEmail=X.status,this.DB.SaveAppeinstellungen()}catch(be){this.Debug.ShowErrorMessage(be,"Einstellungen","DebugNoExternalEmaillCheckedChanged",this.Debug.Typen.Page)}}ShowHomescreeninfosChanged(X){try{this.Pool.Appeinstellungen.ShowHomeScreenInfos=X.status,this.DB.SaveAppeinstellungen()}catch(be){this.Debug.ShowErrorMessage(be,"Einstellungen","ShowHomescreeninfosChanged",this.Debug.Typen.Page)}}StartseiteChangedHandler(X){var be=this;return n(function*(){try{be.Pool.Appeinstellungen.AdminStartseite=X.detail.value,yield be.DB.SaveAppeinstellungen(),be.Tools.ShowHinweisDialog("App wird neu gestartet....."),window.setTimeout(()=>{location.replace(be.Pool.ApplicationURL)},500)}catch(ce){be.Debug.ShowErrorMessage(ce,"Einstellungen","StartseiteChangedHandler",be.Debug.Typen.Page)}})()}WartungsmodusCheckChanged(X){try{this.Pool.Appeinstellungen.Wartungsmodus=X.status,this.DB.SaveAppeinstellungen()}catch(be){this.Debug.ShowErrorMessage(be,"Einstellungen","WartungsmodusCheckChanged",this.Debug.Typen.Page)}}PrepareData(){try{let X,be,ze,ct,xe,Ie,Le,ce=(0,u.default)().year();for(be of(this.Vertreterliste=[],this.Freigeberliste=[],this.Pool.Mitarbeiterliste))if(ze=c.find(be.Urlaubsliste,Ue=>Ue.Jahr===ce),!1===c.isUndefined(ze))for(ct of ze.Urlaubzeitspannen)switch(ct.Status){case this.DBUrlaub.Urlaubstatusvarianten.Vertreteranfrage:for(let Ue of ct.Vertretungskonversationliste)Ie=c.cloneDeep(c.find(this.Pool.Mitarbeiterliste,{_id:Ue.VertreterID})),X=c.find(this.Vertreterliste,{_id:Ue.VertreterID}),c.isUndefined(X)?(Ie.Vertretungenanfragenanzahl=1,Ie.Selected=!1,Ie.UrlaubanfrageReminderSended=!1,this.Vertreterliste.push(Ie)):X.Vertretungenanfragenanzahl++;break;case this.DBUrlaub.Urlaubstatusvarianten.Vertreterfreigabe:if(xe=c.find(this.Pool.Standorteliste,{_id:be.StandortID}),!1===c.isUndefined(xe))for(let Ue of xe.Urlaubfreigabepersonen)Le=c.cloneDeep(c.find(this.Pool.Mitarbeiterliste,{_id:Ue})),X=c.find(this.Freigeberliste,{_id:Ue}),!0===c.isUndefined(X)?(Le.Freigabenanfragenanzahl=1,Le.Selected=!1,Le.UrlaubanfrageReminderSended=!1,this.Freigeberliste.push(Le)):X.Freigabenanfragenanzahl++}}catch(X){this.Debug.ShowErrorMessage(X,"Einstellungen","PrepareData",this.Debug.Typen.Page)}}FreigberCheckedChanged(X){try{this.Freigeberliste[X.index].Selected=X.status}catch(be){this.Debug.ShowErrorMessage(be,"Einstellungen","FreigberCheckedChanged",this.Debug.Typen.Page)}}VertreterCheckedChanged(X){try{this.Vertreterliste[X.index].Selected=X.status}catch(be){this.Debug.ShowErrorMessage(be,"Einstellungen","VertreterCheckedChanged",this.Debug.Typen.Page)}}SendUrlaubReminderMail(){var X=this;return n(function*(){try{for(let be of X.Vertreterliste)be.Selected&&(yield X.DBUrlaub.SendVertreterreminder(be),be.UrlaubanfrageReminderSended=!0,be.Selected=!1);for(let be of X.Freigeberliste)be.Selected&&(yield X.DBUrlaub.SendFreigabereminder(be),be.UrlaubanfrageReminderSended=!0,be.Selected=!1)}catch(be){X.Debug.ShowErrorMessage(be,"Einstellungen","SendUrlaubReminderMail",X.Debug.Typen.Page)}})()}static \u0275fac=function(be){return new(be||K)(i.\u0275\u0275directiveInject(e.DatabasePoolService),i.\u0275\u0275directiveInject(o.ConstProvider),i.\u0275\u0275directiveInject(h.BasicsProvider),i.\u0275\u0275directiveInject(v.ToolsProvider),i.\u0275\u0275directiveInject(M.DatabaseUrlaubService),i.\u0275\u0275directiveInject(p.DatabaseAppeinstellungenService),i.\u0275\u0275directiveInject(E.DebugProvider))};static \u0275cmp=i.\u0275\u0275defineComponent({type:K,selectors:[["common-einstellungen-page"]],decls:8,vars:1,consts:[[1,"ion-no-border"],["PageHeader",""],[4,"ngIf"],["PageFooter",""],[2,"width","100%"],["valign","top",2,"width","400px"],[1,"paddingtable"],["colspan","2"],["color","baeblau"],["valign","top",2,"width","auto"],[3,"Checked","CheckChanged"],[3,"value","ionChange"],[3,"value"],[1,"paddingsmalltable"],["colspan","10"],["colspan","10",2,"font-weight","bold"],["colspan","10",2,"height","30px"],[4,"ngFor","ngForOf"],[2,"width","160px"],[3,"Index","Checked","CheckChanged"],[1,"sendmailcircle"],["size","small","color","burnicklbraun",3,"click"]],template:function(be,ce){1&be&&(i.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1),i.\u0275\u0275element(3,"page-header-menu"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275template(4,A,105,18,"ion-content",2),i.\u0275\u0275elementStart(5,"ion-footer"),i.\u0275\u0275element(6,"page-footer",null,3),i.\u0275\u0275elementEnd()),2&be&&(i.\u0275\u0275advance(4),i.\u0275\u0275property("ngIf",null!==ce.Pool.Appeinstellungen))},dependencies:[S.NgForOf,S.NgIf,y.IonButton,y.IonContent,y.IonFooter,y.IonHeader,y.IonRadio,y.IonRadioGroup,y.IonText,y.RadioValueAccessor,y.SelectValueAccessor,f.PageHeaderComponent,C.PageHeaderMenuComponent,_.PageFooterComponent,w.CheckboxClonComponent],styles:["#container[_ngcontent-%COMP%]{text-align:center;position:absolute;left:0;right:0;top:50%;transform:translateY(-50%)}.sendmailcircle[_ngcontent-%COMP%]{width:12px;height:12px;border-radius: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 K})()},27735:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.CommonHomePageModule=void 0;const n=s(81316),l=s(91368),u=s(44716),c=s(53076),i=s(92512),e=s(45884),o=s(70216),h=s(6512),v=s(90520),M=s(12095),p=n.__importStar(s(54496)),S=(n.__importStar(s(53076)),[{path:"",component:e.CommonHomePage}]);m.CommonHomePageModule=(()=>{class f{static \u0275fac=function(w){return new(w||f)};static \u0275mod=p.\u0275\u0275defineNgModule({type:f});static \u0275inj=p.\u0275\u0275defineInjector({imports:[l.CommonModule,u.FormsModule,i.IonicModule,c.RouterModule.forChild(S),o.PageHeaderModule,h.AbstandElementFixedModule,u.ReactiveFormsModule,v.PageFooterModule,M.FiChangelogEditorModule]})}return f})()},45884:(pe,m,s)=>{"use strict";var n=s(1196).default;Object.defineProperty(m,"__esModule",{value:!0}),m.CommonHomePage=void 0;const l=s(81316),u=l.__importStar(s(17964)),c=l.__importDefault(s(35908)),i=s(80103),e=s(21112),o=s(36716),h=l.__importStar(s(54496)),v=l.__importStar(s(14652)),M=l.__importStar(s(34388)),p=l.__importStar(s(19668)),E=l.__importStar(s(29743)),S=l.__importStar(s(7992)),y=l.__importStar(s(23476)),f=l.__importStar(s(8608)),C=l.__importStar(s(51708)),_=l.__importStar(s(97092)),w=l.__importStar(s(34636)),D=l.__importStar(s(59460)),L=l.__importStar(s(91368)),N=l.__importStar(s(92512)),V=l.__importStar(s(90212)),G=l.__importStar(s(29856)),R=l.__importStar(s(64168));function k(Ue,Xe){if(1&Ue&&(h.\u0275\u0275elementStart(0,"table")(1,"tr")(2,"td"),h.\u0275\u0275element(3,"img",14),h.\u0275\u0275elementEnd(),h.\u0275\u0275element(4,"td",7),h.\u0275\u0275elementEnd()()),2&Ue){const _e=h.\u0275\u0275nextContext(3);h.\u0275\u0275advance(3),h.\u0275\u0275property("src",_e.GraphService.UserimageSRC,h.\u0275\u0275sanitizeUrl)}}function A(Ue,Xe){if(1&Ue&&(h.\u0275\u0275elementStart(0,"div",15),h.\u0275\u0275text(1),h.\u0275\u0275elementEnd()),2&Ue){const _e=h.\u0275\u0275nextContext(3);h.\u0275\u0275styleProp("background",_e.Basics.Farben.Grau),h.\u0275\u0275advance(),h.\u0275\u0275textInterpolate1(" ",null!==_e.Pool.Mitarbeiterdaten?_e.Pool.Mitarbeiterdaten.Kuerzel:"---"," ")}}function H(Ue,Xe){if(1&Ue&&(h.\u0275\u0275elementContainerStart(0),h.\u0275\u0275template(1,k,5,1,"table",2)(2,A,2,3,"div",13),h.\u0275\u0275elementContainerEnd()),2&Ue){const _e=h.\u0275\u0275nextContext(2);h.\u0275\u0275advance(),h.\u0275\u0275property("ngIf",null!==_e.GraphService.UserimageSRC),h.\u0275\u0275advance(),h.\u0275\u0275property("ngIf",null===_e.GraphService.UserimageSRC)}}function K(Ue,Xe){if(1&Ue){const _e=h.\u0275\u0275getCurrentView();h.\u0275\u0275elementContainerStart(0),h.\u0275\u0275elementStart(1,"table",5)(2,"tr")(3,"td",6)(4,"table")(5,"tr"),h.\u0275\u0275element(6,"td",7),h.\u0275\u0275elementStart(7,"td")(8,"div",8),h.\u0275\u0275listener("mouseenter",function(){h.\u0275\u0275restoreView(_e);const Ce=h.\u0275\u0275nextContext();return h.\u0275\u0275resetView(Ce.LogoutMouseOver=!0)})("mouseleave",function(){h.\u0275\u0275restoreView(_e);const Ce=h.\u0275\u0275nextContext();return h.\u0275\u0275resetView(Ce.LogoutMouseOver=!1)})("click",function(){h.\u0275\u0275restoreView(_e);const Ce=h.\u0275\u0275nextContext();return h.\u0275\u0275resetView(Ce.LogoutButtonClicked())}),h.\u0275\u0275elementStart(9,"table",9)(10,"tr")(11,"td"),h.\u0275\u0275element(12,"ion-icon",10),h.\u0275\u0275elementEnd(),h.\u0275\u0275elementStart(13,"td"),h.\u0275\u0275text(14,"Abmelden"),h.\u0275\u0275elementEnd()()()()(),h.\u0275\u0275element(15,"td",7),h.\u0275\u0275elementStart(16,"td")(17,"div",8),h.\u0275\u0275listener("mouseenter",function(){h.\u0275\u0275restoreView(_e);const Ce=h.\u0275\u0275nextContext();return h.\u0275\u0275resetView(Ce.EinstellungenMouseOver=!0)})("mouseleave",function(){h.\u0275\u0275restoreView(_e);const Ce=h.\u0275\u0275nextContext();return h.\u0275\u0275resetView(Ce.EinstellungenMouseOver=!1)})("click",function(){h.\u0275\u0275restoreView(_e);const Ce=h.\u0275\u0275nextContext();return h.\u0275\u0275resetView(Ce.EinstellungenButtonClicked())}),h.\u0275\u0275elementStart(18,"table",9)(19,"tr")(20,"td"),h.\u0275\u0275element(21,"ion-icon",11),h.\u0275\u0275elementEnd(),h.\u0275\u0275elementStart(22,"td"),h.\u0275\u0275text(23,"Einstellungen"),h.\u0275\u0275elementEnd()()()()()()()(),h.\u0275\u0275elementStart(24,"td",12),h.\u0275\u0275template(25,H,3,2,"ng-container",2),h.\u0275\u0275elementEnd()()(),h.\u0275\u0275elementContainerEnd()}if(2&Ue){const _e=h.\u0275\u0275nextContext();h.\u0275\u0275advance(8),h.\u0275\u0275styleProp("cursor",_e.LogoutMouseOver?"pointer":"default"),h.\u0275\u0275advance(4),h.\u0275\u0275property("color",_e.LogoutMouseOver?_e.Basics.Ionicfarben.Schwarz:_e.Basics.Ionicfarben.Weiss),h.\u0275\u0275advance(),h.\u0275\u0275styleProp("color",_e.LogoutMouseOver?"#000000":"white"),h.\u0275\u0275advance(4),h.\u0275\u0275styleProp("cursor",_e.EinstellungenMouseOver?"pointer":"default"),h.\u0275\u0275advance(4),h.\u0275\u0275property("color",_e.EinstellungenMouseOver?_e.Basics.Ionicfarben.Schwarz:_e.Basics.Ionicfarben.Weiss),h.\u0275\u0275advance(),h.\u0275\u0275styleProp("color",_e.EinstellungenMouseOver?"#000000":"white"),h.\u0275\u0275advance(3),h.\u0275\u0275property("ngIf",!1===_e.AuthService.ShowLogin)}}function ie(Ue,Xe){if(1&Ue){const _e=h.\u0275\u0275getCurrentView();h.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"div",39),h.\u0275\u0275listener("click",function(){const Ae=h.\u0275\u0275restoreView(_e).$implicit,Be=h.\u0275\u0275nextContext(3);return h.\u0275\u0275resetView(Be.ChangelogClicked(Ae))}),h.\u0275\u0275text(3),h.\u0275\u0275elementEnd()(),h.\u0275\u0275elementStart(4,"td")(5,"div",39),h.\u0275\u0275listener("click",function(){const Ae=h.\u0275\u0275restoreView(_e).$implicit,Be=h.\u0275\u0275nextContext(3);return h.\u0275\u0275resetView(Be.ChangelogClicked(Ae))}),h.\u0275\u0275text(6),h.\u0275\u0275elementEnd()(),h.\u0275\u0275elementStart(7,"td")(8,"div",39),h.\u0275\u0275listener("click",function(){const Ae=h.\u0275\u0275restoreView(_e).$implicit,Be=h.\u0275\u0275nextContext(3);return h.\u0275\u0275resetView(Be.ChangelogClicked(Ae))}),h.\u0275\u0275text(9),h.\u0275\u0275elementEnd()()()}if(2&Ue){const _e=Xe.$implicit,Fe=h.\u0275\u0275nextContext(3);h.\u0275\u0275advance(3),h.\u0275\u0275textInterpolate(Fe.GetDatum(_e.Zeitstempel)),h.\u0275\u0275advance(3),h.\u0275\u0275textInterpolate(_e.Version),h.\u0275\u0275advance(3),h.\u0275\u0275textInterpolate(_e.Beschreibung)}}function X(Ue,Xe){if(1&Ue){const _e=h.\u0275\u0275getCurrentView();h.\u0275\u0275elementStart(0,"div",31)(1,"table",32)(2,"tr")(3,"td",33),h.\u0275\u0275text(4,"Change Log"),h.\u0275\u0275elementEnd()(),h.\u0275\u0275elementStart(5,"tr",34)(6,"td"),h.\u0275\u0275text(7,"Datum"),h.\u0275\u0275elementEnd(),h.\u0275\u0275elementStart(8,"td"),h.\u0275\u0275text(9,"Version"),h.\u0275\u0275elementEnd(),h.\u0275\u0275elementStart(10,"td"),h.\u0275\u0275text(11,"Beschreibung"),h.\u0275\u0275elementEnd()(),h.\u0275\u0275template(12,ie,10,3,"tr",35),h.\u0275\u0275elementEnd(),h.\u0275\u0275elementStart(13,"ion-button",36),h.\u0275\u0275listener("click",function(){h.\u0275\u0275restoreView(_e);const Ce=h.\u0275\u0275nextContext(2);return h.\u0275\u0275resetView(Ce.AddChangelogClicked())}),h.\u0275\u0275element(14,"ion-icon",37),h.\u0275\u0275elementStart(15,"ion-text",38),h.\u0275\u0275text(16,"Neuer Eintrag"),h.\u0275\u0275elementEnd()(),h.\u0275\u0275elementStart(17,"table",32)(18,"tr")(19,"td")(20,"b"),h.\u0275\u0275text(21,"Build:"),h.\u0275\u0275elementEnd()(),h.\u0275\u0275elementStart(22,"td"),h.\u0275\u0275text(23),h.\u0275\u0275elementEnd()()()()}if(2&Ue){const _e=h.\u0275\u0275nextContext(2);h.\u0275\u0275advance(3),h.\u0275\u0275styleProp("color",_e.Basics.Farben.BAEBlau),h.\u0275\u0275advance(9),h.\u0275\u0275property("ngForOf",_e.Pool.Changlogliste),h.\u0275\u0275advance(),h.\u0275\u0275property("color","grau"),h.\u0275\u0275advance(10),h.\u0275\u0275textInterpolate(_e.Basics.AppBuild)}}function be(Ue,Xe){1&Ue&&(h.\u0275\u0275elementContainerStart(0),h.\u0275\u0275elementStart(1,"div",49),h.\u0275\u0275element(2,"img",50),h.\u0275\u0275elementEnd(),h.\u0275\u0275elementContainerEnd())}function ce(Ue,Xe){if(1&Ue){const _e=h.\u0275\u0275getCurrentView();h.\u0275\u0275elementStart(0,"table")(1,"tr")(2,"td")(3,"div",40),h.\u0275\u0275listener("click",function(){h.\u0275\u0275restoreView(_e);const Ce=h.\u0275\u0275nextContext(3);return h.\u0275\u0275resetView(Ce.StandorteButtonClicked())})("mouseenter",function(){h.\u0275\u0275restoreView(_e);const Ce=h.\u0275\u0275nextContext(3);return h.\u0275\u0275resetView(Ce.StandortMouseOver=!0)})("mouseleave",function(){h.\u0275\u0275restoreView(_e);const Ce=h.\u0275\u0275nextContext(3);return h.\u0275\u0275resetView(Ce.StandortMouseOver=!1)}),h.\u0275\u0275elementStart(4,"table")(5,"tr")(6,"td",21),h.\u0275\u0275element(7,"ion-icon",41),h.\u0275\u0275elementEnd()(),h.\u0275\u0275elementStart(8,"tr")(9,"td",28)(10,"table")(11,"tr")(12,"td",42),h.\u0275\u0275text(13),h.\u0275\u0275elementEnd(),h.\u0275\u0275element(14,"td",43),h.\u0275\u0275elementStart(15,"td")(16,"ion-text",44),h.\u0275\u0275text(17,"Standorte"),h.\u0275\u0275elementEnd()()()()()()()()(),h.\u0275\u0275elementStart(18,"td"),h.\u0275\u0275element(19,"div",45),h.\u0275\u0275elementEnd(),h.\u0275\u0275elementStart(20,"td")(21,"div",40),h.\u0275\u0275listener("click",function(){h.\u0275\u0275restoreView(_e);const Ce=h.\u0275\u0275nextContext(3);return h.\u0275\u0275resetView(Ce.MitarbeiterButtonClicked())})("mouseenter",function(){h.\u0275\u0275restoreView(_e);const Ce=h.\u0275\u0275nextContext(3);return h.\u0275\u0275resetView(Ce.MitarbeiterMouseOver=!0)})("mouseleave",function(){h.\u0275\u0275restoreView(_e);const Ce=h.\u0275\u0275nextContext(3);return h.\u0275\u0275resetView(Ce.MitarbeiterMouseOver=!1)}),h.\u0275\u0275elementStart(22,"table")(23,"tr")(24,"td",21)(25,"div",46)(26,"div",47),h.\u0275\u0275element(27,"ion-icon",48),h.\u0275\u0275elementEnd(),h.\u0275\u0275template(28,be,3,0,"ng-container",2),h.\u0275\u0275elementEnd()()(),h.\u0275\u0275elementStart(29,"tr")(30,"td",28)(31,"table")(32,"tr")(33,"td",42),h.\u0275\u0275text(34),h.\u0275\u0275elementEnd(),h.\u0275\u0275element(35,"td",43),h.\u0275\u0275elementStart(36,"td",28)(37,"ion-text",44),h.\u0275\u0275text(38,"Mitarbeiter"),h.\u0275\u0275elementEnd()()()()()()()()()()()}if(2&Ue){const _e=h.\u0275\u0275nextContext(3);h.\u0275\u0275advance(7),h.\u0275\u0275property("color",_e.StandortMouseOver?_e.Basics.Ionicfarben.BAEBlau:_e.Basics.Ionicfarben.BurnicklGrau),h.\u0275\u0275advance(5),h.\u0275\u0275styleProp("color",_e.Basics.Farben.BAEBlau),h.\u0275\u0275advance(),h.\u0275\u0275textInterpolate1(" ",_e.Pool.Standorteliste.length," "),h.\u0275\u0275advance(3),h.\u0275\u0275property("color",_e.Basics.Ionicfarben.Grau),h.\u0275\u0275advance(3),h.\u0275\u0275styleProp("background",_e.Basics.Farben.Grau),h.\u0275\u0275advance(8),h.\u0275\u0275property("color",_e.MitarbeiterMouseOver?_e.Basics.Ionicfarben.BAEBlau:_e.Basics.Ionicfarben.BurnicklGrau),h.\u0275\u0275advance(),h.\u0275\u0275property("ngIf",null!==_e.Pool.Mitarbeiterdaten&&!1===_e.CheckAllMitarbeiterdaten()),h.\u0275\u0275advance(5),h.\u0275\u0275styleProp("color",_e.Basics.Farben.BAEBlau),h.\u0275\u0275advance(),h.\u0275\u0275textInterpolate1(" ",_e.CountMitarbeiter()," "),h.\u0275\u0275advance(3),h.\u0275\u0275property("color",_e.Basics.Ionicfarben.Grau)}}function ze(Ue,Xe){if(1&Ue&&(h.\u0275\u0275elementStart(0,"table",5)(1,"tr")(2,"td",21),h.\u0275\u0275template(3,ce,39,13,"table",2),h.\u0275\u0275elementEnd()()()),2&Ue){const _e=h.\u0275\u0275nextContext(2);h.\u0275\u0275advance(3),h.\u0275\u0275property("ngIf",null!==_e.Pool.Mitarbeiterdaten&&!0===_e.Pool.Mitarbeiterdaten.Planeradministrator)}}function ct(Ue,Xe){if(1&Ue){const _e=h.\u0275\u0275getCurrentView();h.\u0275\u0275elementContainerStart(0),h.\u0275\u0275template(1,X,24,5,"div",16),h.\u0275\u0275elementStart(2,"div",17)(3,"div",18)(4,"ion-grid")(5,"ion-row")(6,"ion-col",19),h.\u0275\u0275element(7,"div",20),h.\u0275\u0275elementEnd()(),h.\u0275\u0275elementStart(8,"ion-row")(9,"ion-col")(10,"table",5)(11,"tr")(12,"td",21),h.\u0275\u0275element(13,"img",22),h.\u0275\u0275elementEnd()()()()(),h.\u0275\u0275elementStart(14,"ion-row")(15,"ion-col",19),h.\u0275\u0275element(16,"div",23),h.\u0275\u0275elementEnd()(),h.\u0275\u0275elementStart(17,"ion-row")(18,"ion-col")(19,"div",24),h.\u0275\u0275template(20,ze,4,1,"table",25),h.\u0275\u0275elementEnd()()(),h.\u0275\u0275elementStart(21,"ion-row")(22,"ion-col",19),h.\u0275\u0275element(23,"div",20),h.\u0275\u0275elementEnd()(),h.\u0275\u0275elementStart(24,"ion-row")(25,"ion-col",19),h.\u0275\u0275element(26,"div",20),h.\u0275\u0275elementEnd()(),h.\u0275\u0275elementStart(27,"ion-row")(28,"ion-col")(29,"table",5)(30,"tr")(31,"td",21)(32,"table")(33,"tr")(34,"td")(35,"div",26),h.\u0275\u0275listener("click",function(){h.\u0275\u0275restoreView(_e);const Ce=h.\u0275\u0275nextContext();return h.\u0275\u0275resetView(Ce.PlanerButtonClicked())}),h.\u0275\u0275elementStart(36,"table",5)(37,"tr")(38,"td",21),h.\u0275\u0275element(39,"ion-icon",27),h.\u0275\u0275elementEnd()(),h.\u0275\u0275elementStart(40,"tr")(41,"td",28)(42,"ion-text",29),h.\u0275\u0275text(43,"Urlaub - Homeoffice - Planer"),h.\u0275\u0275elementEnd()()(),h.\u0275\u0275elementStart(44,"tr")(45,"td",30),h.\u0275\u0275text(46),h.\u0275\u0275elementEnd()()()()()()()()()()()()()()(),h.\u0275\u0275elementContainerEnd()}if(2&Ue){const _e=h.\u0275\u0275nextContext();h.\u0275\u0275advance(),h.\u0275\u0275property("ngIf",_e.Pool.Appeinstellungen.ShowHomeScreenInfos),h.\u0275\u0275advance(19),h.\u0275\u0275property("ngIf",!1===_e.Pool.ShowProgress),h.\u0275\u0275advance(19),h.\u0275\u0275property("color",_e.Basics.Ionicfarben.BAEBlau),h.\u0275\u0275advance(3),h.\u0275\u0275property("color",_e.Basics.Ionicfarben.Grau),h.\u0275\u0275advance(4),h.\u0275\u0275textInterpolate2(" Version: ",_e.Basics.AppVersionName," / ",_e.Basics.AppVersionDatum," ")}}function xe(Ue,Xe){if(1&Ue){const _e=h.\u0275\u0275getCurrentView();h.\u0275\u0275elementContainerStart(0),h.\u0275\u0275elementStart(1,"div",51)(2,"ion-grid")(3,"ion-row")(4,"ion-col",19),h.\u0275\u0275element(5,"div",52),h.\u0275\u0275elementEnd()(),h.\u0275\u0275elementStart(6,"ion-row")(7,"ion-col")(8,"table",5)(9,"tr")(10,"td",21),h.\u0275\u0275element(11,"img",22),h.\u0275\u0275elementEnd()()()()(),h.\u0275\u0275elementStart(12,"ion-row")(13,"ion-col"),h.\u0275\u0275element(14,"div",23),h.\u0275\u0275elementEnd()(),h.\u0275\u0275elementStart(15,"ion-row")(16,"ion-col",19)(17,"table",5)(18,"tr")(19,"td",21)(20,"div",53)(21,"table",5)(22,"tr")(23,"td",21),h.\u0275\u0275element(24,"ion-icon",27),h.\u0275\u0275elementEnd()(),h.\u0275\u0275elementStart(25,"tr")(26,"td",28)(27,"ion-text",29),h.\u0275\u0275text(28,"Urlaub - Homeoffice - Planer"),h.\u0275\u0275elementEnd()()(),h.\u0275\u0275elementStart(29,"tr")(30,"td",30),h.\u0275\u0275text(31),h.\u0275\u0275elementEnd()()()()()()()()(),h.\u0275\u0275elementStart(32,"ion-row")(33,"ion-col")(34,"table",5)(35,"tr")(36,"td",54)(37,"ion-button",55),h.\u0275\u0275listener("click",function(){h.\u0275\u0275restoreView(_e);const Ce=h.\u0275\u0275nextContext();return h.\u0275\u0275resetView(Ce.LoginButtonClicked())}),h.\u0275\u0275text(38,"Login"),h.\u0275\u0275elementEnd()()()()()()()(),h.\u0275\u0275elementContainerEnd()}if(2&Ue){const _e=h.\u0275\u0275nextContext();h.\u0275\u0275advance(24),h.\u0275\u0275property("color",_e.Basics.Ionicfarben.BAEBlau),h.\u0275\u0275advance(3),h.\u0275\u0275property("color",_e.Basics.Ionicfarben.Grau),h.\u0275\u0275advance(4),h.\u0275\u0275textInterpolate2(" Version: ",_e.Basics.AppVersionName," / ",_e.Basics.AppVersionDatum," "),h.\u0275\u0275advance(6),h.\u0275\u0275property("color",_e.Basics.Ionicfarben.BAEBlau)}}function Ie(Ue,Xe){if(1&Ue){const _e=h.\u0275\u0275getCurrentView();h.\u0275\u0275elementStart(0,"fi-changelog-editor",56),h.\u0275\u0275listener("OkClickedEvent",function(){h.\u0275\u0275restoreView(_e);const Ce=h.\u0275\u0275nextContext();return h.\u0275\u0275resetView(Ce.ShowChangelogEditor=!1)})("CancelClickedEvent",function(){h.\u0275\u0275restoreView(_e);const Ce=h.\u0275\u0275nextContext();return h.\u0275\u0275resetView(Ce.ShowChangelogEditor=!1)})("DeleteClickedEvent",function(){h.\u0275\u0275restoreView(_e);const Ce=h.\u0275\u0275nextContext();return h.\u0275\u0275resetView(Ce.ShowChangelogEditor=!1)}),h.\u0275\u0275elementEnd()}}m.CommonHomePage=(()=>{class Ue{Basics;Debug;Tools;Const;Pool;authService;msalBroadcastService;GraphService;DBChangelog;AuthService;Security;Menuservice;Title;StandortMouseOver;MitarbeiterMouseOver;ProjekteMouseOver;FavoritenMouseOver;LogoutMouseOver;DebugMouseOver;EinstellungenMouseOver;PlayMouseOver;BackgroundimageURL;Backgroundinterval;ShowChangelogEditor;ChangelogSubscription;ProgressMessage;ReloadMouseOver;UrlaubMouseOver;constructor(_e,Fe,Ce,Ae,Be,re,Ee,et,vt,Tt,dt,ot){this.Basics=_e,this.Debug=Fe,this.Tools=Ce,this.Const=Ae,this.Pool=Be,this.authService=re,this.msalBroadcastService=Ee,this.GraphService=et,this.DBChangelog=vt,this.AuthService=Tt,this.Security=dt,this.Menuservice=ot;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/"+u.random(1,36,!1).toString()+".jpg",this.Backgroundinterval=null,this.ShowChangelogEditor=!1,this.ChangelogSubscription=null,this.ProgressMessage="",this.ReloadMouseOver=!1,this.UrlaubMouseOver=!1}catch(Vt){this.Debug.ShowErrorMessage(Vt.message,"Home","constructor",this.Debug.Typen.Page)}}ngOnInit(){try{this.Security.CheckSecurity(),this.ChangelogSubscription=this.Pool.ChangeloglisteChanged.subscribe(()=>{this.PrepareDaten()}),this.msalBroadcastService.msalSubject$.pipe((0,i.filter)(_e=>_e.eventType===e.EventType.LOGIN_SUCCESS)).subscribe(_e=>{const Fe=_e.payload;this.authService.instance.setActiveAccount(Fe.account),this.AuthService.ActiveUser=Fe.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.Menuservice.UrlaubMenuebereich=this.Menuservice.UrlaubMenuebereiche.Planung,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,c.default)(_e).format("DD.MM.YYYY")}catch(Fe){this.Debug.ShowErrorMessage(Fe,"Home","GetDatum",this.Debug.Typen.Page)}}ChangelogClicked(_e){try{this.DBChangelog.CurrentChangelog=u.cloneDeep(_e),this.ShowChangelogEditor=!0}catch(Fe){this.Debug.ShowErrorMessage(Fe,"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,c.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 u.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=o.environment;CheckAllMitarbeiterdaten(){try{let _e=!0;for(let Fe of this.Pool.Mitarbeiterliste)!1===Fe.Archiviert&&(""===Fe.Kuerzel||""===Fe.StandortID)&&(_e=!1);return _e}catch(_e){this.Debug.ShowErrorMessage(_e,"Home","CheckAllMitarbeiterdaten",this.Debug.Typen.Page)}}static \u0275fac=function(Fe){return new(Fe||Ue)(h.\u0275\u0275directiveInject(v.BasicsProvider),h.\u0275\u0275directiveInject(M.DebugProvider),h.\u0275\u0275directiveInject(p.ToolsProvider),h.\u0275\u0275directiveInject(E.ConstProvider),h.\u0275\u0275directiveInject(S.DatabasePoolService),h.\u0275\u0275directiveInject(y.MsalService),h.\u0275\u0275directiveInject(y.MsalBroadcastService),h.\u0275\u0275directiveInject(f.Graphservice),h.\u0275\u0275directiveInject(C.DatabaseChangelogService),h.\u0275\u0275directiveInject(_.DatabaseAuthenticationService),h.\u0275\u0275directiveInject(w.SecurityService),h.\u0275\u0275directiveInject(D.MenueService))};static \u0275cmp=h.\u0275\u0275defineComponent({type:Ue,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"],["name","settings-outline",3,"color"],["align","right","valign","middle",2,"width","50%"],["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/group_logo.png",2,"height","100px"],[2,"height","40px"],[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"],[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(Fe,Ce){1&Fe&&(h.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1),h.\u0275\u0275template(3,K,26,11,"ng-container",2),h.\u0275\u0275elementEnd()(),h.\u0275\u0275elementStart(4,"ion-content"),h.\u0275\u0275template(5,ct,47,6,"ng-container",2)(6,xe,39,5,"ng-container",2),h.\u0275\u0275elementEnd(),h.\u0275\u0275elementStart(7,"ion-footer"),h.\u0275\u0275element(8,"page-footer",null,3),h.\u0275\u0275elementEnd(),h.\u0275\u0275template(10,Ie,1,0,"fi-changelog-editor",4)),2&Fe&&(h.\u0275\u0275advance(3),h.\u0275\u0275property("ngIf",!1===Ce.AuthService.ShowLogin),h.\u0275\u0275advance(2),h.\u0275\u0275property("ngIf",!1===Ce.AuthService.ShowLogin&&null!==Ce.Pool.Appeinstellungen),h.\u0275\u0275advance(),h.\u0275\u0275property("ngIf",!0===Ce.AuthService.ShowLogin),h.\u0275\u0275advance(4),h.\u0275\u0275property("ngIf",Ce.ShowChangelogEditor))},dependencies:[L.NgForOf,L.NgIf,N.IonButton,N.IonCol,N.IonContent,N.IonFooter,N.IonGrid,N.IonHeader,N.IonIcon,N.IonRow,N.IonText,V.PageHeaderComponent,G.PageFooterComponent,R.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:360px;height:220px;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 Ue})()},53964:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.CommonUrlaubEinstellungenPageModule=void 0;const n=s(81316),l=s(91368),u=s(92512),c=s(44716),i=s(79444),e=s(70216),o=s(53076),h=s(6168),v=s(90520),M=s(6232),p=s(72284),E=s(10272),S=s(7388),y=s(27328),f=s(26668),C=n.__importStar(s(54496)),w=(n.__importStar(s(53076)),[{path:"",component:i.CommonUrlaubEinstellungenPage}]);m.CommonUrlaubEinstellungenPageModule=(()=>{class L{static \u0275fac=function(G){return new(G||L)};static \u0275mod=C.\u0275\u0275defineNgModule({type:L});static \u0275inj=C.\u0275\u0275defineInjector({imports:[l.CommonModule,c.FormsModule,u.IonicModule,e.PageHeaderModule,o.RouterModule.forChild(w),h.PageHeaderMenuModule,v.PageFooterModule,M.UrlausplanungKalenderModule,p.ButtonValueModule,E.AuswahlDialogModule,S.CheckboxClonModule,y.FiMitarbeiterEditorModule,f.FiMitarbeiterAuswahlModule]})}return L})()},79444:(pe,m,s)=>{"use strict";var n=s(1196).default;Object.defineProperty(m,"__esModule",{value:!0}),m.CommonUrlaubEinstellungenPage=void 0;const l=s(81316),u=l.__importStar(s(17964)),c=l.__importDefault(s(35908)),i=s(17964),e=l.__importStar(s(54496)),o=l.__importStar(s(14652)),h=l.__importStar(s(7992)),v=l.__importStar(s(9544)),M=l.__importStar(s(22848)),p=l.__importStar(s(29743)),E=l.__importStar(s(58864)),S=l.__importStar(s(15024)),y=l.__importStar(s(48044)),f=l.__importStar(s(33940)),C=l.__importStar(s(19668)),_=l.__importStar(s(34388)),w=l.__importStar(s(91368)),D=l.__importStar(s(92512)),L=l.__importStar(s(90212)),N=l.__importStar(s(63792)),V=l.__importStar(s(29856)),G=l.__importStar(s(56584)),R=l.__importStar(s(25856)),k=l.__importStar(s(80887)),A=["PageHeader"],H=["PageFooter"];function K(Ce,Ae){if(1&Ce&&(e.\u0275\u0275elementStart(0,"tr")(1,"td",11),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()),2&Ce){const Be=Ae.$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Be.Vorname+" "+Be.Name)}}function ie(Ce,Ae){if(1&Ce&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,K,3,1,"tr",14),e.\u0275\u0275elementContainerEnd()),2&Ce){const Be=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",Be.Projektbeteiligteliste)}}function X(Ce,Ae){1&Ce&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td"),e.\u0275\u0275element(3,"img",17),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"td"),e.\u0275\u0275text(5," Bitte w\xe4hle hier alle Personen aus mit denen du regelm\xe4\xdfig zusammenarbeitest,"),e.\u0275\u0275element(6,"br"),e.\u0275\u0275text(7," oder Personen die eventuell deine Urlaubsvertretung \xfcbernehmen k\xf6nnen."),e.\u0275\u0275element(8,"br"),e.\u0275\u0275text(9," Durch diese Auswahl kannst du die Urlaubsplanung der ausgew\xe4hlen Kolleginen und Kollegen einsehen. "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd())}function be(Ce,Ae){1&Ce&&(e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275element(2,"img",17),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4," F\xfcr dich sind keine Personen f\xfcr deine Urlaubsfreigaben eingetragen. Bitte wende dich an das Office. "),e.\u0275\u0275elementEnd()())}function ce(Ce,Ae){if(1&Ce&&(e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()),2&Ce){const Be=Ae.$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Be.Vorname+" "+Be.Name)}}function ze(Ce,Ae){1&Ce&&(e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275element(2,"img",17),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4," F\xfcr dich sind keine Personen f\xfcr deine Homeofficefreigaben eingetragen. Bitte wende dich an das Office. "),e.\u0275\u0275elementEnd()())}function ct(Ce,Ae){if(1&Ce&&(e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()),2&Ce){const Be=Ae.$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Be.Vorname+" "+Be.Name)}}function xe(Ce,Ae){if(1&Ce){const Be=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",18),e.\u0275\u0275listener("CheckChanged",function(Ee){const vt=e.\u0275\u0275restoreView(Be).$implicit,Tt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Tt.FerienBlockedChanged(Ee,vt.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&Ce){const Be=Ae.$implicit,re=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275property("Checked",re.CheckFerienBlocker(Be.Anfangstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(re.GetDatum(Be.Anfangstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(re.GetDatum(Be.Endestempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Be.Name)}}function Ie(Ce,Ae){if(1&Ce){const Be=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",18),e.\u0275\u0275listener("CheckChanged",function(Ee){const vt=e.\u0275\u0275restoreView(Be).$implicit,Tt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Tt.FeiertagBlockedChanged(Ee,vt.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&Ce){const Be=Ae.$implicit,re=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275property("Checked",re.CheckFeiertagBlocker(Be.Anfangstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(re.GetDatum(Be.Anfangstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(re.GetDatum(Be.Endestempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Be.Name)}}function Le(Ce,Ae){if(1&Ce){const Be=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ion-grid")(1,"ion-row")(2,"ion-col",8)(3,"ion-text",9)(4,"b"),e.\u0275\u0275text(5,"Projekt beteiligte Mitarbeiter/innen"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(6,"ion-row")(7,"ion-col",8)(8,"table",10),e.\u0275\u0275template(9,ie,2,1,"ng-container",3)(10,X,10,0,"ng-container",3),e.\u0275\u0275elementStart(11,"tr")(12,"td",11)(13,"ion-button",12),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Be);const Ee=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ee.MitarbeiterAuswahlClicked())}),e.\u0275\u0275text(14,"Mitarbeiter/innen ausw\xe4hlen"),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(15,"ion-row")(16,"ion-col")(17,"ion-text",9)(18,"b"),e.\u0275\u0275text(19,"Urlaubsfreigaben"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(20,"ion-row")(21,"ion-col",13)(22,"table",10),e.\u0275\u0275template(23,be,5,0,"tr",3)(24,ce,3,1,"tr",14),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(25,"ion-row")(26,"ion-col")(27,"ion-text",9)(28,"b"),e.\u0275\u0275text(29,"Homeofficefreigaben"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(30,"ion-row")(31,"ion-col",13)(32,"table",10),e.\u0275\u0275template(33,ze,5,0,"tr",3)(34,ct,3,1,"tr",14),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(35,"ion-row")(36,"ion-col",15)(37,"ion-text",9)(38,"b"),e.\u0275\u0275text(39,"Schulferien"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(40,"ion-col",15)(41,"ion-text",9)(42,"b"),e.\u0275\u0275text(43,"Feiertage"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(44,"ion-row")(45,"ion-col",15)(46,"table",10)(47,"tr",16),e.\u0275\u0275element(48,"td"),e.\u0275\u0275elementStart(49,"td"),e.\u0275\u0275text(50,"Von"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(51,"td"),e.\u0275\u0275text(52,"Bis"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(53,"td"),e.\u0275\u0275text(54,"Name"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(55,xe,9,4,"tr",14),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(56,"ion-col",15)(57,"table",10)(58,"tr",16),e.\u0275\u0275element(59,"td"),e.\u0275\u0275elementStart(60,"td"),e.\u0275\u0275text(61,"Von"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(62,"td"),e.\u0275\u0275text(63,"Bis"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(64,"td"),e.\u0275\u0275text(65,"Name"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(66,Ie,9,4,"tr",14),e.\u0275\u0275elementEnd()()()()}if(2&Ce){const Be=e.\u0275\u0275nextContext();e.\u0275\u0275advance(9),e.\u0275\u0275property("ngIf",Be.Projektbeteiligteliste.length>0),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0===Be.Projektbeteiligteliste.length),e.\u0275\u0275advance(13),e.\u0275\u0275property("ngIf",0===Be.Urlaubsfreigeberliste.length),e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",Be.Urlaubsfreigeberliste),e.\u0275\u0275advance(9),e.\u0275\u0275property("ngIf",0===Be.Homeofficefreigeberliste.length),e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",Be.Homeofficefreigeberliste),e.\u0275\u0275advance(21),e.\u0275\u0275property("ngForOf",Be.Ferienliste),e.\u0275\u0275advance(11),e.\u0275\u0275property("ngForOf",Be.Feiertageliste)}}function Ue(Ce,Ae){if(1&Ce){const Be=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"auswahl-dialog",19),e.\u0275\u0275listener("OkClickedEvent",function(Ee){e.\u0275\u0275restoreView(Be);const et=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(et.AuswahlOkButtonClicked(Ee))})("CancelClickedEvent",function(){e.\u0275\u0275restoreView(Be);const Ee=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ee.ShowAuswahl=!1)}),e.\u0275\u0275elementEnd()}if(2&Ce){const Be=e.\u0275\u0275nextContext();e.\u0275\u0275property("Auswahlliste",Be.Auswahlliste)("Auswahlindex",Be.Auswahlindex)("ZIndex",5e3)("Dialogbreite",400)("PositionY",100)("Titel",Be.Auswahltitel)("Iconname","")}}function Xe(Ce,Ae){if(1&Ce){const Be=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"fi-mitarbeiter-auswahl",20),e.\u0275\u0275listener("CancelClickedEvent",function(){e.\u0275\u0275restoreView(Be);const Ee=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ee.ShowMitarbeiterauswahl=!1)})("OkClickedEvent",function(Ee){e.\u0275\u0275restoreView(Be);const et=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(et.MitarbeiterauswahlOkButtonClicked(Ee))})("StandortfilterClickedEvent",function(){e.\u0275\u0275restoreView(Be);const Ee=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ee.MitarebiterStandortfilterClickedHandler())}),e.\u0275\u0275elementEnd()}if(2&Ce){const Be=e.\u0275\u0275nextContext();e.\u0275\u0275property("Titel",Be.MitarbeiterauswahlTitel)("Dialogbreite",600)("ZIndex",4e3)("Multiselect",Be.MitarbeiterMultiselect)("AuswahlIDliste",Be.AuswahlIDliste)("OnlyProjektmitarbeiter",!1)}}function _e(Ce,Ae){if(1&Ce){const Be=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"fi-mitarbeiter-auswahl",21),e.\u0275\u0275listener("CancelClickedEvent",function(){e.\u0275\u0275restoreView(Be);const Ee=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ee.ShowMitarbeiterauswahl=!1)})("OkClickedEvent",function(Ee){e.\u0275\u0275restoreView(Be);const et=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(et.MitarbeiterauswahlOkButtonClicked(Ee))})("StandortfilterClickedEvent",function(){e.\u0275\u0275restoreView(Be);const Ee=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ee.MitarebiterStandortfilterClickedHandler())}),e.\u0275\u0275elementEnd()}if(2&Ce){const Be=e.\u0275\u0275nextContext();e.\u0275\u0275property("Titel",Be.MitarbeiterauswahlTitel)("BlockCurrentMitarbeiter",Be.BlockCurrentMitarbeiter)("Dialogbreite",600)("ZIndex",4e3)("Multiselect",Be.MitarbeiterMultiselect)("OnlyProjektmitarbeiter",!1)("AuswahlIDliste",Be.AuswahlIDliste)}}m.CommonUrlaubEinstellungenPage=(()=>{class Ce{Basics;Pool;DB;DBMitarbeiter;Const;DBStandort;DBMitarbeiterstettings;Auswahlservice;Loadinganimation;Tools;Debug;PageHeader;PageFooter;Auswahlliste;Auswahlindex;Auswahltitel;ShowAuswahl;Auswahlhoehe;Auswahldialogorigin;ShowMitarbeiterauswahl;BlockCurrentMitarbeiter;AuswahlIDliste;MitarbeiterauswahlTitel;Projektbeteiligteliste;Urlaubsfreigeberliste;Homeofficefreigeberliste;MitarbeiterMultiselect;Ferienliste;Feiertageliste;DataSubscription;constructor(Be,re,Ee,et,vt,Tt,dt,ot,Vt,nn,vn){this.Basics=Be,this.Pool=re,this.DB=Ee,this.DBMitarbeiter=et,this.Const=vt,this.DBStandort=Tt,this.DBMitarbeiterstettings=dt,this.Auswahlservice=ot,this.Loadinganimation=Vt,this.Tools=nn,this.Debug=vn;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=[],this.Urlaubsfreigeberliste=[],this.Homeofficefreigeberliste=[],this.BlockCurrentMitarbeiter=!1}catch(zt){this.Debug.ShowErrorMessage(zt.message,"Urlaub Einstellungen Page","constructor",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.DataSubscription.unsubscribe(),this.DataSubscription=null}catch(Be){this.Debug.ShowErrorMessage(Be,"Urlaub Einstellungen Page","OnDestroy",this.Debug.Typen.Page)}}ionViewDidEnter(){try{this.Basics.MeassureInnercontent(this.PageHeader,this.PageFooter)}catch(Be){this.Debug.ShowErrorMessage(Be.message,"Urlaub Einstellungen Page","ionViewDidEnter",this.Debug.Typen.Page)}}ngOnInit(){try{this.DataSubscription=this.Pool.LoadingAllDataFinished.subscribe(()=>{this.PrepareData()}),this.PrepareData()}catch(Be){this.Debug.ShowErrorMessage(Be,"Urlaub Einstellungen Page","OnInit",this.Debug.Typen.Page)}}PrepareData(){try{let Be,re;this.DB.Init(),this.DB.CheckSetup(),this.DB.CountAnfragenanzahlen(),this.Projektbeteiligteliste=[];for(let Ee of this.DB.CurrentUrlaub.Projektbeteiligteliste)Be=this.DBMitarbeiter.GetMitarbeiterByID(Ee.MitarbeiterID),null!==Be&&this.Projektbeteiligteliste.push(Be);this.Projektbeteiligteliste.sort((Ee,et)=>Ee.Nameet.Name?1:0),re=u.find(this.Pool.Standorteliste,{_id:this.DB.CurrentMitarbeiter.StandortID}),this.Urlaubsfreigeberliste=[];for(let Ee of re.Urlaubfreigabepersonen)Be=u.find(this.Pool.Mitarbeiterliste,{_id:Ee}),u.isUndefined(Be)||this.Urlaubsfreigeberliste.push(Be);this.Urlaubsfreigeberliste.sort((Ee,et)=>Ee.Nameet.Name?1:0),this.Homeofficefreigeberliste=[];for(let Ee of re.Homeofficefreigabepersonen)Be=u.find(this.Pool.Mitarbeiterliste,{_id:Ee}),u.isUndefined(Be)||this.Homeofficefreigeberliste.push(Be);this.Homeofficefreigeberliste.sort((Ee,et)=>Ee.Nameet.Name?1:0),this.Ferienliste=[],u.isUndefined(this.DB.Ferienliste[this.DB.Laendercode])||(this.Ferienliste=u.cloneDeep(this.DB.Ferienliste[this.DB.Laendercode])),this.Feiertageliste=[],u.isUndefined(this.DB.Feiertageliste[this.DB.Laendercode])||(this.Feiertageliste=u.cloneDeep(this.DB.Feiertageliste[this.DB.Laendercode]))}catch(Be){this.Debug.ShowErrorMessage(Be,"Urlaub Einstellungen Page","PrepareData",this.Debug.Typen.Page)}}MitarbeiterauswahlOkButtonClicked(Be){try{let re,Ee,et;switch(this.Auswahldialogorigin){case this.Auswahlservice.Auswahloriginvarianten.UrlaubEinstellungen_Projektbeteiligte_Auswahl:this.DB.CurrentUrlaub.Projektbeteiligteliste=u.filter(this.DB.CurrentUrlaub.Projektbeteiligteliste,vt=>-1!==Be.indexOf(vt.MitarbeiterID));for(let vt of Be)re=u.find(this.DB.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:vt}),u.isUndefined(re)&&this.DB.CurrentUrlaub.Projektbeteiligteliste.push({MitarbeiterID:vt,Display:!1});et=u.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.CurrentUrlaub.Jahr}),this.DB.CurrentMitarbeiter.Urlaubsliste[et]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.PrepareData()});break;case this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln:Ee=u.find(this.Pool.Mitarbeiterliste,{_id:Be[0]}),this.DB.CurrentMitarbeiter=Ee,this.PrepareData()}this.ShowMitarbeiterauswahl=!1}catch(re){this.Debug.ShowErrorMessage(re.message,"Urlaub Einstellungen Page","MitarbeiterauswahlOkButtonClicked",this.Debug.Typen.Page)}}MitarebiterStandortfilterClickedHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.UrlaubEinstellungen_Standort_Filter;let Be=0;this.ShowAuswahl=!0,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:Be,FirstColumn:"kein Filter",SecoundColumn:"",Data:null}),Be++;for(let re of this.Pool.Standorteliste)this.Auswahlliste.push({Index:Be,FirstColumn:re.Kuerzel,SecoundColumn:re.Standort,Data:re}),Be++;this.Auswahlindex=null!==this.DBStandort.CurrentStandortfilter?u.findIndex(this.Pool.Standorteliste,{_id:this.DBStandort.CurrentStandortfilter._id}):0}catch(Be){this.Debug.ShowErrorMessage(Be.message,"Urlaub Einstellungen Page","MitarebiterStandortfilterClickedHandler",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(Be){var re=this;return n(function*(){try{switch(re.Auswahldialogorigin){case"Urlaub":re.DB.CurrentMitarbeiter.Urlaub=Be,re.DBMitarbeiter.UpdateMitarbeiterUrlaub(re.DB.CurrentMitarbeiter);break;case re.Auswahlservice.Auswahloriginvarianten.UrlaubEinstellungen_Standort_Filter:re.DBStandort.CurrentStandortfilter=(0,i.cloneDeep)(Be),re.Pool.Mitarbeitersettings.StandortFilter=null!==Be?Be._id:re.Const.NONE,re.DBMitarbeiterstettings.UpdateMitarbeitersettings(re.Pool.Mitarbeitersettings,null).then(()=>{re.PrepareData(),re.DBStandort.StandortfilterChanged.emit()});break;case re.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Jahr_Aendern:re.DB.CurrentJahr=Be,yield re.Loadinganimation.ShowLoadingAnimation("Hinweis","Daten werden geladen"),yield re.DB.ReadFeiertage("DE"),yield re.DB.ReadFeiertage("BG"),yield re.DB.ReadFerien("DE"),yield re.DB.ReadFerien("BG"),yield re.Loadinganimation.HideLoadingAnimation(!0)}re.ShowAuswahl=!1,re.PrepareData()}catch(Ee){re.Debug.ShowErrorMessage(Ee.message,"Urlaub Einstellungen Page","AuswahlOkButtonClicked",re.Debug.Typen.Page)}})()}MitarbeiterAuswahlClicked(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.UrlaubEinstellungen_Projektbeteiligte_Auswahl,this.MitarbeiterauswahlTitel="Mitarbeiter/innen ausw\xe4hlen",this.ShowMitarbeiterauswahl=!0,this.BlockCurrentMitarbeiter=!0,this.AuswahlIDliste=[],this.MitarbeiterMultiselect=!0;for(let Be of this.DB.CurrentUrlaub.Projektbeteiligteliste)this.AuswahlIDliste.push(Be.MitarbeiterID)}catch(Be){this.Debug.ShowErrorMessage(Be,"Urlaub Einstellungen Page","MitarbeiterWechselnClicked",this.Debug.Typen.Page)}}GetDatum(Be){try{return(0,c.default)(Be).format("DD.MM.YYYY")}catch(re){this.Debug.ShowErrorMessage(re,"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=u.findIndex(this.Auswahlliste,Be=>Be.Data===this.DB.CurrentMitarbeiter.Urlaub),this.ShowAuswahl=!0}catch(Be){this.Debug.ShowErrorMessage(Be,"Urlaub Einstellungen Page","ResturlaubClickedEvent",this.Debug.Typen.Page)}}CheckFerienBlocker(Be){try{return-1===this.DB.CurrentUrlaub.Ferienblockerliste.indexOf(Be)}catch(re){this.Debug.ShowErrorMessage(re,"Urlaub Einstellungen Page","CheckFerienBlocker",this.Debug.Typen.Page)}}FerienBlockedChanged(Be,re){try{let Ee;!1===Be.status?this.DB.CurrentUrlaub.Ferienblockerliste.push(re):this.DB.CurrentUrlaub.Ferienblockerliste=u.filter(this.DB.CurrentUrlaub.Ferienblockerliste,et=>et!==re),Ee=u.find(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.CurrentUrlaub.Jahr}),u.isUndefined(Ee)||(Ee.Ferienblockerliste=this.DB.CurrentUrlaub.Ferienblockerliste,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter))}catch(Ee){this.Debug.ShowErrorMessage(Ee,"Urlaub Einstellungen Page","FereinBlockedChanged",this.Debug.Typen.Page)}}CheckFeiertagBlocker(Be){try{return-1===this.DB.CurrentUrlaub.Feiertageblockerliste.indexOf(Be)}catch(re){this.Debug.ShowErrorMessage(re,"Urlaub Einstellungen Page","CheckFeiertagBlocker",this.Debug.Typen.Page)}}FeiertagBlockedChanged(Be,re){try{let Ee;!1===Be.status?this.DB.CurrentUrlaub.Feiertageblockerliste.push(re):this.DB.CurrentUrlaub.Feiertageblockerliste=u.filter(this.DB.CurrentUrlaub.Feiertageblockerliste,et=>et!==re),Ee=u.find(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.CurrentUrlaub.Jahr}),u.isUndefined(Ee)||(Ee.Feiertageblockerliste=this.DB.CurrentUrlaub.Feiertageblockerliste,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter))}catch(Ee){this.Debug.ShowErrorMessage(Ee,"Urlaub Einstellungen Page","FereinBlockedChanged",this.Debug.Typen.Page)}}MitarbeiterWechselnClicked(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln,this.ShowMitarbeiterauswahl=!0,this.BlockCurrentMitarbeiter=!1,this.AuswahlIDliste=[]}catch(Be){this.Debug.ShowErrorMessage(Be,"Urlaub Einstellungen Page","MitarbeiterWechselnClicked",this.Debug.Typen.Page)}}UrlaubMitarbeiterMeClickedHandler(){try{this.DB.CurrentMitarbeiter=this.Pool.Mitarbeiterdaten,this.PrepareData()}catch(Be){this.Debug.ShowErrorMessage(Be,"Urlaub Einstellungen Page","UrlaubMitarbeiterMeClickedHandler",this.Debug.Typen.Page)}}JahrButtonClickedHandler(){try{let Be=0,Ee=this.DB.Jahr+1;this.Auswahltitel="Jahr wechseln",this.Auswahlliste=[],this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Jahr_Aendern;for(let et=this.DB.Startjahr;et<=Ee;et++)this.Auswahlliste.push({Index:Be++,FirstColumn:et.toString(),SecoundColumn:"",Data:et});this.ShowAuswahl=!0,this.Auswahlindex=u.findIndex(this.Auswahlliste,{Data:this.DB.CurrentJahr})}catch(Be){this.Debug.ShowErrorMessage(Be,"Einstellungen","JahrButtonClickedHandler",this.Debug.Typen.Page)}}static \u0275fac=function(re){return new(re||Ce)(e.\u0275\u0275directiveInject(o.BasicsProvider),e.\u0275\u0275directiveInject(h.DatabasePoolService),e.\u0275\u0275directiveInject(v.DatabaseUrlaubService),e.\u0275\u0275directiveInject(M.DatabaseMitarbeiterService),e.\u0275\u0275directiveInject(p.ConstProvider),e.\u0275\u0275directiveInject(E.DatabaseStandorteService),e.\u0275\u0275directiveInject(S.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(y.AuswahlDialogService),e.\u0275\u0275directiveInject(f.LoadingAnimationService),e.\u0275\u0275directiveInject(C.ToolsProvider),e.\u0275\u0275directiveInject(_.DebugProvider))};static \u0275cmp=e.\u0275\u0275defineComponent({type:Ce,selectors:[["common-urlaub-einstellungen-page"]],viewQuery:function(re,Ee){if(1&re&&(e.\u0275\u0275viewQuery(A,5),e.\u0275\u0275viewQuery(H,5)),2&re){let et;e.\u0275\u0275queryRefresh(et=e.\u0275\u0275loadQuery())&&(Ee.PageHeader=et.first),e.\u0275\u0275queryRefresh(et=e.\u0275\u0275loadQuery())&&(Ee.PageFooter=et.first)}},decls:12,vars:4,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"UrlaubMitarbeiterClicked","UrlaubMitarbeiterMeClicked","JahrButtonClicked"],[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","BlockCurrentMitarbeiter","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent",4,"ngIf"],["size","12"],["color","baeblau",2,"font-size","120%"],[1,"paddingtable"],["colspan","2"],["size","small","color","grau",3,"click"],["size","6"],[4,"ngFor","ngForOf"],["size","3"],[2,"font-weight","bold"],["src","assets/svgs/alert.svg",2,"width","24px"],[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","BlockCurrentMitarbeiter","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent"]],template:function(re,Ee){1&re&&(e.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),e.\u0275\u0275listener("UrlaubMitarbeiterClicked",function(){return Ee.MitarbeiterWechselnClicked()})("UrlaubMitarbeiterMeClicked",function(){return Ee.UrlaubMitarbeiterMeClickedHandler()})("JahrButtonClicked",function(){return Ee.JahrButtonClickedHandler()}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(4,"ion-content"),e.\u0275\u0275template(5,Le,67,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,Ue,1,7,"auswahl-dialog",5)(10,Xe,1,6,"fi-mitarbeiter-auswahl",6)(11,_e,1,7,"fi-mitarbeiter-auswahl",7)),2&re&&(e.\u0275\u0275advance(5),e.\u0275\u0275property("ngIf",null!==Ee.DB.CurrentUrlaub),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngIf",Ee.ShowAuswahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Ee.ShowMitarbeiterauswahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Ee.ShowMitarbeiterauswahl))},dependencies:[w.NgForOf,w.NgIf,D.IonButton,D.IonCol,D.IonContent,D.IonFooter,D.IonGrid,D.IonHeader,D.IonRow,D.IonText,L.PageHeaderComponent,N.PageHeaderMenuComponent,V.PageFooterComponent,G.AuswahlDialogComponent,R.CheckboxClonComponent,k.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 Ce})()},5884:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.CommonUrlaubFreigabenPageModule=void 0;const n=s(81316),l=s(91368),u=s(92512),c=s(44716),i=s(76052),e=s(70216),o=s(53076),h=s(6168),v=s(90520),M=s(6232),p=s(72284),E=s(10272),S=s(7388),y=s(27328),f=s(26668),C=s(6512),_=n.__importStar(s(54496)),D=(n.__importStar(s(53076)),[{path:"",component:i.CommonUrlaubFreigabenPage}]);m.CommonUrlaubFreigabenPageModule=(()=>{class N{static \u0275fac=function(R){return new(R||N)};static \u0275mod=_.\u0275\u0275defineNgModule({type:N});static \u0275inj=_.\u0275\u0275defineInjector({imports:[l.CommonModule,c.FormsModule,u.IonicModule,e.PageHeaderModule,o.RouterModule.forChild(D),h.PageHeaderMenuModule,v.PageFooterModule,M.UrlausplanungKalenderModule,p.ButtonValueModule,E.AuswahlDialogModule,S.CheckboxClonModule,y.FiMitarbeiterEditorModule,f.FiMitarbeiterAuswahlModule,C.AbstandElementFixedModule]})}return N})()},76052:(pe,m,s)=>{"use strict";var n=s(1196).default;Object.defineProperty(m,"__esModule",{value:!0}),m.CommonUrlaubFreigabenPage=void 0;const l=s(81316),u=l.__importStar(s(17964)),c=l.__importDefault(s(35908)),i=s(17964),e=s(36716),o=l.__importStar(s(54496)),h=l.__importStar(s(33940)),v=l.__importStar(s(14652)),M=l.__importStar(s(15024)),p=l.__importStar(s(7992)),E=l.__importStar(s(9544)),S=l.__importStar(s(22848)),y=l.__importStar(s(29743)),f=l.__importStar(s(58864)),C=l.__importStar(s(48044)),_=l.__importStar(s(34388)),w=l.__importStar(s(91368)),D=l.__importStar(s(92512)),L=l.__importStar(s(90212)),N=l.__importStar(s(63792)),V=l.__importStar(s(29856)),G=l.__importStar(s(77440)),R=l.__importStar(s(56584)),k=l.__importStar(s(25856)),A=l.__importStar(s(80887)),H=["PageHeader"],K=["PageFooter"];function ie(Ze,Rt){if(1&Ze&&(o.\u0275\u0275elementStart(0,"div",31)(1,"table",32)(2,"tr")(3,"td"),o.\u0275\u0275text(4,"Vertretungsanfragen"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(5,"td"),o.\u0275\u0275text(6),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(7,"tr")(8,"td"),o.\u0275\u0275text(9,"Vertretungsantwortenanzahl"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(10,"td"),o.\u0275\u0275text(11),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(12,"tr")(13,"td"),o.\u0275\u0275text(14,"Urlaubsfreigabenanfragenanzahl"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(15,"td"),o.\u0275\u0275text(16),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(17,"tr")(18,"td"),o.\u0275\u0275text(19,"Freigabenantwortenanzahl"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(20,"td"),o.\u0275\u0275text(21),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(22,"tr")(23,"td"),o.\u0275\u0275text(24,"Homeofficeanfragenanzahl"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(25,"td"),o.\u0275\u0275text(26),o.\u0275\u0275elementEnd()()()()),2&Ze){const je=o.\u0275\u0275nextContext();o.\u0275\u0275advance(6),o.\u0275\u0275textInterpolate(je.DB.Vertretungsanfragenanzahl),o.\u0275\u0275advance(5),o.\u0275\u0275textInterpolate(je.DB.Vertretungsantwortenanzahl),o.\u0275\u0275advance(5),o.\u0275\u0275textInterpolate(je.DB.Freigabenanfragenanzahl),o.\u0275\u0275advance(5),o.\u0275\u0275textInterpolate(je.DB.Freigabenantwortenanzahl),o.\u0275\u0275advance(5),o.\u0275\u0275textInterpolate(je.DB.Homeofficeanfragenanzahl)}}function X(Ze,Rt){if(1&Ze){const je=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"td")(1,"div",10),o.\u0275\u0275listener("click",function(){const on=o.\u0275\u0275restoreView(je).index,Ln=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(Ln.MonatButtonClicked(on))}),o.\u0275\u0275text(2),o.\u0275\u0275elementEnd()()}if(2&Ze){const je=Rt.$implicit,pt=Rt.index,mt=o.\u0275\u0275nextContext();o.\u0275\u0275advance(),o.\u0275\u0275styleProp("color",mt.GetMonatButtonColor(pt)),o.\u0275\u0275advance(),o.\u0275\u0275textInterpolate(je)}}function be(Ze,Rt){1&Ze&&o.\u0275\u0275element(0,"div",45)}function ce(Ze,Rt){if(1&Ze){const je=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275elementStart(1,"ion-radio-group",46),o.\u0275\u0275listener("ionChange",function(mt){o.\u0275\u0275restoreView(je);const on=o.\u0275\u0275nextContext(3).$implicit,Ln=o.\u0275\u0275nextContext(4).$implicit,jt=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(jt.VerteretungStatusChangedHandler(mt,on,Ln._id))}),o.\u0275\u0275elementStart(2,"table",47)(3,"tr")(4,"td"),o.\u0275\u0275element(5,"ion-radio",48),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(6,"td",49),o.\u0275\u0275text(7,"Vertretung annehmen"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(8,"td"),o.\u0275\u0275element(9,"ion-radio",48),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(10,"td",50),o.\u0275\u0275text(11,"Vertretung ablehnen"),o.\u0275\u0275elementEnd()()()(),o.\u0275\u0275elementContainerEnd()}if(2&Ze){const je=o.\u0275\u0275nextContext(3).$implicit,pt=o.\u0275\u0275nextContext(5);o.\u0275\u0275advance(),o.\u0275\u0275property("value",pt.DB.GetVertretungkonversation(pt.DB.CurrentMitarbeiter,je).Status),o.\u0275\u0275advance(4),o.\u0275\u0275property("value",pt.DB.Urlaubstatusvarianten.Vertreterfreigabe),o.\u0275\u0275advance(4),o.\u0275\u0275property("value",pt.DB.Urlaubstatusvarianten.Vertreterablehnung)}}function ze(Ze,Rt){if(1&Ze&&(o.\u0275\u0275elementStart(0,"td",49),o.\u0275\u0275text(1," Vertretung angenommen"),o.\u0275\u0275element(2,"br"),o.\u0275\u0275text(3),o.\u0275\u0275elementEnd()),2&Ze){const je=o.\u0275\u0275nextContext(4).$implicit,pt=o.\u0275\u0275nextContext(5);o.\u0275\u0275advance(3),o.\u0275\u0275textInterpolate2(" vor ",pt.DB.GetVertretungsanwortAge(je).toFixed(0)," ",1===pt.DB.GetVertretungsanwortAge(je)?"Minute":"Minuten"," ")}}function ct(Ze,Rt){if(1&Ze&&(o.\u0275\u0275elementStart(0,"td",50),o.\u0275\u0275text(1," Vertretung abgelehnt"),o.\u0275\u0275element(2,"br"),o.\u0275\u0275text(3),o.\u0275\u0275elementEnd()),2&Ze){const je=o.\u0275\u0275nextContext(4).$implicit,pt=o.\u0275\u0275nextContext(5);o.\u0275\u0275advance(3),o.\u0275\u0275textInterpolate2(" vor ",pt.DB.GetVertretungsanwortAge(je).toFixed(0)," ",1===pt.DB.GetVertretungsanwortAge(je)?"Minute":"Minuten"," ")}}function xe(Ze,Rt){if(1&Ze&&(o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275elementStart(1,"table",47)(2,"tr"),o.\u0275\u0275template(3,ze,4,2,"td",51)(4,ct,4,2,"td",52),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementContainerEnd()),2&Ze){const je=o.\u0275\u0275nextContext(3).$implicit,pt=o.\u0275\u0275nextContext(5);o.\u0275\u0275advance(3),o.\u0275\u0275property("ngIf",pt.DB.GetVertretungkonversation(pt.DB.CurrentMitarbeiter,je).Status===pt.DB.Urlaubstatusvarianten.Vertreterfreigabe),o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",pt.DB.GetVertretungkonversation(pt.DB.CurrentMitarbeiter,je).Status===pt.DB.Urlaubstatusvarianten.Vertreterablehnung)}}function Ie(Ze,Rt){if(1&Ze){const je=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"tr")(1,"td"),o.\u0275\u0275text(2),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(3,"td"),o.\u0275\u0275text(4),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(5,"td",39),o.\u0275\u0275text(6),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(7,"td"),o.\u0275\u0275template(8,be,1,0,"div",40),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(9,"td",8),o.\u0275\u0275element(10,"div",41),o.\u0275\u0275elementEnd(),o.\u0275\u0275element(11,"td",42),o.\u0275\u0275elementStart(12,"td")(13,"ion-button",43),o.\u0275\u0275listener("click",function(){o.\u0275\u0275restoreView(je);const mt=o.\u0275\u0275nextContext(2).$implicit,on=o.\u0275\u0275nextContext(4).$implicit,Ln=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(Ln.UrlaubSuchen(mt,on))}),o.\u0275\u0275element(14,"ion-icon",44),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(15,"td"),o.\u0275\u0275template(16,ce,12,3,"ng-container",21)(17,xe,5,2,"ng-container",21),o.\u0275\u0275elementEnd()()}if(2&Ze){const je=o.\u0275\u0275nextContext(2).$implicit,pt=o.\u0275\u0275nextContext(4).$implicit,mt=o.\u0275\u0275nextContext();o.\u0275\u0275advance(2),o.\u0275\u0275textInterpolate(mt.GetDatumlangtext(je.Startstempel)),o.\u0275\u0275advance(2),o.\u0275\u0275textInterpolate(mt.GetDatumlangtext(je.Endestempel)),o.\u0275\u0275advance(2),o.\u0275\u0275textInterpolate(je.Tageanzahl),o.\u0275\u0275advance(2),o.\u0275\u0275property("ngIf",!0===je.Betriebsurlaub),o.\u0275\u0275advance(2),o.\u0275\u0275styleProp("background",mt.DB.GetUrlaubStatuscolorByKonversation(je)),o.\u0275\u0275advance(),o.\u0275\u0275property("innerHTML",mt.GetPlanungmeldung(je,pt),o.\u0275\u0275sanitizeHtml),o.\u0275\u0275advance(5),o.\u0275\u0275property("ngIf",!1===mt.DB.GetVertretungkonversation(mt.DB.CurrentMitarbeiter,je).VertreterantwortSended),o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",!0===mt.DB.GetVertretungkonversation(mt.DB.CurrentMitarbeiter,je).VertreterantwortSended)}}function Le(Ze,Rt){if(1&Ze&&(o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275template(1,Ie,18,9,"tr",21),o.\u0275\u0275elementContainerEnd()),2&Ze){const je=o.\u0275\u0275nextContext().$implicit,pt=o.\u0275\u0275nextContext(5);o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",!0===pt.DB.CheckVertretungsanwortAge(je)&&pt.DB.CheckMitarbeiterIsVertretung(pt.DB.CurrentMitarbeiter,je)&&(je.Status===pt.DB.Urlaubstatusvarianten.Vertreteranfrage||je.Status===pt.DB.Urlaubstatusvarianten.Vertreterfreigabe||je.Status===pt.DB.Urlaubstatusvarianten.Vertreterablehnung))}}function Ue(Ze,Rt){if(1&Ze&&(o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275template(1,Le,2,1,"ng-container",21),o.\u0275\u0275elementContainerEnd()),2&Ze){const je=Rt.$implicit,pt=o.\u0275\u0275nextContext(5);o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",null!==pt.DB.GetVertretungkonversation(pt.DB.CurrentMitarbeiter,je))}}function Xe(Ze,Rt){1&Ze&&(o.\u0275\u0275elementStart(0,"tr")(1,"td",53),o.\u0275\u0275text(2," Bitte Person f\xfcr Urlaubsfreigaben festlegen "),o.\u0275\u0275elementEnd()())}function _e(Ze,Rt){if(1&Ze){const je=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275template(1,Ue,2,1,"ng-container",12),o.\u0275\u0275elementStart(2,"tr")(3,"td",37)(4,"ion-button",38),o.\u0275\u0275listener("click",function(){o.\u0275\u0275restoreView(je);const mt=o.\u0275\u0275nextContext().$implicit,on=o.\u0275\u0275nextContext(2).$implicit,Ln=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(Ln.SendVertretungUpdate(on,mt))}),o.\u0275\u0275text(5,"Aktualisierung senden"),o.\u0275\u0275elementEnd()()(),o.\u0275\u0275template(6,Xe,3,0,"tr",21),o.\u0275\u0275elementContainerEnd()}if(2&Ze){const je=o.\u0275\u0275nextContext().$implicit,pt=o.\u0275\u0275nextContext(2).$implicit,mt=o.\u0275\u0275nextContext();o.\u0275\u0275advance(),o.\u0275\u0275property("ngForOf",je.Urlaubzeitspannen),o.\u0275\u0275advance(3),o.\u0275\u0275property("disabled",!1===mt.CheckVertretungUpdateButtonEnabled(pt,je)),o.\u0275\u0275advance(2),o.\u0275\u0275property("ngIf",0===mt.DB.CountUrlaubsvertretungen(pt))}}function Fe(Ze,Rt){if(1&Ze&&(o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275template(1,_e,7,3,"ng-container",21),o.\u0275\u0275elementContainerEnd()),2&Ze){const je=Rt.$implicit,pt=o.\u0275\u0275nextContext(3);o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",je.Jahr===pt.DB.CurrentJahr)}}function Ce(Ze,Rt){if(1&Ze&&(o.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table",19)(3,"tr")(4,"td",8)(5,"table",32)(6,"tr")(7,"td",33),o.\u0275\u0275text(8,"Von"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(9,"td",33),o.\u0275\u0275text(10,"Bis"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(11,"td",34),o.\u0275\u0275text(12,"Tage"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(13,"td",34),o.\u0275\u0275text(14,"BU"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(15,"td",33),o.\u0275\u0275text(16,"Status"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(17,"td",35),o.\u0275\u0275text(18,"Statusmeldung"),o.\u0275\u0275elementEnd(),o.\u0275\u0275element(19,"td"),o.\u0275\u0275elementStart(20,"td",36),o.\u0275\u0275text(21,"Anfrage beantworten"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275template(22,Fe,2,1,"ng-container",12),o.\u0275\u0275elementEnd()()(),o.\u0275\u0275elementStart(23,"tr"),o.\u0275\u0275element(24,"td"),o.\u0275\u0275elementEnd()()()()),2&Ze){const je=o.\u0275\u0275nextContext().$implicit;o.\u0275\u0275advance(22),o.\u0275\u0275property("ngForOf",je.Urlaubsliste)}}function Ae(Ze,Rt){if(1&Ze&&(o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col")(3,"table",19)(4,"tr")(5,"td",8),o.\u0275\u0275text(6),o.\u0275\u0275elementEnd()()()()(),o.\u0275\u0275template(7,Ce,25,1,"ion-row",21),o.\u0275\u0275elementContainerEnd()),2&Ze){const je=Rt.$implicit,pt=o.\u0275\u0275nextContext();o.\u0275\u0275advance(6),o.\u0275\u0275textInterpolate1(" ",je.Vorname+" "+je.Name," "),o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",0!==pt.DB.Vertretungsanfragenanzahl||0!==pt.DB.Vertretungsantwortenanzahl)}}function Be(Ze,Rt){1&Ze&&(o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col")(3,"table",6)(4,"tr")(5,"td",54),o.\u0275\u0275text(6," Keine Vertretungsanfragen vorhanden "),o.\u0275\u0275elementEnd()()()()(),o.\u0275\u0275elementContainerEnd())}function re(Ze,Rt){1&Ze&&(o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col"),o.\u0275\u0275element(3,"div",55),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementContainerEnd())}function Ee(Ze,Rt){1&Ze&&o.\u0275\u0275element(0,"div",45)}function et(Ze,Rt){if(1&Ze&&(o.\u0275\u0275elementStart(0,"tr")(1,"td"),o.\u0275\u0275text(2),o.\u0275\u0275elementEnd()()),2&Ze){const je=Rt.$implicit,pt=o.\u0275\u0275nextContext(8);o.\u0275\u0275advance(2),o.\u0275\u0275textInterpolate(pt.GetStellvertretername(je))}}function vt(Ze,Rt){if(1&Ze&&(o.\u0275\u0275elementStart(0,"table",66),o.\u0275\u0275template(1,et,3,1,"tr",12),o.\u0275\u0275elementEnd()),2&Ze){const je=o.\u0275\u0275nextContext(2).$implicit;o.\u0275\u0275advance(),o.\u0275\u0275property("ngForOf",je.UrlaubsvertreterIDListe)}}function Tt(Ze,Rt){if(1&Ze){const je=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275elementStart(1,"ion-radio-group",46),o.\u0275\u0275listener("ionChange",function(mt){o.\u0275\u0275restoreView(je);const on=o.\u0275\u0275nextContext(2).$implicit,Ln=o.\u0275\u0275nextContext(4).$implicit,jt=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(jt.FreigabeStatusChangedHandler(mt,on,Ln._id))}),o.\u0275\u0275elementStart(2,"table",67)(3,"tr")(4,"td",68),o.\u0275\u0275element(5,"ion-radio",48),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(6,"td",49),o.\u0275\u0275text(7,"Urlaub"),o.\u0275\u0275element(8,"br"),o.\u0275\u0275text(9,"genehmigen"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(10,"td",68),o.\u0275\u0275element(11,"ion-radio",48),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(12,"td",50),o.\u0275\u0275text(13,"Urlaub"),o.\u0275\u0275element(14,"br"),o.\u0275\u0275text(15,"ablehnen"),o.\u0275\u0275elementEnd()()()(),o.\u0275\u0275elementContainerEnd()}if(2&Ze){const je=o.\u0275\u0275nextContext(2).$implicit,pt=o.\u0275\u0275nextContext(5);o.\u0275\u0275advance(),o.\u0275\u0275property("value",je.Status),o.\u0275\u0275advance(4),o.\u0275\u0275property("value",pt.DB.Urlaubstatusvarianten.Genehmigt),o.\u0275\u0275advance(6),o.\u0275\u0275property("value",pt.DB.Urlaubstatusvarianten.Abgelehnt)}}function dt(Ze,Rt){1&Ze&&(o.\u0275\u0275elementStart(0,"td",49),o.\u0275\u0275text(1,"Urlaub genehmigt"),o.\u0275\u0275elementEnd())}function ot(Ze,Rt){1&Ze&&(o.\u0275\u0275elementStart(0,"td",50),o.\u0275\u0275text(1,"Urlaub abgelehnt"),o.\u0275\u0275elementEnd())}function Vt(Ze,Rt){if(1&Ze&&(o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275elementStart(1,"table",67)(2,"tr"),o.\u0275\u0275template(3,dt,2,0,"td",51)(4,ot,2,0,"td",52),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementContainerEnd()),2&Ze){const je=o.\u0275\u0275nextContext(2).$implicit,pt=o.\u0275\u0275nextContext(5);o.\u0275\u0275advance(3),o.\u0275\u0275property("ngIf",je.Status===pt.DB.Urlaubstatusvarianten.Genehmigt),o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",je.Status===pt.DB.Urlaubstatusvarianten.Abgelehnt)}}function nn(Ze,Rt){if(1&Ze){const je=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"tr")(1,"td"),o.\u0275\u0275text(2),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(3,"td"),o.\u0275\u0275text(4),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(5,"td",39),o.\u0275\u0275text(6),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(7,"td"),o.\u0275\u0275template(8,Ee,1,0,"div",40),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(9,"td"),o.\u0275\u0275template(10,vt,2,1,"table",62),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(11,"td",8),o.\u0275\u0275element(12,"div",63),o.\u0275\u0275elementEnd(),o.\u0275\u0275element(13,"td",64),o.\u0275\u0275elementStart(14,"td")(15,"ion-button",65),o.\u0275\u0275listener("click",function(){o.\u0275\u0275restoreView(je);const mt=o.\u0275\u0275nextContext().$implicit,on=o.\u0275\u0275nextContext(4).$implicit,Ln=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(Ln.UrlaubSuchen(mt,on))}),o.\u0275\u0275element(16,"ion-icon",44),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(17,"td"),o.\u0275\u0275template(18,Tt,16,3,"ng-container",21)(19,Vt,5,2,"ng-container",21),o.\u0275\u0275elementEnd()()}if(2&Ze){const je=o.\u0275\u0275nextContext().$implicit,pt=o.\u0275\u0275nextContext(5);o.\u0275\u0275advance(2),o.\u0275\u0275textInterpolate(pt.GetDatumlangtext(je.Startstempel)),o.\u0275\u0275advance(2),o.\u0275\u0275textInterpolate(pt.GetDatumlangtext(je.Endestempel)),o.\u0275\u0275advance(2),o.\u0275\u0275textInterpolate(je.Tageanzahl),o.\u0275\u0275advance(2),o.\u0275\u0275property("ngIf",!0===je.Betriebsurlaub),o.\u0275\u0275advance(2),o.\u0275\u0275property("ngIf",0!==je.UrlaubsvertreterIDListe.length),o.\u0275\u0275advance(2),o.\u0275\u0275styleProp("background",pt.DB.GetUrlaubStatuscolor(je)),o.\u0275\u0275advance(),o.\u0275\u0275property("innerHTML",je.Status===pt.DB.Urlaubstatusvarianten.Vertreterfreigabe?je.Planungmeldung:je.Freigabemeldung,o.\u0275\u0275sanitizeHtml),o.\u0275\u0275advance(2),o.\u0275\u0275property("disabled",je.Status===pt.DB.Urlaubstatusvarianten.Abgelehnt),o.\u0275\u0275advance(3),o.\u0275\u0275property("ngIf",!1===je.FreigabeantwortSended),o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",!0===je.FreigabeantwortSended)}}function vn(Ze,Rt){if(1&Ze&&(o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275template(1,nn,20,11,"tr",21),o.\u0275\u0275elementContainerEnd()),2&Ze){const je=Rt.$implicit,pt=o.\u0275\u0275nextContext(5);o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",!0===pt.DB.CheckUrlaubFreigabeanwortAge(je)&&(je.Status===pt.DB.Urlaubstatusvarianten.Vertreterfreigabe||je.Status===pt.DB.Urlaubstatusvarianten.Genehmigt||je.Status===pt.DB.Urlaubstatusvarianten.Abgelehnt))}}function zt(Ze,Rt){if(1&Ze){const je=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275template(1,vn,2,1,"ng-container",12),o.\u0275\u0275elementStart(2,"tr")(3,"td",57)(4,"table",58)(5,"tr")(6,"td",59),o.\u0275\u0275text(7,"BU = Betriebsurlaub"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(8,"td",60)(9,"ion-button",38),o.\u0275\u0275listener("click",function(){o.\u0275\u0275restoreView(je);const mt=o.\u0275\u0275nextContext().$implicit,on=o.\u0275\u0275nextContext(2).$implicit,Ln=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(Ln.SendFreigabeUpdate(on,mt))}),o.\u0275\u0275text(10,"Aktualisierung senden"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275element(11,"td",61),o.\u0275\u0275elementEnd()()()(),o.\u0275\u0275elementContainerEnd()}if(2&Ze){const je=o.\u0275\u0275nextContext().$implicit,pt=o.\u0275\u0275nextContext(2).$implicit,mt=o.\u0275\u0275nextContext();o.\u0275\u0275advance(),o.\u0275\u0275property("ngForOf",je.Urlaubzeitspannen),o.\u0275\u0275advance(8),o.\u0275\u0275property("disabled",!1===mt.CheckFreigabeUpdateButtonEnabled(pt,je))}}function Xt(Ze,Rt){if(1&Ze&&(o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275template(1,zt,12,2,"ng-container",21),o.\u0275\u0275elementContainerEnd()),2&Ze){const je=Rt.$implicit,pt=o.\u0275\u0275nextContext(2).$implicit,mt=o.\u0275\u0275nextContext();o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",je.Jahr===mt.DB.CurrentJahr&&!0===mt.DB.CheckUrlaubsfreigeberAvailable(pt))}}function En(Ze,Rt){if(1&Ze&&(o.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table",19)(3,"tr")(4,"td",8)(5,"table",32)(6,"tr")(7,"td",33),o.\u0275\u0275text(8,"Von"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(9,"td",33),o.\u0275\u0275text(10,"Bis"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(11,"td",34),o.\u0275\u0275text(12,"Tage"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(13,"td",34),o.\u0275\u0275text(14,"BU"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(15,"td",33),o.\u0275\u0275text(16,"Vertretungen"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(17,"td",33),o.\u0275\u0275text(18,"Status"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(19,"td",56),o.\u0275\u0275text(20,"Statusmeldung"),o.\u0275\u0275elementEnd(),o.\u0275\u0275element(21,"td"),o.\u0275\u0275elementStart(22,"td",36),o.\u0275\u0275text(23,"Anfrage beantworten"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275template(24,Xt,2,1,"ng-container",12),o.\u0275\u0275elementEnd()()()()()()),2&Ze){const je=o.\u0275\u0275nextContext().$implicit;o.\u0275\u0275advance(24),o.\u0275\u0275property("ngForOf",je.Urlaubsliste)}}function $n(Ze,Rt){if(1&Ze&&(o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col")(3,"table",19)(4,"tr")(5,"td",8),o.\u0275\u0275text(6),o.\u0275\u0275elementEnd()()()()(),o.\u0275\u0275template(7,En,25,1,"ion-row",21),o.\u0275\u0275elementContainerEnd()),2&Ze){const je=Rt.$implicit,pt=o.\u0275\u0275nextContext();o.\u0275\u0275advance(6),o.\u0275\u0275textInterpolate1(" ",je.Vorname+" "+je.Name," "),o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",pt.DB.Freigabenanfragenanzahl>0||pt.DB.Freigabenantwortenanzahl>0)}}function Wt(Ze,Rt){1&Ze&&(o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col")(3,"table",6)(4,"tr")(5,"td",54),o.\u0275\u0275text(6," Keine Freigabeanfragen vorhanden "),o.\u0275\u0275elementEnd()()()()(),o.\u0275\u0275elementContainerEnd())}function zn(Ze,Rt){if(1&Ze){const je=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"tr"),o.\u0275\u0275element(1,"td",69),o.\u0275\u0275elementStart(2,"td",8)(3,"ion-button",70),o.\u0275\u0275listener("click",function(){o.\u0275\u0275restoreView(je);const mt=o.\u0275\u0275nextContext(2).$implicit,on=o.\u0275\u0275nextContext(3);return o.\u0275\u0275resetView(on.HomeofficeGenehmigeAll(mt))}),o.\u0275\u0275element(4,"ion-icon",71),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(5,"td",8)(6,"ion-button",72),o.\u0275\u0275listener("click",function(){o.\u0275\u0275restoreView(je);const mt=o.\u0275\u0275nextContext(2).$implicit,on=o.\u0275\u0275nextContext(3);return o.\u0275\u0275resetView(on.HomeofficeAblehnenAll(mt))}),o.\u0275\u0275element(7,"ion-icon",73),o.\u0275\u0275elementEnd()()()}}function kn(Ze,Rt){if(1&Ze&&o.\u0275\u0275element(0,"ion-radio",48),2&Ze){const je=o.\u0275\u0275nextContext(7);o.\u0275\u0275property("value",je.DB.Homeofficestatusvarianten.Genehmigt)}}function ln(Ze,Rt){1&Ze&&(o.\u0275\u0275elementStart(0,"span"),o.\u0275\u0275element(1,"div",79),o.\u0275\u0275elementEnd())}function ut(Ze,Rt){if(1&Ze&&o.\u0275\u0275element(0,"ion-radio",48),2&Ze){const je=o.\u0275\u0275nextContext(7);o.\u0275\u0275property("value",je.DB.Homeofficestatusvarianten.Abgelehnt)}}function Te(Ze,Rt){1&Ze&&(o.\u0275\u0275elementStart(0,"span"),o.\u0275\u0275element(1,"div",80),o.\u0275\u0275elementEnd())}function me(Ze,Rt){if(1&Ze){const je=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275elementStart(1,"tr")(2,"td"),o.\u0275\u0275text(3),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(4,"td",8)(5,"div",74),o.\u0275\u0275text(6),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(7,"td")(8,"ion-button",43),o.\u0275\u0275listener("click",function(){o.\u0275\u0275restoreView(je);const mt=o.\u0275\u0275nextContext().$implicit,on=o.\u0275\u0275nextContext(5);return o.\u0275\u0275resetView(on.HomeofficeSuchen(mt))}),o.\u0275\u0275element(9,"ion-icon",44),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(10,"td",75)(11,"ion-radio-group",46),o.\u0275\u0275listener("ionChange",function(mt){o.\u0275\u0275restoreView(je);const on=o.\u0275\u0275nextContext().$implicit,Ln=o.\u0275\u0275nextContext(2).$implicit,jt=o.\u0275\u0275nextContext(3);return o.\u0275\u0275resetView(jt.HomeofficeStatusChanged(mt,on,Ln))}),o.\u0275\u0275elementStart(12,"table",58)(13,"tr",76)(14,"td",77),o.\u0275\u0275template(15,kn,1,1,"ion-radio",78)(16,ln,2,0,"span",21),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(17,"td",77),o.\u0275\u0275template(18,ut,1,1,"ion-radio",78)(19,Te,2,0,"span",21),o.\u0275\u0275elementEnd()()()()()(),o.\u0275\u0275elementContainerEnd()}if(2&Ze){const je=o.\u0275\u0275nextContext().$implicit,pt=o.\u0275\u0275nextContext(4).$implicit,mt=o.\u0275\u0275nextContext();o.\u0275\u0275advance(3),o.\u0275\u0275textInterpolate(je.Startstring),o.\u0275\u0275advance(2),o.\u0275\u0275styleProp("background",mt.DB.GetHomeofficeStatuscolor(je.Status)),o.\u0275\u0275advance(),o.\u0275\u0275textInterpolate1(" ",pt.Kuerzel," | HO "),o.\u0275\u0275advance(5),o.\u0275\u0275property("value",je.Status),o.\u0275\u0275advance(4),o.\u0275\u0275property("ngIf",!1===je.FreigabeantwortSended),o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",!0===je.FreigabeantwortSended&&je.Status===mt.DB.Homeofficestatusvarianten.Genehmigt),o.\u0275\u0275advance(2),o.\u0275\u0275property("ngIf",!1===je.FreigabeantwortSended),o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",!0===je.FreigabeantwortSended&&je.Status===mt.DB.Homeofficestatusvarianten.Abgelehnt)}}function fe(Ze,Rt){if(1&Ze&&(o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275template(1,me,20,9,"ng-container",21),o.\u0275\u0275elementContainerEnd()),2&Ze){const je=Rt.$implicit,pt=o.\u0275\u0275nextContext(5);o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",!0===pt.DB.CheckHomeofficeFreigabeanwortAge(je)&&(je.Status===pt.DB.Homeofficestatusvarianten.Freigabeanfrage||je.Status===pt.DB.Homeofficestatusvarianten.Genehmigt||je.Status===pt.DB.Homeofficestatusvarianten.Abgelehnt))}}function $e(Ze,Rt){if(1&Ze){const je=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"tr")(1,"td",81)(2,"ion-button",38),o.\u0275\u0275listener("click",function(){o.\u0275\u0275restoreView(je);const mt=o.\u0275\u0275nextContext(2).$implicit,on=o.\u0275\u0275nextContext(2).$implicit,Ln=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(Ln.SendHomeofficeUpdate(mt,on))}),o.\u0275\u0275text(3,"Aktualisierung senden"),o.\u0275\u0275elementEnd()()()}if(2&Ze){const je=o.\u0275\u0275nextContext(2).$implicit,pt=o.\u0275\u0275nextContext(3);o.\u0275\u0275advance(2),o.\u0275\u0275property("disabled",!1===pt.CheckHomeofficeUpdateButtonEnabled(je))}}function Ye(Ze,Rt){if(1&Ze&&(o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275template(1,zn,8,0,"tr",21)(2,fe,2,1,"ng-container",12)(3,$e,4,1,"tr",21),o.\u0275\u0275elementContainerEnd()),2&Ze){const je=o.\u0275\u0275nextContext().$implicit,pt=o.\u0275\u0275nextContext(3);o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",pt.CheckHasAnfragen(je)),o.\u0275\u0275advance(),o.\u0275\u0275property("ngForOf",je.Homeofficezeitspannen),o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",!0===pt.CheckHasAnfragen(je))}}function ft(Ze,Rt){if(1&Ze&&(o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275template(1,Ye,4,3,"ng-container",21),o.\u0275\u0275elementContainerEnd()),2&Ze){const je=Rt.$implicit,pt=o.\u0275\u0275nextContext(2).$implicit,mt=o.\u0275\u0275nextContext();o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",je.Jahr===mt.DB.CurrentJahr&&!0===mt.DB.CheckHomeofficefreigeberAvailable(pt))}}function $t(Ze,Rt){if(1&Ze&&(o.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table",19)(3,"tr")(4,"td",8)(5,"table",32)(6,"tr")(7,"td",33),o.\u0275\u0275text(8,"Datum"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(9,"td",33),o.\u0275\u0275text(10,"Status"),o.\u0275\u0275elementEnd(),o.\u0275\u0275element(11,"td"),o.\u0275\u0275elementStart(12,"td",33),o.\u0275\u0275text(13,"Genehmigt"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(14,"td",33),o.\u0275\u0275text(15,"Abgelehnt"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275template(16,ft,2,1,"ng-container",12),o.\u0275\u0275elementEnd()()()()()()),2&Ze){const je=o.\u0275\u0275nextContext().$implicit;o.\u0275\u0275advance(16),o.\u0275\u0275property("ngForOf",je.Urlaubsliste)}}function un(Ze,Rt){if(1&Ze&&(o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col")(3,"table",19)(4,"tr")(5,"td",8),o.\u0275\u0275text(6),o.\u0275\u0275elementEnd()()()()(),o.\u0275\u0275template(7,$t,17,1,"ion-row",21),o.\u0275\u0275elementContainerEnd()),2&Ze){const je=Rt.$implicit,pt=o.\u0275\u0275nextContext();o.\u0275\u0275advance(6),o.\u0275\u0275textInterpolate1(" ",je.Vorname+" "+je.Name," "),o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",pt.DB.Homeofficeanfragenanzahl>0||pt.DB.Homeofficantwortenanzahl>0)}}function Vn(Ze,Rt){1&Ze&&(o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col")(3,"table",6)(4,"tr")(5,"td",54),o.\u0275\u0275text(6," Keine Homeofficeanfragen vorhanden "),o.\u0275\u0275elementEnd()()()()(),o.\u0275\u0275elementContainerEnd())}function tr(Ze,Rt){if(1&Ze){const je=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275elementStart(1,"tr")(2,"td")(3,"checkbox-clon",82),o.\u0275\u0275listener("CheckChanged",function(mt){o.\u0275\u0275restoreView(je);const on=o.\u0275\u0275nextContext(2);return o.\u0275\u0275resetView(on.AnsichtFeiertageCheckChanged(mt,"DE"))}),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(4,"td")(5,"div",63),o.\u0275\u0275element(6,"ion-icon",86),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(7,"td"),o.\u0275\u0275text(8,"Feiertage Deutschland"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(9,"tr")(10,"td")(11,"checkbox-clon",82),o.\u0275\u0275listener("CheckChanged",function(mt){o.\u0275\u0275restoreView(je);const on=o.\u0275\u0275nextContext(2);return o.\u0275\u0275resetView(on.AnsichtFerientageCheckChanged(mt,"DE"))}),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(12,"td")(13,"div",63),o.\u0275\u0275element(14,"ion-icon",87),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(15,"td"),o.\u0275\u0275text(16,"Schulferien Deutschland"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementContainerEnd()}if(2&Ze){const je=o.\u0275\u0275nextContext(2);o.\u0275\u0275advance(3),o.\u0275\u0275property("Checked",je.DB.ShowFeiertage_DE),o.\u0275\u0275advance(2),o.\u0275\u0275styleProp("background",je.DB.Urlaubsfaben.Feiertage_DE),o.\u0275\u0275advance(6),o.\u0275\u0275property("Checked",je.DB.ShowFerientage_DE),o.\u0275\u0275advance(2),o.\u0275\u0275styleProp("background",je.DB.Urlaubsfaben.Ferien_DE)}}function br(Ze,Rt){if(1&Ze){const je=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",88),o.\u0275\u0275listener("CheckChanged",function(mt){const on=o.\u0275\u0275restoreView(je),Ln=on.$implicit,jt=on.index,Mn=o.\u0275\u0275nextContext(2);return o.\u0275\u0275resetView(Mn.DisplayExternCheckChanged(mt,Ln,jt))}),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(3,"td")(4,"div",89),o.\u0275\u0275text(5),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(6,"td"),o.\u0275\u0275text(7),o.\u0275\u0275elementEnd()()}if(2&Ze){const je=Rt.$implicit,pt=o.\u0275\u0275nextContext(2);o.\u0275\u0275advance(2),o.\u0275\u0275property("Checked",pt.DB.CheckDisplayExternenUrlaub(je.MitarbeiterIDExtern))("Enabled",je.Urlaubzeitspannen.length>0),o.\u0275\u0275advance(3),o.\u0275\u0275textInterpolate(je.NameKuerzel),o.\u0275\u0275advance(2),o.\u0275\u0275textInterpolate2("",je.NameExtern," ",je.Text,"")}}function or(Ze,Rt){if(1&Ze){const je=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"table",15),o.\u0275\u0275template(1,tr,17,6,"ng-container",21),o.\u0275\u0275elementContainerStart(2),o.\u0275\u0275elementStart(3,"tr")(4,"td")(5,"checkbox-clon",82),o.\u0275\u0275listener("CheckChanged",function(mt){o.\u0275\u0275restoreView(je);const on=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(on.AnsichtFeiertageCheckChanged(mt,"BG"))}),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(6,"td")(7,"div",63),o.\u0275\u0275element(8,"ion-icon",83),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(9,"td"),o.\u0275\u0275text(10,"Feiertage Bulgarien"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(11,"tr")(12,"td")(13,"checkbox-clon",82),o.\u0275\u0275listener("CheckChanged",function(mt){o.\u0275\u0275restoreView(je);const on=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(on.AnsichtFerientageCheckChanged(mt,"BG"))}),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(14,"td")(15,"div",63),o.\u0275\u0275element(16,"ion-icon",84),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(17,"td"),o.\u0275\u0275text(18,"Schulferien Bulgarien"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementContainerEnd(),o.\u0275\u0275elementStart(19,"tr"),o.\u0275\u0275element(20,"td"),o.\u0275\u0275elementStart(21,"td"),o.\u0275\u0275element(22,"div",63),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(23,"td"),o.\u0275\u0275text(24,"geplanter Urlaub"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(25,"tr"),o.\u0275\u0275element(26,"td"),o.\u0275\u0275elementStart(27,"td"),o.\u0275\u0275element(28,"div",63),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(29,"td"),o.\u0275\u0275text(30,"Vertretung angefragt"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(31,"tr"),o.\u0275\u0275element(32,"td"),o.\u0275\u0275elementStart(33,"td"),o.\u0275\u0275element(34,"div",63),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(35,"td"),o.\u0275\u0275text(36,"Genehmigungsanfrage Urlaub"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(37,"tr"),o.\u0275\u0275element(38,"td"),o.\u0275\u0275elementStart(39,"td"),o.\u0275\u0275element(40,"div",63),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(41,"td"),o.\u0275\u0275text(42,"Vertretung wurde abgelehnt"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(43,"tr"),o.\u0275\u0275element(44,"td"),o.\u0275\u0275elementStart(45,"td"),o.\u0275\u0275element(46,"div",63),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(47,"td"),o.\u0275\u0275text(48,"Genehmigter Urlaub"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(49,"tr"),o.\u0275\u0275element(50,"td"),o.\u0275\u0275elementStart(51,"td"),o.\u0275\u0275element(52,"div",63),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(53,"td"),o.\u0275\u0275text(54,"Abgelehnter Urlaub"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(55,"tr"),o.\u0275\u0275element(56,"td"),o.\u0275\u0275elementStart(57,"td")(58,"div",63),o.\u0275\u0275text(59,"HO"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(60,"td"),o.\u0275\u0275text(61,"geplantes Homeoffice"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275element(62,"tr"),o.\u0275\u0275elementStart(63,"tr"),o.\u0275\u0275element(64,"td"),o.\u0275\u0275elementStart(65,"td")(66,"div",63),o.\u0275\u0275text(67,"HO"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(68,"td"),o.\u0275\u0275text(69,"Homeoffice angefragt"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(70,"tr"),o.\u0275\u0275element(71,"td"),o.\u0275\u0275elementStart(72,"td")(73,"div",63),o.\u0275\u0275text(74,"HO"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(75,"td"),o.\u0275\u0275text(76,"Homeoffice genehmigt"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(77,"tr"),o.\u0275\u0275element(78,"td"),o.\u0275\u0275elementStart(79,"td")(80,"div",63),o.\u0275\u0275text(81,"HO"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(82,"td"),o.\u0275\u0275text(83,"Homeoffice abgelehnt"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275template(84,br,8,5,"tr",12),o.\u0275\u0275elementStart(85,"tr"),o.\u0275\u0275element(86,"td",85),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(87,"tr")(88,"td")(89,"checkbox-clon",82),o.\u0275\u0275listener("CheckChanged",function(mt){o.\u0275\u0275restoreView(je);const on=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(on.ShowHomeofficeChanged(mt))}),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(90,"td",75),o.\u0275\u0275text(91,"Homeoffice Eintr\xe4ge anzeigen"),o.\u0275\u0275elementEnd()()()}if(2&Ze){const je=o.\u0275\u0275nextContext();o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf","DE"===je.DB.Laendercode),o.\u0275\u0275advance(4),o.\u0275\u0275property("Checked",je.DB.ShowFeiertage_BG),o.\u0275\u0275advance(2),o.\u0275\u0275styleProp("background",je.DB.Urlaubsfaben.Feiertage_BG),o.\u0275\u0275advance(6),o.\u0275\u0275property("Checked",je.DB.ShowFerientage_BG),o.\u0275\u0275advance(2),o.\u0275\u0275styleProp("background",je.DB.Urlaubsfaben.Ferien_BG),o.\u0275\u0275advance(7),o.\u0275\u0275styleProp("background",je.DB.Urlaubsfaben.Geplant),o.\u0275\u0275advance(6),o.\u0275\u0275styleProp("background",je.DB.Urlaubsfaben.Vertreteranfrage),o.\u0275\u0275advance(6),o.\u0275\u0275styleProp("background",je.DB.Urlaubsfaben.Vertreterfreigabe),o.\u0275\u0275advance(6),o.\u0275\u0275styleProp("background",je.DB.Urlaubsfaben.Vertreterablehnung),o.\u0275\u0275advance(6),o.\u0275\u0275styleProp("background",je.DB.Urlaubsfaben.Genehmigt),o.\u0275\u0275advance(6),o.\u0275\u0275styleProp("background",je.DB.Urlaubsfaben.Abgelehnt),o.\u0275\u0275advance(6),o.\u0275\u0275styleProp("background",je.DB.Homeofficefarben.Geplant),o.\u0275\u0275advance(8),o.\u0275\u0275styleProp("background",je.DB.Homeofficefarben.Freigabeanfrage),o.\u0275\u0275advance(7),o.\u0275\u0275styleProp("background",je.DB.Homeofficefarben.Genehmigt),o.\u0275\u0275advance(7),o.\u0275\u0275styleProp("background",je.DB.Homeofficefarben.Abgelehnt),o.\u0275\u0275advance(4),o.\u0275\u0275property("ngForOf",je.DB.UrlaublisteExtern),o.\u0275\u0275advance(5),o.\u0275\u0275property("Checked",je.Pool.Mitarbeitersettings.ShowHomeoffice)}}function fi(Ze,Rt){if(1&Ze&&(o.\u0275\u0275elementStart(0,"td"),o.\u0275\u0275element(1,"img",94),o.\u0275\u0275elementEnd()),2&Ze){const je=o.\u0275\u0275nextContext(2);o.\u0275\u0275advance(),o.\u0275\u0275property("src",je.Flagsource,o.\u0275\u0275sanitizeUrl)}}function Cr(Ze,Rt){if(1&Ze&&(o.\u0275\u0275elementStart(0,"td",95),o.\u0275\u0275text(1),o.\u0275\u0275elementEnd()),2&Ze){const je=o.\u0275\u0275nextContext(2);o.\u0275\u0275advance(),o.\u0275\u0275textInterpolate(je.Message)}}function jr(Ze,Rt){1&Ze&&(o.\u0275\u0275elementStart(0,"div",96),o.\u0275\u0275text(1,"Keine externen Email senden"),o.\u0275\u0275elementEnd())}function Hn(Ze,Rt){if(1&Ze&&(o.\u0275\u0275elementStart(0,"table",6)(1,"tr")(2,"td",90)(3,"table",15)(4,"tr"),o.\u0275\u0275template(5,fi,2,1,"td",21)(6,Cr,2,1,"td",91),o.\u0275\u0275elementEnd()()(),o.\u0275\u0275elementStart(7,"td",92),o.\u0275\u0275template(8,jr,2,0,"div",93),o.\u0275\u0275elementEnd()()()),2&Ze){const je=o.\u0275\u0275nextContext();o.\u0275\u0275advance(5),o.\u0275\u0275property("ngIf",""!==je.Flagsource),o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",""!==je.Message),o.\u0275\u0275advance(2),o.\u0275\u0275property("ngIf",je.Pool.Appeinstellungen.DebugNoExternalEmail)}}function Dt(Ze,Rt){if(1&Ze){const je=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"auswahl-dialog",97),o.\u0275\u0275listener("OkClickedEvent",function(mt){o.\u0275\u0275restoreView(je);const on=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(on.AuswahlOkButtonClicked(mt))})("CancelClickedEvent",function(){o.\u0275\u0275restoreView(je);const mt=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(mt.ShowAuswahl=!1)}),o.\u0275\u0275elementEnd()}if(2&Ze){const je=o.\u0275\u0275nextContext();o.\u0275\u0275property("Auswahlliste",je.Auswahlliste)("Auswahlindex",je.Auswahlindex)("ZIndex",5e3)("Dialogbreite",400)("PositionY",100)("Titel",je.Auswahltitel)("Iconname","")}}function qt(Ze,Rt){if(1&Ze){const je=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"fi-mitarbeiter-auswahl",98),o.\u0275\u0275listener("CancelClickedEvent",function(){o.\u0275\u0275restoreView(je);const mt=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(mt.ShowMitarbeiterauswahl=!1)})("OkClickedEvent",function(mt){o.\u0275\u0275restoreView(je);const on=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(on.MitarbeiterauswahlOkButtonClicked(mt))})("StandortfilterClickedEvent",function(){o.\u0275\u0275restoreView(je);const mt=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(mt.MitarebiterStandortfilterClickedHandler())}),o.\u0275\u0275elementEnd()}if(2&Ze){const je=o.\u0275\u0275nextContext();o.\u0275\u0275property("Titel",je.MitarbeiterauswahlTitel)("Dialogbreite",600)("ZIndex",4e3)("Multiselect",!1)("OnlyProjektmitarbeiter",!1)("AuswahlIDliste",je.AuswahlIDliste)}}m.CommonUrlaubFreigabenPage=(()=>{class Ze{Loadinganimation;Basics;DBMitarbeitersettings;Pool;DB;DBMitarbeiter;Const;DBStandort;DBMitarbeiterstettings;Auswahlservice;Debug;PageHeader;PageFooter;environment=e.environment;Auswahlliste;Auswahlindex;Auswahltitel;ShowAuswahl;Auswahldialogorigin;DataSubscription;ShowMitarbeiterauswahl;AuswahlIDliste;MitarbeiterauswahlTitel;MitarbeiterMultiselect;Message;Flagsource;LegendeVisible;Legendehoehe;Legendebreite;constructor(je,pt,mt,on,Ln,jt,Mn,Pe,gt,At,Ut){this.Loadinganimation=je,this.Basics=pt,this.DBMitarbeitersettings=mt,this.Pool=on,this.DB=Ln,this.DBMitarbeiter=jt,this.Const=Mn,this.DBStandort=Pe,this.DBMitarbeiterstettings=gt,this.Auswahlservice=At,this.Debug=Ut;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(ar){this.Debug.ShowErrorMessage(ar.message,"Urlaub Freigaben Page","constructor",this.Debug.Typen.Page)}}ngOnDestroy(){try{let je;for(let pt of this.DB.Homeofficefreigabenliste){je=u.find(pt.Urlaubsliste,{Jahr:this.DB.CurrentUrlaub.Jahr});for(let mt of je.Homeofficezeitspannen)!1===mt.FreigabeantwortSended&&(mt.Status=this.DB.Homeofficestatusvarianten.Freigabeanfrage);pt._id===this.DB.CurrentMitarbeiter._id&&je.Jahr===this.DB.CurrentUrlaub.Jahr&&(this.DB.CurrentUrlaub=je),this.DB.CountAnfragenanzahlen()}}catch(je){this.Debug.ShowErrorMessage(je,"Urlaub Freigaben 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(je){this.Debug.ShowErrorMessage(je,"Urlaub Freigaben Page","OnInit",this.Debug.Typen.Page)}}PrepareData(){var je=this;return n(function*(){try{je.DB.Init(),je.DB.CheckSetup(),je.DB.SetPlanungsmonate(),je.DB.CountAnfragenanzahlen(),je.DB.UpdateKalenderRequestEvent.emit()}catch(pt){je.Debug.ShowErrorMessage(pt,"Urlaub Freigaben Page","PrepareData",je.Debug.Typen.Page)}})()}GetDatumlangtext(je){try{return(0,c.default)(je).locale("de").format("DD. MMMM YYYY")}catch(pt){this.Debug.ShowErrorMessage(pt,"Urlaub Freigaben Page","GetDatumlangtext",this.Debug.Typen.Page)}}UrlaubMitarbeiterMeClickedHandler(){try{this.DB.CurrentMitarbeiter=this.Pool.Mitarbeiterdaten,this.PrepareData()}catch(je){this.Debug.ShowErrorMessage(je,"Urlaub Freigaben Page","UrlaubMitarbeiterMeClickedHandler",this.Debug.Typen.Page)}}MitarbeiterauswahlOkButtonClicked(je){try{let pt;this.Auswahldialogorigin===this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln&&(pt=u.find(this.Pool.Mitarbeiterliste,{_id:je[0]}),this.DB.CurrentMitarbeiter=pt,this.PrepareData()),this.ShowMitarbeiterauswahl=!1}catch(pt){this.Debug.ShowErrorMessage(pt.message,"Urlaub Freigaben Page","MitarbeiterauswahlOkButtonClicked",this.Debug.Typen.Page)}}MitarebiterStandortfilterClickedHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.UrlaubAnfargen_Standort_Filter;let je=0;this.ShowAuswahl=!0,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:je,FirstColumn:"kein Filter",SecoundColumn:"",Data:null}),je++;for(let pt of this.Pool.Standorteliste)this.Auswahlliste.push({Index:je,FirstColumn:pt.Kuerzel,SecoundColumn:pt.Standort,Data:pt}),je++;this.Auswahlindex=null!==this.DBStandort.CurrentStandortfilter?u.findIndex(this.Pool.Standorteliste,{_id:this.DBStandort.CurrentStandortfilter._id}):0}catch(je){this.Debug.ShowErrorMessage(je.message,"Urlaub Freigaben Page","MitarebiterStandortfilterClickedHandler",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(je){var pt=this;return n(function*(){try{switch(pt.Auswahldialogorigin){case pt.Auswahlservice.Auswahloriginvarianten.UrlaubAnfargen_Standort_Filter:pt.DBStandort.CurrentStandortfilter=(0,i.cloneDeep)(je),pt.Pool.Mitarbeitersettings.StandortFilter=null!==je?je._id:pt.Const.NONE,pt.DBMitarbeitersettings.UpdateMitarbeitersettings(pt.Pool.Mitarbeitersettings,null).then(()=>{pt.ShowAuswahl=!1,pt.PrepareData(),pt.DBStandort.StandortfilterChanged.emit()});break;case pt.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Jahr_Aendern:pt.DB.CurrentJahr=je,pt.ShowAuswahl=!1,yield pt.Loadinganimation.ShowLoadingAnimation("Hinweis","Daten werden geladen"),yield pt.DB.ReadFeiertage("DE"),yield pt.DB.ReadFeiertage("BG"),yield pt.DB.ReadFerien("DE"),yield pt.DB.ReadFerien("BG"),yield pt.Loadinganimation.HideLoadingAnimation(!0),pt.PrepareData()}}catch(mt){pt.Debug.ShowErrorMessage(mt.message,"Urlaub Freigaben Page","AuswahlOkButtonClicked",pt.Debug.Typen.Page)}})()}MitarbeiterWechselnClicked(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln,this.ShowMitarbeiterauswahl=!0,this.AuswahlIDliste=[]}catch(je){this.Debug.ShowErrorMessage(je,"Urlaubsplanung Page","MitarbeiterWechselnClicked",this.Debug.Typen.Page)}}GetDatum(je){try{return(0,c.default)(je).format("DD.MM.YYYY")}catch(pt){this.Debug.ShowErrorMessage(pt,"Urlaub Freigaben Page","GetDatum",this.Debug.Typen.Page)}}VerteretungStatusChangedHandler(je,pt,mt){try{let on=u.findIndex(pt.Vertretungskonversationliste,{VertreterID:this.DB.CurrentMitarbeiter._id});pt.Vertretungskonversationliste[on].Status=je.detail.value}catch(on){this.Debug.ShowErrorMessage(on,"Urlaub Freigaben Page","VerteretungStatusChangedHandler",this.Debug.Typen.Page)}}FreigabeStatusChangedHandler(je,pt,mt){try{pt.Status=je.detail.value}catch(on){this.Debug.ShowErrorMessage(on,"Urlaub Freigaben Page","FreigabeStatusChangedHandler",this.Debug.Typen.Page)}}CheckVertretungUpdateButtonEnabled(je,pt){try{let Ln,mt=!1,on=u.find(this.Pool.Standorteliste,{_id:je.StandortID});for(let jt of pt.Urlaubzeitspannen)Ln=u.find(jt.Vertretungskonversationliste,{VertreterID:this.DB.CurrentMitarbeiter._id}),u.isUndefined(Ln)||on.Urlaubfreigabepersonen.length>0&&!1===Ln.VertreterantwortSended&&(Ln.Status===this.DB.Urlaubstatusvarianten.Vertreterablehnung||Ln.Status===this.DB.Urlaubstatusvarianten.Vertreterfreigabe)&&(mt=!0);return mt}catch(mt){this.Debug.ShowErrorMessage(mt,"Urlaub Freigaben Page","CheckVertretungUpdateButtonEnabled",this.Debug.Typen.Page)}}UrlaubSuchen(je,pt){try{let mt=(0,c.default)(je.Startstempel);this.DB.CurrentMonatindex=mt.month(),this.DB.SetPlanungsmonate()}catch(mt){this.Debug.ShowErrorMessage(mt,"Urlaub Freigaben Page","UrlaubSuchen",this.Debug.Typen.Page)}}CheckFreigabeUpdateButtonEnabled(je,pt){try{let mt=!1;for(let on of pt.Urlaubzeitspannen)u.isUndefined(on.FreigabeantwortSended)&&(on.FreigabeantwortSended=!1),!1===on.FreigabeantwortSended&&(on.Status===this.DB.Urlaubstatusvarianten.Genehmigt||on.Status===this.DB.Urlaubstatusvarianten.Abgelehnt)&&(mt=!0);return mt}catch(mt){this.Debug.ShowErrorMessage(mt,"Urlaub Freigaben Page","CheckFreigabeUpdateButtonEnabled",this.Debug.Typen.Page)}}SendVertretungUpdate(je,pt){var mt=this;return n(function*(){try{yield mt.DB.UpdateVertreterantworten(je,pt),yield mt.PrepareData(),mt.DB.ExterneUrlaubeChanged.emit()}catch(on){mt.Debug.ShowErrorMessage(on,"Urlaub Freigaben Page","SendVertretungUpdate",mt.Debug.Typen.Page)}})()}FerientagCrossedEventHandler(je){try{this.Message=je.Name,""!==je.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===je.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(pt){this.Debug.ShowErrorMessage(pt,"Urlaub Freigaben Page","FerientagCrossedEventHandler",this.Debug.Typen.Page)}}DisplayExternCheckChanged(je,pt,mt){try{let on=u.find(this.DB.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:pt.MitarbeiterIDExtern});u.isUndefined(on)||(on.Display=je.status);let Ln=u.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.CurrentJahr});this.DB.CurrentMitarbeiter.Urlaubsliste[Ln]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.DB.ExterneUrlaubeChanged.emit()})}catch(on){this.Debug.ShowErrorMessage(on,"Urlaub Freigaben Page","DisplayExternCheckChanged",this.Debug.Typen.Page)}}DisplayMeinenUrlaubCheckChanged(je){try{this.Pool.Mitarbeitersettings.UrlaubShowMeinenUrlaub=je.status,this.DBMitarbeiterstettings.UpdateMitarbeitersettings(this.Pool.Mitarbeitersettings,null).then(()=>{this.DB.ExterneUrlaubeChanged.emit()})}catch(pt){this.Debug.ShowErrorMessage(pt,"Urlaub Freigaben Page","DisplayMeinenUrlaubCheckChanged",this.Debug.Typen.Page)}}MonatBackButtonClicked(){try{this.DB.CurrentMonatindex>0&&(this.DB.CurrentMonatindex--,this.DB.SetPlanungsmonate())}catch(je){this.Debug.ShowErrorMessage(je,"Urlaub Freigaben Page","MonatBackButtonClicked",this.Debug.Typen.Page)}}MonatForwardButtonClicked(){try{this.DB.CurrentMonatindex<11&&(this.DB.CurrentMonatindex++,this.DB.SetPlanungsmonate())}catch(je){this.Debug.ShowErrorMessage(je,"Urlaub Freigaben Page","MonatForwardButtonClicked",this.Debug.Typen.Page)}}FeiertagCrossedEventHandler(je){try{this.Message=je.Name,""!==je.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===je.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(pt){this.Debug.ShowErrorMessage(pt,"Urlaub Freigaben Page","FeiertagCrossedEventHandler",this.Debug.Typen.Page)}}MonatButtonClicked(je){try{this.DB.CurrentMonatindex=je,this.DB.SetPlanungsmonate()}catch(pt){this.Debug.ShowErrorMessage(pt,"Urlaub Freigaben Page","MonatButtonClicked",this.Debug.Typen.Page)}}GetMonatButtonColor(je){try{if(this.DB.CurrentMonatindex===je)return"orange"}catch(pt){this.Debug.ShowErrorMessage(pt,"Urlaub Freigaben Page","GetMonatButtonColor",this.Debug.Typen.Page)}}AnsichtFerientageCheckChanged(je,pt){try{switch(pt){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFerien_DE=je.status,this.DB.ShowFerientage_DE=je.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFerien_BG=je.status,this.DB.ShowFerientage_BG=je.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(mt){this.Debug.ShowErrorMessage(mt,"Urlaub Freigaben Page","AnsichtFerientageCheckChanged",this.Debug.Typen.Page)}}AnsichtFeiertageCheckChanged(je,pt){try{switch(pt){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_DE=je.status,this.DB.ShowFeiertage_DE=je.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_BG=je.status,this.DB.ShowFeiertage_BG=je.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(mt){this.Debug.ShowErrorMessage(mt,"Urlaub Freigaben Page","AnsichtFeiertageCheckChanged",this.Debug.Typen.Page)}}GetStellvertretername(je){try{let pt=u.find(this.Pool.Mitarbeiterliste,{_id:je});return u.isUndefined(pt)?"unbekannt":pt.Vorname+" "+pt.Name}catch(pt){this.Debug.ShowErrorMessage(pt,"Urlaub Freigaben Page","GetStellvertretername",this.Debug.Typen.Page)}}SendFreigabeUpdate(je,pt){var mt=this;return n(function*(){try{yield mt.DB.UpdateFreigabenantworten(je,pt),yield mt.PrepareData(),mt.DB.ExterneUrlaubeChanged.emit()}catch(on){mt.Debug.ShowErrorMessage(on,"Urlaub Freigaben Page","SendFreigabeUpdate",mt.Debug.Typen.Page)}})()}HomeofficeStatusChanged(je,pt,mt){try{pt.Status=je.detail.value}catch(on){this.Debug.ShowErrorMessage(on,"Urlaub Freigaben Page","HomeofficeStatusChanged",this.Debug.Typen.Page)}}HomeofficeGenehmigeAll(je){try{for(let pt of je.Homeofficezeitspannen)!1===pt.FreigabeantwortSended&&(pt.Status=this.DB.Homeofficestatusvarianten.Genehmigt)}catch(pt){this.Debug.ShowErrorMessage(pt,"Urlaub Freigaben Page","HomeofficeGenehmigeAll",this.Debug.Typen.Page)}}HomeofficeAblehnenAll(je){try{for(let pt of je.Homeofficezeitspannen)!1===pt.FreigabeantwortSended&&(pt.Status=this.DB.Homeofficestatusvarianten.Abgelehnt)}catch(pt){this.Debug.ShowErrorMessage(pt,"Urlaub Freigaben Page","HomeofficeAblehnenAll",this.Debug.Typen.Page)}}SendHomeofficeUpdate(je,pt){var mt=this;return n(function*(){try{yield mt.DB.SendHomeofficeFreigabeantworten(pt,je),yield mt.PrepareData(),mt.DB.ExterneHomeofficeChanged.emit()}catch(on){mt.Debug.ShowErrorMessage(on,"Urlaub Freigaben Page","SendHomeofficeUpdate",mt.Debug.Typen.Page)}})()}CheckHomeofficeUpdateButtonEnabled(je){try{let pt=!1;for(let mt of je.Homeofficezeitspannen)!1===mt.FreigabeantwortSended&&(mt.Status===this.DB.Homeofficestatusvarianten.Abgelehnt||mt.Status===this.DB.Homeofficestatusvarianten.Genehmigt)&&(pt=!0);return pt}catch(pt){this.Debug.ShowErrorMessage(pt,"Urlaub Freigaben Page","CheckHomeofficeUpdateButtonEnabled",this.Debug.Typen.Page)}}GetPlanungmeldung(je,pt){try{let mt,on,Ln;switch(je.Status){case this.DB.Urlaubstatusvarianten.Vertreteranfrage:Ln=u.find(je.Vertretungskonversationliste,{VertreterID:this.DB.CurrentMitarbeiter._id}),on=u.isUndefined(Ln)?(0,c.default)():(0,c.default)(Ln.Vertretunganfragezeitstempel),mt="Vertretungsanfrage von "+pt.Vorname+" "+pt.Name+" vom "+on.format("DD.MM.YYYY");break;case this.DB.Urlaubstatusvarianten.Vertreterablehnung:Ln=u.find(je.Vertretungskonversationliste,{VertreterID:this.DB.CurrentMitarbeiter._id}),on=u.isUndefined(Ln)?(0,c.default)():(0,c.default)(Ln.Vertretungantwortzeitstempel),mt="Vertretungsanfrage von "+pt.Vorname+" "+pt.Name+" wurde am "+on.format("DD.MM.YYYY")+" abgelehnt";break;case this.DB.Urlaubstatusvarianten.Vertreterfreigabe:Ln=u.find(je.Vertretungskonversationliste,{VertreterID:this.DB.CurrentMitarbeiter._id}),on=u.isUndefined(Ln)?(0,c.default)():(0,c.default)(Ln.Vertretungantwortzeitstempel),mt="Vertretungsanfrage von "+pt.Vorname+" "+pt.Name+" wurde am "+on.format("DD.MM.YYYY")+" zugestimmt."}return mt}catch(mt){this.Debug.ShowErrorMessage(mt,"Urlaubsplanung Page","GetPlanungmeldung",this.Debug.Typen.Page)}}CheckHasAnfragen(je){try{let pt=!1;for(let mt of je.Homeofficezeitspannen)!1===mt.FreigabeantwortSended&&(pt=!0);return pt}catch(pt){this.Debug.ShowErrorMessage(pt,"Urlaub Freigaben Page","CheckHasAnfragen",this.Debug.Typen.Page)}}HomeofficeSuchen(je){try{let pt=(0,c.default)(je.Startstempel);this.DB.CurrentMonatindex=pt.month(),this.DB.SetPlanungsmonate()}catch(pt){this.Debug.ShowErrorMessage(pt,"Urlaub Freigaben Page","HomeofficeSuchen",this.Debug.Typen.Page)}}ExternUrlaubstagClickedEventHandler(je){try{let pt=u.find(this.Pool.Mitarbeiterliste,{_id:je});!1===u.isUndefined(pt)&&(this.DB.CurrentMitarbeiter=pt,this.PrepareData())}catch(pt){this.Debug.ShowErrorMessage(pt,"Urlaub Freigaben Page","ExternUrlaubstagClickedEventHandler",this.Debug.Typen.Page)}}ShowHomeofficeChanged(je){try{this.Pool.Mitarbeitersettings.ShowHomeoffice=je.status,this.DBMitarbeitersettings.UpdateMitarbeitersettings(this.Pool.Mitarbeitersettings,null).then(()=>{this.DB.UpdateKalenderRequestEvent.emit()})}catch(pt){this.Debug.ShowErrorMessage(pt,"Urlaub Freigaben Page","ShowHomeofficeChanged",this.Debug.Typen.Page)}}JahrButtonClickedHandler(){try{let je=0,mt=this.DB.Jahr+1;this.Auswahltitel="Jahr wechseln",this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Jahr_Aendern,this.Auswahlliste=[];for(let on=this.DB.Startjahr;on<=mt;on++)this.Auswahlliste.push({Index:je++,FirstColumn:on.toString(),SecoundColumn:"",Data:on});this.ShowAuswahl=!0,this.Auswahlindex=u.findIndex(this.Auswahlliste,{Data:this.DB.CurrentJahr})}catch(je){this.Debug.ShowErrorMessage(je,"Urlaub Freigaben Page","JahrButtonClickedHandler",this.Debug.Typen.Page)}}static \u0275fac=function(pt){return new(pt||Ze)(o.\u0275\u0275directiveInject(h.LoadingAnimationService),o.\u0275\u0275directiveInject(v.BasicsProvider),o.\u0275\u0275directiveInject(M.DatabaseMitarbeitersettingsService),o.\u0275\u0275directiveInject(p.DatabasePoolService),o.\u0275\u0275directiveInject(E.DatabaseUrlaubService),o.\u0275\u0275directiveInject(S.DatabaseMitarbeiterService),o.\u0275\u0275directiveInject(y.ConstProvider),o.\u0275\u0275directiveInject(f.DatabaseStandorteService),o.\u0275\u0275directiveInject(M.DatabaseMitarbeitersettingsService),o.\u0275\u0275directiveInject(C.AuswahlDialogService),o.\u0275\u0275directiveInject(_.DebugProvider))};static \u0275cmp=o.\u0275\u0275defineComponent({type:Ze,selectors:[["common-urlaub-freigaben-page"]],viewQuery:function(pt,mt){if(1&pt&&(o.\u0275\u0275viewQuery(H,5),o.\u0275\u0275viewQuery(K,5)),2&pt){let on;o.\u0275\u0275queryRefresh(on=o.\u0275\u0275loadQuery())&&(mt.PageHeader=on.first),o.\u0275\u0275queryRefresh(on=o.\u0275\u0275loadQuery())&&(mt.PageFooter=on.first)}},decls:75,vars:32,consts:[["xmlns","http://www.w3.org/1999/html",1,"ion-no-border"],["PageHeader",""],[3,"UrlaubMitarbeiterClicked","UrlaubMitarbeiterMeClicked","JahrButtonClicked"],[1,"contentkeeperdivclass"],[1,"contentdivclass"],["style","position: absolute; padding: 4px; background: white; bottom: 0px;",4,"ngIf"],[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","ExternUrlaubstagClickedEvent","FeiertagCrossedEvent","FerientagCrossedEvent"],[3,"Jahr","ShowYear","Monatindex","AddUrlaubRunning","ExternUrlaubstagClickedEvent","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",""],["style","width: 100%;",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"],[2,"position","absolute","padding","4px","background","white","bottom","0px"],[1,"docinnertable"],[2,"font-weight","bold"],[2,"font-weight","bold","text-align","center"],[2,"font-weight","bold","min-width","600px"],[2,"font-weight","bold","width","300px"],["colspan","8","align","center"],["size","small",3,"disabled","click"],[2,"text-align","center"],["style","width: 20px; height: 20px; background: #307ac1; border-radius: 100%",4,"ngIf"],[1,"legendenewdivclass"],[3,"innerHTML"],["size","small","color","grau",3,"click"],["name","search","slot","icon-only",2,"font-size","16px"],[2,"width","20px","height","20px","background","#307ac1","border-radius","100%"],[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"],[2,"font-weight","bold","min-width","500px"],["colspan","9","align","center"],[1,"nobordertable",2,"width","100%"],[2,"width","33%","font-size","80%"],["align","center",2,"width","33%"],[2,"width","33%"],["class","nobordersmalltable",4,"ngIf"],[1,"legendedivclass"],[2,"overflow-wrap","break-word","width","500px",3,"innerHTML"],["size","small","color","grau",3,"disabled","click"],[1,"nobordersmalltable"],["width","100%",1,"nobordertable"],[2,"width","30px"],["colspan","3"],["color","gruen","size","small",3,"click"],["name","checkmark-outline"],["color","rot","size","small",3,"click"],["name","close-outline"],[1,"legendebreitdivclass"],["colspan","2"],[2,"height","32px"],["align","center",2,"width","50%"],[3,"value",4,"ngIf"],[2,"border-radius","50%","width","12px","height","12px","background","green"],[2,"border-radius","50%","width","12px","height","12px","background","red"],["colspan","5","align","center"],[3,"Checked","CheckChanged"],["name","flag-outline","color","gelb",2,"font-size","18px"],["name","school-outline","color","gelb",2,"font-size","18px"],["colspan","3",2,"height","20px"],["name","flag-outline","color","weiss",2,"font-size","18px"],["name","school-outline","color","weiss",2,"font-size","18px"],[3,"Checked","Enabled","CheckChanged"],[1,"legendeexterndivclass"],["align","left",2,"width","50%"],["style","height: 40px; font-size: 110%; font-weight: bold; color: white; text-align: left",4,"ngIf"],[2,"width","50%"],["style","padding: 6px; text-align: center; border-radius: 4px; background: red; color: white; font-weight: bold; width: 400px;",4,"ngIf"],[3,"src"],[2,"height","40px","font-size","110%","font-weight","bold","color","white","text-align","left"],[2,"padding","6px","text-align","center","border-radius","4px","background","red","color","white","font-weight","bold","width","400px"],[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(pt,mt){1&pt&&(o.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),o.\u0275\u0275listener("UrlaubMitarbeiterClicked",function(){return mt.MitarbeiterWechselnClicked()})("UrlaubMitarbeiterMeClicked",function(){return mt.UrlaubMitarbeiterMeClickedHandler()})("JahrButtonClicked",function(){return mt.JahrButtonClickedHandler()}),o.\u0275\u0275elementEnd()()(),o.\u0275\u0275elementStart(4,"ion-content")(5,"div",3)(6,"div",4),o.\u0275\u0275template(7,ie,27,5,"div",5),o.\u0275\u0275elementStart(8,"table",6)(9,"tr"),o.\u0275\u0275element(10,"td",7),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(11,"tr")(12,"td",8)(13,"table",9)(14,"tr")(15,"td")(16,"div",10),o.\u0275\u0275listener("click",function(){return mt.MonatBackButtonClicked()}),o.\u0275\u0275element(17,"ion-icon",11),o.\u0275\u0275elementEnd()(),o.\u0275\u0275template(18,X,3,3,"td",12),o.\u0275\u0275elementStart(19,"td")(20,"div",10),o.\u0275\u0275listener("click",function(){return mt.MonatForwardButtonClicked()}),o.\u0275\u0275element(21,"ion-icon",13),o.\u0275\u0275elementEnd()()()()()(),o.\u0275\u0275elementStart(22,"tr")(23,"td",14)(24,"table",15)(25,"tr")(26,"td",16)(27,"urlaubsplanung-kalender",17),o.\u0275\u0275listener("ExternUrlaubstagClickedEvent",function(Ln){return mt.ExternUrlaubstagClickedEventHandler(Ln)})("FeiertagCrossedEvent",function(Ln){return mt.FeiertagCrossedEventHandler(Ln)})("FerientagCrossedEvent",function(Ln){return mt.FerientagCrossedEventHandler(Ln)}),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(28,"td",16)(29,"urlaubsplanung-kalender",18),o.\u0275\u0275listener("ExternUrlaubstagClickedEvent",function(Ln){return mt.ExternUrlaubstagClickedEventHandler(Ln)})("FeiertagCrossedEvent",function(Ln){return mt.FeiertagCrossedEventHandler(Ln)})("FerientagCrossedEvent",function(Ln){return mt.FerientagCrossedEventHandler(Ln)}),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(30,"td",16)(31,"urlaubsplanung-kalender",17),o.\u0275\u0275listener("ExternUrlaubstagClickedEvent",function(Ln){return mt.ExternUrlaubstagClickedEventHandler(Ln)})("FeiertagCrossedEvent",function(Ln){return mt.FeiertagCrossedEventHandler(Ln)})("FerientagCrossedEvent",function(Ln){return mt.FerientagCrossedEventHandler(Ln)}),o.\u0275\u0275elementEnd()()()()()()(),o.\u0275\u0275elementStart(32,"ion-grid")(33,"ion-row")(34,"ion-col")(35,"table",19)(36,"tr")(37,"td",8)(38,"ion-text",20),o.\u0275\u0275text(39,"Vertretungsanfragen"),o.\u0275\u0275elementEnd()()()()()(),o.\u0275\u0275template(40,Ae,8,2,"ng-container",12)(41,Be,7,0,"ng-container",21)(42,re,4,0,"ng-container",21),o.\u0275\u0275elementStart(43,"ion-row")(44,"ion-col")(45,"table",19)(46,"tr")(47,"td",8)(48,"ion-text",20),o.\u0275\u0275text(49,"Urlaubsfreigaben"),o.\u0275\u0275elementEnd()()()()()(),o.\u0275\u0275template(50,$n,8,2,"ng-container",12)(51,Wt,7,0,"ng-container",21),o.\u0275\u0275elementStart(52,"ion-row")(53,"ion-col")(54,"table",19)(55,"tr")(56,"td",8)(57,"ion-text",20),o.\u0275\u0275text(58,"Homeofficefreigaben"),o.\u0275\u0275elementEnd()()()()()(),o.\u0275\u0275template(59,un,8,2,"ng-container",12)(60,Vn,7,0,"ng-container",21),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(61,"div",22)(62,"table")(63,"tr")(64,"td")(65,"div",23),o.\u0275\u0275listener("click",function(){return mt.LegendeVisible=!mt.LegendeVisible}),o.\u0275\u0275element(66,"ion-icon",24),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(67,"td",25),o.\u0275\u0275template(68,or,92,29,"table",26),o.\u0275\u0275elementEnd()()()()()(),o.\u0275\u0275elementStart(69,"ion-footer")(70,"page-footer",null,27),o.\u0275\u0275template(72,Hn,9,3,"table",28),o.\u0275\u0275elementEnd()(),o.\u0275\u0275template(73,Dt,1,7,"auswahl-dialog",29)(74,qt,1,6,"fi-mitarbeiter-auswahl",30)),2&pt&&(o.\u0275\u0275advance(7),o.\u0275\u0275property("ngIf",!1===mt.environment.production),o.\u0275\u0275advance(11),o.\u0275\u0275property("ngForOf",mt.DB.Monateliste),o.\u0275\u0275advance(9),o.\u0275\u0275property("Jahr",mt.DB.CurrentJahr)("Monatindex",mt.DB.FirstMonatIndex)("AddUrlaubRunning",!1),o.\u0275\u0275advance(2),o.\u0275\u0275property("Jahr",mt.DB.CurrentJahr)("ShowYear",!0)("Monatindex",mt.DB.CurrentMonatindex)("AddUrlaubRunning",!1),o.\u0275\u0275advance(2),o.\u0275\u0275property("Jahr",mt.DB.CurrentJahr)("Monatindex",mt.DB.LastMonatIndex)("AddUrlaubRunning",!1),o.\u0275\u0275advance(9),o.\u0275\u0275property("ngForOf",mt.DB.Vertretrungliste),o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",0===mt.DB.Vertretungsanfragenanzahl&&0===mt.DB.Vertretungsantwortenanzahl),o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",0!==mt.DB.Vertretungsanfragenanzahl||0!==mt.DB.Vertretungsantwortenanzahl),o.\u0275\u0275advance(8),o.\u0275\u0275property("ngForOf",mt.DB.Urlaubfreigabenliste),o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",0===mt.DB.Freigabenanfragenanzahl&&0===mt.DB.Freigabenantwortenanzahl),o.\u0275\u0275advance(8),o.\u0275\u0275property("ngForOf",mt.DB.Homeofficefreigabenliste),o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",0===mt.DB.Homeofficeanfragenanzahl&&0===mt.DB.Homeofficantwortenanzahl),o.\u0275\u0275advance(),o.\u0275\u0275styleProp("height",mt.Legendehoehe,"px")("width",mt.Legendebreite,"px")("right",mt.LegendeVisible?0:-(mt.Legendebreite-14),"px"),o.\u0275\u0275advance(4),o.\u0275\u0275styleProp("height",mt.Legendehoehe,"px"),o.\u0275\u0275advance(),o.\u0275\u0275property("name",mt.LegendeVisible?"caret-forward-outline":"caret-back-outline"),o.\u0275\u0275advance(2),o.\u0275\u0275property("ngIf",null!==mt.Pool.Mitarbeitersettings),o.\u0275\u0275advance(4),o.\u0275\u0275property("ngIf",null!==mt.Pool.Appeinstellungen),o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",mt.ShowAuswahl),o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",mt.ShowMitarbeiterauswahl))},dependencies:[w.NgForOf,w.NgIf,D.IonButton,D.IonCol,D.IonContent,D.IonFooter,D.IonGrid,D.IonHeader,D.IonIcon,D.IonRadio,D.IonRadioGroup,D.IonRow,D.IonText,D.RadioValueAccessor,D.SelectValueAccessor,L.PageHeaderComponent,N.PageHeaderMenuComponent,V.PageFooterComponent,G.UrlaubsplanungKalenderComponent,R.AuswahlDialogComponent,k.CheckboxClonComponent,A.FiMitarbeiterAuswahlComponent],styles:[".contentkeeperdivclass[_ngcontent-%COMP%]{position:relative;width:100%;height:100%}.contentdivclass[_ngcontent-%COMP%]{position:absolute;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;font-size:80%;color:#fff;width:36px;border:1px solid #444444;height:24px;display:flex;justify-content:center;align-items:center}.legendenewdivclass[_ngcontent-%COMP%]{width:36px;height:24px;display:flex;flex-direction:row}.legendeinnerdivclass[_ngcontent-%COMP%]{color:#fff;font-size:90%;width:50%;height:24px;display:flex;justify-content:center;align-items:center}.legendebreitdivclass[_ngcontent-%COMP%]{font-weight:700;font-size:80%;color:#fff;width:60px;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 Ze})()},98348:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.CommonUrlaubsgesamtuebersichtPageModule=void 0;const n=s(81316),l=s(91368),u=s(92512),c=s(44716),i=s(26372),e=s(70216),o=s(53076),h=s(6168),v=s(90520),M=s(6232),p=s(72284),E=s(10272),S=s(7388),y=s(27328),f=s(26668),C=n.__importStar(s(54496)),w=(n.__importStar(s(53076)),n.__importStar(s(91368))),D=n.__importStar(s(92512)),L=n.__importStar(s(90212)),N=n.__importStar(s(63792)),V=n.__importStar(s(29856)),G=n.__importStar(s(56584)),R=n.__importStar(s(25856)),k=n.__importStar(s(80887)),A=[{path:"",component:i.CommonUrlaubGesamtuebersichtPage}];m.CommonUrlaubsgesamtuebersichtPageModule=(()=>{class K{static \u0275fac=function(be){return new(be||K)};static \u0275mod=C.\u0275\u0275defineNgModule({type:K});static \u0275inj=C.\u0275\u0275defineInjector({imports:[l.CommonModule,c.FormsModule,u.IonicModule,e.PageHeaderModule,o.RouterModule.forChild(A),h.PageHeaderMenuModule,v.PageFooterModule,M.UrlausplanungKalenderModule,p.ButtonValueModule,E.AuswahlDialogModule,S.CheckboxClonModule,y.FiMitarbeiterEditorModule,f.FiMitarbeiterAuswahlModule]})}return K})(),C.\u0275\u0275setComponentScope(i.CommonUrlaubGesamtuebersichtPage,function(){return[w.NgForOf,w.NgIf,D.IonContent,D.IonFooter,D.IonHeader,D.IonIcon,D.IonText,L.PageHeaderComponent,N.PageHeaderMenuComponent,V.PageFooterComponent,G.AuswahlDialogComponent,R.CheckboxClonComponent,k.FiMitarbeiterAuswahlComponent]},[])},26372:(pe,m,s)=>{"use strict";var n=s(1196).default;Object.defineProperty(m,"__esModule",{value:!0}),m.CommonUrlaubGesamtuebersichtPage=void 0;const l=s(81316),u=l.__importStar(s(17964)),c=l.__importDefault(s(35908)),i=s(17964),e=l.__importStar(s(54496)),o=l.__importStar(s(33940)),h=l.__importStar(s(14652)),v=l.__importStar(s(7992)),M=l.__importStar(s(9544)),p=l.__importStar(s(29743)),E=l.__importStar(s(15024)),S=l.__importStar(s(58864)),y=l.__importStar(s(48044)),f=l.__importStar(s(34388)),C=["PageHeader"],_=["PageFooter"];function w(ze,ct){if(1&ze){const xe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td")(1,"div",9),e.\u0275\u0275listener("click",function(){const Ue=e.\u0275\u0275restoreView(xe).index,Xe=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Xe.MonatButtonClicked(Ue))}),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()}if(2&ze){const xe=ct.$implicit,Ie=ct.index,Le=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",Le.GetMonatButtonColor(Ie)),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(xe)}}function D(ze,ct){if(1&ze&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"td",33)(2,"b"),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&ze){const xe=ct.$implicit;e.\u0275\u0275advance(),e.\u0275\u0275property("colSpan",xe.Tageanzahl),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1("KW ",xe.Nummer,"")}}function L(ze,ct){if(1&ze&&(e.\u0275\u0275elementStart(0,"td",34)(1,"ion-text",35)(2,"b"),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd()()()),2&ze){const xe=ct.$implicit;e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(xe.Tag)}}function N(ze,ct){if(1&ze&&(e.\u0275\u0275elementStart(0,"td",36)(1,"ion-text",37)(2,"b"),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd()()()),2&ze){const xe=ct.$implicit,Ie=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("color",xe.Hauptmonat?Ie.Basics.Ionicfarben.Schwarz:Ie.Basics.Ionicfarben.Silber),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(xe.Tagnummer)}}function V(ze,ct){if(1&ze&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"div",43),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()),2&ze){const xe=e.\u0275\u0275nextContext().$implicit,Ie=e.\u0275\u0275nextContext().$implicit,Le=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275styleProp("background",Le.DB.GetUrlaubStatuscolor(Le.DB.CheckIsUrlaubstag(Ie,xe))),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1(" ",Ie.Kuerzel," ")}}function G(ze,ct){if(1&ze&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"div",44),e.\u0275\u0275text(2),e.\u0275\u0275element(3,"br"),e.\u0275\u0275text(4,"HO "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()),2&ze){const xe=e.\u0275\u0275nextContext().$implicit,Ie=e.\u0275\u0275nextContext().$implicit,Le=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275styleProp("background",Le.DB.GetHomeofficeStatuscolor(Le.DB.CheckIsHomeofficetag(Ie,xe).Status)),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1(" ",Ie.Kuerzel,"")}}function R(ze,ct){if(1&ze&&(e.\u0275\u0275elementStart(0,"td",41),e.\u0275\u0275template(1,V,3,3,"ng-container",42)(2,G,5,3,"ng-container",42),e.\u0275\u0275elementEnd()),2&ze){const xe=ct.$implicit,Ie=e.\u0275\u0275nextContext().$implicit,Le=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",null!==Le.DB.CheckIsUrlaubstag(Ie,xe)),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",null!==Le.DB.CheckIsHomeofficetag(Ie,xe))}}function k(ze,ct){if(1&ze&&(e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(3,R,3,2,"td",40),e.\u0275\u0275elementEnd()),2&ze){const xe=ct.$implicit,Ie=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate2("",xe.Vorname," ",xe.Name,""),e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",Ie.Kalendertageliste)}}function A(ze,ct){if(1&ze&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td",38)(3,"b"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(5,"td",39),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(6,k,4,3,"tr",11),e.\u0275\u0275elementContainerEnd()),2&ze){const xe=ct.$implicit,Ie=e.\u0275\u0275nextContext();e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate(xe.Standort),e.\u0275\u0275advance(),e.\u0275\u0275property("colSpan",Ie.Tagesumme),e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",Ie.Mitrbeiterliste[xe._id])}}function H(ze,ct){if(1&ze){const xe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"checkbox-clon",28),e.\u0275\u0275listener("CheckChanged",function(Le){e.\u0275\u0275restoreView(xe);const Ue=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(Ue.MitarbeiterCheckChanged(Le))}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(2,"td"),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd()()}if(2&ze){const xe=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(),e.\u0275\u0275property("Value",xe._id)("Checked",xe.ShowInGesamtuebersicht),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate2("",xe.Vorname," ",xe.Name,"")}}function K(ze,ct){if(1&ze&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,H,4,4,"tr",42),e.\u0275\u0275elementContainerEnd()),2&ze){const xe=ct.$implicit,Ie=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",xe.StandortID===Ie._id&&!1===xe.Archiviert)}}function ie(ze,ct){if(1&ze){const xe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td")(3,"checkbox-clon",28),e.\u0275\u0275listener("CheckChanged",function(Le){e.\u0275\u0275restoreView(xe);const Ue=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ue.StandortCheckChanged(Le))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(4,"td")(5,"ion-text",26)(6,"b"),e.\u0275\u0275text(7),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(8,"tr"),e.\u0275\u0275element(9,"td"),e.\u0275\u0275elementStart(10,"td")(11,"table",24),e.\u0275\u0275template(12,K,2,1,"ng-container",11),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementContainerEnd()}if(2&ze){const xe=ct.$implicit,Ie=e.\u0275\u0275nextContext();e.\u0275\u0275advance(3),e.\u0275\u0275property("Value",xe._id)("Checked",xe.ShowInGesamtuebersicht),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate(xe.Standort),e.\u0275\u0275advance(5),e.\u0275\u0275property("ngForOf",Ie.Pool.Mitarbeiterliste)}}function X(ze,ct){if(1&ze){const xe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"auswahl-dialog",45),e.\u0275\u0275listener("OkClickedEvent",function(Le){e.\u0275\u0275restoreView(xe);const Ue=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ue.AuswahlOkButtonClicked(Le))})("CancelClickedEvent",function(){e.\u0275\u0275restoreView(xe);const Le=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Le.ShowAuswahl=!1)}),e.\u0275\u0275elementEnd()}if(2&ze){const xe=e.\u0275\u0275nextContext();e.\u0275\u0275property("Auswahlliste",xe.Auswahlliste)("Auswahlindex",xe.Auswahlindex)("ZIndex",5e3)("Dialogbreite",400)("PositionY",100)("Titel",xe.Auswahltitel)("Iconname","")}}function be(ze,ct){if(1&ze){const xe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"fi-mitarbeiter-auswahl",46),e.\u0275\u0275listener("CancelClickedEvent",function(){e.\u0275\u0275restoreView(xe);const Le=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Le.ShowMitarbeiterauswahl=!1)})("OkClickedEvent",function(Le){e.\u0275\u0275restoreView(xe);const Ue=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ue.MitarbeiterauswahlOkButtonClicked(Le))})("StandortfilterClickedEvent",function(){e.\u0275\u0275restoreView(xe);const Le=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Le.MitarebiterStandortfilterClickedHandler())}),e.\u0275\u0275elementEnd()}if(2&ze){const xe=e.\u0275\u0275nextContext();e.\u0275\u0275property("Titel",xe.MitarbeiterauswahlTitel)("Dialogbreite",600)("ZIndex",4e3)("Multiselect",!1)("OnlyProjektmitarbeiter",!1)("AuswahlIDliste",xe.AuswahlIDliste)}}m.CommonUrlaubGesamtuebersichtPage=(()=>{class ze{Loadinganimation;Basics;Pool;DB;Const;DBMitarbeitersettings;DBStandort;Auswahlservice;Debug;PageHeader;PageFooter;Ansichtenvarinaten={Gesamtjahr:"Gesamtjahr",HalbjahrEins:"HalbjahrEins",HalbjahrZwei:"HalbjahrZwei"};Ansichtvariante;Message;Auswahldialogorigin;DataSubscription;AuswahlIDliste;ShowMitarbeiterauswahl;LegendeVisible;Legendehoehe;Legendebreite;Flagsource;Standortliste;Mitrbeiterliste;Kalendertageliste;Kalenderwochenliste;Monatname;Tagesumme;Auswahlindex;Auswahltitel;Auswahlliste;ShowAuswahl;MitarbeiterauswahlTitel;Headerhoehe;Contenthoehe;constructor(xe,Ie,Le,Ue,Xe,_e,Fe,Ce,Ae){this.Loadinganimation=xe,this.Basics=Ie,this.Pool=Le,this.DB=Ue,this.Const=Xe,this.DBMitarbeitersettings=_e,this.DBStandort=Fe,this.Auswahlservice=Ce,this.Debug=Ae;try{this.DataSubscription=null,this.Message="",this.MitarbeiterauswahlTitel="",this.Auswahldialogorigin=this.Const.NONE,this.AuswahlIDliste=[],this.Auswahlliste=[{Index:0,FirstColumn:"",SecoundColumn:"",Data:null}],this.Auswahlindex=0,this.Auswahltitel="",this.ShowMitarbeiterauswahl=!1,this.LegendeVisible=!1,this.Legendehoehe=0,this.Legendebreite=0,this.Flagsource="",this.Ansichtvariante=this.Ansichtenvarinaten.Gesamtjahr,this.Standortliste=[],this.Mitrbeiterliste=[],this.Kalendertageliste=[],this.Kalenderwochenliste=[],this.Mitrbeiterliste=[],this.Headerhoehe=0,this.Contenthoehe=0,this.Tagesumme=0}catch(Be){this.Debug.ShowErrorMessage(Be.message,"Urlaubsuebersicht Page","constructor",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(xe){var Ie=this;return n(function*(){try{switch(Ie.Auswahldialogorigin){case Ie.Auswahlservice.Auswahloriginvarianten.UrlaubPlanung_Standort_Filter:Ie.DBStandort.CurrentStandortfilter=(0,i.cloneDeep)(xe),Ie.Pool.Mitarbeitersettings.StandortFilter=null!==xe?xe._id:Ie.Const.NONE,Ie.DBMitarbeitersettings.UpdateMitarbeitersettings(Ie.Pool.Mitarbeitersettings,null).then(()=>{Ie.ShowAuswahl=!1,Ie.DBStandort.StandortfilterChanged.emit()});break;case Ie.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Jahr_Aendern:Ie.DB.CurrentJahr=xe,Ie.ShowAuswahl=!1,yield Ie.Loadinganimation.ShowLoadingAnimation("Hinweis","Daten werden geladen"),yield Ie.DB.ReadFeiertage("DE"),yield Ie.DB.ReadFeiertage("BG"),yield Ie.DB.ReadFerien("DE"),yield Ie.DB.ReadFerien("BG"),yield Ie.Loadinganimation.HideLoadingAnimation(!0),Ie.PrepareData()}}catch(Le){Ie.Debug.ShowErrorMessage(Le.message,"Urlaubsplanung Page","AuswahlOkButtonClicked",Ie.Debug.Typen.Page)}})()}MitarbeiterWechselnClicked(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln,this.ShowMitarbeiterauswahl=!0,this.AuswahlIDliste=[]}catch(xe){this.Debug.ShowErrorMessage(xe,"Urlaubsuebersicht Page","MitarbeiterWechselnClicked",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.DataSubscription.unsubscribe(),this.DataSubscription=null}catch(xe){this.Debug.ShowErrorMessage(xe,"Urlaubsuebersicht Page","OnDestroy",this.Debug.Typen.Page)}}MitarbeiterauswahlOkButtonClicked(xe){try{let Ie;this.Auswahldialogorigin===this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln&&(Ie=u.find(this.Pool.Mitarbeiterliste,{_id:xe[0]}),this.DB.CurrentMitarbeiter=Ie,this.PrepareData(),this.DB.PlanungsmonateChanged.emit()),this.ShowMitarbeiterauswahl=!1}catch(Ie){this.Debug.ShowErrorMessage(Ie.message,"Urlaubsuebersicht Page","MitarbeiterauswahlOkButtonClicked",this.Debug.Typen.Page)}}MitarebiterStandortfilterClickedHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.UrlaubPlanung_Standort_Filter;let xe=0;this.ShowAuswahl=!0,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:xe,FirstColumn:"kein Filter",SecoundColumn:"",Data:null}),xe++;for(let Ie of this.Pool.Standorteliste)this.Auswahlliste.push({Index:xe,FirstColumn:Ie.Kuerzel,SecoundColumn:Ie.Standort,Data:Ie}),xe++;this.Auswahlindex=null!==this.DBStandort.CurrentStandortfilter?u.findIndex(this.Pool.Standorteliste,{_id:this.DBStandort.CurrentStandortfilter._id}):0}catch(xe){this.Debug.ShowErrorMessage(xe.message,"Urlaubsplanung Page","MitarebiterStandortfilterClickedHandler",this.Debug.Typen.Page)}}ngOnInit(){try{this.Ansichtvariante=(0,c.default)().locale("de").month()+1<=6?this.Ansichtenvarinaten.HalbjahrEins:this.Ansichtenvarinaten.HalbjahrZwei,this.DataSubscription=this.Pool.LoadingAllDataFinished.subscribe(()=>{this.PrepareData()}),this.PrepareData()}catch(xe){this.Debug.ShowErrorMessage(xe,"Urlaubsuebersicht Page","OnInit",this.Debug.Typen.Page)}}PrepareData(){var xe=this;return n(function*(){try{let Ie,Le,Ue,_e,Fe,Ce,Ae,Be,re,Xe=xe.DB.CurrentMonatindex+1;xe.DB.Init(),xe.DB.CheckSetup(),xe.DB.CountAnfragenanzahlen(),xe.Monatname=xe.DB.Monateliste[xe.DB.CurrentMonatindex],Xe=Xe<10?"0"+Xe.toString():Xe.toString(),Ie=(0,c.default)(xe.DB.CurrentJahr.toString()+"-"+Xe,"YYYY-MM").daysInMonth(),xe.Tagesumme=Ie;let Ee=(0,c.default)().set({date:1,month:xe.DB.CurrentMonatindex,year:xe.DB.CurrentJahr,hour:8,minute:0}).locale("de"),et=(0,c.default)().set({date:Ie,month:xe.DB.CurrentMonatindex,year:xe.DB.CurrentJahr,hour:8,minute:0}).locale("de");Le=Ee.isoWeekday(),Ue=Le-1,xe.Tagesumme=xe.Tagesumme+Ue,Fe=Ee.clone().subtract(Ue,"day"),Be=Fe.clone(),Le=et.isoWeekday(),Ue=7-Le,xe.Tagesumme=xe.Tagesumme+Ue,re={Nummer:Be.isoWeek(),Tageanzahl:0},xe.Kalendertageliste=[],xe.Kalenderwochenliste=[];for(let vt=0;vtCe._id===Tt._id),u.isUndefined(Ae)&&(xe.Standortliste.push(Ce),xe.Mitrbeiterliste[Ce._id]=[]),xe.Mitrbeiterliste[Ce._id].push(vt)))}catch(Ie){xe.Debug.ShowErrorMessage(Ie,"Urlaubsuebersicht Page","PrepareData",xe.Debug.Typen.Page)}})()}ionViewDidEnter(){try{this.Basics.MeassureInnercontent(this.PageHeader,this.PageFooter),this.Legendebreite=320,this.Legendehoehe=this.Basics.InnerContenthoehe,this.Headerhoehe=160,this.Contenthoehe=this.Basics.InnerContenthoehe-this.Headerhoehe}catch(xe){this.Debug.ShowErrorMessage(xe.message,"Urlaubsuebersicht Page","ionViewDidEnter",this.Debug.Typen.Page)}}StandortCheckChanged(xe){try{let Ie=u.find(this.Pool.Standorteliste,{_id:xe.value});Ie.ShowInGesamtuebersicht=xe.status;for(let Le of this.Pool.Mitarbeiterliste)Le.StandortID===Ie._id&&(Le.ShowInGesamtuebersicht=xe.status);this.PrepareData()}catch(Ie){this.Debug.ShowErrorMessage(Ie,"Urlaubsuebersicht Page","StandortCheckChanged",this.Debug.Typen.Page)}}MitarbeiterCheckChanged(xe){try{u.find(this.Pool.Mitarbeiterliste,{_id:xe.value}).ShowInGesamtuebersicht=xe.status,this.PrepareData()}catch(Ie){this.Debug.ShowErrorMessage(Ie,"Urlaubsuebersicht Page","MitarbeiterCheckChanged",this.Debug.Typen.Page)}}MonatBackButtonClicked(){try{this.DB.CurrentMonatindex>0&&(this.DB.CurrentMonatindex--,this.PrepareData())}catch(xe){this.Debug.ShowErrorMessage(xe,"Urlaubsuebersicht Page","MonatBackButtonClicked",this.Debug.Typen.Page)}}GetMonatButtonColor(xe){try{if(this.DB.CurrentMonatindex===xe)return"orange"}catch(Ie){this.Debug.ShowErrorMessage(Ie,"Urlaubsuebersicht Page","GetMonatButtonColor",this.Debug.Typen.Page)}}MonatForwardButtonClicked(){try{this.DB.CurrentMonatindex<11&&(this.DB.CurrentMonatindex++,this.PrepareData())}catch(xe){this.Debug.ShowErrorMessage(xe,"Urlaubsuebersicht Page","MonatForwardButtonClicked",this.Debug.Typen.Page)}}MonatButtonClicked(xe){try{this.DB.CurrentMonatindex=xe,this.PrepareData()}catch(Ie){this.Debug.ShowErrorMessage(Ie,"Urlaubsuebersicht Page","MonatButtonClicked",this.Debug.Typen.Page)}}SettingsCheckedChanged(xe){try{switch(xe.value){case this.DB.Urlaubstatusvarianten.Geplant:this.DB.GesamtuebersichtSetting.ShowGeplant=xe.status;break;case this.DB.Urlaubstatusvarianten.Vertreteranfrage:this.DB.GesamtuebersichtSetting.ShowVertreteranfragen=xe.status;break;case this.DB.Urlaubstatusvarianten.Vertreterfreigabe:this.DB.GesamtuebersichtSetting.ShowVertreterfreigaben=xe.status;break;case this.DB.Urlaubstatusvarianten.Vertreterablehnung:this.DB.GesamtuebersichtSetting.ShowVertreterablehnungen=xe.status;break;case this.DB.Urlaubstatusvarianten.Genehmigt:this.DB.GesamtuebersichtSetting.ShowUrlaubsgenehmigungen=xe.status;break;case this.DB.Urlaubstatusvarianten.Abgelehnt:this.DB.GesamtuebersichtSetting.ShowUrlaubsablehnungen=xe.status}}catch(Ie){this.Debug.ShowErrorMessage(Ie,"Urlaubsuebersicht Page","SettingsCheckedChanged",this.Debug.Typen.Page)}}SettingsHomeofficeCheckedChanged(xe){try{switch(xe.value){case this.DB.Homeofficestatusvarianten.Geplant:this.DB.GesamtuebersichtSetting.ShowHomeofficeGeplant=xe.status;break;case this.DB.Homeofficestatusvarianten.Freigabeanfrage:this.DB.GesamtuebersichtSetting.ShowHomeofficeAnfrage=xe.status;break;case this.DB.Homeofficestatusvarianten.Genehmigt:this.DB.GesamtuebersichtSetting.ShowHomeofficeGenehmigt=xe.status}}catch(Ie){this.Debug.ShowErrorMessage(Ie,"Urlaubsuebersicht Page","SettingsHomeofficeCheckedChanged",this.Debug.Typen.Page)}}UrlaubMitarbeiterMeClickedHandler(){try{this.DB.CurrentMitarbeiter=this.Pool.Mitarbeiterdaten,this.PrepareData()}catch(xe){this.Debug.ShowErrorMessage(xe,"Urlaubsuebersicht Page","UrlaubMitarbeiterMeClickedHandler",this.Debug.Typen.Page)}}JahrButtonClickedHandler(){try{let xe=0,Le=this.DB.Jahr+1;this.Auswahltitel="Jahr wechseln",this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Jahr_Aendern,this.Auswahlliste=[];for(let Ue=this.DB.Startjahr;Ue<=Le;Ue++)this.Auswahlliste.push({Index:xe++,FirstColumn:Ue.toString(),SecoundColumn:"",Data:Ue});this.ShowAuswahl=!0,this.Auswahlindex=u.findIndex(this.Auswahlliste,{Data:this.DB.CurrentJahr})}catch(xe){this.Debug.ShowErrorMessage(xe,"Urlaubsuebersicht Page","JahrButtonClickedHandler",this.Debug.Typen.Page)}}static \u0275fac=function(Ie){return new(Ie||ze)(e.\u0275\u0275directiveInject(o.LoadingAnimationService),e.\u0275\u0275directiveInject(h.BasicsProvider),e.\u0275\u0275directiveInject(v.DatabasePoolService),e.\u0275\u0275directiveInject(M.DatabaseUrlaubService),e.\u0275\u0275directiveInject(p.ConstProvider),e.\u0275\u0275directiveInject(E.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(S.DatabaseStandorteService),e.\u0275\u0275directiveInject(y.AuswahlDialogService),e.\u0275\u0275directiveInject(f.DebugProvider))};static \u0275cmp=e.\u0275\u0275defineComponent({type:ze,selectors:[["common-urlaub-gesamtuebersicht-page"]],viewQuery:function(Ie,Le){if(1&Ie&&(e.\u0275\u0275viewQuery(C,5),e.\u0275\u0275viewQuery(_,5)),2&Ie){let Ue;e.\u0275\u0275queryRefresh(Ue=e.\u0275\u0275loadQuery())&&(Le.PageHeader=Ue.first),e.\u0275\u0275queryRefresh(Ue=e.\u0275\u0275loadQuery())&&(Le.PageFooter=Ue.first)}},decls:145,vars:66,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"UrlaubMitarbeiterClicked","UrlaubMitarbeiterMeClicked","JahrButtonClicked"],[1,"contentdivclass"],[2,"height","100%","position","absolute","overflow","scroll"],[1,"headerdivclass"],[2,"width","100%"],["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"],[2,"height","10px"],[1,"docinnertable"],["align","center",2,"height","40px","font-size","120%",3,"colSpan"],["rowspan","3",2,"width","200px"],["style","width: 48px;","align","center",4,"ngFor","ngForOf"],["style","width: 40px;","align","center",4,"ngFor","ngForOf"],[1,"innercontentdivclass"],[1,"legendekeeperdivclass"],[1,"legendebuttonclass",3,"click"],["color","weiss",3,"name"],[2,"width","100%","overflow","auto"],[1,"paddingtable"],["colspan","4"],["color","schwarz"],[2,"width","32px"],[3,"Value","Checked","CheckChanged"],[1,"legendedivclass"],["PageFooter",""],[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"],[2,"text-align","center",3,"colSpan"],["align","center",2,"width","48px"],["color","baeblau"],["align","center",2,"width","40px"],[3,"color"],[2,"width","200px"],[3,"colSpan"],["style","width: 48px; height: 30px;","align","center",4,"ngFor","ngForOf"],["align","center",2,"width","48px","height","30px"],[4,"ngIf"],[1,"urlaubclass"],[1,"homeofficeclass"],[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(Ie,Le){1&Ie&&(e.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),e.\u0275\u0275listener("UrlaubMitarbeiterClicked",function(){return Le.MitarbeiterWechselnClicked()})("UrlaubMitarbeiterMeClicked",function(){return Le.UrlaubMitarbeiterMeClickedHandler()})("JahrButtonClicked",function(){return Le.JahrButtonClickedHandler()}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(4,"ion-content")(5,"div",3)(6,"div",4)(7,"div",5)(8,"table",6)(9,"tr")(10,"td",7)(11,"table",8)(12,"tr")(13,"td")(14,"div",9),e.\u0275\u0275listener("click",function(){return Le.MonatBackButtonClicked()}),e.\u0275\u0275element(15,"ion-icon",10),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(16,w,3,3,"td",11),e.\u0275\u0275elementStart(17,"td")(18,"div",9),e.\u0275\u0275listener("click",function(){return Le.MonatForwardButtonClicked()}),e.\u0275\u0275element(19,"ion-icon",12),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(20,"tr"),e.\u0275\u0275element(21,"td",13),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(22,"tr")(23,"td",7)(24,"table",14)(25,"tr")(26,"td",15)(27,"b"),e.\u0275\u0275text(28),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(29,"tr"),e.\u0275\u0275element(30,"td",16),e.\u0275\u0275template(31,D,4,2,"ng-container",11),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(32,"tr"),e.\u0275\u0275template(33,L,4,1,"td",17),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(34,"tr"),e.\u0275\u0275template(35,N,4,2,"td",18),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(36,"div",19)(37,"table",6)(38,"tr")(39,"td",7)(40,"table",14),e.\u0275\u0275template(41,A,7,3,"ng-container",11),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275element(42,"br")(43,"br")(44,"br")(45,"br")(46,"br"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(47,"div",20)(48,"div",21),e.\u0275\u0275listener("click",function(){return Le.LegendeVisible=!Le.LegendeVisible}),e.\u0275\u0275element(49,"ion-icon",22),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(50,"div",23)(51,"table",24)(52,"tr")(53,"td",25)(54,"ion-text",26)(55,"b"),e.\u0275\u0275text(56,"Allgemein"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(57,"tr"),e.\u0275\u0275element(58,"td",27),e.\u0275\u0275elementStart(59,"td")(60,"checkbox-clon",28),e.\u0275\u0275listener("CheckChanged",function(Xe){return Le.SettingsCheckedChanged(Xe)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(61,"td"),e.\u0275\u0275element(62,"div",29),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(63,"td"),e.\u0275\u0275text(64,"geplanter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(65,"tr"),e.\u0275\u0275element(66,"td"),e.\u0275\u0275elementStart(67,"td")(68,"checkbox-clon",28),e.\u0275\u0275listener("CheckChanged",function(Xe){return Le.SettingsCheckedChanged(Xe)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(69,"td"),e.\u0275\u0275element(70,"div",29),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(71,"td"),e.\u0275\u0275text(72,"Vertretung angefragt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(73,"tr"),e.\u0275\u0275element(74,"td"),e.\u0275\u0275elementStart(75,"td")(76,"checkbox-clon",28),e.\u0275\u0275listener("CheckChanged",function(Xe){return Le.SettingsCheckedChanged(Xe)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(77,"td"),e.\u0275\u0275element(78,"div",29),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(79,"td"),e.\u0275\u0275text(80,"Urlaub mit Vertreterfreigabe"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(81,"tr"),e.\u0275\u0275element(82,"td"),e.\u0275\u0275elementStart(83,"td")(84,"checkbox-clon",28),e.\u0275\u0275listener("CheckChanged",function(Xe){return Le.SettingsCheckedChanged(Xe)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(85,"td"),e.\u0275\u0275element(86,"div",29),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(87,"td"),e.\u0275\u0275text(88,"Vertretung wurde abgelehnt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(89,"tr"),e.\u0275\u0275element(90,"td"),e.\u0275\u0275elementStart(91,"td")(92,"checkbox-clon",28),e.\u0275\u0275listener("CheckChanged",function(Xe){return Le.SettingsCheckedChanged(Xe)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(93,"td"),e.\u0275\u0275element(94,"div",29),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(95,"td"),e.\u0275\u0275text(96,"Genehmigter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(97,"tr"),e.\u0275\u0275element(98,"td"),e.\u0275\u0275elementStart(99,"td")(100,"checkbox-clon",28),e.\u0275\u0275listener("CheckChanged",function(Xe){return Le.SettingsCheckedChanged(Xe)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(101,"td"),e.\u0275\u0275element(102,"div",29),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(103,"td"),e.\u0275\u0275text(104,"Abgelehnter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(105,"tr"),e.\u0275\u0275element(106,"td"),e.\u0275\u0275elementStart(107,"td")(108,"checkbox-clon",28),e.\u0275\u0275listener("CheckChanged",function(Xe){return Le.SettingsHomeofficeCheckedChanged(Xe)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(109,"td")(110,"div",29),e.\u0275\u0275text(111,"HO"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(112,"td"),e.\u0275\u0275text(113,"Homeoffice geplant"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(114,"tr"),e.\u0275\u0275element(115,"td"),e.\u0275\u0275elementStart(116,"td")(117,"checkbox-clon",28),e.\u0275\u0275listener("CheckChanged",function(Xe){return Le.SettingsHomeofficeCheckedChanged(Xe)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(118,"td")(119,"div",29),e.\u0275\u0275text(120,"HO"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(121,"td"),e.\u0275\u0275text(122,"Homeoffice Anfrage"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(123,"tr"),e.\u0275\u0275element(124,"td"),e.\u0275\u0275elementStart(125,"td")(126,"checkbox-clon",28),e.\u0275\u0275listener("CheckChanged",function(Xe){return Le.SettingsHomeofficeCheckedChanged(Xe)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(127,"td")(128,"div",29),e.\u0275\u0275text(129,"HO"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(130,"td"),e.\u0275\u0275text(131,"Homeoffice genehmigt"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(132,"table",24),e.\u0275\u0275template(133,ie,13,4,"ng-container",11),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(134,"br")(135,"br")(136,"br")(137,"br")(138,"br")(139,"br"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(140,"ion-footer"),e.\u0275\u0275element(141,"page-footer",null,30),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(143,X,1,7,"auswahl-dialog",31)(144,be,1,6,"fi-mitarbeiter-auswahl",32)),2&Ie&&(e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("width",Le.Basics.Contentbreite,"px"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",Le.Headerhoehe,"px"),e.\u0275\u0275advance(9),e.\u0275\u0275property("ngForOf",Le.DB.Monateliste),e.\u0275\u0275advance(10),e.\u0275\u0275property("colSpan",Le.Tagesumme+1),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate2("",Le.Monatname," ",Le.DB.CurrentJahr,""),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngForOf",Le.Kalenderwochenliste),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngForOf",Le.Kalendertageliste),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngForOf",Le.Kalendertageliste),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("top",Le.Headerhoehe,"px")("height",Le.Contenthoehe,"px"),e.\u0275\u0275advance(5),e.\u0275\u0275property("ngForOf",Le.Standortliste),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("height",Le.Legendehoehe,"px")("width",Le.Legendebreite,"px")("right",Le.LegendeVisible?0:-(Le.Legendebreite-14),"px"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",Le.Legendehoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275property("name",Le.LegendeVisible?"caret-forward-outline":"caret-back-outline"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",Le.Legendehoehe,"px"),e.\u0275\u0275advance(10),e.\u0275\u0275property("Value",Le.DB.Urlaubstatusvarianten.Geplant)("Checked",Le.DB.GesamtuebersichtSetting.ShowGeplant),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Le.DB.Urlaubsfaben.Geplant),e.\u0275\u0275advance(6),e.\u0275\u0275property("Value",Le.DB.Urlaubstatusvarianten.Vertreteranfrage)("Checked",Le.DB.GesamtuebersichtSetting.ShowVertreteranfragen),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Le.DB.Urlaubsfaben.Vertreteranfrage),e.\u0275\u0275advance(6),e.\u0275\u0275property("Value",Le.DB.Urlaubstatusvarianten.Vertreterfreigabe)("Checked",Le.DB.GesamtuebersichtSetting.ShowVertreterfreigaben),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Le.DB.Urlaubsfaben.Vertreterfreigabe),e.\u0275\u0275advance(6),e.\u0275\u0275property("Value",Le.DB.Urlaubstatusvarianten.Vertreterablehnung)("Checked",Le.DB.GesamtuebersichtSetting.ShowVertreterablehnungen),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Le.DB.Urlaubsfaben.Vertreterablehnung),e.\u0275\u0275advance(6),e.\u0275\u0275property("Value",Le.DB.Urlaubstatusvarianten.Genehmigt)("Checked",Le.DB.GesamtuebersichtSetting.ShowUrlaubsgenehmigungen),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Le.DB.Urlaubsfaben.Genehmigt),e.\u0275\u0275advance(6),e.\u0275\u0275property("Value",Le.DB.Urlaubstatusvarianten.Abgelehnt)("Checked",Le.DB.GesamtuebersichtSetting.ShowUrlaubsablehnungen),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Le.DB.Urlaubsfaben.Abgelehnt),e.\u0275\u0275advance(6),e.\u0275\u0275property("Value",Le.DB.Homeofficestatusvarianten.Geplant)("Checked",Le.DB.GesamtuebersichtSetting.ShowHomeofficeGeplant),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Le.DB.Homeofficefarben.Geplant),e.\u0275\u0275advance(7),e.\u0275\u0275property("Value",Le.DB.Homeofficestatusvarianten.Freigabeanfrage)("Checked",Le.DB.GesamtuebersichtSetting.ShowHomeofficeAnfrage),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Le.DB.Homeofficefarben.Freigabeanfrage),e.\u0275\u0275advance(7),e.\u0275\u0275property("Value",Le.DB.Homeofficestatusvarianten.Genehmigt)("Checked",Le.DB.GesamtuebersichtSetting.ShowHomeofficeGenehmigt),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Le.DB.Homeofficefarben.Genehmigt),e.\u0275\u0275advance(5),e.\u0275\u0275property("ngForOf",Le.Pool.Standorteliste),e.\u0275\u0275advance(10),e.\u0275\u0275property("ngIf",Le.ShowAuswahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Le.ShowMitarbeiterauswahl))},styles:[".contentdivclass[_ngcontent-%COMP%]{position:relative;width:100%;height:100%;z-index:10;overflow:visible}.legendebuttonclass[_ngcontent-%COMP%]{width:14px;background:#307ac1;display:flex;justify-content:center;align-items:center;cursor:pointer}.legendekeeperdivclass[_ngcontent-%COMP%]{position:absolute;background:silver;right:0;top:0;bottom:0;z-index:20;overflow:visible;display:flex;flex-direction:row}.headerdivclass[_ngcontent-%COMP%]{position:absolute;left:0;top:0;width:100%}.innercontentdivclass[_ngcontent-%COMP%]{position:absolute;left:0;width:100%;overflow:auto}.urlaubclass[_ngcontent-%COMP%]{width:38px;height:20px;color:#fff;display:flex;justify-content:center;align-items:center;font-size:80%}.homeofficeclass[_ngcontent-%COMP%]{width:38px;height:36px;color:#fff;display:flex;justify-content:center;align-items:center;font-size:80%}.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}.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%]:hover{color:#fff;background:#307ac1}"]})}return ze})()},74484:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.CommonUrlaubsplanungPageModule=void 0;const n=s(81316),l=s(91368),u=s(92512),c=s(44716),i=s(75908),e=s(70216),o=s(53076),h=s(6168),v=s(90520),M=s(6232),p=s(72284),E=s(10272),S=s(7388),y=s(27328),f=s(26668),C=n.__importStar(s(54496)),w=(n.__importStar(s(53076)),[{path:"",component:i.CommonUrlaubPlanungPage}]);m.CommonUrlaubsplanungPageModule=(()=>{class L{static \u0275fac=function(G){return new(G||L)};static \u0275mod=C.\u0275\u0275defineNgModule({type:L});static \u0275inj=C.\u0275\u0275defineInjector({imports:[l.CommonModule,c.FormsModule,u.IonicModule,e.PageHeaderModule,o.RouterModule.forChild(w),h.PageHeaderMenuModule,v.PageFooterModule,M.UrlausplanungKalenderModule,p.ButtonValueModule,E.AuswahlDialogModule,S.CheckboxClonModule,y.FiMitarbeiterEditorModule,f.FiMitarbeiterAuswahlModule]})}return L})()},75908:(pe,m,s)=>{"use strict";var n=s(1196).default;Object.defineProperty(m,"__esModule",{value:!0}),m.CommonUrlaubPlanungPage=void 0;const l=s(81316),u=l.__importStar(s(17964)),c=l.__importDefault(s(35908)),i=s(17964),e=l.__importStar(s(54496)),o=l.__importStar(s(33940)),h=l.__importStar(s(14652)),v=l.__importStar(s(15024)),M=l.__importStar(s(7992)),p=l.__importStar(s(9544)),E=l.__importStar(s(22848)),S=l.__importStar(s(29743)),y=l.__importStar(s(58864)),f=l.__importStar(s(48044)),C=l.__importStar(s(19668)),_=l.__importStar(s(34388)),w=l.__importStar(s(91368)),D=l.__importStar(s(92512)),L=l.__importStar(s(90212)),N=l.__importStar(s(63792)),V=l.__importStar(s(29856)),G=l.__importStar(s(77440)),R=l.__importStar(s(56584)),k=l.__importStar(s(25856)),A=l.__importStar(s(80887)),H=["PageHeader"],K=["PageFooter"];function ie(jt,Mn){if(1&jt){const Pe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td")(1,"div",14),e.\u0275\u0275listener("click",function(){const Ut=e.\u0275\u0275restoreView(Pe).index,ar=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ar.MonatButtonClicked(Ut))}),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()}if(2&jt){const Pe=Mn.$implicit,gt=Mn.index,At=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",At.GetMonatButtonColor(gt)),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(Pe)}}function X(jt,Mn){if(1&jt){const Pe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td",12)(2,"table",13)(3,"tr")(4,"td",12)(5,"ion-button",30),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Pe);const At=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(At.AddUrlaub())}),e.\u0275\u0275text(6,"Urlaubszeitspanne eintragen"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(7,"td",12)(8,"ion-button",30),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Pe);const At=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(At.AddHalbenUrlaubstag())}),e.\u0275\u0275text(9,"Halben Urlaubstag eintragen"),e.\u0275\u0275elementEnd()()()()()()}if(2&jt){const Pe=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(5),e.\u0275\u0275property("disabled",Pe.DB.CountResturlaub()<=0),e.\u0275\u0275advance(3),e.\u0275\u0275property("disabled",Pe.DB.CountResturlaub()<=0)}}function be(jt,Mn){if(1&jt){const Pe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td",12)(2,"table",13)(3,"tr")(4,"td")(5,"div",31),e.\u0275\u0275text(6," Bitte Datum f\xfcr den halben Urlaubstag ausw\xe4hlen "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(7,"td")(8,"div",32),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Pe);const At=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(At.CancelDatumClicked())}),e.\u0275\u0275element(9,"ion-icon",33),e.\u0275\u0275elementEnd()()()()()()}}function ce(jt,Mn){if(1&jt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"td",34),e.\u0275\u0275text(2,"bis zum"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td")(4,"div",31),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&jt){const Pe=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1(" ",null!==Pe.DB.CurrentUrlaubzeitspanne&&null!==Pe.DB.CurrentUrlaubzeitspanne.Endestempel?Pe.DB.CurrentUrlaubzeitspanne.Endestempel:"Bitte Endedatum im Kalender oben anklicken"," ")}}function ze(jt,Mn){if(1&jt){const Pe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td",12)(2,"table",13)(3,"tr")(4,"td")(5,"div",31),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(7,ce,6,1,"ng-container",23),e.\u0275\u0275elementStart(8,"td")(9,"div",32),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Pe);const At=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(At.CancelDatumClicked())}),e.\u0275\u0275element(10,"ion-icon",33),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275element(11,"tr"),e.\u0275\u0275elementEnd()()()}if(2&jt){const Pe=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate1(" ",null!==Pe.DB.CurrentUrlaubzeitspanne&&null!==Pe.DB.CurrentUrlaubzeitspanne.Startstempel?Pe.DB.CurrentUrlaubzeitspanne.Startstring:"Bitte Startdatum im Kalender oben anklicken"," "),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",null!==Pe.DB.CurrentUrlaubzeitspanne&&null!==Pe.DB.CurrentUrlaubzeitspanne.Startstempel)}}function ct(jt,Mn){if(1&jt&&(e.\u0275\u0275elementStart(0,"tr")(1,"td",12)(2,"table",35)(3,"tr")(4,"td",36),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()()()()()),2&jt){const Pe=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1("Momentan ist noch kein Urlaub eingetragen. Du hast ",Pe.DB.CountResturlaub()," Urlaubstage.")}}function xe(jt,Mn){if(1&jt){const Pe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"checkbox-clon",57),e.\u0275\u0275listener("CheckChanged",function(At){e.\u0275\u0275restoreView(Pe);const Ut=e.\u0275\u0275nextContext().$implicit,ar=e.\u0275\u0275nextContext(5);return e.\u0275\u0275resetView(ar.BetriebsurlaubCheckedChanged(At,Ut))}),e.\u0275\u0275elementEnd()}if(2&jt){const Pe=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275property("Checked",Pe.Betriebsurlaub)}}function Ie(jt,Mn){1&jt&&e.\u0275\u0275element(0,"div",58)}function Le(jt,Mn){1&jt&&(e.\u0275\u0275elementStart(0,"span"),e.\u0275\u0275text(1," FESTLEGEN "),e.\u0275\u0275elementEnd())}function Ue(jt,Mn){if(1&jt&&(e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()),2&jt){const Pe=Mn.$implicit,gt=e.\u0275\u0275nextContext(8);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(gt.GetStellvertretername(Pe))}}function Xe(jt,Mn){if(1&jt&&(e.\u0275\u0275elementStart(0,"table",61),e.\u0275\u0275template(1,Ue,3,1,"tr",16),e.\u0275\u0275elementEnd()),2&jt){const Pe=e.\u0275\u0275nextContext(2).$implicit;e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",Pe.UrlaubsvertreterIDListe)}}function _e(jt,Mn){if(1&jt){const Pe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"div",59),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Pe);const At=e.\u0275\u0275nextContext().$implicit,Ut=e.\u0275\u0275nextContext(5);return e.\u0275\u0275resetView(Ut.StellvertreterFestlegenClicked(At))}),e.\u0275\u0275template(2,Le,2,0,"span",23)(3,Xe,2,1,"table",60),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()}if(2&jt){const Pe=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",0===Pe.UrlaubsvertreterIDListe.length),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0!==Pe.UrlaubsvertreterIDListe.length)}}function Fe(jt,Mn){if(1&jt&&(e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()),2&jt){const Pe=Mn.$implicit,gt=e.\u0275\u0275nextContext(8);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(gt.GetStellvertretername(Pe))}}function Ce(jt,Mn){if(1&jt&&(e.\u0275\u0275elementStart(0,"table",61),e.\u0275\u0275template(1,Fe,3,1,"tr",16),e.\u0275\u0275elementEnd()),2&jt){const Pe=e.\u0275\u0275nextContext(2).$implicit;e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",Pe.UrlaubsvertreterIDListe)}}function Ae(jt,Mn){if(1&jt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,Ce,2,1,"table",60),e.\u0275\u0275elementContainerEnd()),2&jt){const Pe=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0!==Pe.UrlaubsvertreterIDListe.length)}}function Be(jt,Mn){if(1&jt){const Pe=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\u0275template(8,xe,1,1,"checkbox-clon",49)(9,Ie,1,0,"div",50),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"td"),e.\u0275\u0275template(11,_e,4,2,"ng-container",23)(12,Ae,2,1,"ng-container",23),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(13,"td",12)(14,"div",51),e.\u0275\u0275listener("click",function(){const Ut=e.\u0275\u0275restoreView(Pe).$implicit,ar=e.\u0275\u0275nextContext(5);return e.\u0275\u0275resetView(ar.StatusClickedHandler(Ut))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(15,"td",52),e.\u0275\u0275elementStart(16,"td")(17,"ion-button",53),e.\u0275\u0275listener("click",function(){const Ut=e.\u0275\u0275restoreView(Pe).$implicit,ar=e.\u0275\u0275nextContext(5);return e.\u0275\u0275resetView(ar.UrlaubSuchen(Ut))}),e.\u0275\u0275element(18,"ion-icon",54),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(19,"td")(20,"ion-button",55),e.\u0275\u0275listener("click",function(){const Ut=e.\u0275\u0275restoreView(Pe).$implicit,ar=e.\u0275\u0275nextContext(5);return e.\u0275\u0275resetView(ar.UrlaubLoeschen(Ut))}),e.\u0275\u0275element(21,"ion-icon",56),e.\u0275\u0275elementEnd()()()}if(2&jt){const Pe=Mn.$implicit,gt=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(gt.GetDatum(Pe.Startstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(gt.GetDatum(Pe.Endestempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Pe.Tageanzahl),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",Pe.Status===gt.DB.Urlaubstatusvarianten.Geplant),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===Pe.Betriebsurlaub&&Pe.Status===gt.DB.Urlaubstatusvarianten.Vertreterfreigabe),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",(Pe.Status===gt.DB.Urlaubstatusvarianten.Geplant||!0===gt.DB.CheckVertretungIsAbgelehnt(Pe))&&!1===Pe.Betriebsurlaub),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Pe.Status!==gt.DB.Urlaubstatusvarianten.Geplant&&!1===gt.DB.CheckVertretungIsAbgelehnt(Pe)),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("cursor",!0===gt.Pool.Mitarbeiterdaten.Planeradministrator||!0===gt.Pool.Mitarbeiterdaten.Urlaubsfreigaben?"pointer":"default")("background",gt.DB.GetUrlaubStatuscolor(Pe)),e.\u0275\u0275advance(),e.\u0275\u0275property("innerHTML",gt.GetPlanungmeldung(Pe),e.\u0275\u0275sanitizeHtml),e.\u0275\u0275advance(5),e.\u0275\u0275property("disabled",!1===gt.CheckUrlaubLoschenEnabled(Pe))}}function re(jt,Mn){if(1&jt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,Be,22,13,"tr",16),e.\u0275\u0275elementContainerEnd()),2&jt){const Pe=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",Pe.DB.CurrentUrlaub.Urlaubzeitspannen)}}function Ee(jt,Mn){1&jt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr"),e.\u0275\u0275element(2,"td",62),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd())}function et(jt,Mn){if(1&jt){const Pe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td",12)(2,"table",37)(3,"tr")(4,"td",38),e.\u0275\u0275text(5,"Von"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td",38),e.\u0275\u0275text(7,"Bis"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"td",39),e.\u0275\u0275text(9,"Tage"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"td",39),e.\u0275\u0275text(11,"BU"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(12,"td",40),e.\u0275\u0275text(13,"Stellvertretung"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(14,"td",38),e.\u0275\u0275text(15,"Status"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(16,"td",41),e.\u0275\u0275text(17,"Statusmeldung"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(18,re,2,1,"ng-container",23)(19,Ee,3,0,"ng-container",23),e.\u0275\u0275elementStart(20,"tr")(21,"td",42),e.\u0275\u0275text(22,"Resturlaub"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(23,"td",36),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,"table",45)(29,"tr")(30,"td",46),e.\u0275\u0275text(31,"BU = Betriebsurlaub"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(32,"td",47)(33,"ion-button",30),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Pe);const At=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(At.DB.UpdateVertreteranfragen())}),e.\u0275\u0275text(34,"Aktualisierung senden"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(35,"td",48),e.\u0275\u0275elementEnd()()()()()()()}if(2&jt){const Pe=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(18),e.\u0275\u0275property("ngIf",Pe.DB.CurrentUrlaub.Urlaubzeitspannen.length>0),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0===Pe.DB.CurrentUrlaub.Urlaubzeitspannen.length),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate(Pe.DB.CountResturlaub()),e.\u0275\u0275advance(9),e.\u0275\u0275property("disabled",!1===Pe.CheckUrlaubUpdatesAvailable())}}function vt(jt,Mn){if(1&jt){const Pe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td",12)(2,"table",13)(3,"tr")(4,"td",12)(5,"ion-button",30),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Pe);const At=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(At.AddHomeofficeStart())}),e.\u0275\u0275text(6,"Homeoffice eintragen"),e.\u0275\u0275elementEnd()()()()()()}if(2&jt){const Pe=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(5),e.\u0275\u0275property("disabled",Pe.DB.CountHomeoffice()<=0)}}function Tt(jt,Mn){1&jt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275text(1," Bitte Tage einzeln klicken um Homeoffice einzutragen. "),e.\u0275\u0275elementContainerEnd())}function dt(jt,Mn){if(1&jt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275text(1),e.\u0275\u0275elementContainerEnd()),2&jt){const Pe=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate2(" ",Pe.DB.CurrentHomeofficecounter," Homeoffice ",1===Pe.DB.CurrentHomeofficecounter?"Tag":"Tage"," ")}}function ot(jt,Mn){if(1&jt){const Pe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"table",13)(3,"tr")(4,"td")(5,"div",31),e.\u0275\u0275template(6,Tt,2,0,"ng-container",23)(7,dt,2,2,"ng-container",23),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(8,"td",12)(9,"div",63),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Pe);const At=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(At.SaveHomeofficeEventHandler())}),e.\u0275\u0275elementStart(10,"table")(11,"tr")(12,"td",64)(13,"b"),e.\u0275\u0275text(14,"Fertig"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(15,"td"),e.\u0275\u0275element(16,"ion-icon",65),e.\u0275\u0275elementEnd()()()()()()()()()}if(2&jt){const Pe=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(6),e.\u0275\u0275property("ngIf",0===Pe.DB.CurrentHomeofficecounter),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0!==Pe.DB.CurrentHomeofficecounter)}}function Vt(jt,Mn){1&jt&&(e.\u0275\u0275elementStart(0,"tr")(1,"td",12)(2,"table",35)(3,"tr")(4,"td",36),e.\u0275\u0275text(5,"Momentan ist noch kein Homeoffice eingetragen."),e.\u0275\u0275elementEnd()()()()())}function nn(jt,Mn){if(1&jt){const Pe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td")(1,"checkbox-clon",57),e.\u0275\u0275listener("CheckChanged",function(At){e.\u0275\u0275restoreView(Pe);const Ut=e.\u0275\u0275nextContext().$implicit,ar=e.\u0275\u0275nextContext(7);return e.\u0275\u0275resetView(ar.ZeitspanneCheckChanged(At,Ut))}),e.\u0275\u0275elementEnd()()}if(2&jt){const Pe=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(),e.\u0275\u0275property("Checked",Pe.Checked)}}function vn(jt,Mn){1&jt&&(e.\u0275\u0275elementStart(0,"td"),e.\u0275\u0275text(1,"|"),e.\u0275\u0275elementEnd())}function zt(jt,Mn){if(1&jt&&(e.\u0275\u0275elementStart(0,"div",77)(1,"table",78)(2,"tr")(3,"td"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(5,nn,2,1,"td",23)(6,vn,2,0,"td",23),e.\u0275\u0275elementEnd()()()),2&jt){const Pe=Mn.$implicit,gt=Mn.index,At=e.\u0275\u0275nextContext(2).$implicit,Ut=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate(Pe.Startstring),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===Ut.Pool.Mitarbeiterdaten.Homeofficefreigaben),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",gt0)}}function $n(jt,Mn){if(1&jt){const Pe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ion-button",55),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Pe);const At=e.\u0275\u0275nextContext(5);return e.\u0275\u0275resetView(At.DB.HomeofficeLoeschen(At.DB.Homeofficestatusvarianten.Genehmigt))}),e.\u0275\u0275element(1,"ion-icon",56),e.\u0275\u0275elementEnd()}if(2&jt){const Pe=e.\u0275\u0275nextContext(5);e.\u0275\u0275property("disabled",!1===Pe.CheckHomeofficeLoschenEnabled(Pe.DB.Homeofficestatusvarianten.Genehmigt))}}function Wt(jt,Mn){if(1&jt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td")(3,"table",45),e.\u0275\u0275template(4,En,2,1,"ng-container",16),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(5,"td",12)(6,"div",70),e.\u0275\u0275text(7,"HO"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(8,"td"),e.\u0275\u0275template(9,$n,2,1,"ion-button",71),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&jt){const Pe=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",Pe.DB.GetHomeofficezeitspannenByStataus(Pe.DB.Homeofficestatusvarianten.Genehmigt)),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Pe.DB.GetHomeofficeStatuscolor(Pe.DB.Homeofficestatusvarianten.Genehmigt)),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",!0===Pe.Pool.Mitarbeiterdaten.Homeofficefreigaben)}}function zn(jt,Mn){1&jt&&(e.\u0275\u0275elementStart(0,"td"),e.\u0275\u0275text(1,"|"),e.\u0275\u0275elementEnd())}function kn(jt,Mn){if(1&jt){const Pe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",77)(1,"table",78)(2,"tr")(3,"td"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"td")(6,"checkbox-clon",57),e.\u0275\u0275listener("CheckChanged",function(At){const ar=e.\u0275\u0275restoreView(Pe).$implicit,ur=e.\u0275\u0275nextContext(7);return e.\u0275\u0275resetView(ur.ZeitspanneCheckChanged(At,ar))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(7,zn,2,0,"td",23),e.\u0275\u0275elementEnd()()()}if(2&jt){const Pe=Mn.$implicit,gt=Mn.index,At=e.\u0275\u0275nextContext(2).$implicit;e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate(Pe.Startstring),e.\u0275\u0275advance(2),e.\u0275\u0275property("Checked",Pe.Checked),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",gt0)}}function Te(jt,Mn){if(1&jt){const Pe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td")(3,"table",45),e.\u0275\u0275template(4,ut,2,1,"ng-container",16),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(5,"td",12)(6,"div",70),e.\u0275\u0275text(7,"HO"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(8,"td")(9,"ion-button",55),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Pe);const At=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView(At.DB.HomeofficeLoeschen(At.DB.Homeofficestatusvarianten.Abgelehnt))}),e.\u0275\u0275element(10,"ion-icon",56),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementContainerEnd()}if(2&jt){const Pe=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",Pe.DB.GetHomeofficezeitspannenByStataus(Pe.DB.Homeofficestatusvarianten.Abgelehnt)),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Pe.DB.GetHomeofficeStatuscolor(Pe.DB.Homeofficestatusvarianten.Abgelehnt)),e.\u0275\u0275advance(3),e.\u0275\u0275property("disabled",!1===Pe.CheckHomeofficeLoschenEnabled(Pe.DB.Homeofficestatusvarianten.Abgelehnt))}}function me(jt,Mn){if(1&jt){const Pe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td")(1,"checkbox-clon",57),e.\u0275\u0275listener("CheckChanged",function(At){e.\u0275\u0275restoreView(Pe);const Ut=e.\u0275\u0275nextContext().$implicit,ar=e.\u0275\u0275nextContext(7);return e.\u0275\u0275resetView(ar.ZeitspanneCheckChanged(At,Ut))}),e.\u0275\u0275elementEnd()()}if(2&jt){const Pe=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(),e.\u0275\u0275property("Checked",Pe.Checked)}}function fe(jt,Mn){1&jt&&(e.\u0275\u0275elementStart(0,"td"),e.\u0275\u0275text(1,"|"),e.\u0275\u0275elementEnd())}function $e(jt,Mn){if(1&jt&&(e.\u0275\u0275elementStart(0,"div",77)(1,"table",78)(2,"tr")(3,"td"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(5,me,2,1,"td",23)(6,fe,2,0,"td",23),e.\u0275\u0275elementEnd()()()),2&jt){const Pe=Mn.$implicit,gt=Mn.index,At=e.\u0275\u0275nextContext(2).$implicit,Ut=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate(Pe.Startstring),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===Ut.Pool.Mitarbeiterdaten.Homeofficefreigaben),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",gt0)}}function $t(jt,Mn){if(1&jt){const Pe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ion-button",55),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Pe);const At=e.\u0275\u0275nextContext(5);return e.\u0275\u0275resetView(At.DB.HomeofficeLoeschen(At.DB.Homeofficestatusvarianten.Freigabeanfrage))}),e.\u0275\u0275element(1,"ion-icon",56),e.\u0275\u0275elementEnd()}if(2&jt){const Pe=e.\u0275\u0275nextContext(5);e.\u0275\u0275property("disabled",!1===Pe.CheckHomeofficeLoschenEnabled(Pe.DB.Homeofficestatusvarianten.Freigabeanfrage))}}function un(jt,Mn){if(1&jt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td")(3,"table",45),e.\u0275\u0275template(4,ft,2,1,"ng-container",16),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(5,"td",12)(6,"div",70),e.\u0275\u0275text(7,"HO"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(8,"td"),e.\u0275\u0275template(9,$t,2,1,"ion-button",71),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&jt){const Pe=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",Pe.DB.GetHomeofficezeitspannenByStataus(Pe.DB.Homeofficestatusvarianten.Freigabeanfrage)),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Pe.DB.GetHomeofficeStatuscolor(Pe.DB.Homeofficestatusvarianten.Freigabeanfrage)),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",!0===Pe.Pool.Mitarbeiterdaten.Homeofficefreigaben)}}function Vn(jt,Mn){1&jt&&(e.\u0275\u0275elementStart(0,"td"),e.\u0275\u0275text(1,"|"),e.\u0275\u0275elementEnd())}function tr(jt,Mn){if(1&jt){const Pe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",77)(1,"table",78)(2,"tr")(3,"td"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"td")(6,"checkbox-clon",57),e.\u0275\u0275listener("CheckChanged",function(At){const ar=e.\u0275\u0275restoreView(Pe).$implicit,ur=e.\u0275\u0275nextContext(7);return e.\u0275\u0275resetView(ur.ZeitspanneCheckChanged(At,ar))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(7,Vn,2,0,"td",23),e.\u0275\u0275elementEnd()()()}if(2&jt){const Pe=Mn.$implicit,gt=Mn.index,At=e.\u0275\u0275nextContext(2).$implicit;e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate(Pe.Startstring),e.\u0275\u0275advance(2),e.\u0275\u0275property("Checked",Pe.Checked),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",gt0)}}function fi(jt,Mn){if(1&jt){const Pe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td")(3,"table",45),e.\u0275\u0275template(4,or,2,1,"ng-container",16),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(5,"td",12)(6,"div",70),e.\u0275\u0275text(7,"HO"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(8,"td")(9,"ion-button",55),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Pe);const At=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView(At.DB.HomeofficeLoeschen(At.DB.Homeofficestatusvarianten.Geplant))}),e.\u0275\u0275element(10,"ion-icon",56),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementContainerEnd()}if(2&jt){const Pe=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",Pe.DB.GetHomeofficezeitspannenByStataus(Pe.DB.Homeofficestatusvarianten.Geplant)),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Pe.DB.GetHomeofficeStatuscolor(Pe.DB.Homeofficestatusvarianten.Geplant)),e.\u0275\u0275advance(3),e.\u0275\u0275property("disabled",!1===Pe.CheckHomeofficeLoschenEnabled(Pe.DB.Homeofficestatusvarianten.Geplant))}}function Cr(jt,Mn){if(1&jt){const Pe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td",12)(2,"table",66)(3,"tr")(4,"td",67),e.\u0275\u0275text(5,"Tage"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td",39),e.\u0275\u0275text(7,"Status"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(8,"td",68),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(9,Wt,10,4,"ng-container",23)(10,Te,11,4,"ng-container",23)(11,un,10,4,"ng-container",23)(12,fi,11,4,"ng-container",23),e.\u0275\u0275elementStart(13,"tr")(14,"td",69)(15,"ion-button",30),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Pe);const At=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(At.DB.UpdateHomeofficefreigabeanfragen())}),e.\u0275\u0275text(16,"Aktualisierung senden"),e.\u0275\u0275elementEnd()()()()()()}if(2&jt){const Pe=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(9),e.\u0275\u0275property("ngIf",Pe.DB.CountHomeGenehmigt()>0),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Pe.DB.CountHomeAbgelehnt()>0),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Pe.DB.CountHomeFreigbeanfragen()>0),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Pe.DB.CountHomeGeplant()>0),e.\u0275\u0275advance(3),e.\u0275\u0275property("disabled",!1===Pe.CheckHomeofficeUpdatesAvailable())}}function jr(jt,Mn){if(1&jt&&(e.\u0275\u0275elementStart(0,"tr")(1,"td",27)(2,"table",10)(3,"tr")(4,"td",29)(5,"table"),e.\u0275\u0275template(6,X,10,2,"tr",23)(7,be,10,0,"tr",23)(8,ze,12,2,"tr",23)(9,ct,6,1,"tr",23)(10,et,36,4,"tr",23),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(11,"td",29)(12,"table"),e.\u0275\u0275template(13,vt,7,1,"tr",23)(14,ot,17,2,"tr",23)(15,Vt,6,0,"tr",23)(16,Cr,17,5,"tr",23),e.\u0275\u0275elementEnd()()()()()()),2&jt){const Pe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(6),e.\u0275\u0275property("ngIf",!1===Pe.AddUrlaubRunning&&!1===Pe.AddHalberUrlaubstagRunning&&!1===Pe.AddHomeofficeRunning),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===Pe.AddHalberUrlaubstagRunning),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===Pe.AddUrlaubRunning),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!1===Pe.AddHomeofficeRunning&&!1===Pe.AddUrlaubRunning&&0===Pe.DB.CurrentUrlaub.Urlaubzeitspannen.length),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!1===Pe.AddUrlaubRunning&&!1===Pe.AddHomeofficeRunning&&Pe.DB.CurrentUrlaub.Urlaubzeitspannen.length>0),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",!1===Pe.AddUrlaubRunning&&!1===Pe.AddHomeofficeRunning),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===Pe.AddHomeofficeRunning),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!1===Pe.AddHomeofficeRunning&&!1===Pe.AddUrlaubRunning&&0===Pe.DB.CurrentUrlaub.Homeofficezeitspannen.length),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!1===Pe.AddUrlaubRunning&&!1===Pe.AddHomeofficeRunning&&Pe.DB.CurrentUrlaub.Homeofficezeitspannen.length>0)}}function Hn(jt,Mn){if(1&jt){const Pe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td")(3,"checkbox-clon",57),e.\u0275\u0275listener("CheckChanged",function(At){e.\u0275\u0275restoreView(Pe);const Ut=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(Ut.AnsichtFeiertageCheckChanged(At,"DE"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(4,"td")(5,"div",70),e.\u0275\u0275element(6,"ion-icon",83),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",57),e.\u0275\u0275listener("CheckChanged",function(At){e.\u0275\u0275restoreView(Pe);const Ut=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(Ut.AnsichtFerientageCheckChanged(At,"DE"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(12,"td")(13,"div",70),e.\u0275\u0275element(14,"ion-icon",84),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(15,"td"),e.\u0275\u0275text(16,"Schulferien Deutschland"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()}if(2&jt){const Pe=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(3),e.\u0275\u0275property("Checked",Pe.DB.ShowFeiertage_DE),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Pe.DB.Urlaubsfaben.Feiertage_DE),e.\u0275\u0275advance(6),e.\u0275\u0275property("Checked",Pe.DB.ShowFerientage_DE),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Pe.DB.Urlaubsfaben.Ferien_DE)}}function Dt(jt,Mn){if(1&jt){const Pe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",85),e.\u0275\u0275listener("CheckChanged",function(At){const Ut=e.\u0275\u0275restoreView(Pe),ar=Ut.$implicit,ur=Ut.index,Tr=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(Tr.DisplayExternCheckChanged(At,ar,ur))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(3,"td")(4,"div",86),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7),e.\u0275\u0275elementEnd()()}if(2&jt){const Pe=Mn.$implicit,gt=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(2),e.\u0275\u0275property("Checked",gt.DB.CheckDisplayExternenUrlaub(Pe.MitarbeiterIDExtern))("Enabled",Pe.Urlaubzeitspannen.length>0),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(Pe.NameKuerzel),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate2("",Pe.NameExtern," ",Pe.Text,"")}}function qt(jt,Mn){if(1&jt){const Pe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"table",19),e.\u0275\u0275template(1,Hn,17,6,"ng-container",23),e.\u0275\u0275elementContainerStart(2),e.\u0275\u0275elementStart(3,"tr")(4,"td")(5,"checkbox-clon",57),e.\u0275\u0275listener("CheckChanged",function(At){e.\u0275\u0275restoreView(Pe);const Ut=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Ut.AnsichtFeiertageCheckChanged(At,"BG"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td")(7,"div",70),e.\u0275\u0275element(8,"ion-icon",79),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",57),e.\u0275\u0275listener("CheckChanged",function(At){e.\u0275\u0275restoreView(Pe);const Ut=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Ut.AnsichtFerientageCheckChanged(At,"BG"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(14,"td")(15,"div",70),e.\u0275\u0275element(16,"ion-icon",80),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",70),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",70),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",70),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(35,"td"),e.\u0275\u0275text(36,"Genehmigungsanfrage Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(37,"tr"),e.\u0275\u0275element(38,"td"),e.\u0275\u0275elementStart(39,"td"),e.\u0275\u0275element(40,"div",70),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",70),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",70),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(53,"td"),e.\u0275\u0275text(54,"Abgelehnter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(55,"tr"),e.\u0275\u0275element(56,"td"),e.\u0275\u0275elementStart(57,"td")(58,"div",70),e.\u0275\u0275text(59,"HO"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(60,"td"),e.\u0275\u0275text(61,"geplantes Homeoffice"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(62,"tr"),e.\u0275\u0275elementStart(63,"tr"),e.\u0275\u0275element(64,"td"),e.\u0275\u0275elementStart(65,"td")(66,"div",70),e.\u0275\u0275text(67,"HO"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(68,"td"),e.\u0275\u0275text(69,"Homeoffice angefragt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(70,"tr"),e.\u0275\u0275element(71,"td"),e.\u0275\u0275elementStart(72,"td")(73,"div",70),e.\u0275\u0275text(74,"HO"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(75,"td"),e.\u0275\u0275text(76,"Homeoffice genehmigt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(77,"tr"),e.\u0275\u0275element(78,"td"),e.\u0275\u0275elementStart(79,"td")(80,"div",70),e.\u0275\u0275text(81,"HO"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(82,"td"),e.\u0275\u0275text(83,"Homeoffice abgelehnt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(84,Dt,8,5,"tr",16),e.\u0275\u0275elementStart(85,"tr"),e.\u0275\u0275element(86,"td",81),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(87,"tr")(88,"td")(89,"checkbox-clon",57),e.\u0275\u0275listener("CheckChanged",function(At){e.\u0275\u0275restoreView(Pe);const Ut=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Ut.ShowHomeofficeChanged(At))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(90,"td",82),e.\u0275\u0275text(91,"Homeoffice Eintr\xe4ge anzeigen"),e.\u0275\u0275elementEnd()()()}if(2&jt){const Pe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf","DE"===Pe.DB.Laendercode),e.\u0275\u0275advance(4),e.\u0275\u0275property("Checked",Pe.DB.ShowFeiertage_BG),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Pe.DB.Urlaubsfaben.Feiertage_BG),e.\u0275\u0275advance(6),e.\u0275\u0275property("Checked",Pe.DB.ShowFerientage_BG),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Pe.DB.Urlaubsfaben.Ferien_BG),e.\u0275\u0275advance(7),e.\u0275\u0275styleProp("background",Pe.DB.Urlaubsfaben.Geplant),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",Pe.DB.Urlaubsfaben.Vertreteranfrage),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",Pe.DB.Urlaubsfaben.Vertreterfreigabe),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",Pe.DB.Urlaubsfaben.Vertreterablehnung),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",Pe.DB.Urlaubsfaben.Genehmigt),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",Pe.DB.Urlaubsfaben.Abgelehnt),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",Pe.DB.Homeofficefarben.Geplant),e.\u0275\u0275advance(8),e.\u0275\u0275styleProp("background",Pe.DB.Homeofficefarben.Freigabeanfrage),e.\u0275\u0275advance(7),e.\u0275\u0275styleProp("background",Pe.DB.Homeofficefarben.Genehmigt),e.\u0275\u0275advance(7),e.\u0275\u0275styleProp("background",Pe.DB.Homeofficefarben.Abgelehnt),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",Pe.DB.UrlaublisteExtern),e.\u0275\u0275advance(5),e.\u0275\u0275property("Checked",Pe.Pool.Mitarbeitersettings.ShowHomeoffice)}}function yt(jt,Mn){if(1&jt){const Pe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",8)(1,"div",9)(2,"table",10)(3,"tr"),e.\u0275\u0275element(4,"td",11),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"tr")(6,"td",12)(7,"table",13)(8,"tr")(9,"td")(10,"div",14),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Pe);const At=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(At.MonatBackButtonClicked())}),e.\u0275\u0275element(11,"ion-icon",15),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(12,ie,3,3,"td",16),e.\u0275\u0275elementStart(13,"td")(14,"div",14),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Pe);const At=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(At.MonatForwardButtonClicked())}),e.\u0275\u0275element(15,"ion-icon",17),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(16,"tr")(17,"td",18)(18,"table",19)(19,"tr")(20,"td",20)(21,"urlaubsplanung-kalender",21),e.\u0275\u0275listener("ExternUrlaubstagClickedEvent",function(At){e.\u0275\u0275restoreView(Pe);const Ut=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ut.ExternUrlaubstagClickedEventHandler(At))})("AddUrlaubFinishedEvent",function(){e.\u0275\u0275restoreView(Pe);const At=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(At.AddUrlaubFinishedHandler())})("AddHomeofficeFinishedEvent",function(){e.\u0275\u0275restoreView(Pe);const At=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(At.AddHomeofficeFinishedHandler())})("FeiertagCrossedEvent",function(At){e.\u0275\u0275restoreView(Pe);const Ut=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ut.FeiertagCrossedEventHandler(At))})("FerientagCrossedEvent",function(At){e.\u0275\u0275restoreView(Pe);const Ut=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ut.FerientagCrossedEventHandler(At))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(22,"td",20)(23,"urlaubsplanung-kalender",22),e.\u0275\u0275listener("ExternUrlaubstagClickedEvent",function(At){e.\u0275\u0275restoreView(Pe);const Ut=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ut.ExternUrlaubstagClickedEventHandler(At))})("AddUrlaubFinishedEvent",function(){e.\u0275\u0275restoreView(Pe);const At=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(At.AddUrlaubFinishedHandler())})("AddHomeofficeFinishedEvent",function(){e.\u0275\u0275restoreView(Pe);const At=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(At.AddHomeofficeFinishedHandler())})("FeiertagCrossedEvent",function(At){e.\u0275\u0275restoreView(Pe);const Ut=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ut.FeiertagCrossedEventHandler(At))})("FerientagCrossedEvent",function(At){e.\u0275\u0275restoreView(Pe);const Ut=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ut.FerientagCrossedEventHandler(At))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(24,"td",20)(25,"urlaubsplanung-kalender",21),e.\u0275\u0275listener("ExternUrlaubstagClickedEvent",function(At){e.\u0275\u0275restoreView(Pe);const Ut=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ut.ExternUrlaubstagClickedEventHandler(At))})("AddUrlaubFinishedEvent",function(){e.\u0275\u0275restoreView(Pe);const At=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(At.AddUrlaubFinishedHandler())})("AddHomeofficeFinishedEvent",function(){e.\u0275\u0275restoreView(Pe);const At=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(At.AddHomeofficeFinishedHandler())})("FeiertagCrossedEvent",function(At){e.\u0275\u0275restoreView(Pe);const Ut=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ut.FeiertagCrossedEventHandler(At))})("FerientagCrossedEvent",function(At){e.\u0275\u0275restoreView(Pe);const Ut=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ut.FerientagCrossedEventHandler(At))}),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275template(26,jr,17,9,"tr",23),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(27,"div",24)(28,"table")(29,"tr")(30,"td")(31,"div",25),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(Pe);const At=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(At.LegendeVisible=!At.LegendeVisible)}),e.\u0275\u0275element(32,"ion-icon",26),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(33,"td",27),e.\u0275\u0275template(34,qt,92,29,"table",28),e.\u0275\u0275elementEnd()()()()()}if(2&jt){const Pe=e.\u0275\u0275nextContext();e.\u0275\u0275advance(12),e.\u0275\u0275property("ngForOf",Pe.DB.Monateliste),e.\u0275\u0275advance(9),e.\u0275\u0275property("Jahr",Pe.DB.CurrentJahr)("Monatindex",Pe.DB.FirstMonatIndex)("AddUrlaubRunning",Pe.AddUrlaubRunning)("AddHomeofficerunning",Pe.AddHomeofficeRunning)("AddHalberUrlaubstagRunning",Pe.AddHalberUrlaubstagRunning),e.\u0275\u0275advance(2),e.\u0275\u0275property("Jahr",Pe.DB.CurrentJahr)("ShowYear",!0)("Monatindex",Pe.DB.CurrentMonatindex)("AddUrlaubRunning",Pe.AddUrlaubRunning)("AddHomeofficerunning",Pe.AddHomeofficeRunning)("AddHalberUrlaubstagRunning",Pe.AddHalberUrlaubstagRunning),e.\u0275\u0275advance(2),e.\u0275\u0275property("Jahr",Pe.DB.CurrentJahr)("Monatindex",Pe.DB.LastMonatIndex)("AddUrlaubRunning",Pe.AddUrlaubRunning)("AddHomeofficerunning",Pe.AddHomeofficeRunning)("AddHalberUrlaubstagRunning",Pe.AddHalberUrlaubstagRunning),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",null!==Pe.DB.CurrentUrlaub),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)}}function Ze(jt,Mn){if(1&jt&&(e.\u0275\u0275elementStart(0,"td"),e.\u0275\u0275element(1,"img",91),e.\u0275\u0275elementEnd()),2&jt){const Pe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("src",Pe.Flagsource,e.\u0275\u0275sanitizeUrl)}}function Rt(jt,Mn){if(1&jt&&(e.\u0275\u0275elementStart(0,"td",92),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&jt){const Pe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(Pe.Message)}}function je(jt,Mn){1&jt&&(e.\u0275\u0275elementStart(0,"div",93),e.\u0275\u0275text(1,"Keine externen Email senden"),e.\u0275\u0275elementEnd())}function pt(jt,Mn){if(1&jt&&(e.\u0275\u0275elementStart(0,"table",10)(1,"tr")(2,"td",87)(3,"table",19)(4,"tr"),e.\u0275\u0275template(5,Ze,2,1,"td",23)(6,Rt,2,1,"td",88),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(7,"td",89),e.\u0275\u0275template(8,je,2,0,"div",90),e.\u0275\u0275elementEnd()()()),2&jt){const Pe=e.\u0275\u0275nextContext();e.\u0275\u0275advance(5),e.\u0275\u0275property("ngIf",""!==Pe.Flagsource),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",""!==Pe.Message),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",Pe.Pool.Appeinstellungen.DebugNoExternalEmail)}}function mt(jt,Mn){if(1&jt){const Pe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"auswahl-dialog",94),e.\u0275\u0275listener("OkClickedEvent",function(At){e.\u0275\u0275restoreView(Pe);const Ut=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ut.AuswahlOkButtonClicked(At))})("CancelClickedEvent",function(){e.\u0275\u0275restoreView(Pe);const At=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(At.ShowAuswahl=!1)}),e.\u0275\u0275elementEnd()}if(2&jt){const Pe=e.\u0275\u0275nextContext();e.\u0275\u0275property("Auswahlliste",Pe.Auswahlliste)("Auswahlindex",Pe.Auswahlindex)("ZIndex",5e3)("Dialogbreite",400)("PositionY",100)("Titel",Pe.Auswahltitel)("Iconname","")}}function on(jt,Mn){if(1&jt){const Pe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"fi-mitarbeiter-auswahl",95),e.\u0275\u0275listener("CancelClickedEvent",function(){e.\u0275\u0275restoreView(Pe);const At=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(At.ShowMitarbeiterauswahl=!1)})("OkClickedEvent",function(At){e.\u0275\u0275restoreView(Pe);const Ut=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Ut.MitarbeiterauswahlOkButtonClicked(At))})("StandortfilterClickedEvent",function(){e.\u0275\u0275restoreView(Pe);const At=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(At.MitarebiterStandortfilterClickedHandler())}),e.\u0275\u0275elementEnd()}if(2&jt){const Pe=e.\u0275\u0275nextContext();e.\u0275\u0275property("Titel",Pe.MitarbeiterauswahlTitel)("Dialogbreite",600)("ZIndex",4e3)("Multiselect",Pe.MitarbeiterMultiselect)("OnlyProjektmitarbeiter",!1)("AuswahlIDliste",Pe.AuswahlIDliste)}}m.CommonUrlaubPlanungPage=(()=>{class jt{Loadinganimation;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;AddHalberUrlaubstagRunning;AddHomeofficeRunning;Auswahldialogorigin;DataSubscription;ShowMitarbeiterauswahl;AuswahlIDliste;MitarbeiterauswahlTitel;LegendeVisible;Legendehoehe;Legendebreite;Flagsource;MitarbeiterMultiselect;constructor(Pe,gt,At,Ut,ar,ur,Tr,lr,nr,Nr,Ci){this.Loadinganimation=Pe,this.Basics=gt,this.DBMitarbeitersettings=At,this.Pool=Ut,this.DB=ar,this.DBMitarbeiter=ur,this.Const=Tr,this.DBStandort=lr,this.Auswahlservice=nr,this.Tools=Nr,this.Debug=Ci;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.AddHomeofficeRunning=!1,this.ShowMitarbeiterauswahl=!1,this.AuswahlIDliste=[],this.MitarbeiterauswahlTitel="Mitarbeiter wechseln",this.LegendeVisible=!1,this.Legendehoehe=0,this.Legendebreite=0,this.Flagsource="",this.AddHalberUrlaubstagRunning=!1,this.MitarbeiterMultiselect=!1}catch(tn){this.Debug.ShowErrorMessage(tn.message,"Urlaubsplanung Page","constructor",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.DataSubscription.unsubscribe(),this.DataSubscription=null}catch(Pe){this.Debug.ShowErrorMessage(Pe,"Urlaubsplanung Page","OnDestroy",this.Debug.Typen.Page)}}ionViewDidEnter(){try{this.Basics.MeassureInnercontent(this.PageHeader,this.PageFooter),this.Legendebreite=400,this.Legendehoehe=this.Basics.InnerContenthoehe}catch(Pe){this.Debug.ShowErrorMessage(Pe.message,"Urlaub Einstellungen Page","ionViewDidEnter",this.Debug.Typen.Page)}}ngOnInit(){try{this.DataSubscription=this.Pool.LoadingAllDataFinished.subscribe(()=>{this.PrepareData()}),this.PrepareData()}catch(Pe){this.Debug.ShowErrorMessage(Pe,"Urlaubsplanung Page","OnInit",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(Pe){var gt=this;return n(function*(){try{let At,Ut,ar;switch(gt.Auswahldialogorigin){case gt.Auswahlservice.Auswahloriginvarianten.Urlaubsliste_Bundesland:gt.DB.Bundeslandkuerzel=Pe;let ur=gt.DB.Bundeslandkuerzel.substring(0,2);gt.DB.ReadFeiertage(ur).then(()=>{gt.ShowAuswahl=!1,gt.PrepareData()});break;case gt.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Status_Aendern:if(null!==Pe&&Pe!==gt.DB.CurrentUrlaubzeitspanne.Status)switch(At=u.find(gt.DB.CurrentUrlaub.Urlaubzeitspannen,{ZeitspannenID:gt.DB.CurrentUrlaubzeitspanne.ZeitspannenID}),ar=u.find(At.Vertretungskonversationliste,{VertreterID:gt.DB.CurrentMitarbeiter._id}),Pe){case gt.DB.Urlaubstatusvarianten.Geplant:At.Status=Pe,At.FreigabeanfrageSended=!1,At.FreigabeantwortSended=!1,At.FreigabeantwortOfficeSended=!1,At.Freigabeantwortzeitstempel=null,At.FreigabeantwortOfficezeitstempel=null,!1===u.isUndefined(ar)&&(ar.VertreteranfrageSended=!1,ar.VertreterantwortSended=!1,ar.Vertretunganfragezeitstempel=null,ar.Vertretungantwortzeitstempel=null,ar.Vertretungantwortzeitstempel=null),Ut=u.findIndex(gt.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:gt.DB.CurrentJahr}),gt.DB.CurrentMitarbeiter.Urlaubsliste[Ut]=gt.DB.CurrentUrlaub,yield gt.DBMitarbeiter.UpdateMitarbeiterUrlaub(gt.DB.CurrentMitarbeiter).then(()=>{gt.ShowAuswahl=!1});break;case gt.DB.Urlaubstatusvarianten.Vertreteranfrage:At.UrlaubsvertreterIDListe.length>0?(At.Status=Pe,gt.DB.UpdateVertreteranfragen()):(At.Status=gt.DB.Urlaubstatusvarianten.Geplant,Ut=u.findIndex(gt.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:gt.DB.CurrentJahr}),gt.DB.CurrentMitarbeiter.Urlaubsliste[Ut]=gt.DB.CurrentUrlaub,yield gt.DBMitarbeiter.UpdateMitarbeiterUrlaub(gt.DB.CurrentMitarbeiter).then(()=>{gt.ShowAuswahl=!1}));break;case gt.DB.Urlaubstatusvarianten.Vertreterfreigabe:break;case gt.DB.Urlaubstatusvarianten.Vertreterablehnung:case gt.DB.Urlaubstatusvarianten.Abgelehnt:At.Status=Pe,Ut=u.findIndex(gt.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:gt.DB.CurrentJahr}),gt.DB.CurrentMitarbeiter.Urlaubsliste[Ut]=gt.DB.CurrentUrlaub,yield gt.DBMitarbeiter.UpdateMitarbeiterUrlaub(gt.DB.CurrentMitarbeiter).then(()=>{gt.ShowAuswahl=!1});break;case gt.DB.Urlaubstatusvarianten.Genehmigt:At.Status=Pe,gt.DB.CurrentUrlaub=yield gt.DB.SendOfficeFreigabezusage(gt.DB.CurrentMitarbeiter,gt.Pool.Mitarbeiterdaten,gt.DB.CurrentUrlaub),Ut=u.findIndex(gt.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:gt.DB.CurrentJahr}),gt.DB.CurrentMitarbeiter.Urlaubsliste[Ut]=gt.DB.CurrentUrlaub,yield gt.DBMitarbeiter.UpdateMitarbeiterUrlaub(gt.DB.CurrentMitarbeiter).then(()=>{gt.ShowAuswahl=!1})}break;case gt.Auswahlservice.Auswahloriginvarianten.UrlaubPlanung_Standort_Filter:gt.DBStandort.CurrentStandortfilter=(0,i.cloneDeep)(Pe),gt.Pool.Mitarbeitersettings.StandortFilter=null!==Pe?Pe._id:gt.Const.NONE,gt.DBMitarbeitersettings.UpdateMitarbeitersettings(gt.Pool.Mitarbeitersettings,null).then(()=>{gt.ShowAuswahl=!1,gt.PrepareData(),gt.DBStandort.StandortfilterChanged.emit()});break;case gt.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Jahr_Aendern:gt.DB.CurrentJahr=Pe,gt.ShowAuswahl=!1,yield gt.Loadinganimation.ShowLoadingAnimation("Hinweis","Daten werden geladen"),yield gt.DB.ReadFeiertage("DE"),yield gt.DB.ReadFeiertage("BG"),yield gt.DB.ReadFerien("DE"),yield gt.DB.ReadFerien("BG"),yield gt.Loadinganimation.HideLoadingAnimation(!0),gt.PrepareData()}}catch(At){gt.Debug.ShowErrorMessage(At.message,"Urlaubsplanung Page","AuswahlOkButtonClicked",gt.Debug.Typen.Page)}})()}PrepareData(){var Pe=this;return n(function*(){try{let gt=0;Pe.DB.Init(),Pe.DB.CheckSetup(),Pe.DB.SetPlanungsmonate(),Pe.DB.CountAnfragenanzahlen(),Pe.DB.UpdateKalenderRequestEvent.emit(),Pe.BundeslandAuswahlliste=[];for(let Ut of Pe.DB.Regionenliste)Pe.BundeslandAuswahlliste.push({Index:gt,FirstColumn:Ut.Name,SecoundColumn:Ut.isoCode,Data:Ut.isoCode}),gt++;Pe.DB.Bundesland=u.find(Pe.BundeslandAuswahlliste,{Data:Pe.DB.Bundeslandkuerzel}).FirstColumn}catch(gt){Pe.Debug.ShowErrorMessage(gt,"Urlaubsplanung Page","PrepareData",Pe.Debug.Typen.Page)}})()}FeiertagCrossedEventHandler(Pe){try{this.Message=Pe.Name,""!==Pe.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===Pe.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(gt){this.Debug.ShowErrorMessage(gt,"Urlaubsplanung Page","FeiertagCrossedEventHandler",this.Debug.Typen.Page)}}FerientagCrossedEventHandler(Pe){try{this.Message=Pe.Name,""!==Pe.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===Pe.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(gt){this.Debug.ShowErrorMessage(gt,"Urlaubsplanung Page","FerientagCrossedEventHandler",this.Debug.Typen.Page)}}GetDatum(Pe){return(0,c.default)(Pe).format("DD.MM.YYYY")}AnsichtFerientageCheckChanged(Pe,gt){try{switch(gt){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFerien_DE=Pe.status,this.DB.ShowFerientage_DE=Pe.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFerien_BG=Pe.status,this.DB.ShowFerientage_BG=Pe.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(At){this.Debug.ShowErrorMessage(At,"Urlaubsplanung Page","AnsichtFerientageCheckChanged",this.Debug.Typen.Page)}}AnsichtFeiertageCheckChanged(Pe,gt){try{switch(gt){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_DE=Pe.status,this.DB.ShowFeiertage_DE=Pe.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_BG=Pe.status,this.DB.ShowFeiertage_BG=Pe.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(At){this.Debug.ShowErrorMessage(At,"Urlaubsplanung Page","AnsichtFeiertageCheckChanged",this.Debug.Typen.Page)}}GetMonatButtonColor(Pe){try{if(this.DB.CurrentMonatindex===Pe)return"orange"}catch(gt){this.Debug.ShowErrorMessage(gt,"Urlaubsplanung Page","GetMonatButtonColor",this.Debug.Typen.Page)}}MonatButtonClicked(Pe){try{this.DB.CurrentMonatindex=Pe,this.DB.SetPlanungsmonate()}catch(gt){this.Debug.ShowErrorMessage(gt,"Urlaubsplanung Page","MonatButtonClicked",this.Debug.Typen.Page)}}MonatBackButtonClicked(){try{this.DB.CurrentMonatindex>0&&(this.DB.CurrentMonatindex--,this.DB.SetPlanungsmonate())}catch(Pe){this.Debug.ShowErrorMessage(Pe,"Urlaubsplanung Page","MonatBackButtonClicked",this.Debug.Typen.Page)}}MonatForwardButtonClicked(){try{this.DB.CurrentMonatindex<11&&(this.DB.CurrentMonatindex++,this.DB.SetPlanungsmonate())}catch(Pe){this.Debug.ShowErrorMessage(Pe,"Urlaubsplanung Page","MonatForwardButtonClicked",this.Debug.Typen.Page)}}AddUrlaub(){try{this.DB.CurrentUrlaubzeitspanne=null,this.AddUrlaubRunning=!0}catch(Pe){this.Debug.ShowErrorMessage(Pe,"Urlaubsplanung Page","AddUrlaub",this.Debug.Typen.Page)}}AddHalbenUrlaubstag(){try{this.DB.CurrentUrlaubzeitspanne=null,this.AddHalberUrlaubstagRunning=!0}catch(Pe){this.Debug.ShowErrorMessage(Pe,"Urlaubsplanung Page","AddHalbenUrlaubstag",this.Debug.Typen.Page)}}AddHomeofficeStart(){try{this.DB.CurrentHomeofficezeitspanne=null,this.AddHomeofficeRunning=!0}catch(Pe){this.Debug.ShowErrorMessage(Pe,"Urlaubsplanung Page","AddHomeofficeStart",this.Debug.Typen.Page)}}AddUrlaubFinishedHandler(){try{if(this.AddUrlaubRunning=!1,this.AddHalberUrlaubstagRunning=!1,null!==this.DB.CurrentUrlaubzeitspanne){this.DB.CurrentUrlaub.Urlaubzeitspannen.push(this.DB.CurrentUrlaubzeitspanne);let Pe=u.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.CurrentJahr});this.DB.CurrentMitarbeiter.Urlaubsliste[Pe]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{})}}catch(Pe){this.Debug.ShowErrorMessage(Pe,"Urlaubsplanung Page","AddUrlaubFinishedHandler",this.Debug.Typen.Page)}}UrlaubLoeschen(Pe){try{let gt=u.filter(this.DB.CurrentUrlaub.Urlaubzeitspannen,Ut=>Ut.ZeitspannenID!==Pe.ZeitspannenID);this.DB.CurrentUrlaub=u.find(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.CurrentJahr}),this.DB.CurrentUrlaub.Urlaubzeitspannen=gt;let At=u.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.CurrentJahr});this.DB.CurrentMitarbeiter.Urlaubsliste[At]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.DB.PlanungsmonateChanged.emit()})}catch(gt){this.Debug.ShowErrorMessage(gt,"Urlaubsplanung Page","UrlaubLoeschen",this.Debug.Typen.Page)}}AnsichtCheckChanged(Pe,gt){try{switch(gt){case this.DB.Urlaubstatusvarianten.Geplant:this.Pool.Mitarbeitersettings.UrlaubShowBeantragt=Pe.status;break;case this.DB.Urlaubstatusvarianten.Vertreterfreigabe:this.Pool.Mitarbeitersettings.UrlaubShowVertreterfreigabe=Pe.status;break;case this.DB.Urlaubstatusvarianten.Genehmigt:this.Pool.Mitarbeitersettings.UrlaubShowGenehmigt=Pe.status;break;case this.DB.Urlaubstatusvarianten.Abgelehnt:this.Pool.Mitarbeitersettings.UrlaubShowAbgelehnt=Pe.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(At){this.Debug.ShowErrorMessage(At,"Urlaubsplanung Page","AnsichtCheckChanged",this.Debug.Typen.Page)}}UrlaubSuchen(Pe){try{let gt=(0,c.default)(Pe.Startstempel);this.DB.CurrentMonatindex=gt.month(),this.DB.SetPlanungsmonate()}catch(gt){this.Debug.ShowErrorMessage(gt,"Urlaubsplanung Page","UrlaubSuchen",this.Debug.Typen.Page)}}GetDatumlangtext(Pe){try{return(0,c.default)(Pe).locale("de").format("DD. MMMM YYYY")}catch(gt){this.Debug.ShowErrorMessage(gt,"Urlaubsplanung Page","GetDatumlangtext",this.Debug.Typen.Page)}}MitarbeiterauswahlOkButtonClicked(Pe){var gt=this;return n(function*(){try{let At,Ut,ar;switch(gt.Auswahldialogorigin){case gt.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln:At=u.find(gt.Pool.Mitarbeiterliste,{_id:Pe[0]}),gt.DB.CurrentMitarbeiter=At,gt.PrepareData(),gt.DB.PlanungsmonateChanged.emit();break;case gt.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Vertreter_Festlegen:Ut=u.find(gt.DB.CurrentUrlaub.Urlaubzeitspannen,{ZeitspannenID:gt.DB.CurrentUrlaubzeitspanne.ZeitspannenID}),Ut.UrlaubsvertreterIDListe=Pe,Ut.Status=gt.DB.Urlaubstatusvarianten.Geplant,Ut.FreigabeantwortSended=!1,Ut.FreigabeanfrageSended=!1,gt.DB.InitVertreterkonversationen(Ut,!0),ar=u.findIndex(gt.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:gt.DB.CurrentJahr}),gt.DB.CurrentMitarbeiter.Urlaubsliste[ar]=gt.DB.CurrentUrlaub,yield gt.DBMitarbeiter.UpdateMitarbeiterUrlaub(gt.DB.CurrentMitarbeiter).then(()=>{gt.DB.CurrentUrlaubzeitspanne.UrlaubsvertreterIDListe=Pe})}gt.ShowMitarbeiterauswahl=!1}catch(At){gt.Debug.ShowErrorMessage(At.message,"Urlaubsplanung Page","MitarbeiterauswahlOkButtonClicked",gt.Debug.Typen.Page)}})()}MitarebiterStandortfilterClickedHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.UrlaubPlanung_Standort_Filter;let Pe=0;this.ShowAuswahl=!0,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:Pe,FirstColumn:"kein Filter",SecoundColumn:"",Data:null}),Pe++;for(let gt of this.Pool.Standorteliste)this.Auswahlliste.push({Index:Pe,FirstColumn:gt.Kuerzel,SecoundColumn:gt.Standort,Data:gt}),Pe++;this.Auswahlindex=null!==this.DBStandort.CurrentStandortfilter?u.findIndex(this.Pool.Standorteliste,{_id:this.DBStandort.CurrentStandortfilter._id}):0}catch(Pe){this.Debug.ShowErrorMessage(Pe.message,"Urlaubsplanung Page","MitarebiterStandortfilterClickedHandler",this.Debug.Typen.Page)}}MitarbeiterWechselnClicked(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln,this.ShowMitarbeiterauswahl=!0,this.MitarbeiterMultiselect=!1,this.AuswahlIDliste=[]}catch(Pe){this.Debug.ShowErrorMessage(Pe,"Urlaubsplanung Page","MitarbeiterWechselnClicked",this.Debug.Typen.Page)}}StellvertreterFestlegenClicked(Pe){try{this.DB.CurrentUrlaubzeitspanne=Pe,this.MitarbeiterauswahlTitel="Vertretungen festlegen",this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Vertreter_Festlegen,this.ShowMitarbeiterauswahl=!0,this.MitarbeiterMultiselect=!0,this.AuswahlIDliste=this.DB.CurrentUrlaubzeitspanne.UrlaubsvertreterIDListe}catch(gt){this.Debug.ShowErrorMessage(gt,"Urlaubsplanung Page","StellvertreterFestlegenClicked",this.Debug.Typen.Page)}}GetStellvertretername(Pe){try{let gt=u.find(this.Pool.Mitarbeiterliste,{_id:Pe});return u.isUndefined(gt)?"unbekannt":gt.Vorname+" "+gt.Name}catch(gt){this.Debug.ShowErrorMessage(gt,"Urlaubsplanung Page","GetStellvertretername",this.Debug.Typen.Page)}}DisplayExternCheckChanged(Pe,gt,At){try{let Ut=u.find(this.DB.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:gt.MitarbeiterIDExtern});u.isUndefined(Ut)||(Ut.Display=Pe.status);let ar=u.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.CurrentJahr});this.DB.CurrentMitarbeiter.Urlaubsliste[ar]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.DB.ExterneUrlaubeChanged.emit()})}catch(Ut){this.Debug.ShowErrorMessage(Ut,"Urlaubsplanung Page","DisplayExternCheckChanged",this.Debug.Typen.Page)}}CheckUrlaubUpdatesAvailable(){try{let Pe=!1;if(null!==this.DB.CurrentUrlaub)for(let gt of this.DB.CurrentUrlaub.Urlaubzeitspannen)gt.Status===this.DB.Urlaubstatusvarianten.Geplant&>.UrlaubsvertreterIDListe.length>0&&(Pe=!0),gt.Status===this.DB.Urlaubstatusvarianten.Geplant&&!0===gt.Betriebsurlaub&&(Pe=!0);return Pe}catch(Pe){this.Debug.ShowErrorMessage(Pe,"Urlaubsplanung Page","CheckUrlaubUpdatesAvailable",this.Debug.Typen.Page)}}CheckHomeofficeUpdatesAvailable(){try{let Pe=!1,gt=u.find(this.Pool.Standorteliste,{_id:this.DB.CurrentMitarbeiter.StandortID});if(null!==this.DB.CurrentUrlaub)for(let At of this.DB.CurrentUrlaub.Homeofficezeitspannen)At.Status===this.DB.Urlaubstatusvarianten.Geplant&>.Homeofficefreigabepersonen.length>0&&(Pe=!0);return Pe}catch(Pe){this.Debug.ShowErrorMessage(Pe,"Urlaubsplanung Page","CheckHomeofficeUpdatesAvailable",this.Debug.Typen.Page)}}CheckUrlaubLoschenEnabled(Pe){try{return null!==this.Pool.Mitarbeiterdaten&&!0===this.Pool.Mitarbeiterdaten.Urlaubsfreigaben||Pe.Status===this.DB.Urlaubstatusvarianten.Geplant||Pe.Status===this.DB.Urlaubstatusvarianten.Abgelehnt||Pe.Status===this.DB.Urlaubstatusvarianten.Vertreterablehnung}catch(gt){this.Debug.ShowErrorMessage(gt,"Urlaubsplanung Page","CheckUrlaubLoschenEnabled",this.Debug.Typen.Page)}}CheckHomeofficeLoschenEnabled(Pe){try{let gt=!1,At=u.filter(this.DB.CurrentUrlaub.Homeofficezeitspannen,{Status:Pe});for(let Ut of At)if(Ut.Checked){gt=!0;break}return gt}catch(gt){this.Debug.ShowErrorMessage(gt,"Urlaubsplanung Page","CheckHomeofficeLoschenEnabled",this.Debug.Typen.Page)}}CancelDatumClicked(){try{this.AddUrlaubRunning=!1,this.AddHalberUrlaubstagRunning=!1,this.DB.CurrentUrlaubzeitspanne=null,this.DB.AddUrlaubCancelEvent.emit()}catch(Pe){this.Debug.ShowErrorMessage(Pe,"Urlaubsplanung Page","CancelDatumClicked",this.Debug.Typen.Page)}}StatusClickedHandler(Pe){try{let gt=0;null!==this.Pool.Mitarbeiterdaten&&(!0===this.Pool.Mitarbeiterdaten.Planeradministrator||!0===this.Pool.Mitarbeiterdaten.Urlaubsfreigaben)&&(this.Auswahltitel="Status \xe4ndern",this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Status_Aendern,this.DB.CurrentUrlaubzeitspanne=Pe,this.Auswahlliste=[],this.Auswahlliste.push({Index:gt++,FirstColumn:this.DB.Urlaubstatusvarianten.Geplant,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Geplant}),this.Auswahlliste.push({Index:gt++,FirstColumn:this.DB.Urlaubstatusvarianten.Vertreteranfrage,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Vertreteranfrage}),this.Auswahlliste.push({Index:gt++,FirstColumn:this.DB.Urlaubstatusvarianten.Vertreterablehnung,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Vertreterablehnung}),this.Auswahlliste.push({Index:gt++,FirstColumn:this.DB.Urlaubstatusvarianten.Vertreterfreigabe,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Vertreterfreigabe}),this.Auswahlliste.push({Index:gt++,FirstColumn:this.DB.Urlaubstatusvarianten.Abgelehnt,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Abgelehnt}),this.Auswahlliste.push({Index:gt++,FirstColumn:this.DB.Urlaubstatusvarianten.Genehmigt,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Genehmigt}),this.ShowAuswahl=!0,this.Auswahlindex=u.findIndex(this.Auswahlliste,{Data:Pe.Status}))}catch(gt){this.Debug.ShowErrorMessage(gt,"Urlaubsplanung Page","StatusClickedHandler",this.Debug.Typen.Page)}}AddHomeofficeFinishedHandler(){try{if(null!==this.DB.CurrentHomeofficezeitspanne){this.DB.CurrentUrlaub.Homeofficezeitspannen.push(this.DB.CurrentHomeofficezeitspanne);let Pe=u.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.CurrentJahr});this.DB.CurrentMitarbeiter.Urlaubsliste[Pe]=this.DB.CurrentUrlaub}}catch(Pe){this.Debug.ShowErrorMessage(Pe,"Urlaubsplanung Page","AddHomeofficeFinishedHandler",this.Debug.Typen.Page)}}SaveHomeofficeEventHandler(){try{this.AddHomeofficeRunning=!1,this.DB.CurrentHomeofficezeitspanne=null,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{})}catch(Pe){this.Debug.ShowErrorMessage(Pe,"Urlaubsplanung Page","SaveHomeofficeEventHandler",this.Debug.Typen.Page)}}ZeitspanneCheckChanged(Pe,gt){try{gt.Checked=Pe.status}catch(At){this.Debug.ShowErrorMessage(At,"Urlaubsplanung Page","ZeitspanneCheckChanged",this.Debug.Typen.Page)}}BetriebsurlaubCheckedChanged(Pe,gt){try{let At,Ut=u.find(this.DB.CurrentUrlaub.Urlaubzeitspannen,ur=>ur.ZeitspannenID===gt.ZeitspannenID);At=u.find(Ut.Vertretungskonversationliste,{VertreterID:this.DB.CurrentMitarbeiter._id}),Ut.Betriebsurlaub=Pe.status,!1===Ut.Betriebsurlaub?(At.VertreteranfrageSended=!1,At.VertreterantwortSended=!1,Ut.Status=this.DB.Urlaubstatusvarianten.Geplant,Ut.Planungmeldung=""):(At.VertreteranfrageSended=!0,At.VertreterantwortSended=!0,Ut.Status=this.DB.Urlaubstatusvarianten.Geplant,Ut.Planungmeldung="keine Urlaubsvertretung notwendig :-)");let ar=u.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.CurrentJahr});this.DB.CurrentMitarbeiter.Urlaubsliste[ar]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.DB.PlanungsmonateChanged.emit()})}catch(At){this.Debug.ShowErrorMessage(At,"Urlaubsplanung Page","BetriebsurlaubCheckedChanged",this.Debug.Typen.Page)}}GetPlanungmeldung(Pe){try{let gt="",At=0;switch(Pe.Status){case this.DB.Urlaubstatusvarianten.Geplant:break;case this.DB.Urlaubstatusvarianten.Vertreteranfrage:for(let Ut of Pe.Vertretungskonversationliste)!0===Ut.VertreteranfrageSended&&(gt+=Ut.Vertretungmeldung,At"));break;case this.DB.Urlaubstatusvarianten.Vertreterfreigabe:gt+=Pe.Planungmeldung;break;case this.DB.Urlaubstatusvarianten.Vertreterablehnung:for(let Ut of Pe.Vertretungskonversationliste)!0===Ut.VertreterantwortSended&&(gt+=Ut.Vertretungmeldung,At"));break;case this.DB.Urlaubstatusvarianten.Genehmigt:gt+=Pe.Planungmeldung}return gt}catch(gt){this.Debug.ShowErrorMessage(gt,"Urlaubsplanung Page","GetPlanungmeldung",this.Debug.Typen.Page)}}MitarbeiterMeWechselnClickedHandler(){try{this.DB.CurrentMitarbeiter=this.Pool.Mitarbeiterdaten,this.PrepareData()}catch(Pe){this.Debug.ShowErrorMessage(Pe,"Urlaubsplanung Page","MitarbeiterMeWechselnClickedHandler",this.Debug.Typen.Page)}}ExternUrlaubstagClickedEventHandler(Pe){try{let gt=u.find(this.Pool.Mitarbeiterliste,{_id:Pe});!1===u.isUndefined(gt)&&(this.DB.CurrentMitarbeiter=gt,this.PrepareData())}catch(gt){this.Debug.ShowErrorMessage(gt,"Urlaubsplanung Page","ExternUrlaubstagClickedEventHandler",this.Debug.Typen.Page)}}ShowHomeofficeChanged(Pe){try{this.Pool.Mitarbeitersettings.ShowHomeoffice=Pe.status,this.DBMitarbeitersettings.UpdateMitarbeitersettings(this.Pool.Mitarbeitersettings,null).then(()=>{this.DB.UpdateKalenderRequestEvent.emit()})}catch(gt){this.Debug.ShowErrorMessage(gt,"Urlaubsplanung Page","ShowHomeofficeChanged",this.Debug.Typen.Page)}}JahrButtonClickedHandler(){try{let Pe=0,At=this.DB.Jahr+1;this.Auswahltitel="Jahr \xe4ndern",this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Jahr_Aendern,this.Auswahlliste=[];for(let Ut=this.DB.Startjahr;Ut<=At;Ut++)this.Auswahlliste.push({Index:Pe++,FirstColumn:Ut.toString(),SecoundColumn:"",Data:Ut});this.ShowAuswahl=!0,this.Auswahlindex=u.findIndex(this.Auswahlliste,{Data:this.DB.CurrentJahr})}catch(Pe){this.Debug.ShowErrorMessage(Pe,"Urlaubsplanung Page","JahrButtonClickedHandler",this.Debug.Typen.Page)}}static \u0275fac=function(gt){return new(gt||jt)(e.\u0275\u0275directiveInject(o.LoadingAnimationService),e.\u0275\u0275directiveInject(h.BasicsProvider),e.\u0275\u0275directiveInject(v.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(M.DatabasePoolService),e.\u0275\u0275directiveInject(p.DatabaseUrlaubService),e.\u0275\u0275directiveInject(E.DatabaseMitarbeiterService),e.\u0275\u0275directiveInject(S.ConstProvider),e.\u0275\u0275directiveInject(y.DatabaseStandorteService),e.\u0275\u0275directiveInject(f.AuswahlDialogService),e.\u0275\u0275directiveInject(C.ToolsProvider),e.\u0275\u0275directiveInject(_.DebugProvider))};static \u0275cmp=e.\u0275\u0275defineComponent({type:jt,selectors:[["common-urlaub-planung-page"]],viewQuery:function(gt,At){if(1>&&(e.\u0275\u0275viewQuery(H,5),e.\u0275\u0275viewQuery(K,5)),2>){let Ut;e.\u0275\u0275queryRefresh(Ut=e.\u0275\u0275loadQuery())&&(At.PageHeader=Ut.first),e.\u0275\u0275queryRefresh(Ut=e.\u0275\u0275loadQuery())&&(At.PageFooter=Ut.first)}},decls:12,vars:4,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"UrlaubMitarbeiterClicked","UrlaubMitarbeiterMeClicked","JahrButtonClicked"],["class","contentkeeperdivclass",4,"ngIf"],["PageFooter",""],["style","width: 100%;",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,"contentkeeperdivclass"],[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","AddHomeofficerunning","AddHalberUrlaubstagRunning","ExternUrlaubstagClickedEvent","AddUrlaubFinishedEvent","AddHomeofficeFinishedEvent","FeiertagCrossedEvent","FerientagCrossedEvent"],[3,"Jahr","ShowYear","Monatindex","AddUrlaubRunning","AddHomeofficerunning","AddHalberUrlaubstagRunning","ExternUrlaubstagClickedEvent","AddUrlaubFinishedEvent","AddHomeofficeFinishedEvent","FeiertagCrossedEvent","FerientagCrossedEvent"],[4,"ngIf"],[1,"legendekeeperdivclass"],[1,"legendebuttonclass",3,"click"],["color","weiss",3,"name"],["valign","top"],["class","paddingtable",4,"ngIf"],["valign","top","align","center",2,"width","50%","padding","4px"],["size","small",3,"disabled","click"],[1,"datumdivclass"],[1,"datumcanceldivclass",3,"click"],["name","close-outline","color","weiss",2,"font-size","36px"],[2,"width","100px","text-align","center"],[1,"docinnertable",2,"width","520px"],[2,"text-align","center"],[1,"docinnertablesmall"],[2,"font-weight","bold"],[2,"font-weight","bold","text-align","center"],[2,"font-weight","bold","width","200px"],["colspan","3",2,"font-weight","bold"],["colspan","2",2,"text-align","right","font-weight","bold"],["colspan","6"],["align","center","colspan","9"],[1,"nobordertable",2,"width","100%"],[2,"width","33%","font-size","80%"],["align","center",2,"width","33%"],[2,"width","33%"],[3,"Checked","CheckChanged",4,"ngIf"],["style","width: 20px; height: 20px; background: #307ac1; border-radius: 100%",4,"ngIf"],[1,"legendenewdivclass",3,"click"],[2,"width","450px",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"],[3,"Checked","CheckChanged"],[2,"width","20px","height","20px","background","#307ac1","border-radius","100%"],[1,"festlegenbuttondiv",2,"font-size","12px","font-weight","bold",3,"click"],["class","nobordersmalltable",4,"ngIf"],[1,"nobordersmalltable"],["colspan","8"],[1,"datumokdivclass",3,"click"],[2,"color","white","font-size","120%"],["name","checkmark-outline","color","weiss",2,"font-size","36px"],[1,"docinnertable"],[2,"font-weight","bold","text-align","left","width","660px"],[2,"font-weight","bold","text-align","center","width","50px"],["align","center","colspan","8"],[1,"legendedivclass"],["size","small","color","rot",3,"disabled","click",4,"ngIf"],["valign","top",2,"width","70px","font-weight","bold"],[1,"monatlableclass"],[2,"width","auto"],[2,"display","flex","flex-direction","row","flex-wrap","wrap","width","100%","min-height","30px"],["style","width: 114px;",4,"ngFor","ngForOf"],[2,"width","114px"],[1,"nobordertable"],["name","flag-outline","color","gelb",2,"font-size","18px"],["name","school-outline","color","gelb",2,"font-size","18px"],["colspan","3",2,"height","20px"],["colspan","2"],["name","flag-outline","color","weiss",2,"font-size","18px"],["name","school-outline","color","weiss",2,"font-size","18px"],[3,"Checked","Enabled","CheckChanged"],[1,"legendeexterndivclass"],["align","left",2,"width","50%"],["style","height: 40px; font-size: 110%; font-weight: bold; color: white; text-align: left",4,"ngIf"],[2,"width","50%"],["style","padding: 6px; text-align: center; border-radius: 4px; background: red; color: white; font-weight: bold; width: 400px;",4,"ngIf"],[3,"src"],[2,"height","40px","font-size","110%","font-weight","bold","color","white","text-align","left"],[2,"padding","6px","text-align","center","border-radius","4px","background","red","color","white","font-weight","bold","width","400px"],[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(gt,At){1>&&(e.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),e.\u0275\u0275listener("UrlaubMitarbeiterClicked",function(){return At.MitarbeiterWechselnClicked()})("UrlaubMitarbeiterMeClicked",function(){return At.MitarbeiterMeWechselnClickedHandler()})("JahrButtonClicked",function(){return At.JahrButtonClickedHandler()}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(4,"ion-content"),e.\u0275\u0275template(5,yt,35,28,"div",3),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"ion-footer")(7,"page-footer",null,4),e.\u0275\u0275template(9,pt,9,3,"table",5),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(10,mt,1,7,"auswahl-dialog",6)(11,on,1,6,"fi-mitarbeiter-auswahl",7)),2>&&(e.\u0275\u0275advance(5),e.\u0275\u0275property("ngIf",null!==At.Pool.Mitarbeiterdaten),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngIf",null!==At.Pool.Appeinstellungen),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",At.ShowAuswahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",At.ShowMitarbeiterauswahl))},dependencies:[w.NgForOf,w.NgIf,D.IonButton,D.IonContent,D.IonFooter,D.IonHeader,D.IonIcon,L.PageHeaderComponent,N.PageHeaderMenuComponent,V.PageFooterComponent,G.UrlaubsplanungKalenderComponent,R.AuswahlDialogComponent,k.CheckboxClonComponent,A.FiMitarbeiterAuswahlComponent],styles:[".festlegenbuttondiv[_ngcontent-%COMP%]{background:#444;border-radius:4px;padding:4px;display:flex;justify-content:center;align-items:center;color:#fff;width:100%;min-height:30px;cursor:pointer}.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}.datumokdivclass[_ngcontent-%COMP%]{width:120px;height:60px;display:flex;justify-content:center;align-items:center;text-align:center;background:green;color:#fff;font-weight:700;border:1px solid #444444;border-radius:4px;cursor:pointer;padding:4px}.contentkeeperdivclass[_ngcontent-%COMP%]{position:relative;width:100%;height:100%}.contentdivclass[_ngcontent-%COMP%]{position:absolute;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-size:90%;font-weight:700;color:#fff;width:36px;height:24px;display:flex;justify-content:center;align-items:center}.legendenewdivclass[_ngcontent-%COMP%]{width:36px;height:24px;display:flex;flex-direction:row}.legendeinnerdivclass[_ngcontent-%COMP%]{color:#fff;font-size:90%;width:50%;height:24px;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}.monatlableclass[_ngcontent-%COMP%]{height:32px;display:flex;justify-content:flex-start;align-items:center}"]})}return jt})()},19204:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.CommonUrlaubsuebersichtPageModule=void 0;const n=s(81316),l=s(91368),u=s(92512),c=s(44716),i=s(62364),e=s(70216),o=s(53076),h=s(6168),v=s(90520),M=s(6232),p=s(72284),E=s(10272),S=s(7388),y=s(27328),f=s(26668),C=n.__importStar(s(54496)),w=(n.__importStar(s(53076)),[{path:"",component:i.CommonUrlaubUebersichtPage}]);m.CommonUrlaubsuebersichtPageModule=(()=>{class L{static \u0275fac=function(G){return new(G||L)};static \u0275mod=C.\u0275\u0275defineNgModule({type:L});static \u0275inj=C.\u0275\u0275defineInjector({imports:[l.CommonModule,c.FormsModule,u.IonicModule,e.PageHeaderModule,o.RouterModule.forChild(w),h.PageHeaderMenuModule,v.PageFooterModule,M.UrlausplanungKalenderModule,p.ButtonValueModule,E.AuswahlDialogModule,S.CheckboxClonModule,y.FiMitarbeiterEditorModule,f.FiMitarbeiterAuswahlModule]})}return L})()},62364:(pe,m,s)=>{"use strict";var n=s(1196).default;Object.defineProperty(m,"__esModule",{value:!0}),m.CommonUrlaubUebersichtPage=void 0;const l=s(81316),u=l.__importStar(s(17964)),c=l.__importDefault(s(35908)),i=s(17964),e=l.__importStar(s(54496)),o=l.__importStar(s(33940)),h=l.__importStar(s(14652)),v=l.__importStar(s(7992)),M=l.__importStar(s(9544)),p=l.__importStar(s(29743)),E=l.__importStar(s(22848)),S=l.__importStar(s(15024)),y=l.__importStar(s(58864)),f=l.__importStar(s(48044)),C=l.__importStar(s(34388)),_=l.__importStar(s(91368)),w=l.__importStar(s(92512)),D=l.__importStar(s(90212)),L=l.__importStar(s(63792)),N=l.__importStar(s(29856)),V=l.__importStar(s(77440)),G=l.__importStar(s(56584)),R=l.__importStar(s(25856)),k=l.__importStar(s(80887)),A=["PageHeader"],H=["PageFooter"];function K(Ae,Be){if(1&Ae){const re=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td",25)(1,"urlaubsplanung-kalender",26),e.\u0275\u0275listener("FeiertagCrossedEvent",function(et){e.\u0275\u0275restoreView(re);const vt=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(vt.FeiertagCrossedEventHandler(et))})("FerientagCrossedEvent",function(et){e.\u0275\u0275restoreView(re);const vt=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(vt.FerientagCrossedEventHandler(et))}),e.\u0275\u0275elementEnd()()}if(2&Ae){const re=Be.index,Ee=e.\u0275\u0275nextContext().index,et=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("Jahr",et.DB.CurrentJahr)("Monatindex",6*Ee+re)}}function ie(Ae,Be){if(1&Ae&&(e.\u0275\u0275elementStart(0,"tr"),e.\u0275\u0275element(1,"td",23),e.\u0275\u0275template(2,K,2,2,"td",24),e.\u0275\u0275element(3,"td",23),e.\u0275\u0275elementEnd()),2&Ae){const re=Be.$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275property("ngForOf",re)}}function X(Ae,Be){if(1&Ae&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"table",21),e.\u0275\u0275template(2,ie,4,1,"tr",22),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()),2&Ae){const re=e.\u0275\u0275nextContext();e.\u0275\u0275advance(2),e.\u0275\u0275property("ngForOf",re.Monateliste_Gesamtjahr)}}function be(Ae,Be){if(1&Ae){const re=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td",25)(1,"urlaubsplanung-kalender",26),e.\u0275\u0275listener("FeiertagCrossedEvent",function(et){e.\u0275\u0275restoreView(re);const vt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(vt.FeiertagCrossedEventHandler(et))})("FerientagCrossedEvent",function(et){e.\u0275\u0275restoreView(re);const vt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(vt.FerientagCrossedEventHandler(et))}),e.\u0275\u0275elementEnd()()}if(2&Ae){const re=Be.index,Ee=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("Jahr",Ee.DB.CurrentJahr)("Monatindex",re)}}function ce(Ae,Be){if(1&Ae&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"table",21)(2,"tr"),e.\u0275\u0275element(3,"td",23),e.\u0275\u0275template(4,be,2,2,"td",24),e.\u0275\u0275element(5,"td",23),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&Ae){const re=e.\u0275\u0275nextContext();e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",re.Monateliste_HalbjahrEins)}}function ze(Ae,Be){if(1&Ae){const re=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td",25)(1,"urlaubsplanung-kalender",26),e.\u0275\u0275listener("FeiertagCrossedEvent",function(et){e.\u0275\u0275restoreView(re);const vt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(vt.FeiertagCrossedEventHandler(et))})("FerientagCrossedEvent",function(et){e.\u0275\u0275restoreView(re);const vt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(vt.FerientagCrossedEventHandler(et))}),e.\u0275\u0275elementEnd()()}if(2&Ae){const re=Be.index,Ee=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("Jahr",Ee.DB.CurrentJahr)("Monatindex",re+6)}}function ct(Ae,Be){if(1&Ae&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"table",21)(2,"tr"),e.\u0275\u0275element(3,"td",23),e.\u0275\u0275template(4,ze,2,2,"td",24),e.\u0275\u0275element(5,"td",23),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&Ae){const re=e.\u0275\u0275nextContext();e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",re.Monateliste_HalbjahrZwei)}}function xe(Ae,Be){if(1&Ae){const re=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td")(3,"checkbox-clon",27),e.\u0275\u0275listener("CheckChanged",function(et){e.\u0275\u0275restoreView(re);const vt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(vt.AnsichtFeiertageCheckChanged(et,"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(et){e.\u0275\u0275restoreView(re);const vt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(vt.AnsichtFerientageCheckChanged(et,"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&Ae){const re=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(3),e.\u0275\u0275property("Checked",re.DB.ShowFeiertage_DE),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",re.DB.Urlaubsfaben.Feiertage_DE),e.\u0275\u0275advance(6),e.\u0275\u0275property("Checked",re.DB.ShowFerientage_DE),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",re.DB.Urlaubsfaben.Ferien_DE)}}function Ie(Ae,Be){if(1&Ae){const re=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",33),e.\u0275\u0275listener("CheckChanged",function(et){const vt=e.\u0275\u0275restoreView(re),Tt=vt.$implicit,dt=vt.index,ot=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ot.DisplayExternCheckChanged(et,Tt,dt))}),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&Ae){const re=Be.$implicit,Ee=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275property("Checked",Ee.DB.CheckDisplayExternenUrlaub(re.MitarbeiterIDExtern))("Enabled",re.Urlaubzeitspannen.length>0),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(re.NameKuerzel),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate2("",re.NameExtern," ",re.Text,"")}}function Le(Ae,Be){if(1&Ae){const re=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"table",17),e.\u0275\u0275template(1,xe,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(et){e.\u0275\u0275restoreView(re);const vt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(vt.AnsichtFeiertageCheckChanged(et,"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(et){e.\u0275\u0275restoreView(re);const vt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(vt.AnsichtFerientageCheckChanged(et,"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\u0275elementStart(55,"tr"),e.\u0275\u0275element(56,"td"),e.\u0275\u0275elementStart(57,"td")(58,"div",28),e.\u0275\u0275text(59,"H"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(60,"td"),e.\u0275\u0275text(61,"geplantes Homeoffice"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(62,"tr"),e.\u0275\u0275elementStart(63,"tr"),e.\u0275\u0275element(64,"td"),e.\u0275\u0275elementStart(65,"td")(66,"div",28),e.\u0275\u0275text(67,"H"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(68,"td"),e.\u0275\u0275text(69,"Homeoffice Freigabe angefragt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(70,"tr"),e.\u0275\u0275element(71,"td"),e.\u0275\u0275elementStart(72,"td")(73,"div",28),e.\u0275\u0275text(74,"H"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(75,"td"),e.\u0275\u0275text(76,"Genehmigter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(77,"tr"),e.\u0275\u0275element(78,"td"),e.\u0275\u0275elementStart(79,"td")(80,"div",28),e.\u0275\u0275text(81,"H"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(82,"td"),e.\u0275\u0275text(83,"Abgelehnter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(84,Ie,8,5,"tr",22),e.\u0275\u0275elementEnd()}if(2&Ae){const re=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf","DE"===re.DB.Laendercode),e.\u0275\u0275advance(4),e.\u0275\u0275property("Checked",re.DB.ShowFeiertage_BG),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",re.DB.Urlaubsfaben.Feiertage_BG),e.\u0275\u0275advance(6),e.\u0275\u0275property("Checked",re.DB.ShowFerientage_BG),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",re.DB.Urlaubsfaben.Ferien_BG),e.\u0275\u0275advance(7),e.\u0275\u0275styleProp("background",re.DB.Urlaubsfaben.Geplant),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",re.DB.Urlaubsfaben.Vertreteranfrage),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",re.DB.Urlaubsfaben.Vertreterfreigabe),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",re.DB.Urlaubsfaben.Vertreterablehnung),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",re.DB.Urlaubsfaben.Genehmigt),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",re.DB.Urlaubsfaben.Abgelehnt),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",re.DB.Homeofficefarben.Geplant),e.\u0275\u0275advance(8),e.\u0275\u0275styleProp("background",re.DB.Homeofficefarben.Freigabeanfrage),e.\u0275\u0275advance(7),e.\u0275\u0275styleProp("background",re.DB.Homeofficefarben.Genehmigt),e.\u0275\u0275advance(7),e.\u0275\u0275styleProp("background",re.DB.Homeofficefarben.Abgelehnt),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",re.DB.UrlaublisteExtern)}}function Ue(Ae,Be){if(1&Ae&&(e.\u0275\u0275elementStart(0,"td"),e.\u0275\u0275element(1,"img",35),e.\u0275\u0275elementEnd()),2&Ae){const re=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("src",re.Flagsource,e.\u0275\u0275sanitizeUrl)}}function Xe(Ae,Be){if(1&Ae&&(e.\u0275\u0275elementStart(0,"td",36),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&Ae){const re=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(re.Message)}}function _e(Ae,Be){if(1&Ae){const re=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"auswahl-dialog",37),e.\u0275\u0275listener("OkClickedEvent",function(et){e.\u0275\u0275restoreView(re);const vt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(vt.AuswahlOkButtonClicked(et))})("CancelClickedEvent",function(){e.\u0275\u0275restoreView(re);const et=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(et.ShowAuswahl=!1)}),e.\u0275\u0275elementEnd()}if(2&Ae){const re=e.\u0275\u0275nextContext();e.\u0275\u0275property("Auswahlliste",re.Auswahlliste)("Auswahlindex",re.Auswahlindex)("ZIndex",5e3)("Dialogbreite",400)("PositionY",100)("Titel",re.Auswahltitel)("Iconname","")}}function Fe(Ae,Be){if(1&Ae){const re=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"fi-mitarbeiter-auswahl",38),e.\u0275\u0275listener("CancelClickedEvent",function(){e.\u0275\u0275restoreView(re);const et=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(et.ShowMitarbeiterauswahl=!1)})("OkClickedEvent",function(et){e.\u0275\u0275restoreView(re);const vt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(vt.MitarbeiterauswahlOkButtonClicked(et))})("StandortfilterClickedEvent",function(){e.\u0275\u0275restoreView(re);const et=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(et.MitarebiterStandortfilterClickedHandler())}),e.\u0275\u0275elementEnd()}if(2&Ae){const re=e.\u0275\u0275nextContext();e.\u0275\u0275property("Titel",re.MitarbeiterauswahlTitel)("Dialogbreite",600)("ZIndex",4e3)("Multiselect",!1)("OnlyProjektmitarbeiter",!1)("AuswahlIDliste",re.AuswahlIDliste)}}m.CommonUrlaubUebersichtPage=(()=>{class Ae{Loadinganimation;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(re,Ee,et,vt,Tt,dt,ot,Vt,nn,vn){this.Loadinganimation=re,this.Basics=Ee,this.Pool=et,this.DB=vt,this.Const=Tt,this.DBMitarbeiter=dt,this.DBMitarbeitersettings=ot,this.DBStandort=Vt,this.Auswahlservice=nn,this.Debug=vn;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(zt){this.Debug.ShowErrorMessage(zt.message,"Urlaubsuebersicht Page","constructor",this.Debug.Typen.Page)}}MitarbeiterWechselnClicked(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln,this.ShowMitarbeiterauswahl=!0,this.AuswahlIDliste=[]}catch(re){this.Debug.ShowErrorMessage(re,"Urlaubsuebersicht Page","MitarbeiterWechselnClicked",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.DataSubscription.unsubscribe(),this.DataSubscription=null}catch(re){this.Debug.ShowErrorMessage(re,"Urlaubsuebersicht Page","OnDestroy",this.Debug.Typen.Page)}}ionViewDidEnter(){try{this.Basics.MeassureInnercontent(this.PageHeader,this.PageFooter),this.Basics.MeassureInnercontent(this.PageHeader,this.PageFooter),this.Legendebreite=400,this.Legendehoehe=this.Basics.InnerContenthoehe}catch(re){this.Debug.ShowErrorMessage(re.message,"Urlaubsuebersicht Page","ionViewDidEnter",this.Debug.Typen.Page)}}ngOnInit(){try{this.Ansichtvariante=(0,c.default)().locale("de").month()+1<=6?this.Ansichtenvarinaten.HalbjahrEins:this.Ansichtenvarinaten.HalbjahrZwei,this.DataSubscription=this.Pool.LoadingAllDataFinished.subscribe(()=>{this.PrepareData()}),this.PrepareData()}catch(re){this.Debug.ShowErrorMessage(re,"Urlaubsuebersicht Page","OnInit",this.Debug.Typen.Page)}}MitarbeiterauswahlOkButtonClicked(re){try{let Ee;this.Auswahldialogorigin===this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln&&(Ee=u.find(this.Pool.Mitarbeiterliste,{_id:re[0]}),this.DB.CurrentMitarbeiter=Ee,this.PrepareData()),this.ShowMitarbeiterauswahl=!1}catch(Ee){this.Debug.ShowErrorMessage(Ee.message,"Urlaubsplanung Page","MitarbeiterauswahlOkButtonClicked",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(re){var Ee=this;return n(function*(){try{switch(Ee.Auswahldialogorigin){case Ee.Auswahlservice.Auswahloriginvarianten.Urlaubsliste_Bundesland:Ee.DB.Bundeslandkuerzel=re;let et=Ee.DB.Bundeslandkuerzel.substring(0,2);Ee.DB.ReadFeiertage(et);break;case Ee.Auswahlservice.Auswahloriginvarianten.UrlaubUebersicht_Standort_Filter:Ee.DBStandort.CurrentStandortfilter=(0,i.cloneDeep)(re),Ee.Pool.Mitarbeitersettings.StandortFilter=null!==re?re._id:Ee.Const.NONE,Ee.DBMitarbeitersettings.UpdateMitarbeitersettings(Ee.Pool.Mitarbeitersettings,null).then(()=>{Ee.ShowAuswahl=!1,Ee.DBStandort.StandortfilterChanged.emit()});break;case Ee.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Jahr_Aendern:Ee.DB.CurrentJahr=re,yield Ee.Loadinganimation.ShowLoadingAnimation("Hinweis","Daten werden geladen"),yield Ee.DB.ReadFeiertage("DE"),yield Ee.DB.ReadFeiertage("BG"),yield Ee.DB.ReadFerien("DE"),yield Ee.DB.ReadFerien("BG"),yield Ee.Loadinganimation.HideLoadingAnimation(!0)}Ee.ShowAuswahl=!1,Ee.PrepareData()}catch(et){Ee.Debug.ShowErrorMessage(et.message,"Urlaubsuebersicht Page","AuswahlOkButtonClicked",Ee.Debug.Typen.Page)}})()}PrepareData(){var re=this;return n(function*(){try{let Ee=0;re.DB.Init(),re.DB.CheckSetup(),re.DB.SetPlanungsmonate(),re.DB.CountAnfragenanzahlen(),re.BundeslandAuswahlliste=[];for(let et of re.DB.Regionenliste)re.BundeslandAuswahlliste.push({Index:Ee,FirstColumn:et.Name,SecoundColumn:et.isoCode,Data:et.isoCode}),Ee++;re.DB.Bundesland=u.find(re.BundeslandAuswahlliste,{Data:re.DB.Bundeslandkuerzel}).FirstColumn}catch(Ee){re.Debug.ShowErrorMessage(Ee,"Urlaubsuebersicht Page","PrepareData",re.Debug.Typen.Page)}})()}FeiertagCrossedEventHandler(re){try{this.Message=re.Name,""!==re.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===re.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(Ee){this.Debug.ShowErrorMessage(Ee,"Urlaubsuebersicht Page","FeiertagCrossedEventHandler",this.Debug.Typen.Page)}}FerientagCrossedEventHandler(re){try{this.Message=re.Name,""!==re.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===re.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(Ee){this.Debug.ShowErrorMessage(Ee,"Urlaubsuebersicht Page","FerientagCrossedEventHandler",this.Debug.Typen.Page)}}GetDatum(re){return(0,c.default)(re).format("DD.MM.YYYY")}MitarebiterStandortfilterClickedHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.UrlaubUebersicht_Standort_Filter;let re=0;this.ShowAuswahl=!0,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:re,FirstColumn:"kein Filter",SecoundColumn:"",Data:null}),re++;for(let Ee of this.Pool.Standorteliste)this.Auswahlliste.push({Index:re,FirstColumn:Ee.Kuerzel,SecoundColumn:Ee.Standort,Data:Ee}),re++;this.Auswahlindex=null!==this.DBStandort.CurrentStandortfilter?u.findIndex(this.Pool.Standorteliste,{_id:this.DBStandort.CurrentStandortfilter._id}):0}catch(re){this.Debug.ShowErrorMessage(re.message,"Urlaubsuebersicht Page","MitarebiterStandortfilterClickedHandler",this.Debug.Typen.Page)}}DisplayExternCheckChanged(re,Ee,et){try{let vt=u.find(this.DB.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:Ee.MitarbeiterIDExtern});u.isUndefined(vt)||(vt.Display=re.status);let Tt=u.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.CurrentJahr});this.DB.CurrentMitarbeiter.Urlaubsliste[Tt]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.DB.ExterneUrlaubeChanged.emit()})}catch(vt){this.Debug.ShowErrorMessage(vt,"Urlaubsuebersicht Page","DisplayExternCheckChanged",this.Debug.Typen.Page)}}AnsichtFeiertageCheckChanged(re,Ee){try{switch(Ee){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_DE=re.status,this.DB.ShowFeiertage_DE=re.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_BG=re.status,this.DB.ShowFeiertage_BG=re.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(et){this.Debug.ShowErrorMessage(et,"Urlaubsuebersicht Page","AnsichtFeiertageCheckChanged",this.Debug.Typen.Page)}}AnsichtFerientageCheckChanged(re,Ee){try{switch(Ee){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFerien_DE=re.status,this.DB.ShowFerientage_DE=re.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFerien_BG=re.status,this.DB.ShowFerientage_BG=re.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(et){this.Debug.ShowErrorMessage(et,"Urlaubsuebersicht Page","AnsichtFerientageCheckChanged",this.Debug.Typen.Page)}}JahrButtonClicked(){try{this.Ansichtvariante=this.Ansichtenvarinaten.Gesamtjahr}catch(re){this.Debug.ShowErrorMessage(re,"Urlaubsuebersicht Page","JahrButtonClicked",this.Debug.Typen.Page)}}HalbjahrEinsButtonClicked(){try{this.Ansichtvariante=this.Ansichtenvarinaten.HalbjahrEins}catch(re){this.Debug.ShowErrorMessage(re,"Urlaubsuebersicht Page","HalbjahrEinsButtonClicked",this.Debug.Typen.Page)}}HalbjahrZweiButtonClicked(){try{this.Ansichtvariante=this.Ansichtenvarinaten.HalbjahrZwei}catch(re){this.Debug.ShowErrorMessage(re,"Urlaubsuebersicht Page","HalbjahrZweiButtonClicked",this.Debug.Typen.Page)}}UrlaubMitarbeiterMeClickedHandler(){try{this.DB.CurrentMitarbeiter=this.Pool.Mitarbeiterdaten,this.PrepareData()}catch(re){this.Debug.ShowErrorMessage(re,"Urlaubsuebersicht Page","UrlaubMitarbeiterMeClickedHandler",this.Debug.Typen.Page)}}JahrButtonClickedHandler(){try{let re=0,et=this.DB.Jahr+1;this.Auswahltitel="Jahr \xe4ndern",this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Jahr_Aendern,this.Auswahlliste=[];for(let vt=this.DB.Startjahr;vt<=et;vt++)this.Auswahlliste.push({Index:re++,FirstColumn:vt.toString(),SecoundColumn:"",Data:vt});this.ShowAuswahl=!0,this.Auswahlindex=u.findIndex(this.Auswahlliste,{Data:this.DB.CurrentJahr})}catch(re){this.Debug.ShowErrorMessage(re,"Urlaubsuebersicht Page","JahrButtonClickedHandler",this.Debug.Typen.Page)}}static \u0275fac=function(Ee){return new(Ee||Ae)(e.\u0275\u0275directiveInject(o.LoadingAnimationService),e.\u0275\u0275directiveInject(h.BasicsProvider),e.\u0275\u0275directiveInject(v.DatabasePoolService),e.\u0275\u0275directiveInject(M.DatabaseUrlaubService),e.\u0275\u0275directiveInject(p.ConstProvider),e.\u0275\u0275directiveInject(E.DatabaseMitarbeiterService),e.\u0275\u0275directiveInject(S.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(y.DatabaseStandorteService),e.\u0275\u0275directiveInject(f.AuswahlDialogService),e.\u0275\u0275directiveInject(C.DebugProvider))};static \u0275cmp=e.\u0275\u0275defineComponent({type:Ae,selectors:[["common-urlaub-uebersicht-page"]],viewQuery:function(Ee,et){if(1&Ee&&(e.\u0275\u0275viewQuery(A,5),e.\u0275\u0275viewQuery(H,5)),2&Ee){let vt;e.\u0275\u0275queryRefresh(vt=e.\u0275\u0275loadQuery())&&(et.PageHeader=vt.first),e.\u0275\u0275queryRefresh(vt=e.\u0275\u0275loadQuery())&&(et.PageFooter=vt.first)}},decls:45,vars:26,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"UrlaubMitarbeiterClicked","UrlaubMitarbeiterMeClicked","JahrButtonClicked"],[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(Ee,et){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 et.MitarbeiterWechselnClicked()})("UrlaubMitarbeiterMeClicked",function(){return et.UrlaubMitarbeiterMeClickedHandler()})("JahrButtonClicked",function(){return et.JahrButtonClickedHandler()}),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 et.JahrButtonClicked()}),e.\u0275\u0275text(15),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(16,"td")(17,"div",8),e.\u0275\u0275listener("click",function(){return et.HalbjahrEinsButtonClicked()}),e.\u0275\u0275text(18),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(19,"td")(20,"div",8),e.\u0275\u0275listener("click",function(){return et.HalbjahrZweiButtonClicked()}),e.\u0275\u0275text(21),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275template(22,X,3,1,"ng-container",9)(23,ce,6,1,"ng-container",9)(24,ct,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 et.LegendeVisible=!et.LegendeVisible}),e.\u0275\u0275element(30,"ion-icon",12),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(31,"td",13),e.\u0275\u0275template(32,Le,85,28,"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,Ue,2,1,"td",9)(42,Xe,2,1,"td",18),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275template(43,_e,1,7,"auswahl-dialog",19)(44,Fe,1,6,"fi-mitarbeiter-auswahl",20)),2&Ee&&(e.\u0275\u0275advance(14),e.\u0275\u0275styleProp("color",et.Ansichtvariante===et.Ansichtenvarinaten.Gesamtjahr?"orange":"black"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1("Gesamtjahr ",et.DB.CurrentJahr,""),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("color",et.Ansichtvariante===et.Ansichtenvarinaten.HalbjahrEins?"orange":"black"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1("1. Halbjahr ",et.DB.CurrentJahr,""),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("color",et.Ansichtvariante===et.Ansichtenvarinaten.HalbjahrZwei?"orange":"black"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1("2. Halbjahr ",et.DB.CurrentJahr,""),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",et.Ansichtvariante===et.Ansichtenvarinaten.Gesamtjahr),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",et.Ansichtvariante===et.Ansichtenvarinaten.HalbjahrEins),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",et.Ansichtvariante===et.Ansichtenvarinaten.HalbjahrZwei),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",et.Legendehoehe,"px")("width",et.Legendebreite,"px")("right",et.LegendeVisible?0:-(et.Legendebreite-14),"px"),e.\u0275\u0275advance(4),e.\u0275\u0275styleProp("height",et.Legendehoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275property("name",et.LegendeVisible?"caret-forward-outline":"caret-back-outline"),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",null!==et.Pool.Mitarbeitersettings),e.\u0275\u0275advance(9),e.\u0275\u0275property("ngIf",""!==et.Flagsource),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",""!==et.Message),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",et.ShowAuswahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",et.ShowMitarbeiterauswahl))},dependencies:[_.NgForOf,_.NgIf,w.IonContent,w.IonFooter,w.IonHeader,w.IonIcon,D.PageHeaderComponent,L.PageHeaderMenuComponent,N.PageFooterComponent,V.UrlaubsplanungKalenderComponent,G.AuswahlDialogComponent,R.CheckboxClonComponent,k.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 Ae})()},87848:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.CommonWartungPageModule=void 0;const n=s(81316),l=s(91368),u=s(92512),c=s(44716),i=s(500),e=s(70216),o=s(53076),h=s(6168),v=s(90520),M=s(7388),p=s(72284),E=s(10272),S=s(84104),y=n.__importStar(s(54496)),C=(n.__importStar(s(53076)),n.__importStar(s(92512))),_=n.__importStar(s(90212)),w=n.__importStar(s(29856)),D=[{path:"",component:i.CommonWartungPage}];m.CommonWartungPageModule=(()=>{class N{static \u0275fac=function(R){return new(R||N)};static \u0275mod=y.\u0275\u0275defineNgModule({type:N});static \u0275inj=y.\u0275\u0275defineInjector({imports:[l.CommonModule,c.FormsModule,u.IonicModule,e.PageHeaderModule,o.RouterModule.forChild(D),h.PageHeaderMenuModule,v.PageFooterModule,M.CheckboxClonModule,p.ButtonValueModule,E.AuswahlDialogModule,S.SafePipeModule]})}return N})(),y.\u0275\u0275setComponentScope(i.CommonWartungPage,function(){return[C.IonContent,C.IonFooter,C.IonHeader,C.IonIcon,C.IonText,_.PageHeaderComponent,w.PageFooterComponent]},[])},500:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.CommonWartungPage=void 0;const n=s(81316),l=n.__importStar(s(54496)),u=n.__importStar(s(7992)),c=n.__importStar(s(29743)),i=n.__importStar(s(14652)),e=n.__importStar(s(34388));m.CommonWartungPage=(()=>{class h{Pool;Const;Basics;Debug;constructor(M,p,E,S){this.Pool=M,this.Const=p,this.Basics=E,this.Debug=S}ngOnDestroy(){}ngOnInit(){}static \u0275fac=function(p){return new(p||h)(l.\u0275\u0275directiveInject(u.DatabasePoolService),l.\u0275\u0275directiveInject(c.ConstProvider),l.\u0275\u0275directiveInject(i.BasicsProvider),l.\u0275\u0275directiveInject(e.DebugProvider))};static \u0275cmp=l.\u0275\u0275defineComponent({type:h,selectors:[["common-wartung-page"]],decls:27,vars:4,consts:[[1,"ion-no-border"],["PageHeader",""],[2,"width","100%"],[2,"height","120px","font-size","200%","text-align","center","font-weight","bold","color","#307ac1"],["align","center"],[1,"buttonbigclass"],["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"],["PageFooter",""]],template:function(p,E){1&p&&(l.\u0275\u0275elementStart(0,"ion-header",0),l.\u0275\u0275element(1,"page-header",null,1),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(3,"ion-content")(4,"table",2)(5,"tr"),l.\u0275\u0275element(6,"td",3),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(7,"tr")(8,"td",4)(9,"div",5)(10,"table",2)(11,"tr")(12,"td",4),l.\u0275\u0275element(13,"ion-icon",6),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(14,"tr")(15,"td",7)(16,"ion-text",8),l.\u0275\u0275text(17,"Urlaub - Homeoffice - Planer"),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275elementStart(18,"tr")(19,"td",9),l.\u0275\u0275text(20),l.\u0275\u0275elementEnd()()()()()(),l.\u0275\u0275elementStart(21,"tr")(22,"td",3),l.\u0275\u0275text(23,"Die App steht ab Dienstag, den 21.05.24 zu eurer Verf\xfcgung."),l.\u0275\u0275elementEnd()()()(),l.\u0275\u0275elementStart(24,"ion-footer"),l.\u0275\u0275element(25,"page-footer",null,10),l.\u0275\u0275elementEnd()),2&p&&(l.\u0275\u0275advance(13),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," "))},styles:[".buttonbigclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border:2px solid gray;border-radius:10px;width:360px;height:220px;cursor:pointer;background:#fff}"]})}return h})()},99988:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.FIMitarbeiterlistePageModule=void 0;const n=s(81316),l=s(91368),u=s(44716),c=s(53076),i=s(92512),e=s(54780),o=s(70216),h=s(6512),v=s(87143),M=s(90520),p=s(6168),E=s(27328),S=s(10272),y=s(7388),f=n.__importStar(s(54496)),_=(n.__importStar(s(53076)),[{path:"",component:e.FiMitarbeiterlistePage}]);m.FIMitarbeiterlistePageModule=(()=>{class D{static \u0275fac=function(V){return new(V||D)};static \u0275mod=f.\u0275\u0275defineNgModule({type:D});static \u0275inj=f.\u0275\u0275defineInjector({imports:[l.CommonModule,u.FormsModule,u.ReactiveFormsModule,i.IonicModule,c.RouterModule.forChild(_),o.PageHeaderModule,M.PageFooterModule,h.AbstandElementFixedModule,v.AlphabetModule,p.PageHeaderMenuModule,E.FiMitarbeiterEditorModule,S.AuswahlDialogModule,y.CheckboxClonModule]})}return D})()},54780:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.FiMitarbeiterlistePage=void 0;const n=s(81316),l=n.__importStar(s(17964)),u=n.__importStar(s(54496)),c=n.__importStar(s(14652)),i=n.__importStar(s(34388)),e=n.__importStar(s(19668)),o=n.__importStar(s(29743)),h=n.__importStar(s(34636)),v=n.__importStar(s(22848)),M=n.__importStar(s(58864)),p=n.__importStar(s(48044)),E=n.__importStar(s(7992)),S=n.__importStar(s(91368)),y=n.__importStar(s(92512)),f=n.__importStar(s(90212)),C=n.__importStar(s(29856)),_=n.__importStar(s(99031)),w=n.__importStar(s(63792)),D=n.__importStar(s(82384)),L=n.__importStar(s(56584)),N=n.__importStar(s(25856)),V=["Alphabet"],G=["PageHeader"],R=["PageFooter"];function k(_e,Fe){if(1&_e&&(u.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col",23)(2,"ion-text",40)(3,"b"),u.\u0275\u0275text(4),u.\u0275\u0275elementEnd()()()()),2&_e){const Ce=u.\u0275\u0275nextContext().index,Ae=u.\u0275\u0275nextContext(2);u.\u0275\u0275advance(4),u.\u0275\u0275textInterpolate(Ae.Mitarbeiterbuchstabenliste[Ce])}}function A(_e,Fe){1&_e&&(u.\u0275\u0275elementStart(0,"td"),u.\u0275\u0275element(1,"img",43),u.\u0275\u0275elementEnd())}function H(_e,Fe){if(1&_e&&(u.\u0275\u0275elementStart(0,"tr")(1,"td"),u.\u0275\u0275element(2,"div",42),u.\u0275\u0275elementEnd(),u.\u0275\u0275template(3,A,2,0,"td",11),u.\u0275\u0275elementStart(4,"td"),u.\u0275\u0275text(5),u.\u0275\u0275elementEnd()()),2&_e){const Ce=u.\u0275\u0275nextContext(2).$implicit,Ae=u.\u0275\u0275nextContext(2);u.\u0275\u0275advance(2),u.\u0275\u0275styleProp("background",Ce.Archiviert?"red":"green"),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",Ce.Email===Ae.Pool.Mitarbeiterdaten.Email&&""===Ce.Kuerzel||""===Ce.StandortID),u.\u0275\u0275advance(2),u.\u0275\u0275textInterpolate3(" ",Ce.Name," ",Ce.Vorname," / ",Ce.Kuerzel," ")}}function K(_e,Fe){1&_e&&(u.\u0275\u0275elementStart(0,"td"),u.\u0275\u0275element(1,"img",43),u.\u0275\u0275elementEnd())}function ie(_e,Fe){if(1&_e&&(u.\u0275\u0275elementStart(0,"tr")(1,"td"),u.\u0275\u0275element(2,"div",42),u.\u0275\u0275elementEnd(),u.\u0275\u0275template(3,K,2,0,"td",11),u.\u0275\u0275elementStart(4,"td")(5,"span"),u.\u0275\u0275text(6),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(7,"span",44),u.\u0275\u0275text(8),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(9,"span"),u.\u0275\u0275text(10),u.\u0275\u0275elementEnd(),u.\u0275\u0275text(11),u.\u0275\u0275elementEnd()()),2&_e){const Ce=u.\u0275\u0275nextContext(2).$implicit,Ae=u.\u0275\u0275nextContext(2);u.\u0275\u0275advance(2),u.\u0275\u0275styleProp("background",Ce.Archiviert?"red":"green"),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",Ce.Email===Ae.Pool.Mitarbeiterdaten.Email&&""===Ce.Kuerzel||""===Ce.StandortID),u.\u0275\u0275advance(3),u.\u0275\u0275textInterpolate(Ce.Text_A),u.\u0275\u0275advance(2),u.\u0275\u0275textInterpolate(Ce.Text_B),u.\u0275\u0275advance(2),u.\u0275\u0275textInterpolate(Ce.Text_C),u.\u0275\u0275advance(),u.\u0275\u0275textInterpolate1(" / ",Ce.Kuerzel," ")}}function X(_e,Fe){if(1&_e&&(u.\u0275\u0275elementStart(0,"table",41),u.\u0275\u0275template(1,H,6,6,"tr",11)(2,ie,12,7,"tr",11),u.\u0275\u0275elementEnd()),2&_e){const Ce=u.\u0275\u0275nextContext().$implicit;u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",!Ce.Filtered),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",Ce.Filtered)}}function be(_e,Fe){1&_e&&(u.\u0275\u0275elementStart(0,"table",45)(1,"tr")(2,"td"),u.\u0275\u0275element(3,"ion-icon",46),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(4,"td",47),u.\u0275\u0275text(5,"Administrator"),u.\u0275\u0275elementEnd()()())}function ce(_e,Fe){if(1&_e&&(u.\u0275\u0275elementStart(0,"table",45)(1,"tr")(2,"td"),u.\u0275\u0275element(3,"ion-icon",48),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(4,"td",47),u.\u0275\u0275text(5,"Urlaubsfreigaben"),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(6,"tr"),u.\u0275\u0275element(7,"td"),u.\u0275\u0275elementStart(8,"td",49),u.\u0275\u0275text(9),u.\u0275\u0275elementEnd()()()),2&_e){const Ce=u.\u0275\u0275nextContext().$implicit,Ae=u.\u0275\u0275nextContext(2);u.\u0275\u0275advance(9),u.\u0275\u0275textInterpolate(Ae.GetStandortliste(Ce.Urlaubsfreigabeorte))}}function ze(_e,Fe){if(1&_e&&(u.\u0275\u0275elementStart(0,"table",45)(1,"tr")(2,"td"),u.\u0275\u0275element(3,"ion-icon",50),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(4,"td",47),u.\u0275\u0275text(5,"Homeofficefreigaben"),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(6,"tr"),u.\u0275\u0275element(7,"td"),u.\u0275\u0275elementStart(8,"td",49),u.\u0275\u0275text(9),u.\u0275\u0275elementEnd()()()),2&_e){const Ce=u.\u0275\u0275nextContext().$implicit,Ae=u.\u0275\u0275nextContext(2);u.\u0275\u0275advance(9),u.\u0275\u0275textInterpolate(Ae.GetStandortliste(Ce.Homeofficefreigabestandorte))}}function ct(_e,Fe){if(1&_e){const Ce=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"ion-item",21),u.\u0275\u0275listener("click",function(){const re=u.\u0275\u0275restoreView(Ce).$implicit,Ee=u.\u0275\u0275nextContext(2);return u.\u0275\u0275resetView(Ee.MitrabeiterButtonClicked(re))}),u.\u0275\u0275elementStart(1,"ion-grid",22),u.\u0275\u0275template(2,k,5,1,"ion-row",11),u.\u0275\u0275elementStart(3,"ion-row")(4,"ion-col",23)(5,"div",24)(6,"table",14)(7,"tr")(8,"td",25)(9,"table",26)(10,"tr")(11,"td"),u.\u0275\u0275template(12,X,3,2,"table",27),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(13,"tr")(14,"td")(15,"table",28)(16,"tr"),u.\u0275\u0275element(17,"td",29),u.\u0275\u0275elementStart(18,"td",30),u.\u0275\u0275text(19,"Standort:"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(20,"td",31),u.\u0275\u0275text(21),u.\u0275\u0275elementEnd(),u.\u0275\u0275element(22,"td",32),u.\u0275\u0275elementStart(23,"td",33),u.\u0275\u0275text(24,"Email:"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(25,"td",8),u.\u0275\u0275text(26),u.\u0275\u0275elementEnd(),u.\u0275\u0275element(27,"td",32),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(28,"tr"),u.\u0275\u0275element(29,"td",29),u.\u0275\u0275elementStart(30,"td",30),u.\u0275\u0275text(31,"Position:"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(32,"td",31),u.\u0275\u0275text(33),u.\u0275\u0275elementEnd(),u.\u0275\u0275element(34,"td",32)(35,"td",34),u.\u0275\u0275elementEnd()()()()()(),u.\u0275\u0275elementStart(36,"td",35)(37,"table",36)(38,"tr")(39,"td",37),u.\u0275\u0275template(40,be,6,0,"table",38),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(41,"td",37),u.\u0275\u0275template(42,ce,10,1,"table",38),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(43,"td",37),u.\u0275\u0275template(44,ze,10,1,"table",38),u.\u0275\u0275elementEnd(),u.\u0275\u0275element(45,"td",39),u.\u0275\u0275elementEnd()()()()()()()()()()}if(2&_e){const Ce=Fe.$implicit,Ae=Fe.index,Be=u.\u0275\u0275nextContext(2);u.\u0275\u0275advance(2),u.\u0275\u0275property("ngIf",""!==Be.Mitarbeiterbuchstabenliste[Ae]),u.\u0275\u0275advance(10),u.\u0275\u0275property("ngIf",null!==Ce&&null!==Be.Pool.Mitarbeiterdaten),u.\u0275\u0275advance(9),u.\u0275\u0275textInterpolate(Be.DBStandort.GetStandort(Ce.StandortID)),u.\u0275\u0275advance(5),u.\u0275\u0275textInterpolate(Ce.Email),u.\u0275\u0275advance(7),u.\u0275\u0275textInterpolate(Be.DB.GetPositionsbezeichnung(Ce.PositionID)),u.\u0275\u0275advance(7),u.\u0275\u0275property("ngIf",Ce.Planeradministrator),u.\u0275\u0275advance(2),u.\u0275\u0275property("ngIf",Ce.Urlaubsfreigaben),u.\u0275\u0275advance(2),u.\u0275\u0275property("ngIf",Ce.Homeofficefreigaben)}}function xe(_e,Fe){if(1&_e&&(u.\u0275\u0275elementStart(0,"ion-list"),u.\u0275\u0275template(1,ct,46,8,"ion-item",20),u.\u0275\u0275elementEnd()),2&_e){const Ce=u.\u0275\u0275nextContext();u.\u0275\u0275advance(),u.\u0275\u0275property("ngForOf",Ce.Mitarbeiterliste)}}function Ie(_e,Fe){1&_e&&(u.\u0275\u0275elementStart(0,"table",51)(1,"tr")(2,"td",52),u.\u0275\u0275text(3," keine Mitarbeiter vorhanden "),u.\u0275\u0275elementEnd()()())}function Le(_e,Fe){if(1&_e){const Ce=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"fi-mitarbeiter-editor",53),u.\u0275\u0275listener("StandortClickedEvent",function(){u.\u0275\u0275restoreView(Ce);const Be=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(Be.StandortClickedHandler())})("CancelClickedEvent",function(){u.\u0275\u0275restoreView(Ce);const Be=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(Be.ShowEditor=!1)})("OkClickedEvent",function(){u.\u0275\u0275restoreView(Ce);const Be=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(Be.ShowEditor=!1)})("ResturlaubEvent",function(){u.\u0275\u0275restoreView(Ce);const Be=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(Be.ResturlaubClicked())})("AnredeClickedEvent",function(){u.\u0275\u0275restoreView(Ce);const Be=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(Be.AnredeClickedEventHandler())})("PositionClickedEvent",function(){u.\u0275\u0275restoreView(Ce);const Be=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(Be.PositionClickedEventHandler())})("UrlaubClickedEvent",function(){u.\u0275\u0275restoreView(Ce);const Be=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(Be.UrlaubClickedEventHandler())}),u.\u0275\u0275elementEnd()}if(2&_e){const Ce=u.\u0275\u0275nextContext();u.\u0275\u0275property("Dialogbreite",1280)("Titel",Ce.GetDialogTitel())}}function Ue(_e,Fe){if(1&_e){const Ce=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"auswahl-dialog",54),u.\u0275\u0275listener("OkClickedEvent",function(Be){u.\u0275\u0275restoreView(Ce);const re=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(re.AuswahlOkButtonClicked(Be))})("CancelClickedEvent",function(){u.\u0275\u0275restoreView(Ce);const Be=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(Be.ShowAuswahl=!1)}),u.\u0275\u0275elementEnd()}if(2&_e){const Ce=u.\u0275\u0275nextContext();u.\u0275\u0275property("Auswahlliste",Ce.Auswahlliste)("Auswahlindex",Ce.Auswahlindex)("Dialogbreite",300)("PositionY",100)("Titel",Ce.Auswahltitel)("Iconname",Ce.GetDialogTitelicon())}}m.FiMitarbeiterlistePage=(()=>{class _e{Basics;Debug;Tools;Const;Security;DB;DBStandort;Auswahlservice;Pool;Alphabetcomponent;PageHeader;PageFooter;ListeSubscription;Mitarbeiterliste;Mitarbeiteralphabet;Alphapetbreite;Mitarbeiteralphabetauswahl;HideAuswahl;Auswahlliste;Auswahlindex;Auswahltitel;Lastletter;Mitarbeiterbuchstabenliste;Standardalphabet;Zusatzbuttonliste;Mitarbeiterfiltertext;Listenbreite;ShowEditor;ShowAuswahl;Auswahldialogorigin;StandortfilterSubsciption;ShowMeOnly;ShowArchivierte;ShowAktuelle;Freigabefiltervarianten={Keiner:"keiner",Administrator:"Administrator",Urlaubsfreigaben:"Urlaubsfreigaben",Homeofficefreigaben:"Homeofficefreigaben"};Freigabefilter;constructor(Ce,Ae,Be,re,Ee,et,vt,Tt,dt){this.Basics=Ce,this.Debug=Ae,this.Tools=Be,this.Const=re,this.Security=Ee,this.DB=et,this.DBStandort=vt,this.Auswahlservice=Tt,this.Pool=dt;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.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,this.Freigabefilter=this.Freigabefiltervarianten.Keiner}catch(ot){this.Debug.ShowErrorMessage(ot.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(Ce){this.Debug.ShowErrorMessage(Ce.message,"Mitarbeiterliste","OnDestroy",this.Debug.Typen.Page)}}ngOnInit(){try{this.Security.CheckSecurity(),this.ListeSubscription=this.Pool.MitarbeiterlisteChanged.subscribe(()=>{this.PrepareDaten()}),this.StandortfilterSubsciption=this.DBStandort.StandortfilterChanged.subscribe(()=>{this.PrepareDaten()}),this.PrepareDaten()}catch(Ce){this.Debug.ShowErrorMessage(Ce.message,"Mitarbeiterliste","OnInit",this.Debug.Typen.Page)}}ResetSucheButtonClicked(){try{this.Mitarbeiterfiltertext="",this.Mitarbeiteralphabetauswahl="Alle",this.PrepareDaten()}catch(Ce){this.Debug.ShowErrorMessage(Ce.message,"Mitarbeiterliste","ResetSucheButtonClicked",this.Debug.Typen.Page)}}ionViewDidEnter(){try{let Ce=typeof this.Alphabetcomponent.Breite<"u"?this.Alphabetcomponent.Breite:40;this.Basics.MeassureInnercontent(this.PageHeader,this.PageFooter),this.Listenbreite=this.Basics.Contentbreite-Ce-4,this.Alphabetcomponent.InitScreen()}catch(Ce){this.Debug.ShowErrorMessage(Ce.message,"Mitarbeiterliste","ionViewDidEnter",this.Debug.Typen.Page)}}ionViewDidLeave(){}MitrabeiterButtonClicked(Ce){try{this.DB.CurrentMitarbeiter=l.cloneDeep(Ce),this.ShowEditor=!0}catch(Ae){this.Debug.ShowErrorMessage(Ae.message,"Mitarbeiterliste","MitrabeiterButtonClicked",this.Debug.Typen.Page)}}AddMitarbeiterButtonClicked(){try{this.DB.CurrentMitarbeiter=this.DB.GetEmptyMitarbeiter(),this.ShowEditor=!0}catch(Ce){this.Debug.ShowErrorMessage(Ce.message,"Mitarbeiterliste","AddMitarbeiterButtonClicked",this.Debug.Typen.Page)}}AlphabetClicked(Ce){try{this.Mitarbeiterfiltertext="",this.Mitarbeiteralphabetauswahl=Ce,this.PrepareDaten()}catch(Ae){this.Debug.ShowErrorMessage(Ae.message,"Mitarbeiterliste","AlphabetClicked",this.Debug.Typen.Page)}}GetMitarbeiterAlphabetbuchstabe(Ce){try{let Ae=Ce.Name.substring(0,1).toUpperCase();return Ae!==this.Lastletter?(this.Lastletter=Ae,Ae):""}catch(Ae){this.Debug.ShowErrorMessage(Ae.message,"Mitarbeiterliste","GetMitarbeiterAlphabetbuchstabe",this.Debug.Typen.Page)}}PrepareDaten(){try{let Ce,Ae,Be,re,Ee,et,vt,Tt,dt,ot,Vt,nn;if(null!==this.Pool.Mitarbeiterliste){if(re=l.cloneDeep(this.Pool.Mitarbeiterliste),this.Lastletter="",re.sort((vn,zt)=>vn.Name>zt.Name?-1:vn.Namevn.Archiviert):this.ShowAktuelle?Ce=l.filter(Ce,vn=>!vn.Archiviert):!1===this.ShowArchivierte&&!1===this.ShowAktuelle&&(Ce=[])),this.Freigabefilter!==this.Freigabefiltervarianten.Keiner)switch(this.Freigabefilter){case this.Freigabefiltervarianten.Administrator:Ce=l.filter(Ce,{Planeradministrator:!0});break;case this.Freigabefiltervarianten.Urlaubsfreigaben:Ce=l.filter(Ce,{Urlaubsfreigaben:!0});break;case this.Freigabefiltervarianten.Homeofficefreigaben:Ce=l.filter(Ce,{Homeofficefreigaben:!0})}if(null!==this.DBStandort.CurrentStandortfilter&&(Ce=l.filter(Ce,vn=>vn.StandortID===this.DBStandort.CurrentStandortfilter._id)),Ce.sort((vn,zt)=>vn.Namezt.Name?1:0),Ce.length>6){this.Mitarbeiteralphabet=["Alle"];for(let vn of Ce)Be=vn.Name.substring(0,1).toUpperCase(),-1===this.Mitarbeiteralphabet.indexOf(Be)&&this.Mitarbeiteralphabet.push(Be)}else this.Mitarbeiteralphabet=this.Standardalphabet;if("Alle"!==this.Mitarbeiteralphabetauswahl){Ae=l.cloneDeep(Ce),Ce=[];for(let vn of Ae)Be=vn.Name.substring(0,1).toUpperCase(),Be="\xc4"===Be?"A":Be,Be="\xd6"===Be?"O":Be,Be="\xdc"===Be?"U":Be,this.Mitarbeiteralphabetauswahl===Be&&Ce.push(vn)}if(""!==this.Mitarbeiterfiltertext){Ae=l.cloneDeep(Ce),Ce=[];for(let vn of Ae)Vt=this.Mitarbeiterfiltertext.toLowerCase(),nn=vn.Name.toLowerCase(),ot=nn.indexOf(Vt),-1!==ot&&(Ee=vn.Name.length,dt=Vt.length,et=vn.Name.substr(0,ot),vt=vn.Name.substr(ot,dt),dt=Ee-dt-ot,Tt=vn.Name.substr(Ee-dt,dt),vn.Filtered=!0,vn.Text_A=et,vn.Text_B=vt,vn.Text_C=Tt,Ce.push(vn))}this.Mitarbeiterbuchstabenliste=[];for(let vn of Ce)this.Mitarbeiterbuchstabenliste.push(this.GetMitarbeiterAlphabetbuchstabe(vn));this.Mitarbeiterliste=l.cloneDeep(Ce)}}catch(Ce){this.Debug.ShowErrorMessage(Ce.message,"Mitarbeiterliste","PrepareDaten",this.Debug.Typen.Page)}}GetDialogTitel(){try{return null!==this.DB.CurrentMitarbeiter?null===this.DB.CurrentMitarbeiter._id?"Neuen Mitarbeiter anlegen":"Mitarbeiter bearbeiten":"Unbekannt"}catch(Ce){this.Debug.ShowErrorMessage(Ce.message,"Mitarbeiterliste","GetDialogTitel",this.Debug.Typen.Page)}}StandortClickedHandler(){try{let Ce=0;this.ShowAuswahl=!0,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Standort;for(let Ae of this.Pool.Standorteliste)this.Auswahlliste.push({Index:Ce,FirstColumn:Ae.Kuerzel,SecoundColumn:Ae.Ort,Data:Ae}),Ce++;this.Auswahlindex=l.findIndex(this.Pool.Standorteliste,{_id:this.DB.CurrentMitarbeiter.StandortID})}catch(Ce){this.Debug.ShowErrorMessage(Ce.message,"Mitarbeiterliste","StandortClickedHandler",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(Ce){try{switch(this.Auswahldialogorigin){case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Anrede:this.DB.CurrentMitarbeiter.Anrede=Ce;break;case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Urlaub:this.DB.CurrentMitarbeiter.Urlaub=Ce;break;case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Standort:this.DB.CurrentMitarbeiter.StandortID=Ce._id;break;case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Liste_Position:this.DB.CurrentMitarbeiter.PositionID=Ce;break;case"Resturlaub":this.DB.CurrentMitarbeiter.Resturlaub=Ce;break;case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Liste_Standortfilter:this.DBStandort.CurrentStandortfilter=Ce,this.Pool.Mitarbeitersettings.StandortFilter=null!==Ce?Ce._id:this.Const.NONE,this.Mitarbeiteralphabetauswahl="Alle",this.DB.UpdateMitarbeiter(this.Pool.Mitarbeiterdaten).then(()=>{this.DBStandort.StandortfilterChanged.emit()}).catch(Ae=>{this.Debug.ShowErrorMessage(Ae.message,"Mitarbeiterliste","AuswahlOkButtonClicked",this.Debug.Typen.Page)}),this.PrepareDaten()}this.ShowAuswahl=!1}catch(Ae){this.Debug.ShowErrorMessage(Ae.message,"Mitarbeiterliste","AuswahlOkButtonClicked",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(Ce){this.Debug.ShowErrorMessage(Ce.message,"Mitarbeiterliste","GetDialogTitelicon",this.Debug.Typen.Page)}}SucheChanged(Ce){try{this.Mitarbeiteralphabetauswahl="Alle",this.Mitarbeiterfiltertext=Ce,this.PrepareDaten()}catch(Ae){this.Debug.ShowErrorMessage(Ae.message,"Mitarbeiterliste","SucheChanged",this.Debug.Typen.Page)}}StandortFilterClickedHandler(){try{let Ce=0;this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Liste_Standortfilter,this.ShowAuswahl=!0,this.Auswahltitel="Standortfilter festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:Ce,FirstColumn:"----",SecoundColumn:"kein Filter",Data:null}),Ce++;for(let Ae of this.Pool.Standorteliste)this.Auswahlliste.push({Index:Ce,FirstColumn:Ae.Kuerzel,SecoundColumn:Ae.Ort,Data:Ae}),Ce++;null===this.DBStandort.CurrentStandortfilter?this.Auswahlindex=0:(this.Auswahlindex=l.findIndex(this.Pool.Standorteliste,{_id:this.DBStandort.CurrentStandortfilter._id}),this.Auswahlindex++)}catch(Ce){this.Debug.ShowErrorMessage(Ce.message,"Mitarbeiterliste","StandortFilterClickedHandler",this.Debug.Typen.Page)}}ShowMeCheckedChanged(Ce){try{this.ShowMeOnly=Ce.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(Ae){this.Debug.ShowErrorMessage(Ae,"Mitarbeiterliste","ShowMeCheckedChanged",this.Debug.Typen.Page)}}ShowArchivierteChanged(Ce){try{this.ShowArchivierte=Ce.status,this.PrepareDaten()}catch(Ae){this.Debug.ShowErrorMessage(Ae,"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=l.findIndex(this.Auswahlliste,{Data:this.DB.CurrentMitarbeiter.Anrede})}catch(Ce){this.Debug.ShowErrorMessage(Ce,"Mitarbeiterliste","AnredeClickedEventHandler",this.Debug.Typen.Page)}}UrlaubClickedEventHandler(){let Ce=0;this.ShowAuswahl=!0,this.Auswahltitel="Urlaubstage festlegen",this.Auswahlliste=[],this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Urlaub;for(let Ae=0;Ae<=40;Ae+=.5)this.Auswahlliste.push({Index:Ce,FirstColumn:Ae.toFixed(1),SecoundColumn:1===Ae?"Tag":"Tage",Data:Ae}),Ce++;this.Auswahlindex=l.findIndex(this.Auswahlliste,{Data:this.DB.CurrentMitarbeiter.Urlaub})}catch(Ce){this.Debug.ShowErrorMessage(Ce,"Mitarbeiterliste","UrlaubClickedEventHandler",this.Debug.Typen.Page)}ShowAktuelleChanged(Ce){try{this.ShowAktuelle=Ce.status,this.PrepareDaten()}catch(Ae){this.Debug.ShowErrorMessage(Ae,"Mitarbeiterliste","ShowAktuelleChanged",this.Debug.Typen.Page)}}GetStandortliste(Ce){try{let Ae,Be=[],re="",Ee=0;for(let et of Ce)Ae=l.find(this.Pool.Standorteliste,{_id:et}),l.isUndefined(Ae)||Be.push(Ae);for(Ae of(Be.sort((et,vt)=>et.Ortvt.Ort?1:0),Be))re+=Ae.Ort.substring(0,3).toUpperCase(),EeAe.Data===this.DB.CurrentMitarbeiter.Resturlaub),this.ShowAuswahl=!0}catch(Ce){this.Debug.ShowErrorMessage(Ce,"Mitarbeiterliste","ResturlaubClicked",this.Debug.Typen.Page)}}static \u0275fac=function(Ae){return new(Ae||_e)(u.\u0275\u0275directiveInject(c.BasicsProvider),u.\u0275\u0275directiveInject(i.DebugProvider),u.\u0275\u0275directiveInject(e.ToolsProvider),u.\u0275\u0275directiveInject(o.ConstProvider),u.\u0275\u0275directiveInject(h.SecurityService),u.\u0275\u0275directiveInject(v.DatabaseMitarbeiterService),u.\u0275\u0275directiveInject(M.DatabaseStandorteService),u.\u0275\u0275directiveInject(p.AuswahlDialogService),u.\u0275\u0275directiveInject(E.DatabasePoolService))};static \u0275cmp=u.\u0275\u0275defineComponent({type:_e,selectors:[["fi-mitarbeiterliste-page"]],viewQuery:function(Ae,Be){if(1&Ae&&(u.\u0275\u0275viewQuery(V,5),u.\u0275\u0275viewQuery(G,5),u.\u0275\u0275viewQuery(R,5)),2&Ae){let re;u.\u0275\u0275queryRefresh(re=u.\u0275\u0275loadQuery())&&(Be.Alphabetcomponent=re.first),u.\u0275\u0275queryRefresh(re=u.\u0275\u0275loadQuery())&&(Be.PageHeader=re.first),u.\u0275\u0275queryRefresh(re=u.\u0275\u0275loadQuery())&&(Be.PageFooter=re.first)}},decls:57,vars:21,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"ShowSuchleiste","ShowSandortfilter","ShowMitarbeitertitle","SucheChanged","StandortfilterClicked"],[3,"value","ionChange"],[1,"paddingtable"],[3,"Checked","CheckChanged"],[2,"color","white"],[2,"width","6px"],[2,"width","200px"],[2,"--color","white","--color-checked","white",3,"value"],["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","ResturlaubEvent","AnredeClickedEvent","PositionClickedEvent","UrlaubClickedEvent",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"],[2,"width","70%"],["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","140px"],[2,"width","20px"],[1,"ergonametextclass",2,"width","60px"],["colspan","3"],["align","right",2,"width","auto"],["width","600px"],["valign","top",2,"width","30%"],["class","paddingsmalltable",4,"ngIf"],[2,"width","10%"],["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"],[1,"paddingsmalltable"],["name","shield-half-outline","color","rot",2,"font-size","20px"],[2,"font-size","90%","font-weight","bold"],["name","sunny","color","orange",2,"font-size","20px"],[2,"font-size","80%","color","#444444"],["name","home","color","blau",2,"font-size","20px"],["width","100%",1,"paddingtable"],[2,"height","80px","text-align","center","vertical-align","center"],["Iconname","people-outline",3,"Dialogbreite","Titel","StandortClickedEvent","CancelClickedEvent","OkClickedEvent","ResturlaubEvent","AnredeClickedEvent","PositionClickedEvent","UrlaubClickedEvent"],[3,"Auswahlliste","Auswahlindex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent"]],template:function(Ae,Be){if(1&Ae&&(u.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),u.\u0275\u0275listener("SucheChanged",function(Ee){return Be.SucheChanged(Ee)})("StandortfilterClicked",function(){return Be.StandortFilterClickedHandler()}),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(4,"ion-radio-group",3),u.\u0275\u0275listener("ionChange",function(Ee){return Be.FreigabefilterChanged(Ee)}),u.\u0275\u0275elementStart(5,"table",4)(6,"tr")(7,"td")(8,"checkbox-clon",5),u.\u0275\u0275listener("CheckChanged",function(Ee){return Be.ShowMeCheckedChanged(Ee)}),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(9,"td",6),u.\u0275\u0275text(10,"Nur meinen Eintrag anzeigen"),u.\u0275\u0275elementEnd(),u.\u0275\u0275element(11,"td",7),u.\u0275\u0275elementStart(12,"td")(13,"checkbox-clon",5),u.\u0275\u0275listener("CheckChanged",function(Ee){return Be.ShowAktuelleChanged(Ee)}),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(14,"td",6),u.\u0275\u0275text(15,"Aktuelle Eintr\xe4ge anzeigen"),u.\u0275\u0275elementEnd(),u.\u0275\u0275element(16,"td",7),u.\u0275\u0275elementStart(17,"td")(18,"checkbox-clon",5),u.\u0275\u0275listener("CheckChanged",function(Ee){return Be.ShowArchivierteChanged(Ee)}),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(19,"td",6),u.\u0275\u0275text(20,"Archivierte Eintr\xe4ge anzeigen"),u.\u0275\u0275elementEnd(),u.\u0275\u0275element(21,"td",8),u.\u0275\u0275elementStart(22,"td"),u.\u0275\u0275text(23,"Freigabefilter:"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(24,"td",6),u.\u0275\u0275element(25,"ion-radio",9),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(26,"td"),u.\u0275\u0275text(27,"keiner"),u.\u0275\u0275elementEnd(),u.\u0275\u0275element(28,"td",7),u.\u0275\u0275elementStart(29,"td",6),u.\u0275\u0275element(30,"ion-radio",9),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(31,"td"),u.\u0275\u0275text(32,"Administrator"),u.\u0275\u0275elementEnd(),u.\u0275\u0275element(33,"td",7),u.\u0275\u0275elementStart(34,"td",6),u.\u0275\u0275element(35,"ion-radio",9),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(36,"td"),u.\u0275\u0275text(37,"Urlaubsfreigaben"),u.\u0275\u0275elementEnd(),u.\u0275\u0275element(38,"td",7),u.\u0275\u0275elementStart(39,"td",6),u.\u0275\u0275element(40,"ion-radio",9),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(41,"td"),u.\u0275\u0275text(42,"Homeofficefreigaben"),u.\u0275\u0275elementEnd()()()()()(),u.\u0275\u0275elementStart(43,"ion-content",10),u.\u0275\u0275template(44,xe,2,1,"ion-list",11)(45,Ie,4,0,"table",12),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(46,"ion-footer")(47,"page-footer",null,13)(49,"table",14)(50,"tr")(51,"td",15),u.\u0275\u0275text(52),u.\u0275\u0275elementEnd()()()()(),u.\u0275\u0275template(53,Le,1,2,"fi-mitarbeiter-editor",16)(54,Ue,1,6,"auswahl-dialog",17),u.\u0275\u0275elementStart(55,"alphabet",18,19),u.\u0275\u0275listener("AlphabetClicked",function(Ee){return Be.AlphabetClicked(Ee)}),u.\u0275\u0275elementEnd()),2&Ae){const re=u.\u0275\u0275reference(2),Ee=u.\u0275\u0275reference(48);u.\u0275\u0275advance(3),u.\u0275\u0275property("ShowSuchleiste",!0)("ShowSandortfilter",!0)("ShowMitarbeitertitle",!0),u.\u0275\u0275advance(),u.\u0275\u0275property("value",Be.Freigabefilter),u.\u0275\u0275advance(4),u.\u0275\u0275property("Checked",Be.ShowMeOnly),u.\u0275\u0275advance(5),u.\u0275\u0275property("Checked",Be.ShowAktuelle),u.\u0275\u0275advance(5),u.\u0275\u0275property("Checked",Be.ShowArchivierte),u.\u0275\u0275advance(7),u.\u0275\u0275property("value",Be.Freigabefiltervarianten.Keiner),u.\u0275\u0275advance(5),u.\u0275\u0275property("value",Be.Freigabefiltervarianten.Administrator),u.\u0275\u0275advance(5),u.\u0275\u0275property("value",Be.Freigabefiltervarianten.Urlaubsfreigaben),u.\u0275\u0275advance(5),u.\u0275\u0275property("value",Be.Freigabefiltervarianten.Homeofficefreigaben),u.\u0275\u0275advance(4),u.\u0275\u0275property("ngIf",Be.Mitarbeiterliste&&Be.Mitarbeiterliste.length>0),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",0===Be.Mitarbeiterliste.length),u.\u0275\u0275advance(7),u.\u0275\u0275textInterpolate1(" ",Be.Mitarbeiterliste.length," Eintr\xe4ge "),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",Be.ShowEditor),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",Be.ShowAuswahl),u.\u0275\u0275advance(),u.\u0275\u0275property("PageHeader",re)("PageFooter",Ee)("Breite",Be.Alphapetbreite)("Buchstabenliste",Be.Mitarbeiteralphabet)("Auswahl",Be.Mitarbeiteralphabetauswahl)}},dependencies:[S.NgForOf,S.NgIf,y.IonCol,y.IonContent,y.IonFooter,y.IonGrid,y.IonHeader,y.IonIcon,y.IonItem,y.IonList,y.IonRadio,y.IonRadioGroup,y.IonRow,y.IonText,y.RadioValueAccessor,y.SelectValueAccessor,f.PageHeaderComponent,C.PageFooterComponent,_.AlphabetComponent,w.PageHeaderMenuComponent,D.FiMitarbeiterEditorComponent,L.AuswahlDialogComponent,N.CheckboxClonComponent],styles:[".infotable[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:80%;color:#444}.ergonametextclass[_ngcontent-%COMP%]{font-weight:700}"]})}return _e})()},96012:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.FiStandortelistePageModule=void 0;const n=s(81316),l=s(91368),u=s(44716),c=s(53076),i=s(92512),e=s(90756),o=s(6512),h=s(87143),v=s(79664),M=s(70216),p=s(90520),E=s(6168),S=s(54588),y=s(10272),f=n.__importStar(s(54496)),_=(n.__importStar(s(53076)),[{path:"",component:e.FiStandortelistePage}]);m.FiStandortelistePageModule=(()=>{class D{static \u0275fac=function(V){return new(V||D)};static \u0275mod=f.\u0275\u0275defineNgModule({type:D});static \u0275inj=f.\u0275\u0275defineInjector({imports:[l.CommonModule,u.FormsModule,u.ReactiveFormsModule,i.IonicModule,c.RouterModule.forChild(_),o.AbstandElementFixedModule,h.AlphabetModule,v.FiStandortEditorModule,M.PageHeaderModule,p.PageFooterModule,E.PageHeaderMenuModule,S.PageModalKeepermodule,y.AuswahlDialogModule]})}return D})()},90756:(pe,m,s)=>{"use strict";var n=s(1196).default;Object.defineProperty(m,"__esModule",{value:!0}),m.FiStandortelistePage=void 0;const l=s(81316),u=l.__importStar(s(17964)),c=l.__importStar(s(54496)),i=l.__importStar(s(14652)),e=l.__importStar(s(34388)),o=l.__importStar(s(19668)),h=l.__importStar(s(29743)),v=l.__importStar(s(58864)),M=l.__importStar(s(34636)),p=l.__importStar(s(22848)),E=l.__importStar(s(9544)),S=l.__importStar(s(48044)),y=l.__importStar(s(7992)),f=l.__importStar(s(91368)),C=l.__importStar(s(92512)),_=l.__importStar(s(99031)),w=l.__importStar(s(41656)),D=l.__importStar(s(90212)),L=l.__importStar(s(29856)),N=l.__importStar(s(63792)),V=l.__importStar(s(56584)),G=["Alphabet"],R=["PageHeader"],k=["PageFooter"];function A(Xe,_e){if(1&Xe&&(c.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col",15)(2,"ion-text",33)(3,"b"),c.\u0275\u0275text(4),c.\u0275\u0275elementEnd()()()()),2&Xe){const Fe=c.\u0275\u0275nextContext().index,Ce=c.\u0275\u0275nextContext(2);c.\u0275\u0275advance(4),c.\u0275\u0275textInterpolate(Ce.Standortebuchstabenliste[Fe])}}function H(Xe,_e){if(1&Xe&&(c.\u0275\u0275elementStart(0,"tr")(1,"td"),c.\u0275\u0275text(2),c.\u0275\u0275elementEnd()()),2&Xe){const Fe=c.\u0275\u0275nextContext().$implicit;c.\u0275\u0275advance(2),c.\u0275\u0275textInterpolate1(" ",Fe.Ort," ")}}function K(Xe,_e){if(1&Xe&&(c.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"span"),c.\u0275\u0275text(3),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(4,"span",34),c.\u0275\u0275text(5),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(6,"span"),c.\u0275\u0275text(7),c.\u0275\u0275elementEnd()()()),2&Xe){const Fe=c.\u0275\u0275nextContext().$implicit;c.\u0275\u0275advance(3),c.\u0275\u0275textInterpolate(Fe.Text_A),c.\u0275\u0275advance(2),c.\u0275\u0275textInterpolate(Fe.Text_B),c.\u0275\u0275advance(2),c.\u0275\u0275textInterpolate(Fe.Text_C)}}function ie(Xe,_e){if(1&Xe&&(c.\u0275\u0275elementStart(0,"tr"),c.\u0275\u0275element(1,"td"),c.\u0275\u0275elementStart(2,"td",35),c.\u0275\u0275text(3),c.\u0275\u0275elementEnd()()),2&Xe){const Fe=c.\u0275\u0275nextContext().$implicit;c.\u0275\u0275advance(3),c.\u0275\u0275textInterpolate2("",Fe.Vorname," ",Fe.Name,"")}}function X(Xe,_e){if(1&Xe&&(c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275template(1,ie,4,2,"tr",3),c.\u0275\u0275elementContainerEnd()),2&Xe){const Fe=_e.$implicit,Ce=c.\u0275\u0275nextContext().$implicit,Ae=c.\u0275\u0275nextContext(2);c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",Ae.CheckMitarbeiterIsStandortUrlaubsfreigabe(Fe._id,Ce))}}function be(Xe,_e){if(1&Xe&&(c.\u0275\u0275elementStart(0,"tr"),c.\u0275\u0275element(1,"td"),c.\u0275\u0275elementStart(2,"td",35),c.\u0275\u0275text(3),c.\u0275\u0275elementEnd()()),2&Xe){const Fe=c.\u0275\u0275nextContext().$implicit;c.\u0275\u0275advance(3),c.\u0275\u0275textInterpolate2("",Fe.Vorname," ",Fe.Name,"")}}function ce(Xe,_e){if(1&Xe&&(c.\u0275\u0275elementContainerStart(0),c.\u0275\u0275template(1,be,4,2,"tr",3),c.\u0275\u0275elementContainerEnd()),2&Xe){const Fe=_e.$implicit,Ce=c.\u0275\u0275nextContext().$implicit,Ae=c.\u0275\u0275nextContext(2);c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",Ae.CheckMitarbeiterIsStandortHomeofficefreigabe(Fe._id,Ce))}}function ze(Xe,_e){if(1&Xe){const Fe=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"ion-item",13),c.\u0275\u0275listener("click",function(){const Be=c.\u0275\u0275restoreView(Fe).$implicit,re=c.\u0275\u0275nextContext(2);return c.\u0275\u0275resetView(re.StandortButtonClicked(Be))}),c.\u0275\u0275elementStart(1,"ion-grid",14),c.\u0275\u0275template(2,A,5,1,"ion-row",3),c.\u0275\u0275elementStart(3,"ion-row")(4,"ion-col",15)(5,"table",16)(6,"tr")(7,"td",17)(8,"div",18)(9,"table",19)(10,"tr")(11,"td")(12,"table",20),c.\u0275\u0275template(13,H,3,1,"tr",3)(14,K,8,3,"tr",3),c.\u0275\u0275elementEnd()()(),c.\u0275\u0275elementStart(15,"tr")(16,"td")(17,"table",21)(18,"tr")(19,"td",22),c.\u0275\u0275text(20,"K\xfcrzel:"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(21,"td"),c.\u0275\u0275text(22),c.\u0275\u0275elementEnd(),c.\u0275\u0275element(23,"td",23),c.\u0275\u0275elementStart(24,"td",22),c.\u0275\u0275text(25,"Email:"),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(26,"td"),c.\u0275\u0275text(27),c.\u0275\u0275elementEnd(),c.\u0275\u0275element(28,"td",23),c.\u0275\u0275elementEnd()()()()()()(),c.\u0275\u0275elementStart(29,"td",24)(30,"table",25)(31,"tr")(32,"td",26)(33,"table",27)(34,"tr")(35,"td"),c.\u0275\u0275element(36,"ion-icon",28),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(37,"td",29),c.\u0275\u0275text(38,"Urlaubsfreigaben"),c.\u0275\u0275elementEnd()(),c.\u0275\u0275template(39,X,2,1,"ng-container",30),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(40,"td",26)(41,"table",27)(42,"tr")(43,"td"),c.\u0275\u0275element(44,"ion-icon",31),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(45,"td",29),c.\u0275\u0275text(46,"Homeofficefreigaben"),c.\u0275\u0275elementEnd()(),c.\u0275\u0275template(47,ce,2,1,"ng-container",30),c.\u0275\u0275elementEnd()(),c.\u0275\u0275element(48,"td",32),c.\u0275\u0275elementEnd()()()()()()()()()}if(2&Xe){const Fe=_e.$implicit,Ce=_e.index,Ae=c.\u0275\u0275nextContext(2);c.\u0275\u0275advance(2),c.\u0275\u0275property("ngIf",""!==Ae.Standortebuchstabenliste[Ce]),c.\u0275\u0275advance(11),c.\u0275\u0275property("ngIf",!Fe.Filtered),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",Fe.Filtered),c.\u0275\u0275advance(8),c.\u0275\u0275textInterpolate(Fe.Kuerzel),c.\u0275\u0275advance(5),c.\u0275\u0275textInterpolate(Fe.Email),c.\u0275\u0275advance(12),c.\u0275\u0275property("ngForOf",Ae.DBMitarbeiter.GetUrlausbsfreigeberliste(Fe._id)),c.\u0275\u0275advance(8),c.\u0275\u0275property("ngForOf",Ae.DBMitarbeiter.GetHomeofficefreigeberliste(Fe._id))}}function ct(Xe,_e){if(1&Xe&&(c.\u0275\u0275elementStart(0,"ion-list"),c.\u0275\u0275template(1,ze,49,7,"ion-item",12),c.\u0275\u0275elementEnd()),2&Xe){const Fe=c.\u0275\u0275nextContext();c.\u0275\u0275advance(),c.\u0275\u0275property("ngForOf",Fe.Standorteliste)}}function xe(Xe,_e){1&Xe&&(c.\u0275\u0275elementStart(0,"table",36)(1,"tr")(2,"td",37),c.\u0275\u0275text(3," kein Standorte vorhanden "),c.\u0275\u0275elementEnd()()())}function Ie(Xe,_e){if(1&Xe){const Fe=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"fi-standort-editor",38),c.\u0275\u0275listener("CancelClickedEvent",function(){c.\u0275\u0275restoreView(Fe);const Ae=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(Ae.ShowEditor=!1)})("OkClickedEvent",function(){c.\u0275\u0275restoreView(Fe);const Ae=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(Ae.ShowEditor=!1)})("DeleteClickedEvent",function(){c.\u0275\u0275restoreView(Fe);const Ae=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(Ae.ShowEditor=!1)})("LandClickedEvent",function(){c.\u0275\u0275restoreView(Fe);const Ae=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(Ae.LandClickedEventHandler())})("BundeslandClickedEvent",function(){c.\u0275\u0275restoreView(Fe);const Ae=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(Ae.BundeslandClickedEventHandler())})("KonfessionClickedEvent",function(){c.\u0275\u0275restoreView(Fe);const Ae=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(Ae.KonfessionClickedEventHandler())}),c.\u0275\u0275elementEnd()}if(2&Xe){const Fe=c.\u0275\u0275nextContext();c.\u0275\u0275property("Dialogbreite",600)("Dialoghoehe",800)("PositionY",100)("Titel",Fe.GetDialogTitel())}}function Le(Xe,_e){if(1&Xe){const Fe=c.\u0275\u0275getCurrentView();c.\u0275\u0275elementStart(0,"auswahl-dialog",39),c.\u0275\u0275listener("OkClickedEvent",function(Ae){c.\u0275\u0275restoreView(Fe);const Be=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(Be.AuswahlOkButtonClicked(Ae))})("CancelClickedEvent",function(){c.\u0275\u0275restoreView(Fe);const Ae=c.\u0275\u0275nextContext();return c.\u0275\u0275resetView(Ae.ShowAuswahl=!1)}),c.\u0275\u0275elementEnd()}if(2&Xe){const Fe=c.\u0275\u0275nextContext();c.\u0275\u0275property("Auswahlliste",Fe.Auswahlliste)("Auswahlindex",Fe.Auswahlindex)("ZIndex",5e3)("Dialogbreite",400)("PositionY",100)("Titel",Fe.Auswahltitel)("Iconname","")}}m.FiStandortelistePage=(()=>{class Xe{Basics;Debug;Tools;Const;DB;Security;DBMitarbeiter;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(Fe,Ce,Ae,Be,re,Ee,et,vt,Tt,dt){this.Basics=Fe,this.Debug=Ce,this.Tools=Ae,this.Const=Be,this.DB=re,this.Security=Ee,this.DBMitarbeiter=et,this.DBUrlaub=vt,this.Auswahlservice=Tt,this.Pool=dt;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(ot){this.Debug.ShowErrorMessage(ot.message,"Standorteliste","constructor",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.ListeSubscription.unsubscribe(),this.ListeSubscription=null}catch(Fe){this.Debug.ShowErrorMessage(Fe.message,"Standorteliste","OnDestroy",this.Debug.Typen.Page)}}ngOnInit(){try{this.ListeSubscription=this.Pool.StandortelisteChanged.subscribe(()=>{this.PrepareDaten()})}catch(Fe){this.Debug.ShowErrorMessage(Fe.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(Fe){this.Debug.ShowErrorMessage(Fe.message,"Standorteliste","ionViewDidEnter",this.Debug.Typen.Page)}}ionViewDidLeave(){}StandortButtonClicked(Fe){try{this.DB.CurrentStandort=u.cloneDeep(Fe),this.ShowEditor=!0}catch(Ce){this.Debug.ShowErrorMessage(Ce.message,"Standorteliste","MitrabeiterButtonClicked",this.Debug.Typen.Page)}}AddStandorteButtonClicked(){try{this.DB.CurrentStandort=this.DB.GetEmptyStandort(),this.ShowEditor=!0}catch(Fe){this.Debug.ShowErrorMessage(Fe.message,"Standorteliste","AddStandorteButtonClicked",this.Debug.Typen.Page)}}AlphabetClicked(Fe){try{this.Standortefiltertext="",this.Standortefilter="",this.Standortealphabetauswahl=Fe,this.PrepareDaten()}catch(Ce){this.Debug.ShowErrorMessage(Ce.message,"Standorteliste","AlphabetClicked",this.Debug.Typen.Page)}}GetStandorteAlphabetbuchstabe(Fe){try{let Ce=Fe.Ort.substring(0,1).toUpperCase();return Ce!==this.Lastletter?(this.Lastletter=Ce,Ce):""}catch(Ce){this.Debug.ShowErrorMessage(Ce.message,"Standorteliste","GetStandorteAlphabetbuchstabe",this.Debug.Typen.Page)}}PrepareDaten(){try{let Fe,Ce,Ae,Be,re,Ee,et,vt,Tt,dt,ot,Vt;if(null!==this.Pool.Standorteliste){if(Be=u.cloneDeep(this.Pool.Standorteliste),this.Lastletter="",Fe=u.cloneDeep(Be),Fe.sort((nn,vn)=>nn.Ortvn.Ort?1:0),null!==this.DB.CurrentStandortfilter){Ce=u.cloneDeep(Fe),Fe=[];for(let nn of Ce)Fe.push(nn)}if(Fe.length>6){this.Standortealphabet=["Alle"];for(let nn of Fe)Ae=nn.Ort.substring(0,1).toUpperCase(),-1===this.Standortealphabet.indexOf(Ae)&&this.Standortealphabet.push(Ae)}else this.Standortealphabet=this.Standardalphabet;if("Alle"!==this.Standortealphabetauswahl){Ce=u.cloneDeep(Fe),Fe=[];for(let nn of Ce)Ae=nn.Ort.substring(0,1).toUpperCase(),this.Standortealphabetauswahl===Ae&&Fe.push(nn)}if(""!==this.Standortefilter){Ce=u.cloneDeep(Fe),Fe=[];for(let nn of Ce)ot=this.Standortefilter.toLowerCase(),Vt=nn.Ort.toLowerCase(),dt=Vt.indexOf(ot),-1!==dt&&(re=nn.Ort.length,Tt=ot.length,Ee=nn.Ort.substr(0,dt),et=nn.Ort.substr(dt,Tt),Tt=re-Tt-dt,vt=nn.Ort.substr(re-Tt,Tt),nn.Filtered=!0,nn.Text_A=Ee,nn.Text_B=et,nn.Text_C=vt,Fe.push(nn))}this.Standortebuchstabenliste=[];for(let nn of Fe)this.Standortebuchstabenliste.push(this.GetStandorteAlphabetbuchstabe(nn));this.Standorteliste=u.cloneDeep(Fe)}}catch(Fe){this.Debug.ShowErrorMessage(Fe.message,"Standorteliste","PrepareDaten",this.Debug.Typen.Page)}}EditorValidChanged(Fe){try{this.EditorValid=Fe}catch(Ce){this.Debug.ShowErrorMessage(Ce.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(Fe){this.Debug.ShowErrorMessage(Fe.message,"Standorteliste","GetDialogTitel",this.Debug.Typen.Page)}}SucheChangedHandler(Fe){try{this.Standortefiltertext=Fe,this.Standortefilter=this.Standortefiltertext,this.PrepareDaten()}catch(Ce){this.Debug.ShowErrorMessage(Ce.message,"Standorteliste","SucheChangedHandler",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(Fe){var Ce=this;return n(function*(){try{switch(Ce.Auswahldialogorigin){case Ce.Auswahlservice.Auswahloriginvarianten.Standorteeditor_Land:Ce.DB.CurrentStandort.Land=Fe;break;case Ce.Auswahlservice.Auswahloriginvarianten.Standorteeditor_Bundesland:Ce.DB.CurrentStandort.Bundesland=Fe;break;case Ce.Auswahlservice.Auswahloriginvarianten.Standorteeditor_Konfession:Ce.DB.CurrentStandort.Konfession=Fe}Ce.ShowAuswahl=!1}catch(Ae){Ce.Debug.ShowErrorMessage(Ae.message,"Standorteliste","AuswahlOkButtonClicked",Ce.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=u.findIndex(this.Auswahlliste,{Data:this.DB.CurrentStandort.Land})}catch(Fe){this.Debug.ShowErrorMessage(Fe,"Standorteliste","LandClickedEventHandler",this.Debug.Typen.Page)}}BundeslandClickedEventHandler(){try{let Fe=0;this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Standorteeditor_Bundesland,this.Auswahltitel="Bundesland ausw\xe4hlen",this.Auswahlhoehe=600,this.ShowAuswahl=!0,this.Auswahlliste=[];for(let Ce of this.DBUrlaub.Regionenliste)this.Auswahlliste.push({Index:Fe,FirstColumn:Ce.Name,SecoundColumn:Ce.isoCode,Data:Ce.isoCode}),Fe++;this.Auswahlindex=u.findIndex(this.Auswahlliste,{Data:this.DB.CurrentStandort.Bundesland})}catch(Fe){this.Debug.ShowErrorMessage(Fe,"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=u.findIndex(this.Auswahlliste,{Data:this.DB.CurrentStandort.Konfession})}catch(Fe){this.Debug.ShowErrorMessage(Fe,"Standorteliste","KonfessionClickedEventHandler",this.Debug.Typen.Page)}}CheckMitarbeiterIsStandortUrlaubsfreigabe(Fe,Ce){try{return-1!==Ce.Urlaubfreigabepersonen.indexOf(Fe)}catch(Ae){this.Debug.ShowErrorMessage(Ae,"Standorteliste","CheckMitarbeiterIsStandortUrlaubsfreigabe",this.Debug.Typen.Page)}}CheckMitarbeiterIsStandortHomeofficefreigabe(Fe,Ce){try{return-1!==Ce.Homeofficefreigabepersonen.indexOf(Fe)}catch(Ae){this.Debug.ShowErrorMessage(Ae,"Standorteliste","CheckMitarbeiterIsStandortHomeofficefreigabe",this.Debug.Typen.Page)}}static \u0275fac=function(Ce){return new(Ce||Xe)(c.\u0275\u0275directiveInject(i.BasicsProvider),c.\u0275\u0275directiveInject(e.DebugProvider),c.\u0275\u0275directiveInject(o.ToolsProvider),c.\u0275\u0275directiveInject(h.ConstProvider),c.\u0275\u0275directiveInject(v.DatabaseStandorteService),c.\u0275\u0275directiveInject(M.SecurityService),c.\u0275\u0275directiveInject(p.DatabaseMitarbeiterService),c.\u0275\u0275directiveInject(E.DatabaseUrlaubService),c.\u0275\u0275directiveInject(S.AuswahlDialogService),c.\u0275\u0275directiveInject(y.DatabasePoolService))};static \u0275cmp=c.\u0275\u0275defineComponent({type:Xe,selectors:[["fi-standorteliste-page"]],viewQuery:function(Ce,Ae){if(1&Ce&&(c.\u0275\u0275viewQuery(G,5),c.\u0275\u0275viewQuery(R,5),c.\u0275\u0275viewQuery(k,5)),2&Ce){let Be;c.\u0275\u0275queryRefresh(Be=c.\u0275\u0275loadQuery())&&(Ae.Alphabetcomponent=Be.first),c.\u0275\u0275queryRefresh(Be=c.\u0275\u0275loadQuery())&&(Ae.PageHeader=Be.first),c.\u0275\u0275queryRefresh(Be=c.\u0275\u0275loadQuery())&&(Ae.PageFooter=Be.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"],["size","12"],[2,"width","100%"],["valign","top",2,"width","60%"],[1,"kontaktclass"],["width","100%",1,"paddingsmalltable"],["cellspacing","0","cellpadding","0"],[1,"infotable",2,"white-space","nowrap"],[1,"ergonametextclass"],[2,"width","20px"],[2,"width","auto"],["width","400px"],["valign","top",2,"width","30%"],[1,"paddingsmalltable"],["name","sunny","color","orange",2,"font-size","20px"],[2,"font-size","90%","font-weight","bold"],[4,"ngFor","ngForOf"],["name","home","color","blau",2,"font-size","20px"],[2,"width","10%"],["color","orange"],[2,"color","green"],[2,"font-size","80%","color","#444444"],["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(Ce,Ae){if(1&Ce&&(c.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),c.\u0275\u0275listener("SucheChanged",function(re){return Ae.SucheChangedHandler(re)}),c.\u0275\u0275elementEnd()()(),c.\u0275\u0275elementStart(4,"ion-content"),c.\u0275\u0275template(5,ct,2,1,"ion-list",3)(6,xe,4,0,"table",4),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(7,"ion-footer")(8,"page-footer",null,5)(10,"div",6),c.\u0275\u0275listener("click",function(){return Ae.AddStandorteButtonClicked()}),c.\u0275\u0275element(11,"ion-icon",7),c.\u0275\u0275elementEnd()()(),c.\u0275\u0275template(12,Ie,1,4,"fi-standort-editor",8)(13,Le,1,7,"auswahl-dialog",9),c.\u0275\u0275elementStart(14,"alphabet",10,11),c.\u0275\u0275listener("AlphabetClicked",function(re){return Ae.AlphabetClicked(re)}),c.\u0275\u0275elementEnd()),2&Ce){const Be=c.\u0275\u0275reference(2),re=c.\u0275\u0275reference(9);c.\u0275\u0275advance(3),c.\u0275\u0275property("ShowSuchleiste",!0)("ShowStandorttitle",!0),c.\u0275\u0275advance(2),c.\u0275\u0275property("ngIf",Ae.Standorteliste&&Ae.Standorteliste.length>0),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",0===Ae.Standorteliste.length),c.\u0275\u0275advance(6),c.\u0275\u0275property("ngIf",Ae.ShowEditor),c.\u0275\u0275advance(),c.\u0275\u0275property("ngIf",Ae.ShowAuswahl),c.\u0275\u0275advance(),c.\u0275\u0275property("PageHeader",Be)("PageFooter",re)("Buchstabenliste",Ae.Standortealphabet)("Breite",Ae.Alphapetbreite)("Auswahl",Ae.Standortealphabetauswahl)}},dependencies:[f.NgForOf,f.NgIf,C.IonCol,C.IonContent,C.IonFooter,C.IonGrid,C.IonHeader,C.IonIcon,C.IonItem,C.IonList,C.IonRow,C.IonText,_.AlphabetComponent,w.FiStandortEditorComponent,D.PageHeaderComponent,L.PageFooterComponent,N.PageHeaderMenuComponent,V.AuswahlDialogComponent],styles:[".infotable[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:80%;color:#444}.ergonametextclass[_ngcontent-%COMP%]{font-weight:700}"]})}return Xe})()},84104:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.SafePipeModule=void 0;const l=s(81316).__importStar(s(54496));m.SafePipeModule=(()=>{class c{static \u0275fac=function(o){return new(o||c)};static \u0275mod=l.\u0275\u0275defineNgModule({type:c});static \u0275inj=l.\u0275\u0275defineInjector({})}return c})()},66144:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.SafePipe=void 0;const n=s(81316),l=n.__importStar(s(54496)),u=n.__importStar(s(14476));m.SafePipe=(()=>{class i{sanitizer;constructor(o){this.sanitizer=o}transform(o,h){switch(h){case"html":return this.sanitizer.bypassSecurityTrustHtml(o);case"style":return this.sanitizer.bypassSecurityTrustStyle(o);case"script":return this.sanitizer.bypassSecurityTrustScript(o);case"url":return this.sanitizer.bypassSecurityTrustUrl(o);case"resourceUrl":return this.sanitizer.bypassSecurityTrustResourceUrl(o);default:throw new Error(`Invalid safe type specified: ${h}`)}}static \u0275fac=function(h){return new(h||i)(l.\u0275\u0275directiveInject(u.DomSanitizer,16))};static \u0275pipe=l.\u0275\u0275definePipe({name:"safe",type:i,pure:!0})}return i})()},48044:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.AuswahlDialogService=void 0;const n=s(81316),l=n.__importStar(s(54496)),u=n.__importStar(s(34388));m.AuswahlDialogService=(()=>{class i{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",Mitarbeiter_Liste_Position:"Mitarbeiter_Liste_Position",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",Urlaubsplanung_Jahr_Aendern:"Urlaubsplanung_Jahr_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(o){this.Debug=o}static \u0275fac=function(h){return new(h||i)(l.\u0275\u0275inject(u.DebugProvider))};static \u0275prov=l.\u0275\u0275defineInjectable({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})()},14652:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.BasicsProvider=void 0;const n=s(81316),l=n.__importStar(s(54496)),u=n.__importStar(s(92512)),c=n.__importStar(s(29743));m.BasicsProvider=(()=>{class e{platform;Const;Headerhoehe=0;Footerhoehe=0;Contenthoehe=0;Contentbreite=0;InnerContenthoehe=0;Waittime=300;Svgpath="assets/svgs/";AppBuild="15.10.2024 23:00";AppVersionName="1.21";AppVersionDatum="15.10.2024";WebAppUrl="https://polite-cliff-084832d03.4.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"};constructor(h,v){this.platform=h,this.Const=v}MeassureInnercontent(h,v){try{this.Headerhoehe=typeof h<"u"&&null!==h?h.PageHeaderDiv.nativeElement.clientHeight:56,this.Footerhoehe=typeof v<"u"&&null!==v?v.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(M){window.console.log(M+" / Basics / MeassureInnercontent ")}}static \u0275fac=function(v){return new(v||e)(l.\u0275\u0275inject(u.Platform),l.\u0275\u0275inject(c.ConstProvider))};static \u0275prov=l.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})()},29743:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.ConstProvider=void 0;const l=s(81316).__importStar(s(54496)),e={ok:"ok",no:"no",cancel:"cancel",delete:"delete",wahla:"wahla",wahlb:"wahlb"},w={HomePage:"HomePage",WartungPage:"WartungPage",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",UrlaubsgesamtuebersichtPage:"UrlaubsgesamtuebersichtPage",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"},H={Person:"Person",Firma:"Firma"},K={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"}},ie={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"}},X={UNBEKANNT:"unbekannt",LPH1:"LPH1",LPH2:"LPH2",LPH3:"LPH3",LPH4:"LPH4",LPH5:"LPH5",LPH6:"LPH6",LPH7:"LPH7",LPH8:"LPH8"},be={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"}},xe={Script:"Script",Sql:"Sql",Transaction:"Transaction",Firebase:"Firebase"},Fe={Bearbeitung:"Bearbeitung",Abgeschlossen:"Abgeschlossen",Ruht:"Ruht"},Ce={Faellig:"Faellig",Ueberfaellig:"Uberfaellig",Nicht_faellig:"nicht faellig"},Ae={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"},Ee={Herr:"Herr",Frau:"Frau",Unbekannt:"Unbekannt"},et={Minuten:"Minuten",Stunden:"Stunden",Tage:"Tage"},vt={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"}},Tt={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"}},ot={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"},Vt={TermineAbsteigend:"TermineAbsteigend",TermineAufsteigend:"TermineAufsteigend"};m.ConstProvider=(()=>{class vn{NONE="none";Pages=w;Fehlermeldungtypen=xe;Dialogmessages=e;Projektpunktstatustypen=Tt;Zeitfilter=Ae;Projektstatusvarianten=Fe;Faelligkeitsstatus=Ce;Beteiligtentypen=be;Fachfirmentypen=K;Beteiligteneintragtypen=H;Anredevariante=Ee;Zeitansatzeinheitvarianten=et;Faelligkeitsterminfiltervarianten=ot;AufgabenSortiermodusvarianten=Vt;Projektpunktprioritaetstypen=vt;Leistungsphasenvarianten=X;Anlagengruppen=ie;constructor(){}static \u0275fac=function(En){return new(En||vn)};static \u0275prov=l.\u0275\u0275defineInjectable({token:vn,factory:vn.\u0275fac,providedIn:"root"})}return vn})()},96140:(pe,m,s)=>{"use strict";var n=s(1196).default;Object.defineProperty(m,"__esModule",{value:!0}),m.DatabaseAppeinstellungenService=void 0;const l=s(81316),u=s(97048),c=l.__importStar(s(17964)),i=l.__importStar(s(54496)),e=l.__importStar(s(34388)),o=l.__importStar(s(7992)),h=l.__importStar(s(29743)),v=l.__importStar(s(97048));m.DatabaseAppeinstellungenService=(()=>{class p{Debug;Pool;Const;http;ServerUrl;constructor(S,y,f,C){this.Debug=S,this.Pool=y,this.Const=f,this.http=C;try{this.ServerUrl=this.Pool.CockpitdockerURL+"/appeinstellungen"}catch(_){this.Debug.ShowErrorMessage(_.message,"Database Appeinstellungen","constructor",this.Debug.Typen.Service)}}ReadAppeinstellungen(){try{let y,S=[];this.Debug.ShowMessage("ReadAppeinstellungen","Database Appeinstellungen","ReadAppeinstellungen",this.Debug.Typen.Service);let f=new u.HttpHeaders({"content-type":"application/json"});return new Promise((C,_)=>{this.http.get(this.ServerUrl,{headers:f}).subscribe({next:D=>{S=D},complete:()=>{y=S.length>0?S[0]:this.GetEmptyAppeinstellungen(),c.isUndefined(y.Wartungsmodus)&&(y.Wartungsmodus=!1),this.Pool.Appeinstellungen=y,C(!0)},error:D=>{_(D)}})})}catch(S){this.Debug.ShowErrorMessage(S.message,"Database Pool","ReadAppeinstellungen",this.Debug.Typen.Service)}}GetEmptyAppeinstellungen(){try{return{_id:null,ShowHomeScreenInfos:!0,DebugNoExternalEmail:!0,Wartungsmodus:!1,AdminStartseite:this.Const.Pages.HomePage}}catch(S){this.Debug.ShowErrorMessage(S.message,"Database Appeinstellungen","GetEmptyAppeinstellungen",this.Debug.Typen.Service)}}SaveAppeinstellungen(){var S=this;return n(function*(){try{null===S.Pool.Appeinstellungen._id?yield S.AddAppeinstellungen():yield S.UpdateAppeinstellungen()}catch(y){S.Debug.ShowErrorMessage(y.message,"Database Appeinstellungen","SaveAppeinstellungen",S.Debug.Typen.Service)}})()}AddAppeinstellungen(){try{let S,y;return new Promise((f,C)=>{S=this.http.post(this.ServerUrl,this.Pool.Appeinstellungen),S.subscribe({next:_=>{y=_.data},complete:()=>{this.Pool.Appeinstellungen=y,f(!0)},error:_=>{C(_)}})})}catch(S){this.Debug.ShowErrorMessage(S.message,"Database Appeinstellungen","AddAppeinstellungen",this.Debug.Typen.Service)}}UpdateAppeinstellungen(){try{let S;return new Promise((f,C)=>{S=this.http.put(this.ServerUrl,this.Pool.Appeinstellungen),S.subscribe({next:_=>{},complete:()=>{f(!0)},error:_=>{C(_)}})})}catch(S){this.Debug.ShowErrorMessage(S.message,"Database Appeinstellungen","UpdateAppeinstellungen",this.Debug.Typen.Service)}}static \u0275fac=function(y){return new(y||p)(i.\u0275\u0275inject(e.DebugProvider),i.\u0275\u0275inject(o.DatabasePoolService),i.\u0275\u0275inject(h.ConstProvider),i.\u0275\u0275inject(v.HttpClient))};static \u0275prov=i.\u0275\u0275defineInjectable({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})()},97092:(pe,m,s)=>{"use strict";var n=s(1196).default;Object.defineProperty(m,"__esModule",{value:!0}),m.DatabaseAuthenticationService=void 0;const l=s(81316),u=s(54496),c=s(23476),i=s(21112),e=s(80103),o=l.__importStar(s(17964)),h=l.__importStar(s(54496)),v=l.__importStar(s(34388)),M=l.__importStar(s(23476)),p=l.__importStar(s(29743)),E=l.__importStar(s(53076));m.DatabaseAuthenticationService=(()=>{class y{msalGuardConfig;Debug;authService;Const;router;MSALService;LoginSuccessEvent=new u.EventEmitter;ActiveUser;SecurityEnabled;DevelopmentUser;ShowLogin;constructor(C,_,w,D,L,N){this.msalGuardConfig=C,this.Debug=_,this.authService=w,this.Const=D,this.router=L,this.MSALService=N;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(V){this.Debug.ShowErrorMessage(V.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(C){this.Debug.ShowErrorMessage(C,"Database Authentication","UnsetActiveUser",this.Debug.Typen.Service)}}SetActiveUser(){var C=this;return n(function*(){try{let _,w;return C.Debug.ShowMessage("Set Active User started","Database Authentication","SetActiveUser",C.Debug.Typen.Service),new Promise(D=>{if(C.SecurityEnabled){if(_=C.MSALService.instance.getActiveAccount(),w=C.MSALService.instance.getAllAccounts(),!o.isUndefined(w)&&null!==w&&w.length>0)for(_ of w)console.log(_.username);console.log(null!==_?_.username:"Account ist null"),null===_&&(C.Debug.ShowMessage("Active Account ist null","Database Authentication","SetActiveUser",C.Debug.Typen.Service),!o.isUndefined(w)&&null!==w&&w.length>0?(C.Debug.ShowMessage("Accountliste vorhanden","Database Authentication","SetActiveUser",C.Debug.Typen.Service),_=w[0]):C.Debug.ShowMessage("keine Accountlist vorhanden","Database Authentication","SetActiveUser",C.Debug.Typen.Service)),null!==_?(C.ActiveUser=_,D(!0)):(C.UnsetActiveUser(),D(!0))}else C.ActiveUser=C.DevelopmentUser,D(!0)})}catch(_){C.Debug.ShowErrorMessage(_,"Database Authentication","SetActiveUser",C.Debug.Typen.Service)}})()}SetShowLoginStatus(){try{let C="nothing",_=this.MSALService.instance.getAllAccounts();this.Debug.ShowMessage(C,"SetShowLoginStatus gestartet","SetShowLogin",this.Debug.Typen.Service),0===_.length?(this.ShowLogin=!0,console.log("Accountliste ist leer. LOGIN anzeigen.")):this.ShowLogin=!1,!1===this.SecurityEnabled&&(this.ShowLogin=!1),C=!0===this.ShowLogin?"Anmeldung anzeigen":"Hauptmenu anzeigen",this.Debug.ShowMessage(C,"Database Authentication","SetShowLogin",this.Debug.Typen.Service)}catch(C){this.Debug.ShowErrorMessage(C,"Database Authentication","SetShowLoginStatus",this.Debug.Typen.Service)}}RequestToken(C){var _=this;return n(function*(){try{const w={scopes:[C],account:_.ActiveUser};return new Promise((D,L)=>{_.authService.acquireTokenSilent(w).pipe((0,e.catchError)(N=>{if(N)switch(N.errorCode){case"login_required":case"monitor_window_timeout":_.Login()}return(0,e.of)(null!=N)})).subscribe(N=>{D(N.accessToken?N.accessToken:null)})})}catch(w){_.Debug.ShowErrorMessage(w,"Database Authentication","RequestToken",_.Debug.Typen.Service)}})()}Login(){try{this.SecurityEnabled&&(this.msalGuardConfig.interactionType===i.InteractionType.Popup?this.msalGuardConfig.authRequest?this.authService.loginPopup({...this.msalGuardConfig.authRequest}).subscribe(C=>{this.authService.instance.setActiveAccount(C.account)}):this.authService.loginPopup().subscribe(C=>{this.authService.instance.setActiveAccount(C.account)}):this.msalGuardConfig.authRequest?this.authService.loginRedirect({...this.msalGuardConfig.authRequest}):this.authService.loginRedirect())}catch(C){this.Debug.ShowErrorMessage(C,"Database Authentication","Login",this.Debug.Typen.Service)}}Logout(){try{this.msalGuardConfig.interactionType===i.InteractionType.Popup?this.authService.logoutPopup({postLogoutRedirectUri:"/",mainWindowRedirectUri:"/"}):this.authService.logoutRedirect({postLogoutRedirectUri:"/"}),this.ActiveUser=null}catch(C){this.Debug.ShowErrorMessage(C.message,"Database Authentication","Logout",this.Debug.Typen.Service)}}canLoad(C){try{return!0===this.CheckSecurity()?(this.Debug.ShowMessage("Database Authentication -> can load: "+C.path,"Security","canLoad",this.Debug.Typen.Service),!0):(this.Debug.ShowMessage("Database Authentication -> can not load: "+C.path,"Security","canLoad",this.Debug.Typen.Service),this.router.navigate([this.Const.Pages.HomePage]),!1)}catch(_){this.Debug.ShowErrorMessage(_.message,"Database Authentication","canLoad",this.Debug.Typen.Service)}}CheckSecurity(){try{return!0}catch(C){this.Debug.ShowErrorMessage(C.message,"Database Authentication","CheckSecurity",this.Debug.Typen.Service)}}static \u0275fac=function(_){return new(_||y)(h.\u0275\u0275inject(c.MSAL_GUARD_CONFIG),h.\u0275\u0275inject(v.DebugProvider),h.\u0275\u0275inject(M.MsalService),h.\u0275\u0275inject(p.ConstProvider),h.\u0275\u0275inject(E.Router),h.\u0275\u0275inject(M.MsalService))};static \u0275prov=h.\u0275\u0275defineInjectable({token:y,factory:y.\u0275fac,providedIn:"root"})}return y})()},51708:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.DatabaseChangelogService=void 0;const n=s(81316),l=n.__importStar(s(17964)),u=s(97048),c=n.__importDefault(s(35908)),i=n.__importStar(s(54496)),e=n.__importStar(s(34388)),o=n.__importStar(s(7992)),h=n.__importStar(s(29743)),v=n.__importStar(s(97048));m.DatabaseChangelogService=(()=>{class p{Debug;Pool;Const;http;ServerUrl;CurrentChangelog;constructor(S,y,f,C){this.Debug=S,this.Pool=y,this.Const=f,this.http=C;try{this.ServerUrl=this.Pool.CockpitdockerURL+"/changelog",this.CurrentChangelog=null}catch(_){this.Debug.ShowErrorMessage(_.message,"Database Chnagelog","constructor",this.Debug.Typen.Service)}}GetChangelog(S){try{let y;return y=l.find(this.Pool.Changlogliste,{_id:S}),l.isUndefined(y)?"unbekannt":y.Beschreibung}catch(y){this.Debug.ShowErrorMessage(y.message,"Mitarbeiter Editor","GetChangelog",this.Debug.Typen.Component)}}GetEmptyChangelog(){try{return{_id:null,Beschreibung:"",Version:"",Zeitstempel:(0,c.default)().valueOf(),Deleted:!1}}catch(S){this.Debug.ShowErrorMessage(S.message,"Database Chnagelog","GetEmptyChangelog",this.Debug.Typen.Service)}}AddChangelog(){try{let S,y;return new Promise((f,C)=>{S=this.http.post(this.ServerUrl,this.CurrentChangelog),S.subscribe({next:_=>{y=_.Changelog},complete:()=>{this.UpdateChangelogliste(y),this.Pool.ChangeloglisteChanged.emit(),f(!0)},error:_=>{C(_)}})})}catch(S){this.Debug.ShowErrorMessage(S.message,"Database Chnagelog","AddChangelog",this.Debug.Typen.Service)}}UpdateChangelogliste(S){try{let y;y=l.findIndex(this.Pool.Changlogliste,{_id:this.CurrentChangelog._id}),-1!==y?(this.Pool.Changlogliste[y]=S,this.Debug.ShowMessage("Changelogliste updated: "+S.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(S)),this.Pool.Changlogliste=l.filter(this.Pool.Changlogliste,f=>!1===f.Deleted)}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Chnagelog","UpdateChangelogliste",this.Debug.Typen.Service)}}UpdateChangelog(){try{let S;return(new u.HttpParams).set("id",this.CurrentChangelog._id),new Promise((f,C)=>{S=this.http.put(this.ServerUrl,this.CurrentChangelog),S.subscribe({next:_=>{},complete:()=>{this.UpdateChangelogliste(this.CurrentChangelog),this.Pool.ChangeloglisteChanged.emit(),f(!0)},error:_=>{C(_)}})})}catch(S){this.Debug.ShowErrorMessage(S.message,"Database Chnagelog","UpdateChangelog",this.Debug.Typen.Service)}}DeleteChangelog(){try{let S;return this.CurrentChangelog.Deleted=!0,new Promise((y,f)=>{S=this.http.put(this.ServerUrl,this.CurrentChangelog),S.subscribe({next:C=>{},complete:()=>{this.UpdateChangelogliste(this.CurrentChangelog),this.Pool.ChangeloglisteChanged.emit(),y(!0)},error:C=>{f(C)}})})}catch(S){this.Debug.ShowErrorMessage(S.message,"Database Chnagelog","DeleteChangelog",this.Debug.Typen.Service)}}static \u0275fac=function(y){return new(y||p)(i.\u0275\u0275inject(e.DebugProvider),i.\u0275\u0275inject(o.DatabasePoolService),i.\u0275\u0275inject(h.ConstProvider),i.\u0275\u0275inject(v.HttpClient))};static \u0275prov=i.\u0275\u0275defineInjectable({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})()},22848:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.DatabaseMitarbeiterService=void 0;const n=s(81316),l=n.__importDefault(s(35908)),u=n.__importStar(s(17964)),c=s(97048),i=n.__importStar(s(54496)),e=n.__importStar(s(34388)),o=n.__importStar(s(97048)),h=n.__importStar(s(29743)),v=n.__importStar(s(7992));m.DatabaseMitarbeiterService=(()=>{class p{Debug;http;Const;Pool;CurrentMitarbeiter;CurrentPosition;ServerMitarbeiterUrl;ServerMitarbeiterpositionUrl;constructor(S,y,f,C){this.Debug=S,this.http=y,this.Const=f,this.Pool=C;try{this.ServerMitarbeiterUrl=this.Pool.CockpitdockerURL+"/mitarbeiter",this.ServerMitarbeiterpositionUrl=this.Pool.CockpitdockerURL+"/mitarbeiterpositionen",this.CurrentMitarbeiter=null,this.CurrentPosition=null}catch(_){this.Debug.ShowErrorMessage(_.message,"Database Mitarbeiter","constructor",this.Debug.Typen.Service)}}ConvertGraphuserToMitarbeiter(S){try{let y,f,C;if(y=this.GetEmptyMitarbeiter(),null===S.surname&&(S.surname=""),null===S.givenName&&(S.givenName=""),null===S.jobTitle&&(S.jobTitle=""),null===S.officeLocation&&(S.officeLocation=""),null===S.mobilePhone&&(S.mobilePhone=""),f=u.isUndefined(S.jobTitle)?"":S.jobTitle,C=u.isUndefined(S.mobilePhone)?"":S.mobilePhone,y.UserID=S.id,y.Email=S.mail,y.Vorname=u.isUndefined(S.givenName)?"":S.givenName,y.Name=u.isUndefined(S.surname)?"":S.surname,y.Mobil=null===C?"":C,y.Jobtitel=null===f?"":f,!1===u.isUndefined(S.businessPhones)&&S.businessPhones.length>0&&(y.Telefon=S.businessPhones[0]),!1===u.isUndefined(S.officeLocation)&&null!==S.officeLocation){y.Location=null!==S.officeLocation?S.officeLocation:"";for(let D of this.Pool.Standorteliste)-1!==S.officeLocation.indexOf(D.Ort)&&(y.StandortID=D._id)}if(""===y.StandortID){let D=u.find(this.Pool.Standorteliste,{Ort:"Bamberg"});u.isUndefined(D)||(y.StandortID=D._id)}let _=null!==S.surname?S.surname.substring(0,2).toUpperCase():"",w=null!==S.givenName?S.givenName.substring(0,1).toUpperCase():"";return y.Kuerzel=_+""+w,y}catch(y){this.Debug.ShowErrorMessage(y,"Graph","ConvertGraphuserToMitarbeiter",this.Debug.Typen.Service)}}GetMeinewocheStunden(S){try{let y=0,f=0;for(let C of this.Pool.Mitarbeiterdaten.Meinewocheliste)switch(S){case"Montag":C.Montagseinsatz&&(y+=C.Montagsstunden,f+=C.Montagsminuten);break;case"Dienstag":C.Dienstagseinsatz&&(y+=C.Dienstagsstunden,f+=C.Dienstagsminuten);break;case"Mittwoch":C.Mittwochseinsatz&&(y+=C.Mittwochsstunden,f+=C.Mittwochsminuten);break;case"Donnerstag":C.Donnerstagseinsatz&&(y+=C.Donnerstagsstunden,f+=C.Donnerstagsminuten);break;case"Freitag":C.Freitagseinsatz&&(y+=C.Freitagsstunden,f+=C.Freitagsminuten)}return f+=60*y,0===f?"":"["+(f/60).toFixed(2)+" Std]"}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Mitarbeiter","GetMeinewocheStunden",this.Debug.Typen.Service)}}GetEmptyMitarbeiterposition(){try{return{_id:null,Bezeichnung:""}}catch(S){this.Debug.ShowErrorMessage(S,"Database Mitarbeiter","GetEmptyMitarbeiterposition",this.Debug.Typen.Service)}}GetEmptyMitarbeiter(){try{let S=(0,l.default)();return{_id:null,UserID:null,PositionID:null,Anrede:this.Const.NONE,Urlaub:30,Resturlaub:0,Location:"",Jobtitel:"",Vorname:"",Name:"",Kuerzel:"",Fachbereich:"Unbekannt",StandortID:"",Email:"",Mobil:"",SettingsID:null,Telefon:"",Zeitstring:S.format("HH:mm DD.MM.YYYY"),Zeitstempel:S.valueOf(),Deleted:!1,Planeradministrator:!1,Homeofficefreigaben:!1,Homeofficefreigabestandorte:[],Urlaubsfreigabeorte:[],Urlaubsfreigaben:!1,Favoritenliste:[],Meintagliste:[],Meinewocheliste:[],Archiviert:!1,Urlaubsliste:[]}}catch(S){this.Debug.ShowErrorMessage(S.message,"Database Mitarbeiter","GetEmptyMitarbeiter",this.Debug.Typen.Service)}}GetMitarbeitername(S){try{let y=u.find(this.Pool.Mitarbeiterliste,{_id:S});return u.isUndefined(y)?"Unbekannt":y.Vorname+" "+y.Name}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Mitarbeiter","GetMitarbeitername",this.Debug.Typen.Service)}}InitService(){try{for(let S of this.Pool.Mitarbeiterliste)S.ShowInGesamtuebersicht=S.StandortID===this.Pool.Mitarbeiterdaten.StandortID}catch(S){this.Debug.ShowErrorMessage(S.message,"Database Mitarbeiter","InitService",this.Debug.Typen.Service)}}FinishService(){}UpdateMitarbeiter(S){try{let y,f;delete S.__v;for(let C of S.Urlaubsliste)C.Urlaubzeitspannen.sort((_,w)=>_.Startstempelw.Startstempel?1:0);return new Promise((C,_)=>{y=this.http.put(this.ServerMitarbeiterUrl,S),y.subscribe({next:w=>{f=w.Mitarbeiter},complete:()=>{null!==f?(this.CurrentMitarbeiter=f,this.UpdateMitarbeiterliste(this.CurrentMitarbeiter),this.Pool.MitarbeiterlisteChanged.emit()):_(new Error("Mitarbeiter auf Server nicht gefunden.")),C(!0)},error:w=>{_(w)}})})}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Mitarbeiter","UpdateMitarbeiter",this.Debug.Typen.Page)}}GetPositionsbezeichnung(S){try{let y;if(null===S)return"Unbekannt";if(y=u.find(this.Pool.Mitarbeiterpositionenliste,{_id:S}),!u.isUndefined(y))return y.Bezeichnung}catch(y){this.Debug.ShowErrorMessage(y,"Database Mitarbeiter","GetPosition",this.Debug.Typen.Service)}}UpdateMitarbeiterposition(S){try{let y,C,f=new c.HttpParams;return delete S.__v,f.set("id",S._id),new Promise((_,w)=>{y=this.http.put(this.ServerMitarbeiterpositionUrl,S),y.subscribe({next:D=>{C=D.Mitarbeiterposition},complete:()=>{null!==C?(this.CurrentPosition=C,this.UpdateMitarbeiterpositionliste(this.CurrentPosition),this.Pool.MitarbeiterpositionenlisteChanged.emit()):w(new Error("Mitarbeiterposition auf Server nicht gefunden.")),_(!0)},error:D=>{w(D)}})})}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Mitarbeiter","UpdateMitarbeiterposition",this.Debug.Typen.Page)}}UpdateMitarbeiterUrlaub(S){try{let y,C,f=new c.HttpParams;delete S.__v,f.set("id",S._id);for(let _ of S.Urlaubsliste)_.Urlaubzeitspannen.sort((w,D)=>w.StartstempelD.Startstempel?1:0);return new Promise((_,w)=>{y=this.http.put(this.ServerMitarbeiterUrl,S),y.subscribe({next:D=>{C=D.Mitarbeiter},complete:()=>{null!==C?(this.UpdateMitarbeiterliste(C),this.Pool.MitarbeiterlisteChanged.emit(),_(!0)):w(new Error("Mitarbeiter auf Server nicht gefunden."))},error:D=>{w(D)}})})}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Mitarbeiter","UpdateMitarbeiterUrlaub",this.Debug.Typen.Page)}}UpdateMitarbeiterliste(S){try{let y;y=u.findIndex(this.Pool.Mitarbeiterliste,{_id:S._id}),-1!==y?(this.Pool.Mitarbeiterliste[y]=S,this.Debug.ShowMessage("Mitarbeiterliste updated: "+S.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(S)),this.Pool.Mitarbeiterliste=u.filter(this.Pool.Mitarbeiterliste,f=>!1===f.Deleted)}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Mitarbeiter","UpdateMitarbeiterliste",this.Debug.Typen.Service)}}UpdateMitarbeiterpositionliste(S){try{let y;y=u.findIndex(this.Pool.Mitarbeiterpositionenliste,{_id:S._id}),-1!==y?(this.Pool.Mitarbeiterpositionenliste[y]=S,this.Debug.ShowMessage("Mitarbeiterliste updated: "+S.Bezeichnung,"Database Mitarbeiter","UpdateMitarbeiterpositionliste",this.Debug.Typen.Service)):(this.Debug.ShowMessage("Mitarbeiterposition nicht gefunden -> neuen Mitarbeiter hinzuf\xfcgen","Database Mitarbeiter","UpdateMitarbeiterpositionliste",this.Debug.Typen.Service),this.Pool.Mitarbeiterpositionenliste.push(S)),this.Pool.Mitarbeiterpositionenliste.sort((f,C)=>f.BezeichnungC.Bezeichnung?1:0)}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Mitarbeiter","UpdateMitarbeiterpositionliste",this.Debug.Typen.Service)}}AddMitarbeiter(S){try{let y,f;return new Promise((C,_)=>{console.log("POST new Mitarbeiter:"),console.log(S),y=this.http.post(this.ServerMitarbeiterUrl,S),y.subscribe({next:w=>{f=w.Mitarbeiter},complete:()=>{this.UpdateMitarbeiterliste(f),this.Pool.MitarbeiterlisteChanged.emit(),C(f)},error:w=>{_(w)}})})}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Mitarbeiter","AddMitarbeiter",this.Debug.Typen.Service)}}AddMitarbeiterposition(S){try{let y,f;return new Promise((C,_)=>{console.log("POST new Mitarbeiterposition:"),console.log(S),y=this.http.post(this.ServerMitarbeiterpositionUrl,S),y.subscribe({next:w=>{f=w.Mitarbeiterposition},complete:()=>{this.UpdateMitarbeiterpositionliste(f),this.Pool.MitarbeiterpositionenlisteChanged.emit(),C(f)},error:w=>{_(w)}})})}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Mitarbeiter","AddMitarbeiterposition",this.Debug.Typen.Service)}}CheckMitarbeiterExists(S){try{return-1!==u.findIndex(this.Pool.Mitarbeiterliste,{Email:S})}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Mitarbeiter","CheckMitarbeiterExists",this.Debug.Typen.Service)}}GetMitarbeiterByEmail(S){try{let y=u.find(this.Pool.Mitarbeiterliste,{Email:S});return u.isUndefined(y)?null:y}catch(y){this.Debug.ShowErrorMessage(y,"Database Mitarbeiter","GetMitarbeiterByEmail",this.Debug.Typen.Service)}}GetMitarbeiterByID(S){try{let y=u.find(this.Pool.Mitarbeiterliste,{_id:S});return u.isUndefined(y)?null:y}catch(y){this.Debug.ShowErrorMessage(y,"Database Mitarbeiter","GetMitarbeiterByEmail",this.Debug.Typen.Service)}}GetMitarbeiterByGraph(S){try{let y,C,f=new c.HttpParams({fromObject:{email:S}});return new Promise((_,w)=>{y=this.http.get(this.ServerMitarbeiterUrl,{params:f}),y.subscribe({next:D=>{C=D},complete:()=>{_(C)},error:D=>{w(D)}})})}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Standorte","SaveMitarbeiter",this.Debug.Typen.Service)}}DeleteMitarbeiter(S){try{return S.Deleted=!0,this.UpdateMitarbeiter(S)}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Standorte","DeleteMitarbeiter",this.Debug.Typen.Service)}}GetHomeofficefreigeberliste(S){try{let y=u.filter(this.Pool.Mitarbeiterliste,f=>!0===f.Homeofficefreigaben);return y=u.filter(y,f=>-1!==f.Homeofficefreigabestandorte.indexOf(S)),y}catch(y){this.Debug.ShowErrorMessage(y,"Standorteliste","GetHomeofficefreigeberliste",this.Debug.Typen.Service)}}GetUrlausbsfreigeberliste(S){try{let y=u.filter(this.Pool.Mitarbeiterliste,f=>!0===f.Urlaubsfreigaben);return y=u.filter(y,f=>-1!==f.Urlaubsfreigabeorte.indexOf(S)),y}catch(y){this.Debug.ShowErrorMessage(y,"Standorteliste","GetUrlausbsfreigeberliste",this.Debug.Typen.Component)}}static \u0275fac=function(y){return new(y||p)(i.\u0275\u0275inject(e.DebugProvider),i.\u0275\u0275inject(o.HttpClient),i.\u0275\u0275inject(h.ConstProvider),i.\u0275\u0275inject(v.DatabasePoolService))};static \u0275prov=i.\u0275\u0275defineInjectable({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})()},15024:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.DatabaseMitarbeitersettingsService=void 0;const n=s(81316),l=n.__importStar(s(17964)),u=s(97048),c=n.__importStar(s(54496)),i=n.__importStar(s(34388)),e=n.__importStar(s(97048)),o=n.__importStar(s(7992));m.DatabaseMitarbeitersettingsService=(()=>{class v{Debug;http;Pool;ServerSettingsUrl;constructor(p,E,S){this.Debug=p,this.http=E,this.Pool=S;try{this.ServerSettingsUrl=this.Pool.CockpitdockerURL+"/settings/"}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Mitarbeitersettings","constructor",this.Debug.Typen.Service)}}InitService(){}FinishService(){}SaveMitarbeitersettings(){let p;return new Promise((E,S)=>{null===this.Pool.Mitarbeitersettings._id?(p=this.http.post(this.ServerSettingsUrl,this.Pool.Mitarbeitersettings),p.subscribe({next:y=>{this.Pool.Mitarbeitersettings=y.Settings},complete:()=>{this.Pool.MitarbeitersettingslisteChanged.emit(),E(this.Pool.Mitarbeitersettings)},error:y=>{S(y)}})):(delete this.Pool.Mitarbeitersettings.__v,p=this.http.put(this.ServerSettingsUrl,this.Pool.Mitarbeitersettings),p.subscribe({next:y=>{this.Pool.Mitarbeitersettings=y.Settings},complete:()=>{this.Pool.MitarbeitersettingslisteChanged.emit(),E(this.Pool.Mitarbeitersettings)},error:y=>{S(y)}}))})}catch(p){this.Debug.ShowErrorMessage(p.message,"Database Standorte","SaveMitarbeitersettings",this.Debug.Typen.Service)}UpdateMitarbeitersettings(p,E){try{let S,f;return(new u.HttpParams).set("id",p._id),null!==E&&null!==E.ProjektID&&(f=l.findIndex(p.Aufgabenansicht,{ProjektID:E.ProjektID}),-1===f&&p.Aufgabenansicht.push(E)),delete p.__v,new Promise((C,_)=>{S=this.http.put(this.ServerSettingsUrl,p),S.subscribe({next:w=>{this.Pool.Mitarbeitersettings=w.Settings},complete:()=>{this.Pool.MitarbeitersettingsChanged.emit(),this.UpdateMitarbeitersettingsliste(p),C(!0)},error:w=>{_(w)}})})}catch(S){this.Debug.ShowErrorMessage(S.message,"Database Mitarbeitersettings","UpdateMitarbeiter",this.Debug.Typen.Page)}}UpdateMitarbeitersettingsliste(p){try{let E;E=l.findIndex(this.Pool.Mitarbeitersettingsliste,{_id:p._id}),-1!==E?(this.Pool.Mitarbeitersettingsliste[E]=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=l.filter(this.Pool.Mitarbeitersettingsliste,S=>!1===S.Deleted),this.Pool.MitarbeitersettingslisteChanged.emit()}catch(E){this.Debug.ShowErrorMessage(E.message,"Database Mitarbeitersettings","UpdateMitarbeiterliste",this.Debug.Typen.Service)}}AddMitarbeitersetting(p){try{let E,S;return new Promise((y,f)=>{E=this.http.post(this.ServerSettingsUrl,p),E.subscribe({next:C=>{p=C.Setting},complete:()=>{this.UpdateMitarbeitersettingsliste(p),this.Pool.MitarbeitersettingslisteChanged.emit(),y(S)},error:C=>{f(C)}})})}catch(E){this.Debug.ShowErrorMessage(E.message,"Database Mitarbeitersettings","AddMitarbeiter",this.Debug.Typen.Page)}}static \u0275fac=function(E){return new(E||v)(c.\u0275\u0275inject(i.DebugProvider),c.\u0275\u0275inject(e.HttpClient),c.\u0275\u0275inject(o.DatabasePoolService))};static \u0275prov=c.\u0275\u0275defineInjectable({token:v,factory:v.\u0275fac,providedIn:"root"})}return v})()},7992:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.DatabasePoolService=void 0;const n=s(81316),l=s(54496),u=s(97048),c=s(16213),i=n.__importStar(s(17964)),e=s(36716),o=n.__importStar(s(54496)),h=n.__importStar(s(34388)),v=n.__importStar(s(29743)),M=n.__importStar(s(14652)),p=n.__importStar(s(97048));m.DatabasePoolService=(()=>{class S{Debug;Const;Basics;Http;Standorteliste;Mitarbeiterliste;Mitarbeiterpositionenliste;Mitarbeitersettingsliste;CockpitserverURL;CockpitdockerURL;Mitarbeiterdaten;Mitarbeiterstandort;Mitarbeitersettings;ShowProgress;MaxProgressValue;CurrentProgressValue;ProgressMessage;Changlogliste;MitarbeiterdatenHasError;Emailcontent;ProjektdatenLoaded;Emailcontentvarinaten;Appeinstellungen;StandortelisteChanged=new l.EventEmitter;MitarbeiterlisteChanged=new l.EventEmitter;MitarbeiterpositionenlisteChanged=new l.EventEmitter;MitarbeiterdatenChanged=new l.EventEmitter;MitarbeitersettingslisteChanged=new l.EventEmitter;MitarbeitersettingsChanged=new l.EventEmitter;LoadingAllDataFinished=new l.EventEmitter;ChangeloglisteChanged=new l.EventEmitter;Signatur;ApplicationURL;constructor(f,C,_,w){this.Debug=f,this.Const=C,this.Basics=_,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.Mitarbeiterpositionenliste=[],this.Mitarbeiterstandort=null,this.ShowProgress=!1,this.Mitarbeitersettingsliste=[],this.MaxProgressValue=0,this.CurrentProgressValue=0,this.Standorteliste=[],this.Mitarbeiterliste=[],this.Changlogliste=[],this.CockpitserverURL=!0===e.environment.production||!0===e.environment.useonlinedb?"https://bae-urlaubsplaner-server.azurewebsites.net":"http://localhost:8080",this.CockpitdockerURL=!0===e.environment.production||!0===e.environment.useonlinedb?"https://bae-urlaubsplaner-docker.azurewebsites.net":"http://localhost:80",this.ApplicationURL=!0===e.environment.production?"https://nice-glacier-0c9ec7703.3.azurestaticapps.net":"http://localhost:4200",this.Emailcontent=this.Emailcontentvarinaten.NONE,this.ProjektdatenLoaded=!1,this.Appeinstellungen=null,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(D){this.Debug.ShowErrorMessage(D.message,"Database Pool","constructor",this.Debug.Typen.Service)}}GetFilledSignatur(f,C){try{let R,k,_=this.Signatur,w=f.Telefon,D=f.Mobil,L=f.Email,N=f.Vorname+" "+f.Name,V=f.Jobtitel,G=i.find(this.Standorteliste,{_id:f.StandortID});return i.isUndefined(G)||(R=G.Strasse,k=G.PLZ+" "+G.Ort,_=_.replace("[Strasse]",R),_=_.replace("[Ort]",k)),_=_.replace("[Name]",N),_=_.replace("[Jobtitel]",V),_=_.replace("[Telefon]",w),_=_.replace("[Mobil]",D),_=_.split("[Email]").join(L),_=_.split("[Image]").join(this.Basics.WebAppUrl+"/assets/images/group_logo.png"),_}catch(_){this.Debug.ShowErrorMessage(_,"Database Pool","GetFilledSignatur",this.Debug.Typen.Service)}}ReadMitarbeiterliste(){try{this.Mitarbeiterliste=[];let f=new u.HttpHeaders({"content-type":"application/json"});return new Promise((C,_)=>{this.Http.get(this.CockpitdockerURL+"/mitarbeiter",{headers:f}).subscribe({next:D=>{this.Mitarbeiterliste=D},complete:()=>{for(let D of this.Mitarbeiterliste)D=this.InitMitarbeiter(D);this.MitarbeiterlisteChanged.emit(),C(!0)},error:D=>{console.log(D.message),console.log("Mitarbeiterliste lesen war fehlerhaft."),_(D)}})})}catch(f){this.Debug.ShowErrorMessage(f.message,"Database Pool","ReadMitarbeiterliste",this.Debug.Typen.Service)}}ReadMitarbeiterpositionenliste(){try{this.Mitarbeiterpositionenliste=[];let f=new u.HttpHeaders({"content-type":"application/json"});return new Promise((C,_)=>{this.Http.get(this.CockpitdockerURL+"/mitarbeiterpositionen",{headers:f}).subscribe({next:D=>{this.Mitarbeiterpositionenliste=D},complete:()=>{this.MitarbeiterpositionenlisteChanged.emit(),C(!0)},error:D=>{console.log("Error: "+D.message),console.log("Mitarbeiterpositionenliste lesen war fehlerhaft."),_(D)}})})}catch(f){this.Debug.ShowErrorMessage(f.message,"Database Pool","ReadMitarbeiterpositionenliste",this.Debug.Typen.Service)}}ReadChangelogliste(){try{this.Changlogliste=[];let f=new u.HttpHeaders({"content-type":"application/json"});return new Promise((C,_)=>{this.Http.get(this.CockpitdockerURL+"/changelog",{headers:f}).subscribe({next:D=>{this.Changlogliste=D},complete:()=>{this.Changlogliste.sort((D,L)=>D.Zeitstempel>L.Zeitstempel?-1:D.Zeitstempel{_(D)}})})}catch(f){this.Debug.ShowErrorMessage(f.message,"Database Pool","ReadChangelogliste",this.Debug.Typen.Service)}}ReadStandorteliste(){try{this.Standorteliste=[];let f=new u.HttpHeaders({"content-type":"application/json"});return new Promise((C,_)=>{this.Http.get(this.CockpitdockerURL+"/standorte",{headers:f}).subscribe({next:D=>{this.Standorteliste=D},complete:()=>{for(let D of this.Standorteliste)i.isUndefined(D.Konfession)&&(D.Konfession="RK"),i.isUndefined(D.Bundesland)&&(D.Bundesland="DE-BY"),i.isUndefined(D.Land)&&(D.Land="DE"),i.isUndefined(D.Homeofficefreigabepersonen)&&(D.Homeofficefreigabepersonen=[]),i.isUndefined(D.Urlaubfreigabepersonen)&&(D.Urlaubfreigabepersonen=[]);this.StandortelisteChanged.emit(),C(!0)},error:D=>{_(D)}})})}catch(f){this.Debug.ShowErrorMessage(f.message,"Database Pool","ReadStandorteliste",this.Debug.Typen.Service)}}ReadSettingsliste(){try{this.Mitarbeitersettingsliste=[];let f=new u.HttpHeaders({"content-type":"application/json"});return new Promise((C,_)=>{this.Http.get(this.CockpitdockerURL+"/settings",{headers:f}).subscribe({next:D=>{this.Mitarbeitersettingsliste=D},complete:()=>{this.MitarbeitersettingslisteChanged.emit(),C(!0)},error:D=>{_(D)}})})}catch(f){this.Debug.ShowErrorMessage(f.message,"Database Pool","ReadStandorteliste",this.Debug.Typen.Service)}}InitMitarbeiter(f){try{i.isUndefined(f.SettingsID)&&(f.SettingsID=null),i.isUndefined(f.Archiviert)&&(f.Archiviert=!1),i.isUndefined(f.Meintagliste)&&(f.Meintagliste=[]),i.isUndefined(f.Meinewocheliste)&&(f.Meinewocheliste=[]),i.isUndefined(f.Anrede)&&(f.Anrede=this.Const.NONE),i.isUndefined(f.Urlaub)&&(f.Urlaub=30),i.isUndefined(f.Resturlaub)&&(f.Resturlaub=0),i.isUndefined(f.Urlaubsliste)&&(f.Urlaubsliste=[]),i.isUndefined(f.Urlaubsfreigaben)&&(f.Urlaubsfreigaben=!1),i.isUndefined(f.Planeradministrator)&&(f.Planeradministrator=!1),i.isUndefined(f.Urlaubsfreigaben)&&(f.Urlaubsfreigaben=!1),i.isUndefined(f.Homeofficefreigaben)&&(f.Homeofficefreigaben=!1),i.isUndefined(f.Homeofficefreigabestandorte)&&(f.Homeofficefreigabestandorte=[]),i.isUndefined(f.Urlaubsfreigabeorte)&&(f.Urlaubsfreigabeorte=[]),i.isUndefined(f.PositionID)&&(f.PositionID=null);for(let C of f.Meinewocheliste)i.isUndefined(C.Kalenderwoche)&&(C.Kalenderwoche=0);return f.Urlaubsliste.sort((C,_)=>C.Jahr<_.Jahr?-1:C.Jahr>_.Jahr?1:0),f}catch(C){this.Debug.ShowErrorMessage(C.message,"Database Pool","InitMitarbeiter",this.Debug.Typen.Service)}}CheckMitarbeiterdaten(){try{return this.MitarbeiterdatenHasError=null===this.Mitarbeiterdaten,this.MitarbeiterdatenHasError}catch(f){this.Debug.ShowErrorMessage(f,"Database Pool","CheckMItarbeiterdaten",this.Debug.Typen.Service)}}GetNewUniqueID(){try{return(0,c.v4)()}catch(f){this.Debug.ShowErrorMessage(f.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,UrlaubShowMeinenUrlaub:!0,UrlaubShowFerien_DE:!1,UrlaubShowFeiertage_DE:!1,UrlaubShowFerien_BG:!1,UrlaubShowFeiertage_BG:!1,ShowHomeoffice:!0,OberkostengruppeFilter:null,HauptkostengruppeFilter:null,UnterkostengruppeFilter:null,AufgabenTerminfiltervariante:null,AufgabenTerminfilterStartwert:null,AufgabenTerminfilterEndewert:null,LOPListeGeschlossenZeitfilter:14}}catch(f){this.Debug.ShowErrorMessage(f.message,"Database Pool","GetNewMitarbeitersettings",this.Debug.Typen.Service)}}InitMitarbeitersettings(){try{let f;return null===this.Mitarbeiterdaten.SettingsID?this.GetNewMitarbeitersettings():(f=i.find(this.Mitarbeitersettingsliste,{_id:this.Mitarbeiterdaten.SettingsID}),i.isUndefined(f)?this.GetNewMitarbeitersettings():(i.isUndefined(f.Favoritprojektindex)&&(f.Favoritprojektindex=3e3),i.isUndefined(f.HeadermenueMaxFavoriten)&&(f.HeadermenueMaxFavoriten=6),i.isUndefined(f.Zoomfaktor)&&(f.Zoomfaktor=100),i.isUndefined(f.Textsize)&&(f.Textsize=14),i.isUndefined(f.Deleted)&&(f.Deleted=!1),i.isUndefined(f.AufgabenShowNummer)&&(f.AufgabenShowNummer=!0),i.isUndefined(f.AufgabenShowStartdatum)&&(f.AufgabenShowStartdatum=!0),i.isUndefined(f.AufgabenShowAufgabe)&&(f.AufgabenShowAufgabe=!0),i.isUndefined(f.AufgabenShowBemerkung)&&(f.AufgabenShowBemerkung=!0),i.isUndefined(f.AufgabenShowTage)&&(f.AufgabenShowTage=!0),i.isUndefined(f.AufgabenShowTermin)&&(f.AufgabenShowTermin=!0),i.isUndefined(f.AufgabenShowStatus)&&(f.AufgabenShowStatus=!0),i.isUndefined(f.AufgabenShowFortschritt)&&(f.AufgabenShowFortschritt=!0),i.isUndefined(f.AufgabenShowZustaendig)&&(f.AufgabenShowZustaendig=!0),i.isUndefined(f.AufgabenShowMeintag)&&(f.AufgabenShowMeintag=!0),i.isUndefined(f.AufgabenShowZeitansatz)&&(f.AufgabenShowZeitansatz=!0),i.isUndefined(f.AufgabenShowMeinewoche)&&(f.AufgabenShowMeinewoche=!0),i.isUndefined(f.Aufgabenansicht)&&(f.Aufgabenansicht=[]),i.isUndefined(f.AufgabenTerminfiltervariante)&&(f.AufgabenTerminfiltervariante=null),i.isUndefined(f.AufgabenTerminfilterStartwert)&&(f.AufgabenTerminfilterStartwert=null),i.isUndefined(f.AufgabenTerminfilterEndewert)&&(f.AufgabenTerminfilterEndewert=null),i.isUndefined(f.AufgabenSortiermodus)&&(f.AufgabenSortiermodus=this.Const.AufgabenSortiermodusvarianten.TermineAufsteigend),i.isUndefined(f.AufgabenMeilensteineNachlauf)&&(f.AufgabenMeilensteineNachlauf=2),i.isUndefined(f.LOPListeGeschlossenZeitfilter)&&(f.LOPListeGeschlossenZeitfilter=14),i.isUndefined(f.LeistungsphaseFilter)&&(f.LeistungsphaseFilter=this.Const.Leistungsphasenvarianten.UNBEKANNT),i.isUndefined(f.OberkostengruppeFilter)&&(f.OberkostengruppeFilter=null),i.isUndefined(f.UnterkostengruppeFilter)&&(f.UnterkostengruppeFilter=null),i.isUndefined(f.HauptkostengruppeFilter)&&(f.HauptkostengruppeFilter=null),i.isUndefined(f.UrlaubShowBeantragt)&&(f.UrlaubShowBeantragt=!0),i.isUndefined(f.UrlaubShowVertreterfreigabe)&&(f.UrlaubShowVertreterfreigabe=!0),i.isUndefined(f.UrlaubShowGenehmigt)&&(f.UrlaubShowGenehmigt=!0),i.isUndefined(f.UrlaubShowAbgelehnt)&&(f.UrlaubShowAbgelehnt=!0),i.isUndefined(f.UrlaubShowFerien_DE)&&(f.UrlaubShowFerien_DE=!1),i.isUndefined(f.UrlaubShowFerien_BG)&&(f.UrlaubShowFerien_BG=!1),i.isUndefined(f.UrlaubShowFeiertage_DE)&&(f.UrlaubShowFeiertage_DE=!1),i.isUndefined(f.UrlaubShowFeiertage_BG)&&(f.UrlaubShowFeiertage_BG=!1),i.isUndefined(f.UrlaubShowMeinenUrlaub)&&(f.UrlaubShowMeinenUrlaub=!0),i.isUndefined(f.ShowHomeoffice)&&(f.ShowHomeoffice=!0),f))}catch(f){this.Debug.ShowErrorMessage(f.message,"Database Pool","InitMitarbeitersettings",this.Debug.Typen.Service)}}static \u0275fac=function(C){return new(C||S)(o.\u0275\u0275inject(h.DebugProvider),o.\u0275\u0275inject(v.ConstProvider),o.\u0275\u0275inject(M.BasicsProvider),o.\u0275\u0275inject(p.HttpClient))};static \u0275prov=o.\u0275\u0275defineInjectable({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})()},58864:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.DatabaseStandorteService=void 0;const n=s(81316),l=s(54496),u=n.__importStar(s(17964)),c=n.__importDefault(s(35908)),i=s(16213),e=n.__importStar(s(54496)),o=n.__importStar(s(34388)),h=n.__importStar(s(7992)),v=n.__importStar(s(29743)),M=n.__importStar(s(97048));m.DatabaseStandorteService=(()=>{class E{Debug;Pool;Const;http;CurrentStandort;CurrentStandortfilter;StandortfilterChanged=new l.EventEmitter;ServerUrl;constructor(y,f,C,_){this.Debug=y,this.Pool=f,this.Const=C,this.http=_;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 y;null!==this.Pool.Mitarbeiterdaten&&this.Pool.Mitarbeitersettings.StandortFilter!==this.Const.NONE?(y=u.find(this.Pool.Standorteliste,{_id:this.Pool.Mitarbeitersettings.StandortFilter}),y&&(this.CurrentStandortfilter=u.cloneDeep(y))):this.CurrentStandortfilter=null,null!==this.Pool.Mitarbeiterdaten?(y=u.find(this.Pool.Standorteliste,{_id:this.Pool.Mitarbeiterdaten.StandortID}),!1===u.isUndefined(y)&&(this.Pool.Mitarbeiterstandort=y)):this.Pool.Mitarbeiterstandort=null;for(let f of this.Pool.Standorteliste)f.ShowInGesamtuebersicht=f._id===this.Pool.Mitarbeiterdaten.StandortID;this.StandortfilterChanged.emit()}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Standorte","InitService",this.Debug.Typen.Service)}}FinishService(){}GetStandort(y){try{let f;return f=u.find(this.Pool.Standorteliste,{_id:y}),u.isUndefined(f)?"unbekannt":f.Kuerzel+" - "+f.Ort}catch(f){this.Debug.ShowErrorMessage(f.message,"Mitarbeiter Editor","GetStandort",this.Debug.Typen.Component)}}GetEmptyStandort(){try{let y=(0,c.default)();return{_id:null,Standort:"",Kuerzel:"",Strasse:"",PLZ:"",Ort:"",Telefon:"",Email:"",Deleted:!1,Bundesland:"DE-BY",Konfession:"RK",Land:"DE",Homeofficefreigabepersonen:[],Urlaubfreigabepersonen:[],Zeitstempel:y.valueOf(),Zeitpunkt:y.format("DD.MM.YYYY")}}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Standorte","GetEmptyStandort",this.Debug.Typen.Service)}}GetUniqueStandortID(){try{let y=this.CurrentStandort.Kuerzel;return y=y.replace(/ /g,"_"),y=y.replace(/-/g,"_"),y=y.replace(/./g,"_"),y+"_"+(0,i.v4)()}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Standorte","GetUniqueStandortID",this.Debug.Typen.Service)}}AddStandort(){try{let y,f;return new Promise((C,_)=>{y=this.http.post(this.ServerUrl,this.CurrentStandort),y.subscribe({next:w=>{f=w.data},complete:()=>{this.UpdateStandortliste(f),this.Pool.StandortelisteChanged.emit(),C(!0)},error:w=>{_(w)}})})}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Standorte","AddStandort",this.Debug.Typen.Service)}}UpdateStandortliste(y){try{let f;f=u.findIndex(this.Pool.Standorteliste,{_id:this.CurrentStandort._id}),-1!==f?(this.Pool.Standorteliste[f]=y,this.Debug.ShowMessage("Standortliste updated: "+y.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(y)),this.Pool.Standorteliste=u.filter(this.Pool.Standorteliste,C=>!1===C.Deleted)}catch(f){this.Debug.ShowErrorMessage(f.message,"Database Standorte","UpdateStandortliste",this.Debug.Typen.Service)}}UpdateStandort(){try{let y;return delete this.CurrentStandort.__v,new Promise((f,C)=>{y=this.http.put(this.ServerUrl,this.CurrentStandort),y.subscribe({next:_=>{},complete:()=>{this.UpdateStandortliste(this.CurrentStandort),this.Pool.StandortelisteChanged.emit(),f(!0)},error:_=>{C(_)}})})}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Standorte","UpdateStandort",this.Debug.Typen.Service)}}DeleteStandort(){try{let y;return this.CurrentStandort.Deleted=!0,new Promise((f,C)=>{y=this.http.put(this.ServerUrl,this.CurrentStandort),y.subscribe({next:_=>{},complete:()=>{this.UpdateStandortliste(this.CurrentStandort),this.Pool.StandortelisteChanged.emit(),f(!0)},error:_=>{C(_)}})})}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Standorte","DeleteStandort",this.Debug.Typen.Service)}}GetStandortfiller(){try{return null===this.CurrentStandortfilter?"kein Standortfilter":this.CurrentStandortfilter.Kuerzel+" / "+this.CurrentStandortfilter.Ort}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Standorte","GetStandortfiller",this.Debug.Typen.Service)}}static \u0275fac=function(f){return new(f||E)(e.\u0275\u0275inject(o.DebugProvider),e.\u0275\u0275inject(h.DatabasePoolService),e.\u0275\u0275inject(v.ConstProvider),e.\u0275\u0275inject(M.HttpClient))};static \u0275prov=e.\u0275\u0275defineInjectable({token:E,factory:E.\u0275fac,providedIn:"root"})}return E})()},9544:(pe,m,s)=>{"use strict";var n=s(1196).default;Object.defineProperty(m,"__esModule",{value:!0}),m.DatabaseUrlaubService=void 0;const l=s(81316),u=s(54496),c=l.__importStar(s(17964)),i=l.__importDefault(s(35908)),e=l.__importStar(s(54496)),o=l.__importStar(s(34388)),h=l.__importStar(s(7992)),v=l.__importStar(s(29743)),M=l.__importStar(s(8608)),p=l.__importStar(s(22848)),E=l.__importStar(s(14652)),S=l.__importStar(s(97048));m.DatabaseUrlaubService=(()=>{class f{Debug;Pool;Const;Graph;DBMitarbeiter;Basics;http;PlanungsmonateChanged=new u.EventEmitter;ExterneUrlaubeChanged=new u.EventEmitter;ExterneHomeofficeChanged=new u.EventEmitter;UrlaubStatusChanged=new u.EventEmitter;HomeofficeStatusChanged=new u.EventEmitter;AddUrlaubCancelEvent=new u.EventEmitter;UpdateKalenderRequestEvent=new u.EventEmitter;CurrentHomeofficecounter;Bundeslandkuerzel;Bundesland;Regionenliste;CurrentJahr;Jahr;Startjahr;Feiertageliste;Ferienliste;CurrentUrlaub;UrlaublisteExtern;CurrentMonatindex;LastMonatIndex;FirstMonatIndex;Laendercode;ShowFeiertage_DE;ShowFeiertage_BG;ShowFerientage_DE;ShowFerientage_BG;Ferienfarbe_DE;Ferienfarbe_BG;Feiertagefarbe_DE;Feiertagefarbe_BG;CurrentUrlaubzeitspanne;CurrentHomeofficezeitspanne;Monateliste;ServerReadfeiertageUrl;ServerReadRegionenUrl;ServerReadFerienUrl;Vertretrungliste;Urlaubfreigabenliste;Homeofficefreigabenliste;Vertretungsanfragenanzahl;Vertretungsantwortenanzahl;Freigabenanfragenanzahl;Freigabenantwortenanzahl;Urlaubsanfragenanzahl;Homeofficeanfragenanzahl;Homeofficantwortenanzahl;Antwortenanzahl;CorrectSetup;Officeemailadress;CurrentMitarbeiter;Kalenderwochenhoehenliste;Urlaubstatusvarianten={Geplant:"Geplant",Vertreterablehnung:"Vertreterablehnung",Vertreteranfrage:"Vertreteranfrage",Vertreterfreigabe:"Vertreterfreigabe",Abgelehnt:"Abgelehnt",Genehmigt:"Genehmigt",Feiertag:"Feiertag",Ferientag:"Ferientag"};GesamtuebersichtSetting={ShowGeplant:!0,ShowVertreteranfragen:!0,ShowVertreterfreigaben:!0,ShowVertreterablehnungen:!1,ShowUrlaubsgenehmigungen:!0,ShowUrlaubsablehnungen:!1,ShowHomeofficeGeplant:!0,ShowHomeofficeGenehmigt:!0,ShowHomeofficeAnfrage:!0};Homeofficestatusvarianten={Geplant:"Geplant",Freigabeanfrage:"Freigabeanfrage",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"};Homeofficefarben={Geplant:"#307ac1",Freigabeanfrage:"#04B4AE",Abgelehnt:"red",Genehmigt:"green"};constructor(_,w,D,L,N,V,G){this.Debug=_,this.Pool=w,this.Const=D,this.Graph=L,this.DBMitarbeiter=N,this.Basics=V,this.http=G;try{this.ServerReadfeiertageUrl=this.Pool.CockpitdockerURL+"/readfeiertage",this.ServerReadFerienUrl=this.Pool.CockpitdockerURL+"/readferien",this.ServerReadRegionenUrl=this.Pool.CockpitdockerURL+"/readregionen",this.CurrentUrlaub=null,this.CurrentJahr=(0,i.default)().year(),this.Jahr=(0,i.default)().year(),this.Bundeslandkuerzel="DE-BY",this.Bundesland="",this.Feiertageliste=[],this.Ferienliste=[],this.Urlaubfreigabenliste=[],this.Homeofficefreigabenliste=[],this.CurrentMonatindex=(0,i.default)().month(),this.FirstMonatIndex=this.CurrentMonatindex-1,this.LastMonatIndex=this.CurrentMonatindex+1,this.CurrentUrlaubzeitspanne=null,this.CurrentUrlaubzeitspanne=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.Urlaubsanfragenanzahl=0,this.Antwortenanzahl=0,this.Vertretungsanfragenanzahl=0,this.Vertretungsantwortenanzahl=0,this.Freigabenanfragenanzahl=0,this.Freigabenantwortenanzahl=0,this.Homeofficeanfragenanzahl=0,this.Homeofficantwortenanzahl=0,this.CurrentHomeofficecounter=0,this.CurrentMitarbeiter=null,this.Startjahr=2024,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(R){this.Debug.ShowErrorMessage(R.message,"Database Urlaub","constructor",this.Debug.Typen.Service)}}SetMitarbeiter(_){try{this.CurrentMitarbeiter=c.cloneDeep(_)}catch(w){this.Debug.ShowErrorMessage(w,"Database Urlaub","SetMitarbeiter",this.Debug.Typen.Service)}}CheckSetup(){try{let _,w,D=0,L=0;if(null!==this.CurrentMitarbeiter){_=c.find(this.Pool.Standorteliste,{_id:this.CurrentMitarbeiter.StandortID});for(let N of _.Urlaubfreigabepersonen)w=c.find(this.Pool.Mitarbeiterliste,{_id:N}),c.isUndefined(w)||D++;for(let N of _.Homeofficefreigabepersonen)w=c.find(this.Pool.Mitarbeiterliste,{_id:N}),c.isUndefined(w)||L++;this.CorrectSetup=D>0&&L>0&&this.CurrentUrlaub.Projektbeteiligteliste.length>0}else this.CorrectSetup=!1}catch(_){this.Debug.ShowErrorMessage(_,"Database Urlaub","CheckSetup",this.Debug.Typen.Service)}}GetFreigabenliste(){try{let _,w,D,L,N;if(this.Freigabenanfragenanzahl=0,this.Freigabenantwortenanzahl=0,this.Urlaubfreigabenliste=[],this.Homeofficefreigabenliste=[],null!==this.CurrentMitarbeiter)for(let V of this.Pool.Mitarbeiterliste){if(L=c.find(this.Pool.Standorteliste,{_id:V.StandortID}),_=c.find(V.Urlaubsliste,G=>G.Jahr===this.CurrentJahr),!c.isUndefined(_)){w=!1,D=!1;for(let G of _.Urlaubzeitspannen)G=this.InitUrlaubzeitspanne(G),N=-1!==L.Urlaubfreigabepersonen.indexOf(this.CurrentMitarbeiter._id)&&this.CurrentMitarbeiter.Urlaubsfreigaben,N&&!0===this.CheckUrlaubFreigabeanwortAge(G)&&(G.Status===this.Urlaubstatusvarianten.Vertreterfreigabe||G.Status===this.Urlaubstatusvarianten.Abgelehnt||G.Status===this.Urlaubstatusvarianten.Genehmigt)&&c.isUndefined(c.find(this.Urlaubfreigabenliste,{_id:V._id}))&&(this.Urlaubfreigabenliste.push(V),G.Status===this.Urlaubstatusvarianten.Vertreterfreigabe?w=!0:D=!0);!0===w&&(this.Urlaubsanfragenanzahl++,this.Freigabenanfragenanzahl++),!0===D&&this.Freigabenantwortenanzahl++}if(!c.isUndefined(_))for(let G of _.Homeofficezeitspannen)w=!1,D=!1,N=-1!==L.Homeofficefreigabepersonen.indexOf(this.CurrentMitarbeiter._id)&&this.CurrentMitarbeiter.Homeofficefreigaben,N&&!0===this.CheckHomeofficeFreigabeanwortAge(G)&&(G.Status===this.Homeofficestatusvarianten.Freigabeanfrage||G.Status===this.Homeofficestatusvarianten.Abgelehnt||G.Status===this.Homeofficestatusvarianten.Genehmigt)&&c.isUndefined(c.find(this.Homeofficefreigabenliste,{_id:V._id}))&&(this.Homeofficefreigabenliste.push(V),G.Status===this.Homeofficestatusvarianten.Freigabeanfrage?w=!0:D=!0),!0===w&&this.Homeofficeanfragenanzahl++,!0===D&&this.Homeofficantwortenanzahl++}}catch(_){this.Debug.ShowErrorMessage(_,"Database Urlaub","GetFreigabenliste",this.Debug.Typen.Service)}}GetVertretungkonversation(_,w){try{let D=c.find(w.Vertretungskonversationliste,{VertreterID:_._id});return c.isUndefined(D)?null:D}catch(D){this.Debug.ShowErrorMessage(D,"Database Urlaub","GetVertretungkonversation",this.Debug.Typen.Service)}}CheckVertretungsanwortAge(_){try{let D,L,w=(0,i.default)().locale("de"),N=c.find(_.Vertretungskonversationliste,{VertreterID:this.CurrentMitarbeiter._id});return!!c.isUndefined(N)||!0!==N.VertreterantwortSended||null!==N.Vertretungantwortzeitstempel&&(D=(0,i.default)(N.Vertretungantwortzeitstempel).locale("de"),L=i.default.duration(w.diff(D)).asMinutes(),L<=5)}catch(w){this.Debug.ShowErrorMessage(w,"Database Urlaub","CheckVertretungsanwortAge",this.Debug.Typen.Service)}}CheckUrlaubFreigabeanwortAge(_){try{let D,L,w=(0,i.default)().locale("de");return!0!==_.FreigabeantwortSended||_.Status!==this.Urlaubstatusvarianten.Genehmigt&&_.Status!==this.Urlaubstatusvarianten.Abgelehnt||null!==_.Freigabeantwortzeitstempel&&(D=(0,i.default)(_.Freigabeantwortzeitstempel).locale("de"),L=i.default.duration(w.diff(D)).asMinutes(),L<=5)}catch(w){this.Debug.ShowErrorMessage(w,"Database Urlaub","CheckUrlaubFreigabeanwortAge",this.Debug.Typen.Service)}}CheckHomeofficeFreigabeanwortAge(_){try{let D,L,w=(0,i.default)().locale("de");return!0!==_.FreigabeantwortSended||_.Status!==this.Homeofficestatusvarianten.Genehmigt&&_.Status!==this.Homeofficestatusvarianten.Abgelehnt||null!==_.Freigabeantwortzeitstempel&&(D=(0,i.default)(_.Freigabeantwortzeitstempel).locale("de"),L=i.default.duration(w.diff(D)).asMinutes(),L<=5)}catch(w){this.Debug.ShowErrorMessage(w,"Database Urlaub","CheckHomeofficeFreigabeanwortAge",this.Debug.Typen.Service)}}GetVertretungsanwortAge(_){try{let D,L,w=(0,i.default)().locale("de"),N=c.find(_.Vertretungskonversationliste,{VertreterID:this.CurrentMitarbeiter._id});return N.Status!==this.Urlaubstatusvarianten.Vertreterfreigabe&&N.Status!==this.Urlaubstatusvarianten.Vertreterablehnung||!0!==N.VertreterantwortSended||null===N.Vertretungantwortzeitstempel?0:(D=(0,i.default)(N.Vertretungantwortzeitstempel).locale("de"),L=i.default.duration(w.diff(D)).asMinutes(),L)}catch(w){this.Debug.ShowErrorMessage(w,"Database Urlaub","GetVertretungsanwortAge",this.Debug.Typen.Service)}}CheckMitarbeiterIsVertretung(_,w){try{let D=!1,L=c.find(w.Vertretungskonversationliste,{VertreterID:_._id});return c.isUndefined(L)||L.VertreteranfrageSended&&(D=!0),D}catch(D){this.Debug.ShowErrorMessage(D,"Database Urlaub","ChechMitarbeiterIsVertretung",this.Debug.Typen.Service)}}CheckMitarbeiterIsOffeneVertretung(_,w){try{let D=!1,L=c.find(w.Vertretungskonversationliste,{VertreterID:_._id});return c.isUndefined(L)||!0===L.VertreteranfrageSended&&!1===L.VertreterantwortSended&&(D=!0),D}catch(D){this.Debug.ShowErrorMessage(D,"Database Urlaub","CheckMitarbeiterIsOffeneVertretung",this.Debug.Typen.Service)}}GetVertretungenliste(){try{let _,w,D,L;if(this.Vertretrungliste=[],this.Vertretungsantwortenanzahl=0,this.Vertretungsanfragenanzahl=0,null!==this.CurrentMitarbeiter)for(let N of this.Pool.Mitarbeiterliste)if(N._id!==this.CurrentMitarbeiter._id&&(_=c.find(N.Urlaubsliste,{Jahr:this.CurrentJahr}),!c.isUndefined(_))){D=!1,L=!1;for(let V of _.Urlaubzeitspannen)V=this.InitUrlaubzeitspanne(V),!0===this.CheckMitarbeiterIsVertretung(this.CurrentMitarbeiter,V)&&!0===this.CheckVertretungsanwortAge(V)&&(V.Status===this.Urlaubstatusvarianten.Vertreteranfrage||V.Status===this.Urlaubstatusvarianten.Vertreterfreigabe||V.Status===this.Urlaubstatusvarianten.Vertreterablehnung)&&(D=this.CheckMitarbeiterIsOffeneVertretung(this.CurrentMitarbeiter,V),L=!this.CheckMitarbeiterIsOffeneVertretung(this.CurrentMitarbeiter,V),w=c.find(this.Vertretrungliste,{_id:N._id}),c.isUndefined(w)&&this.Vertretrungliste.push(N));!0===D&&(this.Vertretungsanfragenanzahl++,this.Urlaubsanfragenanzahl++),!0===L&&this.Vertretungsantwortenanzahl++}}catch(_){this.Debug.ShowErrorMessage(_,"Database Urlaub","GetVertretungenliste",this.Debug.Typen.Service)}}GetUrlaubStatuscolor(_){try{let w="none";switch(_.Status){case this.Urlaubstatusvarianten.Geplant:w=this.Urlaubsfaben.Geplant;break;case this.Urlaubstatusvarianten.Vertreterfreigabe:w=this.Urlaubsfaben.Vertreterfreigabe;break;case this.Urlaubstatusvarianten.Vertreterablehnung:w=this.Urlaubsfaben.Vertreterablehnung;break;case this.Urlaubstatusvarianten.Vertreteranfrage:w=this.Urlaubsfaben.Vertreteranfrage;break;case this.Urlaubstatusvarianten.Genehmigt:w=this.Urlaubsfaben.Genehmigt;break;case this.Urlaubstatusvarianten.Abgelehnt:w=this.Urlaubsfaben.Abgelehnt;break;default:w="#00FFFF"}return w}catch(w){this.Debug.ShowErrorMessage(w,"Database Urlaub","GetUrlaubStatuscolor",this.Debug.Typen.Page)}}GetUrlaubStatuscolorSplit(_,w){try{let L,D="none";switch(_.Status){case this.Urlaubstatusvarianten.Geplant:D=this.Urlaubsfaben.Geplant;break;case this.Urlaubstatusvarianten.Vertreterfreigabe:D=this.Urlaubsfaben.Vertreterfreigabe;break;case this.Urlaubstatusvarianten.Vertreterablehnung:D=this.Urlaubsfaben.Vertreterablehnung;break;case this.Urlaubstatusvarianten.Vertreteranfrage:L=!1;for(let N of _.Vertretungskonversationliste)(!0===N.VertreteranfrageSended||!1===w)&&N.Status===this.Urlaubstatusvarianten.Vertreteranfrage&&(L=!0);D=L?this.Urlaubsfaben.Vertreteranfrage:this.Urlaubsfaben.Vertreterablehnung;break;case this.Urlaubstatusvarianten.Genehmigt:D=this.Urlaubsfaben.Genehmigt;break;case this.Urlaubstatusvarianten.Abgelehnt:D=this.Urlaubsfaben.Abgelehnt;break;default:D="#00FFFF"}return D}catch(D){this.Debug.ShowErrorMessage(D,"Database Urlaub","GetUrlaubStatuscolorSplit",this.Debug.Typen.Page)}}GetHomeofficeStatuscolor(_){try{let w="none";switch(_){case this.Homeofficestatusvarianten.Geplant:w=this.Homeofficefarben.Geplant;break;case this.Homeofficestatusvarianten.Freigabeanfrage:w=this.Homeofficefarben.Freigabeanfrage;break;case this.Homeofficestatusvarianten.Genehmigt:w=this.Homeofficefarben.Genehmigt;break;case this.Homeofficestatusvarianten.Abgelehnt:w=this.Homeofficefarben.Abgelehnt;break;default:w="#00FFFF"}return w}catch(w){this.Debug.ShowErrorMessage(w,"Database Urlaub","GetHomeofficeStatuscolor",this.Debug.Typen.Page)}}UpdateVertreteranfragen(){var _=this;return n(function*(){try{let w,k,D=(0,i.default)(),L=[],N=[],V=[],G=0,R=[],A=c.find(_.Pool.Standorteliste,{_id:_.CurrentMitarbeiter.StandortID}),H="";for(let ie of A.Urlaubfreigabepersonen)k=c.find(_.Pool.Mitarbeiterliste,{_id:ie}),c.isUndefined(k)||(R.push({emailAddress:{address:k.Email,name:k.Vorname+" "+k.Name}}),H+=k.Vorname+" "+k.Name,G{N="Hallo "+w.Vorname+",

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

",N+='',N+="",N+='';for(let ie of D)k=c.find(ie.Vertretungskonversationliste,{VertreterID:w._id}),ie.Status===this.Urlaubstatusvarianten.Geplant&&!1===k.VertreteranfrageSended&&(G=!0,k.Vertretunganfragezeitstempel=R.valueOf(),k.VertreteranfrageSended=!0,k.Status=this.Urlaubstatusvarianten.Vertreteranfrage,k.Vertretungmeldung="Vertretungsanfrage wurde am "+R.format("DD.MM.YY")+" an "+w.Vorname+" "+w.Name+" gesendet.",ie.Planungmeldung=_.Vorname+" "+_.Name+" hat dir am "+R.format("DD.MM.YY")+" eine Vertretungsanfrage gesendet.",N+="",N+='",N+='",N+="",A++);console.log("Vertreteranfrage an: "+w.Name+" | "+A+" St\xfcck"),N+="
VonBis
'+ie.Startstring+"'+ie.Endestring+"
",N+="
Die Urlaubsvertretung f\xfcr mich \xfcbernehmen kannst.

",N+="

",N+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',N+="

"+this.Pool.GetFilledSignatur(_,!0),V.push({emailAddress:{address:w.Email,name:w.Vorname+" "+w.Name}}),G?this.Graph.SendMail(V,L,N).then(()=>{console.log("Vertretungsanfrage wurde an "+w.Vorname+" "+w.Name+" gesendet."),H(D)}).catch(ie=>{K(ie)}):(console.log("Es wurde keine Vertretungsanfrage gesendet."),H(D))})}catch(L){this.Debug.ShowErrorMessage(L,"Database Urlaub","SendVertreteranfragen",this.Debug.Typen.Service)}}SendVertreterreminder(_){try{let D,w="Vertretungsanfragen in der Urlaubsplaner App",L=[];return new Promise((N,V)=>{D="Hallo "+_.Vorname+",

es gibt neue Vertretungsanfragen f\xfcr dich.
",D+="Bitte pr\xfcfe die Anfragen in der App.",D+="

",D+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',D+="

"+this.Pool.GetFilledSignatur(this.Pool.Mitarbeiterdaten,!0),L.push({emailAddress:{address:_.Email,name:_.Vorname+" "+_.Name}}),this.Graph.SendMail(L,w,D).then(()=>{console.log("Vertretungserinnerung wurde an "+_.Vorname+" "+_.Name+" gesendet."),N(!0)}).catch(G=>{V(G)})})}catch(w){this.Debug.ShowErrorMessage(w,"Database Urlaub","SendVertreterreminder",this.Debug.Typen.Service)}}SendFreigabereminder(_){try{let D,w="Urlaubsfreigaben Anfragen in der Urlaubsplaner App",L=[];return new Promise((N,V)=>{D="Hallo "+_.Vorname+",

es gibt neue Anfragen f\xfcr Urlaubsfreigaben.
",D+="Bitte pr\xfcfe die Anfragen in der App.",D+="

",D+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',D+="

"+this.Pool.GetFilledSignatur(this.Pool.Mitarbeiterdaten,!0),L.push({emailAddress:{address:_.Email,name:_.Vorname+" "+_.Name}}),this.Graph.SendMail(L,w,D).then(()=>{console.log("Freigebererinnerung wurde an "+_.Vorname+" "+_.Name+" gesendet."),N(!0)}).catch(G=>{V(G)})})}catch(w){this.Debug.ShowErrorMessage(w,"Database Urlaub","SendFreigabereminder",this.Debug.Typen.Service)}}SendHomeofficefreigabeanfrage(_,w,D){try{let L="Homeofficefreigabeanfrage von "+_.Vorname+" "+_.Name,N="",V=[],G=!1;return new Promise((R,k)=>{for(let A of w)N+="Hallo "+A.Vorname+",
";N+="
bitte folgende Homeofficetage freigeben:

",N+='',N+="",N+='",N+="",N+="
';for(let A of D)A.Status===this.Homeofficestatusvarianten.Freigabeanfrage&&!1===A.FreigabeanfrageSended&&(G=!0,A.FreigabeanfrageSended=!0,N+="",N+=A.Startstring+", ",N+="");N+="
",N+="

",N+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',N+="

"+this.Pool.GetFilledSignatur(_,!0);for(let A of w)V.push({emailAddress:{address:A.Email,name:A.Vorname+" "+A.Name}});G?this.Graph.SendMail(V,L,N).then(()=>{for(let A of w)console.log("Homeofficefreigabeanfrage wurde an "+A.Vorname+" "+A.Name+" gesendet.");R(D)}).catch(A=>{k(A)}):(console.log("Es wurden keine Homeofficefreigabeanfragen gesendet."),R(D))})}catch(L){this.Debug.ShowErrorMessage(L,"Database Urlaub","SendHomeofficefreigabeanfrage",this.Debug.Typen.Service)}}SendVertreterzusage(_,w){try{let L,R,D="Vertretungszusage von "+this.CurrentMitarbeiter.Vorname+" "+this.CurrentMitarbeiter.Name,N=[],V=!1,G=(0,i.default)().locale("de");return new Promise((k,A)=>{L="Hallo "+_.Vorname+",

nachfolgende Urlaubsvertretungen kann ich gerne wahrnehmen:

",L+='',L+="",L+='',L+="";for(let H of w.Urlaubzeitspannen)R=c.find(H.Vertretungskonversationliste,{VertreterID:this.CurrentMitarbeiter._id}),c.isUndefined(R)||R.Status===this.Urlaubstatusvarianten.Vertreterfreigabe&&!1===R.VertreterantwortSended&&(V=!0,H.Status=this.Urlaubstatusvarianten.Vertreterfreigabe,R.VertreterantwortSended=!0,R.Vertretungmeldung=this.CurrentMitarbeiter.Vorname+" "+this.CurrentMitarbeiter.Name+" hat der Vertretung am "+G.format("DD.MM.YY")+" zugestimmt.",R.Vertretungantwortzeitstempel=G.valueOf(),H.Vertretungskonversationliste=[R],H.UrlaubsvertreterIDListe=[R.VertreterID],L+="",L+='",L+='",L+='',L+="");L+="
VonBisVertretung
'+H.Startstring+"'+H.Endestring+"Zusage
",L+="

",L+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',L+="

"+this.Pool.GetFilledSignatur(this.CurrentMitarbeiter,!0),N.push({emailAddress:{address:_.Email,name:_.Vorname+" "+_.Name}}),!0===V?this.Graph.SendMail(N,D,L).then(()=>{console.log("Vertretungszusage wurde an "+_.Vorname+" "+_.Name+" gesendet."),k(w)}).catch(H=>{A(H)}):(console.log("Es wurde keine Vertretungszusage gesendet."),k(w))})}catch(D){this.Debug.ShowErrorMessage(D,"Database Urlaub","SendVertreterzusage",this.Debug.Typen.Service)}}SendHomeofficeFreigabeantworten(_,w){var D=this;return n(function*(){try{let L=c.cloneDeep(D.Pool.Mitarbeiterdaten);w=yield D.SendMitarbeiterHomeofficeFreigabeablehnung(_,L,w),w=yield D.SendMitarbeiterHomeofficeFreigabezusage(_,L,w);let N=c.findIndex(_.Urlaubsliste,{Jahr:D.CurrentJahr});_.Urlaubsliste[N]=w,_._id===D.CurrentMitarbeiter._id&&(D.CurrentMitarbeiter=_),yield D.DBMitarbeiter.UpdateMitarbeiterUrlaub(_)}catch(L){D.Debug.ShowErrorMessage(L,"Database Urlaub","SendHomeofficeFreigabeantworten",D.Debug.Typen.Service)}})()}UpdateFreigabenantworten(_,w){var D=this;return n(function*(){try{let V,L=1,N=(0,i.default)().locale("de");for(let R of w.Urlaubzeitspannen)R.Status===D.Urlaubstatusvarianten.Genehmigt&&!1===R.FreigabeantwortSended&&(L+=1),R.Status===D.Urlaubstatusvarianten.Abgelehnt&&!1===R.FreigabeantwortSended&&(L+=2);for(let R of w.Urlaubzeitspannen)(R.Status===D.Urlaubstatusvarianten.Genehmigt||R.Status===D.Urlaubstatusvarianten.Abgelehnt)&&(V=c.cloneDeep(D.Pool.Mitarbeiterdaten),R.Status===D.Urlaubstatusvarianten.Genehmigt&&(R.Planungmeldung=N.format("DD.MM.YYYY")+" Der Urlaub wurde durch "+V.Vorname+" "+V.Name+" genehmigt.",R.Freigabemeldung=N.format("DD.MM.YYYY")+" Urlaubsfreigabe wurde an "+_.Vorname+" "+_.Name+" gesendet.",R.Freigabemeldung+="
"+N.format("DD.MM.YYYY")+" Urlaubsfreigabe wurde an das Office gesendet."),R.Status===D.Urlaubstatusvarianten.Abgelehnt&&(R.Planungmeldung=N.format("DD.MM.YYYY")+" Der Urlaub wurde durch "+V.Vorname+" "+V.Name+" abgelehnt.",R.Freigabemeldung=N.format("DD.MM.YYYY")+" Urlaubsablehnung wurde an "+_.Vorname+" "+_.Name+" gesendet."));w=yield D.SendMitarbeiterFreigabeablehnung(_,V,w),w=yield D.SendMitarbeiterFreigabezusage(_,V,w),w=yield D.SendOfficeFreigabezusage(_,V,w);let G=c.findIndex(_.Urlaubsliste,{Jahr:D.CurrentJahr});_.Urlaubsliste[G]=w,D.CurrentUrlaub=w,yield D.DBMitarbeiter.UpdateMitarbeiterUrlaub(_)}catch(L){D.Debug.ShowErrorMessage(L,"Database Urlaub","UpdateFreigabenantworten",D.Debug.Typen.Service)}})()}SendVertreterabsage(_,w){try{let L,R,k,A,H,K,ie,D="Vertretungsabsage von "+this.CurrentMitarbeiter.Vorname+" "+this.CurrentMitarbeiter.Name,N=[],V=!1,G=(0,i.default)().locale("de");return new Promise((X,be)=>{L="Hallo "+_.Vorname+",

nachfolgende Urlaubsvertretungen kann ich leider nicht wahrnehmen:

",L+='';for(let ce of w.Urlaubzeitspannen){if(R=c.find(ce.Vertretungskonversationliste,{VertreterID:this.CurrentMitarbeiter._id}),!c.isUndefined(R))for(k of(R.Status===this.Urlaubstatusvarianten.Vertreterablehnung&&!1===R.VertreterantwortSended&&(V=!0,R.VertreterantwortSended=!0,R.Vertretungmeldung=this.CurrentMitarbeiter.Vorname+" "+this.CurrentMitarbeiter.Name+" hat die Vertretung am "+G.format("DD.MM.YY")+" abgelehnt.",R.Vertretungantwortzeitstempel=G.valueOf(),L+="",L+='',L+="",L+="",L+="",L+="",L+="",L+="",L+='',L+=""),ie=!1,ce.Vertretungskonversationliste))A=c.find(this.Pool.Mitarbeiterliste,{_id:k.VertreterID}),H=k.Status===this.Urlaubstatusvarianten.Vertreteranfrage?"green":"red",K=k.Status===this.Urlaubstatusvarianten.Vertreteranfrage?"offen":"abgelehnt",k.Status===this.Urlaubstatusvarianten.Vertreteranfrage&&(ce.Status=this.Urlaubstatusvarianten.Vertreteranfrage),L+="",L+="",L+='",L+="";ie=!1}L+="
VonBis
"+ce.Startstring+""+ce.Endestring+"
VertretungStatus
"+A.Vorname+" "+A.Name+"'+K+"
",L+="

",L+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',L+="

"+this.Pool.GetFilledSignatur(this.CurrentMitarbeiter,!0),N.push({emailAddress:{address:_.Email,name:_.Vorname+" "+_.Name}}),ie=!1,!0===V?this.Graph.SendMail(N,D,L).then(()=>{console.log("Vertretungsabsage wurde an "+_.Vorname+" "+_.Name+" gesendet."),X(w)}).catch(ce=>{be(ce)}):(console.log("Es wurde keine Vertretungsabsage gesendet."),X(w))})}catch(D){this.Debug.ShowErrorMessage(D,"Database Urlaub","SendVertreterabsage",this.Debug.Typen.Service)}}SendFreigabeanfrage(_,w){try{let L,G,k,A,K,D="Anfrage Urlaubsfreigabe von "+_.Vorname+" "+_.Name,N=[],V=!1,R=(0,i.default)().locale("de"),H=c.find(this.Pool.Standorteliste,{_id:_.StandortID});for(let ie of H.Urlaubfreigabepersonen)k=c.find(this.Pool.Mitarbeiterliste,{_id:ie}),c.isUndefined(k)||N.push({emailAddress:{address:k.Email,name:k.Vorname+" "+k.Name}});return new Promise((ie,X)=>{L="";for(let be of N)L+="Hallo "+be.emailAddress.name+",
";L+="
",L+="es liegen neue Anfragen zur Urlaufsfreigabe von ",L+=_.Vorname+" "+_.Name+" vor:

",L+='',L+="",L+='',L+="";for(let be of w.Urlaubzeitspannen){for(K of be.Vertretungskonversationliste)K.Vertretungmeldung="";if(K=c.find(be.Vertretungskonversationliste,{Status:this.Urlaubstatusvarianten.Vertreterfreigabe}),!c.isUndefined(K)&&!1===be.FreigabeanfrageSended){V=!0,be.Status=this.Urlaubstatusvarianten.Vertreterfreigabe,be.FreigabeanfrageSended=!0,be.Freigabeantwortzeitstempel=R.valueOf(),L+="",L+='",L+='",L+="",L+=""}}L+="
VonBisVertretung
'+be.Startstring+"'+be.Endestring+"",K.Vertretungmeldung="Urlaubsfreigabe Anfrage wurde am "+R.format("DD.MM.YY")+" an ",A=0;for(let ce of N)K.Vertretungmeldung+=ce.emailAddress.name,A"),L+="
",L+="

",L+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',L+="

"+this.Pool.GetFilledSignatur(_,!0),!0===V?this.Graph.SendMail(N,D,L).then(()=>{console.log("Freigabe Anfrage wurde versendet."),ie(w)}).catch(be=>{X(be)}):(console.log("Es wurde keine Freigabe Anfrage versendet."),ie(w))})}catch(D){this.Debug.ShowErrorMessage(D,"Database Urlaub","SendFreigabeanfrage",this.Debug.Typen.Service)}}SendBetriebsurlaubFreigabeanfrage(_,w){try{let L,R,D="Anfrage Betriebsurlaubfreigabe von "+_.Vorname+" "+_.Name,N=[],V=!1,G=(0,i.default)().locale("de"),k=c.find(this.Pool.Standorteliste,{_id:_.StandortID});for(let A of k.Urlaubfreigabepersonen)R=c.find(this.Pool.Mitarbeiterliste,{_id:A}),c.isUndefined(R)||N.push({emailAddress:{address:R.Email,name:R.Vorname+" "+R.Name}});return new Promise((A,H)=>{L="";for(let K of N)L+="Hallo "+K.emailAddress.name+",
";L+="
",L+="es liegen neue Anfragen zur Betriebsurlaubfreigabe von ",L+=_.Vorname+" "+_.Name+" vor:

",L+='',L+="",L+='',L+="";for(let K of w.Urlaubzeitspannen)K.Status===this.Urlaubstatusvarianten.Vertreterfreigabe&&!1===K.FreigabeanfrageSended&&(V=!0,K.FreigabeanfrageSended=!0,K.Freigabeantwortzeitstempel=G.valueOf(),L+="",L+='",L+='",L+="");L+="
VonBis
'+K.Startstring+"'+K.Endestring+"
",L+="

",L+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',L+="

"+this.Pool.GetFilledSignatur(_,!0),!0===V?this.Graph.SendMail(N,D,L).then(()=>{console.log("Urlaubsfreigabe Anfrage wurde versendet."),A(w)}).catch(K=>{H(K)}):(console.log("Es wurde keine Urlaubsfreigabe Anfrage versendet."),A(w))})}catch(D){this.Debug.ShowErrorMessage(D,"Database Urlaub","SendBetriebsurlaubFreigabeanfrage",this.Debug.Typen.Service)}}SendMitarbeiterFreigabezusage(_,w,D){try{let N,k,A,L="Urlaubsfreigabe",V=[],G=!1,R=(0,i.default)().locale("de");return new Promise((H,K)=>{N="Hallo "+_.Vorname+",

anbei meine Urlaubsfreigabe f\xfcr folgende Zeitr\xe4ume:

",N+='',N+="",N+='',N+='',N+="",N+="",N+="";for(let ie of D.Urlaubzeitspannen)ie.Status===this.Urlaubstatusvarianten.Genehmigt&&!1===ie.FreigabeantwortSended&&(ie.FreigabeantwortSended=!0,ie.UrlaubsfreigeberID=w._id,ie.Freigabeantwortzeitstempel=R.valueOf(),A=c.find(ie.Vertretungskonversationliste,{Status:this.Urlaubstatusvarianten.Vertreterfreigabe}),k=c.isUndefined(A)||ie.Betriebsurlaub?null:this.DBMitarbeiter.GetMitarbeiterByID(A.VertreterID),G=!0,N+="",N+='",N+='",c.isUndefined(k)||null===k?N+=ie.Betriebsurlaub?'':'':N+="",N+='");N+="
VonBisVertretungStatus
'+ie.Startstring+"'+ie.Endestring+"BUunbekannt"+k.Vorname+" "+k.Name+"Freigabe',N+="
",N+="

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

",N+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',N+="

"+this.Pool.GetFilledSignatur(w,!0),V.push({emailAddress:{address:_.Email,name:_.Vorname+" "+_.Name}}),!0===G?this.Graph.SendMail(V,L,N).then(()=>{console.log("Urlaubsfreigabe wurde an "+_.Vorname+" "+_.Name+" gesendet."),H(D)}).catch(ie=>{K(ie)}):(console.log("Es wurde keine Urlaubsfreigabe gesendet."),H(D))})}catch(L){this.Debug.ShowErrorMessage(L,"Database Urlaub","SendMitarbeiterFreigabezusage",this.Debug.Typen.Service)}}SendOfficeFreigabezusage(_,w,D){try{let N,k,A,L="Urlaubsfreigabe und EIntragung in untermStrich",V=[],G=!1,R=(0,i.default)().locale("de");return new Promise((H,K)=>{N="Hallo Office,

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

",N+='',N+="",N+='',N+='',N+="",N+="",N+="";for(let ie of D.Urlaubzeitspannen)ie.Status===this.Urlaubstatusvarianten.Genehmigt&&!1===ie.FreigabeantwortOfficeSended&&(ie.FreigabeantwortOfficeSended=!0,ie.Freigabeantwortzeitstempel=R.valueOf(),A=c.find(ie.Vertretungskonversationliste,{Status:this.Urlaubstatusvarianten.Vertreterfreigabe}),k=c.isUndefined(A)||ie.Betriebsurlaub?null:this.DBMitarbeiter.GetMitarbeiterByID(A.VertreterID),G=!0,N+="",N+='",N+='",c.isUndefined(k)||null===k?N+=ie.Betriebsurlaub?'':'':N+="",N+='',N+="");N+="
VonBisVertretungStatus
'+ie.Startstring+"'+ie.Endestring+"BUunbekannt"+k.Vorname+" "+k.Name+"Freigabe
",N+="

",N+="Bitte Urlaub in untermStrich eintragen.",N+="

",N+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',N+="

"+this.Pool.GetFilledSignatur(w,!0),V.push({emailAddress:{address:this.Officeemailadress,name:"Office"}}),!0===G?this.Graph.SendMail(V,L,N).then(()=>{console.log("Urlaubsfreigabe wurde an "+_.Vorname+" "+_.Name+" gesendet."),H(D)}).catch(ie=>{K(ie)}):(console.log("Es wurde keine Urlaubsfreigabe gesendet."),H(D))})}catch(L){this.Debug.ShowErrorMessage(L,"Database Urlaub","SendOfficeFreigabezusage",this.Debug.Typen.Service)}}SendMitarbeiterFreigabeablehnung(_,w,D){try{let N,k,L="Ablehnung deiner Urlaubsanfrage",V=[],G=!1,R=(0,i.default)().locale("de");return new Promise((A,H)=>{N="Hallo "+_.Vorname+" "+_.Name+",

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

",N+='',N+="",N+='',N+='',N+="",N+="",N+="";for(let K of D.Urlaubzeitspannen)K.Status===this.Urlaubstatusvarianten.Abgelehnt&&!1===K.FreigabeantwortSended&&(K.FreigabeantwortSended=!0,K.UrlaubsfreigeberID=w._id,K.Freigabeantwortzeitstempel=R.valueOf(),k=this.DBMitarbeiter.GetMitarbeiterByID(K.UrlaubsvertreterID),G=!0,N+="",N+='",N+='",c.isUndefined(k)?N+=K.Betriebsurlaub?'':'':N+="",N+='',N+="");N+="
VonBisVertretungStatus
'+K.Startstring+"'+K.Endestring+"BUunbekannt"+k.Vorname+" "+k.Name+"Abgelehnt
",N+="

",N+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',N+="

"+this.Pool.GetFilledSignatur(w,!0),V.push({emailAddress:{address:w.Email,name:w.Vorname+" "+w.Name}}),!0===G?this.Graph.SendMail(V,L,N).then(()=>{console.log("Urlaubsablehung wurde an "+_.Vorname+" "+_.Name+" gesendet."),A(D)}).catch(K=>{H(K)}):(console.log("Es wurde keine Urlaubsablehnung gesendet."),A(D))})}catch(L){this.Debug.ShowErrorMessage(L,"Database Urlaub","SendMitarbeiterFreigabeablehnung",this.Debug.Typen.Service)}}SendMitarbeiterHomeofficeFreigabeablehnung(_,w,D){try{let N,L="Ablehnung deiner Homeofficeabfrage",V=[],G=!1,R=(0,i.default)().locale("de");return new Promise((k,A)=>{N="Hallo "+_.Vorname+" "+_.Name+",

leider muss ich deine Homeofficeanfrage f\xfcr nachfolgende Tage ablehnen:

",N+='',N+="",N+='',N+='',N+="";for(let H of D.Homeofficezeitspannen)H.Status===this.Homeofficestatusvarianten.Abgelehnt&&!1===H.FreigabeantwortSended&&(H.FreigabeantwortSended=!0,H.Freigabeantwortzeitstempel=R.valueOf(),G=!0,N+="",N+='",N+='',N+="");N+="
DatumStatus
'+H.Startstring+"Abgelehnt
",N+="

",N+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',N+="

"+this.Pool.GetFilledSignatur(w,!0),V.push({emailAddress:{address:w.Email,name:w.Vorname+" "+w.Name}}),!0===G?this.Graph.SendMail(V,L,N).then(()=>{console.log("Homeofficeablehnung wurde an "+_.Vorname+" "+_.Name+" gesendet."),k(D)}).catch(H=>{A(H)}):(console.log("Es wurde keine Homeofficeablehnung gesendet."),k(D))})}catch(L){this.Debug.ShowErrorMessage(L,"Database Urlaub","SendMitarbeiterHomeofficeFreigabeablehnung",this.Debug.Typen.Service)}}SendMitarbeiterHomeofficeFreigabezusage(_,w,D){try{let N,L="Genehmigung deiner Homeofficeanfrage",V=[],G=!1,R=(0,i.default)().locale("de");return new Promise((k,A)=>{N="Hallo "+_.Vorname+" "+_.Name+",

nachfolgende Homeofficetage sind genehmigt:

",N+='',N+="",N+='',N+='',N+="";for(let H of D.Homeofficezeitspannen)H.Status===this.Homeofficestatusvarianten.Genehmigt&&!1===H.FreigabeantwortSended&&(H.FreigabeantwortSended=!0,H.Freigabeantwortzeitstempel=R.valueOf(),G=!0,N+="",N+='",N+='',N+="");N+="
DatumStatus
'+H.Startstring+"Genehmigt
",N+="

",N+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',N+="

"+this.Pool.GetFilledSignatur(w,!0),V.push({emailAddress:{address:w.Email,name:w.Vorname+" "+w.Name}}),!0===G?this.Graph.SendMail(V,L,N).then(()=>{console.log("Homeofficegenehmigung wurde an "+_.Vorname+" "+_.Name+" gesendet."),k(D)}).catch(H=>{A(H)}):(console.log("Es wurde keine Homeofficegenehmigung gesendet."),k(D))})}catch(L){this.Debug.ShowErrorMessage(L,"Database Urlaub","SendMitarbeiterHomeofficeFreigabezusage",this.Debug.Typen.Service)}}ReadRegionen(_){try{return new Promise((w,D)=>{this.http.put(this.ServerReadRegionenUrl,{Landcode:_}).subscribe({next:V=>{this.Regionenliste=V.Regionenliste},complete:()=>{this.Regionenliste=c.filter(this.Regionenliste,V=>""!==V.isoCode);for(let V of this.Regionenliste)V.Name=V.name[0].text;w(!0)},error:V=>{this.Regionenliste=[],console.log("Read Regionen ist fehlgeschlagen."),w(!0)}})})}catch(w){this.Debug.ShowErrorMessage(w,"Database Urlaub","ReadRegionen",this.Debug.Typen.Service)}}ReadFeiertage(_){try{let w,D=c.find(this.Pool.Standorteliste,{_id:this.CurrentMitarbeiter.StandortID});c.isUndefined(D)&&(D=null);let L={Standort:D,Jahr:this.CurrentJahr,Bundeslandkuerzel:this.Bundeslandkuerzel,Landcode:_};return new Promise((N,V)=>{this.Feiertageliste[_]=[],w=this.http.put(this.ServerReadfeiertageUrl,L),w.subscribe({next:G=>{this.Feiertageliste[_]=G.Feiertageliste},complete:()=>{N(!0)},error:G=>{this.Feiertageliste[_]=[],console.log("Read Feiertage ist fehlgeschlagen."),N(!0)}})})}catch(w){this.Debug.ShowErrorMessage(w,"Database Urlaub","ReadFeiertage",this.Debug.Typen.Service)}}ReadFerien(_){try{let w,D={Jahr:this.CurrentJahr,Bundeslandkuerzel:this.Bundeslandkuerzel,Landcode:_};return this.Ferienliste[_]=[],new Promise((L,N)=>{w=this.http.put(this.ServerReadFerienUrl,D),w.subscribe({next:V=>{this.Ferienliste[_]=V.Ferienliste},complete:()=>{L(!0)},error:V=>{this.Ferienliste[_]=[],console.log("Read Ferien ist fehlgeschlagen."),L(!0)}})})}catch(w){this.Debug.ShowErrorMessage(w,"Database Urlaub","ReadFerien",this.Debug.Typen.Service)}}CountAnfragenanzahlen(){try{this.Urlaubsanfragenanzahl=0,this.Antwortenanzahl=0,this.Vertretungsanfragenanzahl=0,this.Vertretungsantwortenanzahl=0,this.Freigabenanfragenanzahl=0,this.Freigabenantwortenanzahl=0,this.Homeofficantwortenanzahl=0,this.Homeofficeanfragenanzahl=0,null!==this.CurrentMitarbeiter&&(this.GetVertretungenliste(),this.GetFreigabenliste())}catch(_){return this.Debug.ShowErrorMessage(_,"Database Urlaub","CountAnfragenanzahlen",this.Debug.Typen.Service),0}}Init(){try{let _,w,D,L,N;this.Urlaubsanfragenanzahl=0,this.Homeofficeanfragenanzahl=0,this.Vertretungsanfragenanzahl=0,this.Vertretungsantwortenanzahl=0,this.Freigabenanfragenanzahl=0,this.Freigabenantwortenanzahl=0,this.Kalenderwochenhoehenliste=[],this.CurrentMitarbeiter=null===this.CurrentMitarbeiter?c.cloneDeep(this.Pool.Mitarbeiterdaten):c.find(this.Pool.Mitarbeiterliste,{_id:this.CurrentMitarbeiter._id}),null!==this.CurrentMitarbeiter&&(_=c.find(this.Pool.Standorteliste,{_id:this.CurrentMitarbeiter.StandortID}),this.Laendercode=c.isUndefined(_)?"DE":_.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=c.find(this.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.CurrentJahr}),c.isUndefined(this.CurrentUrlaub)?(this.CurrentUrlaub=this.GetEmptyUrlaub(this.CurrentJahr),this.CurrentUrlaubzeitspanne=null,this.CurrentMitarbeiter.Urlaubsliste.push(this.CurrentUrlaub)):this.CurrentUrlaubzeitspanne=null,c.isUndefined(this.CurrentUrlaub.Projektbeteiligteliste)&&(this.CurrentUrlaub.Projektbeteiligteliste=[]),c.isUndefined(this.CurrentUrlaub.Ferienblockerliste)&&(this.CurrentUrlaub.Ferienblockerliste=[]),c.isUndefined(this.CurrentUrlaub.Feiertageblockerliste)&&(this.CurrentUrlaub.Feiertageblockerliste=[]));for(let V of this.CurrentUrlaub.Urlaubzeitspannen)V=this.InitUrlaubzeitspanne(V);for(let V of this.CurrentUrlaub.Homeofficezeitspannen)V=this.InitHomeofficezeitspanne(V);this.UrlaublisteExtern=[];for(let V of this.CurrentUrlaub.Projektbeteiligteliste)if(w=c.find(this.Pool.Mitarbeiterliste,{_id:V.MitarbeiterID}),!c.isUndefined(w)){D=c.find(w.Urlaubsliste,{Jahr:this.CurrentJahr}),c.isUndefined(D)?(D=this.GetEmptyUrlaub(this.CurrentJahr),D.MitarbeiterIDExtern=w._id,D.NameExtern=w.Vorname+" "+w.Name,D.NameKuerzel=w.Kuerzel):(D=c.cloneDeep(D),D.MitarbeiterIDExtern=w._id,D.NameExtern=w.Vorname+" "+w.Name,D.NameKuerzel=w.Kuerzel,D.Urlaubzeitspannen=c.filter(D.Urlaubzeitspannen,G=>G.Status!==this.Urlaubstatusvarianten.Abgelehnt)),L=0,L+=w.Urlaub,L+=w.Resturlaub,N=0;for(let G of D.Urlaubzeitspannen)G.Status!==this.Urlaubstatusvarianten.Abgelehnt&&(N+=G.Tageanzahl);D.Text=null!==this.CurrentMitarbeiter&&!0===this.CurrentMitarbeiter.Urlaubsfreigaben?"["+N+" von "+L+"]":"["+N+"]",this.UrlaublisteExtern.push(D)}}catch(_){this.Debug.ShowErrorMessage(_,"Database Urlaub","Init",this.Debug.Typen.Service)}}InitHomeofficezeitspanne(_){try{return c.isUndefined(_.Checked)&&(_.Checked=!1),_}catch(w){this.Debug.ShowErrorMessage(w,"Database Urlaub","InitHomeofficezeitspanne",this.Debug.Typen.Service)}}InitUrlaubzeitspanne(_){try{return(c.isUndefined(_.UrlaubsvertreterID)||""===_.UrlaubsvertreterID)&&(_.UrlaubsvertreterID=null),(c.isUndefined(_.UrlaubsfreigeberID)||""===_.UrlaubsfreigeberID)&&(_.UrlaubsfreigeberID=null),c.isUndefined(_.Planungmeldung)&&(_.Planungmeldung=""),c.isUndefined(_.Freigabemeldung)&&(_.Freigabemeldung=""),c.isUndefined(_.FreigabeanfrageSended)&&(_.FreigabeanfrageSended=!1),c.isUndefined(_.FreigabeantwortSended)&&(_.FreigabeantwortSended=!1),c.isUndefined(_.FreigabeantwortOfficeSended)&&(_.FreigabeantwortOfficeSended=!1),c.isUndefined(_.Freigabeantwortzeitstempel)&&(_.Freigabeantwortzeitstempel=null),c.isUndefined(_.FreigabeantwortOfficezeitstempel)&&(_.FreigabeantwortOfficezeitstempel=null),c.isUndefined(_.Checked)&&(_.Checked=!1),c.isUndefined(_.Halbertag)&&(_.Halbertag=!1),c.isUndefined(_.Betriebsurlaub)&&(_.Betriebsurlaub=!1),c.isUndefined(_.UrlaubsvertreterIDListe)&&(_.UrlaubsvertreterIDListe=c.isUndefined(_.UrlaubsvertreterID)||null===_.UrlaubsvertreterID?[]:[_.UrlaubsvertreterID]),c.isUndefined(_.Vertretungskonversationliste)&&(_.Vertretungskonversationliste=[]),this.InitVertreterkonversationen(_,!1),"Beantragt"===_.Status&&(_.Status=this.Urlaubstatusvarianten.Geplant),_}catch(w){this.Debug.ShowErrorMessage(w,"Database Urlaub","InitUrlaubzeitspanne",this.Debug.Typen.Service)}}InitVertreterkonversationen(_,w){try{let D;for(let L of _.UrlaubsvertreterIDListe)D=c.findIndex(_.Vertretungskonversationliste,{VertreterID:L}),-1===D?_.Vertretungskonversationliste.push({VertreterID:L,Status:this.Const.NONE,VertreteranfrageSended:!1,VertreterantwortSended:!1,Vertretunganfragezeitstempel:0,Vertretungantwortzeitstempel:0,Vertretungmeldung:""}):!0===w&&_.Vertretungskonversationliste[D].Status!==this.Urlaubstatusvarianten.Vertreterfreigabe&&(_.Vertretungskonversationliste[D]={VertreterID:L,Status:this.Const.NONE,VertreteranfrageSended:!1,VertreterantwortSended:!1,Vertretunganfragezeitstempel:0,Vertretungantwortzeitstempel:0,Vertretungmeldung:""})}catch(D){this.Debug.ShowErrorMessage(D,"Database Urlaub","InitVertreterkonversationen",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(_){this.Debug.ShowErrorMessage(_,"Database Urlaub","SetPlanungsmonate",this.Debug.Typen.Service)}}GetEmptyUrlaub(_){try{let w={Jahr:_,Urlaubzeitspannen:[],Homeofficezeitspannen:[],Projektbeteiligteliste:[],Ferienblockerliste:[],Feiertageblockerliste:[]};return null!==this.CurrentMitarbeiter&&!c.isUndefined(this.CurrentMitarbeiter.Urlaubsliste[0])&&(w.Projektbeteiligteliste=this.CurrentMitarbeiter.Urlaubsliste[0].Projektbeteiligteliste,w.Ferienblockerliste=this.CurrentMitarbeiter.Urlaubsliste[0].Ferienblockerliste,w.Feiertageblockerliste=this.CurrentMitarbeiter.Urlaubsliste[0].Feiertageblockerliste),w}catch(w){this.Debug.ShowErrorMessage(w.message,"Database Urlaub","GetEmptyUrlaub",this.Debug.Typen.Service)}}CheckIsFerientag(_,w){try{let L,N,D=(0,i.default)(_.Tagstempel),V=!1;if(!c.isUndefined(this.Ferienliste[w]))for(let G of this.Ferienliste[w])if(L=(0,i.default)(G.Anfangstempel),N=(0,i.default)(G.Endestempel),D.isSameOrAfter(L,"day")&&D.isSameOrBefore(N,"day")){V=!0;break}return V}catch(D){this.Debug.ShowErrorMessage(D,"Database Urlaub","CheckIsFerientag",this.Debug.Typen.Service)}}CheckIsUrlaubstag(_,w){try{let L,N,G,D=(0,i.default)(w.Tagstempel),R=c.findIndex(_.Urlaubsliste,{Jahr:this.CurrentJahr});if(-1!==R){G=_.Urlaubsliste[R];for(let A of G.Urlaubzeitspannen)if(L=(0,i.default)(A.Startstempel),N=(0,i.default)(A.Endestempel),D.isSameOrAfter(L,"day")&&D.isSameOrBefore(N,"day")&&A.Status!==this.Urlaubstatusvarianten.Abgelehnt)switch(A.Status){case this.Urlaubstatusvarianten.Geplant:if(!0===this.GesamtuebersichtSetting.ShowGeplant)return A;break;case this.Urlaubstatusvarianten.Vertreteranfrage:if(!0===this.GesamtuebersichtSetting.ShowVertreteranfragen)return A;break;case this.Urlaubstatusvarianten.Vertreterfreigabe:if(!0===this.GesamtuebersichtSetting.ShowVertreterfreigaben)return A;break;case this.Urlaubstatusvarianten.Vertreterablehnung:if(!0===this.GesamtuebersichtSetting.ShowVertreterablehnungen)return A;break;case this.Urlaubstatusvarianten.Genehmigt:if(!0===this.GesamtuebersichtSetting.ShowUrlaubsgenehmigungen)return A;break;case this.Urlaubstatusvarianten.Abgelehnt:if(!0===this.GesamtuebersichtSetting.ShowUrlaubsablehnungen)return A}}return null}catch(D){this.Debug.ShowErrorMessage(D,"Database Urlaub","CheckIsUrlaubstag",this.Debug.Typen.Service)}}CheckIsHomeofficetag(_,w){try{let L,N,V,D=(0,i.default)(w.Tagstempel),G=c.findIndex(_.Urlaubsliste,{Jahr:this.CurrentJahr});if(-1!==G){V=_.Urlaubsliste[G];for(let R of V.Homeofficezeitspannen)if(L=(0,i.default)(R.Startstempel),N=(0,i.default)(R.Endestempel),D.isSameOrAfter(L,"day")&&D.isSameOrBefore(N,"day")&&R.Status!==this.Homeofficestatusvarianten.Abgelehnt)switch(R.Status){case this.Homeofficestatusvarianten.Geplant:if(!0===this.GesamtuebersichtSetting.ShowHomeofficeGeplant)return R;break;case this.Homeofficestatusvarianten.Genehmigt:if(!0===this.GesamtuebersichtSetting.ShowHomeofficeGenehmigt)return R;break;case this.Homeofficestatusvarianten.Freigabeanfrage:if(!0===this.GesamtuebersichtSetting.ShowHomeofficeAnfrage)return R}}return null}catch(D){this.Debug.ShowErrorMessage(D,"Database Urlaub","CheckIsHomeofficetag",this.Debug.Typen.Service)}}GetFeriennamen(_,w){try{let D=w+": Unbekannt";for(let L of _.name)L.language===w&&(D=L.text);return D}catch(D){this.Debug.ShowErrorMessage(D,"Database Urlaub","GetFeriennamen",this.Debug.Typen.Service)}}GetFeiertagnamen(_,w){try{let D=w+": Unbekannt";for(let L of _.name)L.language===w&&(D=L.text);return D}catch(D){this.Debug.ShowErrorMessage(D,"Database Urlaub","GetFeiertagnamen",this.Debug.Typen.Service)}}GetFerientag(_,w){try{let L,N,V,G,D=(0,i.default)(_.Tagstempel);if(!c.isUndefined(this.Ferienliste[w]))for(G of this.Ferienliste[w])if(L=(0,i.default)(G.Anfangstempel),N=(0,i.default)(G.Endestempel),D.isSameOrAfter(L,"day")&&D.isSameOrBefore(N,"day"))return V={Tagnummer:0,Hauptmonat:!1,Kalenderwoche:0,Tag:"",Tagstempel:G.Anfangstempel,Ferienname_DE:this.GetFeriennamen(G,"DE"),Ferienname_BG:this.GetFeriennamen(G,"EN")},V;return null}catch(D){this.Debug.ShowErrorMessage(D,"Database Urlaub","GetFerientag",this.Debug.Typen.Service)}}CheckIsFeiertag(_,w){try{let L,V,D=(0,i.default)(_.Tagstempel),N=!1;if(!c.isUndefined(this.Feiertageliste[w]))for(let G of this.Feiertageliste[w])if(L=(0,i.default)(G.Anfangstempel),L.isSame(D,"day")){N=!0;for(let R of this.CurrentUrlaub.Feiertageblockerliste)V=(0,i.default)(R),V.isSame(D,"day")&&(N=!1)}return N}catch(D){this.Debug.ShowErrorMessage(D,"Database Urlaub","CheckIsFeiertag",this.Debug.Typen.Service)}}GetFeiertag(_,w){try{let L,N,V,D=(0,i.default)(_.Tagstempel);if(!c.isUndefined(this.Feiertageliste[w]))for(V of this.Feiertageliste[w])if(L=(0,i.default)(V.Anfangstempel),L.isSame(D,"day"))return N={Tagnummer:0,Hauptmonat:!1,Kalenderwoche:0,Tag:"",Tagstempel:V.Anfangstempel,Feiertagname_DE:this.GetFeiertagnamen(V,"DE"),Feiertagname_BG:this.GetFeiertagnamen(V,"EN")},N;return null}catch(D){this.Debug.ShowErrorMessage(D,"Database Urlaub","GetFeiertag",this.Debug.Typen.Service)}}GetEmptyUrlaubszeitspanne(){try{return{ZeitspannenID:this.Pool.GetNewUniqueID(),Startstempel:null,Endestempel:null,Startstring:"",Endestring:"",UrlaubsvertreterID:null,UrlaubsvertreterIDListe:[],Vertretungskonversationliste:[],UrlaubsfreigeberID:null,Status:this.Urlaubstatusvarianten.Geplant,Planungmeldung:"",Freigabemeldung:"",Halbertag:!1,Betriebsurlaub:!1,Tageanzahl:0,FreigabeanfrageSended:!1,FreigabeantwortSended:!1,FreigabeantwortOfficeSended:!1,Freigabeantwortzeitstempel:null,FreigabeantwortOfficezeitstempel:null}}catch(_){this.Debug.ShowErrorMessage(_.message,"Database Urlaub","GetEmptyZeitspanne",this.Debug.Typen.Service)}}GetEmptyHomeofficezeitspanne(){try{return{ZeitspannenID:this.Pool.GetNewUniqueID(),Startstempel:null,Endestempel:null,Startstring:"",Endestring:"",Status:this.Homeofficestatusvarianten.Geplant,Planungmeldung:"",Vertretungmeldung:"",Freigabemeldung:"",Tageanzahl:0,FreigabeanfrageSended:!1,FreigabeantwortSended:!1,Freigabeantwortzeitstempel:null}}catch(_){this.Debug.ShowErrorMessage(_.message,"Database Urlaub","GetEmptyHomeofficezeitspanne",this.Debug.Typen.Service)}}CountResturlaub(){try{let _=0;if(null!==this.CurrentUrlaub&&null!==this.CurrentMitarbeiter){_+=this.CurrentMitarbeiter.Urlaub,_+=this.CurrentMitarbeiter.Resturlaub;for(let w of this.CurrentUrlaub.Urlaubzeitspannen)w.Status!==this.Urlaubstatusvarianten.Abgelehnt&&(_-=w.Tageanzahl);return _}return 0}catch(_){this.Debug.ShowErrorMessage(_,"Database Urlaub","CountResturlaub",this.Debug.Typen.Service)}}CountHomeoffice(){try{let _=210;if(null!==this.CurrentUrlaub&&null!==this.Pool.Mitarbeiterdaten){for(let w of this.CurrentUrlaub.Homeofficezeitspannen)w.Status!==this.Homeofficestatusvarianten.Abgelehnt&&(_-=w.Tageanzahl);return _}return 0}catch(_){this.Debug.ShowErrorMessage(_,"Database Urlaub","CountHomeoffice",this.Debug.Typen.Service)}}CountHomeGeplant(){try{let _=0;if(null!==this.CurrentUrlaub&&null!==this.Pool.Mitarbeiterdaten)for(let w of this.CurrentUrlaub.Homeofficezeitspannen)w.Status===this.Homeofficestatusvarianten.Geplant&&_++;return _}catch(_){this.Debug.ShowErrorMessage(_,"Database Urlaub","CountHomeGeplant",this.Debug.Typen.Service)}}CountHomeFreigbeanfragen(){try{let _=0;if(null!==this.CurrentUrlaub&&null!==this.Pool.Mitarbeiterdaten)for(let w of this.CurrentUrlaub.Homeofficezeitspannen)w.Status===this.Homeofficestatusvarianten.Freigabeanfrage&&_++;return _}catch(_){this.Debug.ShowErrorMessage(_,"Database Urlaub","CountHomeFreigbeanfragen",this.Debug.Typen.Service)}}CountHomeGenehmigt(){try{let _=0;if(null!==this.CurrentUrlaub&&null!==this.Pool.Mitarbeiterdaten)for(let w of this.CurrentUrlaub.Homeofficezeitspannen)w.Status===this.Homeofficestatusvarianten.Genehmigt&&_++;return _}catch(_){this.Debug.ShowErrorMessage(_,"Database Urlaub","CountHomeGenehmigt",this.Debug.Typen.Service)}}CountHomeAbgelehnt(){try{let _=0;if(null!==this.CurrentUrlaub&&null!==this.Pool.Mitarbeiterdaten)for(let w of this.CurrentUrlaub.Homeofficezeitspannen)w.Status===this.Homeofficestatusvarianten.Abgelehnt&&_++;return _}catch(_){this.Debug.ShowErrorMessage(_,"Database Urlaub","CountHomeAbgelehnt",this.Debug.Typen.Service)}}CheckDisplayExternenUrlaub(_){try{let w,D,L;return null!==this.CurrentUrlaub&&(w=c.find(this.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:_}),!c.isUndefined(w)&&(D=c.find(this.Pool.Mitarbeiterliste,{_id:w.MitarbeiterID}),L=c.find(D.Urlaubsliste,{Jahr:this.CurrentUrlaub.Jahr}),!c.isUndefined(L)&&w.Display&&L.Urlaubzeitspannen.length>0))}catch(w){this.Debug.ShowErrorMessage(w,"Database Urlaub","CheckDisplayExternenUrlaub",this.Debug.Typen.Service)}}HomeofficeLoeschen(_){var w=this;return n(function*(){try{for(let N of w.CurrentUrlaub.Homeofficezeitspannen)!0===c.isUndefined(N.Checked)&&(N.Checked=!1);let D=c.filter(w.CurrentUrlaub.Homeofficezeitspannen,N=>N.Status===_&&!1===N.Checked||N.Status!==_);w.CurrentUrlaub=c.find(w.CurrentMitarbeiter.Urlaubsliste,{Jahr:w.CurrentJahr}),w.CurrentUrlaub.Homeofficezeitspannen=D;let L=c.findIndex(w.CurrentMitarbeiter.Urlaubsliste,{Jahr:w.CurrentJahr});w.CurrentMitarbeiter.Urlaubsliste[L]=w.CurrentUrlaub,yield w.DBMitarbeiter.UpdateMitarbeiterUrlaub(w.CurrentMitarbeiter),w.ExterneHomeofficeChanged.emit()}catch(D){w.Debug.ShowErrorMessage(D,"Database Urlaub","HomeofficeLoeschen",w.Debug.Typen.Service)}})()}GetHomeofficezeitspannenByStataus(_){try{let L,w=c.filter(this.CurrentUrlaub.Homeofficezeitspannen,{Status:_}),D=[];w.sort((N,V)=>N.StartstempelV.Startstempel?1:0);for(let N=0;N(L=(0,i.default)(V.Startstempel),L.month()===N));return D}catch(w){this.Debug.ShowErrorMessage(w,"Database Urlaub","GetHomeofficezeitspannenByStataus",this.Debug.Typen.Service)}}CheckVertretungIsAbgelehnt(_){try{let w,D=!1;for(w of _.Vertretungskonversationliste)w.Status===this.Urlaubstatusvarianten.Vertreterablehnung&&(D=!0);return D}catch(w){this.Debug.ShowErrorMessage(w,"Database Urlaub","CheckVertretungIsAbgelehnt",this.Debug.Typen.Service)}}GetUrlaubStatuscolorByKonversation(_){try{let w="",D=c.find(_.Vertretungskonversationliste,{VertreterID:this.CurrentMitarbeiter._id});return c.isUndefined(D)||(w=D.Status===this.Urlaubstatusvarianten.Vertreteranfrage?this.Urlaubsfaben.Vertreteranfrage:D.Status===this.Urlaubstatusvarianten.Vertreterfreigabe?this.Urlaubsfaben.Vertreterfreigabe:this.Urlaubsfaben.Vertreterablehnung),w}catch(w){this.Debug.ShowErrorMessage(w,"file","GetUrlaubStatuscolorByKonversation",this.Debug.Typen.Service)}}static \u0275fac=function(w){return new(w||f)(e.\u0275\u0275inject(o.DebugProvider),e.\u0275\u0275inject(h.DatabasePoolService),e.\u0275\u0275inject(v.ConstProvider),e.\u0275\u0275inject(M.Graphservice),e.\u0275\u0275inject(p.DatabaseMitarbeiterService),e.\u0275\u0275inject(E.BasicsProvider),e.\u0275\u0275inject(S.HttpClient))};static \u0275prov=e.\u0275\u0275defineInjectable({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})()},34388:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.DebugProvider=void 0;const n=s(81316),l=n.__importStar(s(54496)),u=n.__importStar(s(14652)),c=n.__importStar(s(92512)),i=n.__importStar(s(34396)),e=n.__importStar(s(29743));m.DebugProvider=(()=>{class h{Basics;nav;Fehlerservice;Const;Typen={Page:"Page",Component:"Component",Provider:"Provider",Directive:"Directive",Service:"Service"};Debugmessageliste;constructor(M,p,E,S){this.Basics=M,this.nav=p,this.Fehlerservice=E,this.Const=S;try{this.Debugmessageliste=[]}catch{}}ShowErrorMessage(M,p,E,S){try{console.log("File: "+p+" | Function: "+E+" | Message: "+M),this.Debugmessageliste.push({Skript:p,Message:M,Function:E,Color:"red"})}catch{}}ShowMessage(M,p,E,S){try{console.log("File: "+p+" | Function: "+E+" | Message: "+M),this.Debugmessageliste.push({Skript:p,Message:M,Function:E,Color:"blue"})}catch{}}static \u0275fac=function(p){return new(p||h)(l.\u0275\u0275inject(u.BasicsProvider),l.\u0275\u0275inject(c.NavController),l.\u0275\u0275inject(i.ErrorService),l.\u0275\u0275inject(e.ConstProvider))};static \u0275prov=l.\u0275\u0275defineInjectable({token:h,factory:h.\u0275fac,providedIn:"root"})}return h})()},21052:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.DisplayService=void 0;const n=s(81316),l=n.__importStar(s(17964)),u=s(17964),c=n.__importStar(s(54496)),i=n.__importStar(s(34388));m.DisplayService=(()=>{class o{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(v){this.Debug=v;try{this.Dialogliste=[]}catch(M){this.Debug.ShowErrorMessage(M.message,"Display","constructor",this.Debug.Typen.Service)}}ResetDialogliste(){try{this.Dialogliste=[]}catch(v){this.Debug.ShowErrorMessage(v.message,"Display","ResetDialogliste",this.Debug.Typen.Service)}}AddDialog(v,M){try{let p=l.find(this.Dialogliste,{Dialogname:v});l.isUndefined(p)?this.Dialogliste.push({Dialogname:v,ZIndex:M}):this.Debug.ShowErrorMessage(new Error("Add Dialog Fehler: "+v),"Dialog","AddDialog",this.Debug.Typen.Service),(0,u.forEach)(this.Dialogliste,E=>{console.log(E)})}catch(p){this.Debug.ShowErrorMessage(p.message,"Dialog","AddDialog",this.Debug.Typen.Service)}}RemoveDialog(v){try{this.Dialogliste=l.filter(this.Dialogliste,M=>M.Dialogname!==v),0===this.Dialogliste.length&&this.Debug.ShowMessage("Dialogliste ist leer.","Dialog","RemoveDialog",this.Debug.Typen.Service)}catch(M){this.Debug.ShowErrorMessage(M.message,"Dialog","RemoveDialog",this.Debug.Typen.Service)}}ShowOpacity(v){try{let E,M=0,p=0;return(0,u.forEach)(this.Dialogliste,S=>{S.ZIndex>M&&(M=S.ZIndex),S.Dialogname===v&&(p=S.ZIndex,E=S.Dialogname)}),p>=M}catch(M){this.Debug.ShowErrorMessage(M.message,"Dialog","ShowOpacity",this.Debug.Typen.Service)}}static \u0275fac=function(M){return new(M||o)(c.\u0275\u0275inject(i.DebugProvider))};static \u0275prov=c.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})()},34396:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.ErrorService=void 0;const n=s(81316),l=n.__importStar(s(54496)),u=n.__importStar(s(29743));m.ErrorService=(()=>{class i{Const;Fehlermeldung;CanGoBack;constructor(o){this.Const=o;try{this.Fehlermeldung=[],this.CanGoBack=!0}catch{}}static \u0275fac=function(h){return new(h||i)(l.\u0275\u0275inject(u.ConstProvider))};static \u0275prov=l.\u0275\u0275defineInjectable({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})()},8608:(pe,m,s)=>{"use strict";var n=s(1196).default;Object.defineProperty(m,"__esModule",{value:!0}),m.Graphservice=void 0;const l=s(81316),u=s(54496),c=s(23476),i=s(57140),e=l.__importStar(s(17964)),o=l.__importDefault(s(35908)),h=l.__importStar(s(54496)),v=l.__importStar(s(34388)),M=l.__importStar(s(29743)),p=l.__importStar(s(97092)),E=l.__importStar(s(19668)),S=l.__importStar(s(14652)),y=l.__importStar(s(7992)),f=l.__importStar(s(14476));m.Graphservice=(()=>{class _{msalGuardConfig;Debug;Const;AuthService;Tools;Basics;Pool;domSanitizer;ImageZoomOut=new u.EventEmitter;Graphuser;Teamsliste;UserimageSRC;TeamsRootfilelist;TeamsCurrentfilelist;TeamsSubdirectorylist;CurrentTeamsID;CurrentPDFDownload;KalenderKW;BAESiteID;FilebrowserModus;FilebrowserModusvarianten={Alle_Projekte:"Alle_Projekte",Current_Projekt:"Current_Projekt"};constructor(D,L,N,V,G,R,k,A){this.msalGuardConfig=D,this.Debug=L,this.Const=N,this.AuthService=V,this.Tools=G,this.Basics=R,this.Pool=k,this.domSanitizer=A;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.FilebrowserModus=this.FilebrowserModusvarianten.Alle_Projekte,this.KalenderKW=(0,o.default)().locale("de").isoWeek(),this.BAESiteID="baeeu.sharepoint.com,1b93d6ea-3f8b-4416-9ff1-a50aaba6f8ca,134790cc-e062-4882-ae5e-18813809cc87"}catch(H){this.Debug.ShowErrorMessage(H.message,"Graph","constructor",this.Debug.Typen.Service)}}GetOwnUserinfo(){var D=this;return n(function*(){try{let L=yield D.AuthService.RequestToken("user.read");const N=i.Client.init({authProvider:V=>{V(null,L)}});return new Promise((V,G)=>{null!==L?N.api("/me").select("*").get().then(R=>{D.Graphuser=R,V(!0)}).catch(R=>{"InvalidAuthenticationToken"===(console.log("Benutzer konnte nicht geladen werden."),R.code)&&(D.AuthService.UnsetActiveUser(),D.Tools.SetRootPage(D.Const.Pages.HomePage)),console.log(R),V(!0)}):(console.log("GetOwnUserinfo Token Error"),V(!0))})}catch(L){D.Debug.ShowErrorMessage(L,"Graph","GetOwnUserinfo",D.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(D){this.Debug.ShowErrorMessage(D,"Graph","GetEmptyTeamsfile",this.Debug.Typen.Service)}}GetSiteSubdirictoryfilelist(D,L){var N=this;return n(function*(){try{let G,V=yield N.AuthService.RequestToken("user.read"),R=[],k=[];N.TeamsRootfilelist=[],N.TeamsCurrentfilelist=[];const A=i.Client.init({authProvider:H=>{H(null,V)}});return new Promise((H,K)=>{null!==V?A.api("/sites/"+N.BAESiteID+"/drive/items/"+D.id+"/children").get().then(ie=>{for(G of ie.value)e.isUndefined(G.file)?(G.isfolder=!0,k.push(G)):(G.isfolder=!1,R.push(G));k.sort((X,be)=>X.namebe.name?1:0),R.sort((X,be)=>X.namebe.name?1:0),!1===L?N.TeamsRootfilelist=k:(N.TeamsRootfilelist=k,N.TeamsRootfilelist=N.TeamsRootfilelist.concat(R)),N.TeamsCurrentfilelist=N.TeamsRootfilelist,e.isUndefined(e.find(N.TeamsSubdirectorylist,X=>X.id===D.id))&&N.TeamsSubdirectorylist.push(D),H(!0)}).catch(ie=>{K(ie)}):K(!1)})}catch(V){N.Debug.ShowErrorMessage(V,"Graph","GetSiteSubdirictoryfilelist",N.Debug.Typen.Service)}})()}DownloadPDFTeamsFile(D,L){var N=this;return n(function*(){try{let V=yield N.AuthService.RequestToken("user.read"),G={name:L.name,id:"",context:"",url:""};const R=i.Client.init({authProvider:k=>{k(null,V)}});return new Promise((k,A)=>{null!==V?R.api("/groups/"+D+"/drive/items/"+L.id+"?select=id,@microsoft.graph.downloadUrl").get().then(H=>{G.id=H.id,G.url=H["@microsoft.graph.downloadUrl"],G.context=H["@odata.context"],N.CurrentPDFDownload=G,k(G)}).catch(H=>{A(H)}):A(null)})}catch(V){N.Debug.ShowErrorMessage(V,"Graph","DownloadPDFTeamsFile",N.Debug.Typen.Service)}})()}DownloadPDFSiteFile(D){var L=this;return n(function*(){try{let N=yield L.AuthService.RequestToken("user.read"),V={name:D.name,id:"",context:"",url:""};const G=i.Client.init({authProvider:R=>{R(null,N)}});return new Promise((R,k)=>{null!==N?G.api("/sites/"+L.BAESiteID+"/drive/items/"+D.id+"?select=id,@microsoft.graph.downloadUrl").get().then(A=>{V.id=A.id,V.url=A["@microsoft.graph.downloadUrl"],V.context=A["@odata.context"],L.CurrentPDFDownload=V,R(V)}).catch(A=>{k(A)}):k(null)})}catch(N){L.Debug.ShowErrorMessage(N,"Graph","DownloadPDFSiteFile",L.Debug.Typen.Service)}})()}DownloadPDFSiteFileViaLink(D){var L=this;return n(function*(){try{let N=yield L.AuthService.RequestToken("user.read"),V=document.createElement("a"),G={name:"",id:"",context:"",url:""};const R=i.Client.init({authProvider:k=>{k(null,N)}});return new Promise((k,A)=>{null!==N?R.api("/sites/"+L.BAESiteID+"/drive/items/"+D+"?select=id,@microsoft.graph.downloadUrl").get().then(H=>{G.id=H.id,G.url=H["@microsoft.graph.downloadUrl"],G.context=H["@odata.context"],L.CurrentPDFDownload=G,document.body.appendChild(V),V.href=G.url,V.click(),V.remove(),k(G)}).catch(H=>{A(H)}):A(null)})}catch(N){L.Debug.ShowErrorMessage(N,"Graph","DownloadPDFSiteFileViaLink",L.Debug.Typen.Service)}})()}TestGraph(){var D=this;return n(function*(){try{let L=yield D.AuthService.RequestToken("user.read"),N="632cc6c8-51d5-4219-8092-ed10a792e715";const V=i.Client.init({authProvider:G=>{G(null,L)}});return new Promise((G,R)=>{null!==L?V.api("/groups/"+N+"/drive/root:/General/11 Jour Fixe").version("beta").get().then(k=>{G(!0)}).catch(k=>{R(k)}):R(!1)})}catch(L){D.Debug.ShowErrorMessage(L,"Graph","TestGraph",D.Debug.Typen.Service)}})()}TeamsCheckFileExists(D,L,N){var V=this;return n(function*(){try{let k,G=yield V.AuthService.RequestToken("user.read"),R=!1;const A=i.Client.init({authProvider:H=>{H(null,G)}});return L=L.replace("ROOT:",""),new Promise((H,K)=>{null!==G?A.api("/groups/"+D+"/drive/items/"+L+"/children").get().then(ie=>{for(k of ie.value)e.isUndefined(k.folder)&&k.name===N&&(R=!0);H(R)}).catch(ie=>{K(ie)}):K(!1)})}catch(G){V.Debug.ShowErrorMessage(G,"Graph","TeamsCheckFileExists",V.Debug.Typen.Service)}})()}SiteCheckFileExists(D,L){var N=this;return n(function*(){try{let R,V=yield N.AuthService.RequestToken("user.read"),G=!1;const k=i.Client.init({authProvider:A=>{A(null,V)}});return D=D.replace("ROOT:",""),new Promise((A,H)=>{null!==V?k.api("/sites/"+N.BAESiteID+"/drive/items/"+D+"/children").get().then(K=>{for(R of K.value)e.isUndefined(R.folder)&&R.name===L&&(G=!0);A(G)}).catch(K=>{A(null)}):H(!1)})}catch(V){N.Debug.ShowErrorMessage(V,"Graph","SiteCheckFileExists",N.Debug.Typen.Service)}})()}GetTeamsSubDirectory(D,L){var N=this;return n(function*(){try{let V=yield N.AuthService.RequestToken("user.read");const G=i.Client.init({authProvider:R=>{R(null,V)}});return new Promise((R,k)=>{null!==V?G.api("/groups/"+D+"/drive/items/"+L).get().then(A=>{R(A)}).catch(A=>{R(null)}):k(null)})}catch(V){N.Debug.ShowErrorMessage(V,"Graph","GetTeamsSubDirectory",N.Debug.Typen.Service)}})()}GetSiteSubDirectory(D){var L=this;return n(function*(){try{let N=yield L.AuthService.RequestToken("user.read");const V=i.Client.init({authProvider:G=>{G(null,N)}});return new Promise((G,R)=>{null!==N?V.api("/sites/"+L.BAESiteID+"/drive/items/"+D).get().then(k=>{G(k)}).catch(k=>{G(null)}):R(null)})}catch(N){L.Debug.ShowErrorMessage(N,"Graph","GetSiteSubDirectory",L.Debug.Typen.Service)}})()}GetAllUsers(){var D=this;return n(function*(){try{let V,G,L=[],N=[],R=0,k=yield D.AuthService.RequestToken("User.ReadBasic.All");const A=i.Client.init({authProvider:H=>{H(null,k)}});if(V=yield A.api("/users").count().get(),e.isUndefined(V["@odata.count"])||(R=V["@odata.count"]),!e.isUndefined(V.value)&&(N.push(V.value),!e.isUndefined(V["@odata.nextLink"]))){do{G=V["@odata.nextLink"],V=yield A.api(G).get(),e.isUndefined(V.value)||N.push(V.value)}while(!e.isUndefined(V["@odata.nextLink"]));e.isUndefined(V.value)||N.push(V.value)}for(let H of N)for(let K of H)L.push(K);return L=e.filter(L,H=>null!==H.mail&&null!==H.givenName&&null!==H.surname),Promise.resolve(L)}catch(L){D.Debug.ShowErrorMessage(L,"Graph","GetAllUsers",D.Debug.Typen.Service)}})()}SendMail(D,L,N){var V=this;return n(function*(){try{let G,R=yield V.AuthService.RequestToken("Mail.ReadWrite");const k=i.Client.init({authProvider:A=>{A(null,R)}});if(!0===V.Pool.Appeinstellungen.DebugNoExternalEmail)for(let A of D)A.emailAddress.address="p.hornburger@gmail.com";if(null===R)return Promise.reject(!1);{const A={message:{subject:L,body:{contentType:"html",content:N},toRecipients:D},saveToSentItems:"true"};try{return G=yield k.api("/me/sendMail").post(A),Promise.resolve(G)}catch{}}}catch(G){V.Debug.ShowErrorMessage(G,"Graph","SendMail",V.Debug.Typen.Service)}})()}GetOwnUserimage(){var D=this;return n(function*(){try{let L=yield D.AuthService.RequestToken("user.read");const N=i.Client.init({authProvider:G=>{G(null,L)}}),V={"Content-Type":"image/jpeg"};return new Promise((G,R)=>{null!==L?N.api("/me/photo/$value").headers(V).responseType(i.ResponseType.BLOB).get().then(k=>{D.UserimageSRC=D.domSanitizer.bypassSecurityTrustUrl(URL.createObjectURL(k)),G(!0)}).catch(k=>{console.log("Fehler beim Laden des Bildes."),D.UserimageSRC=null,G(!0)}):(console.log("GetOwnUserimage Token error"),G(!0))})}catch(L){D.Debug.ShowErrorMessage(L,"Graph","GetOwnUserinfo",D.Debug.Typen.Service)}})()}GetOtherUserimage(D){var L=this;return n(function*(){try{let V,N=yield L.AuthService.RequestToken("user.read");const G=i.Client.init({authProvider:k=>{k(null,N)}}),R={"Content-Type":"image/jpeg"};return new Promise((k,A)=>{null!==N?G.api("/users/"+D+"/photo/$value").headers(R).responseType(i.ResponseType.BLOB).get().then(H=>{V=L.domSanitizer.bypassSecurityTrustUrl(URL.createObjectURL(H)),k(V)}).catch(H=>{404===H.statusCode&&(V=null,k(V)),A(H)}):A(!1)})}catch(N){L.Debug.ShowErrorMessage(N,"Graph","GetOwnUserinfo",L.Debug.Typen.Service)}})()}static \u0275fac=function(L){return new(L||_)(h.\u0275\u0275inject(c.MSAL_GUARD_CONFIG),h.\u0275\u0275inject(v.DebugProvider),h.\u0275\u0275inject(M.ConstProvider),h.\u0275\u0275inject(p.DatabaseAuthenticationService),h.\u0275\u0275inject(E.ToolsProvider),h.\u0275\u0275inject(S.BasicsProvider),h.\u0275\u0275inject(y.DatabasePoolService),h.\u0275\u0275inject(f.DomSanitizer))};static \u0275prov=h.\u0275\u0275defineInjectable({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})()},33940:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.LoadingAnimationService=void 0;const n=s(81316),l=n.__importStar(s(54496)),u=n.__importStar(s(34388)),c=n.__importStar(s(92512)),i=n.__importStar(s(14652));m.LoadingAnimationService=(()=>{class o{Debug;Loader;Basics;AjaxTime;constructor(v,M,p){this.Debug=v,this.Loader=M,this.Basics=p;try{this.AjaxTime=null}catch(E){this.Debug.ShowErrorMessage(E.message,"file","constructor",this.Debug.Typen.Service)}}ShowLoadingAnimation(v,M){try{let E={spinner:"lines",message:'\n \n \n \n \n \n \n \n
'+v+'

'+M+"
",cssClass:"loadingclass",showBackdrop:!0,enableBackdropDismiss:!1,translucent:!1,dismissOnPageChange:!1};return new Promise((S,y)=>{this.AjaxTime=(new Date).getTime(),this.Loader.create(E).then(f=>{f.present(),S(!0)}).catch(f=>{y(f)})})}catch(p){this.Debug.ShowErrorMessage(p.message,"Loading Message Provider","ShowLoadingAnimation",this.Debug.Typen.Service)}}HideLoadingAnimation(v){try{let p,M=this.Basics.Waittime;return p=null!==this.AjaxTime?(new Date).getTime()-this.AjaxTime:M+1,new Promise(E=>{if(!v)return this.Loader.dismiss().then(()=>{E(!0)}).catch(S=>{E(!0)});M>p?M-=p:M=0,setTimeout(()=>{this.Loader.dismiss().then(()=>{E(!0)}).catch(S=>{E(!0)})},M)})}catch(M){this.Debug.ShowErrorMessage(M.message,"Loading Message Provider","HideLoadingAnimation",this.Debug.Typen.Service)}}static \u0275fac=function(M){return new(M||o)(l.\u0275\u0275inject(u.DebugProvider),l.\u0275\u0275inject(c.LoadingController),l.\u0275\u0275inject(i.BasicsProvider))};static \u0275prov=l.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac})}return o})()},59460:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.MenueService=void 0;const n=s(81316),l=n.__importStar(s(54496)),u=n.__importStar(s(34388)),c=n.__importStar(s(19668)),i=n.__importStar(s(29743));m.MenueService=(()=>{class o{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",Gesamtplanung:"Gesamtplanung",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(v,M,p){this.Debug=v,this.Tools=M,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(E){this.Debug.ShowErrorMessage(E.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.Gesamtplanung:this.Tools.SetRootPage(this.Const.Pages.UrlaubsgesamtuebersichtPage);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(v){this.Debug.ShowErrorMessage(v.message,"Menue","SetCurrentPage",this.Debug.Typen.Service)}}static \u0275fac=function(M){return new(M||o)(l.\u0275\u0275inject(u.DebugProvider),l.\u0275\u0275inject(c.ToolsProvider),l.\u0275\u0275inject(i.ConstProvider))};static \u0275prov=l.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})()},77200:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.Navparameter=void 0;const n=s(81316),l=n.__importStar(s(54496)),u=n.__importStar(s(29743));m.Navparameter=(()=>{class i{Const;NavListe;CanGoBack;Debugstatus;constructor(o){this.Const=o;try{this.NavListe=[],this.CanGoBack=!1,this.Debugstatus=!0}catch(h){console.log(h,"Nav Parameter -> constructor:"+h)}}RemovePage(){try{let o=null;return this.NavListe.length>1?(this.NavListe.splice(this.NavListe.length-1,1),o=this.NavListe[this.NavListe.length-1],this.CanGoBack=this.NavListe.length>1):this.CanGoBack=!1,this.Debugstatus&&(console.log("Navparamter -> Removed Page"),this.PrintNavliste()),o}catch(o){console.log(o,"Nav Parameter -> RemovePage:"+o)}}AddPage(o){try{this.CanGoBack=!0,this.NavListe[this.NavListe.length-1]!==o?(this.NavListe.push(o),this.Debugstatus&&(console.log("Navparamter -> AddPage: "+o),this.PrintNavliste())):console.log("Add Page Failed: "+o)}catch(h){console.log(h,"Nav Parameter -> AddPage: "+h)}}PrintNavliste(){try{let o;console.log("**************************"),console.log("Navliste: ");for(let h=0;h "+o):console.log(o);console.log("**************************")}catch(o){console.log(o,"Nav Parameter -> PrintNavliste: "+o)}}SetRootpage(o){try{this.CanGoBack=!1,this.NavListe=[],this.NavListe.push(o),this.Debugstatus&&(console.log("Navparamter -> SetRootpage: "+o),this.PrintNavliste())}catch(h){console.log(h,"Nav Parameter -> SetRootpage: "+h)}}static \u0275fac=function(h){return new(h||i)(l.\u0275\u0275inject(u.ConstProvider))};static \u0275prov=l.\u0275\u0275defineInjectable({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})()},34636:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.SecurityService=void 0;const n=s(81316),l=s(36716),u=n.__importStar(s(54496)),c=n.__importStar(s(34388)),i=n.__importStar(s(19668)),e=n.__importStar(s(29743)),o=n.__importStar(s(7992));m.SecurityService=(()=>{class v{Debug;Tools;Const;Pool;constructor(p,E,S,y){this.Debug=p,this.Tools=E,this.Const=S,this.Pool=y}CheckSecurity(){try{let p=!1;(!1===l.environment.production||this.Pool.Mitarbeiterdaten&&!0===this.Pool.Mitarbeiterdaten.Planeradministrator)&&(p=!0)}catch(p){this.Debug.ShowErrorMessage(p,"Security","CheckSecurity",this.Debug.Typen.Service)}}static \u0275fac=function(E){return new(E||v)(u.\u0275\u0275inject(c.DebugProvider),u.\u0275\u0275inject(i.ToolsProvider),u.\u0275\u0275inject(e.ConstProvider),u.\u0275\u0275inject(o.DatabasePoolService))};static \u0275prov=u.\u0275\u0275defineInjectable({token:v,factory:v.\u0275fac,providedIn:"root"})}return v})()},19668:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.ToolsProvider=void 0;const n=s(81316),l=n.__importStar(s(17964)),u=n.__importDefault(s(35908)),c=n.__importDefault(s(35908)),i=n.__importStar(s(54496)),e=n.__importStar(s(14652)),o=n.__importStar(s(34388)),h=n.__importStar(s(29743)),v=n.__importStar(s(77200)),M=n.__importStar(s(92512));m.ToolsProvider=(()=>{class E{Basics;Debug;Const;NavParameter;nav;platform;alertCtrl;UID_Counter;IsRunningOnDeviceFirstTime;ShowMessage;DialogMessage;IsRunningOnDeviceValue;constructor(y,f,C,_,w,D,L){this.Basics=y,this.Debug=f,this.Const=C,this.NavParameter=_,this.nav=w,this.platform=D,this.alertCtrl=L;try{this.UID_Counter=0,this.IsRunningOnDeviceFirstTime=!0,this.ShowMessage=!1,this.DialogMessage="",this.IsRunningOnDeviceValue=!1}catch(N){this.Debug.ShowErrorMessage(N.message,"Tools","Constructor",this.Debug.Typen.Service)}}IsNumeric(y){try{return!isNaN(parseFloat(y))&&isFinite(y)}catch(f){this.Debug.ShowErrorMessage(f,"Tools","IsNumeric",this.Debug.Typen.Service)}}GetButtonvalueSize(){try{return this.platform.width()<=600?12:6}catch(y){this.Debug.ShowErrorMessage(y.message,"Tools","GetButtonvalueSize",this.Debug.Typen.Service)}}GetDatumFromZeitstempel(y){try{return(0,c.default)(y).format("DD.MM.YY")}catch(f){this.Debug.ShowErrorMessage(f,"Tools","GetDatumFromZeitstempel",this.Debug.Typen.Service)}}GetZeitFromZeitstempel(y){try{return(0,c.default)(y).format("HH:mm")}catch(f){this.Debug.ShowErrorMessage(f,"Tools","GetZeitFromZeitstempel",this.Debug.Typen.Service)}}GenerateFilename(y,f,C){try{let _=y,w=""!==C?"_"+C:"";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(/[^a-zA-Z0-9 ]/g,"_"),_+w+"."+f}catch(_){this.Debug.ShowErrorMessage(_.message,"Tools","GenerateProjektkey",this.Debug.Typen.Service)}}GenerateProjektkey(y,f){try{let C=y;return C=C.replace(/ /g,"_"),C=C.replace(/\xe4/g,"ae"),C=C.replace(/\xc4/g,"AE"),C=C.replace(/\xf6/g,"oe"),C=C.replace(/\xd6/g,"OE"),C=C.replace(/\xfc/g,"ue"),C=C.replace(/\xdc/g,"UE"),C=C.replace(/\xdf/g,"ss"),C=C.replace(/[^a-zA-Z0-9 ]/g,"_"),C}catch(C){this.Debug.ShowErrorMessage(C.message,"Tools","GenerateProjektkey",this.Debug.Typen.Service)}}DeepCompareObjectarrays(y,f){try{let _,w,D,L,N,C=!1;if(y.length>=f.length)for(L of y){if(_=f.findIndex(V=>L[w]===V[w]),-1===_){C=!0;break}D=Object.keys(y[_]),N=f[_];for(let V of D)if(L[V]!==N[V]){C=!0;break}if(!0===C)break}else for(N of f){if(_=y.findIndex(V=>N[w]===V[w]),-1===_){C=!0;break}D=Object.keys(y[_]),L=y[_];for(let V of D)if(N[V]!==L[V]){C=!0;break}if(!0===C)break}return C}catch(C){this.Debug.ShowErrorMessage(C.message,"Tools","DeepCompareObjectarrays",this.Debug.Typen.Service)}}JSONCompareObjectarrays(y,f){try{return JSON.stringify(y)!==JSON.stringify(f)}catch(C){this.Debug.ShowErrorMessage(C.message,"Tools","JSONCompareObjectarrays",this.Debug.Typen.Service)}}CompareObjectarrays(y,f,C){try{let w,_=!1;if(y.length>=f.length){for(let D of y)if(w=f.findIndex(L=>D[C]===L[C]),-1===w){_=!0;break}}else for(let D of f)if(w=y.findIndex(L=>D[C]===L[C]),-1===w){_=!0;break}return _}catch(_){this.Debug.ShowErrorMessage(_.message,"Tools","CompareObjectarrays",this.Debug.Typen.Service)}}ShowEntscheidungDialog(y,f){try{return new Promise(C=>{this.alertCtrl.create({header:y,message:f,cssClass:"alertdialogclass",buttons:[{text:"Nein",cssClass:"infonoclass",handler:()=>{C(this.Const.Dialogmessages.no)}},{text:"Ja",cssClass:"infookclass",handler:()=>{C(this.Const.Dialogmessages.ok)}}]}).then(_=>{_.present()}).catch(_=>{console.log(_)})})}catch(C){this.Debug.ShowErrorMessage(C.message,"Tools","ShowEntscheidungDialog",this.Debug.Typen.Service)}}ShowAuswahlDialog(y,f,C,_){try{return new Promise(w=>{this.alertCtrl.create({header:y,cssClass:"alertdialogclass",message:f,inputs:[{name:"wahla",type:"radio",label:C,value:this.Const.Dialogmessages.wahla,checked:!0},{name:"wahlb",type:"radio",label:_,value:this.Const.Dialogmessages.wahlb}],buttons:[{text:"Abbrechen",role:"cancel",cssClass:"infonotwoclass",handler:()=>{w(null)}},{text:"Fertig",cssClass:"infookclass",handler:D=>{l.isUndefined(D)?w(null):w(D)}}]}).then(D=>{D.present()}).catch(D=>{console.log(D)})})}catch(w){this.Debug.ShowErrorMessage(w.message,"Tools","ShowAuswahlDialog",this.Debug.Typen.Service)}}RemoveNullFromObject(y){try{let f;for(const C of Object.keys(y))f=y[C],null===f&&(f="",y[C]=f);return y}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","RemoveNullFromObject",this.Debug.Typen.Service)}}FormatCurrency(y,f=2,C=",",_="."){try{f=Math.abs(f),f=isNaN(f)?2:f;const w=y<0?"-":"";let D=parseInt(y=Math.abs(Number(y)||0).toFixed(f)).toString(),L=D.length>3?D.length%3:0;return w+(L?D.substr(0,L)+_:"")+D.substr(L).replace(/(\d{3})(?=\d)/g,"$1"+_)+(f?C+Math.abs(y-D).toFixed(f).slice(2):"")+" \u20ac"}catch(w){this.Debug.ShowErrorMessage(w,"Tools","FormatCurrency",this.Debug.Typen.Service)}}FormatNumber(y,f=2,C=",",_="."){try{f=Math.abs(f),f=isNaN(f)?2:f;const w=y<0?"-":"";let D=parseInt(y=Math.abs(Number(y)||0).toFixed(f)).toString(),L=D.length>3?D.length%3:0;return w+(L?D.substr(0,L)+_:"")+D.substr(L).replace(/(\d{3})(?=\d)/g,"$1"+_)+(f?C+Math.abs(y-D).toFixed(f).slice(2):"")}catch(w){this.Debug.ShowErrorMessage(w,"Tools","FormatNumber",this.Debug.Typen.Service)}}FormatMoney(y,f=2,C=",",_="."){try{f=Math.abs(f),f=isNaN(f)?2:f;const w=y<0?"-":"";let D=parseInt(y=Math.abs(Number(y)||0).toFixed(f)).toString(),L=D.length>3?D.length%3:0;return w+(L?D.substr(0,L)+_:"")+D.substr(L).replace(/(\d{3})(?=\d)/g,"$1"+_)+(f?C+Math.abs(y-D).toFixed(f).slice(2):"")}catch(w){this.Debug.ShowErrorMessage(w,"Tools","FormatMoney",this.Debug.Typen.Service)}}FormatValue(y,f,C){try{let _;return null!==y?(y>=1e6?(y/=1e6,_=0===C?(y=Math.round(y)).toString()+" M":y.toFixed(C)+" M"):y>=1e3?(y/=1e3,_=0===C?(y=Math.round(y)).toString()+" k":y.toFixed(C)+" k"):y>0&&y<1?y<1e-9?(y*=1e9,0===C?y=Math.round(y):_=y.toFixed(C),_=y.toString()+" p"):y<1e-6?(y*=1e6,_=0===C?Math.round(y).toString():y.toFixed(C),_+=" n"):y<.001?(y*=1e3,_=0===C?Math.round(y).toString():y.toFixed(C),_+=" µ"):y<1&&(y*=1e3,_=0===C?Math.round(y).toString():y.toFixed(C),_+=" m"):(_=0===C?Math.round(y).toString():y.toFixed(C),""!==f&&(_=_+" "+f)),_=_.replace(".",","),""!==f&&(_=_+" "+f),_):"0"}catch(_){this.Debug.ShowErrorMessage(_.message,"Tools","FormatValue",this.Debug.Typen.Service)}}GetUniqueID(y){try{return this.UID_Counter++,"uid_"+y.replace(/-/g,"_")+"_"+this.UID_Counter.toString()}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","GetUniqueID",this.Debug.Typen.Service)}}HexToRGB(y){try{let f,C=100,_=50,w=50;return typeof y<"u"&&(y=y.replace("#",""),f=parseInt(y,16),C=f>>16&255,_=f>>8&255,w=255&f),C+","+_+","+w}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","HexToRGB",this.Debug.Typen.Component)}}SetRootPage(y){try{return new Promise(f=>{this.nav.navigateRoot(y,{animated:!1}).then(()=>{this.NavParameter.SetRootpage(y),f(!0)}).catch(C=>{console.log(C)})})}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","SetRootPage",this.Debug.Typen.Service)}}PushPage(y){try{return new Promise(f=>{this.nav.navigateForward(y,{animated:!0}).then(()=>{this.NavParameter.AddPage(y),f(!0)}).catch(C=>{console.log(C)})})}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","SetRootPage",this.Debug.Typen.Service)}}PopPage(){try{let y;return new Promise(f=>{y=this.NavParameter.RemovePage(),null!==y?this.nav.navigateBack(y,{animated:!1}).then(()=>{f(!0)}).catch(C=>{console.log(C)}):f(!0)})}catch(y){this.Debug.ShowErrorMessage(y.message,"Tools","SetRootPage",this.Debug.Typen.Service)}}GetBogenmass(y){try{return y/180*Math.PI}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","GetBogenmass",this.Debug.Typen.Service)}}GetGradmass(y){try{return 180*y/Math.PI}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","GetGradmass",this.Debug.Typen.Service)}}IstGerade(y){try{return y%2==0}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","IstGerade",this.Debug.Typen.Service)}}IstUngerade(y){try{return y%2!=0}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","IstUngerade",this.Debug.Typen.Service)}}RundenDezimal(y,f){try{let C=Math.pow(10,f||0);return Math.round(y*C)/C}catch(C){this.Debug.ShowErrorMessage(C.message,"file","function",this.Debug.Typen.Page)}}Runden(y,f){try{let C=Math.pow(10,f);return(Math.round(y*C)/C).toFixed(f)}catch(C){this.Debug.ShowErrorMessage(C.message,"Tools","Runden",this.Debug.Typen.Service)}}GetZeitstempelwert(){try{return(0,u.default)().valueOf()}catch(y){this.Debug.ShowErrorMessage(y.message,"Tools","GetZeitstempel",this.Debug.Typen.Service)}}GetZeitpunkttext(){try{return(0,u.default)().format("DD.MM.YYYY HH:mm:ss")}catch(y){this.Debug.ShowErrorMessage(y.message,"Tools","GetZeitstempel",this.Debug.Typen.Service)}}GetTimebasedID(y,f,C){try{return(0,u.default)(y+"."+f+"."+C+" 12:0","DD.MM.YYYY HH:mm").locale("de").valueOf().toString()}catch(_){this.Debug.ShowErrorMessage(_.message,"Tools","GetTimebasedID",this.Debug.Typen.Service)}}FormatLinebreaks(y){try{return typeof y<"u"?y.replace(/(?:\r\n|\r|\n)/g,"
"):""}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","FormatLinebreaks",this.Debug.Typen.Service)}}ReplaceSonderzeichen(y){try{return(y=(y=(y=(y=(y=(y=(y=(y=y.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(y,f){try{let _,C=Math.pow(10,f);return _=Math.round(y*C)/C,_.toString().replace(".",",")}catch(C){this.Debug.ShowErrorMessage(C.message,"Tools","Runden",this.Debug.Typen.Service)}}CheckArray(y){try{return!!this.CheckObject(y,!1)&&y instanceof Array}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","CheckArray",this.Debug.Typen.Service)}}CheckObject(y,f){try{return typeof y<"u"&&null!==y&&(!1===f||typeof y[f.toString()]<"u")}catch(C){this.Debug.ShowErrorMessage(C.message,"Tools","CheckObject",this.Debug.Typen.Service)}}ShowHinweisDialog(y){try{return new Promise(f=>{this.alertCtrl.create({header:"Hinweis",message:y,cssClass:"alertdialogclass",buttons:[{text:"Ok",cssClass:"infookclass",handler:()=>{f(!0)}}]}).then(C=>{C.present()}).catch(C=>{console.log(C)})})}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","ShowHinweisDialog",this.Debug.Typen.Service)}}CheckEmail(y){try{return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(y)}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","CheckEmail",this.Debug.Typen.Service)}}static \u0275fac=function(f){return new(f||E)(i.\u0275\u0275inject(e.BasicsProvider),i.\u0275\u0275inject(o.DebugProvider),i.\u0275\u0275inject(h.ConstProvider),i.\u0275\u0275inject(v.Navparameter),i.\u0275\u0275inject(M.NavController),i.\u0275\u0275inject(M.Platform),i.\u0275\u0275inject(M.AlertController))};static \u0275prov=i.\u0275\u0275defineInjectable({token:E,factory:E.\u0275fac,providedIn:"root"})}return E})()},36716:(pe,m)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.environment=void 0,m.environment={production:!0,useonlinedb:!0}},27460:(pe,m,s)=>{"use strict";const u=s(81316).__importStar(s(14476)),c=s(54496),i=s(5204);s(36716).environment.production&&(0,c.enableProdMode)(),u.platformBrowser().bootstrapModule(i.AppModule).catch(o=>console.log(o))},78776:(pe,m,s)=>{var l,u,n=s(1196).default;self,pe.exports=(l={7629:(c,i,e)=>{"use strict";const o=e(375),h=e(8571),v=e(9474),M=e(1687),p=e(8652),E=e(8160),S=e(3292),y=e(6354),f=e(8901),C=e(9708),_=e(6914),w=e(2294),D=e(6133),L=e(1152),N=e(8863),V=e(2036),G={Base:class{constructor(R){this.type=R,this.$_root=null,this._definition={},this._reset()}_reset(){this._ids=new w.Ids,this._preferences=null,this._refs=new D.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 o("function"==typeof C.describe,"Manifest functionality disabled"),C.describe(this)}allow(...R){return E.verifyFlat(R,"allow"),this._values(R,"_valids")}alter(R){o(R&&"object"==typeof R&&!Array.isArray(R),"Invalid targets argument"),o(!this._inRuleset(),"Cannot set alterations inside a ruleset");const k=this.clone();k.$_terms.alterations=k.$_terms.alterations||[];for(const A in R){const H=R[A];o("function"==typeof H,"Alteration adjuster for",A,"must be a function"),k.$_terms.alterations.push({target:A,adjuster:H})}return k.$_temp.ruleset=!1,k}artifact(R){return o(void 0!==R,"Artifact cannot be undefined"),o(!this._cache,"Cannot set an artifact with a rule cache"),this.$_setFlag("artifact",R)}cast(R){return o(!1===R||"string"==typeof R,"Invalid to value"),o(!1===R||this._definition.cast[R],"Type",this.type,"does not support casting to",R),this.$_setFlag("cast",!1===R?void 0:R)}default(R,k){return this._default("default",R,k)}description(R){return o(R&&"string"==typeof R,"Description must be a non-empty string"),this.$_setFlag("description",R)}empty(R){const k=this.clone();return void 0!==R&&(R=k.$_compile(R,{override:!1})),k.$_setFlag("empty",R,{clone:!1})}error(R){return o(R,"Missing error"),o(R instanceof Error||"function"==typeof R,"Must provide a valid Error object or a function"),this.$_setFlag("error",R)}example(R,k={}){return o(void 0!==R,"Missing example"),E.assertOptions(k,["override"]),this._inner("examples",R,{single:!0,override:k.override})}external(R,k){return"object"==typeof R&&(o(!k,"Cannot combine options with description"),k=R.description,R=R.method),o("function"==typeof R,"Method must be a function"),o(void 0===k||k&&"string"==typeof k,"Description must be a non-empty string"),this._inner("externals",{method:R,description:k},{single:!0})}failover(R,k){return this._default("failover",R,k)}forbidden(){return this.presence("forbidden")}id(R){return R?(o("string"==typeof R,"id must be a non-empty string"),o(/^[^\.]+$/.test(R),"id cannot contain period character"),this.$_setFlag("id",R)):this.$_setFlag("id",void 0)}invalid(...R){return this._values(R,"_invalids")}label(R){return o(R&&"string"==typeof R,"Label name must be a non-empty string"),this.$_setFlag("label",R)}meta(R){return o(void 0!==R,"Meta cannot be undefined"),this._inner("metas",R,{single:!0})}note(...R){o(R.length,"Missing notes");for(const k of R)o(k&&"string"==typeof k,"Notes must be non-empty strings");return this._inner("notes",R)}only(R=!0){return o("boolean"==typeof R,"Invalid mode:",R),this.$_setFlag("only",R)}optional(){return this.presence("optional")}prefs(R){o(R,"Missing preferences"),o(void 0===R.context,"Cannot override context"),o(void 0===R.externals,"Cannot override externals"),o(void 0===R.warnings,"Cannot override warnings"),o(void 0===R.debug,"Cannot override debug"),E.checkPreferences(R);const k=this.clone();return k._preferences=E.preferences(k._preferences,R),k}presence(R){return o(["optional","required","forbidden"].includes(R),"Unknown presence mode",R),this.$_setFlag("presence",R)}raw(R=!0){return this.$_setFlag("result",R?"raw":void 0)}result(R){return o(["raw","strip"].includes(R),"Unknown result mode",R),this.$_setFlag("result",R)}required(){return this.presence("required")}strict(R){const k=this.clone();return k._preferences=E.preferences(k._preferences,{convert:void 0!==R&&!R}),k}strip(R=!0){return this.$_setFlag("result",R?"strip":void 0)}tag(...R){o(R.length,"Missing tags");for(const k of R)o(k&&"string"==typeof k,"Tags must be non-empty strings");return this._inner("tags",R)}unit(R){return o(R&&"string"==typeof R,"Unit name must be a non-empty string"),this.$_setFlag("unit",R)}valid(...R){E.verifyFlat(R,"valid");const k=this.allow(...R);return k.$_setFlag("only",!!k._valids,{clone:!1}),k}when(R,k){const A=this.clone();A.$_terms.whens||(A.$_terms.whens=[]);const H=S.when(A,R,k);if(!["any","link"].includes(A.type)){const K=H.is?[H]:H.switch;for(const ie of K)o(!ie.then||"any"===ie.then.type||ie.then.type===A.type,"Cannot combine",A.type,"with",ie.then&&ie.then.type),o(!ie.otherwise||"any"===ie.otherwise.type||ie.otherwise.type===A.type,"Cannot combine",A.type,"with",ie.otherwise&&ie.otherwise.type)}return A.$_terms.whens.push(H),A.$_mutateRebuild()}cache(R){o(!this._inRuleset(),"Cannot set caching inside a ruleset"),o(!this._cache,"Cannot override schema cache"),o(void 0===this._flags.artifact,"Cannot cache a rule with an artifact");const k=this.clone();return k._cache=R||p.provider.provision(),k.$_temp.ruleset=!1,k}clone(){const R=Object.create(Object.getPrototypeOf(this));return this._assign(R)}concat(R){o(E.isSchema(R),"Invalid schema object"),o("any"===this.type||"any"===R.type||R.type===this.type,"Cannot merge type",this.type,"with another type:",R.type),o(!this._inRuleset(),"Cannot concatenate onto a schema with open ruleset"),o(!R._inRuleset(),"Cannot concatenate a schema with open ruleset");let k=this.clone();if("any"===this.type&&"any"!==R.type){const A=R.clone();for(const H of Object.keys(k))"type"!==H&&(A[H]=k[H]);k=A}k._ids.concat(R._ids),k._refs.register(R,D.toSibling),k._preferences=k._preferences?E.preferences(k._preferences,R._preferences):R._preferences,k._valids=V.merge(k._valids,R._valids,R._invalids),k._invalids=V.merge(k._invalids,R._invalids,R._valids);for(const A of R._singleRules.keys())k._singleRules.has(A)&&(k._rules=k._rules.filter(H=>H.keep||H.name!==A),k._singleRules.delete(A));for(const A of R._rules)R._definition.rules[A.method].multi||k._singleRules.set(A.name,A),k._rules.push(A);if(k._flags.empty&&R._flags.empty){k._flags.empty=k._flags.empty.concat(R._flags.empty);const A=Object.assign({},R._flags);delete A.empty,M(k._flags,A)}else if(R._flags.empty){k._flags.empty=R._flags.empty;const A=Object.assign({},R._flags);delete A.empty,M(k._flags,A)}else M(k._flags,R._flags);for(const A in R.$_terms){const H=R.$_terms[A];H?k.$_terms[A]=k.$_terms[A]?k.$_terms[A].concat(H):H.slice():k.$_terms[A]||(k.$_terms[A]=H)}return this.$_root._tracer&&this.$_root._tracer._combine(k,[this,R]),k.$_mutateRebuild()}extend(R){return o(!R.base,"Cannot extend type with another base"),f.type(this,R)}extract(R){return R=Array.isArray(R)?R:R.split("."),this._ids.reach(R)}fork(R,k){o(!this._inRuleset(),"Cannot fork inside a ruleset");let A=this;for(let H of[].concat(R))H=Array.isArray(H)?H:H.split("."),A=A._ids.fork(H,k,A);return A.$_temp.ruleset=!1,A}rule(R){const k=this._definition;E.assertOptions(R,Object.keys(k.modifiers)),o(!1!==this.$_temp.ruleset,"Cannot apply rules to empty ruleset or the last rule added does not support rule properties");const A=null===this.$_temp.ruleset?this._rules.length-1:this.$_temp.ruleset;o(A>=0&&AA.tailor(R),ref:!1}),k.$_temp.ruleset=!1,k.$_mutateRebuild()}tracer(){return L.location?L.location(this):this}validate(R,k){return N.entry(R,this,k)}validateAsync(R,k){return N.entryAsync(R,this,k)}$_addRule(R){"string"==typeof R&&(R={name:R}),o(R&&"object"==typeof R,"Invalid options"),o(R.name&&"string"==typeof R.name,"Invalid rule name");for(const ie in R)o("_"!==ie[0],"Cannot set private rule properties");const k=Object.assign({},R);k._resolve=[],k.method=k.method||k.name;const A=this._definition.rules[k.method],H=k.args;o(A,"Unknown rule",k.method);const K=this.clone();if(H){o(1===Object.keys(H).length||Object.keys(H).length===this._definition.rules[k.name].args.length,"Invalid rule definition for",this.type,k.name);for(const ie in H){let X=H[ie];if(A.argsByName){const be=A.argsByName.get(ie);if(be.ref&&E.isResolvable(X))k._resolve.push(ie),K.$_mutateRegister(X);else if(be.normalize&&(X=be.normalize(X),H[ie]=X),be.assert){const ce=E.validateArg(X,ie,be);o(!ce,ce,"or reference")}}void 0!==X?H[ie]=X:delete H[ie]}}return A.multi||(K._ruleRemove(k.name,{clone:!1}),K._singleRules.set(k.name,k)),!1===K.$_temp.ruleset&&(K.$_temp.ruleset=null),A.priority?K._rules.unshift(k):K._rules.push(k),K}$_compile(R,k){return S.schema(this.$_root,R,k)}$_createError(R,k,A,H,K,ie={}){const X=!1!==ie.flags?this._flags:{},be=ie.messages?_.merge(this._definition.messages,ie.messages):this._definition.messages;return new y.Report(R,k,A,X,be,H,K)}$_getFlag(R){return this._flags[R]}$_getRule(R){return this._singleRules.get(R)}$_mapLabels(R){return R=Array.isArray(R)?R:R.split("."),this._ids.labels(R)}$_match(R,k,A,H){(A=Object.assign({},A)).abortEarly=!0,A._externals=!1,k.snapshot();const K=!N.validate(R,this,k,A,H).errors;return k.restore(),K}$_modify(R){return E.assertOptions(R,["each","once","ref","schema"]),w.schema(this,R)||this}$_mutateRebuild(){return o(!this._inRuleset(),"Cannot add this rule inside a ruleset"),this._refs.reset(),this._ids.reset(),this.$_modify({each:(R,{source:k,name:A,key:K})=>{const ie=this._definition[k][A]&&this._definition[k][A].register;!1!==ie&&this.$_mutateRegister(R,{family:ie,key:K})}}),this._definition.rebuild&&this._definition.rebuild(this),this.$_temp.ruleset=!1,this}$_mutateRegister(R,{family:k,key:A}={}){this._refs.register(R,k),this._ids.register(R,{key:A})}$_property(R){return this._definition.properties[R]}$_reach(R){return this._ids.reach(R)}$_rootReferences(){return this._refs.roots()}$_setFlag(R,k,A={}){if(o("_"===R[0]||!this._inRuleset(),"Cannot set flag inside a ruleset"),v(k,(this._definition.flags[R]||{}).default)&&(k=void 0),v(k,this._flags[R]))return this;const K=!1!==A.clone?this.clone():this;return void 0!==k?(K._flags[R]=k,K.$_mutateRegister(k)):delete K._flags[R],"_"!==R[0]&&(K.$_temp.ruleset=!1),K}$_parent(R,...k){return this[R][E.symbols.parent].call(this,...k)}$_validate(R,k,A){return N.validate(R,this,k,A)}_assign(R){R.type=this.type,R.$_root=this.$_root,R.$_temp=Object.assign({},this.$_temp),R.$_temp.whens={},R._ids=this._ids.clone(),R._preferences=this._preferences,R._valids=this._valids&&this._valids.clone(),R._invalids=this._invalids&&this._invalids.clone(),R._rules=this._rules.slice(),R._singleRules=h(this._singleRules,{shallow:!0}),R._refs=this._refs.clone(),R._flags=Object.assign({},this._flags),R._cache=null,R.$_terms={};for(const k in this.$_terms)R.$_terms[k]=this.$_terms[k]?this.$_terms[k].slice():null;R.$_super={};for(const k in this.$_super)R.$_super[k]=this._super[k].bind(R);return R}_bare(){const R=this.clone();R._reset();const k=R._definition.terms;for(const A in k)R.$_terms[A]=k[A].init;return R.$_mutateRebuild()}_default(R,k,A={}){return E.assertOptions(A,"literal"),o(void 0!==k,"Missing",R,"value"),o("function"==typeof k||!A.literal,"Only function value supports literal option"),"function"==typeof k&&A.literal&&(k={[E.symbols.literal]:!0,literal:k}),this.$_setFlag(R,k)}_generate(R,k,A){if(!this.$_terms.whens)return{schema:this};const H=[],K=[];for(let be=0;bexe)break}const ie=K.join(", ");if(k.mainstay.tracer.debug(k,"rule","when",ie),!ie)return{schema:this};if(!k.mainstay.tracer.active&&this.$_temp.whens[ie])return{schema:this.$_temp.whens[ie],id:ie};let X=this;this._definition.generate&&(X=this._definition.generate(this,R,k,A));for(const be of H)X=X.concat(be);return this.$_root._tracer&&this.$_root._tracer._combine(X,[this,...H]),this.$_temp.whens[ie]=X,{schema:X,id:ie}}_inner(R,k,A={}){o(!this._inRuleset(),`Cannot set ${R} inside a ruleset`);const H=this.clone();return H.$_terms[R]&&!A.override||(H.$_terms[R]=[]),A.single?H.$_terms[R].push(k):H.$_terms[R].push(...k),H.$_temp.ruleset=!1,H}_inRuleset(){return null!==this.$_temp.ruleset&&!1!==this.$_temp.ruleset}_ruleRemove(R,k={}){if(!this._singleRules.has(R))return this;const A=!1!==k.clone?this.clone():this;A._singleRules.delete(R);const H=[];for(let K=0;K{"use strict";const o=e(375),h=e(8571),v=e(8160),M={max:1e3,supported:new Set(["undefined","boolean","number","string"])};i.provider={provision:p=>new M.Cache(p)},M.Cache=class{constructor(p={}){v.assertOptions(p,["max"]),o(void 0===p.max||p.max&&p.max>0&&isFinite(p.max),"Invalid max cache size"),this._max=p.max||M.max,this._map=new Map,this._list=new M.List}get length(){return this._map.size}set(p,E){if(null!==p&&!M.supported.has(typeof p))return;let S=this._map.get(p);if(S)return S.value=E,void this._list.first(S);S=this._list.unshift({key:p,value:E}),this._map.set(p,S),this._compact()}get(p){const E=this._map.get(p);if(E)return this._list.first(E),h(E.value)}_compact(){if(this._map.size>this._max){const p=this._list.pop();this._map.delete(p.key)}}},M.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:E,prev:S}=p;return E.prev=S,S&&(S.next=E),p===this.tail&&(this.tail=E),p.prev=null,p.next=null,p}}},8160:(c,i,e)=>{"use strict";const o=e(375),h=e(7916),v=e(5934);let M,p;const E={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)?)?)?)?$/};i.version=v.version,i.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},i.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")},i.assertOptions=function(S,y,f="Options"){o(S&&"object"==typeof S&&!Array.isArray(S),"Options must be of type object");const C=Object.keys(S).filter(_=>!y.includes(_));o(0===C.length,`${f} contain unknown keys: ${C}`)},i.checkPreferences=function(S){p=p||e(3378);const y=p.preferences.validate(S);if(y.error)throw new h([y.error.details[0].message])},i.compare=function(S,y,f){switch(f){case"=":return S===y;case">":return S>y;case"<":return S=":return S>=y;case"<=":return S<=y}},i.default=function(S,y){return void 0===S?y:S},i.isIsoDate=function(S){return E.isoDate.test(S)},i.isNumber=function(S){return"number"==typeof S&&!isNaN(S)},i.isResolvable=function(S){return!!S&&(S[i.symbols.ref]||S[i.symbols.template])},i.isSchema=function(S,y={}){const f=S&&S[i.symbols.any];return!!f&&(o(y.legacy||f.version===i.version,"Cannot mix different versions of joi schemas"),!0)},i.isValues=function(S){return S[i.symbols.values]},i.limit=function(S){return Number.isSafeInteger(S)&&S>=0},i.preferences=function(S,y){M=M||e(6914),S=S||{},y=y||{};const f=Object.assign({},S,y);return y.errors&&S.errors&&(f.errors=Object.assign({},S.errors,y.errors),f.errors.wrap=Object.assign({},S.errors.wrap,y.errors.wrap)),y.messages&&(f.messages=M.compile(y.messages,S.messages)),delete f[i.symbols.prefs],f},i.tryWithPath=function(S,y,f={}){try{return S()}catch(C){throw C.path=void 0!==C.path?y+"."+C.path:y,f.append&&(C.message=`${C.message} (${C.path})`),C}},i.validateArg=function(S,y,{assert:f,message:C}){if(i.isSchema(f)){const _=f.validate(S);return _.error?_.error.message:void 0}if(!f(S))return y?`${y} ${C}`:C},i.verifyFlat=function(S,y){for(const f of S)o(!Array.isArray(f),"Method no longer accepts array arguments:",y)}},3292:(c,i,e)=>{"use strict";const o=e(375),h=e(8160),v=e(6133),M={};i.schema=function(p,E,S={}){h.assertOptions(S,["appendPath","override"]);try{return M.schema(p,E,S)}catch(y){throw S.appendPath&&void 0!==y.path&&(y.message=`${y.message} (${y.path})`),y}},M.schema=function(p,E,S){o(void 0!==E,"Invalid undefined schema"),Array.isArray(E)&&(o(E.length,"Invalid empty array schema"),1===E.length&&(E=E[0]));const y=(f,...C)=>!1!==S.override?f.valid(p.override,...C):f.valid(...C);if(M.simple(E))return y(p,E);if("function"==typeof E)return p.custom(E);if(o("object"==typeof E,"Invalid schema content:",typeof E),h.isResolvable(E))return y(p,E);if(h.isSchema(E))return E;if(Array.isArray(E)){for(const f of E)if(!M.simple(f))return p.alternatives().try(...E);return y(p,...E)}return E instanceof RegExp?p.string().regex(E):E instanceof Date?y(p.date(),E):(o(Object.getPrototypeOf(E)===Object.getPrototypeOf({}),"Schema can only contain plain objects"),p.object().keys(E))},i.ref=function(p,E){return v.isRef(p)?p:v.create(p,E)},i.compile=function(p,E,S={}){h.assertOptions(S,["legacy"]);const y=E&&E[h.symbols.any];if(y)return o(S.legacy||y.version===h.version,"Cannot mix different versions of joi schemas:",y.version,h.version),E;if("object"!=typeof E||!S.legacy)return i.schema(p,E,{appendPath:!0});const f=M.walk(E);return f?f.compile(f.root,E):i.schema(p,E,{appendPath:!0})},M.walk=function(p){if("object"!=typeof p)return null;if(Array.isArray(p)){for(const S of p){const y=M.walk(S);if(y)return y}return null}const E=p[h.symbols.any];if(E)return{root:p[E.root],compile:E.compile};o(Object.getPrototypeOf(p)===Object.getPrototypeOf({}),"Schema can only contain plain objects");for(const S in p){const y=M.walk(p[S]);if(y)return y}return null},M.simple=function(p){return null===p||["boolean","string","number"].includes(typeof p)},i.when=function(p,E,S){if(void 0===S&&(o(E&&"object"==typeof E,"Missing options"),S=E,E=v.create(".")),Array.isArray(S)&&(S={switch:S}),h.assertOptions(S,["is","not","then","otherwise","switch","break"]),h.isSchema(E))return o(void 0===S.is,'"is" can not be used with a schema condition'),o(void 0===S.not,'"not" can not be used with a schema condition'),o(void 0===S.switch,'"switch" can not be used with a schema condition'),M.condition(p,{is:E,then:S.then,otherwise:S.otherwise,break:S.break});if(o(v.isRef(E)||"string"==typeof E,"Invalid condition:",E),o(void 0===S.not||void 0===S.is,'Cannot combine "is" with "not"'),void 0===S.switch){let f=S;void 0!==S.not&&(f={is:S.not,then:S.otherwise,otherwise:S.then,break:S.break});let C=void 0!==f.is?p.$_compile(f.is):p.$_root.invalid(null,!1,0,"").required();return o(void 0!==f.then||void 0!==f.otherwise,'options must have at least one of "then", "otherwise", or "switch"'),o(void 0===f.break||void 0===f.then||void 0===f.otherwise,"Cannot specify then, otherwise, and break all together"),void 0===S.is||v.isRef(S.is)||h.isSchema(S.is)||(C=C.required()),M.condition(p,{ref:i.ref(E),is:C,then:f.then,otherwise:f.otherwise,break:f.break})}o(Array.isArray(S.switch),'"switch" must be an array'),o(void 0===S.is,'Cannot combine "switch" with "is"'),o(void 0===S.not,'Cannot combine "switch" with "not"'),o(void 0===S.then,'Cannot combine "switch" with "then"');const y={ref:i.ref(E),switch:[],break:S.break};for(let f=0;f{"use strict";const o=e(5688),h=e(8160),v=e(3328);i.Report=class{constructor(M,p,E,S,y,f,C){if(this.code=M,this.flags=S,this.messages=y,this.path=f.path,this.prefs=C,this.state=f,this.value=p,this.message=null,this.template=null,this.local=E||{},this.local.label=i.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 _=this.path[this.path.length-1];"object"!=typeof _&&(this.local.key=_)}}_setTemplate(M){if(this.template=M,!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 M=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 "${M}" 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(M,p){return i.template(this.value,M,p||this.code,this.state,this.prefs)}},i.path=function(M){let p="";for(const E of M)"object"!=typeof E&&("string"==typeof E?(p&&(p+="."),p+=E):p+=`[${E}]`);return p},i.template=function(M,p,E,S,y){if(!p)return;if(v.isTemplate(p))return"root"!==E?p:null;let f=y.errors.language;if(h.isResolvable(f)&&(f=f.resolve(M,S,y)),f&&p[f]){if(void 0!==p[f][E])return p[f][E];if(void 0!==p[f]["*"])return p[f]["*"]}return p[E]?p[E]:p["*"]},i.label=function(M,p,E,S){if(M.label)return M.label;if(!E.errors.label)return"";let y=p.path;return"key"===E.errors.label&&p.path.length>1&&(y=p.path.slice(-1)),i.path(y)||i.template(null,E.messages,"root",p,E)||S&&i.template(null,S,"root",p,E)||"value"},i.process=function(M,p,E){if(!M)return null;const{override:S,message:y,details:f}=i.details(M);if(S)return S;if(E.errors.stack)return new i.ValidationError(y,f,p);const C=Error.stackTraceLimit;Error.stackTraceLimit=0;const _=new i.ValidationError(y,f,p);return Error.stackTraceLimit=C,_},i.details=function(M,p={}){let E=[];const S=[];for(const y of M){if(y instanceof Error){if(!1!==p.override)return{override:y};const C=y.toString();E.push(C),S.push({message:C,type:"override",context:{error:y}});continue}const f=y.toString();E.push(f),S.push({message:f,path:y.path.filter(C=>"object"!=typeof C),type:y.code,context:y.local})}return E.length>1&&(E=[...new Set(E)]),{message:E.join(". "),details:S}},i.ValidationError=class extends Error{constructor(M,p,E){super(M),this._original=E,this.details=p}static isError(M){return M instanceof i.ValidationError}},i.ValidationError.prototype.isJoi=!0,i.ValidationError.prototype.name="ValidationError",i.ValidationError.prototype.annotate=o.error},8901:(c,i,e)=>{"use strict";const o=e(375),h=e(8571),v=e(8160),M=e(6914),p={};i.type=function(E,S){const y=Object.getPrototypeOf(E),f=h(y),C=E._assign(Object.create(f)),_=Object.assign({},S);delete _.base,f._definition=_;const w=y._definition||{};_.messages=M.merge(w.messages,_.messages),_.properties=Object.assign({},w.properties,_.properties),C.type=_.type,_.flags=Object.assign({},w.flags,_.flags);const D=Object.assign({},w.terms);if(_.terms)for(const G in _.terms){const R=_.terms[G];o(void 0===C.$_terms[G],"Invalid term override for",_.type,G),C.$_terms[G]=R.init,D[G]=R}_.terms=D,_.args||(_.args=w.args),_.prepare=p.prepare(_.prepare,w.prepare),_.coerce&&("function"==typeof _.coerce&&(_.coerce={method:_.coerce}),_.coerce.from&&!Array.isArray(_.coerce.from)&&(_.coerce={method:_.coerce.method,from:[].concat(_.coerce.from)})),_.coerce=p.coerce(_.coerce,w.coerce),_.validate=p.validate(_.validate,w.validate);const L=Object.assign({},w.rules);if(_.rules)for(const G in _.rules){const R=_.rules[G];o("object"==typeof R,"Invalid rule definition for",_.type,G);let k=R.method;if(void 0===k&&(k=function(){return this.$_addRule(G)}),k&&(o(!f[G],"Rule conflict in",_.type,G),f[G]=k),o(!L[G],"Rule conflict in",_.type,G),L[G]=R,R.alias){const A=[].concat(R.alias);for(const H of A)f[H]=R.method}R.args&&(R.argsByName=new Map,R.args=R.args.map(A=>("string"==typeof A&&(A={name:A}),o(!R.argsByName.has(A.name),"Duplicated argument name",A.name),v.isSchema(A.assert)&&(A.assert=A.assert.strict().label(A.name)),R.argsByName.set(A.name,A),A)))}_.rules=L;const N=Object.assign({},w.modifiers);if(_.modifiers)for(const G in _.modifiers){o(!f[G],"Rule conflict in",_.type,G);const R=_.modifiers[G];o("function"==typeof R,"Invalid modifier definition for",_.type,G),f[G]=function(A){return this.rule({[G]:A})},N[G]=R}if(_.modifiers=N,_.overrides){f._super=y,C.$_super={};for(const G in _.overrides)o(y[G],"Cannot override missing",G),_.overrides[G][v.symbols.parent]=y[G],C.$_super[G]=y[G].bind(C);Object.assign(f,_.overrides)}_.cast=Object.assign({},w.cast,_.cast);const V=Object.assign({},w.manifest,_.manifest);return V.build=p.build(_.manifest&&_.manifest.build,w.manifest&&w.manifest.build),_.manifest=V,_.rebuild=p.rebuild(_.rebuild,w.rebuild),C},p.build=function(E,S){return E&&S?function(y,f){return S(E(y,f),f)}:E||S},p.coerce=function(E,S){return E&&S?{from:E.from&&S.from?[...new Set([...E.from,...S.from])]:null,method(y,f){let C;if((!S.from||S.from.includes(typeof y))&&(C=S.method(y,f),C)){if(C.errors||void 0===C.value)return C;y=C.value}if(!E.from||E.from.includes(typeof y)){const _=E.method(y,f);if(_)return _}return C}}:E||S},p.prepare=function(E,S){return E&&S?function(y,f){const C=E(y,f);if(C){if(C.errors||void 0===C.value)return C;y=C.value}return S(y,f)||C}:E||S},p.rebuild=function(E,S){return E&&S?function(y){S(y),E(y)}:E||S},p.validate=function(E,S){return E&&S?function(y,f){const C=S(y,f);if(C){if(C.errors&&(!Array.isArray(C.errors)||C.errors.length))return C;y=C.value}return E(y,f)||C}:E||S}},5107:(c,i,e)=>{"use strict";const o=e(375),h=e(8571),v=e(8652),M=e(8160),p=e(3292),E=e(6354),S=e(8901),y=e(9708),f=e(6133),C=e(3328),_=e(1152);let w;const D={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 L={_types:new Set(Object.keys(D.types))};for(const N of L._types)L[N]=function(...V){return o(!V.length||["alternatives","link","object"].includes(N),"The",N,"type does not allow arguments"),D.generate(this,D.types[N],V)};for(const N of["allow","custom","disallow","equal","exist","forbidden","invalid","not","only","optional","options","prefs","preferences","required","strip","valid","when"])L[N]=function(...V){return this.any()[N](...V)};Object.assign(L,D.methods);for(const N in D.aliases)L[N]=L[D.aliases[N]];return L.x=L.expression,_.setup&&_.setup(L),L}};D.methods={ValidationError:E.ValidationError,version:M.version,cache:v.provider,assert(L,N,...V){D.assert(L,N,!0,V)},attempt:(L,N,...V)=>D.assert(L,N,!1,V),build(L){return o("function"==typeof y.build,"Manifest functionality disabled"),y.build(this,L)},checkPreferences(L){M.checkPreferences(L)},compile(L,N){return p.compile(this,L,N)},defaults(L){o("function"==typeof L,"modifier must be a function");const N=Object.assign({},this);for(const V of N._types){const G=L(N[V]());o(M.isSchema(G),"modifier must return a valid schema object"),N[V]=function(...R){return D.generate(this,G,R)}}return N},expression:(...L)=>new C(...L),extend(...L){M.verifyFlat(L,"extend"),w=w||e(3378),o(L.length,"You need to provide at least one extension"),this.assert(L,w.extensions);const N=Object.assign({},this);N._types=new Set(N._types);for(let V of L){"function"==typeof V&&(V=V(N)),this.assert(V,w.extension);const G=D.expandExtension(V,N);for(const R of G){o(void 0===N[R.type]||N._types.has(R.type),"Cannot override name",R.type);const k=R.base||this.any(),A=S.type(k,R);N._types.add(R.type),N[R.type]=function(...H){return D.generate(this,A,H)}}}return N},isError:E.ValidationError.isError,isExpression:C.isTemplate,isRef:f.isRef,isSchema:M.isSchema,in:(...L)=>f.in(...L),override:M.symbols.override,ref:(...L)=>f.create(...L),types(){const L={};for(const N of this._types)L[N]=this[N]();for(const N in D.aliases)L[N]=this[N]();return L}},D.assert=function(L,N,V,G){const R=G[0]instanceof Error||"string"==typeof G[0]?G[0]:null,A=N.validate(L,M.preferences({errors:{stack:!0}},(null!==R?G[1]:G[0])||{}));let H=A.error;if(!H)return A.value;if(R instanceof Error)throw R;const K=V&&"function"==typeof H.annotate?H.annotate():H.message;throw H instanceof E.ValidationError==0&&(H=h(H)),H.message=R?`${R} ${K}`:K,H},D.generate=function(L,N,V){return o(L,"Must be invoked on a Joi instance."),N.$_root=L,N._definition.args&&V.length?N._definition.args(N,...V):N},D.expandExtension=function(L,N){if("string"==typeof L.type)return[L];const V=[];for(const G of N._types)if(L.type.test(G)){const R=Object.assign({},L);R.type=G,R.base=N[G](),V.push(R)}return V},c.exports=D.root()},6914:(c,i,e)=>{"use strict";const o=e(375),h=e(8571),v=e(3328);i.compile=function(M,p){if("string"==typeof M)return o(!p,"Cannot set single message string"),new v(M);if(v.isTemplate(M))return o(!p,"Cannot set single message template"),M;o("object"==typeof M&&!Array.isArray(M),"Invalid message options"),p=p?h(p):{};for(let E in M){const S=M[E];if("root"===E||v.isTemplate(S)){p[E]=S;continue}if("string"==typeof S){p[E]=new v(S);continue}o("object"==typeof S&&!Array.isArray(S),"Invalid message for",E);const y=E;for(E in p[y]=p[y]||{},S){const f=S[E];"root"===E||v.isTemplate(f)?p[y][E]=f:(o("string"==typeof f,"Invalid message for",E,"in",y),p[y][E]=new v(f))}}return p},i.decompile=function(M){const p={};for(let E in M){const S=M[E];if("root"===E){p.root=S;continue}if(v.isTemplate(S)){p[E]=S.describe({compact:!0});continue}const y=E;for(E in p[y]={},S){const f=S[E];"root"!==E?p[y][E]=f.describe({compact:!0}):p[y].root=f}}return p},i.merge=function(M,p){if(!M)return i.compile(p);if(!p)return M;if("string"==typeof p)return new v(p);if(v.isTemplate(p))return p;const E=h(M);for(let S in p){const y=p[S];if("root"===S||v.isTemplate(y)){E[S]=y;continue}if("string"==typeof y){E[S]=new v(y);continue}o("object"==typeof y&&!Array.isArray(y),"Invalid message for",S);const f=S;for(S in E[f]=E[f]||{},y){const C=y[S];"root"===S||v.isTemplate(C)?E[f][S]=C:(o("string"==typeof C,"Invalid message for",S,"in",f),E[f][S]=new v(C))}}return E}},2294:(c,i,e)=>{"use strict";const o=e(375),h=e(8160),v=e(6133),M={};i.Ids=M.Ids=class{constructor(){this._byId=new Map,this._byKey=new Map,this._schemaChain=!1}clone(){const p=new M.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[E,S]of p._byId.entries())o(!this._byKey.has(E),"Schema id conflicts with existing key:",E),this._byId.set(E,S);for(const[E,S]of p._byKey.entries())o(!this._byId.has(E),"Schema key conflicts with existing id:",E),this._byKey.set(E,S)}fork(p,E,S){const y=this._collect(p);y.push({schema:S});const f=y.shift();let C={id:f.id,schema:E(f.schema)};o(h.isSchema(C.schema),"adjuster function failed to return a joi schema type");for(const _ of y)C={id:_.id,schema:M.fork(_.schema,C.id,C.schema)};return C.schema}labels(p,E=[]){const S=p[0],y=this._get(S);if(!y)return[...E,...p].join(".");const f=p.slice(1);return E=[...E,y.schema._flags.label||S],f.length?y.schema._ids.labels(f,E):E.join(".")}reach(p,E=[]){const S=p[0],y=this._get(S);o(y,"Schema does not contain path",[...E,...p].join("."));const f=p.slice(1);return f.length?y.schema._ids.reach(f,[...E,S]):y.schema}register(p,{key:E}={}){if(!p||!h.isSchema(p))return;(p.$_property("schemaChain")||p._ids._schemaChain)&&(this._schemaChain=!0);const S=p._flags.id;if(S){const y=this._byId.get(S);o(!y||y.schema===p,"Cannot add different schemas with the same id:",S),o(!this._byKey.has(S),"Schema id conflicts with existing key:",S),this._byId.set(S,{schema:p,id:S})}E&&(o(!this._byKey.has(E),"Schema already contains key:",E),o(!this._byId.has(E),"Schema key conflicts with existing id:",E),this._byKey.set(E,{schema:p,id:E}))}reset(){this._byId=new Map,this._byKey=new Map,this._schemaChain=!1}_collect(p,E=[],S=[]){const y=p[0],f=this._get(y);o(f,"Schema does not contain path",[...E,...p].join(".")),S=[f,...S];const C=p.slice(1);return C.length?f.schema._ids._collect(C,[...E,y],S):S}_get(p){return this._byId.get(p)||this._byKey.get(p)}},M.fork=function(p,E,S){const y=i.schema(p,{each:(f,{key:C})=>{if(E===(f._flags.id||C))return S},ref:!1});return y?y.$_mutateRebuild():p},i.schema=function(p,E){let S;for(const y in p._flags){if("_"===y[0])continue;const f=M.scan(p._flags[y],{source:"flags",name:y},E);void 0!==f&&(S=S||p.clone(),S._flags[y]=f)}for(let y=0;y{"use strict";const o=e(375),h=e(8571),v=e(9621),M=e(8160);let p;const E={symbol:Symbol("ref"),defaults:{adjust:null,in:!1,iterables:null,map:null,separator:".",type:"value"}};i.create=function(S,y={}){o("string"==typeof S,"Invalid reference key:",S),M.assertOptions(y,["adjust","ancestor","in","iterables","map","prefix","render","separator"]),o(!y.prefix||"object"==typeof y.prefix,"options.prefix must be of type object");const f=Object.assign({},E.defaults,y);delete f.prefix;const C=f.separator,_=E.context(S,C,y.prefix);if(f.type=_.type,S=_.key,"value"===f.type)if(_.root&&(o(!C||S[0]!==C,"Cannot specify relative path with root prefix"),f.ancestor="root",S||(S=null)),C&&C===S)S=null,f.ancestor=0;else if(void 0!==f.ancestor)o(!C||!S||S[0]!==C,"Cannot combine prefix with ancestor option");else{const[w,D]=E.ancestor(S,C);D&&""===(S=S.slice(D))&&(S=null),f.ancestor=w}return f.path=C?null===S?[]:S.split(C):[S],new E.Ref(f)},i.in=function(S,y={}){return i.create(S,{...y,in:!0})},i.isRef=function(S){return!!S&&!!S[M.symbols.ref]},E.Ref=class{constructor(S){o("object"==typeof S,"Invalid reference construction"),M.assertOptions(S,["adjust","ancestor","in","iterables","map","path","render","separator","type","depth","key","root","display"]),o([!1,void 0].includes(S.separator)||"string"==typeof S.separator&&1===S.separator.length,"Invalid separator"),o(!S.adjust||"function"==typeof S.adjust,"options.adjust must be a function"),o(!S.map||Array.isArray(S.map),"options.map must be an array"),o(!S.map||!S.adjust,"Cannot set both map and adjust options"),Object.assign(this,E.defaults,S),o("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(S,y,f,C,_={}){return o(!this.in||_.in,"Invalid in() reference usage"),"global"===this.type?this._resolve(f.context,y,_):"local"===this.type?this._resolve(C,y,_):this.ancestor?"root"===this.ancestor?this._resolve(y.ancestors[y.ancestors.length-1],y,_):(o(this.ancestor<=y.ancestors.length,"Invalid reference exceeds the schema root:",this.display),this._resolve(y.ancestors[this.ancestor-1],y,_)):this._resolve(S,y,_)}_resolve(S,y,f){let C;if("value"===this.type&&y.mainstay.shadow&&!1!==f.shadow&&(C=y.mainstay.shadow.get(this.absolute(y))),void 0===C&&(C=v(S,this.path,{iterables:this.iterables,functions:!0})),this.adjust&&(C=this.adjust(C)),this.map){const _=this.map.get(C);void 0!==_&&(C=_)}return y.mainstay&&y.mainstay.tracer.resolve(y,this,C),C}toString(){return this.display}absolute(S){return[...S.path.slice(0,-this.ancestor),...this.path]}clone(){return new E.Ref(this)}describe(){const S={path:this.path};"value"!==this.type&&(S.type=this.type),"."!==this.separator&&(S.separator=this.separator),"value"===this.type&&1!==this.ancestor&&(S.ancestor=this.ancestor),this.map&&(S.map=[...this.map]);for(const y of["adjust","iterables","render"])null!=this[y]&&(S[y]=this[y]);return!1!==this.in&&(S.in=!0),{ref:S}}updateDisplay(){const S=null!==this.key?this.key:"";if("value"!==this.type)return void(this.display=`ref:${this.type}:${S}`);if(!this.separator)return void(this.display=`ref:${S}`);if(!this.ancestor)return void(this.display=`ref:${this.separator}${S}`);if("root"===this.ancestor)return void(this.display=`ref:root:${S}`);if(1===this.ancestor)return void(this.display=`ref:${S||".."}`);const y=new Array(this.ancestor+1).fill(this.separator).join("");this.display=`ref:${y}${S||""}`}},E.Ref.prototype[M.symbols.ref]=!0,i.build=function(S){return"value"===(S=Object.assign({},E.defaults,S)).type&&void 0===S.ancestor&&(S.ancestor=1),new E.Ref(S)},E.context=function(S,y,f={}){if(S=S.trim(),f){const C=void 0===f.global?"$":f.global;if(C!==y&&S.startsWith(C))return{key:S.slice(C.length),type:"global"};const _=void 0===f.local?"#":f.local;if(_!==y&&S.startsWith(_))return{key:S.slice(_.length),type:"local"};const w=void 0===f.root?"/":f.root;if(w!==y&&S.startsWith(w))return{key:S.slice(w.length),type:"value",root:!0}}return{key:S,type:"value"}},E.ancestor=function(S,y){if(!y)return[1,0];if(S[0]!==y)return[1,0];if(S[1]!==y)return[0,1];let f=2;for(;S[f]===y;)++f;return[f-1,f]},i.toSibling=0,i.toParent=1,i.Manager=class{constructor(){this.refs=[]}register(S,y){if(S)if(y=void 0===y?i.toParent:y,Array.isArray(S))for(const f of S)this.register(f,y);else if(M.isSchema(S))for(const f of S._refs.refs)f.ancestor-y>=0&&this.refs.push({ancestor:f.ancestor-y,root:f.root});else i.isRef(S)&&"value"===S.type&&S.ancestor-y>=0&&this.refs.push({ancestor:S.ancestor-y,root:S.root}),p=p||e(3328),p.isTemplate(S)&&this.register(S.refs(),y)}get length(){return this.refs.length}clone(){const S=new i.Manager;return S.refs=h(this.refs),S}reset(){this.refs=[]}roots(){return this.refs.filter(S=>!S.ancestor).map(S=>S.root)}}},3378:(c,i,e)=>{"use strict";const o=e(5107),h={};h.wrap=o.string().min(1).max(2).allow(!1),i.preferences=o.object({allowUnknown:o.boolean(),abortEarly:o.boolean(),artifacts:o.boolean(),cache:o.boolean(),context:o.object(),convert:o.boolean(),dateFormat:o.valid("date","iso","string","time","utc"),debug:o.boolean(),errors:{escapeHtml:o.boolean(),label:o.valid("path","key",!1),language:[o.string(),o.object().ref()],render:o.boolean(),stack:o.boolean(),wrap:{label:h.wrap,array:h.wrap,string:h.wrap}},externals:o.boolean(),messages:o.object(),noDefaults:o.boolean(),nonEnumerables:o.boolean(),presence:o.valid("required","optional","forbidden"),skipFunctions:o.boolean(),stripUnknown:o.object({arrays:o.boolean(),objects:o.boolean()}).or("arrays","objects").allow(!0,!1),warnings:o.boolean()}).strict(),h.nameRx=/^[a-zA-Z0-9]\w*$/,h.rule=o.object({alias:o.array().items(o.string().pattern(h.nameRx)).single(),args:o.array().items(o.string(),o.object({name:o.string().pattern(h.nameRx).required(),ref:o.boolean(),assert:o.alternatives([o.function(),o.object().schema()]).conditional("ref",{is:!0,then:o.required()}),normalize:o.function(),message:o.string().when("assert",{is:o.function(),then:o.required()})})),convert:o.boolean(),manifest:o.boolean(),method:o.function().allow(!1),multi:o.boolean(),validate:o.function()}),i.extension=o.object({type:o.alternatives([o.string(),o.object().regex()]).required(),args:o.function(),cast:o.object().pattern(h.nameRx,o.object({from:o.function().maxArity(1).required(),to:o.function().minArity(1).maxArity(2).required()})),base:o.object().schema().when("type",{is:o.object().regex(),then:o.forbidden()}),coerce:[o.function().maxArity(3),o.object({method:o.function().maxArity(3).required(),from:o.array().items(o.string()).single()})],flags:o.object().pattern(h.nameRx,o.object({setter:o.string(),default:o.any()})),manifest:{build:o.function().arity(2)},messages:[o.object(),o.string()],modifiers:o.object().pattern(h.nameRx,o.function().minArity(1).maxArity(2)),overrides:o.object().pattern(h.nameRx,o.function()),prepare:o.function().maxArity(3),rebuild:o.function().arity(1),rules:o.object().pattern(h.nameRx,h.rule),terms:o.object().pattern(h.nameRx,o.object({init:o.array().allow(null).required(),manifest:o.object().pattern(/.+/,[o.valid("schema","single"),o.object({mapped:o.object({from:o.string().required(),to:o.string().required()}).required()})])})),validate:o.function().maxArity(3)}).strict(),i.extensions=o.array().items(o.object(),o.function().arity(1)).strict(),h.desc={buffer:o.object({buffer:o.string()}),func:o.object({function:o.function().required(),options:{literal:!0}}),override:o.object({override:!0}),ref:o.object({ref:o.object({type:o.valid("value","global","local"),path:o.array().required(),separator:o.string().length(1).allow(!1),ancestor:o.number().min(0).integer().allow("root"),map:o.array().items(o.array().length(2)).min(1),adjust:o.function(),iterables:o.boolean(),in:o.boolean(),render:o.boolean()}).required()}),regex:o.object({regex:o.string().min(3)}),special:o.object({special:o.valid("deep").required()}),template:o.object({template:o.string().required(),options:o.object()}),value:o.object({value:o.alternatives([o.object(),o.array()]).required()})},h.desc.entity=o.alternatives([o.array().items(o.link("...")),o.boolean(),o.function(),o.number(),o.string(),h.desc.buffer,h.desc.func,h.desc.ref,h.desc.regex,h.desc.special,h.desc.template,h.desc.value,o.link("/")]),h.desc.values=o.array().items(null,o.boolean(),o.function(),o.number().allow(1/0,-1/0),o.string().allow(""),o.symbol(),h.desc.buffer,h.desc.func,h.desc.override,h.desc.ref,h.desc.regex,h.desc.template,h.desc.value),h.desc.messages=o.object().pattern(/.+/,[o.string(),h.desc.template,o.object().pattern(/.+/,[o.string(),h.desc.template])]),i.description=o.object({type:o.string().required(),flags:o.object({cast:o.string(),default:o.any(),description:o.string(),empty:o.link("/"),failover:h.desc.entity,id:o.string(),label:o.string(),only:!0,presence:["optional","required","forbidden"],result:["raw","strip"],strip:o.boolean(),unit:o.string()}).unknown(),preferences:{allowUnknown:o.boolean(),abortEarly:o.boolean(),artifacts:o.boolean(),cache:o.boolean(),convert:o.boolean(),dateFormat:["date","iso","string","time","utc"],errors:{escapeHtml:o.boolean(),label:["path","key"],language:[o.string(),h.desc.ref],wrap:{label:h.wrap,array:h.wrap}},externals:o.boolean(),messages:h.desc.messages,noDefaults:o.boolean(),nonEnumerables:o.boolean(),presence:["required","optional","forbidden"],skipFunctions:o.boolean(),stripUnknown:o.object({arrays:o.boolean(),objects:o.boolean()}).or("arrays","objects").allow(!0,!1),warnings:o.boolean()},allow:h.desc.values,invalid:h.desc.values,rules:o.array().min(1).items({name:o.string().required(),args:o.object().min(1),keep:o.boolean(),message:[o.string(),h.desc.messages],warn:o.boolean()}),keys:o.object().pattern(/.*/,o.link("/")),link:h.desc.ref}).pattern(/^[a-z]\w*$/,o.any())},493:(c,i,e)=>{"use strict";const o=e(8571),h=e(9621),v=e(8160),M={value:Symbol("value")};c.exports=M.State=class{constructor(p,E,S){this.path=p,this.ancestors=E,this.mainstay=S.mainstay,this.schemas=S.schemas,this.debug=null}localize(p,E=null,S=null){const y=new M.State(p,E,this);return S&&y.schemas&&(y.schemas=[M.schemas(S),...y.schemas]),y}nest(p,E){const S=new M.State(this.path,this.ancestors,this);return S.schemas=S.schemas&&[M.schemas(p),...S.schemas],S.debug=E,S}shadow(p,E){this.mainstay.shadow=this.mainstay.shadow||new M.Shadow,this.mainstay.shadow.set(this.path,p,E)}snapshot(){this.mainstay.shadow&&(this._snapshot=o(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()}},M.schemas=function(p){return v.isSchema(p)?{schema:p}:p},M.Shadow=class{constructor(){this._values=null}set(p,E,S){if(!p.length||"strip"===S&&"number"==typeof p[p.length-1])return;this._values=this._values||new Map;let y=this._values;for(let f=0;f{"use strict";const o=e(375),h=e(8571),v=e(5277),M=e(1447),p=e(8160),E=e(6354),S=e(6133),y={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}};c.exports=y.Template=class{constructor(f,C){if(o("string"==typeof f,"Template source must be a string"),o(!f.includes("\0")&&!f.includes("\x01"),"Template source cannot contain reserved control characters"),this.source=f,this.rendered=f,this._template=null,C){const{functions:_,...w}=C;this._settings=Object.keys(w).length?h(w):void 0,this._functions=_,this._functions&&(o(Object.keys(this._functions).every(D=>"string"==typeof D),"Functions keys must be strings"),o(Object.values(this._functions).every(D=>"function"==typeof D),"Functions values must be functions"))}else this._settings=void 0,this._functions=void 0;this._parse()}_parse(){if(!this.source.includes("{"))return;const f=y.encode(this.source),C=y.split(f);let _=!1;const w=[],D=C.shift();D&&w.push(D);for(const L of C){const N="{"!==L[0],V=N?"}":"}}",G=L.indexOf(V);if(-1===G||"{"===L[1]){w.push(`{${y.decode(L)}`);continue}let R=L.slice(N?0:1,G);const k=":"===R[0];k&&(R=R.slice(1));const A=this._ref(y.decode(R),{raw:N,wrapped:k});w.push(A),"string"!=typeof A&&(_=!0);const H=L.slice(G+V.length);H&&w.push(y.decode(H))}_?this._template=w:this.rendered=w.join("")}static date(f,C){return y.dateFormat[C.dateFormat].call(f)}describe(f={}){if(!this._settings&&f.compact)return this.source;const C={template:this.source};return this._settings&&(C.options=this._settings),this._functions&&(C.functions=this._functions),C}static build(f){return new y.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 C of this._template)"string"!=typeof C&&f.push(...C.refs);return f}resolve(f,C,_,w){return this._template&&1===this._template.length?this._part(this._template[0],f,C,_,w,{}):this.render(f,C,_,w)}_part(f,...C){return f.ref?f.ref.resolve(...C):f.formula.evaluate(C)}render(f,C,_,w,D={}){if(!this.isDynamic())return this.rendered;const L=[];for(const N of this._template)if("string"==typeof N)L.push(N);else{const V=this._part(N,f,C,_,w,D),G=y.stringify(V,f,C,_,w,D);if(void 0!==G){const R=N.raw||!1===(D.errors&&D.errors.escapeHtml)?G:v(G);L.push(y.wrap(R,N.wrapped&&_.errors.wrap.label))}}return L.join("")}_ref(f,{raw:C,wrapped:_}){const w=[],D=N=>{const V=S.create(N,this._settings);return w.push(V),G=>{const R=V.resolve(...G);return void 0!==R?R:null}};try{const N=this._functions?{...y.functions,...this._functions}:y.functions;var L=new M.Parser(f,{reference:D,functions:N,constants:y.constants})}catch(N){throw N.message=`Invalid template variable "${f}" fails due to: ${N.message}`,N}if(L.single){if("reference"===L.single.type){const N=w[0];return{ref:N,raw:C,refs:w,wrapped:_||"local"===N.type&&"label"===N.key}}return y.stringify(L.single.value)}return{formula:L,raw:C,refs:w}}toString(){return this.source}},y.Template.prototype[p.symbols.template]=!0,y.Template.prototype.isImmutable=!0,y.encode=function(f){return f.replace(/\\(\{+)/g,(C,_)=>y.opens.slice(0,_.length)).replace(/\\(\}+)/g,(C,_)=>y.closes.slice(0,_.length))},y.decode=function(f){return f.replace(/\u0000/g,"{").replace(/\u0001/g,"}")},y.split=function(f){const C=[];let _="";for(let w=0;w ${H.toString()}`);f=k}if(!Array.isArray(f))return f.toString();const R=[];for(const k of f)R.push(y.stringify(k,C,_,w,D,{arrayItems:!0,...L}));return y.wrap(R.join(", "),!G&&V.array)},y.constants={true:!0,false:!1,null:null,second:1e3,minute:6e4,hour:36e5,day:864e5},y.functions={if:(f,C,_)=>f?C:_,length:f=>"string"==typeof f?f.length:f&&"object"==typeof f?Array.isArray(f)?f.length:Object.keys(f).length:null,msg(f){const[C,_,w,D,L]=this,N=L.messages;if(!N)return"";const V=E.template(C,N[0],f,_,w)||E.template(C,N[1],f,_,w);return V?V.render(C,_,w,D,L):""},number:f=>"number"==typeof f?f:"string"==typeof f?parseFloat(f):"boolean"==typeof f?f?1:0:f instanceof Date?f.getTime():null}},4946:(c,i,e)=>{"use strict";const o=e(375),h=e(1687),v=e(8068),M=e(8160),p=e(3292),E=e(6354),S=e(6133),y={};c.exports=v.extend({type:"alternatives",flags:{match:{default:"any"}},terms:{matches:{init:[],register:S.toSibling}},args:(f,...C)=>1===C.length&&Array.isArray(C[0])?f.try(...C[0]):f.try(...C),validate(f,C){const{schema:_,error:w,state:D,prefs:L}=C;if(_._flags.match){const V=[],G=[];for(let k=0;k<_.$_terms.matches.length;++k){const A=_.$_terms.matches[k],H=D.nest(A.schema,`match.${k}`);H.snapshot();const K=A.schema.$_validate(f,H,L);K.errors?(G.push(K.errors),H.restore()):(V.push(K.value),H.commit())}if(0===V.length)return{errors:w("alternatives.any",{details:G.map(k=>E.details(k,{override:!1}))})};if("one"===_._flags.match)return 1===V.length?{value:V[0]}:{errors:w("alternatives.one")};if(V.length!==_.$_terms.matches.length)return{errors:w("alternatives.all",{details:G.map(k=>E.details(k,{override:!1}))})};const R=k=>k.$_terms.matches.some(A=>"object"===A.schema.type||"alternatives"===A.schema.type&&R(A.schema));return R(_)?{value:V.reduce((k,A)=>h(k,A,{mergeArrays:!1}))}:{value:V[V.length-1]}}const N=[];for(let V=0;V<_.$_terms.matches.length;++V){const G=_.$_terms.matches[V];if(G.schema){const A=D.nest(G.schema,`match.${V}`);A.snapshot();const H=G.schema.$_validate(f,A,L);if(!H.errors)return A.commit(),H;A.restore(),N.push({schema:G.schema,reports:H.errors});continue}const R=G.ref?G.ref.resolve(f,D,L):f,k=G.is?[G]:G.switch;for(let A=0;A"is"!==_.path[0]&&"string"!=typeof C._flags.label?C.label(f):void 0,ref:!1})}},rebuild(f){f.$_modify({each:C=>{M.isSchema(C)&&"array"===C.type&&f.$_setFlag("_arrayItems",!0,{clone:!1})}})},manifest:{build(f,C){if(C.matches)for(const _ of C.matches){const{schema:w,ref:D,is:L,not:N,then:V,otherwise:G}=_;f=w?f.try(w):D?f.conditional(D,{is:L,then:V,not:N,otherwise:G,switch:_.switch}):f.conditional(L,{then:V,otherwise:G})}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}}"}}),y.errors=function(f,{error:C,state:_}){if(!f.length)return{errors:C("alternatives.any")};if(1===f.length)return{errors:f[0].reports};const w=new Set,D=[];for(const{reports:L,schema:N}of f){if(L.length>1)return y.unmatched(f,C);const V=L[0];if(V instanceof E.Report==0)return y.unmatched(f,C);if(V.state.path.length!==_.path.length){D.push({type:N.type,report:V});continue}if("any.only"===V.code){for(const k of V.local.valids)w.add(k);continue}const[G,R]=V.code.split(".");"base"===R?w.add(G):D.push({type:N.type,report:V})}return D.length?1===D.length?{errors:D[0].report}:y.unmatched(f,C):{errors:C("alternatives.types",{types:[...w]})}},y.unmatched=function(f,C){const _=[];for(const w of f)_.push(...w.reports);return{errors:C("alternatives.match",E.details(_,{override:!1}))}}},8068:(c,i,e)=>{"use strict";const o=e(375),h=e(7629),v=e(8160),M=e(6914);c.exports=h.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,E){return o("function"==typeof p,"Method must be a function"),o(void 0===E||E&&"string"==typeof E,"Description must be a non-empty string"),this.$_addRule({name:"custom",args:{method:p,description:E}})},validate(p,E,{method:S}){try{return S(p,E)}catch(y){return E.error("any.custom",{error:y})}},args:["method","description"],multi:!0},messages:{method(p){return this.prefs({messages:p})}},shared:{method(p){o(v.isSchema(p)&&p._flags.id,"Schema must be a schema with an id");const E=this.clone();return E.$_terms.shared=E.$_terms.shared||[],E.$_terms.shared.push(p),E.$_mutateRegister(p),E}},warning:{method(p,E){return o(p&&"string"==typeof p,"Invalid warning code"),this.$_addRule({name:"warning",args:{code:p,local:E},warn:!0})},validate:(p,E,{code:S,local:y})=>E.error(S,y),args:["code","local"],multi:!0}},modifiers:{keep(p,E=!0){p.keep=E},message(p,E){p.message=M.compile(E)},warn(p,E=!0){p.warn=E}},manifest:{build(p,E){for(const S in E){const y=E[S];if(["examples","externals","metas","notes","tags"].includes(S))for(const f of y)p=p[S.slice(0,-1)](f);else if("alterations"!==S)if("whens"!==S){if("shared"===S)for(const f of y)p=p.shared(f)}else for(const f of y){const{ref:C,is:_,not:w,then:D,otherwise:L,concat:N}=f;p=N?p.concat(N):C?p.when(C,{is:_,not:w,then:D,otherwise:L,switch:f.switch,break:f.break}):p.when(_,{then:D,otherwise:L,break:f.break})}else{const f={};for(const{target:C,adjuster:_}of y)f[C]=_;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:(c,i,e)=>{"use strict";const o=e(375),h=e(9474),v=e(9621),M=e(8068),p=e(8160),E=e(3292),S={};c.exports=M.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(y,{schema:f,state:C,prefs:_}){if(!Array.isArray(y))return;const w=f.$_getRule("sort");return w?S.sort(f,y,w.args.options,C,_):void 0}},validate(y,{schema:f,error:C}){if(!Array.isArray(y)){if(f._flags.single){const _=[y];return _[p.symbols.arraySingle]=!0,{value:_}}return{errors:C("array.base")}}if(f.$_getRule("items")||f.$_terms.externals)return{value:y.slice()}},rules:{has:{method(y){y=this.$_compile(y,{appendPath:!0});const f=this.$_addRule({name:"has",args:{schema:y}});return f.$_mutateRegister(y),f},validate(y,{state:f,prefs:C,error:_},{schema:w}){const D=[y,...f.ancestors];for(let N=0;Nthis.$_compile(y[C]),C,{append:!0});f.$_terms.items.push(_)}return f.$_mutateRebuild()},validate(y,{schema:f,error:C,state:_,prefs:w,errorsArray:D}){const L=f.$_terms._requireds.slice(),N=f.$_terms.ordered.slice(),V=[...f.$_terms._inclusions,...L],G=!y[p.symbols.arraySingle];delete y[p.symbols.arraySingle];const R=D();let k=y.length;for(let A=0;A="})}},ordered:{method(...y){p.verifyFlat(y,"ordered");const f=this.$_addRule("items");for(let C=0;Cthis.$_compile(y[C]),C,{append:!0});S.validateSingle(_,f),f.$_mutateRegister(_),f.$_terms.ordered.push(_)}return f.$_mutateRebuild()}},single:{method(y){const f=void 0===y||!!y;return o(!f||!this._flags._arrayItems,"Cannot specify single rule when array has array items"),this.$_setFlag("single",f)}},sort:{method(y={}){p.assertOptions(y,["by","order"]);const f={order:y.order||"ascending"};return y.by&&(f.by=E.ref(y.by,{ancestor:0}),o(!f.by.ancestor,"Cannot sort by ancestor")),this.$_addRule({name:"sort",args:{options:f}})},validate(y,{error:f,state:C,prefs:_,schema:w},{options:D}){const{value:L,errors:N}=S.sort(w,y,D,C,_);if(N)return N;for(let V=0;Vnew Set(y)}},rebuild(y){y.$_terms._inclusions=[],y.$_terms._exclusions=[],y.$_terms._requireds=[];for(const f of y.$_terms.items)S.validateSingle(f,y),"required"===f._flags.presence?y.$_terms._requireds.push(f):"forbidden"===f._flags.presence?y.$_terms._exclusions.push(f):y.$_terms._inclusions.push(f);for(const f of y.$_terms.ordered)S.validateSingle(f,y)},manifest:{build:(y,f)=>(f.items&&(y=y.items(...f.items)),f.ordered&&(y=y.ordered(...f.ordered)),y)},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"}}),S.fillMissedErrors=function(y,f,C,_,w,D){const L=[];let N=0;for(const V of C){const G=V._flags.label;G?L.push(G):++N}f.push(L.length?N?y.$_createError("array.includesRequiredBoth",_,{knownMisses:L,unknownMisses:N},w,D):y.$_createError("array.includesRequiredKnowns",_,{knownMisses:L},w,D):y.$_createError("array.includesRequiredUnknowns",_,{unknownMisses:N},w,D))},S.fillOrderedErrors=function(y,f,C,_,w,D){const L=[];for(const N of C)"required"===N._flags.presence&&L.push(N);L.length&&S.fillMissedErrors(y,f,L,_,w,D)},S.fillDefault=function(y,f,C,_){const w=[];let D=!0;for(let L=y.length-1;L>=0;--L){const N=y[L],V=[f,...C.ancestors],G=N.$_validate(void 0,C.localize(C.path,V,N),_).value;if(D){if(void 0===G)continue;D=!1}w.unshift(G)}w.length&&f.push(...w)},S.fastSplice=function(y,f){let C=f;for(;C{let k=S.compare(G,R,L,N);if(null!==k||(C.by&&(G=C.by.resolve(G,_,w),R=C.by.resolve(R,_,w)),k=S.compare(G,R,L,N),null!==k))return k;const A=typeof G;if(A!==typeof R)throw y.$_createError("array.sort.mismatching",f,null,_,w);if("number"!==A&&"string"!==A)throw y.$_createError("array.sort.unsupported",f,{type:A},_,w);return"number"===A?(G-R)*D:G{"use strict";const o=e(375),h=e(8068),v=e(8160),M=e(2036),p={isBool:function(E){return"boolean"==typeof E}};c.exports=h.extend({type:"boolean",flags:{sensitive:{default:!1}},terms:{falsy:{init:null,manifest:"values"},truthy:{init:null,manifest:"values"}},coerce(E,{schema:S}){if("boolean"!=typeof E){if("string"==typeof E){const y=S._flags.sensitive?E:E.toLowerCase();E="true"===y||"false"!==y&&E}return"boolean"!=typeof E&&(E=S.$_terms.truthy&&S.$_terms.truthy.has(E,null,null,!S._flags.sensitive)||(!S.$_terms.falsy||!S.$_terms.falsy.has(E,null,null,!S._flags.sensitive))&&E),{value:E}}},validate(E,{error:S}){if("boolean"!=typeof E)return{value:E,errors:S("boolean.base")}},rules:{truthy:{method(...E){v.verifyFlat(E,"truthy");const S=this.clone();S.$_terms.truthy=S.$_terms.truthy||new M;for(let y=0;yE?1:0},string:{from:p.isBool,to:(E,S)=>E?"true":"false"}},manifest:{build:(E,S)=>(S.truthy&&(E=E.truthy(...S.truthy)),S.falsy&&(E=E.falsy(...S.falsy)),E)},messages:{"boolean.base":"{{#label}} must be a boolean"}})},7500:(c,i,e)=>{"use strict";const o=e(375),h=e(8068),v=e(8160),M=e(3328),p={isDate:function(E){return E instanceof Date}};c.exports=h.extend({type:"date",coerce:{from:["number","string"],method:(E,{schema:S})=>({value:p.parse(E,S._flags.format)||E})},validate(E,{schema:S,error:y,prefs:f}){if(E instanceof Date&&!isNaN(E.getTime()))return;const C=S._flags.format;return f.convert&&C&&"string"==typeof E?{value:E,errors:y("date.format",{format:C})}:{value:E,errors:y("date.base")}},rules:{compare:{method:!1,validate(E,S,{date:y},{name:f,operator:C,args:_}){const w="now"===y?Date.now():y.getTime();return v.compare(E.getTime(),w,C)?E:S.error("date."+f,{limit:_.date,value:E})},args:[{name:"date",ref:!0,normalize:E=>"now"===E?E:p.parse(E),assert:E=>null!==E,message:"must have a valid date format"}]},format:{method(E){return o(["iso","javascript","unix"].includes(E),"Unknown date format",E),this.$_setFlag("format",E)}},greater:{method(E){return this.$_addRule({name:"greater",method:"compare",args:{date:E},operator:">"})}},iso:{method(){return this.format("iso")}},less:{method(E){return this.$_addRule({name:"less",method:"compare",args:{date:E},operator:"<"})}},max:{method(E){return this.$_addRule({name:"max",method:"compare",args:{date:E},operator:"<="})}},min:{method(E){return this.$_addRule({name:"min",method:"compare",args:{date:E},operator:">="})}},timestamp:{method(E="javascript"){return o(["javascript","unix"].includes(E),'"type" must be one of "javascript, unix"'),this.format(E)}}},cast:{number:{from:p.isDate,to:(E,S)=>E.getTime()},string:{from:p.isDate,to:(E,{prefs:S})=>M.date(E,S)}},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(E,S){if(E instanceof Date)return E;if("string"!=typeof E&&(isNaN(E)||!isFinite(E))||/^\s*$/.test(E))return null;if("iso"===S)return v.isIsoDate(E)?p.date(E.toString()):null;const y=E;if("string"==typeof E&&/^[+-]?\d+(\.\d+)?$/.test(E)&&(E=parseFloat(E)),S){if("javascript"===S)return p.date(1*E);if("unix"===S)return p.date(1e3*E);if("string"==typeof y)return null}return p.date(E)},p.date=function(E){const S=new Date(E);return isNaN(S.getTime())?null:S}},390:(c,i,e)=>{"use strict";const o=e(375),h=e(7824);c.exports=h.extend({type:"function",properties:{typeof:"function"},rules:{arity:{method(v){return o(Number.isSafeInteger(v)&&v>=0,"n must be a positive integer"),this.$_addRule({name:"arity",args:{n:v}})},validate:(v,M,{n:p})=>v.length===p?v:M.error("function.arity",{n:p})},class:{method(){return this.$_addRule("class")},validate:(v,M)=>/^\s*class\s/.test(v.toString())?v:M.error("function.class",{value:v})},minArity:{method(v){return o(Number.isSafeInteger(v)&&v>0,"n must be a strict positive integer"),this.$_addRule({name:"minArity",args:{n:v}})},validate:(v,M,{n:p})=>v.length>=p?v:M.error("function.minArity",{n:p})},maxArity:{method(v){return o(Number.isSafeInteger(v)&&v>=0,"n must be a positive integer"),this.$_addRule({name:"maxArity",args:{n:v}})},validate:(v,M,{n:p})=>v.length<=p?v:M.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:(c,i,e)=>{"use strict";const o=e(978),h=e(375),v=e(8571),M=e(3652),p=e(8068),E=e(8160),S=e(3292),y=e(6354),f=e(6133),C=e(3328),_={renameDefaults:{alias:!1,multiple:!1,override:!1}};c.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:(w,D)=>w.keys(D),validate(w,{schema:D,error:L,state:N,prefs:V}){if(!w||typeof w!==D.$_property("typeof")||Array.isArray(w))return{value:w,errors:L("object.base",{type:D.$_property("typeof")})};if(!(D.$_terms.renames||D.$_terms.dependencies||D.$_terms.keys||D.$_terms.patterns||D.$_terms.externals))return;w=_.clone(w,V);const G=[];if(D.$_terms.renames&&!_.rename(D,w,N,V,G))return{value:w,errors:G};if(!D.$_terms.keys&&!D.$_terms.patterns&&!D.$_terms.dependencies)return{value:w,errors:G};const R=new Set(Object.keys(w));if(D.$_terms.keys){const k=[w,...N.ancestors];for(const A of D.$_terms.keys){const H=A.key,K=w[H];R.delete(H);const ie=N.localize([...N.path,H],k,A),X=A.schema.$_validate(K,ie,V);if(X.errors){if(V.abortEarly)return{value:w,errors:X.errors};void 0!==X.value&&(w[H]=X.value),G.push(...X.errors)}else"strip"===A.schema._flags.result||void 0===X.value&&void 0!==K?delete w[H]:void 0!==X.value&&(w[H]=X.value)}}if(R.size||D._flags._hasPatternMatch){const k=_.unknown(D,w,R,G,N,V);if(k)return k}if(D.$_terms.dependencies)for(const k of D.$_terms.dependencies){if(null!==k.key&&!1===_.isPresent(k.options)(k.key.resolve(w,N,V,null,{shadow:!1})))continue;const A=_.dependencies[k.rel](D,k,w,N,V);if(A){const H=D.$_createError(A.code,w,A.context,N,V);if(V.abortEarly)return{value:w,errors:H};G.push(H)}}return{value:w,errors:G}},rules:{and:{method(...w){return E.verifyFlat(w,"and"),_.dependency(this,"and",null,w)}},append:{method(w){return null==w||0===Object.keys(w).length?this:this.keys(w)}},assert:{method(w,D,L){C.isTemplate(w)||(w=S.ref(w)),h(void 0===L||"string"==typeof L,"Message must be a string"),D=this.$_compile(D,{appendPath:!0});const N=this.$_addRule({name:"assert",args:{subject:w,schema:D,message:L}});return N.$_mutateRegister(w),N.$_mutateRegister(D),N},validate(w,{error:D,prefs:L,state:N},{subject:V,schema:G,message:R}){const k=V.resolve(w,N,L),A=f.isRef(V)?V.absolute(N):[];return G.$_match(k,N.localize(A,[w,...N.ancestors],G),L)?w:D("object.assert",{subject:V,message:R})},args:["subject","schema","message"],multi:!0},instance:{method(w,D){return h("function"==typeof w,"constructor must be a function"),this.$_addRule({name:"instance",args:{constructor:w,name:D=D||w.name}})},validate:(w,D,{constructor:L,name:N})=>w instanceof L?w:D.error("object.instance",{type:N,value:w}),args:["constructor","name"]},keys:{method(w){h(void 0===w||"object"==typeof w,"Object schema must be a valid object"),h(!E.isSchema(w),"Object schema cannot be a joi schema");const D=this.clone();if(w)if(Object.keys(w).length){D.$_terms.keys=D.$_terms.keys?D.$_terms.keys.filter(L=>!w.hasOwnProperty(L.key)):new _.Keys;for(const L in w)E.tryWithPath(()=>D.$_terms.keys.push({key:L,schema:this.$_compile(w[L])}),L)}else D.$_terms.keys=new _.Keys;else D.$_terms.keys=null;return D.$_mutateRebuild()}},length:{method(w){return this.$_addRule({name:"length",args:{limit:w},operator:"="})},validate:(w,D,{limit:L},{name:N,operator:V,args:G})=>E.compare(Object.keys(w).length,L,V)?w:D.error("object."+N,{limit:G.limit,value:w}),args:[{name:"limit",ref:!0,assert:E.limit,message:"must be a positive integer"}]},max:{method(w){return this.$_addRule({name:"max",method:"length",args:{limit:w},operator:"<="})}},min:{method(w){return this.$_addRule({name:"min",method:"length",args:{limit:w},operator:">="})}},nand:{method(...w){return E.verifyFlat(w,"nand"),_.dependency(this,"nand",null,w)}},or:{method(...w){return E.verifyFlat(w,"or"),_.dependency(this,"or",null,w)}},oxor:{method(...w){return _.dependency(this,"oxor",null,w)}},pattern:{method(w,D,L={}){const N=w instanceof RegExp;N||(w=this.$_compile(w,{appendPath:!0})),h(void 0!==D,"Invalid rule"),E.assertOptions(L,["fallthrough","matches"]),N&&h(!w.flags.includes("g")&&!w.flags.includes("y"),"pattern should not use global or sticky mode"),D=this.$_compile(D,{appendPath:!0});const V=this.clone();V.$_terms.patterns=V.$_terms.patterns||[];const G={[N?"regex":"schema"]:w,rule:D};return L.matches&&(G.matches=this.$_compile(L.matches),"array"!==G.matches.type&&(G.matches=G.matches.$_root.array().items(G.matches)),V.$_mutateRegister(G.matches),V.$_setFlag("_hasPatternMatch",!0,{clone:!1})),L.fallthrough&&(G.fallthrough=!0),V.$_terms.patterns.push(G),V.$_mutateRegister(D),V}},ref:{method(){return this.$_addRule("ref")},validate:(w,D)=>f.isRef(w)?w:D.error("object.refType",{value:w})},regex:{method(){return this.$_addRule("regex")},validate:(w,D)=>w instanceof RegExp?w:D.error("object.regex",{value:w})},rename:{method(w,D,L={}){h("string"==typeof w||w instanceof RegExp,"Rename missing the from argument"),h("string"==typeof D||D instanceof C,"Invalid rename to argument"),h(D!==w,"Cannot rename key to same name:",w),E.assertOptions(L,["alias","ignoreUndefined","override","multiple"]);const N=this.clone();N.$_terms.renames=N.$_terms.renames||[];for(const V of N.$_terms.renames)h(V.from!==w,"Cannot rename the same key multiple times");return D instanceof C&&N.$_mutateRegister(D),N.$_terms.renames.push({from:w,to:D,options:o(_.renameDefaults,L)}),N}},schema:{method(w="any"){return this.$_addRule({name:"schema",args:{type:w}})},validate:(w,D,{type:L})=>!E.isSchema(w)||"any"!==L&&w.type!==L?D.error("object.schema",{type:L}):w},unknown:{method(w){return this.$_setFlag("unknown",!1!==w)}},with:{method(w,D,L={}){return _.dependency(this,"with",w,D,L)}},without:{method(w,D,L={}){return _.dependency(this,"without",w,D,L)}},xor:{method(...w){return E.verifyFlat(w,"xor"),_.dependency(this,"xor",null,w)}}},overrides:{default(w,D){return void 0===w&&(w=E.symbols.deepDefault),this.$_parent("default",w,D)}},rebuild(w){if(w.$_terms.keys){const D=new M.Sorter;for(const L of w.$_terms.keys)E.tryWithPath(()=>D.add(L,{after:L.schema.$_rootReferences(),group:L.key}),L.key);w.$_terms.keys=new _.Keys(...D.nodes)}},manifest:{build(w,D){if(D.keys&&(w=w.keys(D.keys)),D.dependencies)for(const{rel:L,key:N=null,peers:V,options:G}of D.dependencies)w=_.dependency(w,L,N,V,G);if(D.patterns)for(const{regex:L,schema:N,rule:V,fallthrough:G,matches:R}of D.patterns)w=w.pattern(L||N,V,{fallthrough:G,matches:R});if(D.renames)for(const{from:L,to:N,options:V}of D.renames)w=w.rename(L,N,V);return w}},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}}"}}),_.clone=function(w,D){if("object"==typeof w){if(D.nonEnumerables)return v(w,{shallow:!0});const N=Object.create(Object.getPrototypeOf(w));return Object.assign(N,w),N}const L=function(...N){return w.apply(this,N)};return L.prototype=v(w.prototype),Object.defineProperty(L,"name",{value:w.name,writable:!1}),Object.defineProperty(L,"length",{value:w.length,writable:!1}),Object.assign(L,w),L},_.dependency=function(w,D,L,N,V){h(null===L||"string"==typeof L,D,"key must be a strings"),V||(V=N.length>1&&"object"==typeof N[N.length-1]?N.pop():{}),E.assertOptions(V,["separator","isPresent"]),N=[].concat(N);const G=E.default(V.separator,"."),R=[];for(const A of N)h("string"==typeof A,D,"peers must be strings"),R.push(S.ref(A,{separator:G,ancestor:0,prefix:!1}));null!==L&&(L=S.ref(L,{separator:G,ancestor:0,prefix:!1}));const k=w.clone();return k.$_terms.dependencies=k.$_terms.dependencies||[],k.$_terms.dependencies.push(new _.Dependency(D,L,R,N,V)),k},_.dependencies={and(w,D,L,N,V){const G=[],R=[],k=D.peers.length,A=_.isPresent(D.options);for(const H of D.peers)!1===A(H.resolve(L,N,V,null,{shadow:!1}))?G.push(H.key):R.push(H.key);if(G.length!==k&&R.length!==k)return{code:"object.and",context:{present:R,presentWithLabels:_.keysToLabels(w,R),missing:G,missingWithLabels:_.keysToLabels(w,G)}}},nand(w,D,L,N,V){const G=[],R=_.isPresent(D.options);for(const H of D.peers)R(H.resolve(L,N,V,null,{shadow:!1}))&&G.push(H.key);if(G.length!==D.peers.length)return;const k=D.paths[0],A=D.paths.slice(1);return{code:"object.nand",context:{main:k,mainWithLabel:_.keysToLabels(w,k),peers:A,peersWithLabels:_.keysToLabels(w,A)}}},or(w,D,L,N,V){const G=_.isPresent(D.options);for(const R of D.peers)if(G(R.resolve(L,N,V,null,{shadow:!1})))return;return{code:"object.missing",context:{peers:D.paths,peersWithLabels:_.keysToLabels(w,D.paths)}}},oxor(w,D,L,N,V){const G=[],R=_.isPresent(D.options);for(const A of D.peers)R(A.resolve(L,N,V,null,{shadow:!1}))&&G.push(A.key);if(!G.length||1===G.length)return;const k={peers:D.paths,peersWithLabels:_.keysToLabels(w,D.paths)};return k.present=G,k.presentWithLabels=_.keysToLabels(w,G),{code:"object.oxor",context:k}},with(w,D,L,N,V){const G=_.isPresent(D.options);for(const R of D.peers)if(!1===G(R.resolve(L,N,V,null,{shadow:!1})))return{code:"object.with",context:{main:D.key.key,mainWithLabel:_.keysToLabels(w,D.key.key),peer:R.key,peerWithLabel:_.keysToLabels(w,R.key)}}},without(w,D,L,N,V){const G=_.isPresent(D.options);for(const R of D.peers)if(G(R.resolve(L,N,V,null,{shadow:!1})))return{code:"object.without",context:{main:D.key.key,mainWithLabel:_.keysToLabels(w,D.key.key),peer:R.key,peerWithLabel:_.keysToLabels(w,R.key)}}},xor(w,D,L,N,V){const G=[],R=_.isPresent(D.options);for(const A of D.peers)R(A.resolve(L,N,V,null,{shadow:!1}))&&G.push(A.key);if(1===G.length)return;const k={peers:D.paths,peersWithLabels:_.keysToLabels(w,D.paths)};return 0===G.length?{code:"object.missing",context:k}:(k.present=G,k.presentWithLabels=_.keysToLabels(w,G),{code:"object.xor",context:k})}},_.keysToLabels=function(w,D){return Array.isArray(D)?D.map(L=>w.$_mapLabels(L)):w.$_mapLabels(D)},_.isPresent=function(w){return"function"==typeof w.isPresent?w.isPresent:D=>void 0!==D},_.rename=function(w,D,L,N,V){const G={};for(const R of w.$_terms.renames){const k=[],A="string"!=typeof R.from;if(A)for(const H in D){if(void 0===D[H]&&R.options.ignoreUndefined||H===R.to)continue;const K=R.from.exec(H);K&&k.push({from:H,to:R.to,match:K})}else!Object.prototype.hasOwnProperty.call(D,R.from)||void 0===D[R.from]&&R.options.ignoreUndefined||k.push(R);for(const H of k){const K=H.from;let ie=H.to;if(ie instanceof C&&(ie=ie.render(D,L,N,H.match)),K!==ie){if(!R.options.multiple&&G[ie]&&(V.push(w.$_createError("object.rename.multiple",D,{from:K,to:ie,pattern:A},L,N)),N.abortEarly)||Object.prototype.hasOwnProperty.call(D,ie)&&!R.options.override&&!G[ie]&&(V.push(w.$_createError("object.rename.override",D,{from:K,to:ie,pattern:A},L,N)),N.abortEarly))return!1;void 0===D[K]?delete D[ie]:D[ie]=D[K],G[ie]=!0,R.options.alias||delete D[K]}}}return!0},_.unknown=function(w,D,L,N,V,G){if(w.$_terms.patterns){let R=!1;const k=w.$_terms.patterns.map(H=>{if(H.matches)return R=!0,[]}),A=[D,...V.ancestors];for(const H of L){const K=D[H],ie=[...V.path,H];for(let X=0;X{"use strict";const o=e(375),h=e(8068),v=e(8160),M=e(3292),p=e(6354),E={};c.exports=h.extend({type:"link",properties:{schemaChain:!0},terms:{link:{init:null,manifest:"single",register:!1}},args:(S,y)=>S.ref(y),validate(S,{schema:y,state:f,prefs:C}){o(y.$_terms.link,"Uninitialized link schema");const _=E.generate(y,S,f,C);return _.$_validate(S,f.nest(_,`link:${y.$_terms.link[0].ref.display}:${_.type}`),C)},generate:(S,y,f,C)=>E.generate(S,y,f,C),rules:{ref:{method(S){o(!this.$_terms.link,"Cannot reinitialize schema"),S=M.ref(S),o("value"===S.type||"local"===S.type,"Invalid reference type:",S.type),o("local"===S.type||"root"===S.ancestor||S.ancestor>0,"Link cannot reference itself");const y=this.clone();return y.$_terms.link=[{ref:S}],y}},relative:{method(S=!0){return this.$_setFlag("relative",S)}}},overrides:{concat(S){o(this.$_terms.link,"Uninitialized link schema"),o(v.isSchema(S),"Invalid schema object"),o("link"!==S.type,"Cannot merge type link with another link");const y=this.clone();return y.$_terms.whens||(y.$_terms.whens=[]),y.$_terms.whens.push({concat:S}),y.$_mutateRebuild()}},manifest:{build:(S,y)=>(o(y.link,"Invalid link description missing link"),S.ref(y.link))}}),E.generate=function(S,y,f,C){let _=f.mainstay.links.get(S);if(_)return _._generate(y,f,C).schema;const w=S.$_terms.link[0].ref,{perspective:D,path:L}=E.perspective(w,f);E.assert(D,"which is outside of schema boundaries",w,S,f,C);try{_=L.length?D.$_reach(L):D}catch{E.assert(!1,"to non-existing schema",w,S,f,C)}return E.assert("link"!==_.type,"which is another link",w,S,f,C),S._flags.relative||f.mainstay.links.set(S,_),_._generate(y,f,C).schema},E.perspective=function(S,y){if("local"===S.type){for(const{schema:f,key:C}of y.schemas){if((f._flags.id||C)===S.path[0])return{perspective:f,path:S.path.slice(1)};if(f.$_terms.shared)for(const _ of f.$_terms.shared)if(_._flags.id===S.path[0])return{perspective:_,path:S.path.slice(1)}}return{perspective:null,path:null}}return"root"===S.ancestor?{perspective:y.schemas[y.schemas.length-1].schema,path:S.path}:{perspective:y.schemas[S.ancestor]&&y.schemas[S.ancestor].schema,path:S.path}},E.assert=function(S,y,f,C,_,w){S||o(!1,`"${p.label(C._flags,_,w)}" contains link reference "${f.display}" ${y}`)}},3832:(c,i,e)=>{"use strict";const o=e(375),h=e(8068),v=e(8160),M={numberRx:/^\s*[+-]?(?:(?:\d+(?:\.\d*)?)|(?:\.\d+))(?:e([+-]?\d+))?\s*$/i,precisionRx:/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/,exponentialPartRegex:/[eE][+-]?\d+$/,leadingSignAndZerosRegex:/^[+-]?(0*)?/,dotRegex:/\./,trailingZerosRegex:/0+$/,decimalPlaces(p){const E=p.toString(),S=E.indexOf("."),y=E.indexOf("e");return(S<0?0:(y<0?E.length:y)-S-1)+(y<0?0:Math.max(0,-parseInt(E.slice(y+1))))}};c.exports=h.extend({type:"number",flags:{unsafe:{default:!1}},coerce:{from:"string",method(p,{schema:E,error:S}){if(!p.match(M.numberRx))return;p=p.trim();const y={value:parseFloat(p)};if(0===y.value&&(y.value=0),!E._flags.unsafe)if(p.match(/e/i)){if(M.extractSignificantDigits(p)!==M.extractSignificantDigits(String(y.value)))return y.errors=S("number.unsafe"),y}else{const f=y.value.toString();if(f.match(/e/i))return y;if(f!==M.normalizeDecimal(p))return y.errors=S("number.unsafe"),y}return y}},validate(p,{schema:E,error:S,prefs:y}){if(p===1/0||p===-1/0)return{value:p,errors:S("number.infinity")};if(!v.isNumber(p))return{value:p,errors:S("number.base")};const f={value:p};if(y.convert){const C=E.$_getRule("precision");if(C){const _=Math.pow(10,C.args.limit);f.value=Math.round(f.value*_)/_}}return 0===f.value&&(f.value=0),!E._flags.unsafe&&(p>Number.MAX_SAFE_INTEGER||pv.compare(p,S,f)?p:E.error("number."+y,{limit:C.limit,value:p}),args:[{name:"limit",ref:!0,assert:v.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,E)=>Math.trunc(p)-p==0?p:E.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 E="number"==typeof p?M.decimalPlaces(p):null,S=Math.pow(10,E);return this.$_addRule({name:"multiple",args:{base:p,baseDecimalPlace:E,pfactor:S}})},validate:(p,E,{base:S,baseDecimalPlace:y,pfactor:f},C)=>M.decimalPlaces(p)>y?E.error("number.multiple",{multiple:C.args.base,value:p}):Math.round(f*p)%Math.round(f*S)==0?p:E.error("number.multiple",{multiple:C.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,E)=>Number.isSafeInteger(p)&&p>=0&&p<=65535?p:E.error("number.port")},positive:{method(){return this.sign("positive")}},precision:{method(p){return o(Number.isSafeInteger(p),"limit must be an integer"),this.$_addRule({name:"precision",args:{limit:p}})},validate(p,E,{limit:S}){const y=p.toString().match(M.precisionRx);return Math.max((y[1]?y[1].length:0)-(y[2]?parseInt(y[2],10):0),0)<=S?p:E.error("number.precision",{limit:S,value:p})},convert:!0},sign:{method(p){return o(["negative","positive"].includes(p),"Invalid sign",p),this.$_addRule({name:"sign",args:{sign:p}})},validate:(p,E,{sign:S})=>"negative"===S&&p<0||"positive"===S&&p>0?p:E.error(`number.${S}`)},unsafe:{method(p=!0){return o("boolean"==typeof p,"enabled must be a boolean"),this.$_setFlag("unsafe",p)}}},cast:{string:{from:p=>"number"==typeof p,to:(p,E)=>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"}}),M.extractSignificantDigits=function(p){return p.replace(M.exponentialPartRegex,"").replace(M.dotRegex,"").replace(M.trailingZerosRegex,"").replace(M.leadingSignAndZerosRegex,"")},M.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:(c,i,e)=>{"use strict";const o=e(7824);c.exports=o.extend({type:"object",cast:{map:{from:h=>h&&"object"==typeof h,to:(h,v)=>new Map(Object.entries(h))}}})},7417:(c,i,e)=>{"use strict";const o=e(375),h=e(5380),v=e(1745),M=e(9959),p=e(6064),E=e(9926),S=e(5752),y=e(8068),f=e(8160),C={tlds:E instanceof Set&&{tlds:{allow:E,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:M.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"]};c.exports=y.extend({type:"string",flags:{insensitive:{default:!1},truncate:{default:!1}},terms:{replacements:{init:null}},coerce:{from:"string",method(_,{schema:w,state:D,prefs:L}){const N=w.$_getRule("normalize");N&&(_=_.normalize(N.args.form));const V=w.$_getRule("case");V&&(_="upper"===V.args.direction?_.toLocaleUpperCase():_.toLocaleLowerCase());const G=w.$_getRule("trim");if(G&&G.args.enabled&&(_=_.trim()),w.$_terms.replacements)for(const k of w.$_terms.replacements)_=_.replace(k.pattern,k.replacement);const R=w.$_getRule("hex");if(R&&R.args.options.byteAligned&&_.length%2!=0&&(_=`0${_}`),w.$_getRule("isoDate")){const k=C.isoDate(_);k&&(_=k)}if(w._flags.truncate){const k=w.$_getRule("max");if(k){let A=k.args.limit;if(f.isResolvable(A)&&(A=A.resolve(_,D,L),!f.limit(A)))return{value:_,errors:w.$_createError("any.ref",A,{ref:k.args.limit,arg:"limit",reason:"must be a positive integer"},D,L)};_=_.slice(0,A)}}return{value:_}}},validate(_,{schema:w,error:D}){if("string"!=typeof _)return{value:_,errors:D("string.base")};if(""===_){const L=w.$_getRule("min");return L&&0===L.args.limit?void 0:{value:_,errors:D("string.empty")}}},rules:{alphanum:{method(){return this.$_addRule("alphanum")},validate:(_,w)=>/^[a-zA-Z0-9]+$/.test(_)?_:w.error("string.alphanum")},base64:{method(_={}){return f.assertOptions(_,["paddingRequired","urlSafe"]),_={urlSafe:!1,paddingRequired:!0,..._},o("boolean"==typeof _.paddingRequired,"paddingRequired must be boolean"),o("boolean"==typeof _.urlSafe,"urlSafe must be boolean"),this.$_addRule({name:"base64",args:{options:_}})},validate:(_,w,{options:D})=>C.base64Regex[D.paddingRequired][D.urlSafe].test(_)?_:w.error("string.base64")},case:{method(_){return o(["lower","upper"].includes(_),"Invalid case:",_),this.$_addRule({name:"case",args:{direction:_}})},validate:(_,w,{direction:D})=>"lower"===D&&_===_.toLocaleLowerCase()||"upper"===D&&_===_.toLocaleUpperCase()?_:w.error(`string.${D}case`),convert:!0},creditCard:{method(){return this.$_addRule("creditCard")},validate(_,w){let D=_.length,L=0,N=1;for(;D--;){const V=_.charAt(D)*N;L+=V-9*(V>9),N^=3}return L>0&&L%10==0?_:w.error("string.creditCard")}},dataUri:{method(_={}){return f.assertOptions(_,["paddingRequired"]),_={paddingRequired:!0,..._},o("boolean"==typeof _.paddingRequired,"paddingRequired must be boolean"),this.$_addRule({name:"dataUri",args:{options:_}})},validate(_,w,{options:D}){const L=_.match(C.dataUriRegex);return!L||L[2]&&"base64"===L[2]&&!C.base64Regex[D.paddingRequired].false.test(L[3])?w.error("string.dataUri"):_}},domain:{method(_){_&&f.assertOptions(_,["allowFullyQualified","allowUnicode","maxDomainSegments","minDomainSegments","tlds"]);const w=C.addressOptions(_);return this.$_addRule({name:"domain",args:{options:_},address:w})},validate:(_,w,D,{address:L})=>h.isValid(_,L)?_:w.error("string.domain")},email:{method(_={}){f.assertOptions(_,["allowFullyQualified","allowUnicode","ignoreLength","maxDomainSegments","minDomainSegments","multiple","separator","tlds"]),o(void 0===_.multiple||"boolean"==typeof _.multiple,"multiple option must be an boolean");const w=C.addressOptions(_),D=new RegExp(`\\s*[${_.separator?p(_.separator):","}]\\s*`);return this.$_addRule({name:"email",args:{options:_},regex:D,address:w})},validate(_,w,{options:D},{regex:L,address:N}){const V=D.multiple?_.split(L):[_],G=[];for(const R of V)v.isValid(R,N)||G.push(R);return G.length?w.error("string.email",{value:_,invalids:G}):_}},guid:{alias:"uuid",method(_={}){f.assertOptions(_,["version","separator"]);let w="";if(_.version){const N=[].concat(_.version);o(N.length>=1,"version must have at least 1 valid version specified");const V=new Set;for(let G=0;G("optional"===D.prefix?C.hexRegex.withOptionalPrefix:!0===D.prefix?C.hexRegex.withPrefix:C.hexRegex.withoutPrefix).test(_)?D.byteAligned&&_.length%2!=0?w.error("string.hexAlign"):_:w.error("string.hex")},hostname:{method(){return this.$_addRule("hostname")},validate:(_,w)=>h.isValid(_,{minDomainSegments:1})||C.ipRegex.test(_)?_:w.error("string.hostname")},insensitive:{method(){return this.$_setFlag("insensitive",!0)}},ip:{method(_={}){f.assertOptions(_,["cidr","version"]);const{cidr:w,versions:D,regex:L}=M.regex(_);return this.$_addRule({name:"ip",args:{options:{cidr:w,version:_.version?D:void 0}},regex:L})},validate:(_,w,{options:D},{regex:L})=>L.test(_)?_:D.version?w.error("string.ipVersion",{value:_,cidr:D.cidr,version:D.version}):w.error("string.ip",{value:_,cidr:D.cidr})},isoDate:{method(){return this.$_addRule("isoDate")},validate:(_,{error:w})=>C.isoDate(_)?_:w("string.isoDate")},isoDuration:{method(){return this.$_addRule("isoDuration")},validate:(_,w)=>C.isoDurationRegex.test(_)?_:w.error("string.isoDuration")},length:{method(_,w){return C.length(this,"length",_,"=",w)},validate:(_,w,{limit:D,encoding:L},{name:N,operator:V,args:G})=>f.compare(!L&&_.length,D,V)?_:w.error("string."+N,{limit:G.limit,value:_,encoding:L}),args:[{name:"limit",ref:!0,assert:f.limit,message:"must be a positive integer"},"encoding"]},lowercase:{method(){return this.case("lower")}},max:{method(_,w){return C.length(this,"max",_,"<=",w)},args:["limit","encoding"]},min:{method(_,w){return C.length(this,"min",_,">=",w)},args:["limit","encoding"]},normalize:{method(_="NFC"){return o(C.normalizationForms.includes(_),"normalization form must be one of "+C.normalizationForms.join(", ")),this.$_addRule({name:"normalize",args:{form:_}})},validate:(_,{error:w},{form:D})=>_===_.normalize(D)?_:w("string.normalize",{value:_,form:D}),convert:!0},pattern:{alias:"regex",method(_,w={}){o(_ instanceof RegExp,"regex must be a RegExp"),o(!_.flags.includes("g")&&!_.flags.includes("y"),"regex should not use global or sticky mode"),"string"==typeof w&&(w={name:w}),f.assertOptions(w,["invert","name"]);const D=["string.pattern",w.invert?".invert":"",w.name?".name":".base"].join("");return this.$_addRule({name:"pattern",args:{regex:_,options:w},errorCode:D})},validate:(_,w,{regex:D,options:L},{errorCode:N})=>D.test(_)^L.invert?_:w.error(N,{name:L.name,regex:D,value:_}),args:["regex","options"],multi:!0},replace:{method(_,w){"string"==typeof _&&(_=new RegExp(p(_),"g")),o(_ instanceof RegExp,"pattern must be a RegExp"),o("string"==typeof w,"replacement must be a String");const D=this.clone();return D.$_terms.replacements||(D.$_terms.replacements=[]),D.$_terms.replacements.push({pattern:_,replacement:w}),D}},token:{method(){return this.$_addRule("token")},validate:(_,w)=>/^\w+$/.test(_)?_:w.error("string.token")},trim:{method(_=!0){return o("boolean"==typeof _,"enabled must be a boolean"),this.$_addRule({name:"trim",args:{enabled:_}})},validate:(_,w,{enabled:D})=>D&&_!==_.trim()?w.error("string.trim"):_,convert:!0},truncate:{method(_=!0){return o("boolean"==typeof _,"enabled must be a boolean"),this.$_setFlag("truncate",_)}},uppercase:{method(){return this.case("upper")}},uri:{method(_={}){f.assertOptions(_,["allowRelative","allowQuerySquareBrackets","domain","relativeOnly","scheme"]),_.domain&&f.assertOptions(_.domain,["allowFullyQualified","allowUnicode","maxDomainSegments","minDomainSegments","tlds"]);const{regex:w,scheme:D}=S.regex(_),L=_.domain?C.addressOptions(_.domain):null;return this.$_addRule({name:"uri",args:{options:_},regex:w,domain:L,scheme:D})},validate(_,w,{options:D},{regex:L,domain:N,scheme:V}){if(["http:/","https:/"].includes(_))return w.error("string.uri");const G=L.exec(_);if(G){const R=G[1]||G[2];return!N||D.allowRelative&&!R||h.isValid(R,N)?_:w.error("string.domain",{value:R})}return D.relativeOnly?w.error("string.uriRelativeOnly"):D.scheme?w.error("string.uriCustomScheme",{scheme:V,value:_}):w.error("string.uri")}}},manifest:{build(_,w){if(w.replacements)for(const{pattern:D,replacement:L}of w.replacements)_=_.replace(D,L);return _}},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"}}),C.addressOptions=function(_){if(!_)return C.tlds||_;if(o(void 0===_.minDomainSegments||Number.isSafeInteger(_.minDomainSegments)&&_.minDomainSegments>0,"minDomainSegments must be a positive integer"),o(void 0===_.maxDomainSegments||Number.isSafeInteger(_.maxDomainSegments)&&_.maxDomainSegments>0,"maxDomainSegments must be a positive integer"),!1===_.tlds)return _;if(!0===_.tlds||void 0===_.tlds)return o(C.tlds,"Built-in TLD list disabled"),Object.assign({},_,C.tlds);o("object"==typeof _.tlds,"tlds must be true, false, or an object");const w=_.tlds.deny;if(w)return Array.isArray(w)&&(_=Object.assign({},_,{tlds:{deny:new Set(w)}})),o(_.tlds.deny instanceof Set,"tlds.deny must be an array, Set, or boolean"),o(!_.tlds.allow,"Cannot specify both tlds.allow and tlds.deny lists"),C.validateTlds(_.tlds.deny,"tlds.deny"),_;const D=_.tlds.allow;return D?!0===D?(o(C.tlds,"Built-in TLD list disabled"),Object.assign({},_,C.tlds)):(Array.isArray(D)&&(_=Object.assign({},_,{tlds:{allow:new Set(D)}})),o(_.tlds.allow instanceof Set,"tlds.allow must be an array, Set, or boolean"),C.validateTlds(_.tlds.allow,"tlds.allow"),_):_},C.validateTlds=function(_,w){for(const D of _)o(h.isValid(D,{minDomainSegments:1,maxDomainSegments:1}),`${w} must contain valid top level domain names`)},C.isoDate=function(_){if(!f.isIsoDate(_))return null;/.*T.*[+-]\d\d$/.test(_)&&(_+="00");const w=new Date(_);return isNaN(w.getTime())?null:w.toISOString()},C.length=function(_,w,D,L,N){return o(!N||!1,"Invalid encoding:",N),_.$_addRule({name:w,method:"length",args:{limit:D,encoding:N},operator:L})}},8826:(c,i,e)=>{"use strict";const o=e(375),h=e(8068),v={};v.Map=class extends Map{slice(){return new v.Map(this)}},c.exports=h.extend({type:"symbol",terms:{map:{init:new v.Map}},coerce:{method(M,{schema:p,error:E}){const S=p.$_terms.map.get(M);return S&&(M=S),p._flags.only&&"symbol"!=typeof M?{value:M,errors:E("symbol.map",{map:p.$_terms.map})}:{value:M}}},validate(M,{error:p}){if("symbol"!=typeof M)return{value:M,errors:p("symbol.base")}},rules:{map:{method(M){M&&!M[Symbol.iterator]&&"object"==typeof M&&(M=Object.entries(M)),o(M&&M[Symbol.iterator],"Iterable must be an iterable or object");const p=this.clone(),E=[];for(const S of M){o(S&&S[Symbol.iterator],"Entry must be an iterable");const[y,f]=S;o("object"!=typeof y&&"function"!=typeof y&&"symbol"!=typeof y,"Key must not be of type object, function, or Symbol"),o("symbol"==typeof f,"Value must be a Symbol"),p.$_terms.map.set(y,f),E.push(f)}return p.valid(...E)}}},manifest:{build:(M,p)=>(p.map&&(M=M.map(p.map)),M)},messages:{"symbol.base":"{{#label}} must be a symbol","symbol.map":"{{#label}} must be one of {{#map}}"}})},8863:(c,i,e)=>{"use strict";const o=e(375),h=e(8571),v=e(738),M=e(9621),p=e(8160),E=e(6354),S=e(493),y={result:Symbol("result")};i.entry=function(f,C,_){let w=p.defaults;_&&(o(void 0===_.warnings,"Cannot override warnings preference in synchronous validation"),o(void 0===_.artifacts,"Cannot override artifacts preference in synchronous validation"),w=p.preferences(p.defaults,_));const D=y.entry(f,C,w);o(!D.mainstay.externals.length,"Schema with external rules must use validateAsync()");const L={value:D.value};return D.error&&(L.error=D.error),D.mainstay.warnings.length&&(L.warning=E.details(D.mainstay.warnings)),D.mainstay.debug&&(L.debug=D.mainstay.debug),D.mainstay.artifacts&&(L.artifacts=D.mainstay.artifacts),L},i.entryAsync=function(){var f=n(function*(C,_,w){let D=p.defaults;w&&(D=p.preferences(p.defaults,w));const L=y.entry(C,_,D),N=L.mainstay;if(L.error)throw N.debug&&(L.error.debug=N.debug),L.error;if(N.externals.length){let G=L.value;const R=[];for(const k of N.externals){const A=k.state.path,H="link"===k.schema.type?N.links.get(k.schema):null;let K,ie,X=G;const be=A.length?[G]:[],ce=A.length?M(C,A):C;if(A.length){K=A[A.length-1];let ze=G;for(const ct of A.slice(0,-1))ze=ze[ct],be.unshift(ze);ie=be[0],X=ie[K]}try{const ze=(xe,Ie)=>(H||k.schema).$_createError(xe,X,Ie,k.state,D),ct=yield k.method(X,{schema:k.schema,linked:H,state:k.state,prefs:w,original:ce,error:ze,errorsArray:y.errorsArray,warn:(xe,Ie)=>N.warnings.push((H||k.schema).$_createError(xe,X,Ie,k.state,D)),message:(xe,Ie)=>(H||k.schema).$_createError("external",X,Ie,k.state,D,{messages:xe})});if(void 0===ct||ct===X)continue;if(ct instanceof E.Report){if(N.tracer.log(k.schema,k.state,"rule","external","error"),R.push(ct),D.abortEarly)break;continue}if(Array.isArray(ct)&&ct[p.symbols.errors]){if(N.tracer.log(k.schema,k.state,"rule","external","error"),R.push(...ct),D.abortEarly)break;continue}ie?(N.tracer.value(k.state,"rule",X,ct,"external"),ie[K]=ct):(N.tracer.value(k.state,"rule",G,ct,"external"),G=ct)}catch(ze){throw D.errors.label&&(ze.message+=` (${k.label})`),ze}}if(L.value=G,R.length)throw L.error=E.process(R,C,D),N.debug&&(L.error.debug=N.debug),L.error}if(!D.warnings&&!D.debug&&!D.artifacts)return L.value;const V={value:L.value};return N.warnings.length&&(V.warning=E.details(N.warnings)),N.debug&&(V.debug=N.debug),N.artifacts&&(V.artifacts=N.artifacts),V});return function(C,_,w){return f.apply(this,arguments)}}(),y.Mainstay=class{constructor(f,C,_){this.externals=[],this.warnings=[],this.tracer=f,this.debug=C,this.links=_,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()}},y.entry=function(f,C,_){const{tracer:w,cleanup:D}=y.tracer(C,_),V=new y.Mainstay(w,_.debug?[]:null,C._ids._schemaChain?new Map:null),R=new S([],[],{mainstay:V,schemas:C._ids._schemaChain?[{schema:C}]:null}),k=i.validate(f,C,R,_);D&&C.$_root.untrace();const A=E.process(k.errors,f,_);return{value:k.value,error:A,mainstay:V}},y.tracer=function(f,C){return f.$_root._tracer?{tracer:f.$_root._tracer._register(f)}:C.debug?(o(f.$_root.trace,"Debug mode not supported"),{tracer:f.$_root.trace()._register(f),cleanup:!0}):{tracer:y.ignore}},i.validate=function(f,C,_,w,D={}){if(C.$_terms.whens&&(C=C._generate(f,_,w).schema),C._preferences&&(w=y.prefs(C,w)),C._cache&&w.cache){const A=C._cache.get(f);if(_.mainstay.tracer.debug(_,"validate","cached",!!A),A)return A}const L=(A,H,K)=>C.$_createError(A,f,H,K||_,w),N={original:f,prefs:w,schema:C,state:_,error:L,errorsArray:y.errorsArray,warn:(A,H,K)=>_.mainstay.warnings.push(L(A,H,K)),message:(A,H)=>C.$_createError("custom",f,H,_,w,{messages:A})};_.mainstay.tracer.entry(C,_);const V=C._definition;if(V.prepare&&void 0!==f&&w.convert){const A=V.prepare(f,N);if(A){if(_.mainstay.tracer.value(_,"prepare",f,A.value),A.errors)return y.finalize(A.value,[].concat(A.errors),N);f=A.value}}if(V.coerce&&void 0!==f&&w.convert&&(!V.coerce.from||V.coerce.from.includes(typeof f))){const A=V.coerce.method(f,N);if(A){if(_.mainstay.tracer.value(_,"coerced",f,A.value),A.errors)return y.finalize(A.value,[].concat(A.errors),N);f=A.value}}const G=C._flags.empty;G&&G.$_match(y.trim(f,C),_.nest(G),p.defaults)&&(_.mainstay.tracer.value(_,"empty",f,void 0),f=void 0);const R=D.presence||C._flags.presence||(C._flags._endedSwitch?null:w.presence);if(void 0===f){if("forbidden"===R)return y.finalize(f,null,N);if("required"===R)return y.finalize(f,[C.$_createError("any.required",f,null,_,w)],N);if("optional"===R){if(C._flags.default!==p.symbols.deepDefault)return y.finalize(f,null,N);_.mainstay.tracer.value(_,"default",f,{}),f={}}}else if("forbidden"===R)return y.finalize(f,[C.$_createError("any.unknown",f,null,_,w)],N);const k=[];if(C._valids){const A=C._valids.get(f,_,w,C._flags.insensitive);if(A)return w.convert&&(_.mainstay.tracer.value(_,"valids",f,A.value),f=A.value),_.mainstay.tracer.filter(C,_,"valid",A),y.finalize(f,null,N);if(C._flags.only){const H=C.$_createError("any.only",f,{valids:C._valids.values({display:!0})},_,w);if(w.abortEarly)return y.finalize(f,[H],N);k.push(H)}}if(C._invalids){const A=C._invalids.get(f,_,w,C._flags.insensitive);if(A){_.mainstay.tracer.filter(C,_,"invalid",A);const H=C.$_createError("any.invalid",f,{invalids:C._invalids.values({display:!0})},_,w);if(w.abortEarly)return y.finalize(f,[H],N);k.push(H)}}if(V.validate){const A=V.validate(f,N);if(A&&(_.mainstay.tracer.value(_,"base",f,A.value),f=A.value,A.errors)){if(!Array.isArray(A.errors))return k.push(A.errors),y.finalize(f,k,N);if(A.errors.length)return k.push(...A.errors),y.finalize(f,k,N)}}return C._rules.length?y.rules(f,k,N):y.finalize(f,k,N)},y.rules=function(f,C,_){const{schema:w,state:D,prefs:L}=_;for(const N of w._rules){const V=w._definition.rules[N.method];if(V.convert&&L.convert){D.mainstay.tracer.log(w,D,"rule",N.name,"full");continue}let G,R=N.args;if(N._resolve.length){R=Object.assign({},R);for(const A of N._resolve){const H=V.argsByName.get(A),K=R[A].resolve(f,D,L),ie=H.normalize?H.normalize(K):K,X=p.validateArg(ie,null,H);if(X){G=w.$_createError("any.ref",K,{arg:A,ref:R[A],reason:X},D,L);break}R[A]=ie}}G=G||V.validate(f,_,R,N);const k=y.rule(G,N);if(k.errors){if(D.mainstay.tracer.log(w,D,"rule",N.name,"error"),N.warn){D.mainstay.warnings.push(...k.errors);continue}if(L.abortEarly)return y.finalize(f,k.errors,_);C.push(...k.errors)}else D.mainstay.tracer.log(w,D,"rule",N.name,"pass"),D.mainstay.tracer.value(D,"rule",f,k.value,N.name),f=k.value}return y.finalize(f,C,_)},y.rule=function(f,C){return f instanceof E.Report?(y.error(f,C),{errors:[f],value:null}):Array.isArray(f)&&f[p.symbols.errors]?(f.forEach(_=>y.error(_,C)),{errors:f,value:null}):{errors:null,value:f}},y.error=function(f,C){return C.message&&f._setTemplate(C.message),f},y.finalize=function(f,C,_){C=C||[];const{schema:w,state:D,prefs:L}=_;if(C.length){const V=y.default("failover",void 0,C,_);void 0!==V&&(D.mainstay.tracer.value(D,"failover",f,V),f=V,C=[])}if(C.length&&w._flags.error)if("function"==typeof w._flags.error){C=w._flags.error(C),Array.isArray(C)||(C=[C]);for(const V of C)o(V instanceof Error||V instanceof E.Report,"error() must return an Error object")}else C=[w._flags.error];if(void 0===f){const V=y.default("default",f,C,_);D.mainstay.tracer.value(D,"default",f,V),f=V}if(w._flags.cast&&void 0!==f){const V=w._definition.cast[w._flags.cast];if(V.from(f)){const G=V.to(f,_);D.mainstay.tracer.value(D,"cast",f,G,w._flags.cast),f=G}}if(w.$_terms.externals&&L.externals&&!1!==L._externals)for(const{method:V}of w.$_terms.externals)D.mainstay.externals.push({method:V,schema:w,state:D,label:E.label(w._flags,D,L)});const N={value:f,errors:C.length?C:null};return w._flags.result&&(N.value="strip"===w._flags.result?void 0:_.original,D.mainstay.tracer.value(D,w._flags.result,f,N.value),D.shadow(f,w._flags.result)),w._cache&&!1!==L.cache&&!w._refs.length&&w._cache.set(_.original,N),void 0===f||N.errors||void 0===w._flags.artifact||(D.mainstay.artifacts=D.mainstay.artifacts||new Map,D.mainstay.artifacts.has(w._flags.artifact)||D.mainstay.artifacts.set(w._flags.artifact,[]),D.mainstay.artifacts.get(w._flags.artifact).push(D.path)),N},y.prefs=function(f,C){const _=C===p.defaults;return _&&f._preferences[p.symbols.prefs]?f._preferences[p.symbols.prefs]:(C=p.preferences(C,f._preferences),_&&(f._preferences[p.symbols.prefs]=C),C)},y.default=function(f,C,_,w){const{schema:D,state:L,prefs:N}=w,V=D._flags[f];if(N.noDefaults||void 0===V)return C;if(L.mainstay.tracer.log(D,L,"rule",f,"full"),!V)return V;if("function"==typeof V){const G=V.length?[h(L.ancestors[0]),w]:[];try{return V(...G)}catch(R){return void _.push(D.$_createError(`any.${f}`,null,{error:R},L,N))}}return"object"!=typeof V?V:V[p.symbols.literal]?V.literal:p.isResolvable(V)?V.resolve(C,L,N):h(V)},y.trim=function(f,C){if("string"!=typeof f)return f;const _=C.$_getRule("trim");return _&&_.args.enabled?f.trim():f},y.ignore={active:!1,debug:v,entry:v,filter:v,log:v,resolve:v,value:v},y.errorsArray=function(){const f=[];return f[p.symbols.errors]=!0,f}},2036:(c,i,e)=>{"use strict";const o=e(375),h=e(9474),v=e(8160),M={};c.exports=M.Values=class{constructor(p,E){this._values=new Set(p),this._refs=new Set(E),this._lowercase=M.lowercases(p),this._override=!1}get length(){return this._values.size+this._refs.size}add(p,E){v.isResolvable(p)?this._refs.has(p)||(this._refs.add(p),E&&E.register(p)):this.has(p,null,null,!1)||(this._values.add(p),"string"==typeof p&&this._lowercase.set(p.toLowerCase(),p))}static merge(p,E,S){if(p=p||new M.Values,E){if(E._override)return E.clone();for(const y of[...E._values,...E._refs])p.add(y)}if(S)for(const y of[...S._values,...S._refs])p.remove(y);return p.length?p:null}remove(p){v.isResolvable(p)?this._refs.delete(p):(this._values.delete(p),"string"==typeof p&&this._lowercase.delete(p.toLowerCase()))}has(p,E,S,y){return!!this.get(p,E,S,y)}get(p,E,S,y){if(!this.length)return!1;if(this._values.has(p))return{value:p};if("string"==typeof p&&p&&y){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(h(f,p))return{value:f};if(E)for(const f of this._refs){const C=f.resolve(p,E,S,null,{in:!0});if(void 0===C)continue;const _=f.in&&"object"==typeof C?Array.isArray(C)?C:Object.keys(C):[C];for(const w of _)if(typeof w==typeof p)if(y&&p&&"string"==typeof p){if(w.toLowerCase()===p.toLowerCase())return{value:w,ref:f}}else if(h(w,p))return{value:w,ref:f}}return!1}override(){this._override=!0}values(p){if(p&&p.display){const E=[];for(const S of[...this._values,...this._refs])void 0!==S&&E.push(S);return E}return Array.from([...this._values,...this._refs])}clone(){const p=new M.Values(this._values,this._refs);return p._override=this._override,p}concat(p){o(!p._override,"Cannot concat override set of values");const E=new M.Values([...this._values,...p._values],[...this._refs,...p._refs]);return E._override=this._override,E}describe(){const p=[];this._override&&p.push({override:!0});for(const E of this._values.values())p.push(E&&"object"==typeof E?{value:E}:E);for(const E of this._refs.values())p.push(E.describe());return p}},M.Values.prototype[v.symbols.values]=!0,M.Values.prototype.slice=M.Values.prototype.clone,M.lowercases=function(p){const E=new Map;if(p)for(const S of p)"string"==typeof S&&E.set(S.toLowerCase(),S);return E}},978:(c,i,e)=>{"use strict";const o=e(375),h=e(8571),v=e(1687),M=e(9621),p={};c.exports=function(E,S,y={}){if(o(E&&"object"==typeof E,"Invalid defaults value: must be an object"),o(!S||!0===S||"object"==typeof S,"Invalid source value: must be true, falsy or an object"),o("object"==typeof y,"Invalid options: must be an object"),!S)return null;if(y.shallow)return p.applyToDefaultsWithShallow(E,S,y);const f=h(E);return!0===S?f:v(f,S,{nullOverride:void 0!==y.nullOverride&&y.nullOverride,mergeArrays:!1})},p.applyToDefaultsWithShallow=function(E,S,y){const f=y.shallow;o(Array.isArray(f),"Invalid keys");const C=new Map,_=!0===S?null:new Set;for(let L of f){L=Array.isArray(L)?L:L.split(".");const N=M(E,L);N&&"object"==typeof N?C.set(N,_&&M(S,L)||N):_&&_.add(L)}const w=h(E,{},C);if(!_)return w;for(const L of _)p.reachCopy(w,S,L);return v(w,S,{nullOverride:void 0!==y.nullOverride&&y.nullOverride,mergeArrays:!1})},p.reachCopy=function(E,S,y){for(const _ of y){if(!(_ in S))return;const w=S[_];if("object"!=typeof w||null===w)return;S=w}const f=S;let C=E;for(let _=0;_{"use strict";const o=e(7916);c.exports=function(h,...v){if(!h)throw 1===v.length&&v[0]instanceof Error?v[0]:new o(v)}},8571:(c,i,e)=>{"use strict";const o=e(9621),h=e(4277),v=e(7043),M={needsProtoHack:new Set([h.set,h.map,h.weakSet,h.weakMap])};c.exports=M.clone=function(p,E={},S=null){if("object"!=typeof p||null===p)return p;let y=M.clone,f=S;if(E.shallow){if(!0!==E.shallow)return M.cloneWithShallow(p,E);y=D=>D}else if(f){const D=f.get(p);if(D)return D}else f=new Map;const C=h.getInternalProto(p);if(C===h.buffer)return!1;if(C===h.date)return new Date(p.getTime());if(C===h.regex)return new RegExp(p);const _=M.base(p,C,E);if(_===p)return p;if(f&&f.set(p,_),C===h.set)for(const D of p)_.add(y(D,E,f));else if(C===h.map)for(const[D,L]of p)_.set(D,y(L,E,f));const w=v.keys(p,E);for(const D of w){if("__proto__"===D)continue;if(C===h.array&&"length"===D){_.length=p.length;continue}const L=Object.getOwnPropertyDescriptor(p,D);L?L.get||L.set?Object.defineProperty(_,D,L):L.enumerable?_[D]=y(p[D],E,f):Object.defineProperty(_,D,{enumerable:!1,writable:!0,configurable:!0,value:y(p[D],E,f)}):Object.defineProperty(_,D,{enumerable:!0,writable:!0,configurable:!0,value:y(p[D],E,f)})}return _},M.cloneWithShallow=function(p,E){const S=E.shallow;(E=Object.assign({},E)).shallow=!1;const y=new Map;for(const f of S){const C=o(p,f);"object"!=typeof C&&"function"!=typeof C||y.set(C,C)}return M.clone(p,E,y)},M.base=function(p,E,S){if(!1===S.prototype)return M.needsProtoHack.has(E)?new E.constructor:E===h.array?[]:{};const y=Object.getPrototypeOf(p);if(y&&y.isImmutable)return p;if(E===h.array){const f=[];return y!==E&&Object.setPrototypeOf(f,y),f}if(M.needsProtoHack.has(E)){const f=new y.constructor;return y!==E&&Object.setPrototypeOf(f,y),f}return Object.create(y)}},9474:(c,i,e)=>{"use strict";const o=e(4277),h={mismatched:null};c.exports=function(v,M,p){return p=Object.assign({prototype:!0},p),!!h.isDeepEqual(v,M,p,[])},h.isDeepEqual=function(v,M,p,E){if(v===M)return 0!==v||1/v==1/M;const S=typeof v;if(S!==typeof M||null===v||null===M)return!1;if("function"===S){if(!p.deepFunction||v.toString()!==M.toString())return!1}else if("object"!==S)return v!=v&&M!=M;const y=h.getSharedType(v,M,!!p.prototype);switch(y){case o.buffer:return!1;case o.promise:return v===M;case o.regex:return v.toString()===M.toString();case h.mismatched:return!1}for(let f=E.length-1;f>=0;--f)if(E[f].isSame(v,M))return!0;E.push(new h.SeenEntry(v,M));try{return!!h.isDeepEqualObj(y,v,M,p,E)}finally{E.pop()}},h.getSharedType=function(v,M,p){if(p)return Object.getPrototypeOf(v)!==Object.getPrototypeOf(M)?h.mismatched:o.getInternalProto(v);const E=o.getInternalProto(v);return E!==o.getInternalProto(M)?h.mismatched:E},h.valueOf=function(v){const M=v.valueOf;if(void 0===M)return v;try{return M.call(v)}catch(p){return p}},h.hasOwnEnumerableProperty=function(v,M){return Object.prototype.propertyIsEnumerable.call(v,M)},h.isSetSimpleEqual=function(v,M){for(const p of Set.prototype.values.call(v))if(!Set.prototype.has.call(M,p))return!1;return!0},h.isDeepEqualObj=function(v,M,p,E,S){const{isDeepEqual:y,valueOf:f,hasOwnEnumerableProperty:C}=h,{keys:_,getOwnPropertySymbols:w}=Object;if(v===o.array){if(!E.part){if(M.length!==p.length)return!1;for(let G=0;G{"use strict";const o=e(8761);c.exports=class extends Error{constructor(h){super(h.filter(v=>""!==v).map(v=>"string"==typeof v?v:v instanceof Error?v.message:o(v)).join(" ")||"Unknown error"),"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,i.assert)}}},5277:c=>{"use strict";const i={};c.exports=function(e){if(!e)return"";let o="";for(let h=0;h=256?"&#"+e+";":`&#x${e.toString(16).padStart(2,"0")};`)},i.isSafe=function(e){return i.safeCharCodes.has(e)},i.namedHtml=new Map([[38,"&"],[60,"<"],[62,">"],[34,"""],[160," "],[162,"¢"],[163,"£"],[164,"¤"],[169,"©"],[174,"®"]]),i.safeCharCodes=function(){const e=new Set;for(let o=32;o<123;++o)(o>=97||o>=65&&o<=90||o>=48&&o<=57||32===o||46===o||44===o||45===o||58===o||95===o)&&e.add(o);return e}()},6064:c=>{"use strict";c.exports=function(i){return i.replace(/[\^\$\.\*\+\-\?\=\!\:\|\\\/\(\)\[\]\{\}\,]/g,"\\$&")}},738:c=>{"use strict";c.exports=function(){}},1687:(c,i,e)=>{"use strict";const o=e(375),h=e(8571),v=e(7043),M={};c.exports=M.merge=function(p,E,S){if(o(p&&"object"==typeof p,"Invalid target value: must be an object"),o(null==E||"object"==typeof E,"Invalid source value: must be null, undefined, or an object"),!E)return p;if(S=Object.assign({nullOverride:!0,mergeArrays:!0},S),Array.isArray(E)){o(Array.isArray(p),"Cannot merge array onto an object"),S.mergeArrays||(p.length=0);for(let f=0;f{"use strict";const o=e(375),h={};c.exports=function(v,M,p){if(!1===M||null==M)return v;"string"==typeof(p=p||{})&&(p={separator:p});const E=Array.isArray(M);o(!E||!p.separator,"Separator option is not valid for array-based chain");const S=E?M:M.split(p.separator||".");let y=v;for(let f=0;f{"use strict";c.exports=function(...i){try{return JSON.stringify(...i)}catch(e){return"[Cannot display object: "+e.message+"]"}}},4277:(c,i)=>{"use strict";const e={};i=c.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]",i.error],["[object Map]",i.map],["[object Promise]",i.promise],["[object Set]",i.set],["[object WeakMap]",i.weakMap],["[object WeakSet]",i.weakSet]]),i.getInternalProto=function(o){if(Array.isArray(o))return i.array;if(o instanceof Date)return i.date;if(o instanceof RegExp)return i.regex;if(o instanceof Error)return i.error;const h=Object.prototype.toString.call(o);return e.typeMap.get(h)||i.generic}},7043:(c,i)=>{"use strict";i.keys=function(e,o={}){return!1!==o.symbols?Reflect.ownKeys(e):Object.getOwnPropertyNames(e)}},3652:(c,i,e)=>{"use strict";const o=e(375),h={};i.Sorter=class{constructor(){this._items=[],this.nodes=[]}add(v,M){const p=[].concat((M=M||{}).before||[]),E=[].concat(M.after||[]),S=M.group||"?",y=M.sort||0;o(!p.includes(S),`Item cannot come before itself: ${S}`),o(!p.includes("?"),"Item cannot come before unassociated items"),o(!E.includes(S),`Item cannot come after itself: ${S}`),o(!E.includes("?"),"Item cannot come after unassociated items"),Array.isArray(v)||(v=[v]);for(const f of v)this._items.push({seq:this._items.length,sort:y,before:p,after:E,group:S,node:f});if(!M.manual){const f=this._sort();o(f,"item","?"!==S?`added into group ${S}`:"","created a dependencies error")}return this.nodes}merge(v){Array.isArray(v)||(v=[v]);for(const p of v)if(p)for(const E of p._items)this._items.push(Object.assign({},E));this._items.sort(h.mergeSort);for(let p=0;pv.sort===M.sort?0:v.sort{"use strict";const o=e(443),h=e(2178),v={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:o.URL||URL};i.analyze=function(M,p={}){if(!M)return h.code("DOMAIN_NON_EMPTY_STRING");if("string"!=typeof M)throw new Error("Invalid input: domain must be a string");if(M.length>256)return h.code("DOMAIN_TOO_LONG");if(v.nonAsciiRx.test(M)){if(!1===p.allowUnicode)return h.code("DOMAIN_INVALID_UNICODE_CHARS");M=M.normalize("NFC")}if(v.domainControlRx.test(M))return h.code("DOMAIN_INVALID_CHARS");M=v.punycode(M),p.allowFullyQualified&&"."===M[M.length-1]&&(M=M.slice(0,-1));const E=p.minDomainSegments||v.minDomainSegments,S=M.split(".");if(S.lengthp.maxDomainSegments)return h.code("DOMAIN_SEGMENTS_COUNT_MAX");const y=p.tlds;if(y){const f=S[S.length-1].toLowerCase();if(y.deny&&y.deny.has(f)||y.allow&&!y.allow.has(f))return h.code("DOMAIN_FORBIDDEN_TLDS")}for(let f=0;f63)return h.code("DOMAIN_LONG_SEGMENT");if(f{"use strict";const o=e(9848),h=e(5380),v=e(2178),M={nonAsciiRx:/[^\x00-\x7f]/,encoder:new(o.TextEncoder||TextEncoder)};i.analyze=function(p,E){return M.email(p,E)},i.isValid=function(p,E){return!M.email(p,E)},M.email=function(p,E={}){if("string"!=typeof p)throw new Error("Invalid input: email must be a string");if(!p)return v.code("EMPTY_STRING");const S=!M.nonAsciiRx.test(p);if(!S){if(!1===E.allowUnicode)return v.code("FORBIDDEN_UNICODE");p=p.normalize("NFC")}const y=p.split("@");if(2!==y.length)return v.code(y.length>2?"MULTIPLE_AT_CHAR":"MISSING_AT_CHAR");const[f,C]=y;if(!f)return v.code("EMPTY_LOCAL");if(!E.ignoreLength){if(p.length>254)return v.code("ADDRESS_TOO_LONG");if(M.encoder.encode(f).length>64)return v.code("LOCAL_TOO_LONG")}return M.local(f,S)||h.analyze(C,E)},M.local=function(p,E){const S=p.split(".");for(const y of S){if(!y.length)return v.code("EMPTY_LOCAL_SEGMENT");if(E){if(!M.atextRx.test(y))return v.code("INVALID_LOCAL_CHARS")}else for(const f of y){if(M.atextRx.test(f))continue;const C=M.binary(f);if(!M.atomRx.test(C))return v.code("INVALID_LOCAL_CHARS")}}},M.binary=function(p){return Array.from(M.encoder.encode(p)).map(E=>String.fromCharCode(E)).join("")},M.atextRx=/^[\w!#\$%&'\*\+\-/=\?\^`\{\|\}~]+$/,M.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:(c,i)=>{"use strict";i.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"},i.code=function(e){return{code:e,error:i.codes[e]}}},9959:(c,i,e)=>{"use strict";const o=e(375),h=e(5752);i.regex=function(v={}){o(void 0===v.cidr||"string"==typeof v.cidr,"options.cidr must be a string");const M=v.cidr?v.cidr.toLowerCase():"optional";o(["required","optional","forbidden"].includes(M),"options.cidr must be one of required, optional, forbidden"),o(void 0===v.version||"string"==typeof v.version||Array.isArray(v.version),"options.version must be a string or an array of string");let p=v.version||["ipv4","ipv6","ipvfuture"];Array.isArray(p)||(p=[p]),o(p.length>=1,"options.version must have at least 1 version specified");for(let y=0;y{if("forbidden"===M)return h.ip[y];const f=`\\/${"ipv4"===y?h.ip.v4Cidr:h.ip.v6Cidr}`;return"required"===M?`${h.ip[y]}${f}`:`${h.ip[y]}(?:${f})?`}).join("|")})`,S=new RegExp(`^${E}$`);return{cidr:M,versions:p,regex:S,raw:E}}},5752:(c,i,e)=>{"use strict";const o=e(375),h=e(6064),v={generate:function(){const M={},p="\\dA-Fa-f",E="["+p+"]",S="\\w-\\.~",y="!\\$&'\\(\\)\\*\\+,;=",f="%"+p,C=S+f+y+":@",_="["+C+"]",w="(?:0{0,2}\\d|0?[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])";M.ipv4address="(?:"+w+"\\.){3}"+w;const D=E+"{1,4}",L="(?:"+D+":"+D+"|"+M.ipv4address+")",N="(?:"+D+":){6}"+L,V="::(?:"+D+":){5}"+L,G="(?:"+D+")?::(?:"+D+":){4}"+L,R="(?:(?:"+D+":){0,1}"+D+")?::(?:"+D+":){3}"+L,k="(?:(?:"+D+":){0,2}"+D+")?::(?:"+D+":){2}"+L,A="(?:(?:"+D+":){0,3}"+D+")?::"+D+":"+L,H="(?:(?:"+D+":){0,4}"+D+")?::"+L,K="(?:(?:"+D+":){0,5}"+D+")?::"+D,ie="(?:(?:"+D+":){0,6}"+D+")?::";M.ipv4Cidr="(?:\\d|[1-2]\\d|3[0-2])",M.ipv6Cidr="(?:0{0,2}\\d|0?[1-9]\\d|1[01]\\d|12[0-8])",M.ipv6address="(?:"+N+"|"+V+"|"+G+"|"+R+"|"+k+"|"+A+"|"+H+"|"+K+"|"+ie+")",M.ipvFuture="v"+E+"+\\.["+S+y+":]+",M.scheme="[a-zA-Z][a-zA-Z\\d+-\\.]*",M.schemeRegex=new RegExp(M.scheme);const X="["+S+f+y+":]*",ce="(?:\\[(?:"+M.ipv6address+"|"+M.ipvFuture+")\\]|"+M.ipv4address+"|["+S+f+y+"]{1,255})",ze="(?:"+X+"@)?"+ce+"(?::\\d*)?",ct="(?:"+X+"@)?("+ce+")(?::\\d*)?",xe=_+"*",Ie=_+"+",Le="(?:\\/"+xe+")*",Ue="\\/(?:"+Ie+Le+")?",Xe=Ie+Le,_e="["+S+f+y+"@]+"+Le;return M.hierPart="(?:(?:\\/\\/"+ze+Le+")|"+Ue+"|"+Xe+"|(?:\\/\\/\\/"+xe+Le+"))",M.hierPartCapture="(?:(?:\\/\\/"+ct+Le+")|"+Ue+"|"+Xe+")",M.relativeRef="(?:(?:\\/\\/"+ze+Le+")|"+Ue+"|"+_e+"|)",M.relativeRefCapture="(?:(?:\\/\\/"+ct+Le+")|"+Ue+"|"+_e+"|)",M.query="["+C+"\\/\\?]*(?=#|$)",M.queryWithSquareBrackets="["+C+"\\[\\]\\/\\?]*(?=#|$)",M.fragment="["+C+"\\/\\?]*",M}};v.rfc3986=v.generate(),i.ip={v4Cidr:v.rfc3986.ipv4Cidr,v6Cidr:v.rfc3986.ipv6Cidr,ipv4:v.rfc3986.ipv4address,ipv6:v.rfc3986.ipv6address,ipvfuture:v.rfc3986.ipvFuture},v.createRegex=function(M){const p=v.rfc3986,E="(?:\\?"+(M.allowQuerySquareBrackets?p.queryWithSquareBrackets:p.query)+")?(?:#"+p.fragment+")?",S=M.domain?p.relativeRefCapture:p.relativeRef;if(M.relativeOnly)return v.wrap(S+E);let y="";if(M.scheme){o(M.scheme instanceof RegExp||"string"==typeof M.scheme||Array.isArray(M.scheme),"scheme must be a RegExp, String, or Array");const _=[].concat(M.scheme);o(_.length>=1,"scheme must have at least 1 scheme specified");const w=[];for(let D=0;D<_.length;++D){const L=_[D];o(L instanceof RegExp||"string"==typeof L,"scheme at position "+D+" must be a RegExp or String"),L instanceof RegExp?w.push(L.source.toString()):(o(p.schemeRegex.test(L),"scheme at position "+D+" must be a valid scheme"),w.push(h(L)))}y=w.join("|")}const f="(?:"+(y?"(?:"+y+")":p.scheme)+":"+(M.domain?p.hierPartCapture:p.hierPart)+")";return v.wrap((M.allowRelative?"(?:"+f+"|"+S+")":f)+E,y)},v.wrap=function(M,p){return{raw:M=`(?=.)(?!https?:/(?:$|[^/]))(?!https?:///)(?!https?:[^/])${M}`,regex:new RegExp(`^${M}$`),scheme:p}},v.uriRegex=v.createRegex({}),i.regex=function(M={}){return M.scheme||M.allowRelative||M.relativeOnly||M.allowQuerySquareBrackets||M.domain?v.createRegex(M):v.uriRegex}},1447:(c,i)=>{"use strict";const e={operators:["!","^","*","/","%","+","-","<","<=",">",">=","==","!=","&&","||","??"],operatorCharacters:["!","^","*","/","%","+","-","<","=",">","&","|","?"],operatorsOrder:[["^"],["*","/","%"],["+","-"],["<","<=",">",">="],["==","!="],["&&"],["||","??"]],operatorsPrefix:["!","n"],literals:{'"':'"',"`":"`","'":"'","[":"]"},numberRx:/^(?:[0-9]*(\.[0-9]*)?){1}$/,tokenRx:/^[\w\$\#\.\@\:\{\}]+$/,symbol:Symbol("formula"),settings:Symbol("settings")};i.Parser=class{constructor(o,h={}){if(!h[e.settings]&&h.constants)for(const v in h.constants){const M=h.constants[v];if(null!==M&&!["boolean","number","string"].includes(typeof M))throw new Error(`Formula constant ${v} contains invalid ${typeof M} value type`)}this.settings=h[e.settings]?h:Object.assign({[e.settings]:!0,constants:{},functions:{}},h),this.single=null,this._parts=null,this._parse(o)}_parse(o){let h=[],v="",M=0,p=!1;const E=y=>{if(M)throw new Error("Formula missing closing parenthesis");const f=h.length?h[h.length-1]:null;if(p||v||y){if(f&&"reference"===f.type&&")"===y)return f.type="function",f.value=this._subFormula(v,f.value),void(v="");if(")"===y){const C=new i.Parser(v,this.settings);h.push({type:"segment",value:C})}else if(p){if("]"===p)return h.push({type:"reference",value:v}),void(v="");h.push({type:"literal",value:v})}else if(e.operatorCharacters.includes(v))f&&"operator"===f.type&&e.operators.includes(f.value+v)?f.value+=v:h.push({type:"operator",value:v});else if(v.match(e.numberRx))h.push({type:"constant",value:parseFloat(v)});else if(void 0!==this.settings.constants[v])h.push({type:"constant",value:this.settings.constants[v]});else{if(!v.match(e.tokenRx))throw new Error(`Formula contains invalid token: ${v}`);h.push({type:"reference",value:v})}v=""}};for(const y of o)p?y===p?(E(),p=!1):v+=y:M?"("===y?(v+=y,++M):")"===y?(--M,M?v+=y:E(y)):v+=y:y in e.literals?p=e.literals[y]:"("===y?(E(),++M):e.operatorCharacters.includes(y)?(E(),v=y,E()):" "!==y?v+=y:E();E(),h=h.map((y,f)=>"operator"!==y.type||"-"!==y.value||f&&"operator"!==h[f-1].type?y:{type:"operator",value:"n"});let S=!1;for(const y of h){if("operator"===y.type){if(e.operatorsPrefix.includes(y.value))continue;if(!S)throw new Error("Formula contains an operator in invalid position");if(!e.operators.includes(y.value))throw new Error(`Formula contains an unknown operator ${y.value}`)}else if(S)throw new Error("Formula missing expected operator");S=!S}if(!S)throw new Error("Formula contains invalid trailing operator");1===h.length&&["reference","literal","constant"].includes(h[0].type)&&(this.single={type:"reference"===h[0].type?"reference":"value",value:h[0].value}),this._parts=h.map(y=>{if("operator"===y.type)return e.operatorsPrefix.includes(y.value)?y:y.value;if("reference"!==y.type)return y.value;if(this.settings.tokenRx&&!this.settings.tokenRx.test(y.value))throw new Error(`Formula contains invalid reference ${y.value}`);return this.settings.reference?this.settings.reference(y.value):e.reference(y.value)})}_subFormula(o,h){const v=this.settings.functions[h];if("function"!=typeof v)throw new Error(`Formula contains unknown function ${h}`);let M=[];if(o){let p="",E=0,S=!1;const y=()=>{if(!p)throw new Error(`Formula contains function ${h} with invalid arguments ${o}`);M.push(p),p=""};for(let f=0;fnew i.Parser(p,this.settings)),function(p){const E=[];for(const S of M)E.push(S.evaluate(p));return v.call(p,...E)}}evaluate(o){const h=this._parts.slice();for(let v=h.length-2;v>=0;--v){const M=h[v];if(M&&"operator"===M.type){const p=h[v+1];h.splice(v+1,1);const E=e.evaluate(p,o);h[v]=e.single(M.value,E)}}return e.operatorsOrder.forEach(v=>{for(let M=1;M":return h>v;case">=":return h>=v;case"==":return h===v;case"!=":return h!==v;case"&&":return h&&v;case"||":return h||v}return null},e.exists=function(o){return null!=o}},9926:()=>{},5688:()=>{},9708:()=>{},1152:()=>{},443:()=>{},9848:()=>{},5934:c=>{"use strict";c.exports=JSON.parse('{"version":"17.12.2"}')}},u={},function c(i){var e=u[i];if(void 0!==e)return e.exports;var o=u[i]={exports:{}};return l[i](o,o.exports,c),o.exports}(5107))},94091:function(pe,m,s){var n,l,u,c,i;c=this,i=function(c){var i=!1,e=!1,o=!1,h=!1,v="escape years months weeks days hours minutes seconds milliseconds general".split(" "),M=[{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(re,Ee){return!(Ee.length>re.length)&&-1!==re.indexOf(Ee)}function E(re){for(var Ee="";re;)Ee+="0",re-=1;return Ee}function y(re,Ee){var vt=re+"+"+k(ze(Ee).sort(),function(Tt){return Tt+":"+Ee[Tt]}).join(",");return y.cache[vt]||(y.cache[vt]=Intl.NumberFormat(re,Ee)),y.cache[vt]}function f(re,Ee,et){var vt=Ee.useToLocaleString,Tt=Ee.useGrouping,dt=Tt&&Ee.grouping.slice(),ot=Ee.maximumSignificantDigits,Vt=Ee.minimumIntegerDigits||1,nn=Ee.fractionDigits||0,vn=Ee.groupingSeparator,zt=Ee.decimalSeparator;if(vt&&et){var En,Xt={minimumIntegerDigits:Vt,useGrouping:Tt};return nn&&(Xt.maximumFractionDigits=nn,Xt.minimumFractionDigits=nn),ot&&re>0&&(Xt.maximumSignificantDigits=ot),o?(h||((En=ce({},Ee)).useGrouping=!1,En.decimalSeparator=".",re=parseFloat(f(re,En),10)),y(et,Xt).format(re)):(e||((En=ce({},Ee)).useGrouping=!1,En.decimalSeparator=".",re=parseFloat(f(re,En),10)),re.toLocaleString(et,Xt))}var Wt,zn,kn,ln=(ot?re.toPrecision(ot+1):re.toFixed(nn+1)).split("e");kn=ln[1]||"";var ut=(Wt=(ln=ln[0].split("."))[0]||"").length,Te=(zn=ln[1]||"").length,me=ut+Te,fe=Wt+zn;(ot&&me===ot+1||!ot&&Te===nn+1)&&(fe=function S(re){for(var Ee=re.split("").reverse(),et=0,vt=!0;vt&&et0?zn.length<=$e?(Wt+=zn+=E($e-zn.length),zn=""):(Wt+=zn.slice(0,$e),zn=zn.slice($e)):$e<0&&(zn=E(Math.abs($e)-Wt.length)+Wt+zn,Wt="0"),ot||((zn=zn.slice(0,nn)).lengthEe.label.length?-1:re.label.length0,$t=ft?Ee.precision:0,un=$t,Vn=Ee.minValue,tr=!1,br=Ee.maxValue,or=!1,fi=Ee.useToLocaleString,Cr=Ee.groupingSeparator,jr=Ee.decimalSeparator,Hn=Ee.grouping;fi=fi&&(i||o);var Dt=Ee.trim;L(Dt)&&(Dt=Dt.join(" ")),null===Dt&&(Wt||br||ft)&&(Dt="all"),(null===Dt||!0===Dt||"left"===Dt||"right"===Dt)&&(Dt="large"),!1===Dt&&(Dt="");var qt=function(tn){return tn.test(Dt)},Rt=/both/,pt=/^all|[^sm]all/,on=Wt>0||ct([/large/,Rt,pt],qt),Ln=ct([/small/,Rt,pt],qt),jt=ct([/mid/,pt],qt),Mn=ct([/final/,pt],qt),Pe=k(Xt.match(zt),function(tn,jn){var qn=vn(tn);return"*"===tn.slice(0,1)&&(tn=tn.slice(1),"escape"!==qn&&"general"!==qn&&zn.push(qn)),{index:jn,length:tn.length,text:"",token:"escape"===qn?tn.replace(nn.escape,"$1"):tn,type:"escape"===qn||"general"===qn?null:qn}}),gt={index:0,length:0,token:"",text:"",type:null},At=[];ut&&Pe.reverse(),R(Pe,function(tn){if(tn.type)return(gt.type||gt.text)&&At.push(gt),void(gt=tn);ut?gt.text=tn.token+gt.text:gt.text+=tn.token}),(gt.type||gt.text)&&At.push(gt),ut&&At.reverse();var Ut=ie(v,K(H(A(At,"type"))));if(!Ut.length)return A(At,"text").join("");Ut=k(Ut,function(tn,jn){var ii,qn=jn+1===Ut.length,dr=!jn;ii="years"===tn||"months"===tn?ot.as(tn):dt.as(tn);var Fr=Math.floor(ii),rt=ii-Fr,kt=G(At,function(Et){return tn===Et.type});return dr&&br&&ii>br&&(or=!0),qn&&Vn&&Math.abs(Ee.duration.as(tn))1&&(fe=!0),dt.subtract(Fr,tn),ot.subtract(Fr,tn),{rawValue:ii,wholeValue:Fr,decimalValue:qn?rt:0,isSmallest:qn,isLargest:dr,type:tn,tokenLength:kt.length}});var ar=Ye?Math.floor:Math.round,ur=function(tn,jn){var qn=Math.pow(10,jn);return ar(tn*qn)/qn},Tr=!1,lr=!1,nr=function(tn,jn){var qn={useGrouping:$e,groupingSeparator:Cr,decimalSeparator:jr,grouping:Hn,useToLocaleString:fi};return ft&&($t<=0?(tn.rawValue=0,tn.wholeValue=0,tn.decimalValue=0):(qn.maximumSignificantDigits=$t,tn.significantDigits=$t)),or&&!lr&&(tn.isLargest?(tn.wholeValue=br,tn.decimalValue=0):(tn.wholeValue=0,tn.decimalValue=0)),tr&&!lr&&(tn.isSmallest?(tn.wholeValue=Vn,tn.decimalValue=0):(tn.wholeValue=0,tn.decimalValue=0)),tn.isSmallest||tn.significantDigits&&tn.significantDigits-tn.wholeValue.toString().length<=0?me<0?tn.value=ur(tn.wholeValue,me):0===me?tn.value=ar(tn.wholeValue+tn.decimalValue):ft?(tn.value=Ye?ur(tn.rawValue,$t-tn.wholeValue.toString().length):tn.rawValue,tn.wholeValue&&($t-=tn.wholeValue.toString().length)):(qn.fractionDigits=me,tn.value=Ye?tn.wholeValue+ur(tn.decimalValue,me):tn.wholeValue+tn.decimalValue):ft&&tn.wholeValue?(tn.value=Math.round(ur(tn.wholeValue,tn.significantDigits-tn.wholeValue.toString().length)),$t-=tn.wholeValue.toString().length):tn.value=tn.wholeValue,tn.tokenLength>1&&(fe||Tr)&&(qn.minimumIntegerDigits=tn.tokenLength,lr&&qn.maximumSignificantDigits0||""===Dt||G(zn,tn.type)||G(En,tn.type))&&(Tr=!0),tn.formattedValue=f(tn.value,qn,ln),qn.useGrouping=!1,qn.decimalSeparator=".",tn.formattedValueEn=f(tn.value,qn,"en"),2===tn.tokenLength&&"milliseconds"===tn.type&&(tn.formattedValueMS=f(tn.value,{minimumIntegerDigits:3,useGrouping:!1},"en").slice(0,2)),tn};if((Ut=H(Ut=k(Ut,nr))).length>1){var Nr=function(tn){return G(Ut,function(jn){return jn.type===tn})};R(M,function(tn){var jn=Nr(tn.type);jn&&R(tn.targets,function(qn){var dr=Nr(qn.type);dr&&parseInt(jn.formattedValueEn,10)===qn.value&&(jn.rawValue=0,jn.wholeValue=0,jn.decimalValue=0,dr.rawValue+=1,dr.wholeValue+=1,dr.decimalValue=0,dr.formattedValueEn=dr.wholeValue.toString(),lr=!0)})})}return lr&&(Tr=!1,$t=un,Ut=H(Ut=k(Ut,nr))),!En||or&&!Ee.trim?(on&&(Ut=X(Ut,function(tn){return!tn.isSmallest&&!tn.wholeValue&&!G(zn,tn.type)})),Wt&&Ut.length&&(Ut=Ut.slice(0,Wt)),Ln&&Ut.length>1&&(Ut=function be(re,Ee){return X(re.slice().reverse(),Ee).reverse()}(Ut,function(tn){return!tn.wholeValue&&!G(zn,tn.type)&&!tn.isLargest})),jt&&(Ut=H(Ut=k(Ut,function(tn,jn){return jn>0&&jn ",or=!1,tr=!1),Tt&&(jn.value>0||""===Dt||G(zn,jn.type)||G(En,jn.type))&&(qn+="-",Tt=!1),qn+="milliseconds"===tn.type&&jn.formattedValueMS?jn.formattedValueMS:jn.formattedValue,ut||(qn+=tn.text),qn})).join("").replace(/(,| |:|\.)*$/,"").replace(/^(,| |:|\.)*/,""))}function Fe(){var re=this.duration,Ee=function(dt){return re._data[dt]},et=G(this.types,Ee),vt=function V(re,Ee){for(var et=re.length;et-=1;)if(Ee(re[et]))return re[et]}(this.types,Ee);switch(et){case"milliseconds":return"S __";case"seconds":case"minutes":return"*_MS_";case"hours":return"_HMS_";case"days":if(et===vt)return"d __";case"weeks":return et===vt?"w __":(null===this.trim&&(this.trim="both"),"w __, d __, h __");case"months":if(et===vt)return"M __";case"years":return et===vt?"y __":(null===this.trim&&(this.trim="both"),"y __, M __, d __");default:return null===this.trim&&(this.trim="both"),"y __, d __, h __, m __, s __"}}function Ce(re){if(!re)throw"Moment Duration Format init cannot find moment instance.";re.duration.format=Xe,re.duration.fn.format=_e,re.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:Fe,useToLocaleString:!0,groupingSeparator:",",decimalSeparator:".",grouping:[3]},re.updateLocale("en",D)}var Ae=function(re,Ee,et){return re.toLocaleString(Ee,et)};i=function Ie(){try{(0).toLocaleString("i")}catch(Ee){return"RangeError"===Ee.name}return!1}()&&Ue(Ae),e=i&&Le(Ae);var Be=function(re,Ee,et){if(typeof window<"u"&&window&&window.Intl&&window.Intl.NumberFormat)return window.Intl.NumberFormat(Ee,et).format(re)};return o=Ue(Be),h=o&&Le(Be),Ce(c),Ce},l=[s(35908)],void 0!==(u="function"==typeof(n=i)?n.apply(m,l):n)&&(pe.exports=u),c&&(c.momentDurationFormatSetup=c.moment?i(c.moment):i)},25140:function(pe,m,s){!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(u){return/^nm$/i.test(u)},meridiem:function(u,c,i){return u<12?i?"vm":"VM":i?"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(u){return u+(1===u||8===u||u>=20?"ste":"de")},week:{dow:1,doy:4}})}(s(35908))},17096:function(pe,m,s){!function(n){"use strict";var l=function(o){return 0===o?0:1===o?1:2===o?2:o%100>=3&&o%100<=10?3:o%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"]},c=function(o){return function(h,v,M,p){var E=l(h),S=u[o][l(h)];return 2===E&&(S=S[v?0:1]),S.replace(/%d/i,h)}},i=["\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:i,monthsShort:i,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(o){return"\u0645"===o},meridiem:function(o,h,v){return o<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")},postformat:function(o){return o.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(s(35908))},32200:function(pe,m,s){!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}})}(s(35908))},97252:function(pe,m,s){!function(n){"use strict";var l={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},u=function(h){return 0===h?0:1===h?1:2===h?2:h%100>=3&&h%100<=10?3:h%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"]},i=function(h){return function(v,M,p,E){var S=u(v),y=c[h][u(v)];return 2===S&&(y=y[M?0:1]),y.replace(/%d/i,v)}},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(h){return"\u0645"===h},meridiem:function(h,v,M){return h<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:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},preparse:function(h){return h.replace(/\u060c/g,",")},postformat:function(h){return h.replace(/\d/g,function(v){return l[v]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(s(35908))},39568:function(pe,m,s){!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}})}(s(35908))},13068:function(pe,m,s){!function(n){"use strict";var l={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},u={"\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(i){return"\u0645"===i},meridiem:function(i,e,o){return i<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(i){return i.replace(/[\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(e){return u[e]}).split("").reverse().join("").replace(/[\u0661\u0662](?![\u062a\u0643])/g,function(e){return u[e]}).split("").reverse().join("").replace(/\u060c/g,",")},postformat:function(i){return i.replace(/\d/g,function(e){return l[e]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(s(35908))},89052:function(pe,m,s){!function(n){"use strict";var l={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},u={"\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(i){return"\u0645"===i},meridiem:function(i,e,o){return i<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(i){return i.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(e){return u[e]}).replace(/\u060c/g,",")},postformat:function(i){return i.replace(/\d/g,function(e){return l[e]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(s(35908))},93956:function(pe,m,s){!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}})}(s(35908))},17276:function(pe,m,s){!function(n){"use strict";var l={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},u={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},c=function(v){return 0===v?0:1===v?1:2===v?2:v%100>=3&&v%100<=10?3:v%100>=11?4:5},i={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(v){return function(M,p,E,S){var y=c(M),f=i[v][c(M)];return 2===y&&(f=f[p?0:1]),f.replace(/%d/i,M)}},o=["\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:o,monthsShort:o,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(v){return"\u0645"===v},meridiem:function(v,M,p){return v<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(v){return v.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(M){return u[M]}).replace(/\u060c/g,",")},postformat:function(v){return v.replace(/\d/g,function(M){return l[M]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(s(35908))},88240:function(pe,m,s){!function(n){"use strict";var l={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(c){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(c)},meridiem:function(c,i,e){return c<4?"gec\u0259":c<12?"s\u0259h\u0259r":c<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(c){if(0===c)return c+"-\u0131nc\u0131";var i=c%10;return c+(l[i]||l[c%100-i]||l[c>=100?100:null])},week:{dow:1,doy:7}})}(s(35908))},77796:function(pe,m,s){!function(n){"use strict";function u(i,e,o){return"m"===o?e?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===o?e?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":i+" "+function l(i,e){var o=i.split("_");return e%10==1&&e%100!=11?o[0]:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?o[1]:o[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"}[o],+i)}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:u,mm:u,h:u,hh:u,d:"\u0434\u0437\u0435\u043d\u044c",dd:u,M:"\u043c\u0435\u0441\u044f\u0446",MM:u,y:"\u0433\u043e\u0434",yy:u},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(i){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(i)},meridiem:function(i,e,o){return i<4?"\u043d\u043e\u0447\u044b":i<12?"\u0440\u0430\u043d\u0456\u0446\u044b":i<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(i,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return i%10!=2&&i%10!=3||i%100==12||i%100==13?i+"-\u044b":i+"-\u0456";case"D":return i+"-\u0433\u0430";default:return i}},week:{dow:1,doy:7}})}(s(35908))},89880:function(pe,m,s){!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(u){var c=u%10,i=u%100;return 0===u?u+"-\u0435\u0432":0===i?u+"-\u0435\u043d":i>10&&i<20?u+"-\u0442\u0438":1===c?u+"-\u0432\u0438":2===c?u+"-\u0440\u0438":7===c||8===c?u+"-\u043c\u0438":u+"-\u0442\u0438"},week:{dow:1,doy:7}})}(s(35908))},84328:function(pe,m,s){!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}})}(s(35908))},45104:function(pe,m,s){!function(n){"use strict";var l={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},u={"\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(i){return i.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(e){return u[e]})},postformat:function(i){return i.replace(/\d/g,function(e){return l[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(i,e){return 12===i&&(i=0),"\u09b0\u09be\u09a4"===e?i<4?i:i+12:"\u09ad\u09cb\u09b0"===e||"\u09b8\u0995\u09be\u09b2"===e?i:"\u09a6\u09c1\u09aa\u09c1\u09b0"===e?i>=3?i:i+12:"\u09ac\u09bf\u0995\u09be\u09b2"===e||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===e?i+12:void 0},meridiem:function(i,e,o){return i<4?"\u09b0\u09be\u09a4":i<6?"\u09ad\u09cb\u09b0":i<12?"\u09b8\u0995\u09be\u09b2":i<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":i<18?"\u09ac\u09bf\u0995\u09be\u09b2":i<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(s(35908))},60536:function(pe,m,s){!function(n){"use strict";var l={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},u={"\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(i){return i.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(e){return u[e]})},postformat:function(i){return i.replace(/\d/g,function(e){return l[e]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(i,e){return 12===i&&(i=0),"\u09b0\u09be\u09a4"===e&&i>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===e&&i<5||"\u09ac\u09bf\u0995\u09be\u09b2"===e?i+12:i},meridiem:function(i,e,o){return i<4?"\u09b0\u09be\u09a4":i<10?"\u09b8\u0995\u09be\u09b2":i<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":i<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(s(35908))},51108:function(pe,m,s){!function(n){"use strict";var l={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},u={"\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(i){return i.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(e){return u[e]})},postformat:function(i){return i.replace(/\d/g,function(e){return l[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(i,e){return 12===i&&(i=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===e&&i>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===e&&i<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===e?i+12:i},meridiem:function(i,e,o){return i<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":i<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":i<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":i<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(s(35908))},51296:function(pe,m,s){!function(n){"use strict";function l(f,C,_){return f+" "+function i(f,C){return 2===C?function e(f){var C={m:"v",b:"v",d:"z"};return void 0===C[f.charAt(0)]?f:C[f.charAt(0)]+f.substring(1)}(f):f}({mm:"munutenn",MM:"miz",dd:"devezh"}[_],f)}function c(f){return f>9?c(f%10):f}var o=[/^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],h=/^(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,S=[/^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:S,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:S,monthsRegex:h,monthsShortRegex:h,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:o,longMonthsParse:o,shortMonthsParse:o,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:l,h:"un eur",hh:"%d eur",d:"un devezh",dd:l,M:"ur miz",MM:l,y:"ur bloaz",yy:function u(f){switch(c(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,C,_){return f<12?"a.m.":"g.m."}})}(s(35908))},2032:function(pe,m,s){!function(n){"use strict";function u(i,e,o){var h=i+" ";switch(o){case"ss":return h+(1===i?"sekunda":2===i||3===i||4===i?"sekunde":"sekundi");case"mm":return h+(1===i?"minuta":2===i||3===i||4===i?"minute":"minuta");case"h":return"jedan sat";case"hh":return h+(1===i?"sat":2===i||3===i||4===i?"sata":"sati");case"dd":return h+(1===i?"dan":"dana");case"MM":return h+(1===i?"mjesec":2===i||3===i||4===i?"mjeseca":"mjeseci");case"yy":return h+(1===i?"godina":2===i||3===i||4===i?"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:u,m:function l(i,e,o,h){if("m"===o)return e?"jedna minuta":h?"jednu minutu":"jedne minute"},mm:u,h:u,hh:u,d:"dan",dd:u,M:"mjesec",MM:u,y:"godinu",yy:u},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(s(35908))},20096:function(pe,m,s){!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(u,c){var i=1===u?"r":2===u?"n":3===u?"r":4===u?"t":"\xe8";return("w"===c||"W"===c)&&(i="a"),u+i},week:{dow:1,doy:4}})}(s(35908))},41152:function(pe,m,s){!function(n){"use strict";var l={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/},u="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),c=[/^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],i=/^(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(v){return v>1&&v<5&&1!=~~(v/10)}function o(v,M,p,E){var S=v+" ";switch(p){case"s":return M||E?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return M||E?S+(e(v)?"sekundy":"sekund"):S+"sekundami";case"m":return M?"minuta":E?"minutu":"minutou";case"mm":return M||E?S+(e(v)?"minuty":"minut"):S+"minutami";case"h":return M?"hodina":E?"hodinu":"hodinou";case"hh":return M||E?S+(e(v)?"hodiny":"hodin"):S+"hodinami";case"d":return M||E?"den":"dnem";case"dd":return M||E?S+(e(v)?"dny":"dn\xed"):S+"dny";case"M":return M||E?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return M||E?S+(e(v)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):S+"m\u011bs\xedci";case"y":return M||E?"rok":"rokem";case"yy":return M||E?S+(e(v)?"roky":"let"):S+"lety"}}n.defineLocale("cs",{months:l,monthsShort:u,monthsRegex:i,monthsShortRegex:i,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:c,longMonthsParse:c,shortMonthsParse:c,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: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:4}})}(s(35908))},69568:function(pe,m,s){!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(u){return u+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(u)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(u)?"\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}})}(s(35908))},78875:function(pe,m,s){!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(u){var i="";return u>20?i=40===u||50===u||60===u||80===u||100===u?"fed":"ain":u>0&&(i=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][u]),u+i},week:{dow:1,doy:4}})}(s(35908))},45424:function(pe,m,s){!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}})}(s(35908))},72604:function(pe,m,s){!function(n){"use strict";function l(c,i,e,o){var h={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[c+" Tage",c+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[c+" Monate",c+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[c+" Jahre",c+" Jahren"]};return i?h[e][0]:h[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:l,mm:"%d Minuten",h:l,hh:"%d Stunden",d:l,dd:l,w:l,ww:"%d Wochen",M:l,MM:l,y:l,yy:l},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(35908))},79168:function(pe,m,s){!function(n){"use strict";function l(c,i,e,o){var h={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[c+" Tage",c+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[c+" Monate",c+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[c+" Jahre",c+" Jahren"]};return i?h[e][0]:h[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:l,mm:"%d Minuten",h:l,hh:"%d Stunden",d:l,dd:l,w:l,ww:"%d Wochen",M:l,MM:l,y:l,yy:l},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(35908))},20992:function(pe,m,s){!function(n){"use strict";function l(c,i,e,o){var h={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[c+" Tage",c+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[c+" Monate",c+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[c+" Jahre",c+" Jahren"]};return i?h[e][0]:h[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:l,mm:"%d Minuten",h:l,hh:"%d Stunden",d:l,dd:l,w:l,ww:"%d Wochen",M:l,MM:l,y:l,yy:l},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(35908))},67300:function(pe,m,s){!function(n){"use strict";var l=["\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"],u=["\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:l,monthsShort:l,weekdays:u,weekdaysShort:u,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(i){return"\u0789\u078a"===i},meridiem:function(i,e,o){return i<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(i){return i.replace(/\u060c/g,",")},postformat:function(i){return i.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(s(35908))},84400:function(pe,m,s){!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(c,i){return c?"string"==typeof i&&/D/.test(i.substring(0,i.indexOf("MMMM")))?this._monthsGenitiveEl[c.month()]:this._monthsNominativeEl[c.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(c,i,e){return c>11?e?"\u03bc\u03bc":"\u039c\u039c":e?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(c){return"\u03bc"===(c+"").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(c,i){var e=this._calendarEl[c],o=i&&i.hours();return function l(c){return typeof Function<"u"&&c instanceof Function||"[object Function]"===Object.prototype.toString.call(c)}(e)&&(e=e.apply(i)),e.replace("{}",o%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}})}(s(35908))},83536:function(pe,m,s){!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(u){var c=u%10;return u+(1==~~(u%100/10)?"th":1===c?"st":2===c?"nd":3===c?"rd":"th")},week:{dow:0,doy:4}})}(s(35908))},39379:function(pe,m,s){!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(u){var c=u%10;return u+(1==~~(u%100/10)?"th":1===c?"st":2===c?"nd":3===c?"rd":"th")}})}(s(35908))},47032:function(pe,m,s){!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(u){var c=u%10;return u+(1==~~(u%100/10)?"th":1===c?"st":2===c?"nd":3===c?"rd":"th")},week:{dow:1,doy:4}})}(s(35908))},71832:function(pe,m,s){!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(u){var c=u%10;return u+(1==~~(u%100/10)?"th":1===c?"st":2===c?"nd":3===c?"rd":"th")},week:{dow:1,doy:4}})}(s(35908))},404:function(pe,m,s){!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(u){var c=u%10;return u+(1==~~(u%100/10)?"th":1===c?"st":2===c?"nd":3===c?"rd":"th")}})}(s(35908))},25716:function(pe,m,s){!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(u){var c=u%10;return u+(1==~~(u%100/10)?"th":1===c?"st":2===c?"nd":3===c?"rd":"th")},week:{dow:0,doy:6}})}(s(35908))},15312:function(pe,m,s){!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(u){var c=u%10;return u+(1==~~(u%100/10)?"th":1===c?"st":2===c?"nd":3===c?"rd":"th")},week:{dow:1,doy:4}})}(s(35908))},53320:function(pe,m,s){!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(u){var c=u%10;return u+(1==~~(u%100/10)?"th":1===c?"st":2===c?"nd":3===c?"rd":"th")},week:{dow:1,doy:4}})}(s(35908))},96392:function(pe,m,s){!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(u){return"p"===u.charAt(0).toLowerCase()},meridiem:function(u,c,i){return u>11?i?"p.t.m.":"P.T.M.":i?"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}})}(s(35908))},38540:function(pe,m,s){!function(n){"use strict";var l="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),u="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),c=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(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(o,h){return o?/-MMM-/.test(h)?u[o.month()]:l[o.month()]:l},monthsRegex:i,monthsShortRegex:i,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:c,longMonthsParse:c,shortMonthsParse:c,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}})}(s(35908))},93504:function(pe,m,s){!function(n){"use strict";var l="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),u="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),c=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(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(o,h){return o?/-MMM-/.test(h)?u[o.month()]:l[o.month()]:l},monthsRegex:i,monthsShortRegex:i,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:c,longMonthsParse:c,shortMonthsParse:c,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"})}(s(35908))},69224:function(pe,m,s){!function(n){"use strict";var l="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),u="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),c=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(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(o,h){return o?/-MMM-/.test(h)?u[o.month()]:l[o.month()]:l},monthsRegex:i,monthsShortRegex:i,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:c,longMonthsParse:c,shortMonthsParse:c,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}})}(s(35908))},41964:function(pe,m,s){!function(n){"use strict";var l="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),u="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),c=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(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(o,h){return o?/-MMM-/.test(h)?u[o.month()]:l[o.month()]:l},monthsRegex:i,monthsShortRegex:i,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:c,longMonthsParse:c,shortMonthsParse:c,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"})}(s(35908))},90596:function(pe,m,s){!function(n){"use strict";function l(c,i,e,o){var h={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[c+"sekundi",c+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[c+" minuti",c+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[c+" tunni",c+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[c+" kuu",c+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[c+" aasta",c+" aastat"]};return i?h[e][2]?h[e][2]:h[e][1]:o?h[e][0]:h[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:l,ss:l,m:l,mm:l,h:l,hh:l,d:l,dd:"%d p\xe4eva",M:l,MM:l,y:l,yy:l},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(35908))},8060:function(pe,m,s){!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}})}(s(35908))},68184:function(pe,m,s){!function(n){"use strict";var l={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},u={"\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(i){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(i)},meridiem:function(i,e,o){return i<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(i){return i.replace(/[\u06f0-\u06f9]/g,function(e){return u[e]}).replace(/\u060c/g,",")},postformat:function(i){return i.replace(/\d/g,function(e){return l[e]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(s(35908))},36736:function(pe,m,s){!function(n){"use strict";var l="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),u=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",l[7],l[8],l[9]];function c(o,h,v,M){var p="";switch(v){case"s":return M?"muutaman sekunnin":"muutama sekunti";case"ss":p=M?"sekunnin":"sekuntia";break;case"m":return M?"minuutin":"minuutti";case"mm":p=M?"minuutin":"minuuttia";break;case"h":return M?"tunnin":"tunti";case"hh":p=M?"tunnin":"tuntia";break;case"d":return M?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":p=M?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return M?"kuukauden":"kuukausi";case"MM":p=M?"kuukauden":"kuukautta";break;case"y":return M?"vuoden":"vuosi";case"yy":p=M?"vuoden":"vuotta"}return function i(o,h){return o<10?h?u[o]:l[o]:o}(o,M)+" "+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: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}})}(s(35908))},49264:function(pe,m,s){!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(u){return u},week:{dow:1,doy:4}})}(s(35908))},48299:function(pe,m,s){!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}})}(s(35908))},84584:function(pe,m,s){!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(u,c){switch(c){default:case"M":case"Q":case"D":case"DDD":case"d":return u+(1===u?"er":"e");case"w":case"W":return u+(1===u?"re":"e")}}})}(s(35908))},8024:function(pe,m,s){!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(u,c){switch(c){default:case"M":case"Q":case"D":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}})}(s(35908))},51964:function(pe,m,s){!function(n){"use strict";var c=/(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,i=[/^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:c,monthsShortRegex:c,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:i,longMonthsParse:i,shortMonthsParse:i,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(o,h){switch(h){case"D":return o+(1===o?"er":"");default:case"M":case"Q":case"DDD":case"d":return o+(1===o?"er":"e");case"w":case"W":return o+(1===o?"re":"e")}},week:{dow:1,doy:4}})}(s(35908))},22672:function(pe,m,s){!function(n){"use strict";var l="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),u="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(i,e){return i?/-MMM-/.test(e)?u[i.month()]:l[i.month()]:l},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(i){return i+(1===i||8===i||i>=20?"ste":"de")},week:{dow:1,doy:4}})}(s(35908))},26476:function(pe,m,s){!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(h){return h+(1===h?"d":h%10==2?"na":"mh")},week:{dow:1,doy:4}})}(s(35908))},35148:function(pe,m,s){!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(h){return h+(1===h?"d":h%10==2?"na":"mh")},week:{dow:1,doy:4}})}(s(35908))},32176:function(pe,m,s){!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(u){return 0===u.indexOf("un")?"n"+u:"en "+u},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}})}(s(35908))},27260:function(pe,m,s){!function(n){"use strict";function l(c,i,e,o){var h={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:[c+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",c+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[c+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",c+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[c+" \u0935\u0930\u093e\u0902\u0928\u0940",c+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[c+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",c+" \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:[c+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",c+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[c+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",c+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return o?h[e][0]:h[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: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}(\u0935\u0947\u0930)/,ordinal:function(c,i){return"D"===i?c+"\u0935\u0947\u0930":c},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(c,i){return 12===c&&(c=0),"\u0930\u093e\u0924\u0940"===i?c<4?c:c+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===i?c:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===i?c>12?c:c+12:"\u0938\u093e\u0902\u091c\u0947"===i?c+12:void 0},meridiem:function(c,i,e){return c<4?"\u0930\u093e\u0924\u0940":c<12?"\u0938\u0915\u093e\u0933\u0940\u0902":c<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":c<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(s(35908))},3772:function(pe,m,s){!function(n){"use strict";function l(c,i,e,o){var h={s:["thoddea sekondamni","thodde sekond"],ss:[c+" sekondamni",c+" sekond"],m:["eka mintan","ek minut"],mm:[c+" mintamni",c+" mintam"],h:["eka voran","ek vor"],hh:[c+" voramni",c+" voram"],d:["eka disan","ek dis"],dd:[c+" disamni",c+" dis"],M:["eka mhoinean","ek mhoino"],MM:[c+" mhoineamni",c+" mhoine"],y:["eka vorsan","ek voros"],yy:[c+" vorsamni",c+" vorsam"]};return o?h[e][0]:h[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: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}(er)/,ordinal:function(c,i){return"D"===i?c+"er":c},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(c,i){return 12===c&&(c=0),"rati"===i?c<4?c:c+12:"sokallim"===i?c:"donparam"===i?c>12?c:c+12:"sanje"===i?c+12:void 0},meridiem:function(c,i,e){return c<4?"rati":c<12?"sokallim":c<16?"donparam":c<20?"sanje":"rati"}})}(s(35908))},39528:function(pe,m,s){!function(n){"use strict";var l={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},u={"\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(i){return i.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(e){return u[e]})},postformat:function(i){return i.replace(/\d/g,function(e){return l[e]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(i,e){return 12===i&&(i=0),"\u0ab0\u0abe\u0aa4"===e?i<4?i:i+12:"\u0ab8\u0ab5\u0abe\u0ab0"===e?i:"\u0aac\u0aaa\u0acb\u0ab0"===e?i>=10?i:i+12:"\u0ab8\u0abe\u0a82\u0a9c"===e?i+12:void 0},meridiem:function(i,e,o){return i<4?"\u0ab0\u0abe\u0aa4":i<10?"\u0ab8\u0ab5\u0abe\u0ab0":i<17?"\u0aac\u0aaa\u0acb\u0ab0":i<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(s(35908))},86832:function(pe,m,s){!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(u){return 2===u?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":u+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(u){return 2===u?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":u+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(u){return 2===u?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":u+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(u){return 2===u?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":u%10==0&&10!==u?u+" \u05e9\u05e0\u05d4":u+" \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(u){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(u)},meridiem:function(u,c,i){return u<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":u<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":u<12?i?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":u<18?i?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(s(35908))},95592:function(pe,m,s){!function(n){"use strict";var l={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},u={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},c=[/^\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:c,longMonthsParse:c,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(o){return o.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(h){return u[h]})},postformat:function(o){return o.replace(/\d/g,function(h){return l[h]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(o,h){return 12===o&&(o=0),"\u0930\u093e\u0924"===h?o<4?o:o+12:"\u0938\u0941\u092c\u0939"===h?o:"\u0926\u094b\u092a\u0939\u0930"===h?o>=10?o:o+12:"\u0936\u093e\u092e"===h?o+12:void 0},meridiem:function(o,h,v){return o<4?"\u0930\u093e\u0924":o<10?"\u0938\u0941\u092c\u0939":o<17?"\u0926\u094b\u092a\u0939\u0930":o<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(s(35908))},56208:function(pe,m,s){!function(n){"use strict";function l(c,i,e){var o=c+" ";switch(e){case"ss":return o+(1===c?"sekunda":2===c||3===c||4===c?"sekunde":"sekundi");case"m":return i?"jedna minuta":"jedne minute";case"mm":return o+(1===c?"minuta":2===c||3===c||4===c?"minute":"minuta");case"h":return i?"jedan sat":"jednog sata";case"hh":return o+(1===c?"sat":2===c||3===c||4===c?"sata":"sati");case"dd":return o+(1===c?"dan":"dana");case"MM":return o+(1===c?"mjesec":2===c||3===c||4===c?"mjeseca":"mjeseci");case"yy":return o+(1===c?"godina":2===c||3===c||4===c?"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:l,m:l,mm:l,h:l,hh:l,d:"dan",dd:l,M:"mjesec",MM:l,y:"godinu",yy:l},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(s(35908))},33697:function(pe,m,s){!function(n){"use strict";var l="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function u(e,o,h,v){var M=e;switch(h){case"s":return v||o?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return M+(v||o)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(v||o?" perc":" perce");case"mm":return M+(v||o?" perc":" perce");case"h":return"egy"+(v||o?" \xf3ra":" \xf3r\xe1ja");case"hh":return M+(v||o?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(v||o?" nap":" napja");case"dd":return M+(v||o?" nap":" napja");case"M":return"egy"+(v||o?" h\xf3nap":" h\xf3napja");case"MM":return M+(v||o?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(v||o?" \xe9v":" \xe9ve");case"yy":return M+(v||o?" \xe9v":" \xe9ve")}return""}function c(e){return(e?"":"[m\xfalt] ")+"["+l[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,o,h){return e<12?!0===h?"de":"DE":!0===h?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return c.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return c.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%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}})}(s(35908))},2e4:function(pe,m,s){!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(u){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(u)},meridiem:function(u){return u<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":u<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":u<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(u,c){switch(c){case"DDD":case"w":case"W":case"DDDo":return 1===u?u+"-\u056b\u0576":u+"-\u0580\u0564";default:return u}},week:{dow:1,doy:7}})}(s(35908))},57840:function(pe,m,s){!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(u,c){return 12===u&&(u=0),"pagi"===c?u:"siang"===c?u>=11?u:u+12:"sore"===c||"malam"===c?u+12:void 0},meridiem:function(u,c,i){return u<11?"pagi":u<15?"siang":u<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}})}(s(35908))},31496:function(pe,m,s){!function(n){"use strict";function l(i){return i%100==11||i%10!=1}function u(i,e,o,h){var v=i+" ";switch(o){case"s":return e||h?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return l(i)?v+(e||h?"sek\xfandur":"sek\xfandum"):v+"sek\xfanda";case"m":return e?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return l(i)?v+(e||h?"m\xedn\xfatur":"m\xedn\xfatum"):e?v+"m\xedn\xfata":v+"m\xedn\xfatu";case"hh":return l(i)?v+(e||h?"klukkustundir":"klukkustundum"):v+"klukkustund";case"d":return e?"dagur":h?"dag":"degi";case"dd":return l(i)?e?v+"dagar":v+(h?"daga":"d\xf6gum"):e?v+"dagur":v+(h?"dag":"degi");case"M":return e?"m\xe1nu\xf0ur":h?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return l(i)?e?v+"m\xe1nu\xf0ir":v+(h?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):e?v+"m\xe1nu\xf0ur":v+(h?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return e||h?"\xe1r":"\xe1ri";case"yy":return l(i)?v+(e||h?"\xe1r":"\xe1rum"):v+(e||h?"\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:u,ss:u,m:u,mm:u,h:"klukkustund",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}})}(s(35908))},45736:function(pe,m,s){!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(u){return(/^[0-9].+$/.test(u)?"tra":"in")+" "+u},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}})}(s(35908))},6336:function(pe,m,s){!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}})}(s(35908))},58008:function(pe,m,s){!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(u,c){return"\u5143"===c[1]?1:parseInt(c[1]||u,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(u){return"\u5348\u5f8c"===u},meridiem:function(u,c,i){return u<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(u){return u.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(u){return this.week()!==u.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(u,c){switch(c){case"y":return 1===u?"\u5143\u5e74":u+"\u5e74";case"d":case"D":case"DDD":return u+"\u65e5";default:return u}},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"}})}(s(35908))},30108:function(pe,m,s){!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(u,c){return 12===u&&(u=0),"enjing"===c?u:"siyang"===c?u>=11?u:u+12:"sonten"===c||"ndalu"===c?u+12:void 0},meridiem:function(u,c,i){return u<11?"enjing":u<15?"siyang":u<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}})}(s(35908))},61844:function(pe,m,s){!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(u){return u.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(c,i,e){return"\u10d8"===e?i+"\u10e8\u10d8":i+e+"\u10e8\u10d8"})},past:function(u){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(u)?u.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(u)?u.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):u},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(u){return 0===u?u:1===u?u+"-\u10da\u10d8":u<20||u<=100&&u%20==0||u%100==0?"\u10db\u10d4-"+u:u+"-\u10d4"},week:{dow:1,doy:7}})}(s(35908))},78980:function(pe,m,s){!function(n){"use strict";var l={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(c){return c+(l[c]||l[c%10]||l[c>=100?100:null])},week:{dow:1,doy:7}})}(s(35908))},48544:function(pe,m,s){!function(n){"use strict";var l={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},u={"\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(i){return"\u179b\u17d2\u1784\u17b6\u1785"===i},meridiem:function(i,e,o){return i<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(i){return i.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(e){return u[e]})},postformat:function(i){return i.replace(/\d/g,function(e){return l[e]})},week:{dow:1,doy:4}})}(s(35908))},70096:function(pe,m,s){!function(n){"use strict";var l={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},u={"\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(i){return i.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(e){return u[e]})},postformat:function(i){return i.replace(/\d/g,function(e){return l[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(i,e){return 12===i&&(i=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===e?i<4?i:i+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===e?i:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===e?i>=10?i:i+12:"\u0cb8\u0c82\u0c9c\u0cc6"===e?i+12:void 0},meridiem:function(i,e,o){return i<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":i<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":i<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":i<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(i){return i+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(s(35908))},87420:function(pe,m,s){!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(u,c){switch(c){case"d":case"D":case"DDD":return u+"\uc77c";case"M":return u+"\uc6d4";case"w":case"W":return u+"\uc8fc";default:return u}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(u){return"\uc624\ud6c4"===u},meridiem:function(u,c,i){return u<12?"\uc624\uc804":"\uc624\ud6c4"}})}(s(35908))},4740:function(pe,m,s){!function(n){"use strict";function l(i,e,o,h){var v={s:["\xe7end san\xeeye","\xe7end san\xeeyeyan"],ss:[i+" san\xeeye",i+" san\xeeyeyan"],m:["deq\xeeqeyek","deq\xeeqeyek\xea"],mm:[i+" deq\xeeqe",i+" deq\xeeqeyan"],h:["saetek","saetek\xea"],hh:[i+" saet",i+" saetan"],d:["rojek","rojek\xea"],dd:[i+" roj",i+" rojan"],w:["hefteyek","hefteyek\xea"],ww:[i+" hefte",i+" hefteyan"],M:["mehek","mehek\xea"],MM:[i+" meh",i+" mehan"],y:["salek","salek\xea"],yy:[i+" sal",i+" salan"]};return e?v[o][0]:v[o][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(i,e,o){return i<12?o?"bn":"BN":o?"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:l,ss:l,m:l,mm:l,h:l,hh:l,d:l,dd:l,w:l,ww:l,M:l,MM:l,y:l,yy:l},dayOfMonthOrdinalParse:/\d{1,2}(?:y\xea|\xea|\.)/,ordinal:function(i,e){var o=e.toLowerCase();return o.includes("w")||o.includes("m")?i+".":i+function u(i){var e=(i=""+i).substring(i.length-1),o=i.length>1?i.substring(i.length-2):"";return 12==o||13==o||"2"!=e&&"3"!=e&&"50"!=o&&"70"!=e&&"80"!=e?"\xea":"y\xea"}(i)},week:{dow:1,doy:4}})}(s(35908))},60200:function(pe,m,s){!function(n){"use strict";var l={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},u={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},c=["\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:c,monthsShort:c,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,o,h){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(o){return u[o]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(o){return l[o]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(s(35908))},44976:function(pe,m,s){!function(n){"use strict";var l={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(c){return c+(l[c]||l[c%10]||l[c>=100?100:null])},week:{dow:1,doy:7}})}(s(35908))},4652:function(pe,m,s){!function(n){"use strict";function l(o,h,v,M){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 h?p[v][0]:p[v][1]}function i(o){if(o=parseInt(o,10),isNaN(o))return!1;if(o<0)return!0;if(o<10)return 4<=o&&o<=7;if(o<100){var h=o%10;return i(0===h?o/10:h)}if(o<1e4){for(;o>=10;)o/=10;return i(o)}return i(o/=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 u(o){return i(o.substr(0,o.indexOf(" ")))?"a "+o:"an "+o},past:function c(o){return i(o.substr(0,o.indexOf(" ")))?"viru "+o:"virun "+o},s:"e puer Sekonnen",ss:"%d Sekonnen",m:l,mm:"%d Minutten",h:l,hh:"%d Stonnen",d:l,dd:"%d Deeg",M:l,MM:"%d M\xe9int",y:l,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(35908))},53984:function(pe,m,s){!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(u){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===u},meridiem:function(u,c,i){return u<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(u){return"\u0e97\u0eb5\u0ec8"+u}})}(s(35908))},8792:function(pe,m,s){!function(n){"use strict";var l={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 c(v,M,p,E){return M?e(p)[0]:E?e(p)[1]:e(p)[2]}function i(v){return v%10==0||v>10&&v<20}function e(v){return l[v].split("_")}function o(v,M,p,E){var S=v+" ";return 1===v?S+c(0,M,p[0],E):M?S+(i(v)?e(p)[1]:e(p)[0]):E?S+e(p)[1]:S+(i(v)?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 u(v,M,p,E){return M?"kelios sekund\u0117s":E?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:o,m:c,mm:o,h:c,hh:o,d:c,dd:o,M:c,MM:o,y:c,yy:o},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(v){return v+"-oji"},week:{dow:1,doy:4}})}(s(35908))},6296:function(pe,m,s){!function(n){"use strict";var l={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 u(h,v,M){return M?v%10==1&&v%100!=11?h[2]:h[3]:v%10==1&&v%100!=11?h[0]:h[1]}function c(h,v,M){return h+" "+u(l[M],h,v)}function i(h,v,M){return u(l[M],h,v)}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(h,v){return v?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:c,m:i,mm:c,h:i,hh:c,d:i,dd:c,M:i,MM:c,y:i,yy:c},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(35908))},58256:function(pe,m,s){!function(n){"use strict";var l={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(c,i){return 1===c?i[0]:c>=2&&c<=4?i[1]:i[2]},translate:function(c,i,e){var o=l.words[e];return 1===e.length?i?o[0]:o[1]:c+" "+l.correctGrammaticalCase(c,o)}};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:l.translate,m:l.translate,mm:l.translate,h:l.translate,hh:l.translate,d:"dan",dd:l.translate,M:"mjesec",MM:l.translate,y:"godinu",yy:l.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(s(35908))},29284:function(pe,m,s){!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}})}(s(35908))},33196:function(pe,m,s){!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(u){var c=u%10,i=u%100;return 0===u?u+"-\u0435\u0432":0===i?u+"-\u0435\u043d":i>10&&i<20?u+"-\u0442\u0438":1===c?u+"-\u0432\u0438":2===c?u+"-\u0440\u0438":7===c||8===c?u+"-\u043c\u0438":u+"-\u0442\u0438"},week:{dow:1,doy:7}})}(s(35908))},45896:function(pe,m,s){!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(u,c){return 12===u&&(u=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===c&&u>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===c||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===c?u+12:u},meridiem:function(u,c,i){return u<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":u<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":u<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":u<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(s(35908))},32460:function(pe,m,s){!function(n){"use strict";function l(c,i,e,o){switch(e){case"s":return i?"\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 c+(i?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return c+(i?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return c+(i?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return c+(i?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return c+(i?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return c+(i?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return c}}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(c){return"\u04ae\u0425"===c},meridiem:function(c,i,e){return c<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: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} \u04e9\u0434\u04e9\u0440/,ordinal:function(c,i){switch(i){case"d":case"D":case"DDD":return c+" \u04e9\u0434\u04e9\u0440";default:return c}}})}(s(35908))},80132:function(pe,m,s){!function(n){"use strict";var l={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},u={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function c(e,o,h,v){var M="";if(o)switch(h){case"s":M="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":M="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":M="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":M="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":M="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":M="%d \u0924\u093e\u0938";break;case"d":M="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":M="%d \u0926\u093f\u0935\u0938";break;case"M":M="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":M="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":M="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":M="%d \u0935\u0930\u094d\u0937\u0947"}else switch(h){case"s":M="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":M="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":M="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":M="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":M="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":M="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":M="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":M="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":M="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":M="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":M="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":M="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return M.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:c,ss:c,m:c,mm:c,h:c,hh:c,d:c,dd:c,M:c,MM:c,y:c,yy:c},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(o){return u[o]})},postformat:function(e){return e.replace(/\d/g,function(o){return l[o]})},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,o){return 12===e&&(e=0),"\u092a\u0939\u093e\u091f\u0947"===o||"\u0938\u0915\u093e\u0933\u0940"===o?e:"\u0926\u0941\u092a\u093e\u0930\u0940"===o||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===o||"\u0930\u093e\u0924\u094d\u0930\u0940"===o?e>=12?e:e+12:void 0},meridiem:function(e,o,h){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}})}(s(35908))},88060:function(pe,m,s){!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(u,c){return 12===u&&(u=0),"pagi"===c?u:"tengahari"===c?u>=11?u:u+12:"petang"===c||"malam"===c?u+12:void 0},meridiem:function(u,c,i){return u<11?"pagi":u<15?"tengahari":u<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}})}(s(35908))},73136:function(pe,m,s){!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(u,c){return 12===u&&(u=0),"pagi"===c?u:"tengahari"===c?u>=11?u:u+12:"petang"===c||"malam"===c?u+12:void 0},meridiem:function(u,c,i){return u<11?"pagi":u<15?"tengahari":u<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}})}(s(35908))},46227:function(pe,m,s){!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}})}(s(35908))},88300:function(pe,m,s){!function(n){"use strict";var l={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},u={"\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(i){return i.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(e){return u[e]})},postformat:function(i){return i.replace(/\d/g,function(e){return l[e]})},week:{dow:1,doy:4}})}(s(35908))},14784:function(pe,m,s){!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}})}(s(35908))},75060:function(pe,m,s){!function(n){"use strict";var l={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},u={"\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(i){return i.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(e){return u[e]})},postformat:function(i){return i.replace(/\d/g,function(e){return l[e]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(i,e){return 12===i&&(i=0),"\u0930\u093e\u0924\u093f"===e?i<4?i:i+12:"\u092c\u093f\u0939\u093e\u0928"===e?i:"\u0926\u093f\u0909\u0901\u0938\u094b"===e?i>=10?i:i+12:"\u0938\u093e\u0901\u091d"===e?i+12:void 0},meridiem:function(i,e,o){return i<3?"\u0930\u093e\u0924\u093f":i<12?"\u092c\u093f\u0939\u093e\u0928":i<16?"\u0926\u093f\u0909\u0901\u0938\u094b":i<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}})}(s(35908))},94796:function(pe,m,s){!function(n){"use strict";var l="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),u="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),c=[/^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],i=/^(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(o,h){return o?/-MMM-/.test(h)?u[o.month()]:l[o.month()]:l},monthsRegex:i,monthsShortRegex:i,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:c,longMonthsParse:c,shortMonthsParse:c,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(o){return o+(1===o||8===o||o>=20?"ste":"de")},week:{dow:1,doy:4}})}(s(35908))},4971:function(pe,m,s){!function(n){"use strict";var l="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),u="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),c=[/^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],i=/^(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(o,h){return o?/-MMM-/.test(h)?u[o.month()]:l[o.month()]:l},monthsRegex:i,monthsShortRegex:i,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:c,longMonthsParse:c,shortMonthsParse:c,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(o){return o+(1===o||8===o||o>=20?"ste":"de")},week:{dow:1,doy:4}})}(s(35908))},18984:function(pe,m,s){!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}})}(s(35908))},59928:function(pe,m,s){!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(u,c){var i=1===u?"r":2===u?"n":3===u?"r":4===u?"t":"\xe8";return("w"===c||"W"===c)&&(i="a"),u+i},week:{dow:1,doy:4}})}(s(35908))},76440:function(pe,m,s){!function(n){"use strict";var l={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},u={"\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(i){return i.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(e){return u[e]})},postformat:function(i){return i.replace(/\d/g,function(e){return l[e]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(i,e){return 12===i&&(i=0),"\u0a30\u0a3e\u0a24"===e?i<4?i:i+12:"\u0a38\u0a35\u0a47\u0a30"===e?i:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===e?i>=10?i:i+12:"\u0a38\u0a3c\u0a3e\u0a2e"===e?i+12:void 0},meridiem:function(i,e,o){return i<4?"\u0a30\u0a3e\u0a24":i<10?"\u0a38\u0a35\u0a47\u0a30":i<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":i<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(s(35908))},96768:function(pe,m,s){!function(n){"use strict";var l="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),u="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),c=[/^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 i(h){return h%10<5&&h%10>1&&~~(h/10)%10!=1}function e(h,v,M){var p=h+" ";switch(M){case"ss":return p+(i(h)?"sekundy":"sekund");case"m":return v?"minuta":"minut\u0119";case"mm":return p+(i(h)?"minuty":"minut");case"h":return v?"godzina":"godzin\u0119";case"hh":return p+(i(h)?"godziny":"godzin");case"ww":return p+(i(h)?"tygodnie":"tygodni");case"MM":return p+(i(h)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return p+(i(h)?"lata":"lat")}}n.defineLocale("pl",{months:function(h,v){return h?/D MMMM/.test(v)?u[h.month()]:l[h.month()]:l},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:c,longMonthsParse:c,shortMonthsParse:c,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}})}(s(35908))},51528:function(pe,m,s){!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"})}(s(35908))},18968:function(pe,m,s){!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}})}(s(35908))},5760:function(pe,m,s){!function(n){"use strict";function l(c,i,e){var h=" ";return(c%100>=20||c>=100&&c%100==0)&&(h=" de "),c+h+{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:l,m:"un minut",mm:l,h:"o or\u0103",hh:l,d:"o zi",dd:l,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:l,M:"o lun\u0103",MM:l,y:"un an",yy:l},week:{dow:1,doy:7}})}(s(35908))},19760:function(pe,m,s){!function(n){"use strict";function u(e,o,h){return"m"===h?o?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":e+" "+function l(e,o){var h=e.split("_");return o%10==1&&o%100!=11?h[0]:o%10>=2&&o%10<=4&&(o%100<10||o%100>=20)?h[1]:h[2]}({ss:o?"\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:o?"\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"}[h],+e)}var c=[/^\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:c,longMonthsParse:c,shortMonthsParse:c,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:u,m:u,mm:u,h:"\u0447\u0430\u0441",hh:u,d:"\u0434\u0435\u043d\u044c",dd:u,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:u,M:"\u043c\u0435\u0441\u044f\u0446",MM:u,y:"\u0433\u043e\u0434",yy:u},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,o,h){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,o){switch(o){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}})}(s(35908))},53804:function(pe,m,s){!function(n){"use strict";var l=["\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"],u=["\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:l,monthsShort:l,weekdays:u,weekdaysShort:u,weekdaysMin:u,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(i){return"\u0634\u0627\u0645"===i},meridiem:function(i,e,o){return i<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(i){return i.replace(/\u060c/g,",")},postformat:function(i){return i.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(s(35908))},44100:function(pe,m,s){!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}})}(s(35908))},95301:function(pe,m,s){!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(u){return u+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(u){return"\u0db4.\u0dc0."===u||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===u},meridiem:function(u,c,i){return u>11?i?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":i?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(s(35908))},79992:function(pe,m,s){!function(n){"use strict";var l="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),u="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function c(o){return o>1&&o<5}function i(o,h,v,M){var p=o+" ";switch(v){case"s":return h||M?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return h||M?p+(c(o)?"sekundy":"sek\xfand"):p+"sekundami";case"m":return h?"min\xfata":M?"min\xfatu":"min\xfatou";case"mm":return h||M?p+(c(o)?"min\xfaty":"min\xfat"):p+"min\xfatami";case"h":return h?"hodina":M?"hodinu":"hodinou";case"hh":return h||M?p+(c(o)?"hodiny":"hod\xedn"):p+"hodinami";case"d":return h||M?"de\u0148":"d\u0148om";case"dd":return h||M?p+(c(o)?"dni":"dn\xed"):p+"d\u0148ami";case"M":return h||M?"mesiac":"mesiacom";case"MM":return h||M?p+(c(o)?"mesiace":"mesiacov"):p+"mesiacmi";case"y":return h||M?"rok":"rokom";case"yy":return h||M?p+(c(o)?"roky":"rokov"):p+"rokmi"}}n.defineLocale("sk",{months:l,monthsShort:u,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: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:4}})}(s(35908))},35208:function(pe,m,s){!function(n){"use strict";function l(c,i,e,o){var h=c+" ";switch(e){case"s":return i||o?"nekaj sekund":"nekaj sekundami";case"ss":return h+(1===c?i?"sekundo":"sekundi":2===c?i||o?"sekundi":"sekundah":c<5?i||o?"sekunde":"sekundah":"sekund");case"m":return i?"ena minuta":"eno minuto";case"mm":return h+(1===c?i?"minuta":"minuto":2===c?i||o?"minuti":"minutama":c<5?i||o?"minute":"minutami":i||o?"minut":"minutami");case"h":return i?"ena ura":"eno uro";case"hh":return h+(1===c?i?"ura":"uro":2===c?i||o?"uri":"urama":c<5?i||o?"ure":"urami":i||o?"ur":"urami");case"d":return i||o?"en dan":"enim dnem";case"dd":return h+(1===c?i||o?"dan":"dnem":2===c?i||o?"dni":"dnevoma":i||o?"dni":"dnevi");case"M":return i||o?"en mesec":"enim mesecem";case"MM":return h+(1===c?i||o?"mesec":"mesecem":2===c?i||o?"meseca":"mesecema":c<5?i||o?"mesece":"meseci":i||o?"mesecev":"meseci");case"y":return i||o?"eno leto":"enim letom";case"yy":return h+(1===c?i||o?"leto":"letom":2===c?i||o?"leti":"letoma":c<5?i||o?"leta":"leti":i||o?"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: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:7}})}(s(35908))},27408:function(pe,m,s){!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(u){return"M"===u.charAt(0)},meridiem:function(u,c,i){return u<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}})}(s(35908))},1128:function(pe,m,s){!function(n){"use strict";var l={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(c,i){return c%10>=1&&c%10<=4&&(c%100<10||c%100>=20)?c%10==1?i[0]:i[1]:i[2]},translate:function(c,i,e,o){var v,h=l.words[e];return 1===e.length?"y"===e&&i?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":o||i?h[0]:h[1]:(v=l.correctGrammaticalCase(c,h),"yy"===e&&i&&"\u0433\u043e\u0434\u0438\u043d\u0443"===v?c+" \u0433\u043e\u0434\u0438\u043d\u0430":c+" "+v)}};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:l.translate,m:l.translate,mm:l.translate,h:l.translate,hh:l.translate,d:l.translate,dd:l.translate,M:l.translate,MM:l.translate,y:l.translate,yy:l.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(s(35908))},10656:function(pe,m,s){!function(n){"use strict";var l={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(c,i){return c%10>=1&&c%10<=4&&(c%100<10||c%100>=20)?c%10==1?i[0]:i[1]:i[2]},translate:function(c,i,e,o){var v,h=l.words[e];return 1===e.length?"y"===e&&i?"jedna godina":o||i?h[0]:h[1]:(v=l.correctGrammaticalCase(c,h),"yy"===e&&i&&"godinu"===v?c+" godina":c+" "+v)}};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:l.translate,m:l.translate,mm:l.translate,h:l.translate,hh:l.translate,d:l.translate,dd:l.translate,M:l.translate,MM:l.translate,y:l.translate,yy:l.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(s(35908))},10864:function(pe,m,s){!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(u,c,i){return u<11?"ekuseni":u<15?"emini":u<19?"entsambama":"ebusuku"},meridiemHour:function(u,c){return 12===u&&(u=0),"ekuseni"===c?u:"emini"===c?u>=11?u:u+12:"entsambama"===c||"ebusuku"===c?0===u?0:u+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(s(35908))},16900:function(pe,m,s){!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(u){var c=u%10;return u+(1==~~(u%100/10)?":e":1===c||2===c?":a":":e")},week:{dow:1,doy:4}})}(s(35908))},81636:function(pe,m,s){!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}})}(s(35908))},24180:function(pe,m,s){!function(n){"use strict";var l={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},u={"\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(i){return i+"\u0bb5\u0ba4\u0bc1"},preparse:function(i){return i.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(e){return u[e]})},postformat:function(i){return i.replace(/\d/g,function(e){return l[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(i,e,o){return i<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":i<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":i<10?" \u0b95\u0bbe\u0bb2\u0bc8":i<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":i<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":i<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(i,e){return 12===i&&(i=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===e?i<2?i:i+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===e||"\u0b95\u0bbe\u0bb2\u0bc8"===e||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===e&&i>=10?i:i+12},week:{dow:0,doy:6}})}(s(35908))},97008:function(pe,m,s){!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(u,c){return 12===u&&(u=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===c?u<4?u:u+12:"\u0c09\u0c26\u0c2f\u0c02"===c?u:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===c?u>=10?u:u+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===c?u+12:void 0},meridiem:function(u,c,i){return u<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":u<10?"\u0c09\u0c26\u0c2f\u0c02":u<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":u<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(s(35908))},50744:function(pe,m,s){!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(u){var c=u%10;return u+(1==~~(u%100/10)?"th":1===c?"st":2===c?"nd":3===c?"rd":"th")},week:{dow:1,doy:4}})}(s(35908))},58084:function(pe,m,s){!function(n){"use strict";var l={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(c,i){return 12===c&&(c=0),"\u0448\u0430\u0431"===i?c<4?c:c+12:"\u0441\u0443\u0431\u04b3"===i?c:"\u0440\u04ef\u0437"===i?c>=11?c:c+12:"\u0431\u0435\u0433\u043e\u04b3"===i?c+12:void 0},meridiem:function(c,i,e){return c<4?"\u0448\u0430\u0431":c<11?"\u0441\u0443\u0431\u04b3":c<16?"\u0440\u04ef\u0437":c<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(c){return c+(l[c]||l[c%10]||l[c>=100?100:null])},week:{dow:1,doy:7}})}(s(35908))},81672:function(pe,m,s){!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(u){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===u},meridiem:function(u,c,i){return u<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"}})}(s(35908))},57232:function(pe,m,s){!function(n){"use strict";var l={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(c,i){switch(i){case"d":case"D":case"Do":case"DD":return c;default:if(0===c)return c+"'unjy";var e=c%10;return c+(l[e]||l[c%100-e]||l[c>=100?100:null])}},week:{dow:1,doy:7}})}(s(35908))},89480:function(pe,m,s){!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(u){return u},week:{dow:1,doy:4}})}(s(35908))},58512:function(pe,m,s){!function(n){"use strict";var l="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function i(h,v,M,p){var E=function e(h){var v=Math.floor(h%1e3/100),M=Math.floor(h%100/10),p=h%10,E="";return v>0&&(E+=l[v]+"vatlh"),M>0&&(E+=(""!==E?" ":"")+l[M]+"maH"),p>0&&(E+=(""!==E?" ":"")+l[p]),""===E?"pagh":E}(h);switch(M){case"ss":return E+" lup";case"mm":return E+" tup";case"hh":return E+" rep";case"dd":return E+" jaj";case"MM":return E+" jar";case"yy":return E+" 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 u(h){var v=h;return-1!==h.indexOf("jaj")?v.slice(0,-3)+"leS":-1!==h.indexOf("jar")?v.slice(0,-3)+"waQ":-1!==h.indexOf("DIS")?v.slice(0,-3)+"nem":v+" pIq"},past:function c(h){var v=h;return-1!==h.indexOf("jaj")?v.slice(0,-3)+"Hu\u2019":-1!==h.indexOf("jar")?v.slice(0,-3)+"wen":-1!==h.indexOf("DIS")?v.slice(0,-3)+"ben":v+" ret"},s:"puS lup",ss:i,m:"wa\u2019 tup",mm:i,h:"wa\u2019 rep",hh:i,d:"wa\u2019 jaj",dd:i,M:"wa\u2019 jar",MM:i,y:"wa\u2019 DIS",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(35908))},56020:function(pe,m,s){!function(n){"use strict";var l={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(c,i,e){return c<12?e?"\xf6\xf6":"\xd6\xd6":e?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(c){return"\xf6s"===c||"\xd6S"===c},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(c,i){switch(i){case"d":case"D":case"Do":case"DD":return c;default:if(0===c)return c+"'\u0131nc\u0131";var e=c%10;return c+(l[e]||l[c%100-e]||l[c>=100?100:null])}},week:{dow:1,doy:7}})}(s(35908))},36240:function(pe,m,s){!function(n){"use strict";function u(c,i,e,o){var h={s:["viensas secunds","'iensas secunds"],ss:[c+" secunds",c+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[c+" m\xeduts",c+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[c+" \xfeoras",c+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[c+" ziuas",c+" ziuas"],M:["'n mes","'iens mes"],MM:[c+" mesen",c+" mesen"],y:["'n ar","'iens ar"],yy:[c+" ars",c+" ars"]};return o||i?h[e][0]:h[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(c){return"d'o"===c.toLowerCase()},meridiem:function(c,i,e){return c>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: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}})}(s(35908))},53384:function(pe,m,s){!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}})}(s(35908))},33064:function(pe,m,s){!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}})}(s(35908))},45852:function(pe,m,s){!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(u,c){return 12===u&&(u=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===c||"\u0633\u06d5\u06be\u06d5\u0631"===c||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===c?u:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===c||"\u0643\u06d5\u0686"===c?u+12:u>=11?u:u+12},meridiem:function(u,c,i){var e=100*u+c;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(u,c){switch(c){case"d":case"D":case"DDD":return u+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return u+"-\u06be\u06d5\u067e\u062a\u06d5";default:return u}},preparse:function(u){return u.replace(/\u060c/g,",")},postformat:function(u){return u.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(s(35908))},12480:function(pe,m,s){!function(n){"use strict";function u(o,h,v){return"m"===v?h?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===v?h?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":o+" "+function l(o,h){var v=o.split("_");return h%10==1&&h%100!=11?v[0]:h%10>=2&&h%10<=4&&(h%100<10||h%100>=20)?v[1]:v[2]}({ss:h?"\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:h?"\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:h?"\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"}[v],+o)}function i(o){return function(){return o+"\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 c(o,h){var v={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===o?v.nominative.slice(1,7).concat(v.nominative.slice(0,1)):o?v[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(h)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(h)?"genitive":"nominative"][o.day()]:v.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:i("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:i("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:i("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:i("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return i("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return i("[\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:u,m:u,mm:u,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:u,d:"\u0434\u0435\u043d\u044c",dd:u,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:u,y:"\u0440\u0456\u043a",yy:u},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(o){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(o)},meridiem:function(o,h,v){return o<4?"\u043d\u043e\u0447\u0456":o<12?"\u0440\u0430\u043d\u043a\u0443":o<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(o,h){switch(h){case"M":case"d":case"DDD":case"w":case"W":return o+"-\u0439";case"D":return o+"-\u0433\u043e";default:return o}},week:{dow:1,doy:7}})}(s(35908))},63877:function(pe,m,s){!function(n){"use strict";var l=["\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"],u=["\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:l,monthsShort:l,weekdays:u,weekdaysShort:u,weekdaysMin:u,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(i){return"\u0634\u0627\u0645"===i},meridiem:function(i,e,o){return i<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(i){return i.replace(/\u060c/g,",")},postformat:function(i){return i.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(s(35908))},20108:function(pe,m,s){!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}})}(s(35908))},91712:function(pe,m,s){!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}})}(s(35908))},9984:function(pe,m,s){!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(u){return/^ch$/i.test(u)},meridiem:function(u,c,i){return u<12?i?"sa":"SA":i?"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(u){return u},week:{dow:1,doy:4}})}(s(35908))},45708:function(pe,m,s){!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(u){var c=u%10;return u+(1==~~(u%100/10)?"th":1===c?"st":2===c?"nd":3===c?"rd":"th")},week:{dow:1,doy:4}})}(s(35908))},78476:function(pe,m,s){!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}})}(s(35908))},3676:function(pe,m,s){!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(u,c){return 12===u&&(u=0),"\u51cc\u6668"===c||"\u65e9\u4e0a"===c||"\u4e0a\u5348"===c?u:"\u4e0b\u5348"===c||"\u665a\u4e0a"===c?u+12:u>=11?u:u+12},meridiem:function(u,c,i){var e=100*u+c;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(u){return u.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(u){return this.week()!==u.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(u,c){switch(c){case"d":case"D":case"DDD":return u+"\u65e5";case"M":return u+"\u6708";case"w":case"W":return u+"\u5468";default:return u}},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}})}(s(35908))},49880:function(pe,m,s){!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(u,c){return 12===u&&(u=0),"\u51cc\u6668"===c||"\u65e9\u4e0a"===c||"\u4e0a\u5348"===c?u:"\u4e2d\u5348"===c?u>=11?u:u+12:"\u4e0b\u5348"===c||"\u665a\u4e0a"===c?u+12:void 0},meridiem:function(u,c,i){var e=100*u+c;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(u,c){switch(c){case"d":case"D":case"DDD":return u+"\u65e5";case"M":return u+"\u6708";case"w":case"W":return u+"\u9031";default:return u}},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"}})}(s(35908))},41968:function(pe,m,s){!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(u,c){return 12===u&&(u=0),"\u51cc\u6668"===c||"\u65e9\u4e0a"===c||"\u4e0a\u5348"===c?u:"\u4e2d\u5348"===c?u>=11?u:u+12:"\u4e0b\u5348"===c||"\u665a\u4e0a"===c?u+12:void 0},meridiem:function(u,c,i){var e=100*u+c;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(u,c){switch(c){case"d":case"D":case"DDD":return u+"\u65e5";case"M":return u+"\u6708";case"w":case"W":return u+"\u9031";default:return u}},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"}})}(s(35908))},33632:function(pe,m,s){!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(u,c){return 12===u&&(u=0),"\u51cc\u6668"===c||"\u65e9\u4e0a"===c||"\u4e0a\u5348"===c?u:"\u4e2d\u5348"===c?u>=11?u:u+12:"\u4e0b\u5348"===c||"\u665a\u4e0a"===c?u+12:void 0},meridiem:function(u,c,i){var e=100*u+c;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(u,c){switch(c){case"d":case"D":case"DDD":return u+"\u65e5";case"M":return u+"\u6708";case"w":case"W":return u+"\u9031";default:return u}},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"}})}(s(35908))},35908:function(pe,m,s){(pe=s.nmd(pe)).exports=function(){"use strict";var n,C;function l(){return n.apply(null,arguments)}function c(O){return O instanceof Array||"[object Array]"===Object.prototype.toString.call(O)}function i(O){return null!=O&&"[object Object]"===Object.prototype.toString.call(O)}function e(O,J){return Object.prototype.hasOwnProperty.call(O,J)}function o(O){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(O).length;var J;for(J in O)if(e(O,J))return!1;return!0}function h(O){return void 0===O}function v(O){return"number"==typeof O||"[object Number]"===Object.prototype.toString.call(O)}function M(O){return O instanceof Date||"[object Date]"===Object.prototype.toString.call(O)}function p(O,J){var Oe,ve=[],tt=O.length;for(Oe=0;Oe>>0;for(Oe=0;Oe0)for(ve=0;ve=0?ve?"+":"":"-")+Math.pow(10,Math.max(0,J-Oe.length)).toString().substr(1)+Oe}var Ie=/(\[[^\[]*\])|(\\)?([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,Le=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Ue={},Xe={};function _e(O,J,ve,Oe){var tt=Oe;"string"==typeof Oe&&(tt=function(){return this[Oe]()}),O&&(Xe[O]=tt),J&&(Xe[J[0]]=function(){return xe(tt.apply(this,arguments),J[1],J[2])}),ve&&(Xe[ve]=function(){return this.localeData().ordinal(tt.apply(this,arguments),O)})}function Fe(O){return O.match(/\[[\s\S]/)?O.replace(/^\[|\]$/g,""):O.replace(/\\/g,"")}function Ae(O,J){return O.isValid()?(J=Be(J,O.localeData()),Ue[J]=Ue[J]||function Ce(O){var ve,Oe,J=O.match(Ie);for(ve=0,Oe=J.length;ve=0&&Le.test(O);)O=O.replace(Le,Oe),Le.lastIndex=0,ve-=1;return O}var zt={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 Xt(O){return"string"==typeof O?zt[O]||zt[O.toLowerCase()]:void 0}function En(O){var ve,Oe,J={};for(Oe in O)e(O,Oe)&&(ve=Xt(Oe))&&(J[ve]=O[Oe]);return J}var $n={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 Hn,zn=/\d/,kn=/\d\d/,ln=/\d{3}/,ut=/\d{4}/,Te=/[+-]?\d{6}/,me=/\d\d?/,fe=/\d\d\d\d?/,$e=/\d\d\d\d\d\d?/,Ye=/\d{1,3}/,ft=/\d{1,4}/,$t=/[+-]?\d{1,6}/,un=/\d+/,Vn=/[+-]?\d+/,tr=/Z|[+-]\d\d:?\d\d/gi,br=/Z|[+-]\d\d(?::?\d\d)?/gi,fi=/[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,Cr=/^[1-9]\d?/,jr=/^([1-9]\d|\d)/;function Dt(O,J,ve){Hn[O]=K(J)?J:function(Oe,tt){return Oe&&ve?ve:J}}function qt(O,J){return e(Hn,O)?Hn[O](J._strict,J._locale):new RegExp(function yt(O){return Ze(O.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(J,ve,Oe,tt,Yt){return ve||Oe||tt||Yt}))}(O))}function Ze(O){return O.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Rt(O){return O<0?Math.ceil(O)||0:Math.floor(O)}function je(O){var J=+O,ve=0;return 0!==J&&isFinite(J)&&(ve=Rt(J)),ve}Hn={};var pt={};function mt(O,J){var ve,tt,Oe=J;for("string"==typeof O&&(O=[O]),v(J)&&(Oe=function(Yt,Tn){Tn[J]=je(Yt)}),tt=O.length,ve=0;ve68?1900:2e3)};var rt,Nr=tn("FullYear",!0);function tn(O,J){return function(ve){return null!=ve?(qn(this,O,ve),l.updateOffset(this,J),this):jn(this,O)}}function jn(O,J){if(!O.isValid())return NaN;var ve=O._d,Oe=O._isUTC;switch(J){case"Milliseconds":return Oe?ve.getUTCMilliseconds():ve.getMilliseconds();case"Seconds":return Oe?ve.getUTCSeconds():ve.getSeconds();case"Minutes":return Oe?ve.getUTCMinutes():ve.getMinutes();case"Hours":return Oe?ve.getUTCHours():ve.getHours();case"Date":return Oe?ve.getUTCDate():ve.getDate();case"Day":return Oe?ve.getUTCDay():ve.getDay();case"Month":return Oe?ve.getUTCMonth():ve.getMonth();case"FullYear":return Oe?ve.getUTCFullYear():ve.getFullYear();default:return NaN}}function qn(O,J,ve){var Oe,tt,Yt,Tn,mr;if(O.isValid()&&!isNaN(ve)){switch(Oe=O._d,tt=O._isUTC,J){case"Milliseconds":return void(tt?Oe.setUTCMilliseconds(ve):Oe.setMilliseconds(ve));case"Seconds":return void(tt?Oe.setUTCSeconds(ve):Oe.setSeconds(ve));case"Minutes":return void(tt?Oe.setUTCMinutes(ve):Oe.setMinutes(ve));case"Hours":return void(tt?Oe.setUTCHours(ve):Oe.setHours(ve));case"Date":return void(tt?Oe.setUTCDate(ve):Oe.setDate(ve));case"FullYear":break;default:return}Yt=ve,Tn=O.month(),mr=29!==(mr=O.date())||1!==Tn||jt(Yt)?mr:28,tt?Oe.setUTCFullYear(Yt,Tn,mr):Oe.setFullYear(Yt,Tn,mr)}}function kt(O,J){if(isNaN(O)||isNaN(J))return NaN;var ve=function Fr(O,J){return(O%J+J)%J}(J,12);return O+=(J-ve)/12,1===ve?jt(O)?29:28:31-ve%7%2}rt=Array.prototype.indexOf?Array.prototype.indexOf:function(O){var J;for(J=0;J=0?(mr=new Date(O+400,J,ve,Oe,tt,Yt,Tn),isFinite(mr.getFullYear())&&mr.setFullYear(O)):mr=new Date(O,J,ve,Oe,tt,Yt,Tn),mr}function Se(O){var J,ve;return O<100&&O>=0?((ve=Array.prototype.slice.call(arguments))[0]=O+400,J=new Date(Date.UTC.apply(null,ve)),isFinite(J.getUTCFullYear())&&J.setUTCFullYear(O)):J=new Date(Date.UTC.apply(null,arguments)),J}function he(O,J,ve){var Oe=7+J-ve;return-(7+Se(O,0,Oe).getUTCDay()-J)%7+Oe-1}function q(O,J,ve,Oe,tt){var Xr,vi,mr=1+7*(J-1)+(7+ve-Oe)%7+he(O,Oe,tt);return mr<=0?vi=nr(Xr=O-1)+mr:mr>nr(O)?(Xr=O+1,vi=mr-nr(O)):(Xr=O,vi=mr),{year:Xr,dayOfYear:vi}}function de(O,J,ve){var Yt,Tn,Oe=he(O.year(),J,ve),tt=Math.floor((O.dayOfYear()-Oe-1)/7)+1;return tt<1?Yt=tt+qe(Tn=O.year()-1,J,ve):tt>qe(O.year(),J,ve)?(Yt=tt-qe(O.year(),J,ve),Tn=O.year()+1):(Tn=O.year(),Yt=tt),{week:Yt,year:Tn}}function qe(O,J,ve){var Oe=he(O,J,ve),tt=he(O+1,J,ve);return(nr(O)-Oe+tt)/7}_e("w",["ww",2],"wo","week"),_e("W",["WW",2],"Wo","isoWeek"),Dt("w",me,Cr),Dt("ww",me,kn),Dt("W",me,Cr),Dt("WW",me,kn),on(["w","ww","W","WW"],function(O,J,ve,Oe){J[Oe.substr(0,1)]=je(O)});function In(O,J){return O.slice(J,7).concat(O.slice(0,J))}_e("d",0,"do","day"),_e("dd",0,0,function(O){return this.localeData().weekdaysMin(this,O)}),_e("ddd",0,0,function(O){return this.localeData().weekdaysShort(this,O)}),_e("dddd",0,0,function(O){return this.localeData().weekdays(this,O)}),_e("e",0,0,"weekday"),_e("E",0,0,"isoWeekday"),Dt("d",me),Dt("e",me),Dt("E",me),Dt("dd",function(O,J){return J.weekdaysMinRegex(O)}),Dt("ddd",function(O,J){return J.weekdaysShortRegex(O)}),Dt("dddd",function(O,J){return J.weekdaysRegex(O)}),on(["dd","ddd","dddd"],function(O,J,ve,Oe){var tt=ve._locale.weekdaysParse(O,Oe,ve._strict);null!=tt?J.d=tt:f(ve).invalidWeekday=O}),on(["d","e","E"],function(O,J,ve,Oe){J[Oe]=je(O)});var Un="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),_r="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),hr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Lr=fi,ti=fi,it=fi;function xn(O,J,ve){var Oe,tt,Yt,Tn=O.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],Oe=0;Oe<7;++Oe)Yt=S([2e3,1]).day(Oe),this._minWeekdaysParse[Oe]=this.weekdaysMin(Yt,"").toLocaleLowerCase(),this._shortWeekdaysParse[Oe]=this.weekdaysShort(Yt,"").toLocaleLowerCase(),this._weekdaysParse[Oe]=this.weekdays(Yt,"").toLocaleLowerCase();return ve?"dddd"===J?-1!==(tt=rt.call(this._weekdaysParse,Tn))?tt:null:"ddd"===J?-1!==(tt=rt.call(this._shortWeekdaysParse,Tn))?tt:null:-1!==(tt=rt.call(this._minWeekdaysParse,Tn))?tt:null:"dddd"===J?-1!==(tt=rt.call(this._weekdaysParse,Tn))||-1!==(tt=rt.call(this._shortWeekdaysParse,Tn))||-1!==(tt=rt.call(this._minWeekdaysParse,Tn))?tt:null:"ddd"===J?-1!==(tt=rt.call(this._shortWeekdaysParse,Tn))||-1!==(tt=rt.call(this._weekdaysParse,Tn))||-1!==(tt=rt.call(this._minWeekdaysParse,Tn))?tt:null:-1!==(tt=rt.call(this._minWeekdaysParse,Tn))||-1!==(tt=rt.call(this._weekdaysParse,Tn))||-1!==(tt=rt.call(this._shortWeekdaysParse,Tn))?tt:null}function ni(){function O(ha,qa){return qa.length-ha.length}var Yt,Tn,mr,Xr,vi,J=[],ve=[],Oe=[],tt=[];for(Yt=0;Yt<7;Yt++)Tn=S([2e3,1]).day(Yt),mr=Ze(this.weekdaysMin(Tn,"")),Xr=Ze(this.weekdaysShort(Tn,"")),vi=Ze(this.weekdays(Tn,"")),J.push(mr),ve.push(Xr),Oe.push(vi),tt.push(mr),tt.push(Xr),tt.push(vi);J.sort(O),ve.sort(O),Oe.sort(O),tt.sort(O),this._weekdaysRegex=new RegExp("^("+tt.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+Oe.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+ve.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+J.join("|")+")","i")}function ji(){return this.hours()%12||12}function Ji(O,J){_e(O,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),J)})}function Do(O,J){return J._meridiemParse}_e("H",["HH",2],0,"hour"),_e("h",["hh",2],0,ji),_e("k",["kk",2],0,function yr(){return this.hours()||24}),_e("hmm",0,0,function(){return""+ji.apply(this)+xe(this.minutes(),2)}),_e("hmmss",0,0,function(){return""+ji.apply(this)+xe(this.minutes(),2)+xe(this.seconds(),2)}),_e("Hmm",0,0,function(){return""+this.hours()+xe(this.minutes(),2)}),_e("Hmmss",0,0,function(){return""+this.hours()+xe(this.minutes(),2)+xe(this.seconds(),2)}),Ji("a",!0),Ji("A",!1),Dt("a",Do),Dt("A",Do),Dt("H",me,jr),Dt("h",me,Cr),Dt("k",me,Cr),Dt("HH",me,kn),Dt("hh",me,kn),Dt("kk",me,kn),Dt("hmm",fe),Dt("hmmss",$e),Dt("Hmm",fe),Dt("Hmmss",$e),mt(["H","HH"],At),mt(["k","kk"],function(O,J,ve){var Oe=je(O);J[At]=24===Oe?0:Oe}),mt(["a","A"],function(O,J,ve){ve._isPm=ve._locale.isPM(O),ve._meridiem=O}),mt(["h","hh"],function(O,J,ve){J[At]=je(O),f(ve).bigHour=!0}),mt("hmm",function(O,J,ve){var Oe=O.length-2;J[At]=je(O.substr(0,Oe)),J[Ut]=je(O.substr(Oe)),f(ve).bigHour=!0}),mt("hmmss",function(O,J,ve){var Oe=O.length-4,tt=O.length-2;J[At]=je(O.substr(0,Oe)),J[Ut]=je(O.substr(Oe,2)),J[ar]=je(O.substr(tt)),f(ve).bigHour=!0}),mt("Hmm",function(O,J,ve){var Oe=O.length-2;J[At]=je(O.substr(0,Oe)),J[Ut]=je(O.substr(Oe))}),mt("Hmmss",function(O,J,ve){var Oe=O.length-4,tt=O.length-2;J[At]=je(O.substr(0,Oe)),J[Ut]=je(O.substr(Oe,2)),J[ar]=je(O.substr(tt))});var ro=tn("Hours",!0);var gi,oo={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:Et,monthsShort:an,week:{dow:0,doy:6},weekdays:Un,weekdaysMin:hr,weekdaysShort:_r,meridiemParse:/[ap]\.?m?\.?/i},Pn={},bo={};function Hi(O,J){var ve,Oe=Math.min(O.length,J.length);for(ve=0;ve0;){if(tt=Ai(Yt.slice(0,ve).join("-")))return tt;if(Oe&&Oe.length>=ve&&Hi(Yt,Oe)>=ve-1)break;ve--}J++}return gi}(O)}function Vi(O){var J,ve=O._a;return ve&&-2===f(O).overflow&&(J=ve[Pe]<0||ve[Pe]>11?Pe:ve[gt]<1||ve[gt]>kt(ve[Mn],ve[Pe])?gt:ve[At]<0||ve[At]>24||24===ve[At]&&(0!==ve[Ut]||0!==ve[ar]||0!==ve[ur])?At:ve[Ut]<0||ve[Ut]>59?Ut:ve[ar]<0||ve[ar]>59?ar:ve[ur]<0||ve[ur]>999?ur:-1,f(O)._overflowDayOfYear&&(Jgt)&&(J=gt),f(O)._overflowWeeks&&-1===J&&(J=Tr),f(O)._overflowWeekday&&-1===J&&(J=lr),f(O).overflow=J),O}var ei=/^\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)?)?$/,Uo=/^\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)?)?$/,Fi=/Z|[+-]\d\d(?::?\d\d)?/,ao=[["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]],Gi=[["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/]],xo=/^\/?Date\((-?\d+)/i,Bo=/^(?:(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}))$/,so={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Oo(O){var J,ve,Yt,Tn,mr,Xr,Oe=O._i,tt=ei.exec(Oe)||Uo.exec(Oe),vi=ao.length,ha=Gi.length;if(tt){for(f(O).iso=!0,J=0,ve=vi;J7)&&(Xr=!0)):(Yt=O._locale._week.dow,Tn=O._locale._week.doy,vi=de(It(),Yt,Tn),ve=zo(J.gg,O._a[Mn],vi.year),Oe=zo(J.w,vi.week),null!=J.d?((tt=J.d)<0||tt>6)&&(Xr=!0):null!=J.e?(tt=J.e+Yt,(J.e<0||J.e>6)&&(Xr=!0)):tt=Yt),Oe<1||Oe>qe(ve,Yt,Tn)?f(O)._overflowWeeks=!0:null!=Xr?f(O)._overflowWeekday=!0:(mr=q(ve,Oe,tt,Yt,Tn),O._a[Mn]=mr.year,O._dayOfYear=mr.dayOfYear)}(O),null!=O._dayOfYear&&(Tn=zo(O._a[Mn],tt[Mn]),(O._dayOfYear>nr(Tn)||0===O._dayOfYear)&&(f(O)._overflowDayOfYear=!0),ve=Se(Tn,0,O._dayOfYear),O._a[Pe]=ve.getUTCMonth(),O._a[gt]=ve.getUTCDate()),J=0;J<3&&null==O._a[J];++J)O._a[J]=Oe[J]=tt[J];for(;J<7;J++)O._a[J]=Oe[J]=null==O._a[J]?2===J?1:0:O._a[J];24===O._a[At]&&0===O._a[Ut]&&0===O._a[ar]&&0===O._a[ur]&&(O._nextDay=!0,O._a[At]=0),O._d=(O._useUTC?Se:Q).apply(null,Oe),Yt=O._useUTC?O._d.getUTCDay():O._d.getDay(),null!=O._tzm&&O._d.setUTCMinutes(O._d.getUTCMinutes()-O._tzm),O._nextDay&&(O._a[At]=24),O._w&&typeof O._w.d<"u"&&O._w.d!==Yt&&(f(O).weekdayMismatch=!0)}}function Zo(O){if(O._f!==l.ISO_8601)if(O._f!==l.RFC_2822){O._a=[],f(O).empty=!0;var ve,Oe,tt,Yt,Tn,vi,ha,J=""+O._i,mr=J.length,Xr=0;for(ha=(tt=Be(O._f,O._locale).match(Ie)||[]).length,ve=0;ve0&&f(O).unusedInput.push(Tn),J=J.slice(J.indexOf(Oe)+Oe.length),Xr+=Oe.length),Xe[Yt]?(Oe?f(O).empty=!1:f(O).unusedTokens.push(Yt),Ln(Yt,Oe,O)):O._strict&&!Oe&&f(O).unusedTokens.push(Yt);f(O).charsLeftOver=mr-Xr,J.length>0&&f(O).unusedInput.push(J),O._a[At]<=12&&!0===f(O).bigHour&&O._a[At]>0&&(f(O).bigHour=void 0),f(O).parsedDateParts=O._a.slice(0),f(O).meridiem=O._meridiem,O._a[At]=function To(O,J,ve){var Oe;return null==ve?J:null!=O.meridiemHour?O.meridiemHour(J,ve):(null!=O.isPM&&((Oe=O.isPM(ve))&&J<12&&(J+=12),!Oe&&12===J&&(J=0)),J)}(O._locale,O._a[At],O._meridiem),null!==(vi=f(O).era)&&(O._a[Mn]=O._locale.erasConvertYear(vi,O._a[Mn])),Xi(O),Vi(O)}else Ni(O);else Oo(O)}function Ve(O){var J=O._i,ve=O._f;return O._locale=O._locale||Yr(O._l),null===J||void 0===ve&&""===J?w({nullInput:!0}):("string"==typeof J&&(O._i=J=O._locale.preparse(J)),G(J)?new V(Vi(J)):(M(J)?O._d=J:c(ve)?function Wo(O){var J,ve,Oe,tt,Yt,Tn,mr=!1,Xr=O._f.length;if(0===Xr)return f(O).invalidFormat=!0,void(O._d=new Date(NaN));for(tt=0;ttthis?this:O:w()});function Mi(O,J){var ve,Oe;if(1===J.length&&c(J[0])&&(J=J[0]),!J.length)return It();for(ve=J[0],Oe=1;Oe=0?new Date(O+400,J,ve)-Sr:new Date(O,J,ve).valueOf()}function Co(O,J,ve){return O<100&&O>=0?Date.UTC(O+400,J,ve)-Sr:Date.UTC(O,J,ve)}function cs(O,J){return J.erasAbbrRegex(O)}function ea(){var tt,Yt,Tn,mr,Xr,O=[],J=[],ve=[],Oe=[],vi=this.eras();for(tt=0,Yt=vi.length;tt(Yt=qe(O,Oe,tt))&&(J=Yt),cl.call(this,O,J,ve,Oe,tt))}function cl(O,J,ve,Oe,tt){var Yt=q(O,J,ve,Oe,tt),Tn=Se(Yt.year,0,Yt.dayOfYear);return this.year(Tn.getUTCFullYear()),this.month(Tn.getUTCMonth()),this.date(Tn.getUTCDate()),this}_e("N",0,0,"eraAbbr"),_e("NN",0,0,"eraAbbr"),_e("NNN",0,0,"eraAbbr"),_e("NNNN",0,0,"eraName"),_e("NNNNN",0,0,"eraNarrow"),_e("y",["y",1],"yo","eraYear"),_e("y",["yy",2],0,"eraYear"),_e("y",["yyy",3],0,"eraYear"),_e("y",["yyyy",4],0,"eraYear"),Dt("N",cs),Dt("NN",cs),Dt("NNN",cs),Dt("NNNN",function ec(O,J){return J.erasNameRegex(O)}),Dt("NNNNN",function ll(O,J){return J.erasNarrowRegex(O)}),mt(["N","NN","NNN","NNNN","NNNNN"],function(O,J,ve,Oe){var tt=ve._locale.erasParse(O,Oe,ve._strict);tt?f(ve).era=tt:f(ve).invalidEra=O}),Dt("y",un),Dt("yy",un),Dt("yyy",un),Dt("yyyy",un),Dt("yo",function gu(O,J){return J._eraYearOrdinalRegex||un}),mt(["y","yy","yyy","yyyy"],Mn),mt(["yo"],function(O,J,ve,Oe){var tt;ve._locale._eraYearOrdinalRegex&&(tt=O.match(ve._locale._eraYearOrdinalRegex)),J[Mn]=ve._locale.eraYearOrdinalParse?ve._locale.eraYearOrdinalParse(O,tt):parseInt(O,10)}),_e(0,["gg",2],0,function(){return this.weekYear()%100}),_e(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Za("gggg","weekYear"),Za("ggggg","weekYear"),Za("GGGG","isoWeekYear"),Za("GGGGG","isoWeekYear"),Dt("G",Vn),Dt("g",Vn),Dt("GG",me,kn),Dt("gg",me,kn),Dt("GGGG",ft,ut),Dt("gggg",ft,ut),Dt("GGGGG",$t,Te),Dt("ggggg",$t,Te),on(["gggg","ggggg","GGGG","GGGGG"],function(O,J,ve,Oe){J[Oe.substr(0,2)]=je(O)}),on(["gg","GG"],function(O,J,ve,Oe){J[Oe]=l.parseTwoDigitYear(O)}),_e("Q",0,"Qo","quarter"),Dt("Q",zn),mt("Q",function(O,J){J[Pe]=3*(je(O)-1)}),_e("D",["DD",2],"Do","date"),Dt("D",me,Cr),Dt("DD",me,kn),Dt("Do",function(O,J){return O?J._dayOfMonthOrdinalParse||J._ordinalParse:J._dayOfMonthOrdinalParseLenient}),mt(["D","DD"],gt),mt("Do",function(O,J){J[gt]=je(O.match(me)[0])});var Is=tn("Date",!0);_e("DDD",["DDDD",3],"DDDo","dayOfYear"),Dt("DDD",Ye),Dt("DDDD",ln),mt(["DDD","DDDD"],function(O,J,ve){ve._dayOfYear=je(O)}),_e("m",["mm",2],0,"minute"),Dt("m",me,jr),Dt("mm",me,kn),mt(["m","mm"],Ut);var dl=tn("Minutes",!1);_e("s",["ss",2],0,"second"),Dt("s",me,jr),Dt("ss",me,kn),mt(["s","ss"],ar);var ta,si,vu=tn("Seconds",!1);for(_e("S",0,0,function(){return~~(this.millisecond()/100)}),_e(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),_e(0,["SSS",3],0,"millisecond"),_e(0,["SSSS",4],0,function(){return 10*this.millisecond()}),_e(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),_e(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),_e(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),_e(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),_e(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),Dt("S",Ye,zn),Dt("SS",Ye,kn),Dt("SSS",Ye,ln),ta="SSSS";ta.length<=9;ta+="S")Dt(ta,un);function Gs(O,J){J[ur]=je(1e3*("0."+O))}for(ta="S";ta.length<=9;ta+="S")mt(ta,Gs);si=tn("Milliseconds",!1),_e("z",0,0,"zoneAbbr"),_e("zz",0,0,"zoneName");var Gn=V.prototype;function ds(O){return O}Gn.add=Si,Gn.calendar=function we(O,J){1===arguments.length&&(arguments[0]?Ar(arguments[0])?(O=arguments[0],J=void 0):function Qr(O){var tt,J=i(O)&&!o(O),ve=!1,Oe=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(tt=0;ttve.valueOf():ve.valueOf()9999?Ae(ve,J?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):K(Date.prototype.toISOString)?J?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",Ae(ve,"Z")):Ae(ve,J?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Gn.inspect=function se(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var ve,Oe,O="moment",J="";return this.isLocal()||(O=0===this.utcOffset()?"moment.utc":"moment.parseZone",J="Z"),ve="["+O+'("]',Oe=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(ve+Oe+"-MM-DD[T]HH:mm:ss.SSS"+J+'[")]')},typeof Symbol<"u"&&null!=Symbol.for&&(Gn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Gn.toJSON=function Jl(){return this.isValid()?this.toISOString():null},Gn.toString=function Y(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Gn.unix=function yi(){return Math.floor(this.valueOf()/1e3)},Gn.valueOf=function Yi(){return this._d.valueOf()-6e4*(this._offset||0)},Gn.creationData=function La(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Gn.eraName=function sl(){var O,J,ve,Oe=this.localeData().eras();for(O=0,J=Oe.length;Othis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Gn.isLocal=function Gt(){return!!this.isValid()&&!this._isUTC},Gn.isUtcOffset=function yn(){return!!this.isValid()&&this._isUTC},Gn.isUtc=rr,Gn.isUTC=rr,Gn.zoneAbbr=function Va(){return this._isUTC?"UTC":""},Gn.zoneName=function As(){return this._isUTC?"Coordinated Universal Time":""},Gn.dates=k("dates accessor is deprecated. Use date instead.",Is),Gn.months=k("months accessor is deprecated. Use month instead",Ir),Gn.years=k("years accessor is deprecated. Use year instead",Nr),Gn.zone=k("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function $(O,J){return null!=O?("string"!=typeof O&&(O=-O),this.utcOffset(O,J),this):-this.utcOffset()}),Gn.isDSTShifted=k("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function Ht(){if(!h(this._isDSTShifted))return this._isDSTShifted;var J,O={};return N(O,this),(O=Ve(O))._a?(J=O._isUTC?S(O._a):It(O._a),this._isDSTShifted=this.isValid()&&function qi(O,J,ve){var Tn,Oe=Math.min(O.length,J.length),tt=Math.abs(O.length-J.length),Yt=0;for(Tn=0;Tn0):this._isDSTShifted=!1,this._isDSTShifted});var _i=be.prototype;function W(O,J,ve,Oe){var tt=Yr(),Yt=S().set(Oe,J);return tt[ve](Yt,O)}function ae(O,J,ve){if(v(O)&&(J=O,O=void 0),O=O||"",null!=J)return W(O,J,ve,"month");var Oe,tt=[];for(Oe=0;Oe<12;Oe++)tt[Oe]=W(O,Oe,ve,"month");return tt}function Z(O,J,ve,Oe){"boolean"==typeof O?(v(J)&&(ve=J,J=void 0),J=J||""):(ve=J=O,O=!1,v(J)&&(ve=J,J=void 0),J=J||"");var Tn,tt=Yr(),Yt=O?tt._week.dow:0,mr=[];if(null!=ve)return W(J,(ve+Yt)%7,Oe,"day");for(Tn=0;Tn<7;Tn++)mr[Tn]=W(J,(Tn+Yt)%7,Oe,"day");return mr}_i.calendar=function ct(O,J,ve){var Oe=this._calendar[O]||this._calendar.sameElse;return K(Oe)?Oe.call(J,ve):Oe},_i.longDateFormat=function Ee(O){var J=this._longDateFormat[O],ve=this._longDateFormat[O.toUpperCase()];return J||!ve?J:(this._longDateFormat[O]=ve.match(Ie).map(function(Oe){return"MMMM"===Oe||"MM"===Oe||"DD"===Oe||"dddd"===Oe?Oe.slice(1):Oe}).join(""),this._longDateFormat[O])},_i.invalidDate=function vt(){return this._invalidDate},_i.ordinal=function ot(O){return this._ordinal.replace("%d",O)},_i.preparse=ds,_i.postformat=ds,_i.relativeTime=function nn(O,J,ve,Oe){var tt=this._relativeTime[ve];return K(tt)?tt(O,J,ve,Oe):tt.replace(/%d/i,O)},_i.pastFuture=function vn(O,J){var ve=this._relativeTime[O>0?"future":"past"];return K(ve)?ve(J):ve.replace(/%s/i,J)},_i.set=function ie(O){var J,ve;for(ve in O)e(O,ve)&&(K(J=O[ve])?this[ve]=J:this["_"+ve]=J);this._config=O,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},_i.eras=function al(O,J){var ve,Oe,tt,Yt=this._eras||Yr("en")._eras;for(ve=0,Oe=Yt.length;ve=0)return Yt[Oe]},_i.erasConvertYear=function Es(O,J){var ve=O.since<=O.until?1:-1;return void 0===J?l(O.since).year():l(O.since).year()+(J-O.offset)*ve},_i.erasAbbrRegex=function Ws(O){return e(this,"_erasAbbrRegex")||ea.call(this),O?this._erasAbbrRegex:this._erasRegex},_i.erasNameRegex=function ql(O){return e(this,"_erasNameRegex")||ea.call(this),O?this._erasNameRegex:this._erasRegex},_i.erasNarrowRegex=function Ds(O){return e(this,"_erasNarrowRegex")||ea.call(this),O?this._erasNarrowRegex:this._erasRegex},_i.months=function sr(O,J){return O?c(this._months)?this._months[O.month()]:this._months[(this._months.isFormat||mn).test(J)?"format":"standalone"][O.month()]:c(this._months)?this._months:this._months.standalone},_i.monthsShort=function Xn(O,J){return O?c(this._monthsShort)?this._monthsShort[O.month()]:this._monthsShort[mn.test(J)?"format":"standalone"][O.month()]:c(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},_i.monthsParse=function Or(O,J,ve){var Oe,tt,Yt;if(this._monthsParseExact)return xr.call(this,O,J,ve);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),Oe=0;Oe<12;Oe++){if(tt=S([2e3,Oe]),ve&&!this._longMonthsParse[Oe]&&(this._longMonthsParse[Oe]=new RegExp("^"+this.months(tt,"").replace(".","")+"$","i"),this._shortMonthsParse[Oe]=new RegExp("^"+this.monthsShort(tt,"").replace(".","")+"$","i")),!ve&&!this._monthsParse[Oe]&&(Yt="^"+this.months(tt,"")+"|^"+this.monthsShort(tt,""),this._monthsParse[Oe]=new RegExp(Yt.replace(".",""),"i")),ve&&"MMMM"===J&&this._longMonthsParse[Oe].test(O))return Oe;if(ve&&"MMM"===J&&this._shortMonthsParse[Oe].test(O))return Oe;if(!ve&&this._monthsParse[Oe].test(O))return Oe}},_i.monthsRegex=function x(O){return this._monthsParseExact?(e(this,"_monthsRegex")||F.call(this),O?this._monthsStrictRegex:this._monthsRegex):(e(this,"_monthsRegex")||(this._monthsRegex=Dn),this._monthsStrictRegex&&O?this._monthsStrictRegex:this._monthsRegex)},_i.monthsShortRegex=function cn(O){return this._monthsParseExact?(e(this,"_monthsRegex")||F.call(this),O?this._monthsShortStrictRegex:this._monthsShortRegex):(e(this,"_monthsShortRegex")||(this._monthsShortRegex=wn),this._monthsShortStrictRegex&&O?this._monthsShortStrictRegex:this._monthsShortRegex)},_i.week=function ht(O){return de(O,this._week.dow,this._week.doy).week},_i.firstDayOfYear=function en(){return this._week.doy},_i.firstDayOfWeek=function Ft(){return this._week.dow},_i.weekdays=function co(O,J){var ve=c(this._weekdays)?this._weekdays:this._weekdays[O&&!0!==O&&this._weekdays.isFormat.test(J)?"format":"standalone"];return!0===O?In(ve,this._week.dow):O?ve[O.day()]:ve},_i.weekdaysMin=function Ur(O){return!0===O?In(this._weekdaysMin,this._week.dow):O?this._weekdaysMin[O.day()]:this._weekdaysMin},_i.weekdaysShort=function Ri(O){return!0===O?In(this._weekdaysShort,this._week.dow):O?this._weekdaysShort[O.day()]:this._weekdaysShort},_i.weekdaysParse=function Jn(O,J,ve){var Oe,tt,Yt;if(this._weekdaysParseExact)return xn.call(this,O,J,ve);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),Oe=0;Oe<7;Oe++){if(tt=S([2e3,1]).day(Oe),ve&&!this._fullWeekdaysParse[Oe]&&(this._fullWeekdaysParse[Oe]=new RegExp("^"+this.weekdays(tt,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[Oe]=new RegExp("^"+this.weekdaysShort(tt,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[Oe]=new RegExp("^"+this.weekdaysMin(tt,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[Oe]||(Yt="^"+this.weekdays(tt,"")+"|^"+this.weekdaysShort(tt,"")+"|^"+this.weekdaysMin(tt,""),this._weekdaysParse[Oe]=new RegExp(Yt.replace(".",""),"i")),ve&&"dddd"===J&&this._fullWeekdaysParse[Oe].test(O))return Oe;if(ve&&"ddd"===J&&this._shortWeekdaysParse[Oe].test(O))return Oe;if(ve&&"dd"===J&&this._minWeekdaysParse[Oe].test(O))return Oe;if(!ve&&this._weekdaysParse[Oe].test(O))return Oe}},_i.weekdaysRegex=function Zi(O){return this._weekdaysParseExact?(e(this,"_weekdaysRegex")||ni.call(this),O?this._weekdaysStrictRegex:this._weekdaysRegex):(e(this,"_weekdaysRegex")||(this._weekdaysRegex=Lr),this._weekdaysStrictRegex&&O?this._weekdaysStrictRegex:this._weekdaysRegex)},_i.weekdaysShortRegex=function qr(O){return this._weekdaysParseExact?(e(this,"_weekdaysRegex")||ni.call(this),O?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(e(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ti),this._weekdaysShortStrictRegex&&O?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},_i.weekdaysMinRegex=function oi(O){return this._weekdaysParseExact?(e(this,"_weekdaysRegex")||ni.call(this),O?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(e(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=it),this._weekdaysMinStrictRegex&&O?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},_i.isPM=function vo(O){return"p"===(O+"").toLowerCase().charAt(0)},_i.meridiem=function Rr(O,J,ve){return O>11?ve?"pm":"PM":ve?"am":"AM"},Pi("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(O){var J=O%10;return O+(1===je(O%100/10)?"th":1===J?"st":2===J?"nd":3===J?"rd":"th")}}),l.lang=k("moment.lang is deprecated. Use moment.locale instead.",Pi),l.langData=k("moment.langData is deprecated. Use moment.localeData instead.",Yr);var rn=Math.abs;function Jr(O,J,ve,Oe){var tt=Mr(J,ve);return O._milliseconds+=Oe*tt._milliseconds,O._days+=Oe*tt._days,O._months+=Oe*tt._months,O._bubble()}function hs(O){return O<0?Math.floor(O):Math.ceil(O)}function kr(O){return 4800*O/146097}function Ya(O){return 146097*O/4800}function Pa(O){return function(){return this.as(O)}}var rc=Pa("ms"),bu=Pa("s"),Am=Pa("m"),yu=Pa("h"),Tb=Pa("d"),Ib=Pa("w"),Ab=Pa("M"),pa=Pa("Q"),ic=Pa("y"),zr=rc;function Ps(O){return function(){return this.isValid()?this._data[O]:NaN}}var Bd=Ps("milliseconds"),Pb=Ps("seconds"),Pm=Ps("minutes"),Cu=Ps("hours"),fl=Ps("days"),jd=Ps("months"),Ko=Ps("years");var fs=Math.round,ml={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function gl(O,J,ve,Oe,tt){return tt.relativeTime(J||1,!!ve,O,Oe)}var Su=Math.abs;function ks(O){return(O>0)-(O<0)||+O}function Xa(){if(!this.isValid())return this.localeData().invalidDate();var Oe,tt,Yt,Tn,Xr,vi,ha,qa,O=Su(this._milliseconds)/1e3,J=Su(this._days),ve=Su(this._months),mr=this.asSeconds();return mr?(Oe=Rt(O/60),tt=Rt(Oe/60),O%=60,Oe%=60,Yt=Rt(ve/12),ve%=12,Tn=O?O.toFixed(3).replace(/\.?0+$/,""):"",Xr=mr<0?"-":"",vi=ks(this._months)!==ks(mr)?"-":"",ha=ks(this._days)!==ks(mr)?"-":"",qa=ks(this._milliseconds)!==ks(mr)?"-":"",Xr+"P"+(Yt?vi+Yt+"Y":"")+(ve?vi+ve+"M":"")+(J?ha+J+"D":"")+(tt||Oe||O?"T":"")+(tt?qa+tt+"H":"")+(Oe?qa+Oe+"M":"")+(O?qa+Tn+"S":"")):"P0D"}var Di=sa.prototype;return Di.isValid=function aa(){return this._isValid},Di.abs=function cr(){var O=this._data;return this._milliseconds=rn(this._milliseconds),this._days=rn(this._days),this._months=rn(this._months),O.milliseconds=rn(O.milliseconds),O.seconds=rn(O.seconds),O.minutes=rn(O.minutes),O.hours=rn(O.hours),O.months=rn(O.months),O.years=rn(O.years),this},Di.add=function ui(O,J){return Jr(this,O,J,1)},Di.subtract=function po(O,J){return Jr(this,O,J,-1)},Di.as=function Ra(O){if(!this.isValid())return NaN;var J,ve,Oe=this._milliseconds;if("month"===(O=Xt(O))||"quarter"===O||"year"===O)switch(J=this._days+Oe/864e5,ve=this._months+kr(J),O){case"month":return ve;case"quarter":return ve/3;case"year":return ve/12}else switch(J=this._days+Math.round(Ya(this._months)),O){case"week":return J/7+Oe/6048e5;case"day":return J+Oe/864e5;case"hour":return 24*J+Oe/36e5;case"minute":return 1440*J+Oe/6e4;case"second":return 86400*J+Oe/1e3;case"millisecond":return Math.floor(864e5*J)+Oe;default:throw new Error("Unknown unit "+O)}},Di.asMilliseconds=rc,Di.asSeconds=bu,Di.asMinutes=Am,Di.asHours=yu,Di.asDays=Tb,Di.asWeeks=Ib,Di.asMonths=Ab,Di.asQuarters=pa,Di.asYears=ic,Di.valueOf=zr,Di._bubble=function no(){var tt,Yt,Tn,mr,Xr,O=this._milliseconds,J=this._days,ve=this._months,Oe=this._data;return O>=0&&J>=0&&ve>=0||O<=0&&J<=0&&ve<=0||(O+=864e5*hs(Ya(ve)+J),J=0,ve=0),Oe.milliseconds=O%1e3,tt=Rt(O/1e3),Oe.seconds=tt%60,Yt=Rt(tt/60),Oe.minutes=Yt%60,Tn=Rt(Yt/60),Oe.hours=Tn%24,J+=Rt(Tn/24),ve+=Xr=Rt(kr(J)),J-=hs(Ya(Xr)),mr=Rt(ve/12),ve%=12,Oe.days=J,Oe.months=ve,Oe.years=mr,this},Di.clone=function $i(){return Mr(this)},Di.get=function hl(O){return O=Xt(O),this.isValid()?this[O+"s"]():NaN},Di.milliseconds=Bd,Di.seconds=Pb,Di.minutes=Pm,Di.hours=Cu,Di.days=fl,Di.weeks=function Hd(){return Rt(this.days()/7)},Di.months=jd,Di.years=Ko,Di.humanize=function xm(O,J){if(!this.isValid())return this.localeData().invalidDate();var tt,Yt,ve=!1,Oe=ml;return"object"==typeof O&&(J=O,O=!1),"boolean"==typeof O&&(ve=O),"object"==typeof J&&(Oe=Object.assign({},ml,J),null!=J.s&&null==J.ss&&(Oe.ss=J.s-1)),Yt=function Mu(O,J,ve,Oe){var tt=Mr(O).abs(),Yt=fs(tt.as("s")),Tn=fs(tt.as("m")),mr=fs(tt.as("h")),Xr=fs(tt.as("d")),vi=fs(tt.as("M")),ha=fs(tt.as("w")),qa=fs(tt.as("y")),ms=Yt<=ve.ss&&["s",Yt]||Yt0,ms[4]=Oe,gl.apply(null,ms)}(this,!ve,Oe,tt=this.localeData()),ve&&(Yt=tt.pastFuture(+this,Yt)),tt.postformat(Yt)},Di.toISOString=Xa,Di.toString=Xa,Di.toJSON=Xa,Di.locale=le,Di.localeData=Jt,Di.toIsoString=k("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Xa),Di.lang=We,_e("X",0,0,"unix"),_e("x",0,0,"valueOf"),Dt("x",Vn),Dt("X",/[+-]?\d+(\.\d{1,3})?/),mt("X",function(O,J,ve){ve._d=new Date(1e3*parseFloat(O))}),mt("x",function(O,J,ve){ve._d=new Date(je(O))}),l.version="2.30.1",function u(O){n=O}(It),l.fn=Gn,l.min=function Eo(){return Mi("isBefore",[].slice.call(arguments,0))},l.max=function Io(){return Mi("isAfter",[].slice.call(arguments,0))},l.now=function(){return Date.now?Date.now():+new Date},l.utc=S,l.unix=function nc(O){return It(1e3*O)},l.months=function oe(O,J){return ae(O,J,"months")},l.isDate=M,l.locale=Pi,l.invalid=w,l.duration=Mr,l.isMoment=G,l.weekdays=function st(O,J,ve){return Z(O,J,ve,"weekdays")},l.parseZone=function ga(){return It.apply(null,arguments).parseZone()},l.localeData=Yr,l.isDuration=Ro,l.monthsShort=function Ne(O,J){return ae(O,J,"monthsShort")},l.weekdaysMin=function fn(O,J,ve){return Z(O,J,ve,"weekdaysMin")},l.defineLocale=Mo,l.updateLocale=function uo(O,J){if(null!=J){var ve,Oe,tt=oo;null!=Pn[O]&&null!=Pn[O].parentLocale?Pn[O].set(X(Pn[O]._config,J)):(null!=(Oe=Ai(O))&&(tt=Oe._config),J=X(tt,J),null==Oe&&(J.abbr=O),(ve=new be(J)).parentLocale=Pn[O],Pn[O]=ve),Pi(O)}else null!=Pn[O]&&(null!=Pn[O].parentLocale?(Pn[O]=Pn[O].parentLocale,O===Pi()&&Pi(O)):null!=Pn[O]&&delete Pn[O]);return Pn[O]},l.locales=function So(){return ce(Pn)},l.weekdaysShort=function Pt(O,J,ve){return Z(O,J,ve,"weekdaysShort")},l.normalizeUnits=Xt,l.relativeTimeRounding=function oc(O){return void 0===O?fs:"function"==typeof O&&(fs=O,!0)},l.relativeTimeThreshold=function km(O,J){return void 0!==ml[O]&&(void 0===J?ml[O]:(ml[O]=J,"s"===O&&(ml.ss=J-1),!0))},l.calendarFormat=function to(O,J){var ve=O.diff(J,"days",!0);return ve<-6?"sameElse":ve<-1?"lastWeek":ve<0?"lastDay":ve<1?"sameDay":ve<2?"nextDay":ve<7?"nextWeek":"sameElse"},l.prototype=Gn,l.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"},l}()},80103:function(pe,m,s){"use strict";var n=this&&this.__createBinding||(Object.create?function(gi,Hi,ai,pr){void 0===pr&&(pr=ai),Object.defineProperty(gi,pr,{enumerable:!0,get:function(){return Hi[ai]}})}:function(gi,Hi,ai,pr){void 0===pr&&(pr=ai),gi[pr]=Hi[ai]}),l=this&&this.__exportStar||function(gi,Hi){for(var ai in gi)"default"!==ai&&!Object.prototype.hasOwnProperty.call(Hi,ai)&&n(Hi,gi,ai)};Object.defineProperty(m,"__esModule",{value:!0}),m.interval=m.iif=m.generate=m.fromEventPattern=m.fromEvent=m.from=m.forkJoin=m.empty=m.defer=m.connectable=m.concat=m.combineLatest=m.bindNodeCallback=m.bindCallback=m.UnsubscriptionError=m.TimeoutError=m.SequenceError=m.ObjectUnsubscribedError=m.NotFoundError=m.EmptyError=m.ArgumentOutOfRangeError=m.firstValueFrom=m.lastValueFrom=m.isObservable=m.identity=m.noop=m.pipe=m.NotificationKind=m.Notification=m.Subscriber=m.Subscription=m.Scheduler=m.VirtualAction=m.VirtualTimeScheduler=m.animationFrameScheduler=m.animationFrame=m.queueScheduler=m.queue=m.asyncScheduler=m.async=m.asapScheduler=m.asap=m.AsyncSubject=m.ReplaySubject=m.BehaviorSubject=m.Subject=m.animationFrames=m.observable=m.ConnectableObservable=m.Observable=void 0,m.filter=m.expand=m.exhaustMap=m.exhaustAll=m.exhaust=m.every=m.endWith=m.elementAt=m.distinctUntilKeyChanged=m.distinctUntilChanged=m.distinct=m.dematerialize=m.delayWhen=m.delay=m.defaultIfEmpty=m.debounceTime=m.debounce=m.count=m.connect=m.concatWith=m.concatMapTo=m.concatMap=m.concatAll=m.combineLatestWith=m.combineLatestAll=m.combineAll=m.catchError=m.bufferWhen=m.bufferToggle=m.bufferTime=m.bufferCount=m.buffer=m.auditTime=m.audit=m.config=m.NEVER=m.EMPTY=m.scheduled=m.zip=m.using=m.timer=m.throwError=m.range=m.race=m.partition=m.pairs=m.onErrorResumeNext=m.of=m.never=m.merge=void 0,m.switchMap=m.switchAll=m.subscribeOn=m.startWith=m.skipWhile=m.skipUntil=m.skipLast=m.skip=m.single=m.shareReplay=m.share=m.sequenceEqual=m.scan=m.sampleTime=m.sample=m.refCount=m.retryWhen=m.retry=m.repeatWhen=m.repeat=m.reduce=m.raceWith=m.publishReplay=m.publishLast=m.publishBehavior=m.publish=m.pluck=m.pairwise=m.onErrorResumeNextWith=m.observeOn=m.multicast=m.min=m.mergeWith=m.mergeScan=m.mergeMapTo=m.mergeMap=m.flatMap=m.mergeAll=m.max=m.materialize=m.mapTo=m.map=m.last=m.isEmpty=m.ignoreElements=m.groupBy=m.first=m.findIndex=m.find=m.finalize=void 0,m.zipWith=m.zipAll=m.withLatestFrom=m.windowWhen=m.windowToggle=m.windowTime=m.windowCount=m.window=m.toArray=m.timestamp=m.timeoutWith=m.timeout=m.timeInterval=m.throwIfEmpty=m.throttleTime=m.throttle=m.tap=m.takeWhile=m.takeUntil=m.takeLast=m.take=m.switchScan=m.switchMapTo=void 0;var u=s(15448);Object.defineProperty(m,"Observable",{enumerable:!0,get:function(){return u.Observable}});var c=s(42416);Object.defineProperty(m,"ConnectableObservable",{enumerable:!0,get:function(){return c.ConnectableObservable}});var i=s(72064);Object.defineProperty(m,"observable",{enumerable:!0,get:function(){return i.observable}});var e=s(72444);Object.defineProperty(m,"animationFrames",{enumerable:!0,get:function(){return e.animationFrames}});var o=s(90120);Object.defineProperty(m,"Subject",{enumerable:!0,get:function(){return o.Subject}});var h=s(60488);Object.defineProperty(m,"BehaviorSubject",{enumerable:!0,get:function(){return h.BehaviorSubject}});var v=s(38640);Object.defineProperty(m,"ReplaySubject",{enumerable:!0,get:function(){return v.ReplaySubject}});var M=s(70408);Object.defineProperty(m,"AsyncSubject",{enumerable:!0,get:function(){return M.AsyncSubject}});var p=s(24860);Object.defineProperty(m,"asap",{enumerable:!0,get:function(){return p.asap}}),Object.defineProperty(m,"asapScheduler",{enumerable:!0,get:function(){return p.asapScheduler}});var E=s(69252);Object.defineProperty(m,"async",{enumerable:!0,get:function(){return E.async}}),Object.defineProperty(m,"asyncScheduler",{enumerable:!0,get:function(){return E.asyncScheduler}});var S=s(72056);Object.defineProperty(m,"queue",{enumerable:!0,get:function(){return S.queue}}),Object.defineProperty(m,"queueScheduler",{enumerable:!0,get:function(){return S.queueScheduler}});var y=s(70232);Object.defineProperty(m,"animationFrame",{enumerable:!0,get:function(){return y.animationFrame}}),Object.defineProperty(m,"animationFrameScheduler",{enumerable:!0,get:function(){return y.animationFrameScheduler}});var f=s(45992);Object.defineProperty(m,"VirtualTimeScheduler",{enumerable:!0,get:function(){return f.VirtualTimeScheduler}}),Object.defineProperty(m,"VirtualAction",{enumerable:!0,get:function(){return f.VirtualAction}});var C=s(25784);Object.defineProperty(m,"Scheduler",{enumerable:!0,get:function(){return C.Scheduler}});var _=s(40576);Object.defineProperty(m,"Subscription",{enumerable:!0,get:function(){return _.Subscription}});var w=s(41596);Object.defineProperty(m,"Subscriber",{enumerable:!0,get:function(){return w.Subscriber}});var D=s(12032);Object.defineProperty(m,"Notification",{enumerable:!0,get:function(){return D.Notification}}),Object.defineProperty(m,"NotificationKind",{enumerable:!0,get:function(){return D.NotificationKind}});var L=s(19512);Object.defineProperty(m,"pipe",{enumerable:!0,get:function(){return L.pipe}});var N=s(48320);Object.defineProperty(m,"noop",{enumerable:!0,get:function(){return N.noop}});var V=s(55184);Object.defineProperty(m,"identity",{enumerable:!0,get:function(){return V.identity}});var G=s(38104);Object.defineProperty(m,"isObservable",{enumerable:!0,get:function(){return G.isObservable}});var R=s(59452);Object.defineProperty(m,"lastValueFrom",{enumerable:!0,get:function(){return R.lastValueFrom}});var k=s(79632);Object.defineProperty(m,"firstValueFrom",{enumerable:!0,get:function(){return k.firstValueFrom}});var A=s(32929);Object.defineProperty(m,"ArgumentOutOfRangeError",{enumerable:!0,get:function(){return A.ArgumentOutOfRangeError}});var H=s(51544);Object.defineProperty(m,"EmptyError",{enumerable:!0,get:function(){return H.EmptyError}});var K=s(15496);Object.defineProperty(m,"NotFoundError",{enumerable:!0,get:function(){return K.NotFoundError}});var ie=s(92304);Object.defineProperty(m,"ObjectUnsubscribedError",{enumerable:!0,get:function(){return ie.ObjectUnsubscribedError}});var X=s(71016);Object.defineProperty(m,"SequenceError",{enumerable:!0,get:function(){return X.SequenceError}});var be=s(20268);Object.defineProperty(m,"TimeoutError",{enumerable:!0,get:function(){return be.TimeoutError}});var ce=s(9560);Object.defineProperty(m,"UnsubscriptionError",{enumerable:!0,get:function(){return ce.UnsubscriptionError}});var ze=s(1856);Object.defineProperty(m,"bindCallback",{enumerable:!0,get:function(){return ze.bindCallback}});var ct=s(78872);Object.defineProperty(m,"bindNodeCallback",{enumerable:!0,get:function(){return ct.bindNodeCallback}});var xe=s(60128);Object.defineProperty(m,"combineLatest",{enumerable:!0,get:function(){return xe.combineLatest}});var Ie=s(24560);Object.defineProperty(m,"concat",{enumerable:!0,get:function(){return Ie.concat}});var Le=s(7976);Object.defineProperty(m,"connectable",{enumerable:!0,get:function(){return Le.connectable}});var Ue=s(71896);Object.defineProperty(m,"defer",{enumerable:!0,get:function(){return Ue.defer}});var Xe=s(31456);Object.defineProperty(m,"empty",{enumerable:!0,get:function(){return Xe.empty}});var _e=s(93052);Object.defineProperty(m,"forkJoin",{enumerable:!0,get:function(){return _e.forkJoin}});var Fe=s(38485);Object.defineProperty(m,"from",{enumerable:!0,get:function(){return Fe.from}});var Ce=s(85e3);Object.defineProperty(m,"fromEvent",{enumerable:!0,get:function(){return Ce.fromEvent}});var Ae=s(46744);Object.defineProperty(m,"fromEventPattern",{enumerable:!0,get:function(){return Ae.fromEventPattern}});var Be=s(92560);Object.defineProperty(m,"generate",{enumerable:!0,get:function(){return Be.generate}});var re=s(46696);Object.defineProperty(m,"iif",{enumerable:!0,get:function(){return re.iif}});var Ee=s(2071);Object.defineProperty(m,"interval",{enumerable:!0,get:function(){return Ee.interval}});var et=s(14152);Object.defineProperty(m,"merge",{enumerable:!0,get:function(){return et.merge}});var vt=s(15672);Object.defineProperty(m,"never",{enumerable:!0,get:function(){return vt.never}});var Tt=s(41536);Object.defineProperty(m,"of",{enumerable:!0,get:function(){return Tt.of}});var dt=s(9460);Object.defineProperty(m,"onErrorResumeNext",{enumerable:!0,get:function(){return dt.onErrorResumeNext}});var ot=s(15292);Object.defineProperty(m,"pairs",{enumerable:!0,get:function(){return ot.pairs}});var Vt=s(91792);Object.defineProperty(m,"partition",{enumerable:!0,get:function(){return Vt.partition}});var nn=s(84048);Object.defineProperty(m,"race",{enumerable:!0,get:function(){return nn.race}});var vn=s(12384);Object.defineProperty(m,"range",{enumerable:!0,get:function(){return vn.range}});var zt=s(3312);Object.defineProperty(m,"throwError",{enumerable:!0,get:function(){return zt.throwError}});var Xt=s(34168);Object.defineProperty(m,"timer",{enumerable:!0,get:function(){return Xt.timer}});var En=s(28684);Object.defineProperty(m,"using",{enumerable:!0,get:function(){return En.using}});var $n=s(59172);Object.defineProperty(m,"zip",{enumerable:!0,get:function(){return $n.zip}});var Wt=s(44232);Object.defineProperty(m,"scheduled",{enumerable:!0,get:function(){return Wt.scheduled}});var zn=s(31456);Object.defineProperty(m,"EMPTY",{enumerable:!0,get:function(){return zn.EMPTY}});var kn=s(15672);Object.defineProperty(m,"NEVER",{enumerable:!0,get:function(){return kn.NEVER}}),l(s(68828),m);var ln=s(90584);Object.defineProperty(m,"config",{enumerable:!0,get:function(){return ln.config}});var ut=s(18380);Object.defineProperty(m,"audit",{enumerable:!0,get:function(){return ut.audit}});var Te=s(1393);Object.defineProperty(m,"auditTime",{enumerable:!0,get:function(){return Te.auditTime}});var me=s(42744);Object.defineProperty(m,"buffer",{enumerable:!0,get:function(){return me.buffer}});var fe=s(57864);Object.defineProperty(m,"bufferCount",{enumerable:!0,get:function(){return fe.bufferCount}});var $e=s(42704);Object.defineProperty(m,"bufferTime",{enumerable:!0,get:function(){return $e.bufferTime}});var Ye=s(21964);Object.defineProperty(m,"bufferToggle",{enumerable:!0,get:function(){return Ye.bufferToggle}});var ft=s(16323);Object.defineProperty(m,"bufferWhen",{enumerable:!0,get:function(){return ft.bufferWhen}});var $t=s(11708);Object.defineProperty(m,"catchError",{enumerable:!0,get:function(){return $t.catchError}});var un=s(25184);Object.defineProperty(m,"combineAll",{enumerable:!0,get:function(){return un.combineAll}});var Vn=s(86576);Object.defineProperty(m,"combineLatestAll",{enumerable:!0,get:function(){return Vn.combineLatestAll}});var tr=s(71480);Object.defineProperty(m,"combineLatestWith",{enumerable:!0,get:function(){return tr.combineLatestWith}});var br=s(26608);Object.defineProperty(m,"concatAll",{enumerable:!0,get:function(){return br.concatAll}});var or=s(68584);Object.defineProperty(m,"concatMap",{enumerable:!0,get:function(){return or.concatMap}});var fi=s(38776);Object.defineProperty(m,"concatMapTo",{enumerable:!0,get:function(){return fi.concatMapTo}});var Cr=s(23332);Object.defineProperty(m,"concatWith",{enumerable:!0,get:function(){return Cr.concatWith}});var jr=s(59056);Object.defineProperty(m,"connect",{enumerable:!0,get:function(){return jr.connect}});var Hn=s(95572);Object.defineProperty(m,"count",{enumerable:!0,get:function(){return Hn.count}});var Dt=s(42568);Object.defineProperty(m,"debounce",{enumerable:!0,get:function(){return Dt.debounce}});var qt=s(86275);Object.defineProperty(m,"debounceTime",{enumerable:!0,get:function(){return qt.debounceTime}});var yt=s(14707);Object.defineProperty(m,"defaultIfEmpty",{enumerable:!0,get:function(){return yt.defaultIfEmpty}});var Ze=s(99592);Object.defineProperty(m,"delay",{enumerable:!0,get:function(){return Ze.delay}});var Rt=s(59304);Object.defineProperty(m,"delayWhen",{enumerable:!0,get:function(){return Rt.delayWhen}});var je=s(84204);Object.defineProperty(m,"dematerialize",{enumerable:!0,get:function(){return je.dematerialize}});var pt=s(51256);Object.defineProperty(m,"distinct",{enumerable:!0,get:function(){return pt.distinct}});var mt=s(21544);Object.defineProperty(m,"distinctUntilChanged",{enumerable:!0,get:function(){return mt.distinctUntilChanged}});var on=s(61544);Object.defineProperty(m,"distinctUntilKeyChanged",{enumerable:!0,get:function(){return on.distinctUntilKeyChanged}});var Ln=s(51808);Object.defineProperty(m,"elementAt",{enumerable:!0,get:function(){return Ln.elementAt}});var jt=s(48568);Object.defineProperty(m,"endWith",{enumerable:!0,get:function(){return jt.endWith}});var Mn=s(21592);Object.defineProperty(m,"every",{enumerable:!0,get:function(){return Mn.every}});var Pe=s(53704);Object.defineProperty(m,"exhaust",{enumerable:!0,get:function(){return Pe.exhaust}});var gt=s(34288);Object.defineProperty(m,"exhaustAll",{enumerable:!0,get:function(){return gt.exhaustAll}});var At=s(44632);Object.defineProperty(m,"exhaustMap",{enumerable:!0,get:function(){return At.exhaustMap}});var Ut=s(84624);Object.defineProperty(m,"expand",{enumerable:!0,get:function(){return Ut.expand}});var ar=s(39840);Object.defineProperty(m,"filter",{enumerable:!0,get:function(){return ar.filter}});var ur=s(99440);Object.defineProperty(m,"finalize",{enumerable:!0,get:function(){return ur.finalize}});var Tr=s(70939);Object.defineProperty(m,"find",{enumerable:!0,get:function(){return Tr.find}});var lr=s(69496);Object.defineProperty(m,"findIndex",{enumerable:!0,get:function(){return lr.findIndex}});var nr=s(11848);Object.defineProperty(m,"first",{enumerable:!0,get:function(){return nr.first}});var Nr=s(17909);Object.defineProperty(m,"groupBy",{enumerable:!0,get:function(){return Nr.groupBy}});var Ci=s(77392);Object.defineProperty(m,"ignoreElements",{enumerable:!0,get:function(){return Ci.ignoreElements}});var tn=s(73564);Object.defineProperty(m,"isEmpty",{enumerable:!0,get:function(){return tn.isEmpty}});var jn=s(2696);Object.defineProperty(m,"last",{enumerable:!0,get:function(){return jn.last}});var qn=s(784);Object.defineProperty(m,"map",{enumerable:!0,get:function(){return qn.map}});var dr=s(89224);Object.defineProperty(m,"mapTo",{enumerable:!0,get:function(){return dr.mapTo}});var ii=s(6832);Object.defineProperty(m,"materialize",{enumerable:!0,get:function(){return ii.materialize}});var Fr=s(34808);Object.defineProperty(m,"max",{enumerable:!0,get:function(){return Fr.max}});var rt=s(50304);Object.defineProperty(m,"mergeAll",{enumerable:!0,get:function(){return rt.mergeAll}});var kt=s(98924);Object.defineProperty(m,"flatMap",{enumerable:!0,get:function(){return kt.flatMap}});var Et=s(33480);Object.defineProperty(m,"mergeMap",{enumerable:!0,get:function(){return Et.mergeMap}});var an=s(73232);Object.defineProperty(m,"mergeMapTo",{enumerable:!0,get:function(){return an.mergeMapTo}});var mn=s(3380);Object.defineProperty(m,"mergeScan",{enumerable:!0,get:function(){return mn.mergeScan}});var wn=s(57308);Object.defineProperty(m,"mergeWith",{enumerable:!0,get:function(){return wn.mergeWith}});var Dn=s(87832);Object.defineProperty(m,"min",{enumerable:!0,get:function(){return Dn.min}});var sr=s(66752);Object.defineProperty(m,"multicast",{enumerable:!0,get:function(){return sr.multicast}});var Xn=s(33752);Object.defineProperty(m,"observeOn",{enumerable:!0,get:function(){return Xn.observeOn}});var xr=s(19184);Object.defineProperty(m,"onErrorResumeNextWith",{enumerable:!0,get:function(){return xr.onErrorResumeNextWith}});var Or=s(74612);Object.defineProperty(m,"pairwise",{enumerable:!0,get:function(){return Or.pairwise}});var Vr=s(64712);Object.defineProperty(m,"pluck",{enumerable:!0,get:function(){return Vr.pluck}});var Ir=s(70320);Object.defineProperty(m,"publish",{enumerable:!0,get:function(){return Ir.publish}});var Er=s(40360);Object.defineProperty(m,"publishBehavior",{enumerable:!0,get:function(){return Er.publishBehavior}});var cn=s(64960);Object.defineProperty(m,"publishLast",{enumerable:!0,get:function(){return cn.publishLast}});var x=s(23944);Object.defineProperty(m,"publishReplay",{enumerable:!0,get:function(){return x.publishReplay}});var F=s(53424);Object.defineProperty(m,"raceWith",{enumerable:!0,get:function(){return F.raceWith}});var Q=s(39980);Object.defineProperty(m,"reduce",{enumerable:!0,get:function(){return Q.reduce}});var Se=s(90532);Object.defineProperty(m,"repeat",{enumerable:!0,get:function(){return Se.repeat}});var he=s(15696);Object.defineProperty(m,"repeatWhen",{enumerable:!0,get:function(){return he.repeatWhen}});var q=s(584);Object.defineProperty(m,"retry",{enumerable:!0,get:function(){return q.retry}});var de=s(46856);Object.defineProperty(m,"retryWhen",{enumerable:!0,get:function(){return de.retryWhen}});var qe=s(60300);Object.defineProperty(m,"refCount",{enumerable:!0,get:function(){return qe.refCount}});var ht=s(64968);Object.defineProperty(m,"sample",{enumerable:!0,get:function(){return ht.sample}});var St=s(97792);Object.defineProperty(m,"sampleTime",{enumerable:!0,get:function(){return St.sampleTime}});var Ft=s(17752);Object.defineProperty(m,"scan",{enumerable:!0,get:function(){return Ft.scan}});var en=s(43904);Object.defineProperty(m,"sequenceEqual",{enumerable:!0,get:function(){return en.sequenceEqual}});var gn=s(95912);Object.defineProperty(m,"share",{enumerable:!0,get:function(){return gn.share}});var _n=s(20468);Object.defineProperty(m,"shareReplay",{enumerable:!0,get:function(){return _n.shareReplay}});var bn=s(43952);Object.defineProperty(m,"single",{enumerable:!0,get:function(){return bn.single}});var hn=s(98196);Object.defineProperty(m,"skip",{enumerable:!0,get:function(){return hn.skip}});var In=s(47832);Object.defineProperty(m,"skipLast",{enumerable:!0,get:function(){return In.skipLast}});var Un=s(36840);Object.defineProperty(m,"skipUntil",{enumerable:!0,get:function(){return Un.skipUntil}});var _r=s(49856);Object.defineProperty(m,"skipWhile",{enumerable:!0,get:function(){return _r.skipWhile}});var hr=s(59612);Object.defineProperty(m,"startWith",{enumerable:!0,get:function(){return hr.startWith}});var Lr=s(67992);Object.defineProperty(m,"subscribeOn",{enumerable:!0,get:function(){return Lr.subscribeOn}});var ti=s(63368);Object.defineProperty(m,"switchAll",{enumerable:!0,get:function(){return ti.switchAll}});var it=s(39876);Object.defineProperty(m,"switchMap",{enumerable:!0,get:function(){return it.switchMap}});var co=s(57168);Object.defineProperty(m,"switchMapTo",{enumerable:!0,get:function(){return co.switchMapTo}});var Ri=s(19980);Object.defineProperty(m,"switchScan",{enumerable:!0,get:function(){return Ri.switchScan}});var Ur=s(38120);Object.defineProperty(m,"take",{enumerable:!0,get:function(){return Ur.take}});var xn=s(32224);Object.defineProperty(m,"takeLast",{enumerable:!0,get:function(){return xn.takeLast}});var Jn=s(91540);Object.defineProperty(m,"takeUntil",{enumerable:!0,get:function(){return Jn.takeUntil}});var Gr=s(35408);Object.defineProperty(m,"takeWhile",{enumerable:!0,get:function(){return Gr.takeWhile}});var Bn=s(46748);Object.defineProperty(m,"tap",{enumerable:!0,get:function(){return Bn.tap}});var pi=s(66720);Object.defineProperty(m,"throttle",{enumerable:!0,get:function(){return pi.throttle}});var Zi=s(44236);Object.defineProperty(m,"throttleTime",{enumerable:!0,get:function(){return Zi.throttleTime}});var qr=s(51056);Object.defineProperty(m,"throwIfEmpty",{enumerable:!0,get:function(){return qr.throwIfEmpty}});var oi=s(39500);Object.defineProperty(m,"timeInterval",{enumerable:!0,get:function(){return oi.timeInterval}});var ni=s(20268);Object.defineProperty(m,"timeout",{enumerable:!0,get:function(){return ni.timeout}});var ji=s(88536);Object.defineProperty(m,"timeoutWith",{enumerable:!0,get:function(){return ji.timeoutWith}});var yr=s(37248);Object.defineProperty(m,"timestamp",{enumerable:!0,get:function(){return yr.timestamp}});var Ji=s(29316);Object.defineProperty(m,"toArray",{enumerable:!0,get:function(){return Ji.toArray}});var Do=s(40560);Object.defineProperty(m,"window",{enumerable:!0,get:function(){return Do.window}});var vo=s(79068);Object.defineProperty(m,"windowCount",{enumerable:!0,get:function(){return vo.windowCount}});var ri=s(11984);Object.defineProperty(m,"windowTime",{enumerable:!0,get:function(){return ri.windowTime}});var ro=s(97776);Object.defineProperty(m,"windowToggle",{enumerable:!0,get:function(){return ro.windowToggle}});var Rr=s(36872);Object.defineProperty(m,"windowWhen",{enumerable:!0,get:function(){return Rr.windowWhen}});var oo=s(95780);Object.defineProperty(m,"withLatestFrom",{enumerable:!0,get:function(){return oo.withLatestFrom}});var Pn=s(71120);Object.defineProperty(m,"zipAll",{enumerable:!0,get:function(){return Pn.zipAll}});var bo=s(56824);Object.defineProperty(m,"zipWith",{enumerable:!0,get:function(){return bo.zipWith}})},70408:function(pe,m,s){"use strict";var n=this&&this.__extends||function(){var c=function(i,e){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,h){o.__proto__=h}||function(o,h){for(var v in h)Object.prototype.hasOwnProperty.call(h,v)&&(o[v]=h[v])})(i,e)};return function(i,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=i}c(i,e),i.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}}();Object.defineProperty(m,"__esModule",{value:!0}),m.AsyncSubject=void 0;var u=function(c){function i(){var e=null!==c&&c.apply(this,arguments)||this;return e._value=null,e._hasValue=!1,e._isComplete=!1,e}return n(i,c),i.prototype._checkFinalizedStatuses=function(e){var o=this,v=o._hasValue,M=o._value,E=o.isStopped,S=o._isComplete;o.hasError?e.error(o.thrownError):(E||S)&&(v&&e.next(M),e.complete())},i.prototype.next=function(e){this.isStopped||(this._value=e,this._hasValue=!0)},i.prototype.complete=function(){var e=this,o=e._hasValue,h=e._value;e._isComplete||(this._isComplete=!0,o&&c.prototype.next.call(this,h),c.prototype.complete.call(this))},i}(s(90120).Subject);m.AsyncSubject=u},60488:function(pe,m,s){"use strict";var n=this&&this.__extends||function(){var c=function(i,e){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,h){o.__proto__=h}||function(o,h){for(var v in h)Object.prototype.hasOwnProperty.call(h,v)&&(o[v]=h[v])})(i,e)};return function(i,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=i}c(i,e),i.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}}();Object.defineProperty(m,"__esModule",{value:!0}),m.BehaviorSubject=void 0;var u=function(c){function i(e){var o=c.call(this)||this;return o._value=e,o}return n(i,c),Object.defineProperty(i.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),i.prototype._subscribe=function(e){var o=c.prototype._subscribe.call(this,e);return!o.closed&&e.next(this._value),o},i.prototype.getValue=function(){var e=this,v=e._value;if(e.hasError)throw e.thrownError;return this._throwIfClosed(),v},i.prototype.next=function(e){c.prototype.next.call(this,this._value=e)},i}(s(90120).Subject);m.BehaviorSubject=u},12032:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.observeNotification=m.Notification=m.NotificationKind=void 0;var h,n=s(31456),l=s(41536),u=s(3312),c=s(82360);(h=m.NotificationKind||(m.NotificationKind={})).NEXT="N",h.ERROR="E",h.COMPLETE="C";var e=function(){function h(v,M,p){this.kind=v,this.value=M,this.error=p,this.hasValue="N"===v}return h.prototype.observe=function(v){return o(this,v)},h.prototype.do=function(v,M,p){var E=this,S=E.kind,y=E.value,f=E.error;return"N"===S?v?.(y):"E"===S?M?.(f):p?.()},h.prototype.accept=function(v,M,p){var E;return c.isFunction(null===(E=v)||void 0===E?void 0:E.next)?this.observe(v):this.do(v,M,p)},h.prototype.toObservable=function(){var v=this,M=v.kind,E=v.error,S="N"===M?l.of(v.value):"E"===M?u.throwError(function(){return E}):"C"===M?n.EMPTY:0;if(!S)throw new TypeError("Unexpected notification kind "+M);return S},h.createNext=function(v){return new h("N",v)},h.createError=function(v){return new h("E",void 0,v)},h.createComplete=function(){return h.completeNotification},h.completeNotification=new h("C"),h}();function o(h,v){var M,p,E,y=h.kind,f=h.value,C=h.error;if("string"!=typeof y)throw new TypeError('Invalid notification, missing "kind"');"N"===y?null===(M=v.next)||void 0===M||M.call(v,f):"E"===y?null===(p=v.error)||void 0===p||p.call(v,C):null===(E=v.complete)||void 0===E||E.call(v)}m.Notification=e,m.observeNotification=o},62640:(pe,m)=>{"use strict";function l(u,c,i){return{kind:u,value:c,error:i}}Object.defineProperty(m,"__esModule",{value:!0}),m.createNotification=m.nextNotification=m.errorNotification=m.COMPLETE_NOTIFICATION=void 0,m.COMPLETE_NOTIFICATION=l("C",void 0,void 0),m.errorNotification=function s(u){return l("E",void 0,u)},m.nextNotification=function n(u){return l("N",u,void 0)},m.createNotification=l},15448:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.Observable=void 0;var n=s(41596),l=s(40576),u=s(72064),c=s(19512),i=s(90584),e=s(82360),o=s(49664),h=function(){function E(S){S&&(this._subscribe=S)}return E.prototype.lift=function(S){var y=new E;return y.source=this,y.operator=S,y},E.prototype.subscribe=function(S,y,f){var C=this,_=function p(E){return E&&E instanceof n.Subscriber||function M(E){return E&&e.isFunction(E.next)&&e.isFunction(E.error)&&e.isFunction(E.complete)}(E)&&l.isSubscription(E)}(S)?S:new n.SafeSubscriber(S,y,f);return o.errorContext(function(){var D=C.operator,L=C.source;_.add(D?D.call(_,L):L?C._subscribe(_):C._trySubscribe(_))}),_},E.prototype._trySubscribe=function(S){try{return this._subscribe(S)}catch(y){S.error(y)}},E.prototype.forEach=function(S,y){var f=this;return new(y=v(y))(function(C,_){var w=new n.SafeSubscriber({next:function(D){try{S(D)}catch(L){_(L),w.unsubscribe()}},error:_,complete:C});f.subscribe(w)})},E.prototype._subscribe=function(S){var y;return null===(y=this.source)||void 0===y?void 0:y.subscribe(S)},E.prototype[u.observable]=function(){return this},E.prototype.pipe=function(){for(var S=[],y=0;y{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.Scheduler=void 0;var n=s(8764),l=function(){function u(c,i){void 0===i&&(i=u.now),this.schedulerActionCtor=c,this.now=i}return u.prototype.schedule=function(c,i,e){return void 0===i&&(i=0),new this.schedulerActionCtor(this,c).schedule(e,i)},u.now=n.dateTimestampProvider.now,u}();m.Scheduler=l},90120:function(pe,m,s){"use strict";var n=this&&this.__extends||function(){var M=function(p,E){return(M=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,y){S.__proto__=y}||function(S,y){for(var f in y)Object.prototype.hasOwnProperty.call(y,f)&&(S[f]=y[f])})(p,E)};return function(p,E){if("function"!=typeof E&&null!==E)throw new TypeError("Class extends value "+String(E)+" is not a constructor or null");function S(){this.constructor=p}M(p,E),p.prototype=null===E?Object.create(E):(S.prototype=E.prototype,new S)}}(),l=this&&this.__values||function(M){var p="function"==typeof Symbol&&Symbol.iterator,E=p&&M[p],S=0;if(E)return E.call(M);if(M&&"number"==typeof M.length)return{next:function(){return M&&S>=M.length&&(M=void 0),{value:M&&M[S++],done:!M}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(m,"__esModule",{value:!0}),m.AnonymousSubject=m.Subject=void 0;var u=s(15448),c=s(40576),i=s(92304),e=s(39852),o=s(49664),h=function(M){function p(){var E=M.call(this)||this;return E.closed=!1,E.currentObservers=null,E.observers=[],E.isStopped=!1,E.hasError=!1,E.thrownError=null,E}return n(p,M),p.prototype.lift=function(E){var S=new v(this,this);return S.operator=E,S},p.prototype._throwIfClosed=function(){if(this.closed)throw new i.ObjectUnsubscribedError},p.prototype.next=function(E){var S=this;o.errorContext(function(){var y,f;if(S._throwIfClosed(),!S.isStopped){S.currentObservers||(S.currentObservers=Array.from(S.observers));try{for(var C=l(S.currentObservers),_=C.next();!_.done;_=C.next())_.value.next(E)}catch(D){y={error:D}}finally{try{_&&!_.done&&(f=C.return)&&f.call(C)}finally{if(y)throw y.error}}}})},p.prototype.error=function(E){var S=this;o.errorContext(function(){if(S._throwIfClosed(),!S.isStopped){S.hasError=S.isStopped=!0,S.thrownError=E;for(var y=S.observers;y.length;)y.shift().error(E)}})},p.prototype.complete=function(){var E=this;o.errorContext(function(){if(E._throwIfClosed(),!E.isStopped){E.isStopped=!0;for(var S=E.observers;S.length;)S.shift().complete()}})},p.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(p.prototype,"observed",{get:function(){var E;return(null===(E=this.observers)||void 0===E?void 0:E.length)>0},enumerable:!1,configurable:!0}),p.prototype._trySubscribe=function(E){return this._throwIfClosed(),M.prototype._trySubscribe.call(this,E)},p.prototype._subscribe=function(E){return this._throwIfClosed(),this._checkFinalizedStatuses(E),this._innerSubscribe(E)},p.prototype._innerSubscribe=function(E){var S=this,y=this,_=y.observers;return y.hasError||y.isStopped?c.EMPTY_SUBSCRIPTION:(this.currentObservers=null,_.push(E),new c.Subscription(function(){S.currentObservers=null,e.arrRemove(_,E)}))},p.prototype._checkFinalizedStatuses=function(E){var S=this,C=S.isStopped;S.hasError?E.error(S.thrownError):C&&E.complete()},p.prototype.asObservable=function(){var E=new u.Observable;return E.source=this,E},p.create=function(E,S){return new v(E,S)},p}(u.Observable);m.Subject=h;var v=function(M){function p(E,S){var y=M.call(this)||this;return y.destination=E,y.source=S,y}return n(p,M),p.prototype.next=function(E){var S,y;null===(y=null===(S=this.destination)||void 0===S?void 0:S.next)||void 0===y||y.call(S,E)},p.prototype.error=function(E){var S,y;null===(y=null===(S=this.destination)||void 0===S?void 0:S.error)||void 0===y||y.call(S,E)},p.prototype.complete=function(){var E,S;null===(S=null===(E=this.destination)||void 0===E?void 0:E.complete)||void 0===S||S.call(E)},p.prototype._subscribe=function(E){var S,y;return null!==(y=null===(S=this.source)||void 0===S?void 0:S.subscribe(E))&&void 0!==y?y:c.EMPTY_SUBSCRIPTION},p}(h);m.AnonymousSubject=v},41596:function(pe,m,s){"use strict";var n=this&&this.__extends||function(){var w=function(D,L){return(w=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(N,V){N.__proto__=V}||function(N,V){for(var G in V)Object.prototype.hasOwnProperty.call(V,G)&&(N[G]=V[G])})(D,L)};return function(D,L){if("function"!=typeof L&&null!==L)throw new TypeError("Class extends value "+String(L)+" is not a constructor or null");function N(){this.constructor=D}w(D,L),D.prototype=null===L?Object.create(L):(N.prototype=L.prototype,new N)}}();Object.defineProperty(m,"__esModule",{value:!0}),m.EMPTY_OBSERVER=m.SafeSubscriber=m.Subscriber=void 0;var l=s(82360),u=s(40576),c=s(90584),i=s(50131),e=s(48320),o=s(62640),h=s(82480),v=s(49664),M=function(w){function D(L){var N=w.call(this)||this;return N.isStopped=!1,L?(N.destination=L,u.isSubscription(L)&&L.add(N)):N.destination=m.EMPTY_OBSERVER,N}return n(D,w),D.create=function(L,N,V){return new y(L,N,V)},D.prototype.next=function(L){this.isStopped?_(o.nextNotification(L),this):this._next(L)},D.prototype.error=function(L){this.isStopped?_(o.errorNotification(L),this):(this.isStopped=!0,this._error(L))},D.prototype.complete=function(){this.isStopped?_(o.COMPLETE_NOTIFICATION,this):(this.isStopped=!0,this._complete())},D.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,w.prototype.unsubscribe.call(this),this.destination=null)},D.prototype._next=function(L){this.destination.next(L)},D.prototype._error=function(L){try{this.destination.error(L)}finally{this.unsubscribe()}},D.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},D}(u.Subscription);m.Subscriber=M;var p=Function.prototype.bind;function E(w,D){return p.call(w,D)}var S=function(){function w(D){this.partialObserver=D}return w.prototype.next=function(D){var L=this.partialObserver;if(L.next)try{L.next(D)}catch(N){f(N)}},w.prototype.error=function(D){var L=this.partialObserver;if(L.error)try{L.error(D)}catch(N){f(N)}else f(D)},w.prototype.complete=function(){var D=this.partialObserver;if(D.complete)try{D.complete()}catch(L){f(L)}},w}(),y=function(w){function D(L,N,V){var R,k,G=w.call(this)||this;return l.isFunction(L)||!L?R={next:L??void 0,error:N??void 0,complete:V??void 0}:G&&c.config.useDeprecatedNextContext?((k=Object.create(L)).unsubscribe=function(){return G.unsubscribe()},R={next:L.next&&E(L.next,k),error:L.error&&E(L.error,k),complete:L.complete&&E(L.complete,k)}):R=L,G.destination=new S(R),G}return n(D,w),D}(M);function f(w){c.config.useDeprecatedSynchronousErrorHandling?v.captureError(w):i.reportUnhandledError(w)}function _(w,D){var L=c.config.onStoppedNotification;L&&h.timeoutProvider.setTimeout(function(){return L(w,D)})}m.SafeSubscriber=y,m.EMPTY_OBSERVER={closed:!0,next:e.noop,error:function C(w){throw w},complete:e.noop}},40576:function(pe,m,s){"use strict";var n=this&&this.__values||function(M){var p="function"==typeof Symbol&&Symbol.iterator,E=p&&M[p],S=0;if(E)return E.call(M);if(M&&"number"==typeof M.length)return{next:function(){return M&&S>=M.length&&(M=void 0),{value:M&&M[S++],done:!M}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")},l=this&&this.__read||function(M,p){var E="function"==typeof Symbol&&M[Symbol.iterator];if(!E)return M;var y,C,S=E.call(M),f=[];try{for(;(void 0===p||p-- >0)&&!(y=S.next()).done;)f.push(y.value)}catch(_){C={error:_}}finally{try{y&&!y.done&&(E=S.return)&&E.call(S)}finally{if(C)throw C.error}}return f},u=this&&this.__spreadArray||function(M,p){for(var E=0,S=p.length,y=M.length;E{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.config=void 0,m.config={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},79632:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.firstValueFrom=void 0;var n=s(51544),l=s(41596);m.firstValueFrom=function u(c,i){var e="object"==typeof i;return new Promise(function(o,h){var v=new l.SafeSubscriber({next:function(M){o(M),v.unsubscribe()},error:h,complete:function(){e?o(i.defaultValue):h(new n.EmptyError)}});c.subscribe(v)})}},59452:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.lastValueFrom=void 0;var n=s(51544);m.lastValueFrom=function l(u,c){var i="object"==typeof c;return new Promise(function(e,o){var v,h=!1;u.subscribe({next:function(M){v=M,h=!0},error:o,complete:function(){h?e(v):i?e(c.defaultValue):o(new n.EmptyError)}})})}},42416:function(pe,m,s){"use strict";var n=this&&this.__extends||function(){var h=function(v,M){return(h=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,E){p.__proto__=E}||function(p,E){for(var S in E)Object.prototype.hasOwnProperty.call(E,S)&&(p[S]=E[S])})(v,M)};return function(v,M){if("function"!=typeof M&&null!==M)throw new TypeError("Class extends value "+String(M)+" is not a constructor or null");function p(){this.constructor=v}h(v,M),v.prototype=null===M?Object.create(M):(p.prototype=M.prototype,new p)}}();Object.defineProperty(m,"__esModule",{value:!0}),m.ConnectableObservable=void 0;var l=s(15448),u=s(40576),c=s(60300),i=s(35744),e=s(66080),o=function(h){function v(M,p){var E=h.call(this)||this;return E.source=M,E.subjectFactory=p,E._subject=null,E._refCount=0,E._connection=null,e.hasLift(M)&&(E.lift=M.lift),E}return n(v,h),v.prototype._subscribe=function(M){return this.getSubject().subscribe(M)},v.prototype.getSubject=function(){var M=this._subject;return(!M||M.isStopped)&&(this._subject=this.subjectFactory()),this._subject},v.prototype._teardown=function(){this._refCount=0;var M=this._connection;this._subject=this._connection=null,M?.unsubscribe()},v.prototype.connect=function(){var M=this,p=this._connection;if(!p){p=this._connection=new u.Subscription;var E=this.getSubject();p.add(this.source.subscribe(i.createOperatorSubscriber(E,void 0,function(){M._teardown(),E.complete()},function(S){M._teardown(),E.error(S)},function(){return M._teardown()}))),p.closed&&(this._connection=null,p=u.Subscription.EMPTY)}return p},v.prototype.refCount=function(){return c.refCount()(this)},v}(l.Observable);m.ConnectableObservable=o},1856:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.bindCallback=void 0;var n=s(98140);m.bindCallback=function l(u,c,i){return n.bindCallbackInternals(!1,u,c,i)}},98140:function(pe,m,s){"use strict";var n=this&&this.__read||function(M,p){var E="function"==typeof Symbol&&M[Symbol.iterator];if(!E)return M;var y,C,S=E.call(M),f=[];try{for(;(void 0===p||p-- >0)&&!(y=S.next()).done;)f.push(y.value)}catch(_){C={error:_}}finally{try{y&&!y.done&&(E=S.return)&&E.call(S)}finally{if(C)throw C.error}}return f},l=this&&this.__spreadArray||function(M,p){for(var E=0,S=p.length,y=M.length;E{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.bindNodeCallback=void 0;var n=s(98140);m.bindNodeCallback=function l(u,c,i){return n.bindCallbackInternals(!0,u,c,i)}},60128:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.combineLatestInit=m.combineLatest=void 0;var n=s(15448),l=s(75352),u=s(38485),c=s(55184),i=s(82664),e=s(69724),o=s(7788),h=s(35744),v=s(61760);function p(S,y,f){return void 0===f&&(f=c.identity),function(C){E(y,function(){for(var _=S.length,w=new Array(_),D=_,L=_,N=function(G){E(y,function(){var R=u.from(S[G],y),k=!1;R.subscribe(h.createOperatorSubscriber(C,function(A){w[G]=A,k||(k=!0,L--),L||C.next(f(w.slice()))},function(){--D||C.complete()}))},C)},V=0;V<_;V++)N(V)},C)}}function E(S,y,f){S?v.executeSchedule(f,S,y):y()}m.combineLatest=function M(){for(var S=[],y=0;y{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.concat=void 0;var n=s(26608),l=s(69724),u=s(38485);m.concat=function c(){for(var i=[],e=0;e{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.connectable=void 0;var n=s(90120),l=s(15448),u=s(71896),c={connector:function(){return new n.Subject},resetOnDisconnect:!0};m.connectable=function i(e,o){void 0===o&&(o=c);var h=null,v=o.connector,M=o.resetOnDisconnect,p=void 0===M||M,E=v(),S=new l.Observable(function(y){return E.subscribe(y)});return S.connect=function(){return(!h||h.closed)&&(h=u.defer(function(){return e}).subscribe(E),p&&h.add(function(){return E=v()})),h},S}},71896:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.defer=void 0;var n=s(15448),l=s(81280);m.defer=function u(c){return new n.Observable(function(i){l.innerFrom(c()).subscribe(i)})}},72444:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.animationFrames=void 0;var n=s(15448),l=s(68424),u=s(24352);function i(o){return new n.Observable(function(h){var v=o||l.performanceTimestampProvider,M=v.now(),p=0,E=function(){h.closed||(p=u.animationFrameProvider.requestAnimationFrame(function(S){p=0;var y=v.now();h.next({timestamp:o?y:S,elapsed:y-M}),E()}))};return E(),function(){p&&u.animationFrameProvider.cancelAnimationFrame(p)}})}m.animationFrames=function c(o){return o?i(o):e};var e=i()},31456:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.empty=m.EMPTY=void 0;var n=s(15448);m.EMPTY=new n.Observable(function(c){return c.complete()}),m.empty=function l(c){return c?function u(c){return new n.Observable(function(i){return c.schedule(function(){return i.complete()})})}(c):m.EMPTY}},93052:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.forkJoin=void 0;var n=s(15448),l=s(75352),u=s(81280),c=s(69724),i=s(35744),e=s(82664),o=s(7788);m.forkJoin=function h(){for(var v=[],M=0;M{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.from=void 0;var n=s(44232),l=s(81280);m.from=function u(c,i){return i?n.scheduled(c,i):l.innerFrom(c)}},85e3:function(pe,m,s){"use strict";var n=this&&this.__read||function(C,_){var w="function"==typeof Symbol&&C[Symbol.iterator];if(!w)return C;var L,V,D=w.call(C),N=[];try{for(;(void 0===_||_-- >0)&&!(L=D.next()).done;)N.push(L.value)}catch(G){V={error:G}}finally{try{L&&!L.done&&(w=D.return)&&w.call(D)}finally{if(V)throw V.error}}return N};Object.defineProperty(m,"__esModule",{value:!0}),m.fromEvent=void 0;var l=s(81280),u=s(15448),c=s(33480),i=s(18224),e=s(82360),o=s(82664),h=["addListener","removeListener"],v=["addEventListener","removeEventListener"],M=["on","off"];function E(C,_){return function(w){return function(D){return C[w](_,D)}}}m.fromEvent=function p(C,_,w,D){if(e.isFunction(w)&&(D=w,w=void 0),D)return p(C,_,w).pipe(o.mapOneOrManyArgs(D));var L=n(function f(C){return e.isFunction(C.addEventListener)&&e.isFunction(C.removeEventListener)}(C)?v.map(function(G){return function(R){return C[G](_,R,w)}}):function S(C){return e.isFunction(C.addListener)&&e.isFunction(C.removeListener)}(C)?h.map(E(C,_)):function y(C){return e.isFunction(C.on)&&e.isFunction(C.off)}(C)?M.map(E(C,_)):[],2),N=L[0],V=L[1];if(!N&&i.isArrayLike(C))return c.mergeMap(function(G){return p(G,_,w)})(l.innerFrom(C));if(!N)throw new TypeError("Invalid event target");return new u.Observable(function(G){var R=function(){for(var k=[],A=0;A{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.fromEventPattern=void 0;var n=s(15448),l=s(82360),u=s(82664);m.fromEventPattern=function c(i,e,o){return o?c(i,e).pipe(u.mapOneOrManyArgs(o)):new n.Observable(function(h){var v=function(){for(var p=[],E=0;E{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.fromSubscribable=void 0;var n=s(15448);m.fromSubscribable=function l(u){return new n.Observable(function(c){return u.subscribe(c)})}},92560:function(pe,m,s){"use strict";var n=this&&this.__generator||function(o,h){var M,p,E,S,v={label:0,sent:function(){if(1&E[0])throw E[1];return E[1]},trys:[],ops:[]};return S={next:y(0),throw:y(1),return:y(2)},"function"==typeof Symbol&&(S[Symbol.iterator]=function(){return this}),S;function y(C){return function(_){return function f(C){if(M)throw new TypeError("Generator is already executing.");for(;v;)try{if(M=1,p&&(E=2&C[0]?p.return:C[0]?p.throw||((E=p.return)&&E.call(p),0):p.next)&&!(E=E.call(p,C[1])).done)return E;switch(p=0,E&&(C=[2&C[0],E.value]),C[0]){case 0:case 1:E=C;break;case 4:return v.label++,{value:C[1],done:!1};case 5:v.label++,p=C[1],C=[0];continue;case 7:C=v.ops.pop(),v.trys.pop();continue;default:if(!(E=(E=v.trys).length>0&&E[E.length-1])&&(6===C[0]||2===C[0])){v=0;continue}if(3===C[0]&&(!E||C[1]>E[0]&&C[1]{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.iif=void 0;var n=s(71896);m.iif=function l(u,c,i){return n.defer(function(){return u()?c:i})}},81280:function(pe,m,s){"use strict";var n=this&&this.__awaiter||function(R,k,A,H){return new(A||(A=Promise))(function(ie,X){function be(ct){try{ze(H.next(ct))}catch(xe){X(xe)}}function ce(ct){try{ze(H.throw(ct))}catch(xe){X(xe)}}function ze(ct){ct.done?ie(ct.value):function K(ie){return ie instanceof A?ie:new A(function(X){X(ie)})}(ct.value).then(be,ce)}ze((H=H.apply(R,k||[])).next())})},l=this&&this.__generator||function(R,k){var H,K,ie,X,A={label:0,sent:function(){if(1&ie[0])throw ie[1];return ie[1]},trys:[],ops:[]};return X={next:be(0),throw:be(1),return:be(2)},"function"==typeof Symbol&&(X[Symbol.iterator]=function(){return this}),X;function be(ze){return function(ct){return function ce(ze){if(H)throw new TypeError("Generator is already executing.");for(;A;)try{if(H=1,K&&(ie=2&ze[0]?K.return:ze[0]?K.throw||((ie=K.return)&&ie.call(K),0):K.next)&&!(ie=ie.call(K,ze[1])).done)return ie;switch(K=0,ie&&(ze=[2&ze[0],ie.value]),ze[0]){case 0:case 1:ie=ze;break;case 4:return A.label++,{value:ze[1],done:!1};case 5:A.label++,K=ze[1],ze=[0];continue;case 7:ze=A.ops.pop(),A.trys.pop();continue;default:if(!(ie=(ie=A.trys).length>0&&ie[ie.length-1])&&(6===ze[0]||2===ze[0])){A=0;continue}if(3===ze[0]&&(!ie||ze[1]>ie[0]&&ze[1]=R.length&&(R=void 0),{value:R&&R[H++],done:!R}}};throw new TypeError(k?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(m,"__esModule",{value:!0}),m.fromReadableStreamLike=m.fromAsyncIterable=m.fromIterable=m.fromPromise=m.fromArrayLike=m.fromInteropObservable=m.innerFrom=void 0;var i=s(18224),e=s(28296),o=s(15448),h=s(18440),v=s(37156),M=s(34088),p=s(30640),E=s(11416),S=s(82360),y=s(50131),f=s(72064);function _(R){return new o.Observable(function(k){var A=R[f.observable]();if(S.isFunction(A.subscribe))return A.subscribe(k);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function w(R){return new o.Observable(function(k){for(var A=0;A{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.interval=void 0;var n=s(69252),l=s(34168);m.interval=function u(c,i){return void 0===c&&(c=0),void 0===i&&(i=n.asyncScheduler),c<0&&(c=0),l.timer(c,c,i)}},14152:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.merge=void 0;var n=s(50304),l=s(81280),u=s(31456),c=s(69724),i=s(38485);m.merge=function e(){for(var o=[],h=0;h{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.never=m.NEVER=void 0;var n=s(15448),l=s(48320);m.NEVER=new n.Observable(l.noop),m.never=function u(){return m.NEVER}},41536:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.of=void 0;var n=s(69724),l=s(38485);m.of=function u(){for(var c=[],i=0;i{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.onErrorResumeNext=void 0;var n=s(15448),l=s(50652),u=s(35744),c=s(48320),i=s(81280);m.onErrorResumeNext=function e(){for(var o=[],h=0;h{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.pairs=void 0;var n=s(38485);m.pairs=function l(u,c){return n.from(Object.entries(u),c)}},91792:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.partition=void 0;var n=s(37700),l=s(39840),u=s(81280);m.partition=function c(i,e,o){return[l.filter(e,o)(u.innerFrom(i)),l.filter(n.not(e,o))(u.innerFrom(i))]}},84048:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.raceInit=m.race=void 0;var n=s(15448),l=s(81280),u=s(50652),c=s(35744);function e(o){return function(h){for(var v=[],M=function(E){v.push(l.innerFrom(o[E]).subscribe(c.createOperatorSubscriber(h,function(S){if(v){for(var y=0;y{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.range=void 0;var n=s(15448),l=s(31456);m.range=function u(c,i,e){if(null==i&&(i=c,c=0),i<=0)return l.EMPTY;var o=i+c;return new n.Observable(e?function(h){var v=c;return e.schedule(function(){v{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.throwError=void 0;var n=s(15448),l=s(82360);m.throwError=function u(c,i){var e=l.isFunction(c)?c:function(){return c},o=function(h){return h.error(e())};return new n.Observable(i?function(h){return i.schedule(o,0,h)}:o)}},34168:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.timer=void 0;var n=s(15448),l=s(69252),u=s(76964),c=s(42384);m.timer=function i(e,o,h){void 0===e&&(e=0),void 0===h&&(h=l.async);var v=-1;return null!=o&&(u.isScheduler(o)?h=o:v=o),new n.Observable(function(M){var p=c.isValidDate(e)?+e-h.now():e;p<0&&(p=0);var E=0;return h.schedule(function(){M.closed||(M.next(E++),0<=v?this.schedule(void 0,v):M.complete())},p)})}},28684:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.using=void 0;var n=s(15448),l=s(81280),u=s(31456);m.using=function c(i,e){return new n.Observable(function(o){var h=i(),v=e(h);return(v?l.innerFrom(v):u.EMPTY).subscribe(o),function(){h&&h.unsubscribe()}})}},59172:function(pe,m,s){"use strict";var n=this&&this.__read||function(M,p){var E="function"==typeof Symbol&&M[Symbol.iterator];if(!E)return M;var y,C,S=E.call(M),f=[];try{for(;(void 0===p||p-- >0)&&!(y=S.next()).done;)f.push(y.value)}catch(_){C={error:_}}finally{try{y&&!y.done&&(E=S.return)&&E.call(S)}finally{if(C)throw C.error}}return f},l=this&&this.__spreadArray||function(M,p){for(var E=0,S=p.length,y=M.length;E{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.audit=void 0;var n=s(66080),l=s(81280),u=s(35744);m.audit=function c(i){return n.operate(function(e,o){var h=!1,v=null,M=null,p=!1,E=function(){if(M?.unsubscribe(),M=null,h){h=!1;var y=v;v=null,o.next(y)}p&&o.complete()},S=function(){M=null,p&&o.complete()};e.subscribe(u.createOperatorSubscriber(o,function(y){h=!0,v=y,M||l.innerFrom(i(y)).subscribe(M=u.createOperatorSubscriber(o,E,S))},function(){p=!0,(!h||!M||M.closed)&&o.complete()}))})}},1393:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.auditTime=void 0;var n=s(69252),l=s(18380),u=s(34168);m.auditTime=function c(i,e){return void 0===e&&(e=n.asyncScheduler),l.audit(function(){return u.timer(i,e)})}},42744:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.buffer=void 0;var n=s(66080),l=s(48320),u=s(35744),c=s(81280);m.buffer=function i(e){return n.operate(function(o,h){var v=[];return o.subscribe(u.createOperatorSubscriber(h,function(M){return v.push(M)},function(){h.next(v),h.complete()})),c.innerFrom(e).subscribe(u.createOperatorSubscriber(h,function(){var M=v;v=[],h.next(M)},l.noop)),function(){v=null}})}},57864:function(pe,m,s){"use strict";var n=this&&this.__values||function(e){var o="function"==typeof Symbol&&Symbol.iterator,h=o&&e[o],v=0;if(h)return h.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&v>=e.length&&(e=void 0),{value:e&&e[v++],done:!e}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(m,"__esModule",{value:!0}),m.bufferCount=void 0;var l=s(66080),u=s(35744),c=s(39852);m.bufferCount=function i(e,o){return void 0===o&&(o=null),o=o??e,l.operate(function(h,v){var M=[],p=0;h.subscribe(u.createOperatorSubscriber(v,function(E){var S,y,f,C,_=null;p++%o==0&&M.push([]);try{for(var w=n(M),D=w.next();!D.done;D=w.next())(L=D.value).push(E),e<=L.length&&(_=_??[]).push(L)}catch(G){S={error:G}}finally{try{D&&!D.done&&(y=w.return)&&y.call(w)}finally{if(S)throw S.error}}if(_)try{for(var N=n(_),V=N.next();!V.done;V=N.next()){var L;c.arrRemove(M,L=V.value),v.next(L)}}catch(G){f={error:G}}finally{try{V&&!V.done&&(C=N.return)&&C.call(N)}finally{if(f)throw f.error}}},function(){var E,S;try{for(var y=n(M),f=y.next();!f.done;f=y.next())v.next(f.value)}catch(_){E={error:_}}finally{try{f&&!f.done&&(S=y.return)&&S.call(y)}finally{if(E)throw E.error}}v.complete()},void 0,function(){M=null}))})}},42704:function(pe,m,s){"use strict";var n=this&&this.__values||function(M){var p="function"==typeof Symbol&&Symbol.iterator,E=p&&M[p],S=0;if(E)return E.call(M);if(M&&"number"==typeof M.length)return{next:function(){return M&&S>=M.length&&(M=void 0),{value:M&&M[S++],done:!M}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(m,"__esModule",{value:!0}),m.bufferTime=void 0;var l=s(40576),u=s(66080),c=s(35744),i=s(39852),e=s(69252),o=s(69724),h=s(61760);m.bufferTime=function v(M){for(var p,E,S=[],y=1;y=0?h.executeSchedule(D,f,G,C,!0):N=!0,G();var R=c.createOperatorSubscriber(D,function(k){var A,H,K=L.slice();try{for(var ie=n(K),X=ie.next();!X.done;X=ie.next()){var be=X.value,ce=be.buffer;ce.push(k),_<=ce.length&&V(be)}}catch(ze){A={error:ze}}finally{try{X&&!X.done&&(H=ie.return)&&H.call(ie)}finally{if(A)throw A.error}}},function(){for(;L?.length;)D.next(L.shift().buffer);R?.unsubscribe(),D.complete(),D.unsubscribe()},void 0,function(){return L=null});w.subscribe(R)})}},21964:function(pe,m,s){"use strict";var n=this&&this.__values||function(v){var M="function"==typeof Symbol&&Symbol.iterator,p=M&&v[M],E=0;if(p)return p.call(v);if(v&&"number"==typeof v.length)return{next:function(){return v&&E>=v.length&&(v=void 0),{value:v&&v[E++],done:!v}}};throw new TypeError(M?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(m,"__esModule",{value:!0}),m.bufferToggle=void 0;var l=s(40576),u=s(66080),c=s(81280),i=s(35744),e=s(48320),o=s(39852);m.bufferToggle=function h(v,M){return u.operate(function(p,E){var S=[];c.innerFrom(v).subscribe(i.createOperatorSubscriber(E,function(y){var f=[];S.push(f);var C=new l.Subscription;C.add(c.innerFrom(M(y)).subscribe(i.createOperatorSubscriber(E,function(){o.arrRemove(S,f),E.next(f),C.unsubscribe()},e.noop)))},e.noop)),p.subscribe(i.createOperatorSubscriber(E,function(y){var f,C;try{for(var _=n(S),w=_.next();!w.done;w=_.next())w.value.push(y)}catch(L){f={error:L}}finally{try{w&&!w.done&&(C=_.return)&&C.call(_)}finally{if(f)throw f.error}}},function(){for(;S.length>0;)E.next(S.shift());E.complete()}))})}},16323:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.bufferWhen=void 0;var n=s(66080),l=s(48320),u=s(35744),c=s(81280);m.bufferWhen=function i(e){return n.operate(function(o,h){var v=null,M=null,p=function(){M?.unsubscribe();var E=v;v=[],E&&h.next(E),c.innerFrom(e()).subscribe(M=u.createOperatorSubscriber(h,p,l.noop))};p(),o.subscribe(u.createOperatorSubscriber(h,function(E){return v?.push(E)},function(){v&&h.next(v),h.complete()},void 0,function(){return v=M=null}))})}},11708:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.catchError=void 0;var n=s(81280),l=s(35744),u=s(66080);m.catchError=function c(i){return u.operate(function(e,o){var M,h=null,v=!1;h=e.subscribe(l.createOperatorSubscriber(o,void 0,void 0,function(p){M=n.innerFrom(i(p,c(i)(e))),h?(h.unsubscribe(),h=null,M.subscribe(o)):v=!0})),v&&(h.unsubscribe(),h=null,M.subscribe(o))})}},25184:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.combineAll=void 0;var n=s(86576);m.combineAll=n.combineLatestAll},31384:function(pe,m,s){"use strict";var n=this&&this.__read||function(M,p){var E="function"==typeof Symbol&&M[Symbol.iterator];if(!E)return M;var y,C,S=E.call(M),f=[];try{for(;(void 0===p||p-- >0)&&!(y=S.next()).done;)f.push(y.value)}catch(_){C={error:_}}finally{try{y&&!y.done&&(E=S.return)&&E.call(S)}finally{if(C)throw C.error}}return f},l=this&&this.__spreadArray||function(M,p){for(var E=0,S=p.length,y=M.length;E{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.combineLatestAll=void 0;var n=s(60128),l=s(28400);m.combineLatestAll=function u(c){return l.joinAllInternals(n.combineLatest,c)}},71480:function(pe,m,s){"use strict";var n=this&&this.__read||function(i,e){var o="function"==typeof Symbol&&i[Symbol.iterator];if(!o)return i;var v,p,h=o.call(i),M=[];try{for(;(void 0===e||e-- >0)&&!(v=h.next()).done;)M.push(v.value)}catch(E){p={error:E}}finally{try{v&&!v.done&&(o=h.return)&&o.call(h)}finally{if(p)throw p.error}}return M},l=this&&this.__spreadArray||function(i,e){for(var o=0,h=e.length,v=i.length;o0)&&!(E=p.next()).done;)S.push(E.value)}catch(f){y={error:f}}finally{try{E&&!E.done&&(M=p.return)&&M.call(p)}finally{if(y)throw y.error}}return S},l=this&&this.__spreadArray||function(h,v){for(var M=0,p=v.length,E=h.length;M{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.concatAll=void 0;var n=s(50304);m.concatAll=function l(){return n.mergeAll(1)}},68584:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.concatMap=void 0;var n=s(33480),l=s(82360);m.concatMap=function u(c,i){return l.isFunction(i)?n.mergeMap(c,i,1):n.mergeMap(c,1)}},38776:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.concatMapTo=void 0;var n=s(68584),l=s(82360);m.concatMapTo=function u(c,i){return l.isFunction(i)?n.concatMap(function(){return c},i):n.concatMap(function(){return c})}},23332:function(pe,m,s){"use strict";var n=this&&this.__read||function(i,e){var o="function"==typeof Symbol&&i[Symbol.iterator];if(!o)return i;var v,p,h=o.call(i),M=[];try{for(;(void 0===e||e-- >0)&&!(v=h.next()).done;)M.push(v.value)}catch(E){p={error:E}}finally{try{v&&!v.done&&(o=h.return)&&o.call(h)}finally{if(p)throw p.error}}return M},l=this&&this.__spreadArray||function(i,e){for(var o=0,h=e.length,v=i.length;o{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.connect=void 0;var n=s(90120),l=s(81280),u=s(66080),c=s(28544),i={connector:function(){return new n.Subject}};m.connect=function e(o,h){void 0===h&&(h=i);var v=h.connector;return u.operate(function(M,p){var E=v();l.innerFrom(o(c.fromSubscribable(E))).subscribe(p),p.add(M.subscribe(E))})}},95572:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.count=void 0;var n=s(39980);m.count=function l(u){return n.reduce(function(c,i,e){return!u||u(i,e)?c+1:c},0)}},42568:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.debounce=void 0;var n=s(66080),l=s(48320),u=s(35744),c=s(81280);m.debounce=function i(e){return n.operate(function(o,h){var v=!1,M=null,p=null,E=function(){if(p?.unsubscribe(),p=null,v){v=!1;var S=M;M=null,h.next(S)}};o.subscribe(u.createOperatorSubscriber(h,function(S){p?.unsubscribe(),v=!0,M=S,p=u.createOperatorSubscriber(h,E,l.noop),c.innerFrom(e(S)).subscribe(p)},function(){E(),h.complete()},void 0,function(){M=p=null}))})}},86275:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.debounceTime=void 0;var n=s(69252),l=s(66080),u=s(35744);m.debounceTime=function c(i,e){return void 0===e&&(e=n.asyncScheduler),l.operate(function(o,h){var v=null,M=null,p=null,E=function(){if(v){v.unsubscribe(),v=null;var y=M;M=null,h.next(y)}};function S(){var y=p+i,f=e.now();if(f{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.defaultIfEmpty=void 0;var n=s(66080),l=s(35744);m.defaultIfEmpty=function u(c){return n.operate(function(i,e){var o=!1;i.subscribe(l.createOperatorSubscriber(e,function(h){o=!0,e.next(h)},function(){o||e.next(c),e.complete()}))})}},99592:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.delay=void 0;var n=s(69252),l=s(59304),u=s(34168);m.delay=function c(i,e){void 0===e&&(e=n.asyncScheduler);var o=u.timer(i,e);return l.delayWhen(function(){return o})}},59304:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.delayWhen=void 0;var n=s(24560),l=s(38120),u=s(77392),c=s(89224),i=s(33480),e=s(81280);m.delayWhen=function o(h,v){return v?function(M){return n.concat(v.pipe(l.take(1),u.ignoreElements()),M.pipe(o(h)))}:i.mergeMap(function(M,p){return e.innerFrom(h(M,p)).pipe(l.take(1),c.mapTo(M))})}},84204:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.dematerialize=void 0;var n=s(12032),l=s(66080),u=s(35744);m.dematerialize=function c(){return l.operate(function(i,e){i.subscribe(u.createOperatorSubscriber(e,function(o){return n.observeNotification(o,e)}))})}},51256:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.distinct=void 0;var n=s(66080),l=s(35744),u=s(48320),c=s(81280);m.distinct=function i(e,o){return n.operate(function(h,v){var M=new Set;h.subscribe(l.createOperatorSubscriber(v,function(p){var E=e?e(p):p;M.has(E)||(M.add(E),v.next(p))})),o&&c.innerFrom(o).subscribe(l.createOperatorSubscriber(v,function(){return M.clear()},u.noop))})}},21544:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.distinctUntilChanged=void 0;var n=s(55184),l=s(66080),u=s(35744);function i(e,o){return e===o}m.distinctUntilChanged=function c(e,o){return void 0===o&&(o=n.identity),e=e??i,l.operate(function(h,v){var M,p=!0;h.subscribe(u.createOperatorSubscriber(v,function(E){var S=o(E);(p||!e(M,S))&&(p=!1,M=S,v.next(E))}))})}},61544:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.distinctUntilKeyChanged=void 0;var n=s(21544);m.distinctUntilKeyChanged=function l(u,c){return n.distinctUntilChanged(function(i,e){return c?c(i[u],e[u]):i[u]===e[u]})}},51808:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.elementAt=void 0;var n=s(32929),l=s(39840),u=s(51056),c=s(14707),i=s(38120);m.elementAt=function e(o,h){if(o<0)throw new n.ArgumentOutOfRangeError;var v=arguments.length>=2;return function(M){return M.pipe(l.filter(function(p,E){return E===o}),i.take(1),v?c.defaultIfEmpty(h):u.throwIfEmpty(function(){return new n.ArgumentOutOfRangeError}))}}},48568:function(pe,m,s){"use strict";var n=this&&this.__read||function(e,o){var h="function"==typeof Symbol&&e[Symbol.iterator];if(!h)return e;var M,E,v=h.call(e),p=[];try{for(;(void 0===o||o-- >0)&&!(M=v.next()).done;)p.push(M.value)}catch(S){E={error:S}}finally{try{M&&!M.done&&(h=v.return)&&h.call(v)}finally{if(E)throw E.error}}return p},l=this&&this.__spreadArray||function(e,o){for(var h=0,v=o.length,M=e.length;h{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.every=void 0;var n=s(66080),l=s(35744);m.every=function u(c,i){return n.operate(function(e,o){var h=0;e.subscribe(l.createOperatorSubscriber(o,function(v){c.call(i,v,h++,e)||(o.next(!1),o.complete())},function(){o.next(!0),o.complete()}))})}},53704:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.exhaust=void 0;var n=s(34288);m.exhaust=n.exhaustAll},34288:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.exhaustAll=void 0;var n=s(44632),l=s(55184);m.exhaustAll=function u(){return n.exhaustMap(l.identity)}},44632:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.exhaustMap=void 0;var n=s(784),l=s(81280),u=s(66080),c=s(35744);m.exhaustMap=function i(e,o){return o?function(h){return h.pipe(i(function(v,M){return l.innerFrom(e(v,M)).pipe(n.map(function(p,E){return o(v,p,M,E)}))}))}:u.operate(function(h,v){var M=0,p=null,E=!1;h.subscribe(c.createOperatorSubscriber(v,function(S){p||(p=c.createOperatorSubscriber(v,void 0,function(){p=null,E&&v.complete()}),l.innerFrom(e(S,M++)).subscribe(p))},function(){E=!0,!p&&v.complete()}))})}},84624:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.expand=void 0;var n=s(66080),l=s(46972);m.expand=function u(c,i,e){return void 0===i&&(i=1/0),i=(i||0)<1?1/0:i,n.operate(function(o,h){return l.mergeInternals(o,h,c,i,void 0,!0,e)})}},39840:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.filter=void 0;var n=s(66080),l=s(35744);m.filter=function u(c,i){return n.operate(function(e,o){var h=0;e.subscribe(l.createOperatorSubscriber(o,function(v){return c.call(i,v,h++)&&o.next(v)}))})}},99440:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.finalize=void 0;var n=s(66080);m.finalize=function l(u){return n.operate(function(c,i){try{c.subscribe(i)}finally{i.add(u)}})}},70939:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.createFind=m.find=void 0;var n=s(66080),l=s(35744);function c(i,e,o){var h="index"===o;return function(v,M){var p=0;v.subscribe(l.createOperatorSubscriber(M,function(E){var S=p++;i.call(e,E,S,v)&&(M.next(h?S:E),M.complete())},function(){M.next(h?-1:void 0),M.complete()}))}}m.find=function u(i,e){return n.operate(c(i,e,"value"))},m.createFind=c},69496:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.findIndex=void 0;var n=s(66080),l=s(70939);m.findIndex=function u(c,i){return n.operate(l.createFind(c,i,"index"))}},11848:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.first=void 0;var n=s(51544),l=s(39840),u=s(38120),c=s(14707),i=s(51056),e=s(55184);m.first=function o(h,v){var M=arguments.length>=2;return function(p){return p.pipe(h?l.filter(function(E,S){return h(E,S,p)}):e.identity,u.take(1),M?c.defaultIfEmpty(v):i.throwIfEmpty(function(){return new n.EmptyError}))}}},98924:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.flatMap=void 0;var n=s(33480);m.flatMap=n.mergeMap},17909:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.groupBy=void 0;var n=s(15448),l=s(81280),u=s(90120),c=s(66080),i=s(35744);m.groupBy=function e(o,h,v,M){return c.operate(function(p,E){var S;h&&"function"!=typeof h?(v=h.duration,S=h.element,M=h.connector):S=h;var y=new Map,f=function(N){y.forEach(N),N(E)},C=function(N){return f(function(V){return V.error(N)})},_=0,w=!1,D=new i.OperatorSubscriber(E,function(N){try{var V=o(N),G=y.get(V);if(!G){y.set(V,G=M?M():new u.Subject);var R=function L(N,V){var G=new n.Observable(function(R){_++;var k=V.subscribe(R);return function(){k.unsubscribe(),0==--_&&w&&D.unsubscribe()}});return G.key=N,G}(V,G);if(E.next(R),v){var k=i.createOperatorSubscriber(G,function(){G.complete(),k?.unsubscribe()},void 0,void 0,function(){return y.delete(V)});D.add(l.innerFrom(v(R)).subscribe(k))}}G.next(S?S(N):N)}catch(A){C(A)}},function(){return f(function(N){return N.complete()})},C,function(){return y.clear()},function(){return w=!0,0===_});p.subscribe(D)})}},77392:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.ignoreElements=void 0;var n=s(66080),l=s(35744),u=s(48320);m.ignoreElements=function c(){return n.operate(function(i,e){i.subscribe(l.createOperatorSubscriber(e,u.noop))})}},73564:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.isEmpty=void 0;var n=s(66080),l=s(35744);m.isEmpty=function u(){return n.operate(function(c,i){c.subscribe(l.createOperatorSubscriber(i,function(){i.next(!1),i.complete()},function(){i.next(!0),i.complete()}))})}},28400:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.joinAllInternals=void 0;var n=s(55184),l=s(82664),u=s(19512),c=s(33480),i=s(29316);m.joinAllInternals=function e(o,h){return u.pipe(i.toArray(),c.mergeMap(function(v){return o(v)}),h?l.mapOneOrManyArgs(h):n.identity)}},2696:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.last=void 0;var n=s(51544),l=s(39840),u=s(32224),c=s(51056),i=s(14707),e=s(55184);m.last=function o(h,v){var M=arguments.length>=2;return function(p){return p.pipe(h?l.filter(function(E,S){return h(E,S,p)}):e.identity,u.takeLast(1),M?i.defaultIfEmpty(v):c.throwIfEmpty(function(){return new n.EmptyError}))}}},784:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.map=void 0;var n=s(66080),l=s(35744);m.map=function u(c,i){return n.operate(function(e,o){var h=0;e.subscribe(l.createOperatorSubscriber(o,function(v){o.next(c.call(i,v,h++))}))})}},89224:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.mapTo=void 0;var n=s(784);m.mapTo=function l(u){return n.map(function(){return u})}},6832:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.materialize=void 0;var n=s(12032),l=s(66080),u=s(35744);m.materialize=function c(){return l.operate(function(i,e){i.subscribe(u.createOperatorSubscriber(e,function(o){e.next(n.Notification.createNext(o))},function(){e.next(n.Notification.createComplete()),e.complete()},function(o){e.next(n.Notification.createError(o)),e.complete()}))})}},34808:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.max=void 0;var n=s(39980),l=s(82360);m.max=function u(c){return n.reduce(l.isFunction(c)?function(i,e){return c(i,e)>0?i:e}:function(i,e){return i>e?i:e})}},38884:function(pe,m,s){"use strict";var n=this&&this.__read||function(v,M){var p="function"==typeof Symbol&&v[Symbol.iterator];if(!p)return v;var S,f,E=p.call(v),y=[];try{for(;(void 0===M||M-- >0)&&!(S=E.next()).done;)y.push(S.value)}catch(C){f={error:C}}finally{try{S&&!S.done&&(p=E.return)&&p.call(E)}finally{if(f)throw f.error}}return y},l=this&&this.__spreadArray||function(v,M){for(var p=0,E=M.length,S=v.length;p{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.mergeAll=void 0;var n=s(33480),l=s(55184);m.mergeAll=function u(c){return void 0===c&&(c=1/0),n.mergeMap(l.identity,c)}},46972:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.mergeInternals=void 0;var n=s(81280),l=s(61760),u=s(35744);m.mergeInternals=function c(i,e,o,h,v,M,p,E){var S=[],y=0,f=0,C=!1,_=function(){C&&!S.length&&!y&&e.complete()},w=function(L){return y{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.mergeMap=void 0;var n=s(784),l=s(81280),u=s(66080),c=s(46972),i=s(82360);m.mergeMap=function e(o,h,v){return void 0===v&&(v=1/0),i.isFunction(h)?e(function(M,p){return n.map(function(E,S){return h(M,E,p,S)})(l.innerFrom(o(M,p)))},v):("number"==typeof h&&(v=h),u.operate(function(M,p){return c.mergeInternals(M,p,o,v)}))}},73232:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.mergeMapTo=void 0;var n=s(33480),l=s(82360);m.mergeMapTo=function u(c,i,e){return void 0===e&&(e=1/0),l.isFunction(i)?n.mergeMap(function(){return c},i,e):("number"==typeof i&&(e=i),n.mergeMap(function(){return c},e))}},3380:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.mergeScan=void 0;var n=s(66080),l=s(46972);m.mergeScan=function u(c,i,e){return void 0===e&&(e=1/0),n.operate(function(o,h){var v=i;return l.mergeInternals(o,h,function(M,p){return c(v,M,p)},e,function(M){v=M},!1,void 0,function(){return v=null})})}},57308:function(pe,m,s){"use strict";var n=this&&this.__read||function(i,e){var o="function"==typeof Symbol&&i[Symbol.iterator];if(!o)return i;var v,p,h=o.call(i),M=[];try{for(;(void 0===e||e-- >0)&&!(v=h.next()).done;)M.push(v.value)}catch(E){p={error:E}}finally{try{v&&!v.done&&(o=h.return)&&o.call(h)}finally{if(p)throw p.error}}return M},l=this&&this.__spreadArray||function(i,e){for(var o=0,h=e.length,v=i.length;o{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.min=void 0;var n=s(39980),l=s(82360);m.min=function u(c){return n.reduce(l.isFunction(c)?function(i,e){return c(i,e)<0?i:e}:function(i,e){return i{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.multicast=void 0;var n=s(42416),l=s(82360),u=s(59056);m.multicast=function c(i,e){var o=l.isFunction(i)?i:function(){return i};return l.isFunction(e)?u.connect(e,{connector:o}):function(h){return new n.ConnectableObservable(h,o)}}},33752:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.observeOn=void 0;var n=s(61760),l=s(66080),u=s(35744);m.observeOn=function c(i,e){return void 0===e&&(e=0),l.operate(function(o,h){o.subscribe(u.createOperatorSubscriber(h,function(v){return n.executeSchedule(h,i,function(){return h.next(v)},e)},function(){return n.executeSchedule(h,i,function(){return h.complete()},e)},function(v){return n.executeSchedule(h,i,function(){return h.error(v)},e)}))})}},19184:function(pe,m,s){"use strict";var n=this&&this.__read||function(e,o){var h="function"==typeof Symbol&&e[Symbol.iterator];if(!h)return e;var M,E,v=h.call(e),p=[];try{for(;(void 0===o||o-- >0)&&!(M=v.next()).done;)p.push(M.value)}catch(S){E={error:S}}finally{try{M&&!M.done&&(h=v.return)&&h.call(v)}finally{if(E)throw E.error}}return p},l=this&&this.__spreadArray||function(e,o){for(var h=0,v=o.length,M=e.length;h{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.pairwise=void 0;var n=s(66080),l=s(35744);m.pairwise=function u(){return n.operate(function(c,i){var e,o=!1;c.subscribe(l.createOperatorSubscriber(i,function(h){var v=e;e=h,o&&i.next([v,h]),o=!0}))})}},64712:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.pluck=void 0;var n=s(784);m.pluck=function l(){for(var u=[],c=0;c{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.publish=void 0;var n=s(90120),l=s(66752),u=s(59056);m.publish=function c(i){return i?function(e){return u.connect(i)(e)}:function(e){return l.multicast(new n.Subject)(e)}}},40360:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.publishBehavior=void 0;var n=s(60488),l=s(42416);m.publishBehavior=function u(c){return function(i){var e=new n.BehaviorSubject(c);return new l.ConnectableObservable(i,function(){return e})}}},64960:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.publishLast=void 0;var n=s(70408),l=s(42416);m.publishLast=function u(){return function(c){var i=new n.AsyncSubject;return new l.ConnectableObservable(c,function(){return i})}}},23944:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.publishReplay=void 0;var n=s(38640),l=s(66752),u=s(82360);m.publishReplay=function c(i,e,o,h){o&&!u.isFunction(o)&&(h=o);var v=u.isFunction(o)?o:void 0;return function(M){return l.multicast(new n.ReplaySubject(i,e,h),v)(M)}}},53424:function(pe,m,s){"use strict";var n=this&&this.__read||function(o,h){var v="function"==typeof Symbol&&o[Symbol.iterator];if(!v)return o;var p,S,M=v.call(o),E=[];try{for(;(void 0===h||h-- >0)&&!(p=M.next()).done;)E.push(p.value)}catch(y){S={error:y}}finally{try{p&&!p.done&&(v=M.return)&&v.call(M)}finally{if(S)throw S.error}}return E},l=this&&this.__spreadArray||function(o,h){for(var v=0,M=h.length,p=o.length;v{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.reduce=void 0;var n=s(56500),l=s(66080);m.reduce=function u(c,i){return l.operate(n.scanInternals(c,i,arguments.length>=2,!1,!0))}},60300:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.refCount=void 0;var n=s(66080),l=s(35744);m.refCount=function u(){return n.operate(function(c,i){var e=null;c._refCount++;var o=l.createOperatorSubscriber(i,void 0,void 0,void 0,function(){if(!c||c._refCount<=0||0<--c._refCount)e=null;else{var h=c._connection,v=e;e=null,h&&(!v||h===v)&&h.unsubscribe(),i.unsubscribe()}});c.subscribe(o),o.closed||(e=c.connect())})}},90532:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.repeat=void 0;var n=s(31456),l=s(66080),u=s(35744),c=s(81280),i=s(34168);m.repeat=function e(o){var h,M,v=1/0;return null!=o&&("object"==typeof o?(v=void 0===(h=o.count)?1/0:h,M=o.delay):v=o),v<=0?function(){return n.EMPTY}:l.operate(function(p,E){var y,S=0,f=function(){if(y?.unsubscribe(),y=null,null!=M){var _="number"==typeof M?i.timer(M):c.innerFrom(M(S)),w=u.createOperatorSubscriber(E,function(){w.unsubscribe(),C()});_.subscribe(w)}else C()},C=function(){var _=!1;y=p.subscribe(u.createOperatorSubscriber(E,void 0,function(){++S{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.repeatWhen=void 0;var n=s(81280),l=s(90120),u=s(66080),c=s(35744);m.repeatWhen=function i(e){return u.operate(function(o,h){var v,p,M=!1,E=!1,S=!1,y=function(){return S&&E&&(h.complete(),!0)},C=function(){S=!1,v=o.subscribe(c.createOperatorSubscriber(h,void 0,function(){S=!0,!y()&&(p||(p=new l.Subject,n.innerFrom(e(p)).subscribe(c.createOperatorSubscriber(h,function(){v?C():M=!0},function(){E=!0,y()}))),p).next()})),M&&(v.unsubscribe(),v=null,M=!1,C())};C()})}},584:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.retry=void 0;var n=s(66080),l=s(35744),u=s(55184),c=s(34168),i=s(81280);m.retry=function e(o){var h;void 0===o&&(o=1/0);var v=(h=o&&"object"==typeof o?o:{count:o}).count,M=void 0===v?1/0:v,p=h.delay,E=h.resetOnSuccess,S=void 0!==E&&E;return M<=0?u.identity:n.operate(function(y,f){var _,C=0,w=function(){var D=!1;_=y.subscribe(l.createOperatorSubscriber(f,function(L){S&&(C=0),f.next(L)},void 0,function(L){if(C++{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.retryWhen=void 0;var n=s(81280),l=s(90120),u=s(66080),c=s(35744);m.retryWhen=function i(e){return u.operate(function(o,h){var v,p,M=!1,E=function(){v=o.subscribe(c.createOperatorSubscriber(h,void 0,void 0,function(S){p||(p=new l.Subject,n.innerFrom(e(p)).subscribe(c.createOperatorSubscriber(h,function(){return v?E():M=!0}))),p&&p.next(S)})),M&&(v.unsubscribe(),v=null,M=!1,E())};E()})}},64968:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.sample=void 0;var n=s(81280),l=s(66080),u=s(48320),c=s(35744);m.sample=function i(e){return l.operate(function(o,h){var v=!1,M=null;o.subscribe(c.createOperatorSubscriber(h,function(p){v=!0,M=p})),n.innerFrom(e).subscribe(c.createOperatorSubscriber(h,function(){if(v){v=!1;var p=M;M=null,h.next(p)}},u.noop))})}},97792:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.sampleTime=void 0;var n=s(69252),l=s(64968),u=s(2071);m.sampleTime=function c(i,e){return void 0===e&&(e=n.asyncScheduler),l.sample(u.interval(i,e))}},17752:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.scan=void 0;var n=s(66080),l=s(56500);m.scan=function u(c,i){return n.operate(l.scanInternals(c,i,arguments.length>=2,!0))}},56500:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.scanInternals=void 0;var n=s(35744);m.scanInternals=function l(u,c,i,e,o){return function(h,v){var M=i,p=c,E=0;h.subscribe(n.createOperatorSubscriber(v,function(S){var y=E++;p=M?u(p,S,y):(M=!0,S),e&&v.next(p)},o&&function(){M&&v.next(p),v.complete()}))}}},43904:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.sequenceEqual=void 0;var n=s(66080),l=s(35744),u=s(81280);m.sequenceEqual=function c(e,o){return void 0===o&&(o=function(h,v){return h===v}),n.operate(function(h,v){var M={buffer:[],complete:!1},p={buffer:[],complete:!1},E=function(y){v.next(y),v.complete()},S=function(y,f){var C=l.createOperatorSubscriber(v,function(_){var w=f.buffer;0===w.length?f.complete?E(!1):y.buffer.push(_):!o(_,w.shift())&&E(!1)},function(){y.complete=!0,f.complete&&E(0===f.buffer.length),C?.unsubscribe()});return C};h.subscribe(S(M,p)),u.innerFrom(e).subscribe(S(p,M))})}},95912:function(pe,m,s){"use strict";var n=this&&this.__read||function(v,M){var p="function"==typeof Symbol&&v[Symbol.iterator];if(!p)return v;var S,f,E=p.call(v),y=[];try{for(;(void 0===M||M-- >0)&&!(S=E.next()).done;)y.push(S.value)}catch(C){f={error:C}}finally{try{S&&!S.done&&(p=E.return)&&p.call(E)}finally{if(f)throw f.error}}return y},l=this&&this.__spreadArray||function(v,M){for(var p=0,E=M.length,S=v.length;p0&&(D=new i.SafeSubscriber({next:function(be){return X.next(be)},error:function(be){R=!0,k(),L=h(A,S,be),X.error(be)},complete:function(){G=!0,k(),L=h(A,f),X.complete()}}),u.innerFrom(K).subscribe(D))})(w)}}},20468:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.shareReplay=void 0;var n=s(38640),l=s(95912);m.shareReplay=function u(c,i,e){var o,h,v,M,p=!1;return c&&"object"==typeof c?(M=void 0===(o=c.bufferSize)?1/0:o,i=void 0===(h=c.windowTime)?1/0:h,p=void 0!==(v=c.refCount)&&v,e=c.scheduler):M=c??1/0,l.share({connector:function(){return new n.ReplaySubject(M,i,e)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:p})}},43952:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.single=void 0;var n=s(51544),l=s(71016),u=s(15496),c=s(66080),i=s(35744);m.single=function e(o){return c.operate(function(h,v){var p,M=!1,E=!1,S=0;h.subscribe(i.createOperatorSubscriber(v,function(y){E=!0,(!o||o(y,S++,h))&&(M&&v.error(new l.SequenceError("Too many matching values")),M=!0,p=y)},function(){M?(v.next(p),v.complete()):v.error(E?new u.NotFoundError("No matching values"):new n.EmptyError)}))})}},98196:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.skip=void 0;var n=s(39840);m.skip=function l(u){return n.filter(function(c,i){return u<=i})}},47832:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.skipLast=void 0;var n=s(55184),l=s(66080),u=s(35744);m.skipLast=function c(i){return i<=0?n.identity:l.operate(function(e,o){var h=new Array(i),v=0;return e.subscribe(u.createOperatorSubscriber(o,function(M){var p=v++;if(p{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.skipUntil=void 0;var n=s(66080),l=s(35744),u=s(81280),c=s(48320);m.skipUntil=function i(e){return n.operate(function(o,h){var v=!1,M=l.createOperatorSubscriber(h,function(){M?.unsubscribe(),v=!0},c.noop);u.innerFrom(e).subscribe(M),o.subscribe(l.createOperatorSubscriber(h,function(p){return v&&h.next(p)}))})}},49856:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.skipWhile=void 0;var n=s(66080),l=s(35744);m.skipWhile=function u(c){return n.operate(function(i,e){var o=!1,h=0;i.subscribe(l.createOperatorSubscriber(e,function(v){return(o||(o=!c(v,h++)))&&e.next(v)}))})}},59612:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.startWith=void 0;var n=s(24560),l=s(69724),u=s(66080);m.startWith=function c(){for(var i=[],e=0;e{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.subscribeOn=void 0;var n=s(66080);m.subscribeOn=function l(u,c){return void 0===c&&(c=0),n.operate(function(i,e){e.add(u.schedule(function(){return i.subscribe(e)},c))})}},63368:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.switchAll=void 0;var n=s(39876),l=s(55184);m.switchAll=function u(){return n.switchMap(l.identity)}},39876:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.switchMap=void 0;var n=s(81280),l=s(66080),u=s(35744);m.switchMap=function c(i,e){return l.operate(function(o,h){var v=null,M=0,p=!1,E=function(){return p&&!v&&h.complete()};o.subscribe(u.createOperatorSubscriber(h,function(S){v?.unsubscribe();var y=0,f=M++;n.innerFrom(i(S,f)).subscribe(v=u.createOperatorSubscriber(h,function(C){return h.next(e?e(S,C,f,y++):C)},function(){v=null,E()}))},function(){p=!0,E()}))})}},57168:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.switchMapTo=void 0;var n=s(39876),l=s(82360);m.switchMapTo=function u(c,i){return l.isFunction(i)?n.switchMap(function(){return c},i):n.switchMap(function(){return c})}},19980:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.switchScan=void 0;var n=s(39876),l=s(66080);m.switchScan=function u(c,i){return l.operate(function(e,o){var h=i;return n.switchMap(function(v,M){return c(h,v,M)},function(v,M){return h=M,M})(e).subscribe(o),function(){h=null}})}},38120:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.take=void 0;var n=s(31456),l=s(66080),u=s(35744);m.take=function c(i){return i<=0?function(){return n.EMPTY}:l.operate(function(e,o){var h=0;e.subscribe(u.createOperatorSubscriber(o,function(v){++h<=i&&(o.next(v),i<=h&&o.complete())}))})}},32224:function(pe,m,s){"use strict";var n=this&&this.__values||function(e){var o="function"==typeof Symbol&&Symbol.iterator,h=o&&e[o],v=0;if(h)return h.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&v>=e.length&&(e=void 0),{value:e&&e[v++],done:!e}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(m,"__esModule",{value:!0}),m.takeLast=void 0;var l=s(31456),u=s(66080),c=s(35744);m.takeLast=function i(e){return e<=0?function(){return l.EMPTY}:u.operate(function(o,h){var v=[];o.subscribe(c.createOperatorSubscriber(h,function(M){v.push(M),e{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.takeUntil=void 0;var n=s(66080),l=s(35744),u=s(81280),c=s(48320);m.takeUntil=function i(e){return n.operate(function(o,h){u.innerFrom(e).subscribe(l.createOperatorSubscriber(h,function(){return h.complete()},c.noop)),!h.closed&&o.subscribe(h)})}},35408:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.takeWhile=void 0;var n=s(66080),l=s(35744);m.takeWhile=function u(c,i){return void 0===i&&(i=!1),n.operate(function(e,o){var h=0;e.subscribe(l.createOperatorSubscriber(o,function(v){var M=c(v,h++);(M||i)&&o.next(v),!M&&o.complete()}))})}},46748:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.tap=void 0;var n=s(82360),l=s(66080),u=s(35744),c=s(55184);m.tap=function i(e,o,h){var v=n.isFunction(e)||o||h?{next:e,error:o,complete:h}:e;return v?l.operate(function(M,p){var E;null===(E=v.subscribe)||void 0===E||E.call(v);var S=!0;M.subscribe(u.createOperatorSubscriber(p,function(y){var f;null===(f=v.next)||void 0===f||f.call(v,y),p.next(y)},function(){var y;S=!1,null===(y=v.complete)||void 0===y||y.call(v),p.complete()},function(y){var f;S=!1,null===(f=v.error)||void 0===f||f.call(v,y),p.error(y)},function(){var y,f;S&&(null===(y=v.unsubscribe)||void 0===y||y.call(v)),null===(f=v.finalize)||void 0===f||f.call(v)}))}):c.identity}},66720:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.throttle=void 0;var n=s(66080),l=s(35744),u=s(81280);m.throttle=function c(i,e){return n.operate(function(o,h){var v=e??{},M=v.leading,p=void 0===M||M,E=v.trailing,S=void 0!==E&&E,y=!1,f=null,C=null,_=!1,w=function(){C?.unsubscribe(),C=null,S&&(N(),_&&h.complete())},D=function(){C=null,_&&h.complete()},L=function(V){return C=u.innerFrom(i(V)).subscribe(l.createOperatorSubscriber(h,w,D))},N=function(){if(y){y=!1;var V=f;f=null,h.next(V),!_&&L(V)}};o.subscribe(l.createOperatorSubscriber(h,function(V){y=!0,f=V,(!C||C.closed)&&(p?N():L(V))},function(){_=!0,(!(S&&y&&C)||C.closed)&&h.complete()}))})}},44236:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.throttleTime=void 0;var n=s(69252),l=s(66720),u=s(34168);m.throttleTime=function c(i,e,o){void 0===e&&(e=n.asyncScheduler);var h=u.timer(i,e);return l.throttle(function(){return h},o)}},51056:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.throwIfEmpty=void 0;var n=s(51544),l=s(66080),u=s(35744);function i(){return new n.EmptyError}m.throwIfEmpty=function c(e){return void 0===e&&(e=i),l.operate(function(o,h){var v=!1;o.subscribe(u.createOperatorSubscriber(h,function(M){v=!0,h.next(M)},function(){return v?h.complete():h.error(e())}))})}},39500:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.TimeInterval=m.timeInterval=void 0;var n=s(69252),l=s(66080),u=s(35744);m.timeInterval=function c(e){return void 0===e&&(e=n.asyncScheduler),l.operate(function(o,h){var v=e.now();o.subscribe(u.createOperatorSubscriber(h,function(M){var p=e.now(),E=p-v;v=p,h.next(new i(M,E))}))})};var i=function(){return function e(o,h){this.value=o,this.interval=h}}();m.TimeInterval=i},20268:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.timeout=m.TimeoutError=void 0;var n=s(69252),l=s(42384),u=s(66080),c=s(81280),i=s(26624),e=s(35744),o=s(61760);function v(M){throw new m.TimeoutError(M)}m.TimeoutError=i.createErrorClass(function(M){return function(E){void 0===E&&(E=null),M(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=E}}),m.timeout=function h(M,p){var E=l.isValidDate(M)?{first:M}:"number"==typeof M?{each:M}:M,S=E.first,y=E.each,f=E.with,C=void 0===f?v:f,_=E.scheduler,w=void 0===_?p??n.asyncScheduler:_,D=E.meta,L=void 0===D?null:D;if(null==S&&null==y)throw new TypeError("No timeout provided.");return u.operate(function(N,V){var G,R,k=null,A=0,H=function(K){R=o.executeSchedule(V,w,function(){try{G.unsubscribe(),c.innerFrom(C({meta:L,lastValue:k,seen:A})).subscribe(V)}catch(ie){V.error(ie)}},K)};G=N.subscribe(e.createOperatorSubscriber(V,function(K){R?.unsubscribe(),A++,V.next(k=K),y>0&&H(y)},void 0,void 0,function(){R?.closed||R?.unsubscribe(),k=null})),!A&&H(null!=S?"number"==typeof S?S:+S-w.now():y)})}},88536:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.timeoutWith=void 0;var n=s(69252),l=s(42384),u=s(20268);m.timeoutWith=function c(i,e,o){var h,v,M;if(o=o??n.async,l.isValidDate(i)?h=i:"number"==typeof i&&(v=i),!e)throw new TypeError("No observable provided to switch to");if(M=function(){return e},null==h&&null==v)throw new TypeError("No timeout provided.");return u.timeout({first:h,each:v,scheduler:o,with:M})}},37248:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.timestamp=void 0;var n=s(8764),l=s(784);m.timestamp=function u(c){return void 0===c&&(c=n.dateTimestampProvider),l.map(function(i){return{value:i,timestamp:c.now()}})}},29316:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.toArray=void 0;var n=s(39980),l=s(66080),u=function(i,e){return i.push(e),i};m.toArray=function c(){return l.operate(function(i,e){n.reduce(u,[])(i).subscribe(e)})}},40560:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.window=void 0;var n=s(90120),l=s(66080),u=s(35744),c=s(48320),i=s(81280);m.window=function e(o){return l.operate(function(h,v){var M=new n.Subject;v.next(M.asObservable());var p=function(E){M.error(E),v.error(E)};return h.subscribe(u.createOperatorSubscriber(v,function(E){return M?.next(E)},function(){M.complete(),v.complete()},p)),i.innerFrom(o).subscribe(u.createOperatorSubscriber(v,function(){M.complete(),v.next(M=new n.Subject)},c.noop,p)),function(){M?.unsubscribe(),M=null}})}},79068:function(pe,m,s){"use strict";var n=this&&this.__values||function(e){var o="function"==typeof Symbol&&Symbol.iterator,h=o&&e[o],v=0;if(h)return h.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&v>=e.length&&(e=void 0),{value:e&&e[v++],done:!e}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(m,"__esModule",{value:!0}),m.windowCount=void 0;var l=s(90120),u=s(66080),c=s(35744);m.windowCount=function i(e,o){void 0===o&&(o=0);var h=o>0?o:e;return u.operate(function(v,M){var p=[new l.Subject],S=0;M.next(p[0].asObservable()),v.subscribe(c.createOperatorSubscriber(M,function(y){var f,C;try{for(var _=n(p),w=_.next();!w.done;w=_.next())w.value.next(y)}catch(V){f={error:V}}finally{try{w&&!w.done&&(C=_.return)&&C.call(_)}finally{if(f)throw f.error}}var L=S-e+1;if(L>=0&&L%h==0&&p.shift().complete(),++S%h==0){var N=new l.Subject;p.push(N),M.next(N.asObservable())}},function(){for(;p.length>0;)p.shift().complete();M.complete()},function(y){for(;p.length>0;)p.shift().error(y);M.error(y)},function(){p=null}))})}},11984:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.windowTime=void 0;var n=s(90120),l=s(69252),u=s(40576),c=s(66080),i=s(35744),e=s(39852),o=s(69724),h=s(61760);m.windowTime=function v(M){for(var p,E,S=[],y=1;y=0?h.executeSchedule(D,f,G,C,!0):N=!0,G();var R=function(A){return L.slice().forEach(A)},k=function(A){R(function(H){return A(H.window)}),A(D),D.unsubscribe()};return w.subscribe(i.createOperatorSubscriber(D,function(A){R(function(H){H.window.next(A),_<=++H.seen&&V(H)})},function(){return k(function(A){return A.complete()})},function(A){return k(function(H){return H.error(A)})})),function(){L=null}})}},97776:function(pe,m,s){"use strict";var n=this&&this.__values||function(M){var p="function"==typeof Symbol&&Symbol.iterator,E=p&&M[p],S=0;if(E)return E.call(M);if(M&&"number"==typeof M.length)return{next:function(){return M&&S>=M.length&&(M=void 0),{value:M&&M[S++],done:!M}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(m,"__esModule",{value:!0}),m.windowToggle=void 0;var l=s(90120),u=s(40576),c=s(66080),i=s(81280),e=s(35744),o=s(48320),h=s(39852);m.windowToggle=function v(M,p){return c.operate(function(E,S){var y=[],f=function(C){for(;0{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.windowWhen=void 0;var n=s(90120),l=s(66080),u=s(35744),c=s(81280);m.windowWhen=function i(e){return l.operate(function(o,h){var v,M,p=function(S){v.error(S),h.error(S)},E=function(){var S;M?.unsubscribe(),v?.complete(),v=new n.Subject,h.next(v.asObservable());try{S=c.innerFrom(e())}catch(y){return void p(y)}S.subscribe(M=u.createOperatorSubscriber(h,E,E,p))};E(),o.subscribe(u.createOperatorSubscriber(h,function(S){return v.next(S)},function(){v.complete(),h.complete()},p,function(){M?.unsubscribe(),v=null}))})}},95780:function(pe,m,s){"use strict";var n=this&&this.__read||function(M,p){var E="function"==typeof Symbol&&M[Symbol.iterator];if(!E)return M;var y,C,S=E.call(M),f=[];try{for(;(void 0===p||p-- >0)&&!(y=S.next()).done;)f.push(y.value)}catch(_){C={error:_}}finally{try{y&&!y.done&&(E=S.return)&&E.call(S)}finally{if(C)throw C.error}}return f},l=this&&this.__spreadArray||function(M,p){for(var E=0,S=p.length,y=M.length;E0)&&!(M=v.next()).done;)p.push(M.value)}catch(S){E={error:S}}finally{try{M&&!M.done&&(h=v.return)&&h.call(v)}finally{if(E)throw E.error}}return p},l=this&&this.__spreadArray||function(e,o){for(var h=0,v=o.length,M=e.length;h{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.zipAll=void 0;var n=s(59172),l=s(28400);m.zipAll=function u(c){return l.joinAllInternals(n.zip,c)}},56824:function(pe,m,s){"use strict";var n=this&&this.__read||function(i,e){var o="function"==typeof Symbol&&i[Symbol.iterator];if(!o)return i;var v,p,h=o.call(i),M=[];try{for(;(void 0===e||e-- >0)&&!(v=h.next()).done;)M.push(v.value)}catch(E){p={error:E}}finally{try{v&&!v.done&&(o=h.return)&&o.call(h)}finally{if(p)throw p.error}}return M},l=this&&this.__spreadArray||function(i,e){for(var o=0,h=e.length,v=i.length;o{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.scheduleArray=void 0;var n=s(15448);m.scheduleArray=function l(u,c){return new n.Observable(function(i){var e=0;return c.schedule(function(){e===u.length?i.complete():(i.next(u[e++]),i.closed||this.schedule())})})}},37360:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.scheduleAsyncIterable=void 0;var n=s(15448),l=s(61760);m.scheduleAsyncIterable=function u(c,i){if(!c)throw new Error("Iterable cannot be null");return new n.Observable(function(e){l.executeSchedule(e,i,function(){var o=c[Symbol.asyncIterator]();l.executeSchedule(e,i,function(){o.next().then(function(h){h.done?e.complete():e.next(h.value)})},0,!0)})})}},66589:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.scheduleIterable=void 0;var n=s(15448),l=s(71040),u=s(82360),c=s(61760);m.scheduleIterable=function i(e,o){return new n.Observable(function(h){var v;return c.executeSchedule(h,o,function(){v=e[l.iterator](),c.executeSchedule(h,o,function(){var M,p,E;try{p=(M=v.next()).value,E=M.done}catch(S){return void h.error(S)}E?h.complete():h.next(p)},0,!0)}),function(){return u.isFunction(v?.return)&&v.return()}})}},90996:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.scheduleObservable=void 0;var n=s(81280),l=s(33752),u=s(67992);m.scheduleObservable=function c(i,e){return n.innerFrom(i).pipe(u.subscribeOn(e),l.observeOn(e))}},23219:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.schedulePromise=void 0;var n=s(81280),l=s(33752),u=s(67992);m.schedulePromise=function c(i,e){return n.innerFrom(i).pipe(u.subscribeOn(e),l.observeOn(e))}},95196:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.scheduleReadableStreamLike=void 0;var n=s(37360),l=s(11416);m.scheduleReadableStreamLike=function u(c,i){return n.scheduleAsyncIterable(l.readableStreamLikeToAsyncGenerator(c),i)}},44232:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.scheduled=void 0;var n=s(90996),l=s(23219),u=s(24920),c=s(66589),i=s(37360),e=s(18440),o=s(28296),h=s(18224),v=s(30640),M=s(37156),p=s(34088),E=s(11416),S=s(95196);m.scheduled=function y(f,C){if(null!=f){if(e.isInteropObservable(f))return n.scheduleObservable(f,C);if(h.isArrayLike(f))return u.scheduleArray(f,C);if(o.isPromise(f))return l.schedulePromise(f,C);if(M.isAsyncIterable(f))return i.scheduleAsyncIterable(f,C);if(v.isIterable(f))return c.scheduleIterable(f,C);if(E.isReadableStreamLike(f))return S.scheduleReadableStreamLike(f,C)}throw p.createInvalidObservableTypeError(f)}},30576:function(pe,m,s){"use strict";var n=this&&this.__extends||function(){var c=function(i,e){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,h){o.__proto__=h}||function(o,h){for(var v in h)Object.prototype.hasOwnProperty.call(h,v)&&(o[v]=h[v])})(i,e)};return function(i,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=i}c(i,e),i.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}}();Object.defineProperty(m,"__esModule",{value:!0}),m.Action=void 0;var u=function(c){function i(e,o){return c.call(this)||this}return n(i,c),i.prototype.schedule=function(e,o){return void 0===o&&(o=0),this},i}(s(40576).Subscription);m.Action=u},70079:function(pe,m,s){"use strict";var n=this&&this.__extends||function(){var i=function(e,o){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,v){h.__proto__=v}||function(h,v){for(var M in v)Object.prototype.hasOwnProperty.call(v,M)&&(h[M]=v[M])})(e,o)};return function(e,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function h(){this.constructor=e}i(e,o),e.prototype=null===o?Object.create(o):(h.prototype=o.prototype,new h)}}();Object.defineProperty(m,"__esModule",{value:!0}),m.AnimationFrameAction=void 0;var l=s(6972),u=s(24352),c=function(i){function e(o,h){var v=i.call(this,o,h)||this;return v.scheduler=o,v.work=h,v}return n(e,i),e.prototype.requestAsyncId=function(o,h,v){return void 0===v&&(v=0),null!==v&&v>0?i.prototype.requestAsyncId.call(this,o,h,v):(o.actions.push(this),o._scheduled||(o._scheduled=u.animationFrameProvider.requestAnimationFrame(function(){return o.flush(void 0)})))},e.prototype.recycleAsyncId=function(o,h,v){var M;if(void 0===v&&(v=0),null!=v?v>0:this.delay>0)return i.prototype.recycleAsyncId.call(this,o,h,v);var p=o.actions;null!=h&&(null===(M=p[p.length-1])||void 0===M?void 0:M.id)!==h&&(u.animationFrameProvider.cancelAnimationFrame(h),o._scheduled=void 0)},e}(l.AsyncAction);m.AnimationFrameAction=c},41752:function(pe,m,s){"use strict";var n=this&&this.__extends||function(){var c=function(i,e){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,h){o.__proto__=h}||function(o,h){for(var v in h)Object.prototype.hasOwnProperty.call(h,v)&&(o[v]=h[v])})(i,e)};return function(i,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=i}c(i,e),i.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}}();Object.defineProperty(m,"__esModule",{value:!0}),m.AnimationFrameScheduler=void 0;var u=function(c){function i(){return null!==c&&c.apply(this,arguments)||this}return n(i,c),i.prototype.flush=function(e){this._active=!0;var o=this._scheduled;this._scheduled=void 0;var v,h=this.actions;e=e||h.shift();do{if(v=e.execute(e.state,e.delay))break}while((e=h[0])&&e.id===o&&h.shift());if(this._active=!1,v){for(;(e=h[0])&&e.id===o&&h.shift();)e.unsubscribe();throw v}},i}(s(16660).AsyncScheduler);m.AnimationFrameScheduler=u},48368:function(pe,m,s){"use strict";var n=this&&this.__extends||function(){var i=function(e,o){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,v){h.__proto__=v}||function(h,v){for(var M in v)Object.prototype.hasOwnProperty.call(v,M)&&(h[M]=v[M])})(e,o)};return function(e,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function h(){this.constructor=e}i(e,o),e.prototype=null===o?Object.create(o):(h.prototype=o.prototype,new h)}}();Object.defineProperty(m,"__esModule",{value:!0}),m.AsapAction=void 0;var l=s(6972),u=s(7832),c=function(i){function e(o,h){var v=i.call(this,o,h)||this;return v.scheduler=o,v.work=h,v}return n(e,i),e.prototype.requestAsyncId=function(o,h,v){return void 0===v&&(v=0),null!==v&&v>0?i.prototype.requestAsyncId.call(this,o,h,v):(o.actions.push(this),o._scheduled||(o._scheduled=u.immediateProvider.setImmediate(o.flush.bind(o,void 0))))},e.prototype.recycleAsyncId=function(o,h,v){var M;if(void 0===v&&(v=0),null!=v?v>0:this.delay>0)return i.prototype.recycleAsyncId.call(this,o,h,v);var p=o.actions;null!=h&&(null===(M=p[p.length-1])||void 0===M?void 0:M.id)!==h&&(u.immediateProvider.clearImmediate(h),o._scheduled===h&&(o._scheduled=void 0))},e}(l.AsyncAction);m.AsapAction=c},32400:function(pe,m,s){"use strict";var n=this&&this.__extends||function(){var c=function(i,e){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,h){o.__proto__=h}||function(o,h){for(var v in h)Object.prototype.hasOwnProperty.call(h,v)&&(o[v]=h[v])})(i,e)};return function(i,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=i}c(i,e),i.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}}();Object.defineProperty(m,"__esModule",{value:!0}),m.AsapScheduler=void 0;var u=function(c){function i(){return null!==c&&c.apply(this,arguments)||this}return n(i,c),i.prototype.flush=function(e){this._active=!0;var o=this._scheduled;this._scheduled=void 0;var v,h=this.actions;e=e||h.shift();do{if(v=e.execute(e.state,e.delay))break}while((e=h[0])&&e.id===o&&h.shift());if(this._active=!1,v){for(;(e=h[0])&&e.id===o&&h.shift();)e.unsubscribe();throw v}},i}(s(16660).AsyncScheduler);m.AsapScheduler=u},6972:function(pe,m,s){"use strict";var n=this&&this.__extends||function(){var e=function(o,h){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,M){v.__proto__=M}||function(v,M){for(var p in M)Object.prototype.hasOwnProperty.call(M,p)&&(v[p]=M[p])})(o,h)};return function(o,h){if("function"!=typeof h&&null!==h)throw new TypeError("Class extends value "+String(h)+" is not a constructor or null");function v(){this.constructor=o}e(o,h),o.prototype=null===h?Object.create(h):(v.prototype=h.prototype,new v)}}();Object.defineProperty(m,"__esModule",{value:!0}),m.AsyncAction=void 0;var l=s(30576),u=s(61691),c=s(39852),i=function(e){function o(h,v){var M=e.call(this,h,v)||this;return M.scheduler=h,M.work=v,M.pending=!1,M}return n(o,e),o.prototype.schedule=function(h,v){var M;if(void 0===v&&(v=0),this.closed)return this;this.state=h;var p=this.id,E=this.scheduler;return null!=p&&(this.id=this.recycleAsyncId(E,p,v)),this.pending=!0,this.delay=v,this.id=null!==(M=this.id)&&void 0!==M?M:this.requestAsyncId(E,this.id,v),this},o.prototype.requestAsyncId=function(h,v,M){return void 0===M&&(M=0),u.intervalProvider.setInterval(h.flush.bind(h,this),M)},o.prototype.recycleAsyncId=function(h,v,M){if(void 0===M&&(M=0),null!=M&&this.delay===M&&!1===this.pending)return v;null!=v&&u.intervalProvider.clearInterval(v)},o.prototype.execute=function(h,v){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var M=this._execute(h,v);if(M)return M;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},o.prototype._execute=function(h,v){var p,M=!1;try{this.work(h)}catch(E){M=!0,p=E||new Error("Scheduled action threw falsy error")}if(M)return this.unsubscribe(),p},o.prototype.unsubscribe=function(){if(!this.closed){var v=this.id,M=this.scheduler,p=M.actions;this.work=this.state=this.scheduler=null,this.pending=!1,c.arrRemove(p,this),null!=v&&(this.id=this.recycleAsyncId(M,v,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},o}(l.Action);m.AsyncAction=i},16660:function(pe,m,s){"use strict";var n=this&&this.__extends||function(){var c=function(i,e){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,h){o.__proto__=h}||function(o,h){for(var v in h)Object.prototype.hasOwnProperty.call(h,v)&&(o[v]=h[v])})(i,e)};return function(i,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=i}c(i,e),i.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}}();Object.defineProperty(m,"__esModule",{value:!0}),m.AsyncScheduler=void 0;var l=s(25784),u=function(c){function i(e,o){void 0===o&&(o=l.Scheduler.now);var h=c.call(this,e,o)||this;return h.actions=[],h._active=!1,h}return n(i,c),i.prototype.flush=function(e){var o=this.actions;if(this._active)o.push(e);else{var h;this._active=!0;do{if(h=e.execute(e.state,e.delay))break}while(e=o.shift());if(this._active=!1,h){for(;e=o.shift();)e.unsubscribe();throw h}}},i}(l.Scheduler);m.AsyncScheduler=u},71688:function(pe,m,s){"use strict";var n=this&&this.__extends||function(){var c=function(i,e){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,h){o.__proto__=h}||function(o,h){for(var v in h)Object.prototype.hasOwnProperty.call(h,v)&&(o[v]=h[v])})(i,e)};return function(i,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=i}c(i,e),i.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}}();Object.defineProperty(m,"__esModule",{value:!0}),m.QueueAction=void 0;var u=function(c){function i(e,o){var h=c.call(this,e,o)||this;return h.scheduler=e,h.work=o,h}return n(i,c),i.prototype.schedule=function(e,o){return void 0===o&&(o=0),o>0?c.prototype.schedule.call(this,e,o):(this.delay=o,this.state=e,this.scheduler.flush(this),this)},i.prototype.execute=function(e,o){return o>0||this.closed?c.prototype.execute.call(this,e,o):this._execute(e,o)},i.prototype.requestAsyncId=function(e,o,h){return void 0===h&&(h=0),null!=h&&h>0||null==h&&this.delay>0?c.prototype.requestAsyncId.call(this,e,o,h):(e.flush(this),0)},i}(s(6972).AsyncAction);m.QueueAction=u},36148:function(pe,m,s){"use strict";var n=this&&this.__extends||function(){var c=function(i,e){return(c=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,h){o.__proto__=h}||function(o,h){for(var v in h)Object.prototype.hasOwnProperty.call(h,v)&&(o[v]=h[v])})(i,e)};return function(i,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=i}c(i,e),i.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}}();Object.defineProperty(m,"__esModule",{value:!0}),m.QueueScheduler=void 0;var u=function(c){function i(){return null!==c&&c.apply(this,arguments)||this}return n(i,c),i}(s(16660).AsyncScheduler);m.QueueScheduler=u},45992:function(pe,m,s){"use strict";var n=this&&this.__extends||function(){var o=function(h,v){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(M,p){M.__proto__=p}||function(M,p){for(var E in p)Object.prototype.hasOwnProperty.call(p,E)&&(M[E]=p[E])})(h,v)};return function(h,v){if("function"!=typeof v&&null!==v)throw new TypeError("Class extends value "+String(v)+" is not a constructor or null");function M(){this.constructor=h}o(h,v),h.prototype=null===v?Object.create(v):(M.prototype=v.prototype,new M)}}();Object.defineProperty(m,"__esModule",{value:!0}),m.VirtualAction=m.VirtualTimeScheduler=void 0;var l=s(6972),u=s(40576),i=function(o){function h(v,M){void 0===v&&(v=e),void 0===M&&(M=1/0);var p=o.call(this,v,function(){return p.frame})||this;return p.maxFrames=M,p.frame=0,p.index=-1,p}return n(h,o),h.prototype.flush=function(){for(var E,S,M=this.actions,p=this.maxFrames;(S=M[0])&&S.delay<=p&&(M.shift(),this.frame=S.delay,!(E=S.execute(S.state,S.delay))););if(E){for(;S=M.shift();)S.unsubscribe();throw E}},h.frameTimeFactor=10,h}(s(16660).AsyncScheduler);m.VirtualTimeScheduler=i;var e=function(o){function h(v,M,p){void 0===p&&(p=v.index+=1);var E=o.call(this,v,M)||this;return E.scheduler=v,E.work=M,E.index=p,E.active=!0,E.index=v.index=p,E}return n(h,o),h.prototype.schedule=function(v,M){if(void 0===M&&(M=0),Number.isFinite(M)){if(!this.id)return o.prototype.schedule.call(this,v,M);this.active=!1;var p=new h(this.scheduler,this.work);return this.add(p),p.schedule(v,M)}return u.Subscription.EMPTY},h.prototype.requestAsyncId=function(v,M,p){void 0===p&&(p=0),this.delay=v.frame+p;var E=v.actions;return E.push(this),E.sort(h.sortActions),1},h.prototype.recycleAsyncId=function(v,M,p){void 0===p&&(p=0)},h.prototype._execute=function(v,M){if(!0===this.active)return o.prototype._execute.call(this,v,M)},h.sortActions=function(v,M){return v.delay===M.delay?v.index===M.index?0:v.index>M.index?1:-1:v.delay>M.delay?1:-1},h}(l.AsyncAction);m.VirtualAction=e},70232:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.animationFrame=m.animationFrameScheduler=void 0;var n=s(70079),l=s(41752);m.animationFrameScheduler=new l.AnimationFrameScheduler(n.AnimationFrameAction),m.animationFrame=m.animationFrameScheduler},24352:function(pe,m,s){"use strict";var n=this&&this.__read||function(c,i){var e="function"==typeof Symbol&&c[Symbol.iterator];if(!e)return c;var h,M,o=e.call(c),v=[];try{for(;(void 0===i||i-- >0)&&!(h=o.next()).done;)v.push(h.value)}catch(p){M={error:p}}finally{try{h&&!h.done&&(e=o.return)&&e.call(o)}finally{if(M)throw M.error}}return v},l=this&&this.__spreadArray||function(c,i){for(var e=0,o=i.length,h=c.length;e{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.asap=m.asapScheduler=void 0;var n=s(48368),l=s(32400);m.asapScheduler=new l.AsapScheduler(n.AsapAction),m.asap=m.asapScheduler},69252:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.async=m.asyncScheduler=void 0;var n=s(6972),l=s(16660);m.asyncScheduler=new l.AsyncScheduler(n.AsyncAction),m.async=m.asyncScheduler},8764:(pe,m)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.dateTimestampProvider=void 0,m.dateTimestampProvider={now:function(){return(m.dateTimestampProvider.delegate||Date).now()},delegate:void 0}},7832:function(pe,m,s){"use strict";var n=this&&this.__read||function(e,o){var h="function"==typeof Symbol&&e[Symbol.iterator];if(!h)return e;var M,E,v=h.call(e),p=[];try{for(;(void 0===o||o-- >0)&&!(M=v.next()).done;)p.push(M.value)}catch(S){E={error:S}}finally{try{M&&!M.done&&(h=v.return)&&h.call(v)}finally{if(E)throw E.error}}return p},l=this&&this.__spreadArray||function(e,o){for(var h=0,v=o.length,M=e.length;h0)&&!(e=i.next()).done;)o.push(e.value)}catch(v){h={error:v}}finally{try{e&&!e.done&&(c=i.return)&&c.call(i)}finally{if(h)throw h.error}}return o},n=this&&this.__spreadArray||function(l,u){for(var c=0,i=u.length,e=l.length;c{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.performanceTimestampProvider=void 0,m.performanceTimestampProvider={now:function(){return(m.performanceTimestampProvider.delegate||performance).now()},delegate:void 0}},72056:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.queue=m.queueScheduler=void 0;var n=s(71688),l=s(36148);m.queueScheduler=new l.QueueScheduler(n.QueueAction),m.queue=m.queueScheduler},82480:function(pe,m){"use strict";var s=this&&this.__read||function(l,u){var c="function"==typeof Symbol&&l[Symbol.iterator];if(!c)return l;var e,h,i=c.call(l),o=[];try{for(;(void 0===u||u-- >0)&&!(e=i.next()).done;)o.push(e.value)}catch(v){h={error:v}}finally{try{e&&!e.done&&(c=i.return)&&c.call(i)}finally{if(h)throw h.error}}return o},n=this&&this.__spreadArray||function(l,u){for(var c=0,i=u.length,e=l.length;c{"use strict";function s(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}Object.defineProperty(m,"__esModule",{value:!0}),m.iterator=m.getSymbolIterator=void 0,m.getSymbolIterator=s,m.iterator=s()},72064:(pe,m)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.observable=void 0,m.observable="function"==typeof Symbol&&Symbol.observable||"@@observable"},68828:(pe,m)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0})},32929:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.ArgumentOutOfRangeError=void 0;var n=s(26624);m.ArgumentOutOfRangeError=n.createErrorClass(function(l){return function(){l(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"}})},51544:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.EmptyError=void 0;var n=s(26624);m.EmptyError=n.createErrorClass(function(l){return function(){l(this),this.name="EmptyError",this.message="no elements in sequence"}})},6420:(pe,m)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.TestTools=m.Immediate=void 0;var n,s=1,l={};function u(c){return c in l&&(delete l[c],!0)}m.Immediate={setImmediate:function(c){var i=s++;return l[i]=!0,n||(n=Promise.resolve()),n.then(function(){return u(i)&&c()}),i},clearImmediate:function(c){u(c)}},m.TestTools={pending:function(){return Object.keys(l).length}}},15496:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.NotFoundError=void 0;var n=s(26624);m.NotFoundError=n.createErrorClass(function(l){return function(c){l(this),this.name="NotFoundError",this.message=c}})},92304:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.ObjectUnsubscribedError=void 0;var n=s(26624);m.ObjectUnsubscribedError=n.createErrorClass(function(l){return function(){l(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})},71016:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.SequenceError=void 0;var n=s(26624);m.SequenceError=n.createErrorClass(function(l){return function(c){l(this),this.name="SequenceError",this.message=c}})},9560:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.UnsubscriptionError=void 0;var n=s(26624);m.UnsubscriptionError=n.createErrorClass(function(l){return function(c){l(this),this.message=c?c.length+" errors occurred during unsubscription:\n"+c.map(function(i,e){return e+1+") "+i.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=c}})},69724:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.popNumber=m.popScheduler=m.popResultSelector=void 0;var n=s(82360),l=s(76964);function u(o){return o[o.length-1]}m.popResultSelector=function c(o){return n.isFunction(u(o))?o.pop():void 0},m.popScheduler=function i(o){return l.isScheduler(u(o))?o.pop():void 0},m.popNumber=function e(o,h){return"number"==typeof u(o)?o.pop():h}},75352:(pe,m)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.argsArgArrayOrObject=void 0;var s=Array.isArray,n=Object.getPrototypeOf,l=Object.prototype,u=Object.keys;m.argsArgArrayOrObject=function c(e){if(1===e.length){var o=e[0];if(s(o))return{args:o,keys:null};if(function i(e){return e&&"object"==typeof e&&n(e)===l}(o)){var h=u(o);return{args:h.map(function(v){return o[v]}),keys:h}}}return{args:e,keys:null}}},50652:(pe,m)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.argsOrArgArray=void 0;var s=Array.isArray;m.argsOrArgArray=function n(l){return 1===l.length&&s(l[0])?l[0]:l}},39852:(pe,m)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.arrRemove=void 0,m.arrRemove=function s(n,l){if(n){var u=n.indexOf(l);0<=u&&n.splice(u,1)}}},26624:(pe,m)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.createErrorClass=void 0,m.createErrorClass=function s(n){var u=n(function(c){Error.call(c),c.stack=(new Error).stack});return u.prototype=Object.create(Error.prototype),u.prototype.constructor=u,u}},7788:(pe,m)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.createObject=void 0,m.createObject=function s(n,l){return n.reduce(function(u,c,i){return u[c]=l[i],u},{})}},49664:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.captureError=m.errorContext=void 0;var n=s(90584),l=null;m.errorContext=function u(i){if(n.config.useDeprecatedSynchronousErrorHandling){var e=!l;if(e&&(l={errorThrown:!1,error:null}),i(),e){var o=l;if(l=null,o.errorThrown)throw o.error}}else i()},m.captureError=function c(i){n.config.useDeprecatedSynchronousErrorHandling&&l&&(l.errorThrown=!0,l.error=i)}},61760:(pe,m)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.executeSchedule=void 0,m.executeSchedule=function s(n,l,u,c,i){void 0===c&&(c=0),void 0===i&&(i=!1);var e=l.schedule(function(){u(),i?n.add(this.schedule(null,c)):this.unsubscribe()},c);if(n.add(e),!i)return e}},55184:(pe,m)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.identity=void 0,m.identity=function s(n){return n}},18224:(pe,m)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.isArrayLike=void 0,m.isArrayLike=function(s){return s&&"number"==typeof s.length&&"function"!=typeof s}},37156:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.isAsyncIterable=void 0;var n=s(82360);m.isAsyncIterable=function l(u){return Symbol.asyncIterator&&n.isFunction(u?.[Symbol.asyncIterator])}},42384:(pe,m)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.isValidDate=void 0,m.isValidDate=function s(n){return n instanceof Date&&!isNaN(n)}},82360:(pe,m)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.isFunction=void 0,m.isFunction=function s(n){return"function"==typeof n}},18440:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.isInteropObservable=void 0;var n=s(72064),l=s(82360);m.isInteropObservable=function u(c){return l.isFunction(c[n.observable])}},30640:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.isIterable=void 0;var n=s(71040),l=s(82360);m.isIterable=function u(c){return l.isFunction(c?.[n.iterator])}},38104:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.isObservable=void 0;var n=s(15448),l=s(82360);m.isObservable=function u(c){return!!c&&(c instanceof n.Observable||l.isFunction(c.lift)&&l.isFunction(c.subscribe))}},28296:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.isPromise=void 0;var n=s(82360);m.isPromise=function l(u){return n.isFunction(u?.then)}},11416:function(pe,m,s){"use strict";var n=this&&this.__generator||function(o,h){var M,p,E,S,v={label:0,sent:function(){if(1&E[0])throw E[1];return E[1]},trys:[],ops:[]};return S={next:y(0),throw:y(1),return:y(2)},"function"==typeof Symbol&&(S[Symbol.iterator]=function(){return this}),S;function y(C){return function(_){return function f(C){if(M)throw new TypeError("Generator is already executing.");for(;v;)try{if(M=1,p&&(E=2&C[0]?p.return:C[0]?p.throw||((E=p.return)&&E.call(p),0):p.next)&&!(E=E.call(p,C[1])).done)return E;switch(p=0,E&&(C=[2&C[0],E.value]),C[0]){case 0:case 1:E=C;break;case 4:return v.label++,{value:C[1],done:!1};case 5:v.label++,p=C[1],C=[0];continue;case 7:C=v.ops.pop(),v.trys.pop();continue;default:if(!(E=(E=v.trys).length>0&&E[E.length-1])&&(6===C[0]||2===C[0])){v=0;continue}if(3===C[0]&&(!E||C[1]>E[0]&&C[1]1||y(D,L)})})}function y(D,L){try{!function f(D){D.value instanceof l?Promise.resolve(D.value.v).then(C,_):w(E[0][2],D)}(M[D](L))}catch(N){w(E[0][3],N)}}function C(D){y("next",D)}function _(D){y("throw",D)}function w(D,L){D(L),E.shift(),E.length&&y(E[0][0],E[0][1])}};Object.defineProperty(m,"__esModule",{value:!0}),m.isReadableStreamLike=m.readableStreamLikeToAsyncGenerator=void 0;var c=s(82360);m.readableStreamLikeToAsyncGenerator=function i(o){return u(this,arguments,function(){var v,M,p;return n(this,function(S){switch(S.label){case 0:v=o.getReader(),S.label=1;case 1:S.trys.push([1,,9,10]),S.label=2;case 2:return[4,l(v.read())];case 3:return M=S.sent(),p=M.value,M.done?[4,l(void 0)]:[3,5];case 4:return[2,S.sent()];case 5:return[4,l(p)];case 6:return[4,S.sent()];case 7:return S.sent(),[3,2];case 8:return[3,10];case 9:return v.releaseLock(),[7];case 10:return[2]}})})},m.isReadableStreamLike=function e(o){return c.isFunction(o?.getReader)}},76964:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.isScheduler=void 0;var n=s(82360);m.isScheduler=function l(u){return u&&n.isFunction(u.schedule)}},66080:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.operate=m.hasLift=void 0;var n=s(82360);function l(c){return n.isFunction(c?.lift)}m.hasLift=l,m.operate=function u(c){return function(i){if(l(i))return i.lift(function(e){try{return c(e,this)}catch(o){this.error(o)}});throw new TypeError("Unable to lift unknown Observable type")}}},82664:function(pe,m,s){"use strict";var n=this&&this.__read||function(o,h){var v="function"==typeof Symbol&&o[Symbol.iterator];if(!v)return o;var p,S,M=v.call(o),E=[];try{for(;(void 0===h||h-- >0)&&!(p=M.next()).done;)E.push(p.value)}catch(y){S={error:y}}finally{try{p&&!p.done&&(v=M.return)&&v.call(M)}finally{if(S)throw S.error}}return E},l=this&&this.__spreadArray||function(o,h){for(var v=0,M=h.length,p=o.length;v{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.noop=void 0,m.noop=function s(){}},37700:(pe,m)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.not=void 0,m.not=function s(n,l){return function(u,c){return!n.call(l,u,c)}}},19512:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.pipeFromArray=m.pipe=void 0;var n=s(55184);function u(c){return 0===c.length?n.identity:1===c.length?c[0]:function(e){return c.reduce(function(o,h){return h(o)},e)}}m.pipe=function l(){for(var c=[],i=0;i{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.reportUnhandledError=void 0;var n=s(90584),l=s(82480);m.reportUnhandledError=function u(c){l.timeoutProvider.setTimeout(function(){var i=n.config.onUnhandledError;if(!i)throw c;i(c)})}},34088:(pe,m)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.createInvalidObservableTypeError=void 0,m.createInvalidObservableTypeError=function s(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:(pe,m,s)=>{"use strict";s.d(m,{g:()=>l});var n=s(95657);class l extends n.E{constructor(c){super(),this._value=c}get value(){return this.getValue()}_subscribe(c){const i=super._subscribe(c);return!i.closed&&c.next(this._value),i}getValue(){const{hasError:c,thrownError:i,_value:e}=this;if(c)throw i;return this._throwIfClosed(),e}next(c){super.next(this._value=c)}}},53252:(pe,m,s)=>{"use strict";s.d(m,{_:()=>h});var n=s(41760),l=s(46928),u=s(90472),c=s(83928),i=s(74491),e=s(38880),o=s(92075);let h=(()=>{class E{constructor(y){y&&(this._subscribe=y)}lift(y){const f=new E;return f.source=this,f.operator=y,f}subscribe(y,f,C){const _=function p(E){return E&&E instanceof n.yR||function M(E){return E&&(0,e.m)(E.next)&&(0,e.m)(E.error)&&(0,e.m)(E.complete)}(E)&&(0,l.GI)(E)}(y)?y:new n.ot(y,f,C);return(0,o.c)(()=>{const{operator:w,source:D}=this;_.add(w?w.call(_,D):D?this._subscribe(_):this._trySubscribe(_))}),_}_trySubscribe(y){try{return this._subscribe(y)}catch(f){y.error(f)}}forEach(y,f){return new(f=v(f))((C,_)=>{const w=new n.ot({next:D=>{try{y(D)}catch(L){_(L),w.unsubscribe()}},error:_,complete:C});this.subscribe(w)})}_subscribe(y){var f;return null===(f=this.source)||void 0===f?void 0:f.subscribe(y)}[u.a](){return this}pipe(...y){return(0,c.Y)(y)(this)}toPromise(y){return new(y=v(y))((f,C)=>{let _;this.subscribe(w=>_=w,w=>C(w),()=>f(_))})}}return E.create=S=>new E(S),E})();function v(E){var S;return null!==(S=E??i.config.Promise)&&void 0!==S?S:Promise}},95657:(pe,m,s)=>{"use strict";s.d(m,{E:()=>o});var n=s(53252),l=s(46928);const c=(0,s(14912).w)(v=>function(){v(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var i=s(41248),e=s(92075);let o=(()=>{class v extends n._{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(p){const E=new h(this,this);return E.operator=p,E}_throwIfClosed(){if(this.closed)throw new c}next(p){(0,e.c)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const E of this.currentObservers)E.next(p)}})}error(p){(0,e.c)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=p;const{observers:E}=this;for(;E.length;)E.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:E,isStopped:S,observers:y}=this;return E||S?l.au:(this.currentObservers=null,y.push(p),new l.wH(()=>{this.currentObservers=null,(0,i.k)(y,p)}))}_checkFinalizedStatuses(p){const{hasError:E,thrownError:S,isStopped:y}=this;E?p.error(S):y&&p.complete()}asObservable(){const p=new n._;return p.source=this,p}}return v.create=(M,p)=>new h(M,p),v})();class h extends o{constructor(M,p){super(),this.destination=M,this.source=p}next(M){var p,E;null===(E=null===(p=this.destination)||void 0===p?void 0:p.next)||void 0===E||E.call(p,M)}error(M){var p,E;null===(E=null===(p=this.destination)||void 0===p?void 0:p.error)||void 0===E||E.call(p,M)}complete(){var M,p;null===(p=null===(M=this.destination)||void 0===M?void 0:M.complete)||void 0===p||p.call(M)}_subscribe(M){var p,E;return null!==(E=null===(p=this.source)||void 0===p?void 0:p.subscribe(M))&&void 0!==E?E:l.au}}},41760:(pe,m,s)=>{"use strict";s.d(m,{ot:()=>C,yR:()=>E});var n=s(38880),l=s(46928),u=s(74491),c=s(31984),i=s(20308);const e=v("C",void 0,void 0);function v(N,V,G){return{kind:N,value:V,error:G}}var M=s(43376),p=s(92075);class E extends l.wH{constructor(V){super(),this.isStopped=!1,V?(this.destination=V,(0,l.GI)(V)&&V.add(this)):this.destination=L}static create(V,G,R){return new C(V,G,R)}next(V){this.isStopped?D(function h(N){return v("N",N,void 0)}(V),this):this._next(V)}error(V){this.isStopped?D(function o(N){return v("E",void 0,N)}(V),this):(this.isStopped=!0,this._error(V))}complete(){this.isStopped?D(e,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(V){this.destination.next(V)}_error(V){try{this.destination.error(V)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const S=Function.prototype.bind;function y(N,V){return S.call(N,V)}class f{constructor(V){this.partialObserver=V}next(V){const{partialObserver:G}=this;if(G.next)try{G.next(V)}catch(R){_(R)}}error(V){const{partialObserver:G}=this;if(G.error)try{G.error(V)}catch(R){_(R)}else _(V)}complete(){const{partialObserver:V}=this;if(V.complete)try{V.complete()}catch(G){_(G)}}}class C extends E{constructor(V,G,R){let k;if(super(),(0,n.m)(V)||!V)k={next:V??void 0,error:G??void 0,complete:R??void 0};else{let A;this&&u.config.useDeprecatedNextContext?(A=Object.create(V),A.unsubscribe=()=>this.unsubscribe(),k={next:V.next&&y(V.next,A),error:V.error&&y(V.error,A),complete:V.complete&&y(V.complete,A)}):k=V}this.destination=new f(k)}}function _(N){u.config.useDeprecatedSynchronousErrorHandling?(0,p.q)(N):(0,c.U)(N)}function D(N,V){const{onStoppedNotification:G}=u.config;G&&M.u.setTimeout(()=>G(N,V))}const L={closed:!0,next:i.K,error:function w(N){throw N},complete:i.K}},46928:(pe,m,s)=>{"use strict";s.d(m,{au:()=>e,wH:()=>i,GI:()=>o});var n=s(38880);const u=(0,s(14912).w)(v=>function(p){v(this),this.message=p?`${p.length} errors occurred during unsubscription:\n${p.map((E,S)=>`${S+1}) ${E.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=p});var c=s(41248);class i{constructor(M){this.initialTeardown=M,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let M;if(!this.closed){this.closed=!0;const{_parentage:p}=this;if(p)if(this._parentage=null,Array.isArray(p))for(const y of p)y.remove(this);else p.remove(this);const{initialTeardown:E}=this;if((0,n.m)(E))try{E()}catch(y){M=y instanceof u?y.errors:[y]}const{_finalizers:S}=this;if(S){this._finalizers=null;for(const y of S)try{h(y)}catch(f){M=M??[],f instanceof u?M=[...M,...f.errors]:M.push(f)}}if(M)throw new u(M)}}add(M){var p;if(M&&M!==this)if(this.closed)h(M);else{if(M instanceof i){if(M.closed||M._hasParent(this))return;M._addParent(this)}(this._finalizers=null!==(p=this._finalizers)&&void 0!==p?p:[]).push(M)}}_hasParent(M){const{_parentage:p}=this;return p===M||Array.isArray(p)&&p.includes(M)}_addParent(M){const{_parentage:p}=this;this._parentage=Array.isArray(p)?(p.push(M),p):p?[p,M]:M}_removeParent(M){const{_parentage:p}=this;p===M?this._parentage=null:Array.isArray(p)&&(0,c.k)(p,M)}remove(M){const{_finalizers:p}=this;p&&(0,c.k)(p,M),M instanceof i&&M._removeParent(this)}}i.EMPTY=(()=>{const v=new i;return v.closed=!0,v})();const e=i.EMPTY;function o(v){return v instanceof i||v&&"closed"in v&&(0,n.m)(v.remove)&&(0,n.m)(v.add)&&(0,n.m)(v.unsubscribe)}function h(v){(0,n.m)(v)?v():v.unsubscribe()}},74491:(pe,m,s)=>{"use strict";s.d(m,{config:()=>n});const n={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},56040:(pe,m,s)=>{"use strict";s.d(m,{E:()=>M});var n=s(53252),l=s(64300),u=s(74496),c=s(528),i=s(74187),e=s(59472),o=s(67904),h=s(87773),v=s(69399);function M(...S){const y=(0,e.e_)(S),f=(0,e.yu)(S),{args:C,keys:_}=(0,l.Q)(S);if(0===C.length)return(0,u.Q)([],y);const w=new n._(function p(S,y,f=c.Z){return C=>{E(y,()=>{const{length:_}=S,w=new Array(_);let D=_,L=_;for(let N=0;N<_;N++)E(y,()=>{const V=(0,u.Q)(S[N],y);let G=!1;V.subscribe((0,h.e)(C,R=>{w[N]=R,G||(G=!0,L--),L||C.next(f(w.slice()))},()=>{--D||C.complete()}))},C)},C)}}(C,y,_?D=>(0,o.q)(_,D):c.Z));return f?w.pipe((0,i.j)(f)):w}function E(S,y,f){S?(0,v._)(f,S,y):y()}},28960:(pe,m,s)=>{"use strict";s.d(m,{k:()=>l});const l=new(s(53252)._)(i=>i.complete())},74496:(pe,m,s)=>{"use strict";s.d(m,{Q:()=>R});var n=s(50560),l=s(69399),u=s(95448),c=s(87773);function i(k,A=0){return(0,u.i)((H,K)=>{H.subscribe((0,c.e)(K,ie=>(0,l._)(K,k,()=>K.next(ie),A),()=>(0,l._)(K,k,()=>K.complete(),A),ie=>(0,l._)(K,k,()=>K.error(ie),A)))})}function e(k,A=0){return(0,u.i)((H,K)=>{K.add(k.schedule(()=>H.subscribe(K),A))})}var v=s(53252),p=s(23835),E=s(38880);function y(k,A){if(!k)throw new Error("Iterable cannot be null");return new v._(H=>{(0,l._)(H,A,()=>{const K=k[Symbol.asyncIterator]();(0,l._)(H,A,()=>{K.next().then(ie=>{ie.done?H.complete():H.next(ie.value)})},0,!0)})})}var f=s(35099),C=s(55432),_=s(45428),w=s(61688),D=s(60376),L=s(58272),N=s(45832);function R(k,A){return A?function G(k,A){if(null!=k){if((0,f.O)(k))return function o(k,A){return(0,n.Uv)(k).pipe(e(A),i(A))}(k,A);if((0,_.G)(k))return function M(k,A){return new v._(H=>{let K=0;return A.schedule(function(){K===k.length?H.complete():(H.next(k[K++]),H.closed||this.schedule())})})}(k,A);if((0,C.u)(k))return function h(k,A){return(0,n.Uv)(k).pipe(e(A),i(A))}(k,A);if((0,D.E)(k))return y(k,A);if((0,w.i)(k))return function S(k,A){return new v._(H=>{let K;return(0,l._)(H,A,()=>{K=k[p.w](),(0,l._)(H,A,()=>{let ie,X;try{({value:ie,done:X}=K.next())}catch(be){return void H.error(be)}X?H.complete():H.next(ie)},0,!0)}),()=>(0,E.m)(K?.return)&&K.return()})}(k,A);if((0,N.K)(k))return function V(k,A){return y((0,N._)(k),A)}(k,A)}throw(0,L.W)(k)}(k,A):(0,n.Uv)(k)}},50560:(pe,m,s)=>{"use strict";s.d(m,{Uv:()=>S});var n=s(81316),l=s(45428),u=s(55432),c=s(53252),i=s(35099),e=s(60376),o=s(58272),h=s(61688),v=s(45832),M=s(38880),p=s(31984),E=s(90472);function S(N){if(N instanceof c._)return N;if(null!=N){if((0,i.O)(N))return function y(N){return new c._(V=>{const G=N[E.a]();if((0,M.m)(G.subscribe))return G.subscribe(V);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(N);if((0,l.G)(N))return function f(N){return new c._(V=>{for(let G=0;G{N.then(G=>{V.closed||(V.next(G),V.complete())},G=>V.error(G)).then(null,p.U)})}(N);if((0,e.E)(N))return w(N);if((0,h.i)(N))return function _(N){return new c._(V=>{for(const G of N)if(V.next(G),V.closed)return;V.complete()})}(N);if((0,v.K)(N))return function D(N){return w((0,v._)(N))}(N)}throw(0,o.W)(N)}function w(N){return new c._(V=>{(function L(N,V){var G,R,k,A;return(0,n.__awaiter)(this,void 0,void 0,function*(){try{for(G=(0,n.__asyncValues)(N);!(R=yield G.next()).done;)if(V.next(R.value),V.closed)return}catch(H){k={error:H}}finally{try{R&&!R.done&&(A=G.return)&&(yield A.call(G))}finally{if(k)throw k.error}}V.complete()})})(N,V).catch(G=>V.error(G))})}},82700:(pe,m,s)=>{"use strict";s.d(m,{of:()=>u});var n=s(59472),l=s(74496);function u(...c){const i=(0,n.e_)(c);return(0,l.Q)(c,i)}},87773:(pe,m,s)=>{"use strict";s.d(m,{e:()=>l});var n=s(41760);function l(c,i,e,o,h){return new u(c,i,e,o,h)}class u extends n.yR{constructor(i,e,o,h,v,M){super(i),this.onFinalize=v,this.shouldUnsubscribe=M,this._next=e?function(p){try{e(p)}catch(E){i.error(E)}}:super._next,this._error=h?function(p){try{h(p)}catch(E){i.error(E)}finally{this.unsubscribe()}}:super._error,this._complete=o?function(){try{o()}catch(p){i.error(p)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var i;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(i=this.onFinalize)||void 0===i||i.call(this))}}}},39144:(pe,m,s)=>{"use strict";s.d(m,{a:()=>c});var n=s(50560),l=s(87773),u=s(95448);function c(i){return(0,u.i)((e,o)=>{let M,h=null,v=!1;h=e.subscribe((0,l.e)(o,void 0,void 0,p=>{M=(0,n.Uv)(i(p,c(i)(e))),h?(h.unsubscribe(),h=null,M.subscribe(o)):v=!0})),v&&(h.unsubscribe(),h=null,M.subscribe(o))})}},26020:(pe,m,s)=>{"use strict";s.d(m,{m:()=>u});var n=s(7400),l=s(38880);function u(c,i){return(0,l.m)(i)?(0,n.O)(c,i,1):(0,n.O)(c,1)}},22156:(pe,m,s)=>{"use strict";s.d(m,{G:()=>u});var n=s(95448),l=s(87773);function u(c){return(0,n.i)((i,e)=>{let o=!1;i.subscribe((0,l.e)(e,h=>{o=!0,e.next(h)},()=>{o||e.next(c),e.complete()}))})}},66684:(pe,m,s)=>{"use strict";s.d(m,{I:()=>u});var n=s(95448),l=s(87773);function u(c,i){return(0,n.i)((e,o)=>{let h=0;e.subscribe((0,l.e)(o,v=>c.call(i,v,h++)&&o.next(v)))})}},68824:(pe,m,s)=>{"use strict";s.d(m,{U:()=>l});var n=s(95448);function l(u){return(0,n.i)((c,i)=>{try{c.subscribe(i)}finally{i.add(u)}})}},75084:(pe,m,s)=>{"use strict";s.d(m,{K:()=>o});var n=s(37696),l=s(66684),u=s(3992),c=s(22156),i=s(98124),e=s(528);function o(h,v){const M=arguments.length>=2;return p=>p.pipe(h?(0,l.I)((E,S)=>h(E,S,p)):e.Z,(0,u.U)(1),M?(0,c.G)(v):(0,i._)(()=>new n.G))}},54704:(pe,m,s)=>{"use strict";s.d(m,{k:()=>u});var n=s(95448),l=s(87773);function u(c,i){return(0,n.i)((e,o)=>{let h=0;e.subscribe((0,l.e)(o,v=>{o.next(c.call(i,v,h++))}))})}},7400:(pe,m,s)=>{"use strict";s.d(m,{O:()=>h});var n=s(54704),l=s(50560),u=s(95448),c=s(69399),i=s(87773),o=s(38880);function h(v,M,p=1/0){return(0,o.m)(M)?h((E,S)=>(0,n.k)((y,f)=>M(E,y,S,f))((0,l.Uv)(v(E,S))),p):("number"==typeof M&&(p=M),(0,u.i)((E,S)=>function e(v,M,p,E,S,y,f,C){const _=[];let w=0,D=0,L=!1;const N=()=>{L&&!_.length&&!w&&M.complete()},V=R=>w{y&&M.next(R),w++;let k=!1;(0,l.Uv)(p(R,D++)).subscribe((0,i.e)(M,A=>{S?.(A),y?V(A):M.next(A)},()=>{k=!0},void 0,()=>{if(k)try{for(w--;_.length&&wG(A)):G(A)}N()}catch(A){M.error(A)}}))};return v.subscribe((0,i.e)(M,V,()=>{L=!0,N()})),()=>{C?.()}}(E,S,v,p)))}},17368:(pe,m,s)=>{"use strict";s.d(m,{G:()=>c});var n=s(50560),l=s(95448),u=s(87773);function c(i,e){return(0,l.i)((o,h)=>{let v=null,M=0,p=!1;const E=()=>p&&!v&&h.complete();o.subscribe((0,u.e)(h,S=>{v?.unsubscribe();let y=0;const f=M++;(0,n.Uv)(i(S,f)).subscribe(v=(0,u.e)(h,C=>h.next(e?e(S,C,f,y++):C),()=>{v=null,E()}))},()=>{p=!0,E()}))})}},3992:(pe,m,s)=>{"use strict";s.d(m,{U:()=>c});var n=s(28960),l=s(95448),u=s(87773);function c(i){return i<=0?()=>n.k:(0,l.i)((e,o)=>{let h=0;e.subscribe((0,u.e)(o,v=>{++h<=i&&(o.next(v),i<=h&&o.complete())}))})}},19212:(pe,m,s)=>{"use strict";s.d(m,{y:()=>i});var n=s(38880),l=s(95448),u=s(87773),c=s(528);function i(e,o,h){const v=(0,n.m)(e)||o||h?{next:e,error:o,complete:h}:e;return v?(0,l.i)((M,p)=>{var E;null===(E=v.subscribe)||void 0===E||E.call(v);let S=!0;M.subscribe((0,u.e)(p,y=>{var f;null===(f=v.next)||void 0===f||f.call(v,y),p.next(y)},()=>{var y;S=!1,null===(y=v.complete)||void 0===y||y.call(v),p.complete()},y=>{var f;S=!1,null===(f=v.error)||void 0===f||f.call(v,y),p.error(y)},()=>{var y,f;S&&(null===(y=v.unsubscribe)||void 0===y||y.call(v)),null===(f=v.finalize)||void 0===f||f.call(v)}))}):c.Z}},98124:(pe,m,s)=>{"use strict";s.d(m,{_:()=>c});var n=s(37696),l=s(95448),u=s(87773);function c(e=i){return(0,l.i)((o,h)=>{let v=!1;o.subscribe((0,u.e)(h,M=>{v=!0,h.next(M)},()=>v?h.complete():h.error(e())))})}function i(){return new n.G}},43376:(pe,m,s)=>{"use strict";s.d(m,{u:()=>n});const n={setTimeout(l,u,...c){const{delegate:i}=n;return i?.setTimeout?i.setTimeout(l,u,...c):setTimeout(l,u,...c)},clearTimeout(l){const{delegate:u}=n;return(u?.clearTimeout||clearTimeout)(l)},delegate:void 0}},23835:(pe,m,s)=>{"use strict";s.d(m,{w:()=>l});const l=function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},90472:(pe,m,s)=>{"use strict";s.d(m,{a:()=>n});const n="function"==typeof Symbol&&Symbol.observable||"@@observable"},37696:(pe,m,s)=>{"use strict";s.d(m,{G:()=>l});const l=(0,s(14912).w)(u=>function(){u(this),this.name="EmptyError",this.message="no elements in sequence"})},59472:(pe,m,s)=>{"use strict";s.d(m,{yu:()=>c,e_:()=>i});var n=s(38880);function u(o){return o[o.length-1]}function c(o){return(0,n.m)(u(o))?o.pop():void 0}function i(o){return function l(o){return o&&(0,n.m)(o.schedule)}(u(o))?o.pop():void 0}},64300:(pe,m,s)=>{"use strict";s.d(m,{Q:()=>i});const{isArray:n}=Array,{getPrototypeOf:l,prototype:u,keys:c}=Object;function i(o){if(1===o.length){const h=o[0];if(n(h))return{args:h,keys:null};if(function e(o){return o&&"object"==typeof o&&l(o)===u}(h)){const v=c(h);return{args:v.map(M=>h[M]),keys:v}}}return{args:o,keys:null}}},41248:(pe,m,s)=>{"use strict";function n(l,u){if(l){const c=l.indexOf(u);0<=c&&l.splice(c,1)}}s.d(m,{k:()=>n})},14912:(pe,m,s)=>{"use strict";function n(l){const c=l(i=>{Error.call(i),i.stack=(new Error).stack});return c.prototype=Object.create(Error.prototype),c.prototype.constructor=c,c}s.d(m,{w:()=>n})},67904:(pe,m,s)=>{"use strict";function n(l,u){return l.reduce((c,i,e)=>(c[i]=u[e],c),{})}s.d(m,{q:()=>n})},92075:(pe,m,s)=>{"use strict";s.d(m,{c:()=>u,q:()=>c});var n=s(74491);let l=null;function u(i){if(n.config.useDeprecatedSynchronousErrorHandling){const e=!l;if(e&&(l={errorThrown:!1,error:null}),i(),e){const{errorThrown:o,error:h}=l;if(l=null,o)throw h}}else i()}function c(i){n.config.useDeprecatedSynchronousErrorHandling&&l&&(l.errorThrown=!0,l.error=i)}},69399:(pe,m,s)=>{"use strict";function n(l,u,c,i=0,e=!1){const o=u.schedule(function(){c(),e?l.add(this.schedule(null,i)):this.unsubscribe()},i);if(l.add(o),!e)return o}s.d(m,{_:()=>n})},528:(pe,m,s)=>{"use strict";function n(l){return l}s.d(m,{Z:()=>n})},45428:(pe,m,s)=>{"use strict";s.d(m,{G:()=>n});const n=l=>l&&"number"==typeof l.length&&"function"!=typeof l},60376:(pe,m,s)=>{"use strict";s.d(m,{E:()=>l});var n=s(38880);function l(u){return Symbol.asyncIterator&&(0,n.m)(u?.[Symbol.asyncIterator])}},38880:(pe,m,s)=>{"use strict";function n(l){return"function"==typeof l}s.d(m,{m:()=>n})},35099:(pe,m,s)=>{"use strict";s.d(m,{O:()=>u});var n=s(90472),l=s(38880);function u(c){return(0,l.m)(c[n.a])}},61688:(pe,m,s)=>{"use strict";s.d(m,{i:()=>u});var n=s(23835),l=s(38880);function u(c){return(0,l.m)(c?.[n.w])}},55432:(pe,m,s)=>{"use strict";s.d(m,{u:()=>l});var n=s(38880);function l(u){return(0,n.m)(u?.then)}},45832:(pe,m,s)=>{"use strict";s.d(m,{K:()=>c,_:()=>u});var n=s(81316),l=s(38880);function u(i){return(0,n.__asyncGenerator)(this,arguments,function*(){const o=i.getReader();try{for(;;){const{value:h,done:v}=yield(0,n.__await)(o.read());if(v)return yield(0,n.__await)(void 0);yield yield(0,n.__await)(h)}}finally{o.releaseLock()}})}function c(i){return(0,l.m)(i?.getReader)}},95448:(pe,m,s)=>{"use strict";s.d(m,{e:()=>l,i:()=>u});var n=s(38880);function l(c){return(0,n.m)(c?.lift)}function u(c){return i=>{if(l(i))return i.lift(function(e){try{return c(e,this)}catch(o){this.error(o)}});throw new TypeError("Unable to lift unknown Observable type")}}},74187:(pe,m,s)=>{"use strict";s.d(m,{j:()=>c});var n=s(54704);const{isArray:l}=Array;function c(i){return(0,n.k)(e=>function u(i,e){return l(e)?i(...e):i(e)}(i,e))}},20308:(pe,m,s)=>{"use strict";function n(){}s.d(m,{K:()=>n})},83928:(pe,m,s)=>{"use strict";s.d(m,{W:()=>l,Y:()=>u});var n=s(528);function l(...c){return u(c)}function u(c){return 0===c.length?n.Z:1===c.length?c[0]:function(e){return c.reduce((o,h)=>h(o),e)}}},31984:(pe,m,s)=>{"use strict";s.d(m,{U:()=>u});var n=s(74491),l=s(43376);function u(c){l.u.setTimeout(()=>{const{onUnhandledError:i}=n.config;if(!i)throw c;i(c)})}},58272:(pe,m,s)=>{"use strict";function n(l){return new TypeError(`You provided ${null!==l&&"object"==typeof l?"an invalid object":`'${l}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}s.d(m,{W:()=>n})},16213:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),Object.defineProperty(m,"NIL",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(m,"parse",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(m,"stringify",{enumerable:!0,get:function(){return h.default}}),Object.defineProperty(m,"v1",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(m,"v3",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(m,"v4",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(m,"v5",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(m,"validate",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(m,"version",{enumerable:!0,get:function(){return e.default}});var n=M(s(14400)),l=M(s(86664)),u=M(s(35368)),c=M(s(52632)),i=M(s(936)),e=M(s(54424)),o=M(s(54e3)),h=M(s(6944)),v=M(s(92612));function M(p){return p&&p.__esModule?p:{default:p}}},75440:(pe,m)=>{"use strict";function l(S){return 14+(S+64>>>9<<4)+1}function i(S,y){const f=(65535&S)+(65535&y);return(S>>16)+(y>>16)+(f>>16)<<16|65535&f}function o(S,y,f,C,_,w){return i(function e(S,y){return S<>>32-y}(i(i(y,S),i(C,w)),_),f)}function h(S,y,f,C,_,w,D){return o(y&f|~y&C,S,y,_,w,D)}function v(S,y,f,C,_,w,D){return o(y&C|f&~C,S,y,_,w,D)}function M(S,y,f,C,_,w,D){return o(y^f^C,S,y,_,w,D)}function p(S,y,f,C,_,w,D){return o(f^(y|~C),S,y,_,w,D)}Object.defineProperty(m,"__esModule",{value:!0}),m.default=void 0,m.default=function s(S){if("string"==typeof S){const y=unescape(encodeURIComponent(S));S=new Uint8Array(y.length);for(let f=0;f>5]>>>_%32&255,D=parseInt(C.charAt(w>>>4&15)+C.charAt(15&w),16);y.push(D)}return y}(function u(S,y){S[y>>5]|=128<>5]|=(255&S[C/8])<{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.default=void 0;var n={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};m.default=n},936:(pe,m)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.default=void 0,m.default="00000000-0000-0000-0000-000000000000"},92612:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.default=void 0;var n=function l(i){return i&&i.__esModule?i:{default:i}}(s(54e3));m.default=function u(i){if(!(0,n.default)(i))throw TypeError("Invalid UUID");let e;const o=new Uint8Array(16);return o[0]=(e=parseInt(i.slice(0,8),16))>>>24,o[1]=e>>>16&255,o[2]=e>>>8&255,o[3]=255&e,o[4]=(e=parseInt(i.slice(9,13),16))>>>8,o[5]=255&e,o[6]=(e=parseInt(i.slice(14,18),16))>>>8,o[7]=255&e,o[8]=(e=parseInt(i.slice(19,23),16))>>>8,o[9]=255&e,o[10]=(e=parseInt(i.slice(24,36),16))/1099511627776&255,o[11]=e/4294967296&255,o[12]=e>>>24&255,o[13]=e>>>16&255,o[14]=e>>>8&255,o[15]=255&e,o}},18280:(pe,m)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.default=void 0,m.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:(pe,m)=>{"use strict";let s;Object.defineProperty(m,"__esModule",{value:!0}),m.default=function l(){if(!s&&(s=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!s))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return s(n)};const n=new Uint8Array(16)},18780:(pe,m)=>{"use strict";function s(c,i,e,o){switch(c){case 0:return i&e^~i&o;case 1:case 3:return i^e^o;case 2:return i&e^i&o^e&o}}function n(c,i){return c<>>32-i}Object.defineProperty(m,"__esModule",{value:!0}),m.default=void 0,m.default=function l(c){const i=[1518500249,1859775393,2400959708,3395469782],e=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof c){const M=unescape(encodeURIComponent(c));c=[];for(let p=0;p>>0;C=f,f=y,y=n(S,30)>>>0,S=E,E=D}e[0]=e[0]+E>>>0,e[1]=e[1]+S>>>0,e[2]=e[2]+y>>>0,e[3]=e[3]+f>>>0,e[4]=e[4]+C>>>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:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.default=void 0,m.unsafeStringify=c;var n=function l(o){return o&&o.__esModule?o:{default:o}}(s(54e3));const u=[];for(let o=0;o<256;++o)u.push((o+256).toString(16).slice(1));function c(o,h=0){return u[o[h+0]]+u[o[h+1]]+u[o[h+2]]+u[o[h+3]]+"-"+u[o[h+4]]+u[o[h+5]]+"-"+u[o[h+6]]+u[o[h+7]]+"-"+u[o[h+8]]+u[o[h+9]]+"-"+u[o[h+10]]+u[o[h+11]]+u[o[h+12]]+u[o[h+13]]+u[o[h+14]]+u[o[h+15]]}m.default=function i(o,h=0){const v=c(o,h);if(!(0,n.default)(v))throw TypeError("Stringified UUID is invalid");return v}},14400:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.default=void 0;var n=function u(M){return M&&M.__esModule?M:{default:M}}(s(98256)),l=s(6944);let c,i,e=0,o=0;m.default=function h(M,p,E){let S=p&&E||0;const y=p||new Array(16);let f=(M=M||{}).node||c,C=void 0!==M.clockseq?M.clockseq:i;if(null==f||null==C){const V=M.random||(M.rng||n.default)();null==f&&(f=c=[1|V[0],V[1],V[2],V[3],V[4],V[5]]),null==C&&(C=i=16383&(V[6]<<8|V[7]))}let _=void 0!==M.msecs?M.msecs:Date.now(),w=void 0!==M.nsecs?M.nsecs:o+1;const D=_-e+(w-o)/1e4;if(D<0&&void 0===M.clockseq&&(C=C+1&16383),(D<0||_>e)&&void 0===M.nsecs&&(w=0),w>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");e=_,o=w,i=C,_+=122192928e5;const L=(1e4*(268435455&_)+w)%4294967296;y[S++]=L>>>24&255,y[S++]=L>>>16&255,y[S++]=L>>>8&255,y[S++]=255&L;const N=_/4294967296*1e4&268435455;y[S++]=N>>>8&255,y[S++]=255&N,y[S++]=N>>>24&15|16,y[S++]=N>>>16&255,y[S++]=C>>>8|128,y[S++]=255&C;for(let V=0;V<6;++V)y[S+V]=f[V];return p||(0,l.unsafeStringify)(y)}},86664:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.default=void 0;var n=u(s(65432)),l=u(s(75440));function u(e){return e&&e.__esModule?e:{default:e}}var i=(0,n.default)("v3",48,l.default);m.default=i},65432:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.URL=m.DNS=void 0,m.default=function o(h,v,M){function p(E,S,y,f){var C;if("string"==typeof E&&(E=function c(h){h=unescape(encodeURIComponent(h));const v=[];for(let M=0;M{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.default=void 0;var n=c(s(24400)),l=c(s(98256)),u=s(6944);function c(o){return o&&o.__esModule?o:{default:o}}m.default=function i(o,h,v){if(n.default.randomUUID&&!h&&!o)return n.default.randomUUID();const M=(o=o||{}).random||(o.rng||l.default)();if(M[6]=15&M[6]|64,M[8]=63&M[8]|128,h){v=v||0;for(let p=0;p<16;++p)h[v+p]=M[p];return h}return(0,u.unsafeStringify)(M)}},52632:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.default=void 0;var n=u(s(65432)),l=u(s(18780));function u(e){return e&&e.__esModule?e:{default:e}}var i=(0,n.default)("v5",80,l.default);m.default=i},54e3:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.default=void 0;var n=function l(i){return i&&i.__esModule?i:{default:i}}(s(18280));m.default=function u(i){return"string"==typeof i&&n.default.test(i)}},54424:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.default=void 0;var n=function l(i){return i&&i.__esModule?i:{default:i}}(s(54e3));m.default=function u(i){if(!(0,n.default)(i))throw TypeError("Invalid UUID");return parseInt(i.slice(14,15),16)}},21480:(pe,m,s)=>{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 l(u){if(!s.o(n,u))return Promise.resolve().then(()=>{var e=new Error("Cannot find module '"+u+"'");throw e.code="MODULE_NOT_FOUND",e});var c=n[u],i=c[0];return Promise.all(c.slice(1).map(s.e)).then(()=>s(i))}l.keys=()=>Object.keys(n),l.id=21480,pe.exports=l},92348:(pe,m,s)=>{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 l(c){var i=u(c);return s(i)}function u(c){if(!s.o(n,c)){var i=new Error("Cannot find module '"+c+"'");throw i.code="MODULE_NOT_FOUND",i}return n[c]}l.keys=function(){return Object.keys(n)},l.resolve=u,pe.exports=l,l.id=92348},1196:pe=>{function m(n,l,u,c,i,e,o){try{var h=n[e](o),v=h.value}catch(M){return void u(M)}h.done?l(v):Promise.resolve(v).then(c,i)}pe.exports=function s(n){return function(){var l=this,u=arguments;return new Promise(function(c,i){var e=n.apply(l,u);function o(v){m(e,c,i,o,h,"next",v)}function h(v){m(e,c,i,o,h,"throw",v)}o(void 0)})}},pe.exports.__esModule=!0,pe.exports.default=pe.exports},91368:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{APP_BASE_HREF:()=>f,AsyncPipe:()=>In,BrowserPlatformLocation:()=>M,CommonModule:()=>vo,CurrencyPipe:()=>ni,DATE_PIPE_DEFAULT_OPTIONS:()=>co,DATE_PIPE_DEFAULT_TIMEZONE:()=>it,DOCUMENT:()=>o,DatePipe:()=>Ri,DecimalPipe:()=>qr,FormStyle:()=>A,FormatWidth:()=>K,HashLocationStrategy:()=>_,I18nPluralPipe:()=>xn,I18nSelectPipe:()=>Jn,IMAGE_CONFIG:()=>n.\u0275IMAGE_CONFIG,IMAGE_LOADER:()=>ao,JsonPipe:()=>Gr,KeyValuePipe:()=>pi,LOCATION_INITIALIZED:()=>v,Location:()=>w,LocationStrategy:()=>y,LowerCasePipe:()=>Un,NgClass:()=>mn,NgComponentOutlet:()=>wn,NgFor:()=>Xn,NgForOf:()=>Xn,NgForOfContext:()=>sr,NgIf:()=>Vr,NgIfContext:()=>Ir,NgLocaleLocalization:()=>Fr,NgLocalization:()=>dr,NgOptimizedImage:()=>yn,NgPlural:()=>de,NgPluralCase:()=>qe,NgStyle:()=>ht,NgSwitch:()=>F,NgSwitchCase:()=>Q,NgSwitchDefault:()=>Se,NgTemplateOutlet:()=>St,NumberFormatStyle:()=>R,NumberSymbol:()=>ie,PRECONNECT_CHECK_BLOCKLIST:()=>Xo,PathLocationStrategy:()=>C,PercentPipe:()=>oi,PlatformLocation:()=>h,Plural:()=>k,SlicePipe:()=>Ji,TitleCasePipe:()=>hr,TranslationWidth:()=>H,UpperCasePipe:()=>Lr,VERSION:()=>ai,ViewportScroller:()=>pr,WeekDay:()=>X,XhrFactory:()=>Mo,formatCurrency:()=>Tr,formatDate:()=>ut,formatNumber:()=>nr,formatPercent:()=>lr,getCurrencySymbol:()=>vn,getLocaleCurrencyCode:()=>re,getLocaleCurrencyName:()=>Be,getLocaleCurrencySymbol:()=>Ae,getLocaleDateFormat:()=>Ue,getLocaleDateTimeFormat:()=>_e,getLocaleDayNames:()=>ze,getLocaleDayPeriods:()=>ce,getLocaleDirection:()=>ot,getLocaleEraNames:()=>xe,getLocaleExtraDayPeriodRules:()=>Tt,getLocaleExtraDayPeriods:()=>dt,getLocaleFirstDayOfWeek:()=>Ie,getLocaleId:()=>be,getLocaleMonthNames:()=>ct,getLocaleNumberFormat:()=>Ce,getLocaleNumberSymbol:()=>Fe,getLocalePluralCase:()=>et,getLocaleTimeFormat:()=>Xe,getLocaleWeekEndRange:()=>Le,getNumberOfCurrencyDigits:()=>Xt,isPlatformBrowser:()=>Pn,isPlatformServer:()=>bo,isPlatformWorkerApp:()=>gi,isPlatformWorkerUi:()=>Hi,provideCloudflareLoader:()=>so,provideCloudinaryLoader:()=>ya,provideImageKitLoader:()=>Lo,provideImgixLoader:()=>Wo,provideNetlifyLoader:()=>at,registerLocaleData:()=>rt,\u0275DomAdapter:()=>i,\u0275NullViewportScroller:()=>Pi,\u0275PLATFORM_BROWSER_ID:()=>ri,\u0275PLATFORM_SERVER_ID:()=>ro,\u0275PLATFORM_WORKER_APP_ID:()=>Rr,\u0275PLATFORM_WORKER_UI_ID:()=>oo,\u0275PlatformNavigation:()=>e,\u0275getDOM:()=>u,\u0275normalizeQueryParams:()=>S,\u0275parseCookieValue:()=>kt,\u0275setRootDomAdapter:()=>c});var n=s(54496);let l=null;function u(){return l}function c(Y){l??=Y}class i{}let e=(()=>{class Y{static#e=this.\u0275fac=function(Me){return new(Me||Y)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Y,factory:()=>window.navigation,providedIn:"platform"})}return Y})();const o=new n.InjectionToken("");let h=(()=>{class Y{historyGo(se){throw new Error("")}static#e=this.\u0275fac=function(Me){return new(Me||Y)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Y,factory:()=>(0,n.inject)(M),providedIn:"platform"})}return Y})();const v=new n.InjectionToken("");let M=(()=>{class Y extends h{constructor(){super(),this._doc=(0,n.inject)(o),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return u().getBaseHref(this._doc)}onPopState(se){const Me=u().getGlobalEventTarget(this._doc,"window");return Me.addEventListener("popstate",se,!1),()=>Me.removeEventListener("popstate",se)}onHashChange(se){const Me=u().getGlobalEventTarget(this._doc,"window");return Me.addEventListener("hashchange",se,!1),()=>Me.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,Me,Mt){this._history.pushState(se,Me,Mt)}replaceState(se,Me,Mt){this._history.replaceState(se,Me,Mt)}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(Me){return new(Me||Y)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Y,factory:()=>new Y,providedIn:"platform"})}return Y})();function p(Y,Re){if(0==Y.length)return Re;if(0==Re.length)return Y;let se=0;return Y.endsWith("/")&&se++,Re.startsWith("/")&&se++,2==se?Y+Re.substring(1):1==se?Y+Re:Y+"/"+Re}function E(Y){const Re=Y.match(/#|\?|$/),se=Re&&Re.index||Y.length;return Y.slice(0,se-("/"===Y[se-1]?1:0))+Y.slice(se)}function S(Y){return Y&&"?"!==Y[0]?"?"+Y:Y}let y=(()=>{class Y{historyGo(se){throw new Error("")}static#e=this.\u0275fac=function(Me){return new(Me||Y)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Y,factory:()=>(0,n.inject)(C),providedIn:"root"})}return Y})();const f=new n.InjectionToken("");let C=(()=>{class Y extends y{constructor(se,Me){super(),this._platformLocation=se,this._removeListenerFns=[],this._baseHref=Me??this._platformLocation.getBaseHrefFromDOM()??(0,n.inject)(o).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 Me=this._platformLocation.pathname+S(this._platformLocation.search),Mt=this._platformLocation.hash;return Mt&&se?`${Me}${Mt}`:Me}pushState(se,Me,Mt,P){const ne=this.prepareExternalUrl(Mt+S(P));this._platformLocation.pushState(se,Me,ne)}replaceState(se,Me,Mt,P){const ne=this.prepareExternalUrl(Mt+S(P));this._platformLocation.replaceState(se,Me,ne)}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(Me){return new(Me||Y)(n.\u0275\u0275inject(h),n.\u0275\u0275inject(f,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Y,factory:Y.\u0275fac,providedIn:"root"})}return Y})(),_=(()=>{class Y extends y{constructor(se,Me){super(),this._platformLocation=se,this._baseHref="",this._removeListenerFns=[],null!=Me&&(this._baseHref=Me)}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 Me=this._platformLocation.hash??"#";return Me.length>0?Me.substring(1):Me}prepareExternalUrl(se){const Me=p(this._baseHref,se);return Me.length>0?"#"+Me:Me}pushState(se,Me,Mt,P){let ne=this.prepareExternalUrl(Mt+S(P));0==ne.length&&(ne=this._platformLocation.pathname),this._platformLocation.pushState(se,Me,ne)}replaceState(se,Me,Mt,P){let ne=this.prepareExternalUrl(Mt+S(P));0==ne.length&&(ne=this._platformLocation.pathname),this._platformLocation.replaceState(se,Me,ne)}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(Me){return new(Me||Y)(n.\u0275\u0275inject(h),n.\u0275\u0275inject(f,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Y,factory:Y.\u0275fac})}return Y})(),w=(()=>{class Y{constructor(se){this._subject=new n.EventEmitter,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=se;const Me=this._locationStrategy.getBaseHref();this._basePath=function V(Y){if(new RegExp("^(https?:)?//").test(Y)){const[,se]=Y.split(/\/\/[^\/]+/);return se}return Y}(E(N(Me))),this._locationStrategy.onPopState(Mt=>{this._subject.emit({url:this.path(!0),pop:!0,state:Mt.state,type:Mt.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(se=!1){return this.normalize(this._locationStrategy.path(se))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(se,Me=""){return this.path()==this.normalize(se+S(Me))}normalize(se){return Y.stripTrailingSlash(function L(Y,Re){if(!Y||!Re.startsWith(Y))return Re;const se=Re.substring(Y.length);return""===se||["/",";","?","#"].includes(se[0])?se:Re}(this._basePath,N(se)))}prepareExternalUrl(se){return se&&"/"!==se[0]&&(se="/"+se),this._locationStrategy.prepareExternalUrl(se)}go(se,Me="",Mt=null){this._locationStrategy.pushState(Mt,"",se,Me),this._notifyUrlChangeListeners(this.prepareExternalUrl(se+S(Me)),Mt)}replaceState(se,Me="",Mt=null){this._locationStrategy.replaceState(Mt,"",se,Me),this._notifyUrlChangeListeners(this.prepareExternalUrl(se+S(Me)),Mt)}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(Me=>{this._notifyUrlChangeListeners(Me.url,Me.state)}),()=>{const Me=this._urlChangeListeners.indexOf(se);this._urlChangeListeners.splice(Me,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(se="",Me){this._urlChangeListeners.forEach(Mt=>Mt(se,Me))}subscribe(se,Me,Mt){return this._subject.subscribe({next:se,error:Me,complete:Mt})}static#e=this.normalizeQueryParams=S;static#t=this.joinWithSlash=p;static#n=this.stripTrailingSlash=E;static#r=this.\u0275fac=function(Me){return new(Me||Y)(n.\u0275\u0275inject(y))};static#i=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Y,factory:()=>function D(){return new w((0,n.\u0275\u0275inject)(y))}(),providedIn:"root"})}return Y})();function N(Y){return Y.replace(/\/index.html$/,"")}const G={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 R=function(Y){return Y[Y.Decimal=0]="Decimal",Y[Y.Percent=1]="Percent",Y[Y.Currency=2]="Currency",Y[Y.Scientific=3]="Scientific",Y}(R||{}),k=function(Y){return Y[Y.Zero=0]="Zero",Y[Y.One=1]="One",Y[Y.Two=2]="Two",Y[Y.Few=3]="Few",Y[Y.Many=4]="Many",Y[Y.Other=5]="Other",Y}(k||{}),A=function(Y){return Y[Y.Format=0]="Format",Y[Y.Standalone=1]="Standalone",Y}(A||{}),H=function(Y){return Y[Y.Narrow=0]="Narrow",Y[Y.Abbreviated=1]="Abbreviated",Y[Y.Wide=2]="Wide",Y[Y.Short=3]="Short",Y}(H||{}),K=function(Y){return Y[Y.Short=0]="Short",Y[Y.Medium=1]="Medium",Y[Y.Long=2]="Long",Y[Y.Full=3]="Full",Y}(K||{}),ie=function(Y){return Y[Y.Decimal=0]="Decimal",Y[Y.Group=1]="Group",Y[Y.List=2]="List",Y[Y.PercentSign=3]="PercentSign",Y[Y.PlusSign=4]="PlusSign",Y[Y.MinusSign=5]="MinusSign",Y[Y.Exponential=6]="Exponential",Y[Y.SuperscriptingExponent=7]="SuperscriptingExponent",Y[Y.PerMille=8]="PerMille",Y[Y.Infinity=9]="Infinity",Y[Y.NaN=10]="NaN",Y[Y.TimeSeparator=11]="TimeSeparator",Y[Y.CurrencyDecimal=12]="CurrencyDecimal",Y[Y.CurrencyGroup=13]="CurrencyGroup",Y}(ie||{}),X=function(Y){return Y[Y.Sunday=0]="Sunday",Y[Y.Monday=1]="Monday",Y[Y.Tuesday=2]="Tuesday",Y[Y.Wednesday=3]="Wednesday",Y[Y.Thursday=4]="Thursday",Y[Y.Friday=5]="Friday",Y[Y.Saturday=6]="Saturday",Y}(X||{});function be(Y){return(0,n.\u0275findLocaleData)(Y)[n.\u0275LocaleDataIndex.LocaleId]}function ce(Y,Re,se){const Me=(0,n.\u0275findLocaleData)(Y),P=Vt([Me[n.\u0275LocaleDataIndex.DayPeriodsFormat],Me[n.\u0275LocaleDataIndex.DayPeriodsStandalone]],Re);return Vt(P,se)}function ze(Y,Re,se){const Me=(0,n.\u0275findLocaleData)(Y),P=Vt([Me[n.\u0275LocaleDataIndex.DaysFormat],Me[n.\u0275LocaleDataIndex.DaysStandalone]],Re);return Vt(P,se)}function ct(Y,Re,se){const Me=(0,n.\u0275findLocaleData)(Y),P=Vt([Me[n.\u0275LocaleDataIndex.MonthsFormat],Me[n.\u0275LocaleDataIndex.MonthsStandalone]],Re);return Vt(P,se)}function xe(Y,Re){return Vt((0,n.\u0275findLocaleData)(Y)[n.\u0275LocaleDataIndex.Eras],Re)}function Ie(Y){return(0,n.\u0275findLocaleData)(Y)[n.\u0275LocaleDataIndex.FirstDayOfWeek]}function Le(Y){return(0,n.\u0275findLocaleData)(Y)[n.\u0275LocaleDataIndex.WeekendRange]}function Ue(Y,Re){return Vt((0,n.\u0275findLocaleData)(Y)[n.\u0275LocaleDataIndex.DateFormat],Re)}function Xe(Y,Re){return Vt((0,n.\u0275findLocaleData)(Y)[n.\u0275LocaleDataIndex.TimeFormat],Re)}function _e(Y,Re){return Vt((0,n.\u0275findLocaleData)(Y)[n.\u0275LocaleDataIndex.DateTimeFormat],Re)}function Fe(Y,Re){const se=(0,n.\u0275findLocaleData)(Y),Me=se[n.\u0275LocaleDataIndex.NumberSymbols][Re];if(typeof Me>"u"){if(Re===ie.CurrencyDecimal)return se[n.\u0275LocaleDataIndex.NumberSymbols][ie.Decimal];if(Re===ie.CurrencyGroup)return se[n.\u0275LocaleDataIndex.NumberSymbols][ie.Group]}return Me}function Ce(Y,Re){return(0,n.\u0275findLocaleData)(Y)[n.\u0275LocaleDataIndex.NumberFormats][Re]}function Ae(Y){return(0,n.\u0275findLocaleData)(Y)[n.\u0275LocaleDataIndex.CurrencySymbol]||null}function Be(Y){return(0,n.\u0275findLocaleData)(Y)[n.\u0275LocaleDataIndex.CurrencyName]||null}function re(Y){return(0,n.\u0275getLocaleCurrencyCode)(Y)}const et=n.\u0275getLocalePluralCase;function vt(Y){if(!Y[n.\u0275LocaleDataIndex.ExtraData])throw new Error(`Missing extra locale data for the locale "${Y[n.\u0275LocaleDataIndex.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Tt(Y){const Re=(0,n.\u0275findLocaleData)(Y);return vt(Re),(Re[n.\u0275LocaleDataIndex.ExtraData][2]||[]).map(Me=>"string"==typeof Me?nn(Me):[nn(Me[0]),nn(Me[1])])}function dt(Y,Re,se){const Me=(0,n.\u0275findLocaleData)(Y);vt(Me);const P=Vt([Me[n.\u0275LocaleDataIndex.ExtraData][0],Me[n.\u0275LocaleDataIndex.ExtraData][1]],Re)||[];return Vt(P,se)||[]}function ot(Y){return(0,n.\u0275findLocaleData)(Y)[n.\u0275LocaleDataIndex.Directionality]}function Vt(Y,Re){for(let se=Re;se>-1;se--)if(typeof Y[se]<"u")return Y[se];throw new Error("Locale data API: locale data undefined")}function nn(Y){const[Re,se]=Y.split(":");return{hours:+Re,minutes:+se}}function vn(Y,Re,se="en"){const Me=function Ee(Y){return(0,n.\u0275findLocaleData)(Y)[n.\u0275LocaleDataIndex.Currencies]}(se)[Y]||G[Y]||[],Mt=Me[1];return"narrow"===Re&&"string"==typeof Mt?Mt:Me[0]||Y}const zt=2;function Xt(Y){let Re;const se=G[Y];return se&&(Re=se[2]),"number"==typeof Re?Re:zt}const En=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,$n={},Wt=/((?:[^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 zn=function(Y){return Y[Y.Short=0]="Short",Y[Y.ShortGMT=1]="ShortGMT",Y[Y.Long=2]="Long",Y[Y.Extended=3]="Extended",Y}(zn||{}),kn=function(Y){return Y[Y.FullYear=0]="FullYear",Y[Y.Month=1]="Month",Y[Y.Date=2]="Date",Y[Y.Hours=3]="Hours",Y[Y.Minutes=4]="Minutes",Y[Y.Seconds=5]="Seconds",Y[Y.FractionalSeconds=6]="FractionalSeconds",Y[Y.Day=7]="Day",Y}(kn||{}),ln=function(Y){return Y[Y.DayPeriods=0]="DayPeriods",Y[Y.Days=1]="Days",Y[Y.Months=2]="Months",Y[Y.Eras=3]="Eras",Y}(ln||{});function ut(Y,Re,se,Me){let Mt=function je(Y){if(mt(Y))return Y;if("number"==typeof Y&&!isNaN(Y))return new Date(Y);if("string"==typeof Y){if(Y=Y.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(Y)){const[Mt,P=1,ne=1]=Y.split("-").map(B=>+B);return Te(Mt,P-1,ne)}const se=parseFloat(Y);if(!isNaN(Y-se))return new Date(se);let Me;if(Me=Y.match(En))return function pt(Y){const Re=new Date(0);let se=0,Me=0;const Mt=Y[8]?Re.setUTCFullYear:Re.setFullYear,P=Y[8]?Re.setUTCHours:Re.setHours;Y[9]&&(se=Number(Y[9]+Y[10]),Me=Number(Y[9]+Y[11])),Mt.call(Re,Number(Y[1]),Number(Y[2])-1,Number(Y[3]));const ne=Number(Y[4]||0)-se,B=Number(Y[5]||0)-Me,le=Number(Y[6]||0),We=Math.floor(1e3*parseFloat("0."+(Y[7]||0)));return P.call(Re,ne,B,le,We),Re}(Me)}const Re=new Date(Y);if(!mt(Re))throw new Error(`Unable to convert "${Y}" into a date`);return Re}(Y);Re=me(se,Re)||Re;let B,ne=[];for(;Re;){if(B=Wt.exec(Re),!B){ne.push(Re);break}{ne=ne.concat(B.slice(1));const Jt=ne.pop();if(!Jt)break;Re=Jt}}let le=Mt.getTimezoneOffset();Me&&(le=yt(Me,le),Mt=function Rt(Y,Re,se){const Me=se?-1:1,Mt=Y.getTimezoneOffset();return function Ze(Y,Re){return(Y=new Date(Y.getTime())).setMinutes(Y.getMinutes()+Re),Y}(Y,Me*(yt(Re,Mt)-Mt))}(Mt,Me,!0));let We="";return ne.forEach(Jt=>{const Cn=function qt(Y){if(Dt[Y])return Dt[Y];let Re;switch(Y){case"G":case"GG":case"GGG":Re=un(ln.Eras,H.Abbreviated);break;case"GGGG":Re=un(ln.Eras,H.Wide);break;case"GGGGG":Re=un(ln.Eras,H.Narrow);break;case"y":Re=ft(kn.FullYear,1,0,!1,!0);break;case"yy":Re=ft(kn.FullYear,2,0,!0,!0);break;case"yyy":Re=ft(kn.FullYear,3,0,!1,!0);break;case"yyyy":Re=ft(kn.FullYear,4,0,!1,!0);break;case"Y":Re=Hn(1);break;case"YY":Re=Hn(2,!0);break;case"YYY":Re=Hn(3);break;case"YYYY":Re=Hn(4);break;case"M":case"L":Re=ft(kn.Month,1,1);break;case"MM":case"LL":Re=ft(kn.Month,2,1);break;case"MMM":Re=un(ln.Months,H.Abbreviated);break;case"MMMM":Re=un(ln.Months,H.Wide);break;case"MMMMM":Re=un(ln.Months,H.Narrow);break;case"LLL":Re=un(ln.Months,H.Abbreviated,A.Standalone);break;case"LLLL":Re=un(ln.Months,H.Wide,A.Standalone);break;case"LLLLL":Re=un(ln.Months,H.Narrow,A.Standalone);break;case"w":Re=jr(1);break;case"ww":Re=jr(2);break;case"W":Re=jr(1,!0);break;case"d":Re=ft(kn.Date,1);break;case"dd":Re=ft(kn.Date,2);break;case"c":case"cc":Re=ft(kn.Day,1);break;case"ccc":Re=un(ln.Days,H.Abbreviated,A.Standalone);break;case"cccc":Re=un(ln.Days,H.Wide,A.Standalone);break;case"ccccc":Re=un(ln.Days,H.Narrow,A.Standalone);break;case"cccccc":Re=un(ln.Days,H.Short,A.Standalone);break;case"E":case"EE":case"EEE":Re=un(ln.Days,H.Abbreviated);break;case"EEEE":Re=un(ln.Days,H.Wide);break;case"EEEEE":Re=un(ln.Days,H.Narrow);break;case"EEEEEE":Re=un(ln.Days,H.Short);break;case"a":case"aa":case"aaa":Re=un(ln.DayPeriods,H.Abbreviated);break;case"aaaa":Re=un(ln.DayPeriods,H.Wide);break;case"aaaaa":Re=un(ln.DayPeriods,H.Narrow);break;case"b":case"bb":case"bbb":Re=un(ln.DayPeriods,H.Abbreviated,A.Standalone,!0);break;case"bbbb":Re=un(ln.DayPeriods,H.Wide,A.Standalone,!0);break;case"bbbbb":Re=un(ln.DayPeriods,H.Narrow,A.Standalone,!0);break;case"B":case"BB":case"BBB":Re=un(ln.DayPeriods,H.Abbreviated,A.Format,!0);break;case"BBBB":Re=un(ln.DayPeriods,H.Wide,A.Format,!0);break;case"BBBBB":Re=un(ln.DayPeriods,H.Narrow,A.Format,!0);break;case"h":Re=ft(kn.Hours,1,-12);break;case"hh":Re=ft(kn.Hours,2,-12);break;case"H":Re=ft(kn.Hours,1);break;case"HH":Re=ft(kn.Hours,2);break;case"m":Re=ft(kn.Minutes,1);break;case"mm":Re=ft(kn.Minutes,2);break;case"s":Re=ft(kn.Seconds,1);break;case"ss":Re=ft(kn.Seconds,2);break;case"S":Re=ft(kn.FractionalSeconds,1);break;case"SS":Re=ft(kn.FractionalSeconds,2);break;case"SSS":Re=ft(kn.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":Re=tr(zn.Short);break;case"ZZZZZ":Re=tr(zn.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":Re=tr(zn.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":Re=tr(zn.Long);break;default:return null}return Dt[Y]=Re,Re}(Jt);We+=Cn?Cn(Mt,se,le):"''"===Jt?"'":Jt.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),We}function Te(Y,Re,se){const Me=new Date(0);return Me.setFullYear(Y,Re,se),Me.setHours(0,0,0),Me}function me(Y,Re){const se=be(Y);if($n[se]??={},$n[se][Re])return $n[se][Re];let Me="";switch(Re){case"shortDate":Me=Ue(Y,K.Short);break;case"mediumDate":Me=Ue(Y,K.Medium);break;case"longDate":Me=Ue(Y,K.Long);break;case"fullDate":Me=Ue(Y,K.Full);break;case"shortTime":Me=Xe(Y,K.Short);break;case"mediumTime":Me=Xe(Y,K.Medium);break;case"longTime":Me=Xe(Y,K.Long);break;case"fullTime":Me=Xe(Y,K.Full);break;case"short":const Mt=me(Y,"shortTime"),P=me(Y,"shortDate");Me=fe(_e(Y,K.Short),[Mt,P]);break;case"medium":const ne=me(Y,"mediumTime"),B=me(Y,"mediumDate");Me=fe(_e(Y,K.Medium),[ne,B]);break;case"long":const le=me(Y,"longTime"),We=me(Y,"longDate");Me=fe(_e(Y,K.Long),[le,We]);break;case"full":const Jt=me(Y,"fullTime"),Cn=me(Y,"fullDate");Me=fe(_e(Y,K.Full),[Jt,Cn])}return Me&&($n[se][Re]=Me),Me}function fe(Y,Re){return Re&&(Y=Y.replace(/\{([^}]+)}/g,function(se,Me){return null!=Re&&Me in Re?Re[Me]:se})),Y}function $e(Y,Re,se="-",Me,Mt){let P="";(Y<0||Mt&&Y<=0)&&(Mt?Y=1-Y:(Y=-Y,P=se));let ne=String(Y);for(;ne.length0||B>-se)&&(B+=se),Y===kn.Hours)0===B&&-12===se&&(B=12);else if(Y===kn.FractionalSeconds)return function Ye(Y,Re){return $e(Y,3).substring(0,Re)}(B,Re);const le=Fe(ne,ie.MinusSign);return $e(B,Re,le,Me,Mt)}}function un(Y,Re,se=A.Format,Me=!1){return function(Mt,P){return function Vn(Y,Re,se,Me,Mt,P){switch(se){case ln.Months:return ct(Re,Mt,Me)[Y.getMonth()];case ln.Days:return ze(Re,Mt,Me)[Y.getDay()];case ln.DayPeriods:const ne=Y.getHours(),B=Y.getMinutes();if(P){const We=Tt(Re),Jt=dt(Re,Mt,Me),Cn=We.findIndex(An=>{if(Array.isArray(An)){const[Kn,Sr]=An,Zr=ne>=Kn.hours&&B>=Kn.minutes,ho=ne0?Math.floor(Mt/60):Math.ceil(Mt/60);switch(Y){case zn.Short:return(Mt>=0?"+":"")+$e(ne,2,P)+$e(Math.abs(Mt%60),2,P);case zn.ShortGMT:return"GMT"+(Mt>=0?"+":"")+$e(ne,1,P);case zn.Long:return"GMT"+(Mt>=0?"+":"")+$e(ne,2,P)+":"+$e(Math.abs(Mt%60),2,P);case zn.Extended:return 0===Me?"Z":(Mt>=0?"+":"")+$e(ne,2,P)+":"+$e(Math.abs(Mt%60),2,P);default:throw new Error(`Unknown zone width "${Y}"`)}}}const br=0,or=4;function Cr(Y){const Re=Y.getDay(),se=0===Re?-3:or-Re;return Te(Y.getFullYear(),Y.getMonth(),Y.getDate()+se)}function jr(Y,Re=!1){return function(se,Me){let Mt;if(Re){const P=new Date(se.getFullYear(),se.getMonth(),1).getDay()-1,ne=se.getDate();Mt=1+Math.floor((ne+P)/7)}else{const P=Cr(se),ne=function fi(Y){const Re=Te(Y,br,1).getDay();return Te(Y,0,1+(Re<=or?or:or+7)-Re)}(P.getFullYear()),B=P.getTime()-ne.getTime();Mt=1+Math.round(B/6048e5)}return $e(Mt,Y,Fe(Me,ie.MinusSign))}}function Hn(Y,Re=!1){return function(se,Me){return $e(Cr(se).getFullYear(),Y,Fe(Me,ie.MinusSign),Re)}}const Dt={};function yt(Y,Re){Y=Y.replace(/:/g,"");const se=Date.parse("Jan 01, 1970 00:00:00 "+Y)/6e4;return isNaN(se)?Re:se}function mt(Y){return Y instanceof Date&&!isNaN(Y.valueOf())}const on=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Ln=22,jt=".",Mn="0",Pe=";",gt=",",At="#",Ut="\xa4",ar="%";function ur(Y,Re,se,Me,Mt,P,ne=!1){let B="",le=!1;if(isFinite(Y)){let We=function tn(Y){let Me,Mt,P,ne,B,Re=Math.abs(Y)+"",se=0;for((Mt=Re.indexOf(jt))>-1&&(Re=Re.replace(jt,"")),(P=Re.search(/e/i))>0?(Mt<0&&(Mt=P),Mt+=+Re.slice(P+1),Re=Re.substring(0,P)):Mt<0&&(Mt=Re.length),P=0;Re.charAt(P)===Mn;P++);if(P===(B=Re.length))Me=[0],Mt=1;else{for(B--;Re.charAt(B)===Mn;)B--;for(Mt-=P,Me=[],ne=0;P<=B;P++,ne++)Me[ne]=Number(Re.charAt(P))}return Mt>Ln&&(Me=Me.splice(0,Ln-1),se=Mt-1,Mt=1),{digits:Me,exponent:se,integerLen:Mt}}(Y);ne&&(We=function Ci(Y){if(0===Y.digits[0])return Y;const Re=Y.digits.length-Y.integerLen;return Y.exponent?Y.exponent+=2:(0===Re?Y.digits.push(0,0):1===Re&&Y.digits.push(0),Y.integerLen+=2),Y}(We));let Jt=Re.minInt,Cn=Re.minFrac,An=Re.maxFrac;if(P){const Fo=P.match(on);if(null===Fo)throw new Error(`${P} is not a valid digit info`);const xi=Fo[1],Yi=Fo[3],yi=Fo[5];null!=xi&&(Jt=qn(xi)),null!=Yi&&(Cn=qn(Yi)),null!=yi?An=qn(yi):null!=Yi&&Cn>An&&(An=Cn)}!function jn(Y,Re,se){if(Re>se)throw new Error(`The minimum number of digits after fraction (${Re}) is higher than the maximum (${se}).`);let Me=Y.digits,Mt=Me.length-Y.integerLen;const P=Math.min(Math.max(Re,Mt),se);let ne=P+Y.integerLen,B=Me[ne];if(ne>0){Me.splice(Math.max(Y.integerLen,ne));for(let Cn=ne;Cn=5)if(ne-1<0){for(let Cn=0;Cn>ne;Cn--)Me.unshift(0),Y.integerLen++;Me.unshift(1),Y.integerLen++}else Me[ne-1]++;for(;Mt=We?Sr.pop():le=!1),An>=10?1:0},0);Jt&&(Me.unshift(Jt),Y.integerLen++)}(We,Cn,An);let Kn=We.digits,Sr=We.integerLen;const Zr=We.exponent;let ho=[];for(le=Kn.every(Fo=>!Fo);Sr0?ho=Kn.splice(Sr,Kn.length):(ho=Kn,Kn=[0]);const Co=[];for(Kn.length>=Re.lgSize&&Co.unshift(Kn.splice(-Re.lgSize,Kn.length).join(""));Kn.length>Re.gSize;)Co.unshift(Kn.splice(-Re.gSize,Kn.length).join(""));Kn.length&&Co.unshift(Kn.join("")),B=Co.join(Fe(se,Me)),ho.length&&(B+=Fe(se,Mt)+ho.join("")),Zr&&(B+=Fe(se,ie.Exponential)+"+"+Zr)}else B=Fe(se,ie.Infinity);return B=Y<0&&!le?Re.negPre+B+Re.negSuf:Re.posPre+B+Re.posSuf,B}function Tr(Y,Re,se,Me,Mt){const ne=Nr(Ce(Re,R.Currency),Fe(Re,ie.MinusSign));return ne.minFrac=Xt(Me),ne.maxFrac=ne.minFrac,ur(Y,ne,Re,ie.CurrencyGroup,ie.CurrencyDecimal,Mt).replace(Ut,se).replace(Ut,"").trim()}function lr(Y,Re,se){return ur(Y,Nr(Ce(Re,R.Percent),Fe(Re,ie.MinusSign)),Re,ie.Group,ie.Decimal,se,!0).replace(new RegExp(ar,"g"),Fe(Re,ie.PercentSign))}function nr(Y,Re,se){return ur(Y,Nr(Ce(Re,R.Decimal),Fe(Re,ie.MinusSign)),Re,ie.Group,ie.Decimal,se)}function Nr(Y,Re="-"){const se={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},Me=Y.split(Pe),Mt=Me[0],P=Me[1],ne=-1!==Mt.indexOf(jt)?Mt.split(jt):[Mt.substring(0,Mt.lastIndexOf(Mn)+1),Mt.substring(Mt.lastIndexOf(Mn)+1)],B=ne[0],le=ne[1]||"";se.posPre=B.substring(0,B.indexOf(At));for(let Jt=0;Jt{class Y{static#e=this.\u0275fac=function(Me){return new(Me||Y)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Y,factory:function(Me){let Mt=null;return Me?Mt=new Me:(P=n.\u0275\u0275inject(n.LOCALE_ID),Mt=new Fr(P)),Mt;var P},providedIn:"root"})}return Y})();function ii(Y,Re,se,Me){let Mt=`=${Y}`;if(Re.indexOf(Mt)>-1||(Mt=se.getPluralCategory(Y,Me),Re.indexOf(Mt)>-1))return Mt;if(Re.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${Y}"`)}let Fr=(()=>{class Y extends dr{constructor(se){super(),this.locale=se}getPluralCategory(se,Me){switch(et(Me||this.locale)(se)){case k.Zero:return"zero";case k.One:return"one";case k.Two:return"two";case k.Few:return"few";case k.Many:return"many";default:return"other"}}static#e=this.\u0275fac=function(Me){return new(Me||Y)(n.\u0275\u0275inject(n.LOCALE_ID))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Y,factory:Y.\u0275fac})}return Y})();function rt(Y,Re,se){return(0,n.\u0275registerLocaleData)(Y,Re,se)}function kt(Y,Re){Re=encodeURIComponent(Re);for(const se of Y.split(";")){const Me=se.indexOf("="),[Mt,P]=-1==Me?[se,""]:[se.slice(0,Me),se.slice(Me+1)];if(Mt.trim()===Re)return decodeURIComponent(P)}return null}const Et=/\s+/,an=[];let mn=(()=>{class Y{constructor(se,Me){this._ngEl=se,this._renderer=Me,this.initialClasses=an,this.stateMap=new Map}set klass(se){this.initialClasses=null!=se?se.trim().split(Et):an}set ngClass(se){this.rawClass="string"==typeof se?se.trim().split(Et):se}ngDoCheck(){for(const Me of this.initialClasses)this._updateState(Me,!0);const se=this.rawClass;if(Array.isArray(se)||se instanceof Set)for(const Me of se)this._updateState(Me,!0);else if(null!=se)for(const Me of Object.keys(se))this._updateState(Me,!!se[Me]);this._applyStateDiff()}_updateState(se,Me){const Mt=this.stateMap.get(se);void 0!==Mt?(Mt.enabled!==Me&&(Mt.changed=!0,Mt.enabled=Me),Mt.touched=!0):this.stateMap.set(se,{enabled:Me,changed:!0,touched:!0})}_applyStateDiff(){for(const se of this.stateMap){const Me=se[0],Mt=se[1];Mt.changed?(this._toggleClass(Me,Mt.enabled),Mt.changed=!1):Mt.touched||(Mt.enabled&&this._toggleClass(Me,!1),this.stateMap.delete(Me)),Mt.touched=!1}}_toggleClass(se,Me){(se=se.trim()).length>0&&se.split(Et).forEach(Mt=>{Me?this._renderer.addClass(this._ngEl.nativeElement,Mt):this._renderer.removeClass(this._ngEl.nativeElement,Mt)})}static#e=this.\u0275fac=function(Me){return new(Me||Y)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Y,selectors:[["","ngClass",""]],inputs:{klass:[n.\u0275\u0275InputFlags.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return Y})(),wn=(()=>{class Y{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 Me=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(se)&&(this._moduleRef?.destroy(),this._moduleRef=this.ngComponentOutletNgModule?(0,n.createNgModule)(this.ngComponentOutletNgModule,Dn(Me)):this.ngComponentOutletNgModuleFactory?this.ngComponentOutletNgModuleFactory.create(Dn(Me)):void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:Me,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[Me,Mt]of this._inputsUsed)Mt?(se.setInput(Me,this.ngComponentOutletInputs[Me]),this._inputsUsed.set(Me,!1)):(se.setInput(Me,void 0),this._inputsUsed.delete(Me))}static#e=this.\u0275fac=function(Me){return new(Me||Y)(n.\u0275\u0275directiveInject(n.ViewContainerRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Y,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return Y})();function Dn(Y){return Y.get(n.NgModuleRef).injector}class sr{constructor(Re,se,Me,Mt){this.$implicit=Re,this.ngForOf=se,this.index=Me,this.count=Mt}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 Xn=(()=>{class Y{set ngForOf(se){this._ngForOf=se,this._ngForOfDirty=!0}set ngForTrackBy(se){this._trackByFn=se}get ngForTrackBy(){return this._trackByFn}constructor(se,Me,Mt){this._viewContainer=se,this._template=Me,this._differs=Mt,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 Me=this._viewContainer;se.forEachOperation((Mt,P,ne)=>{if(null==Mt.previousIndex)Me.createEmbeddedView(this._template,new sr(Mt.item,this._ngForOf,-1,-1),null===ne?void 0:ne);else if(null==ne)Me.remove(null===P?void 0:P);else if(null!==P){const B=Me.get(P);Me.move(B,ne),xr(B,Mt)}});for(let Mt=0,P=Me.length;Mt{xr(Me.get(Mt.currentIndex),Mt)})}static ngTemplateContextGuard(se,Me){return!0}static#e=this.\u0275fac=function(Me){return new(Me||Y)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Y,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return Y})();function xr(Y,Re){Y.context.$implicit=Re.item}let Vr=(()=>{class Y{constructor(se,Me){this._viewContainer=se,this._context=new Ir,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=Me}set ngIf(se){this._context.$implicit=this._context.ngIf=se,this._updateView()}set ngIfThen(se){Er("ngIfThen",se),this._thenTemplateRef=se,this._thenViewRef=null,this._updateView()}set ngIfElse(se){Er("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,Me){return!0}static#e=this.\u0275fac=function(Me){return new(Me||Y)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Y,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return Y})();class Ir{constructor(){this.$implicit=null,this.ngIf=null}}function Er(Y,Re){if(Re&&!Re.createEmbeddedView)throw new Error(`${Y} must be a TemplateRef, but received '${(0,n.\u0275stringify)(Re)}'.`)}class x{constructor(Re,se){this._viewContainerRef=Re,this._templateRef=se,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(Re){Re&&!this._created?this.create():!Re&&this._created&&this.destroy()}}let F=(()=>{class Y{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 Me=se===this._ngSwitch;return this._lastCasesMatched||=Me,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),Me}_updateDefaultCases(se){if(this._defaultViews.length>0&&se!==this._defaultUsed){this._defaultUsed=se;for(const Me of this._defaultViews)Me.enforceState(se)}}static#e=this.\u0275fac=function(Me){return new(Me||Y)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Y,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return Y})(),Q=(()=>{class Y{constructor(se,Me,Mt){this.ngSwitch=Mt,Mt._addCase(),this._view=new x(se,Me)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(Me){return new(Me||Y)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(F,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Y,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return Y})(),Se=(()=>{class Y{constructor(se,Me,Mt){Mt._addDefault(new x(se,Me))}static#e=this.\u0275fac=function(Me){return new(Me||Y)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(F,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Y,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return Y})(),de=(()=>{class Y{constructor(se){this._localization=se,this._caseViews={}}set ngPlural(se){this._updateView(se)}addCase(se,Me){this._caseViews[se]=Me}_updateView(se){this._clearViews();const Mt=ii(se,Object.keys(this._caseViews),this._localization);this._activateView(this._caseViews[Mt])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(se){se&&(this._activeView=se,this._activeView.create())}static#e=this.\u0275fac=function(Me){return new(Me||Y)(n.\u0275\u0275directiveInject(dr))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Y,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0})}return Y})(),qe=(()=>{class Y{constructor(se,Me,Mt,P){this.value=se;const ne=!isNaN(Number(se));P.addCase(ne?`=${se}`:se,new x(Mt,Me))}static#e=this.\u0275fac=function(Me){return new(Me||Y)(n.\u0275\u0275injectAttribute("ngPluralCase"),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(de,1))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Y,selectors:[["","ngPluralCase",""]],standalone:!0})}return Y})(),ht=(()=>{class Y{constructor(se,Me,Mt){this._ngEl=se,this._differs=Me,this._renderer=Mt,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,Me){const[Mt,P]=se.split("."),ne=-1===Mt.indexOf("-")?void 0:n.RendererStyleFlags2.DashCase;null!=Me?this._renderer.setStyle(this._ngEl.nativeElement,Mt,P?`${Me}${P}`:Me,ne):this._renderer.removeStyle(this._ngEl.nativeElement,Mt,ne)}_applyChanges(se){se.forEachRemovedItem(Me=>this._setStyle(Me.key,null)),se.forEachAddedItem(Me=>this._setStyle(Me.key,Me.currentValue)),se.forEachChangedItem(Me=>this._setStyle(Me.key,Me.currentValue))}static#e=this.\u0275fac=function(Me){return new(Me||Y)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.KeyValueDiffers),n.\u0275\u0275directiveInject(n.Renderer2))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Y,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return Y})(),St=(()=>{class Y{constructor(se){this._viewContainerRef=se,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(se){if(this._shouldRecreateView(se)){const Me=this._viewContainerRef;if(this._viewRef&&Me.remove(Me.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const Mt=this._createContextForwardProxy();this._viewRef=Me.createEmbeddedView(this.ngTemplateOutlet,Mt,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(se){return!!se.ngTemplateOutlet||!!se.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(se,Me,Mt)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,Me,Mt),get:(se,Me,Mt)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,Me,Mt)}})}static#e=this.\u0275fac=function(Me){return new(Me||Y)(n.\u0275\u0275directiveInject(n.ViewContainerRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Y,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return Y})();function en(Y,Re){return new n.\u0275RuntimeError(2100,!1)}class gn{createSubscription(Re,se){return(0,n.untracked)(()=>Re.subscribe({next:se,error:Me=>{throw Me}}))}dispose(Re){(0,n.untracked)(()=>Re.unsubscribe())}}class _n{createSubscription(Re,se){return Re.then(se,Me=>{throw Me})}dispose(Re){}}const bn=new _n,hn=new gn;let In=(()=>{class Y{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,Me=>this._updateLatestValue(se,Me))}_selectStrategy(se){if((0,n.\u0275isPromise)(se))return bn;if((0,n.\u0275isSubscribable)(se))return hn;throw en()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(se,Me){se===this._obj&&(this._latestValue=Me,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static#e=this.\u0275fac=function(Me){return new(Me||Y)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"async",type:Y,pure:!1,standalone:!0})}return Y})(),Un=(()=>{class Y{transform(se){if(null==se)return null;if("string"!=typeof se)throw en();return se.toLowerCase()}static#e=this.\u0275fac=function(Me){return new(Me||Y)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"lowercase",type:Y,pure:!0,standalone:!0})}return Y})();const _r=/(?:[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 hr=(()=>{class Y{transform(se){if(null==se)return null;if("string"!=typeof se)throw en();return se.replace(_r,Me=>Me[0].toUpperCase()+Me.slice(1).toLowerCase())}static#e=this.\u0275fac=function(Me){return new(Me||Y)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"titlecase",type:Y,pure:!0,standalone:!0})}return Y})(),Lr=(()=>{class Y{transform(se){if(null==se)return null;if("string"!=typeof se)throw en();return se.toUpperCase()}static#e=this.\u0275fac=function(Me){return new(Me||Y)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"uppercase",type:Y,pure:!0,standalone:!0})}return Y})();const it=new n.InjectionToken(""),co=new n.InjectionToken("");let Ri=(()=>{class Y{constructor(se,Me,Mt){this.locale=se,this.defaultTimezone=Me,this.defaultOptions=Mt}transform(se,Me,Mt,P){if(null==se||""===se||se!=se)return null;try{return ut(se,Me??this.defaultOptions?.dateFormat??"mediumDate",P||this.locale,Mt??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(ne){throw en()}}static#e=this.\u0275fac=function(Me){return new(Me||Y)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16),n.\u0275\u0275directiveInject(it,24),n.\u0275\u0275directiveInject(co,24))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"date",type:Y,pure:!0,standalone:!0})}return Y})();const Ur=/#/g;let xn=(()=>{class Y{constructor(se){this._localization=se}transform(se,Me,Mt){if(null==se)return"";if("object"!=typeof Me||null===Me)throw en();return Me[ii(se,Object.keys(Me),this._localization,Mt)].replace(Ur,se.toString())}static#e=this.\u0275fac=function(Me){return new(Me||Y)(n.\u0275\u0275directiveInject(dr,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nPlural",type:Y,pure:!0,standalone:!0})}return Y})(),Jn=(()=>{class Y{transform(se,Me){if(null==se)return"";if("object"!=typeof Me||"string"!=typeof se)throw en();return Me.hasOwnProperty(se)?Me[se]:Me.hasOwnProperty("other")?Me.other:""}static#e=this.\u0275fac=function(Me){return new(Me||Y)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nSelect",type:Y,pure:!0,standalone:!0})}return Y})(),Gr=(()=>{class Y{transform(se){return JSON.stringify(se,null,2)}static#e=this.\u0275fac=function(Me){return new(Me||Y)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"json",type:Y,pure:!1,standalone:!0})}return Y})(),pi=(()=>{class Y{constructor(se){this.differs=se,this.keyValues=[],this.compareFn=Zi}transform(se,Me=Zi){if(!se||!(se instanceof Map)&&"object"!=typeof se)return null;this.differ??=this.differs.find(se).create();const Mt=this.differ.diff(se),P=Me!==this.compareFn;return Mt&&(this.keyValues=[],Mt.forEachItem(ne=>{this.keyValues.push(function Bn(Y,Re){return{key:Y,value:Re}}(ne.key,ne.currentValue))})),(Mt||P)&&(this.keyValues.sort(Me),this.compareFn=Me),this.keyValues}static#e=this.\u0275fac=function(Me){return new(Me||Y)(n.\u0275\u0275directiveInject(n.KeyValueDiffers,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"keyvalue",type:Y,pure:!1,standalone:!0})}return Y})();function Zi(Y,Re){const se=Y.key,Me=Re.key;if(se===Me)return 0;if(void 0===se)return 1;if(void 0===Me)return-1;if(null===se)return 1;if(null===Me)return-1;if("string"==typeof se&&"string"==typeof Me)return se{class Y{constructor(se){this._locale=se}transform(se,Me,Mt){if(!ji(se))return null;Mt||=this._locale;try{return nr(yr(se),Mt,Me)}catch(P){throw en()}}static#e=this.\u0275fac=function(Me){return new(Me||Y)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"number",type:Y,pure:!0,standalone:!0})}return Y})(),oi=(()=>{class Y{constructor(se){this._locale=se}transform(se,Me,Mt){if(!ji(se))return null;Mt||=this._locale;try{return lr(yr(se),Mt,Me)}catch(P){throw en()}}static#e=this.\u0275fac=function(Me){return new(Me||Y)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"percent",type:Y,pure:!0,standalone:!0})}return Y})(),ni=(()=>{class Y{constructor(se,Me="USD"){this._locale=se,this._defaultCurrencyCode=Me}transform(se,Me=this._defaultCurrencyCode,Mt="symbol",P,ne){if(!ji(se))return null;ne||=this._locale,"boolean"==typeof Mt&&(Mt=Mt?"symbol":"code");let B=Me||this._defaultCurrencyCode;"code"!==Mt&&(B="symbol"===Mt||"symbol-narrow"===Mt?vn(B,"symbol"===Mt?"wide":"narrow",ne):Mt);try{return Tr(yr(se),ne,B,Me,P)}catch(le){throw en()}}static#e=this.\u0275fac=function(Me){return new(Me||Y)(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:Y,pure:!0,standalone:!0})}return Y})();function ji(Y){return!(null==Y||""===Y||Y!=Y)}function yr(Y){if("string"==typeof Y&&!isNaN(Number(Y)-parseFloat(Y)))return Number(Y);if("number"!=typeof Y)throw new Error(`${Y} is not a number`);return Y}let Ji=(()=>{class Y{transform(se,Me,Mt){if(null==se)return null;if(!this.supports(se))throw en();return se.slice(Me,Mt)}supports(se){return"string"==typeof se||Array.isArray(se)}static#e=this.\u0275fac=function(Me){return new(Me||Y)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"slice",type:Y,pure:!1,standalone:!0})}return Y})(),vo=(()=>{class Y{static#e=this.\u0275fac=function(Me){return new(Me||Y)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Y});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return Y})();const ri="browser",ro="server",Rr="browserWorkerApp",oo="browserWorkerUi";function Pn(Y){return Y===ri}function bo(Y){return Y===ro}function gi(Y){return Y===Rr}function Hi(Y){return Y===oo}const ai=new n.Version("17.2.3");let pr=(()=>{class Y{static#e=this.\u0275prov=(0,n.\u0275\u0275defineInjectable)({token:Y,providedIn:"root",factory:()=>Pn((0,n.inject)(n.PLATFORM_ID))?new yo((0,n.inject)(o),window):new Pi})}return Y})();class yo{constructor(Re,se){this.document=Re,this.window=se,this.offset=()=>[0,0]}setOffset(Re){this.offset=Array.isArray(Re)?()=>Re:Re}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(Re){this.window.scrollTo(Re[0],Re[1])}scrollToAnchor(Re){const se=function Ai(Y,Re){const se=Y.getElementById(Re)||Y.getElementsByName(Re)[0];if(se)return se;if("function"==typeof Y.createTreeWalker&&Y.body&&"function"==typeof Y.body.attachShadow){const Me=Y.createTreeWalker(Y.body,NodeFilter.SHOW_ELEMENT);let Mt=Me.currentNode;for(;Mt;){const P=Mt.shadowRoot;if(P){const ne=P.getElementById(Re)||P.querySelector(`[name="${Re}"]`);if(ne)return ne}Mt=Me.nextNode()}}return null}(this.document,Re);se&&(this.scrollToElement(se),se.focus())}setHistoryScrollRestoration(Re){this.window.history.scrollRestoration=Re}scrollToElement(Re){const se=Re.getBoundingClientRect(),Me=se.left+this.window.pageXOffset,Mt=se.top+this.window.pageYOffset,P=this.offset();this.window.scrollTo(Me-P[0],Mt-P[1])}}class Pi{setOffset(Re){}getScrollPosition(){return[0,0]}scrollToPosition(Re){}scrollToAnchor(Re){}setHistoryScrollRestoration(Re){}}class Mo{}function Yr(Y){return/^https?:\/\//.test(Y)}function Vi(Y){if("string"!=typeof Y||""===Y.trim())return!1;try{return new URL(Y),!0}catch{return!1}}function Uo(Y){return Y.startsWith("/")?Y.slice(1):Y}const Fi=Y=>Y.src,ao=new n.InjectionToken("",{providedIn:"root",factory:()=>Fi});function Gi(Y,Re){return function(Me){return Vi(Me)||function xo(Y,Re){throw new n.\u0275RuntimeError(2959,!1)}(),Me=function ei(Y){return Y.endsWith("/")?Y.slice(0,-1):Y}(Me),[{provide:ao,useValue:ne=>(Yr(ne.src)&&function Bo(Y,Re){throw new n.\u0275RuntimeError(2959,!1)}(),Y(Me,{...ne,src:Uo(ne.src)}))}]}}const so=Gi(Oo);function Oo(Y,Re){let se="format=auto";return Re.width&&(se+=`,width=${Re.width}`),`${Y}/cdn-cgi/image/${se}/${Re.src}`}const ya=Gi(Qo);function Qo(Y,Re){let se="f_auto,q_auto";return Re.width&&(se+=`,w_${Re.width}`),`${Y}/image/upload/${se}/${Re.src}`}const Lo=Gi(Xi);function Xi(Y,Re){const{src:se,width:Me}=Re;let Mt;return Mt=Me?[Y,`tr:w-${Me}`,se]:[Y,se],Mt.join("/")}const Wo=Gi(Jo);function Jo(Y,Re){const se=new URL(`${Y}/${Re.src}`);return se.searchParams.set("auto","format"),Re.width&&se.searchParams.set("w",Re.width.toString()),se.href}function at(Y){if(Y&&!Vi(Y))throw new n.\u0275RuntimeError(2959,!1);return Y&&(Y=new URL(Y).origin),[{provide:ao,useValue:Me=>function ir(Y,Re){const se=new URL(Re??"https://a/");se.pathname="/.netlify/images",!Yr(Y.src)&&!Y.src.startsWith("/")&&(Y.src="/"+Y.src),se.searchParams.set("url",Y.src),Y.width&&se.searchParams.set("w",Y.width.toString());for(const[Me,Mt]of Object.entries(Y.loaderParams??{}))It.has(Me)&&se.searchParams.set(It.get(Me),Mt.toString());return"a"===se.hostname?se.href.replace(se.origin,""):se.href}(Me,Y)}]}const It=new Map([["height","h"],["fit","fit"],["quality","q"],["q","q"],["position","position"]]),Xo=new n.InjectionToken(""),Ro=new n.InjectionToken("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set});let wo=(()=>{class Y{constructor(){this.preloadedImages=(0,n.inject)(Ro),this.document=(0,n.inject)(o)}createPreloadLinkTag(se,Me,Mt,P){if(this.preloadedImages.has(Me))return;this.preloadedImages.add(Me);const ne=se.createElement("link");se.setAttribute(ne,"as","image"),se.setAttribute(ne,"href",Me),se.setAttribute(ne,"rel","preload"),se.setAttribute(ne,"fetchpriority","high"),P&&se.setAttribute(ne,"imageSizes",P),Mt&&se.setAttribute(ne,"imageSrcset",Mt),se.appendChild(this.document.head,ne)}static#e=this.\u0275fac=function(Me){return new(Me||Y)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Y,factory:Y.\u0275fac,providedIn:"root"})}return Y})();const Go=/^((\s*\d+w\s*(,|$)){1,})$/,ma=[1,2];let yn=(()=>{class Y{constructor(){this.imageLoader=(0,n.inject)(ao),this.config=function rr(Y){let Re={};return Y.breakpoints&&(Re.breakpoints=Y.breakpoints.sort((se,Me)=>se-Me)),Object.assign({},n.\u0275IMAGE_CONFIG_DEFAULTS,Y,Re)}((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=bo((0,n.inject)(n.PLATFORM_ID)),this.preloadLinkCreator=(0,n.inject)(wo),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 Me=this._renderedSrc;this.updateSrcAndSrcset(!0);const Mt=this._renderedSrc;null!==this.lcpObserver&&Me&&Mt&&Me!==Mt&&this.injector.get(n.NgZone).runOutsideAngular(()=>{this.lcpObserver?.updateImage(Me,Mt)})}}callImageLoader(se){let Me=se;return this.loaderParams&&(Me.loaderParams=this.loaderParams),this.imageLoader(Me)}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=Go.test(this.ngSrcset);return this.ngSrcset.split(",").filter(Mt=>""!==Mt).map(Mt=>{Mt=Mt.trim();const P=se?parseFloat(Mt):parseFloat(Mt)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:P})} ${Mt}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){const{breakpoints:se}=this.config;let Me=se;return"100vw"===this.sizes?.trim()&&(Me=se.filter(P=>P>=640)),Me.map(P=>`${this.callImageLoader({src:this.ngSrc,width:P})} ${P}w`).join(", ")}updateSrcAndSrcset(se=!1){se&&(this._renderedSrc=null);const Me=this.getRewrittenSrc();let Mt;return this.setHostAttribute("src",Me),this.ngSrcset?Mt=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(Mt=this.getAutomaticSrcset()),Mt&&this.setHostAttribute("srcset",Mt),Mt}getFixedSrcset(){return ma.map(Me=>`${this.callImageLoader({src:this.ngSrc,width:this.width*Me})} ${Me}x`).join(", ")}shouldGenerateAutomaticSrcset(){let se=!1;return this.sizes||(se=this.width>1920||this.height>1080),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==Fi&&!se}generatePlaceholder(se){const{placeholderResolution:Me}=this.config;return!0===se?`url(${this.callImageLoader({src:this.ngSrc,width:Me,isPlaceholder:!0})})`:"string"==typeof se&&se.startsWith("data:")?`url(${se})`:null}shouldBlurPlaceholder(se){return!se||!se.hasOwnProperty("blur")||!!se.blur}removePlaceholderOnLoad(se){const Me=()=>{const ne=this.injector.get(n.ChangeDetectorRef);Mt(),P(),this.placeholder=!1,ne.markForCheck()},Mt=this.renderer.listen(se,"load",Me),P=this.renderer.listen(se,"error",Me)}ngOnDestroy(){}setHostAttribute(se,Me){this.renderer.setAttribute(this.imgElement,se,Me)}static#e=this.\u0275fac=function(Me){return new(Me||Y)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Y,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(Me,Mt){2&Me&&n.\u0275\u0275styleProp("position",Mt.fill?"absolute":null)("width",Mt.fill?"100%":null)("height",Mt.fill?"100%":null)("inset",Mt.fill?"0":null)("background-size",Mt.placeholder?"cover":null)("background-position",Mt.placeholder?"50% 50%":null)("background-repeat",Mt.placeholder?"no-repeat":null)("background-image",Mt.placeholder?Mt.generatePlaceholder(Mt.placeholder):null)("filter",Mt.placeholder&&Mt.shouldBlurPlaceholder(Mt.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"ngSrc","ngSrc",dn],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",Wn],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},standalone:!0,features:[n.\u0275\u0275InputTransformsFeature,n.\u0275\u0275NgOnChangesFeature]})}return Y})();function dn(Y){return"string"==typeof Y?Y:(0,n.\u0275unwrapSafeValue)(Y)}function Wn(Y){return"string"==typeof Y&&Y.startsWith("data:")?Y:(0,n.booleanAttribute)(Y)}},97048:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{FetchBackend:()=>Ae,HTTP_INTERCEPTORS:()=>dt,HttpBackend:()=>y,HttpClient:()=>Xe,HttpClientJsonpModule:()=>At,HttpClientModule:()=>gt,HttpClientXsrfModule:()=>Pe,HttpContext:()=>k,HttpContextToken:()=>R,HttpErrorResponse:()=>Ie,HttpEventType:()=>ce,HttpFeatureKind:()=>qt,HttpHandler:()=>S,HttpHeaderResponse:()=>ct,HttpHeaders:()=>f,HttpParams:()=>G,HttpRequest:()=>be,HttpResponse:()=>xe,HttpResponseBase:()=>ze,HttpStatusCode:()=>Le,HttpUrlEncodingCodec:()=>_,HttpXhrBackend:()=>un,HttpXsrfTokenExtractor:()=>Cr,JsonpClientBackend:()=>fe,JsonpInterceptor:()=>Ye,provideHttpClient:()=>Ze,withFetch:()=>Mn,withInterceptors:()=>Rt,withInterceptorsFromDi:()=>pt,withJsonpSupport:()=>Ln,withNoXsrfProtection:()=>on,withRequestsMadeViaParent:()=>jt,withXsrfConfiguration:()=>mt,\u0275HTTP_ROOT_INTERCEPTOR_FNS:()=>Vt,\u0275HttpInterceptingHandler:()=>En,\u0275HttpInterceptorHandler:()=>En,\u0275PRIMARY_HTTP_BACKEND:()=>nn,\u0275withHttpTransferCache:()=>ii});var n=s(1528),l=s(54496),u=s(82700),c=s(53252),i=s(74496),e=s(26020),o=s(66684),h=s(54704),v=s(68824),M=s(17368),p=s(19212),E=s(91368);class S{}class y{}class f{constructor(kt){this.normalizedNames=new Map,this.lazyUpdate=null,kt?"string"==typeof kt?this.lazyInit=()=>{this.headers=new Map,kt.split("\n").forEach(Et=>{const an=Et.indexOf(":");if(an>0){const mn=Et.slice(0,an),wn=mn.toLowerCase(),Dn=Et.slice(an+1).trim();this.maybeSetNormalizedName(mn,wn),this.headers.has(wn)?this.headers.get(wn).push(Dn):this.headers.set(wn,[Dn])}})}:typeof Headers<"u"&&kt instanceof Headers?(this.headers=new Map,kt.forEach((Et,an)=>{this.setHeaderEntries(an,Et)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(kt).forEach(([Et,an])=>{this.setHeaderEntries(Et,an)})}:this.headers=new Map}has(kt){return this.init(),this.headers.has(kt.toLowerCase())}get(kt){this.init();const Et=this.headers.get(kt.toLowerCase());return Et&&Et.length>0?Et[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(kt){return this.init(),this.headers.get(kt.toLowerCase())||null}append(kt,Et){return this.clone({name:kt,value:Et,op:"a"})}set(kt,Et){return this.clone({name:kt,value:Et,op:"s"})}delete(kt,Et){return this.clone({name:kt,value:Et,op:"d"})}maybeSetNormalizedName(kt,Et){this.normalizedNames.has(Et)||this.normalizedNames.set(Et,kt)}init(){this.lazyInit&&(this.lazyInit instanceof f?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(kt=>this.applyUpdate(kt)),this.lazyUpdate=null))}copyFrom(kt){kt.init(),Array.from(kt.headers.keys()).forEach(Et=>{this.headers.set(Et,kt.headers.get(Et)),this.normalizedNames.set(Et,kt.normalizedNames.get(Et))})}clone(kt){const Et=new f;return Et.lazyInit=this.lazyInit&&this.lazyInit instanceof f?this.lazyInit:this,Et.lazyUpdate=(this.lazyUpdate||[]).concat([kt]),Et}applyUpdate(kt){const Et=kt.name.toLowerCase();switch(kt.op){case"a":case"s":let an=kt.value;if("string"==typeof an&&(an=[an]),0===an.length)return;this.maybeSetNormalizedName(kt.name,Et);const mn=("a"===kt.op?this.headers.get(Et):void 0)||[];mn.push(...an),this.headers.set(Et,mn);break;case"d":const wn=kt.value;if(wn){let Dn=this.headers.get(Et);if(!Dn)return;Dn=Dn.filter(sr=>-1===wn.indexOf(sr)),0===Dn.length?(this.headers.delete(Et),this.normalizedNames.delete(Et)):this.headers.set(Et,Dn)}else this.headers.delete(Et),this.normalizedNames.delete(Et)}}setHeaderEntries(kt,Et){const an=(Array.isArray(Et)?Et:[Et]).map(wn=>wn.toString()),mn=kt.toLowerCase();this.headers.set(mn,an),this.maybeSetNormalizedName(kt,mn)}forEach(kt){this.init(),Array.from(this.normalizedNames.keys()).forEach(Et=>kt(this.normalizedNames.get(Et),this.headers.get(Et)))}}class _{encodeKey(kt){return N(kt)}encodeValue(kt){return N(kt)}decodeKey(kt){return decodeURIComponent(kt)}decodeValue(kt){return decodeURIComponent(kt)}}const D=/%(\d[a-f0-9])/gi,L={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function N(rt){return encodeURIComponent(rt).replace(D,(kt,Et)=>L[Et]??kt)}function V(rt){return`${rt}`}class G{constructor(kt={}){if(this.updates=null,this.cloneFrom=null,this.encoder=kt.encoder||new _,kt.fromString){if(kt.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function w(rt,kt){const Et=new Map;return rt.length>0&&rt.replace(/^\?/,"").split("&").forEach(mn=>{const wn=mn.indexOf("="),[Dn,sr]=-1==wn?[kt.decodeKey(mn),""]:[kt.decodeKey(mn.slice(0,wn)),kt.decodeValue(mn.slice(wn+1))],Xn=Et.get(Dn)||[];Xn.push(sr),Et.set(Dn,Xn)}),Et}(kt.fromString,this.encoder)}else kt.fromObject?(this.map=new Map,Object.keys(kt.fromObject).forEach(Et=>{const an=kt.fromObject[Et],mn=Array.isArray(an)?an.map(V):[V(an)];this.map.set(Et,mn)})):this.map=null}has(kt){return this.init(),this.map.has(kt)}get(kt){this.init();const Et=this.map.get(kt);return Et?Et[0]:null}getAll(kt){return this.init(),this.map.get(kt)||null}keys(){return this.init(),Array.from(this.map.keys())}append(kt,Et){return this.clone({param:kt,value:Et,op:"a"})}appendAll(kt){const Et=[];return Object.keys(kt).forEach(an=>{const mn=kt[an];Array.isArray(mn)?mn.forEach(wn=>{Et.push({param:an,value:wn,op:"a"})}):Et.push({param:an,value:mn,op:"a"})}),this.clone(Et)}set(kt,Et){return this.clone({param:kt,value:Et,op:"s"})}delete(kt,Et){return this.clone({param:kt,value:Et,op:"d"})}toString(){return this.init(),this.keys().map(kt=>{const Et=this.encoder.encodeKey(kt);return this.map.get(kt).map(an=>Et+"="+this.encoder.encodeValue(an)).join("&")}).filter(kt=>""!==kt).join("&")}clone(kt){const Et=new G({encoder:this.encoder});return Et.cloneFrom=this.cloneFrom||this,Et.updates=(this.updates||[]).concat(kt),Et}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(kt=>this.map.set(kt,this.cloneFrom.map.get(kt))),this.updates.forEach(kt=>{switch(kt.op){case"a":case"s":const Et=("a"===kt.op?this.map.get(kt.param):void 0)||[];Et.push(V(kt.value)),this.map.set(kt.param,Et);break;case"d":if(void 0===kt.value){this.map.delete(kt.param);break}{let an=this.map.get(kt.param)||[];const mn=an.indexOf(V(kt.value));-1!==mn&&an.splice(mn,1),an.length>0?this.map.set(kt.param,an):this.map.delete(kt.param)}}}),this.cloneFrom=this.updates=null)}}class R{constructor(kt){this.defaultValue=kt}}class k{constructor(){this.map=new Map}set(kt,Et){return this.map.set(kt,Et),this}get(kt){return this.map.has(kt)||this.map.set(kt,kt.defaultValue()),this.map.get(kt)}delete(kt){return this.map.delete(kt),this}has(kt){return this.map.has(kt)}keys(){return this.map.keys()}}function H(rt){return typeof ArrayBuffer<"u"&&rt instanceof ArrayBuffer}function K(rt){return typeof Blob<"u"&&rt instanceof Blob}function ie(rt){return typeof FormData<"u"&&rt instanceof FormData}class be{constructor(kt,Et,an,mn){let wn;if(this.url=Et,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=kt.toUpperCase(),function A(rt){switch(rt){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||mn?(this.body=void 0!==an?an:null,wn=mn):wn=an,wn&&(this.reportProgress=!!wn.reportProgress,this.withCredentials=!!wn.withCredentials,wn.responseType&&(this.responseType=wn.responseType),wn.headers&&(this.headers=wn.headers),wn.context&&(this.context=wn.context),wn.params&&(this.params=wn.params),this.transferCache=wn.transferCache),this.headers??=new f,this.context??=new k,this.params){const Dn=this.params.toString();if(0===Dn.length)this.urlWithParams=Et;else{const sr=Et.indexOf("?");this.urlWithParams=Et+(-1===sr?"?":srVr.set(Ir,kt.setHeaders[Ir]),Xn)),kt.setParams&&(xr=Object.keys(kt.setParams).reduce((Vr,Ir)=>Vr.set(Ir,kt.setParams[Ir]),xr)),new be(Et,an,wn,{params:xr,headers:Xn,context:Or,reportProgress:sr,responseType:mn,withCredentials:Dn})}}var ce=function(rt){return rt[rt.Sent=0]="Sent",rt[rt.UploadProgress=1]="UploadProgress",rt[rt.ResponseHeader=2]="ResponseHeader",rt[rt.DownloadProgress=3]="DownloadProgress",rt[rt.Response=4]="Response",rt[rt.User=5]="User",rt}(ce||{});class ze{constructor(kt,Et=Le.Ok,an="OK"){this.headers=kt.headers||new f,this.status=void 0!==kt.status?kt.status:Et,this.statusText=kt.statusText||an,this.url=kt.url||null,this.ok=this.status>=200&&this.status<300}}class ct extends ze{constructor(kt={}){super(kt),this.type=ce.ResponseHeader}clone(kt={}){return new ct({headers:kt.headers||this.headers,status:void 0!==kt.status?kt.status:this.status,statusText:kt.statusText||this.statusText,url:kt.url||this.url||void 0})}}class xe extends ze{constructor(kt={}){super(kt),this.type=ce.Response,this.body=void 0!==kt.body?kt.body:null}clone(kt={}){return new xe({body:void 0!==kt.body?kt.body:this.body,headers:kt.headers||this.headers,status:void 0!==kt.status?kt.status:this.status,statusText:kt.statusText||this.statusText,url:kt.url||this.url||void 0})}}class Ie extends ze{constructor(kt){super(kt,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${kt.url||"(unknown url)"}`:`Http failure response for ${kt.url||"(unknown url)"}: ${kt.status} ${kt.statusText}`,this.error=kt.error||null}}var Le=function(rt){return rt[rt.Continue=100]="Continue",rt[rt.SwitchingProtocols=101]="SwitchingProtocols",rt[rt.Processing=102]="Processing",rt[rt.EarlyHints=103]="EarlyHints",rt[rt.Ok=200]="Ok",rt[rt.Created=201]="Created",rt[rt.Accepted=202]="Accepted",rt[rt.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",rt[rt.NoContent=204]="NoContent",rt[rt.ResetContent=205]="ResetContent",rt[rt.PartialContent=206]="PartialContent",rt[rt.MultiStatus=207]="MultiStatus",rt[rt.AlreadyReported=208]="AlreadyReported",rt[rt.ImUsed=226]="ImUsed",rt[rt.MultipleChoices=300]="MultipleChoices",rt[rt.MovedPermanently=301]="MovedPermanently",rt[rt.Found=302]="Found",rt[rt.SeeOther=303]="SeeOther",rt[rt.NotModified=304]="NotModified",rt[rt.UseProxy=305]="UseProxy",rt[rt.Unused=306]="Unused",rt[rt.TemporaryRedirect=307]="TemporaryRedirect",rt[rt.PermanentRedirect=308]="PermanentRedirect",rt[rt.BadRequest=400]="BadRequest",rt[rt.Unauthorized=401]="Unauthorized",rt[rt.PaymentRequired=402]="PaymentRequired",rt[rt.Forbidden=403]="Forbidden",rt[rt.NotFound=404]="NotFound",rt[rt.MethodNotAllowed=405]="MethodNotAllowed",rt[rt.NotAcceptable=406]="NotAcceptable",rt[rt.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",rt[rt.RequestTimeout=408]="RequestTimeout",rt[rt.Conflict=409]="Conflict",rt[rt.Gone=410]="Gone",rt[rt.LengthRequired=411]="LengthRequired",rt[rt.PreconditionFailed=412]="PreconditionFailed",rt[rt.PayloadTooLarge=413]="PayloadTooLarge",rt[rt.UriTooLong=414]="UriTooLong",rt[rt.UnsupportedMediaType=415]="UnsupportedMediaType",rt[rt.RangeNotSatisfiable=416]="RangeNotSatisfiable",rt[rt.ExpectationFailed=417]="ExpectationFailed",rt[rt.ImATeapot=418]="ImATeapot",rt[rt.MisdirectedRequest=421]="MisdirectedRequest",rt[rt.UnprocessableEntity=422]="UnprocessableEntity",rt[rt.Locked=423]="Locked",rt[rt.FailedDependency=424]="FailedDependency",rt[rt.TooEarly=425]="TooEarly",rt[rt.UpgradeRequired=426]="UpgradeRequired",rt[rt.PreconditionRequired=428]="PreconditionRequired",rt[rt.TooManyRequests=429]="TooManyRequests",rt[rt.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",rt[rt.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",rt[rt.InternalServerError=500]="InternalServerError",rt[rt.NotImplemented=501]="NotImplemented",rt[rt.BadGateway=502]="BadGateway",rt[rt.ServiceUnavailable=503]="ServiceUnavailable",rt[rt.GatewayTimeout=504]="GatewayTimeout",rt[rt.HttpVersionNotSupported=505]="HttpVersionNotSupported",rt[rt.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",rt[rt.InsufficientStorage=507]="InsufficientStorage",rt[rt.LoopDetected=508]="LoopDetected",rt[rt.NotExtended=510]="NotExtended",rt[rt.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",rt}(Le||{});function Ue(rt,kt){return{body:kt,headers:rt.headers,context:rt.context,observe:rt.observe,params:rt.params,reportProgress:rt.reportProgress,responseType:rt.responseType,withCredentials:rt.withCredentials,transferCache:rt.transferCache}}let Xe=(()=>{class rt{constructor(Et){this.handler=Et}request(Et,an,mn={}){let wn;if(Et instanceof be)wn=Et;else{let Xn,xr;Xn=mn.headers instanceof f?mn.headers:new f(mn.headers),mn.params&&(xr=mn.params instanceof G?mn.params:new G({fromObject:mn.params})),wn=new be(Et,an,void 0!==mn.body?mn.body:null,{headers:Xn,context:mn.context,params:xr,reportProgress:mn.reportProgress,responseType:mn.responseType||"json",withCredentials:mn.withCredentials,transferCache:mn.transferCache})}const Dn=(0,u.of)(wn).pipe((0,e.m)(Xn=>this.handler.handle(Xn)));if(Et instanceof be||"events"===mn.observe)return Dn;const sr=Dn.pipe((0,o.I)(Xn=>Xn instanceof xe));switch(mn.observe||"body"){case"body":switch(wn.responseType){case"arraybuffer":return sr.pipe((0,h.k)(Xn=>{if(null!==Xn.body&&!(Xn.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Xn.body}));case"blob":return sr.pipe((0,h.k)(Xn=>{if(null!==Xn.body&&!(Xn.body instanceof Blob))throw new Error("Response is not a Blob.");return Xn.body}));case"text":return sr.pipe((0,h.k)(Xn=>{if(null!==Xn.body&&"string"!=typeof Xn.body)throw new Error("Response is not a string.");return Xn.body}));default:return sr.pipe((0,h.k)(Xn=>Xn.body))}case"response":return sr;default:throw new Error(`Unreachable: unhandled observe type ${mn.observe}}`)}}delete(Et,an={}){return this.request("DELETE",Et,an)}get(Et,an={}){return this.request("GET",Et,an)}head(Et,an={}){return this.request("HEAD",Et,an)}jsonp(Et,an){return this.request("JSONP",Et,{params:(new G).append(an,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Et,an={}){return this.request("OPTIONS",Et,an)}patch(Et,an,mn={}){return this.request("PATCH",Et,Ue(mn,an))}post(Et,an,mn={}){return this.request("POST",Et,Ue(mn,an))}put(Et,an,mn={}){return this.request("PUT",Et,Ue(mn,an))}static#e=this.\u0275fac=function(an){return new(an||rt)(l.\u0275\u0275inject(S))};static#t=this.\u0275prov=l.\u0275\u0275defineInjectable({token:rt,factory:rt.\u0275fac})}return rt})();const _e=/^\)\]\}',?\n/;function Ce(rt){if(rt.url)return rt.url;const kt="X-Request-URL".toLocaleLowerCase();return rt.headers.get(kt)}let Ae=(()=>{class rt{constructor(){this.fetchImpl=(0,l.inject)(Be,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=(0,l.inject)(l.NgZone)}handle(Et){return new c._(an=>{const mn=new AbortController;return this.doRequest(Et,mn.signal,an).then(re,wn=>an.error(new Ie({error:wn}))),()=>mn.abort()})}doRequest(Et,an,mn){var wn=this;return(0,n.c)(function*(){const Dn=wn.createRequestInit(Et);let sr;try{const cn=wn.fetchImpl(Et.urlWithParams,{signal:an,...Dn});(function Ee(rt){rt.then(re,re)})(cn),mn.next({type:ce.Sent}),sr=yield cn}catch(cn){return void mn.error(new Ie({error:cn,status:cn.status??0,statusText:cn.statusText,url:Et.urlWithParams,headers:cn.headers}))}const Xn=new f(sr.headers),xr=sr.statusText,Or=Ce(sr)??Et.urlWithParams;let Vr=sr.status,Ir=null;if(Et.reportProgress&&mn.next(new ct({headers:Xn,status:Vr,statusText:xr,url:Or})),sr.body){const cn=sr.headers.get("content-length"),x=[],F=sr.body.getReader();let Se,he,Q=0;const q=typeof Zone<"u"&&Zone.current;yield wn.ngZone.runOutsideAngular((0,n.c)(function*(){for(;;){const{done:qe,value:ht}=yield F.read();if(qe)break;if(x.push(ht),Q+=ht.length,Et.reportProgress){he="text"===Et.responseType?(he??"")+(Se??=new TextDecoder).decode(ht,{stream:!0}):void 0;const St=()=>mn.next({type:ce.DownloadProgress,total:cn?+cn:void 0,loaded:Q,partialText:he});q?q.run(St):St()}}}));const de=wn.concatChunks(x,Q);try{const qe=sr.headers.get("Content-Type")??"";Ir=wn.parseBody(Et,de,qe)}catch(qe){return void mn.error(new Ie({error:qe,headers:new f(sr.headers),status:sr.status,statusText:sr.statusText,url:Ce(sr)??Et.urlWithParams}))}}0===Vr&&(Vr=Ir?Le.Ok:0),Vr>=200&&Vr<300?(mn.next(new xe({body:Ir,headers:Xn,status:Vr,statusText:xr,url:Or})),mn.complete()):mn.error(new Ie({error:Ir,headers:Xn,status:Vr,statusText:xr,url:Or}))})()}parseBody(Et,an,mn){switch(Et.responseType){case"json":const wn=(new TextDecoder).decode(an).replace(_e,"");return""===wn?null:JSON.parse(wn);case"text":return(new TextDecoder).decode(an);case"blob":return new Blob([an],{type:mn});case"arraybuffer":return an.buffer}}createRequestInit(Et){const an={},mn=Et.withCredentials?"include":void 0;if(Et.headers.forEach((wn,Dn)=>an[wn]=Dn.join(",")),an.Accept??="application/json, text/plain, */*",!an["Content-Type"]){const wn=Et.detectContentTypeHeader();null!==wn&&(an["Content-Type"]=wn)}return{body:Et.serializeBody(),method:Et.method,headers:an,credentials:mn}}concatChunks(Et,an){const mn=new Uint8Array(an);let wn=0;for(const Dn of Et)mn.set(Dn,wn),wn+=Dn.length;return mn}static#e=this.\u0275fac=function(an){return new(an||rt)};static#t=this.\u0275prov=l.\u0275\u0275defineInjectable({token:rt,factory:rt.\u0275fac})}return rt})();class Be{}function re(){}function et(rt,kt){return kt(rt)}function vt(rt,kt){return(Et,an)=>kt.intercept(Et,{handle:mn=>rt(mn,an)})}const dt=new l.InjectionToken(""),ot=new l.InjectionToken(""),Vt=new l.InjectionToken(""),nn=new l.InjectionToken("");function vn(){let rt=null;return(kt,Et)=>{null===rt&&(rt=((0,l.inject)(dt,{optional:!0})??[]).reduceRight(vt,et));const an=(0,l.inject)(l.\u0275PendingTasks),mn=an.add();return rt(kt,Et).pipe((0,v.U)(()=>an.remove(mn)))}}let Wt,En=(()=>{class rt extends S{constructor(Et,an){super(),this.backend=Et,this.injector=an,this.chain=null,this.pendingTasks=(0,l.inject)(l.\u0275PendingTasks);const mn=(0,l.inject)(nn,{optional:!0});this.backend=mn??Et}handle(Et){if(null===this.chain){const mn=Array.from(new Set([...this.injector.get(ot),...this.injector.get(Vt,[])]));this.chain=mn.reduceRight((wn,Dn)=>function Tt(rt,kt,Et){return(an,mn)=>(0,l.runInInjectionContext)(Et,()=>kt(an,wn=>rt(wn,mn)))}(wn,Dn,this.injector),et)}const an=this.pendingTasks.add();return this.chain(Et,mn=>this.backend.handle(mn)).pipe((0,v.U)(()=>this.pendingTasks.remove(an)))}static#e=this.\u0275fac=function(an){return new(an||rt)(l.\u0275\u0275inject(y),l.\u0275\u0275inject(l.EnvironmentInjector))};static#t=this.\u0275prov=l.\u0275\u0275defineInjectable({token:rt,factory:rt.\u0275fac})}return rt})(),$n=0;class Te{}function me(){return"object"==typeof window?window:{}}let fe=(()=>{class rt{constructor(Et,an){this.callbackMap=Et,this.document=an,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+$n++}handle(Et){if("JSONP"!==Et.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==Et.responseType)throw new Error("JSONP requests must use Json response type.");if(Et.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new c._(an=>{const mn=this.nextCallback(),wn=Et.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${mn}$1`),Dn=this.document.createElement("script");Dn.src=wn;let sr=null,Xn=!1;this.callbackMap[mn]=Ir=>{delete this.callbackMap[mn],sr=Ir,Xn=!0};const xr=()=>{Dn.parentNode&&Dn.parentNode.removeChild(Dn),delete this.callbackMap[mn]};return Dn.addEventListener("load",Ir=>{this.resolvedPromise.then(()=>{xr(),Xn?(an.next(new xe({body:sr,status:Le.Ok,statusText:"OK",url:wn})),an.complete()):an.error(new Ie({url:wn,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})}),Dn.addEventListener("error",Ir=>{xr(),an.error(new Ie({error:Ir,status:0,statusText:"JSONP Error",url:wn}))}),this.document.body.appendChild(Dn),an.next({type:ce.Sent}),()=>{Xn||this.removeListeners(Dn),xr()}})}removeListeners(Et){Wt??=this.document.implementation.createHTMLDocument(),Wt.adoptNode(Et)}static#e=this.\u0275fac=function(an){return new(an||rt)(l.\u0275\u0275inject(Te),l.\u0275\u0275inject(E.DOCUMENT))};static#t=this.\u0275prov=l.\u0275\u0275defineInjectable({token:rt,factory:rt.\u0275fac})}return rt})();function $e(rt,kt){return"JSONP"===rt.method?(0,l.inject)(fe).handle(rt):kt(rt)}let Ye=(()=>{class rt{constructor(Et){this.injector=Et}intercept(Et,an){return(0,l.runInInjectionContext)(this.injector,()=>$e(Et,mn=>an.handle(mn)))}static#e=this.\u0275fac=function(an){return new(an||rt)(l.\u0275\u0275inject(l.EnvironmentInjector))};static#t=this.\u0275prov=l.\u0275\u0275defineInjectable({token:rt,factory:rt.\u0275fac})}return rt})();const ft=/^\)\]\}',?\n/;let un=(()=>{class rt{constructor(Et){this.xhrFactory=Et}handle(Et){if("JSONP"===Et.method)throw new l.\u0275RuntimeError(-2800,!1);const an=this.xhrFactory;return(an.\u0275loadImpl?(0,i.Q)(an.\u0275loadImpl()):(0,u.of)(null)).pipe((0,M.G)(()=>new c._(wn=>{const Dn=an.build();if(Dn.open(Et.method,Et.urlWithParams),Et.withCredentials&&(Dn.withCredentials=!0),Et.headers.forEach((x,F)=>Dn.setRequestHeader(x,F.join(","))),Et.headers.has("Accept")||Dn.setRequestHeader("Accept","application/json, text/plain, */*"),!Et.headers.has("Content-Type")){const x=Et.detectContentTypeHeader();null!==x&&Dn.setRequestHeader("Content-Type",x)}if(Et.responseType){const x=Et.responseType.toLowerCase();Dn.responseType="json"!==x?x:"text"}const sr=Et.serializeBody();let Xn=null;const xr=()=>{if(null!==Xn)return Xn;const x=Dn.statusText||"OK",F=new f(Dn.getAllResponseHeaders()),Q=function $t(rt){return"responseURL"in rt&&rt.responseURL?rt.responseURL:/^X-Request-URL:/m.test(rt.getAllResponseHeaders())?rt.getResponseHeader("X-Request-URL"):null}(Dn)||Et.url;return Xn=new ct({headers:F,status:Dn.status,statusText:x,url:Q}),Xn},Or=()=>{let{headers:x,status:F,statusText:Q,url:Se}=xr(),he=null;F!==Le.NoContent&&(he=typeof Dn.response>"u"?Dn.responseText:Dn.response),0===F&&(F=he?Le.Ok:0);let q=F>=200&&F<300;if("json"===Et.responseType&&"string"==typeof he){const de=he;he=he.replace(ft,"");try{he=""!==he?JSON.parse(he):null}catch(qe){he=de,q&&(q=!1,he={error:qe,text:he})}}q?(wn.next(new xe({body:he,headers:x,status:F,statusText:Q,url:Se||void 0})),wn.complete()):wn.error(new Ie({error:he,headers:x,status:F,statusText:Q,url:Se||void 0}))},Vr=x=>{const{url:F}=xr(),Q=new Ie({error:x,status:Dn.status||0,statusText:Dn.statusText||"Unknown Error",url:F||void 0});wn.error(Q)};let Ir=!1;const Er=x=>{Ir||(wn.next(xr()),Ir=!0);let F={type:ce.DownloadProgress,loaded:x.loaded};x.lengthComputable&&(F.total=x.total),"text"===Et.responseType&&Dn.responseText&&(F.partialText=Dn.responseText),wn.next(F)},cn=x=>{let F={type:ce.UploadProgress,loaded:x.loaded};x.lengthComputable&&(F.total=x.total),wn.next(F)};return Dn.addEventListener("load",Or),Dn.addEventListener("error",Vr),Dn.addEventListener("timeout",Vr),Dn.addEventListener("abort",Vr),Et.reportProgress&&(Dn.addEventListener("progress",Er),null!==sr&&Dn.upload&&Dn.upload.addEventListener("progress",cn)),Dn.send(sr),wn.next({type:ce.Sent}),()=>{Dn.removeEventListener("error",Vr),Dn.removeEventListener("abort",Vr),Dn.removeEventListener("load",Or),Dn.removeEventListener("timeout",Vr),Et.reportProgress&&(Dn.removeEventListener("progress",Er),null!==sr&&Dn.upload&&Dn.upload.removeEventListener("progress",cn)),Dn.readyState!==Dn.DONE&&Dn.abort()}})))}static#e=this.\u0275fac=function(an){return new(an||rt)(l.\u0275\u0275inject(E.XhrFactory))};static#t=this.\u0275prov=l.\u0275\u0275defineInjectable({token:rt,factory:rt.\u0275fac})}return rt})();const Vn=new l.InjectionToken(""),tr="XSRF-TOKEN",br=new l.InjectionToken("",{providedIn:"root",factory:()=>tr}),or="X-XSRF-TOKEN",fi=new l.InjectionToken("",{providedIn:"root",factory:()=>or});class Cr{}let jr=(()=>{class rt{constructor(Et,an,mn){this.doc=Et,this.platform=an,this.cookieName=mn,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const Et=this.doc.cookie||"";return Et!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,E.\u0275parseCookieValue)(Et,this.cookieName),this.lastCookieString=Et),this.lastToken}static#e=this.\u0275fac=function(an){return new(an||rt)(l.\u0275\u0275inject(E.DOCUMENT),l.\u0275\u0275inject(l.PLATFORM_ID),l.\u0275\u0275inject(br))};static#t=this.\u0275prov=l.\u0275\u0275defineInjectable({token:rt,factory:rt.\u0275fac})}return rt})();function Hn(rt,kt){const Et=rt.url.toLowerCase();if(!(0,l.inject)(Vn)||"GET"===rt.method||"HEAD"===rt.method||Et.startsWith("http://")||Et.startsWith("https://"))return kt(rt);const an=(0,l.inject)(Cr).getToken(),mn=(0,l.inject)(fi);return null!=an&&!rt.headers.has(mn)&&(rt=rt.clone({headers:rt.headers.set(mn,an)})),kt(rt)}let Dt=(()=>{class rt{constructor(Et){this.injector=Et}intercept(Et,an){return(0,l.runInInjectionContext)(this.injector,()=>Hn(Et,mn=>an.handle(mn)))}static#e=this.\u0275fac=function(an){return new(an||rt)(l.\u0275\u0275inject(l.EnvironmentInjector))};static#t=this.\u0275prov=l.\u0275\u0275defineInjectable({token:rt,factory:rt.\u0275fac})}return rt})();var qt=function(rt){return rt[rt.Interceptors=0]="Interceptors",rt[rt.LegacyInterceptors=1]="LegacyInterceptors",rt[rt.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",rt[rt.NoXsrfProtection=3]="NoXsrfProtection",rt[rt.JsonpSupport=4]="JsonpSupport",rt[rt.RequestsMadeViaParent=5]="RequestsMadeViaParent",rt[rt.Fetch=6]="Fetch",rt}(qt||{});function yt(rt,kt){return{\u0275kind:rt,\u0275providers:kt}}function Ze(...rt){const kt=[Xe,un,En,{provide:S,useExisting:En},{provide:y,useExisting:un},{provide:ot,useValue:Hn,multi:!0},{provide:Vn,useValue:!0},{provide:Cr,useClass:jr}];for(const Et of rt)kt.push(...Et.\u0275providers);return(0,l.makeEnvironmentProviders)(kt)}function Rt(rt){return yt(qt.Interceptors,rt.map(kt=>({provide:ot,useValue:kt,multi:!0})))}const je=new l.InjectionToken("");function pt(){return yt(qt.LegacyInterceptors,[{provide:je,useFactory:vn},{provide:ot,useExisting:je,multi:!0}])}function mt({cookieName:rt,headerName:kt}){const Et=[];return void 0!==rt&&Et.push({provide:br,useValue:rt}),void 0!==kt&&Et.push({provide:fi,useValue:kt}),yt(qt.CustomXsrfConfiguration,Et)}function on(){return yt(qt.NoXsrfProtection,[{provide:Vn,useValue:!1}])}function Ln(){return yt(qt.JsonpSupport,[fe,{provide:Te,useFactory:me},{provide:ot,useValue:$e,multi:!0}])}function jt(){return yt(qt.RequestsMadeViaParent,[{provide:y,useFactory:()=>(0,l.inject)(S,{skipSelf:!0,optional:!0})}])}function Mn(){return yt(qt.Fetch,[Ae,{provide:y,useExisting:Ae},{provide:nn,useExisting:Ae}])}let Pe=(()=>{class rt{static disable(){return{ngModule:rt,providers:[on().\u0275providers]}}static withOptions(Et={}){return{ngModule:rt,providers:mt(Et).\u0275providers}}static#e=this.\u0275fac=function(an){return new(an||rt)};static#t=this.\u0275mod=l.\u0275\u0275defineNgModule({type:rt});static#n=this.\u0275inj=l.\u0275\u0275defineInjector({providers:[Dt,{provide:dt,useExisting:Dt,multi:!0},{provide:Cr,useClass:jr},mt({cookieName:tr,headerName:or}).\u0275providers,{provide:Vn,useValue:!0}]})}return rt})(),gt=(()=>{class rt{static#e=this.\u0275fac=function(an){return new(an||rt)};static#t=this.\u0275mod=l.\u0275\u0275defineNgModule({type:rt});static#n=this.\u0275inj=l.\u0275\u0275defineInjector({providers:[Ze(pt())]})}return rt})(),At=(()=>{class rt{static#e=this.\u0275fac=function(an){return new(an||rt)};static#t=this.\u0275mod=l.\u0275\u0275defineNgModule({type:rt});static#n=this.\u0275inj=l.\u0275\u0275defineInjector({providers:[Ln().\u0275providers]})}return rt})();const Ut="b",ar="h",ur="s",Tr="st",lr="u",nr="rt",Nr=new l.InjectionToken(""),Ci=["GET","HEAD"];function tn(rt,kt){const{isCacheActive:Et,...an}=(0,l.inject)(Nr),{transferCache:mn,method:wn}=rt;if(!Et||"POST"===wn&&!an.includePostRequests&&!mn||"POST"!==wn&&!Ci.includes(wn)||!1===mn||!1===an.filter?.(rt))return kt(rt);const Dn=(0,l.inject)(l.TransferState),sr=function qn(rt){const{params:kt,method:Et,responseType:an,url:mn,body:wn}=rt,xr=function dr(rt){let kt=0;for(const Et of rt)kt=Math.imul(31,kt)+Et.charCodeAt(0)<<0;return kt+=2147483648,kt.toString()}([Et,an,mn,"string"==typeof wn?wn:"",kt.keys().sort().map(Or=>`${Or}=${kt.getAll(Or)}`).join("&")].join("|"));return(0,l.makeStateKey)(xr)}(rt),Xn=Dn.get(sr,null);let xr=an.includeHeaders;if("object"==typeof mn&&mn.includeHeaders&&(xr=mn.includeHeaders),Xn){const{[Ut]:Or,[nr]:Vr,[ar]:Ir,[ur]:Er,[Tr]:cn,[lr]:x}=Xn;let F=Or;switch(Vr){case"arraybuffer":F=(new TextEncoder).encode(Or).buffer;break;case"blob":F=new Blob([Or])}let Q=new f(Ir);return(0,u.of)(new xe({body:F,headers:Q,status:Er,statusText:cn,url:x}))}return kt(rt).pipe((0,p.y)(Or=>{Or instanceof xe&&Dn.set(sr,{[Ut]:Or.body,[ar]:jn(Or.headers,xr),[ur]:Or.status,[Tr]:Or.statusText,[lr]:Or.url||"",[nr]:rt.responseType})}))}function jn(rt,kt){if(!kt)return{};const Et={};for(const an of kt){const mn=rt.getAll(an);null!==mn&&(Et[an]=mn)}return Et}function ii(rt){return[{provide:Nr,useFactory:()=>((0,l.\u0275performanceMarkFeature)("NgHttpTransferCache"),{isCacheActive:!0,...rt})},{provide:Vt,useValue:tn,multi:!0,deps:[l.TransferState,Nr]},{provide:l.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:()=>{const kt=(0,l.inject)(l.ApplicationRef),Et=(0,l.inject)(Nr);return()=>{(0,l.\u0275whenStable)(kt).then(()=>{Et.isCacheActive=!1})}}}]}},54496:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{ANIMATION_MODULE_TYPE:()=>cr,APP_BOOTSTRAP_LISTENER:()=>hb,APP_ID:()=>Ne,APP_INITIALIZER:()=>fw,AfterRenderPhase:()=>el,ApplicationInitStatus:()=>_m,ApplicationModule:()=>Sb,ApplicationRef:()=>Ys,Attribute:()=>sg,COMPILER_OPTIONS:()=>bw,CSP_NONCE:()=>Jr,CUSTOM_ELEMENTS_SCHEMA:()=>Uy,ChangeDetectionStrategy:()=>Pe,ChangeDetectorRef:()=>Cp,Compiler:()=>vw,CompilerFactory:()=>yw,Component:()=>NA,ComponentFactory:()=>qu,ComponentFactoryResolver:()=>ed,ComponentRef:()=>Jh,ContentChild:()=>YT,ContentChildren:()=>VT,DEFAULT_CURRENCY_CODE:()=>ww,DebugElement:()=>Rd,DebugEventListener:()=>Fw,DebugNode:()=>Sm,DefaultIterableDiffer:()=>YC,DestroyRef:()=>Lc,Directive:()=>zE,ENVIRONMENT_INITIALIZER:()=>ka,ElementRef:()=>Es,EmbeddedViewRef:()=>Rw,EnvironmentInjector:()=>es,ErrorHandler:()=>Ua,EventEmitter:()=>Te,Host:()=>Kd,HostBinding:()=>BA,HostListener:()=>ib,INJECTOR:()=>Qd,Inject:()=>Qs,InjectFlags:()=>ft,Injectable:()=>my,InjectionToken:()=>oe,Injector:()=>Na,Input:()=>UA,IterableDiffers:()=>yp,KeyValueDiffers:()=>rd,LOCALE_ID:()=>ym,MissingTranslationStrategy:()=>Tw,ModuleWithComponentFactories:()=>_w,NO_ERRORS_SCHEMA:()=>By,NgModule:()=>jA,NgModuleFactory:()=>X0,NgModuleRef:()=>Fl,NgProbeToken:()=>tP,NgZone:()=>No,Optional:()=>Wd,Output:()=>fu,PACKAGE_ROOT_URL:()=>rn,PLATFORM_ID:()=>fn,PLATFORM_INITIALIZER:()=>Pt,Pipe:()=>WE,PlatformRef:()=>pb,Query:()=>Uc,QueryList:()=>Ts,Renderer2:()=>fp,RendererFactory2:()=>UC,RendererStyleFlags2:()=>Th,Sanitizer:()=>mp,SecurityContext:()=>Il,Self:()=>Au,SimpleChange:()=>Hb,SkipSelf:()=>Gd,TRANSLATIONS:()=>iP,TRANSLATIONS_FORMAT:()=>Dw,TemplateRef:()=>Qu,Testability:()=>eP,TestabilityRegistry:()=>hw,TransferState:()=>Eu,Type:()=>rh,VERSION:()=>KE,Version:()=>GE,ViewChild:()=>zT,ViewChildren:()=>$T,ViewContainerRef:()=>lf,ViewEncapsulation:()=>gt,ViewRef:()=>Lw,afterNextRender:()=>r0,afterRender:()=>wp,asNativeElements:()=>lP,assertInInjectionContext:()=>Cl,assertNotInReactiveContext:()=>yT,assertPlatform:()=>Aw,booleanAttribute:()=>Ik,computed:()=>sT,contentChild:()=>jT,contentChildren:()=>R0,createComponent:()=>Bk,createEnvironmentInjector:()=>$p,createNgModule:()=>q0,createNgModuleRef:()=>eM,createPlatform:()=>vb,createPlatformFactory:()=>Iw,defineInjectable:()=>Gs,destroyPlatform:()=>oP,effect:()=>Mp,enableProdMode:()=>aP,forwardRef:()=>no,getDebugNode:()=>zi,getModuleFactory:()=>Ow,getNgModuleById:()=>sP,getPlatform:()=>Ld,importProvidersFrom:()=>fa,inject:()=>tt,input:()=>Ye,isDevMode:()=>xw,isSignal:()=>gp,isStandalone:()=>_r,makeEnvironmentProviders:()=>Pu,makeStateKey:()=>qa,mergeApplicationConfig:()=>Hk,model:()=>U0,numberAttribute:()=>Ak,platformCore:()=>wa,provideZoneChangeDetection:()=>Ew,reflectComponentType:()=>jk,resolveForwardRef:()=>kr,runInInjectionContext:()=>Jm,setTestabilityGetter:()=>lb,signal:()=>Po,untracked:()=>uT,viewChild:()=>L0,viewChildren:()=>UT,\u0275ALLOW_MULTIPLE_PLATFORMS:()=>_b,\u0275AfterRenderEventManager:()=>Rl,\u0275CONTAINER_HEADER_OFFSET:()=>Yr,\u0275ChangeDetectionScheduler:()=>hp,\u0275ComponentFactory:()=>qu,\u0275Console:()=>QE,\u0275DEFAULT_LOCALE_ID:()=>ol,\u0275DEFER_BLOCK_CONFIG:()=>CM,\u0275DEFER_BLOCK_DEPENDENCY_INTERCEPTOR:()=>fI,\u0275DeferBlockBehavior:()=>Sf,\u0275DeferBlockState:()=>ko,\u0275EffectScheduler:()=>XC,\u0275IMAGE_CONFIG:()=>po,\u0275IMAGE_CONFIG_DEFAULTS:()=>ui,\u0275INJECTOR_SCOPE:()=>qd,\u0275INPUT_SIGNAL_BRAND_WRITE_TYPE:()=>zn,\u0275IS_HYDRATION_DOM_REUSE_ENABLED:()=>bc,\u0275LContext:()=>Eh,\u0275LifecycleHooksFeature:()=>m0,\u0275LocaleDataIndex:()=>tu,\u0275NG_COMP_DEF:()=>Ci,\u0275NG_DIR_DEF:()=>tn,\u0275NG_ELEMENT_ID:()=>ii,\u0275NG_INJ_DEF:()=>W,\u0275NG_MOD_DEF:()=>qn,\u0275NG_PIPE_DEF:()=>jn,\u0275NG_PROV_DEF:()=>_i,\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR:()=>td,\u0275NO_CHANGE:()=>li,\u0275NgModuleFactory:()=>_f,\u0275NoopNgZone:()=>Ep,\u0275PendingTasks:()=>md,\u0275ReflectionCapabilities:()=>jb,\u0275Render3ComponentFactory:()=>Fc,\u0275Render3ComponentRef:()=>sf,\u0275Render3NgModuleRef:()=>pf,\u0275RuntimeError:()=>zt,\u0275SSR_CONTENT_INTEGRITY_MARKER:()=>Du,\u0275TESTABILITY:()=>sb,\u0275TESTABILITY_GETTER:()=>dw,\u0275USE_RUNTIME_DEPS_TRACKER_FOR_JIT:()=>sd,\u0275ViewRef:()=>Ol,\u0275XSS_SECURITY_URL:()=>vn,\u0275_sanitizeHtml:()=>Ay,\u0275_sanitizeUrl:()=>bh,\u0275allowSanitizationBypassAndThrow:()=>Dl,\u0275annotateForHydration:()=>vk,\u0275bypassSanitizationTrustHtml:()=>Sy,\u0275bypassSanitizationTrustResourceUrl:()=>fg,\u0275bypassSanitizationTrustScript:()=>PD,\u0275bypassSanitizationTrustStyle:()=>AD,\u0275bypassSanitizationTrustUrl:()=>kD,\u0275clearResolutionOfComponentResourcesQueue:()=>Bp,\u0275compileComponent:()=>LE,\u0275compileDirective:()=>nb,\u0275compileNgModule:()=>TE,\u0275compileNgModuleDefs:()=>Xv,\u0275compileNgModuleFactory:()=>Cw,\u0275compilePipe:()=>$E,\u0275convertToBitFlags:()=>Yt,\u0275createInjector:()=>gh,\u0275defaultIterableDiffers:()=>xa,\u0275defaultKeyValueDiffers:()=>vT,\u0275depsTracker:()=>Rc,\u0275devModeEqual:()=>KC,\u0275findLocaleData:()=>Qf,\u0275flushModuleScopingQueueAsMuchAsPossible:()=>DE,\u0275formatRuntimeError:()=>Xt,\u0275generateStandaloneInDeclarationsError:()=>IE,\u0275getAsyncClassMetadataFn:()=>iI,\u0275getDebugNode:()=>zi,\u0275getDeferBlocks:()=>Tm,\u0275getDirectives:()=>oE,\u0275getEnsureDirtyViewsAreAlwaysReachable:()=>Io,\u0275getHostElement:()=>Td,\u0275getInjectableDef:()=>As,\u0275getLContext:()=>Ma,\u0275getLocaleCurrencyCode:()=>BI,\u0275getLocalePluralCase:()=>Zf,\u0275getSanitizationBypassType:()=>My,\u0275getUnknownElementStrictMode:()=>_s,\u0275getUnknownPropertyStrictMode:()=>e1,\u0275global:()=>Ut,\u0275injectChangeDetectorRef:()=>Oc,\u0275internalAfterNextRender:()=>rf,\u0275internalCreateApplication:()=>$o,\u0275isBoundToModule:()=>Vs,\u0275isComponentDefPendingResolution:()=>H0,\u0275isEnvironmentProviders:()=>ic,\u0275isInjectable:()=>Gn,\u0275isNgModule:()=>tl,\u0275isPromise:()=>ub,\u0275isSubscribable:()=>db,\u0275noSideEffects:()=>At,\u0275output:()=>me,\u0275patchComponentDefWithScope:()=>eb,\u0275performanceMarkFeature:()=>Wa,\u0275provideZonelessChangeDetection:()=>zs,\u0275queueStateUpdate:()=>Hr,\u0275readHydrationInfo:()=>jm,\u0275registerLocaleData:()=>UI,\u0275renderDeferBlockState:()=>js,\u0275resetCompiledComponents:()=>kA,\u0275resetJitOptions:()=>wE,\u0275resolveComponentResources:()=>j0,\u0275restoreComponentResolutionQueue:()=>GT,\u0275setAllowDuplicateNgModuleIdsForTest:()=>ZT,\u0275setAlternateWeakRefImpl:()=>bi,\u0275setClassDebugInfo:()=>SE,\u0275setClassMetadata:()=>rM,\u0275setClassMetadataAsync:()=>fd,\u0275setCurrentInjector:()=>O,\u0275setDocument:()=>vu,\u0275setEnsureDirtyViewsAreAlwaysReachable:()=>_o,\u0275setInjectorProfilerContext:()=>rc,\u0275setLocaleId:()=>U_,\u0275setUnknownElementStrictMode:()=>kl,\u0275setUnknownPropertyStrictMode:()=>qD,\u0275store:()=>zS,\u0275stringify:()=>$t,\u0275transitiveScopesFor:()=>Kl,\u0275triggerResourceLoading:()=>kf,\u0275truncateMiddle:()=>Vn,\u0275unregisterLocaleData:()=>hS,\u0275unwrapSafeValue:()=>Ls,\u0275unwrapWritableSignal:()=>lT,\u0275whenStable:()=>pw,\u0275withDomHydration:()=>Dk,\u0275\u0275CopyDefinitionFeature:()=>K0,\u0275\u0275FactoryTarget:()=>Ml,\u0275\u0275HostDirectivesFeature:()=>hd,\u0275\u0275InheritDefinitionFeature:()=>mf,\u0275\u0275InputFlags:()=>rt,\u0275\u0275InputTransformsFeature:()=>J0,\u0275\u0275NgOnChangesFeature:()=>qm,\u0275\u0275ProvidersFeature:()=>Rv,\u0275\u0275StandaloneFeature:()=>Fv,\u0275\u0275advance:()=>iC,\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:()=>m_,\u0275\u0275classMap:()=>S_,\u0275\u0275classMapInterpolate1:()=>T_,\u0275\u0275classMapInterpolate2:()=>JM,\u0275\u0275classMapInterpolate3:()=>Hf,\u0275\u0275classMapInterpolate4:()=>XM,\u0275\u0275classMapInterpolate5:()=>I_,\u0275\u0275classMapInterpolate6:()=>qM,\u0275\u0275classMapInterpolate7:()=>eS,\u0275\u0275classMapInterpolate8:()=>zl,\u0275\u0275classMapInterpolateV:()=>tS,\u0275\u0275classProp:()=>M_,\u0275\u0275componentInstance:()=>nS,\u0275\u0275conditional:()=>iS,\u0275\u0275contentQuery:()=>uv,\u0275\u0275contentQuerySignal:()=>YS,\u0275\u0275defer:()=>MM,\u0275\u0275deferEnableTimerScheduling:()=>t_,\u0275\u0275deferOnHover:()=>TM,\u0275\u0275deferOnIdle:()=>EM,\u0275\u0275deferOnImmediate:()=>wM,\u0275\u0275deferOnInteraction:()=>IM,\u0275\u0275deferOnTimer:()=>DM,\u0275\u0275deferOnViewport:()=>Pf,\u0275\u0275deferPrefetchOnHover:()=>o_,\u0275\u0275deferPrefetchOnIdle:()=>r_,\u0275\u0275deferPrefetchOnImmediate:()=>Af,\u0275\u0275deferPrefetchOnInteraction:()=>AM,\u0275\u0275deferPrefetchOnTimer:()=>i_,\u0275\u0275deferPrefetchOnViewport:()=>PM,\u0275\u0275deferPrefetchWhen:()=>SM,\u0275\u0275deferWhen:()=>n_,\u0275\u0275defineComponent:()=>ht,\u0275\u0275defineDirective:()=>_n,\u0275\u0275defineInjectable:()=>si,\u0275\u0275defineInjector:()=>Va,\u0275\u0275defineNgModule:()=>en,\u0275\u0275definePipe:()=>bn,\u0275\u0275directiveInject:()=>Dc,\u0275\u0275disableBindings:()=>Si,\u0275\u0275element:()=>F_,\u0275\u0275elementContainer:()=>Gf,\u0275\u0275elementContainerEnd:()=>Wf,\u0275\u0275elementContainerStart:()=>eu,\u0275\u0275elementEnd:()=>bd,\u0275\u0275elementStart:()=>zf,\u0275\u0275enableBindings:()=>wi,\u0275\u0275getComponentDepsFactory:()=>Zv,\u0275\u0275getCurrentView:()=>uS,\u0275\u0275getInheritedFactory:()=>oy,\u0275\u0275hostProperty:()=>N_,\u0275\u0275i18n:()=>tv,\u0275\u0275i18nApply:()=>LS,\u0275\u0275i18nAttributes:()=>OS,\u0275\u0275i18nEnd:()=>ev,\u0275\u0275i18nExp:()=>em,\u0275\u0275i18nPostprocess:()=>RS,\u0275\u0275i18nStart:()=>q_,\u0275\u0275inject:()=>ve,\u0275\u0275injectAttribute:()=>fh,\u0275\u0275invalidFactory:()=>aC,\u0275\u0275invalidFactoryDep:()=>Oe,\u0275\u0275listener:()=>nv,\u0275\u0275loadQuery:()=>VS,\u0275\u0275namespaceHTML:()=>ls,\u0275\u0275namespaceMathML:()=>ss,\u0275\u0275namespaceSVG:()=>da,\u0275\u0275nextContext:()=>US,\u0275\u0275ngDeclareClassMetadata:()=>kk,\u0275\u0275ngDeclareComponent:()=>xk,\u0275\u0275ngDeclareDirective:()=>Pk,\u0275\u0275ngDeclareFactory:()=>Ok,\u0275\u0275ngDeclareInjectable:()=>Rk,\u0275\u0275ngDeclareInjector:()=>Fk,\u0275\u0275ngDeclareNgModule:()=>Nk,\u0275\u0275ngDeclarePipe:()=>Uk,\u0275\u0275pipe:()=>_E,\u0275\u0275pipeBind1:()=>bE,\u0275\u0275pipeBind2:()=>Kv,\u0275\u0275pipeBind3:()=>yE,\u0275\u0275pipeBind4:()=>Qv,\u0275\u0275pipeBindV:()=>CE,\u0275\u0275projection:()=>jS,\u0275\u0275projectionDef:()=>BS,\u0275\u0275property:()=>y_,\u0275\u0275propertyInterpolate:()=>iv,\u0275\u0275propertyInterpolate1:()=>Dd,\u0275\u0275propertyInterpolate2:()=>ov,\u0275\u0275propertyInterpolate3:()=>tm,\u0275\u0275propertyInterpolate4:()=>av,\u0275\u0275propertyInterpolate5:()=>nm,\u0275\u0275propertyInterpolate6:()=>sv,\u0275\u0275propertyInterpolate7:()=>lv,\u0275\u0275propertyInterpolate8:()=>rm,\u0275\u0275propertyInterpolateV:()=>cv,\u0275\u0275pureFunction0:()=>Hv,\u0275\u0275pureFunction1:()=>cE,\u0275\u0275pureFunction2:()=>Vv,\u0275\u0275pureFunction3:()=>uE,\u0275\u0275pureFunction4:()=>Yv,\u0275\u0275pureFunction5:()=>dE,\u0275\u0275pureFunction6:()=>$v,\u0275\u0275pureFunction7:()=>hE,\u0275\u0275pureFunction8:()=>zv,\u0275\u0275pureFunctionV:()=>fE,\u0275\u0275queryAdvance:()=>hv,\u0275\u0275queryRefresh:()=>dv,\u0275\u0275reference:()=>fv,\u0275\u0275registerNgModuleType:()=>ff,\u0275\u0275repeater:()=>$f,\u0275\u0275repeaterCreate:()=>O_,\u0275\u0275repeaterTrackByIdentity:()=>x_,\u0275\u0275repeaterTrackByIndex:()=>aS,\u0275\u0275resetView:()=>ki,\u0275\u0275resolveBody:()=>Dh,\u0275\u0275resolveDocument:()=>Pg,\u0275\u0275resolveWindow:()=>Vy,\u0275\u0275restoreView:()=>eo,\u0275\u0275sanitizeHtml:()=>_g,\u0275\u0275sanitizeResourceUrl:()=>Ch,\u0275\u0275sanitizeScript:()=>yg,\u0275\u0275sanitizeStyle:()=>vg,\u0275\u0275sanitizeUrl:()=>bg,\u0275\u0275sanitizeUrlOrResourceUrl:()=>Ns,\u0275\u0275setComponentScope:()=>tE,\u0275\u0275setNgModuleScope:()=>Nv,\u0275\u0275styleMap:()=>Oa,\u0275\u0275styleMapInterpolate1:()=>WS,\u0275\u0275styleMapInterpolate2:()=>mv,\u0275\u0275styleMapInterpolate3:()=>GS,\u0275\u0275styleMapInterpolate4:()=>gv,\u0275\u0275styleMapInterpolate5:()=>KS,\u0275\u0275styleMapInterpolate6:()=>pv,\u0275\u0275styleMapInterpolate7:()=>QS,\u0275\u0275styleMapInterpolate8:()=>ZS,\u0275\u0275styleMapInterpolateV:()=>_v,\u0275\u0275styleProp:()=>Uf,\u0275\u0275stylePropInterpolate1:()=>vv,\u0275\u0275stylePropInterpolate2:()=>im,\u0275\u0275stylePropInterpolate3:()=>bv,\u0275\u0275stylePropInterpolate4:()=>yv,\u0275\u0275stylePropInterpolate5:()=>Cv,\u0275\u0275stylePropInterpolate6:()=>su,\u0275\u0275stylePropInterpolate7:()=>Mv,\u0275\u0275stylePropInterpolate8:()=>om,\u0275\u0275stylePropInterpolateV:()=>Sv,\u0275\u0275syntheticHostListener:()=>wd,\u0275\u0275syntheticHostProperty:()=>Kf,\u0275\u0275template:()=>Hc,\u0275\u0275templateRefExtractor:()=>ME,\u0275\u0275text:()=>Ev,\u0275\u0275textInterpolate:()=>am,\u0275\u0275textInterpolate1:()=>sm,\u0275\u0275textInterpolate2:()=>lu,\u0275\u0275textInterpolate3:()=>wv,\u0275\u0275textInterpolate4:()=>Dv,\u0275\u0275textInterpolate5:()=>Tv,\u0275\u0275textInterpolate6:()=>Iv,\u0275\u0275textInterpolate7:()=>Av,\u0275\u0275textInterpolate8:()=>lm,\u0275\u0275textInterpolateV:()=>Pv,\u0275\u0275trustConstantHtml:()=>Py,\u0275\u0275trustConstantResourceUrl:()=>Cg,\u0275\u0275twoWayBindingSet:()=>XS,\u0275\u0275twoWayListener:()=>um,\u0275\u0275twoWayProperty:()=>cm,\u0275\u0275validateIframeAttribute:()=>dd,\u0275\u0275viewQuery:()=>HS,\u0275\u0275viewQuerySignal:()=>$S});var n=s(1528);function l(t,r){return Object.is(t,r)}let u=null,c=!1,i=1;const e=Symbol("SIGNAL");function o(t){const r=u;return u=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 E(t){if(c)throw new Error("");if(null===u)return;u.consumerOnSignalRead(t);const r=u.nextProducerIndex++;k(u),rt.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function L(t){k(t);for(let r=0;r0}function k(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function A(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function H(t){const r=Object.create(be);r.computation=t;const a=()=>{if(y(r),E(r),r.value===X)throw r.error;return r.value};return a[e]=r,a}const K=Symbol("UNSET"),ie=Symbol("COMPUTING"),X=Symbol("ERRORED"),be={...p,value:K,dirty:!0,error:null,equal:l,producerMustRecompute:t=>t.value===K||t.value===ie,producerRecomputeValue(t){if(t.value===ie)throw new Error("Detected cycle in computations.");const r=t.value;t.value=ie;const a=w(t);let d;try{d=t.computation()}catch(b){d=X,t.error=b}finally{D(t,a)}r!==K&&r!==X&&d!==X&&t.equal(r,d)?t.value=r:(t.value=d,t.version++)}};let ze=function ce(){throw new Error};function ct(){ze()}let Ie=null;function _e(t,r){C()||ct(),t.equal(t.value,r)||(t.value=r,function Ae(t){t.version++,function S(){i++}(),f(t),Ie?.()}(t))}const Ce={...p,equal:l,value:void 0};const re=()=>{},Ee={...p,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{null!==t.schedule&&t.schedule(t.ref)},hasRun:!1,cleanupFn:re};var vt=s(95657),Tt=s(46928),dt=s(46700),ot=s(54704),Vt=s(75084);const vn="https://g.co/ng/security#xss";class zt extends Error{constructor(r,a){super(Xt(r,a)),this.code=r}}function Xt(t,r){return`NG0${Math.abs(t)}${r?": "+r:""}`}const En=Symbol("InputSignalNode#UNSET"),$n={...Ce,transformFn:void 0,applyValueToInputSignal(t,r){_e(t,r)}},zn=Symbol();function kn(t,r){const a=Object.create($n);function d(){if(E(a),a.value===En)throw new zt(-950,!1);return a.value}return a.value=t,a.transformFn=r?.transform,d[e]=a,d}function ut(t){return r=>{setTimeout(t,void 0,r)}}const Te=class ln extends vt.E{constructor(r=!1){super(),this.__isAsync=r}emit(r){super.next(r)}subscribe(r,a,d){let b=r,I=a||(()=>null),U=d;if(r&&"object"==typeof r){const te=r;b=te.next?.bind(te),I=te.error?.bind(te),U=te.complete?.bind(te)}this.__isAsync&&(I=ut(I),b&&(b=ut(b)),U&&(U=ut(U)));const z=super.subscribe({next:b,error:I,complete:U});return r instanceof Tt.wH&&r.add(z),z}};function me(t){return new Te}function fe(t,r){return kn(t,r)}const Ye=(fe.required=function $e(t){return kn(En,t)},fe);var ft=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}(ft||{});function $t(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map($t).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 a=r.indexOf("\n");return-1===a?r:r.substring(0,a)}function un(t,r){return null==t||""===t?null===r?"":r:null==r||""===r?t:t+" "+r}function Vn(t,r=100){if(!t||r<1||t.length<=r)return t;if(1==r)return t.substring(0,1)+"...";const a=Math.round(r/2);return t.substring(0,a)+"..."+t.substring(t.length-a)}function mt(t,r,a,d){throw new Error(`ASSERTION ERROR: ${t}`+(null==d?"":` [Expected=> ${a} ${d} ${r} <=Actual]`))}var Pe=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(Pe||{}),gt=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(gt||{});function At(t){return{toString:t}.toString()}const Ut=globalThis,Tr={},lr=[];function nr(t){for(let r in t)if(t[r]===nr)return r;throw Error("Could not find renamed property on target object.")}function Nr(t,r){for(const a in r)r.hasOwnProperty(a)&&!t.hasOwnProperty(a)&&(t[a]=r[a])}const Ci=nr({\u0275cmp:nr}),tn=nr({\u0275dir:nr}),jn=nr({\u0275pipe:nr}),qn=nr({\u0275mod:nr}),dr=nr({\u0275fac:nr}),ii=nr({__NG_ELEMENT_ID__:nr}),Fr=nr({__NG_ENV_ID__:nr});var rt=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(rt||{});function kt(t,r,a){let d=t.length;for(;;){const b=t.indexOf(r,a);if(-1===b)return b;if(0===b||t.charCodeAt(b-1)<=32){const I=r.length;if(b+I===d||t.charCodeAt(b+I)<=32)return b}a=b+1}}function Et(t,r,a){let d=0;for(;dr){U=I-1;break}}}for(;II?"":b[bt+1].toLowerCase();const Zt=8&d?Bt:null;if(Zt&&-1!==kt(Zt,De,0)||2&d&&De!==Bt){if(Ir(d))return!1;U=!0}}}}else{if(!U&&!Ir(d)&&!Ir(te))return!1;if(U&&Ir(te))continue;U=!1,d=te|1&d}}return Ir(d)||U}function Ir(t){return 0==(1&t)}function Er(t,r,a,d){if(null===r)return-1;let b=0;if(d||!a){let I=!1;for(;b-1)for(a++;a0?'="'+z+'"':"")+"]"}else 8&d?b+="."+U:4&d&&(b+=" "+U);else""!==b&&!Ir(U)&&(r+=he(I,b),b=""),d=U,I=I||!Ir(d);a++}return""!==b&&(r+=he(I,b)),r}function ht(t){return At(()=>{const r=Lr(t),a={...r,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===Pe.OnPush,directiveDefs:null,pipeDefs:null,dependencies:r.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||gt.Emulated,styles:t.styles||lr,_:null,schemas:t.schemas||null,tView:null,id:""};ti(a);const d=t.dependencies;return a.directiveDefs=it(d,!1),a.pipeDefs=it(d,!0),a.id=function Ri(t){let r=0;const a=[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 b of a)r=Math.imul(31,r)+b.charCodeAt(0)<<0;return r+=2147483648,"c"+r}(a),a})}function St(t){return hn(t)||In(t)}function Ft(t){return null!==t}function en(t){return At(()=>({type:t.type,bootstrap:t.bootstrap||lr,declarations:t.declarations||lr,imports:t.imports||lr,exports:t.exports||lr,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function gn(t,r){if(null==t)return Tr;const a={};for(const d in t)if(t.hasOwnProperty(d)){const b=t[d];let I,U,z=rt.None;Array.isArray(b)?(z=b[0],I=b[1],U=b[2]??I):(I=b,U=b),r?(a[I]=z!==rt.None?[d,z]:d,r[I]=U):a[I]=d}return a}function _n(t){return At(()=>{const r=Lr(t);return ti(r),r})}function bn(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 hn(t){return t[Ci]||null}function In(t){return t[tn]||null}function Un(t){return t[jn]||null}function _r(t){const r=hn(t)||In(t)||Un(t);return null!==r&&r.standalone}function hr(t,r){const a=t[qn]||null;if(!a&&!0===r)throw new Error(`Type ${$t(t)} does not have '\u0275mod' property.`);return a}function Lr(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||Tr,exportAs:t.exportAs||null,standalone:!0===t.standalone,signals:!0===t.signals,selectors:t.selectors||lr,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:gn(t.inputs,r),outputs:gn(t.outputs),debugInfo:null}}function ti(t){t.features?.forEach(r=>r(t))}function it(t,r){if(!t)return null;const a=r?Un:St;return()=>("function"==typeof t?t():t).map(d=>a(d)).filter(Ft)}const co=new Map,Ur=0,xn=1,Jn=2,Gr=3,Bn=4,pi=5,Zi=6,qr=7,oi=8,ni=9,ji=10,yr=11,Ji=12,Do=13,vo=14,ri=15,ro=16,Rr=17,oo=18,Pn=19,bo=20,gi=21,Hi=22,ai=23,pr=25,yo=1,Ai=6,Pi=7,uo=9,Yr=10;var So=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(So||{});function Vi(t){return Array.isArray(t)&&"object"==typeof t[yo]}function ei(t){return Array.isArray(t)&&!0===t[yo]}function Uo(t){return 0!=(4&t.flags)}function Fi(t){return t.componentOffset>-1}function ao(t){return 1==(1&t.flags)}function Gi(t){return!!t.template}function xo(t){return 0!=(512&t[Jn])}function Bo(t){return 16==(16&t.type)}function Oo(t){return 256==(256&t[Jn])}const Zn="svg",Mi="math";let Eo=!1;function Io(){return Eo}function _o(t){Eo=t}function $r(t){for(;Array.isArray(t);)t=t[Ur];return t}function Xo(t){for(;Array.isArray(t);){if("object"==typeof t[yo])return t;t=t[Ur]}return null}function aa(t,r){return $r(r[t])}function io(t,r){return $r(r[t.index])}function Ro(t,r){return t.data[r]}function wo(t,r){return t[r]}function qi(t,r){const a=r[t];return Vi(a)?a:a[Ur]}function la(t){return 128==(128&t[Jn])}function go(t,r){return null==r?null:t[r]}function ma(t){t[Rr]=0}function Je(t){1024&t[Jn]||(t[Jn]|=1024,la(t)&&Ge(t))}function $(t,r){for(;t>0;)r=r[vo],t--;return r}function ee(t){return!!(9216&t[Jn]||t[ai]?.dirty)}function ye(t){ee(t)?Ge(t):64&t[Jn]&&(Io()?(t[Jn]|=1024,Ge(t)):t[ji].changeDetectionScheduler?.notify())}function Ge(t){t[ji].changeDetectionScheduler?.notify();let r=Ht(t);for(;null!==r&&!(8192&r[Jn])&&(r[Jn]|=8192,la(r));)r=Ht(r)}function Ct(t,r){if(256==(256&t[Jn]))throw new zt(911,!1);null===t[gi]&&(t[gi]=[]),t[gi].push(r)}function Lt(t,r){if(null===t[gi])return;const a=t[gi].indexOf(r);-1!==a&&t[gi].splice(a,1)}function Ht(t){const r=t[Gr];return ei(r)?r[Gr]:r}const Gt={lFrame:Sr(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function fr(){return Gt.bindingsEnabled}function Dr(){return null!==Gt.skipHydrationRootTNode}function wi(){Gt.bindingsEnabled=!0}function Si(){Gt.bindingsEnabled=!1}function Sn(){return Gt.lFrame.lView}function Ar(){return Gt.lFrame.tView}function eo(t){return Gt.lFrame.contextLView=t,t[oi]}function ki(t){return Gt.lFrame.contextLView=null,t}function Qr(){let t=to();for(;null!==t&&64===t.type;)t=t.parent;return t}function to(){return Gt.lFrame.currentTNode}function we(){const t=Gt.lFrame,r=t.currentTNode;return t.isParent?r:r.parent}function nt(t,r){const a=Gt.lFrame;a.currentTNode=t,a.isParent=r}function Qe(){return Gt.lFrame.isParent}function lt(){Gt.lFrame.isParent=!1}function Kt(){const t=Gt.lFrame;let r=t.bindingRootIndex;return-1===r&&(r=t.bindingRootIndex=t.tView.bindingStartIndex),r}function dn(){return Gt.lFrame.bindingIndex}function Wn(t){return Gt.lFrame.bindingIndex=t}function Y(){return Gt.lFrame.bindingIndex++}function Re(t){const r=Gt.lFrame,a=r.bindingIndex;return r.bindingIndex=r.bindingIndex+t,a}function Me(t){Gt.lFrame.inI18n=t}function Mt(t,r){const a=Gt.lFrame;a.bindingIndex=a.bindingRootIndex=t,ne(r)}function ne(t){Gt.lFrame.currentDirectiveIndex=t}function B(t){const r=Gt.lFrame.currentDirectiveIndex;return-1===r?null:t[r]}function le(){return Gt.lFrame.currentQueryIndex}function We(t){Gt.lFrame.currentQueryIndex=t}function Jt(t){const r=t[xn];return 2===r.type?r.declTNode:1===r.type?t[pi]:null}function Cn(t,r,a){if(a&ft.SkipSelf){let b=r,I=t;for(;!(b=b.parent,null!==b||a&ft.Host||(b=Jt(I),null===b||(I=I[vo],10&b.type))););if(null===b)return!1;r=b,t=I}const d=Gt.lFrame=Kn();return d.currentTNode=r,d.lView=t,!0}function An(t){const r=Kn(),a=t[xn];Gt.lFrame=r,r.currentTNode=a.firstChild,r.lView=t,r.tView=a,r.contextLView=t,r.bindingIndex=a.bindingStartIndex,r.inI18n=!1}function Kn(){const t=Gt.lFrame,r=null===t?null:t.child;return null===r?Sr(t):r}function Sr(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 Zr(){const t=Gt.lFrame;return Gt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const ho=Zr;function Co(){const t=Zr();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 xi(){return Gt.lFrame.selectedIndex}function Yi(t){Gt.lFrame.selectedIndex=t}function yi(){const t=Gt.lFrame;return Ro(t.tView,t.selectedIndex)}function da(){Gt.lFrame.currentNamespace=Zn}function ss(){Gt.lFrame.currentNamespace=Mi}function ls(){!function Jl(){Gt.lFrame.currentNamespace=null}()}function Ms(){return Gt.lFrame.currentNamespace}let Xl=!0;function Ss(){return Xl}function La(t){Xl=t}function al(){return qo(Qr(),Sn())}function qo(t,r){return new Es(io(t,r))}let Es=(()=>{class t{constructor(a){this.nativeElement=a}static#e=this.__NG_ELEMENT_ID__=al}return t})();function sl(t){return t instanceof Es?t.nativeElement:t}function ca(t){return t.flat(Number.POSITIVE_INFINITY)}function ws(t,r){t.forEach(a=>Array.isArray(a)?ws(a,r):r(a))}function ql(t,r,a){r>=t.length?t.push(a):t.splice(r,0,a)}function Ws(t,r){return r>=t.length-1?t.pop():t.splice(r,1)[0]}function Ds(t,r){const a=[];for(let d=0;dr;)t[b]=t[b-2],b--;t[r]=a,t[r+1]=d}}function ea(t,r,a){let d=Ja(t,r);return d>=0?t[1|d]=a:(d=~d,ll(t,d,r,a)),d}function Za(t,r){const a=Ja(t,r);if(a>=0)return t[1|a]}function Ja(t,r){return function tc(t,r,a){let d=0,b=t.length>>a;for(;b!==d;){const I=d+(b-d>>1),U=t[I<r?b=I:d=I+1}return~(b<st}),st="ng",Pt=new oe(""),fn=new oe("",{providedIn:"platform",factory:()=>"unknown"}),rn=new oe(""),cr=new oe(""),Jr=new oe("",{providedIn:"root",factory:()=>ta().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),ui={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},po=new oe("",{providedIn:"root",factory:()=>ui}),hs=nr({__forward_ref__:nr});function no(t){return t.__forward_ref__=no,t.toString=function(){return $t(this())},t}function kr(t){return Ya(t)?t():t}function Ya(t){return"function"==typeof t&&t.hasOwnProperty(hs)&&t.__forward_ref__===no}let Ra,fl;function rc(t){mt("setInjectorProfilerContext should never be called in production mode");const r=Ra;return Ra=t,r}function ic(t){return t&&!!t.\u0275providers}function zr(t){return"string"==typeof t?t:null==t?"":String(t)}function $i(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():zr(t)}function Cu(t,r){throw new zt(-201,!1)}function jd(){return fl}function Ko(t){const r=fl;return fl=t,r}function Hd(t,r,a){const d=As(t);return d&&"root"==d.providedIn?void 0===d.value?d.value=d.factory():d.value:a&ft.Optional?null:void 0!==r?r:void Cu()}const gl={},Mu="__NG_DI_FLAG__",oc="ngTempTokenPath",xm=/\n/gm,ks="__source";let Xa;function O(t){const r=Xa;return Xa=t,r}function J(t,r=ft.Default){if(void 0===Xa)throw new zt(-203,!1);return null===Xa?Hd(t,void 0,r):Xa.get(t,r&ft.Optional?null:void 0,r)}function ve(t,r=ft.Default){return(jd()||J)(kr(t),r)}function Oe(t){throw new zt(202,!1)}function tt(t,r=ft.Default){return ve(t,Yt(r))}function Yt(t){return typeof t>"u"||"number"==typeof t?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Tn(t){const r=[];for(let a=0;a{class t{constructor(){this.store={},this.onSerializeCallbacks={}}static#e=this.\u0275prov=si({token:t,providedIn:"root",factory:ms});get(a,d){return void 0!==this.store[a]?this.store[a]:d}set(a,d){this.store[a]=d}remove(a){delete this.store[a]}hasKey(a){return this.store.hasOwnProperty(a)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(a,d){this.onSerializeCallbacks[a]=d}toJson(){for(const a in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(a))try{this.store[a]=this.onSerializeCallbacks[a]()}catch(d){console.warn("Exception in onSerialize callback: ",d)}return JSON.stringify(this.store).replace(/null;function Kw(t,r,a=!1){let d=t.getAttribute(wu);if(null==d)return null;const[b,I]=d.split("|");if(d=a?I:b,!d)return null;const z=a?b:I?`|${I}`:"";let te={};if(""!==d){const Ke=r.get(Eu,null,{optional:!0});null!==Ke&&(te=Ke.get(Um,[])[Number(d)])}const De={data:te,firstChild:t.firstChild??null};return a&&(De.firstChild=t,Yd(De,0,t.nextSibling)),z?t.setAttribute(wu,z):t.removeAttribute(wu),De}function Bm(t,r,a=!1){return kb(t,r,a)}function xb(t){let r=t._lView;return 2===r[xn].type?null:(xo(r)&&(r=r[pr]),r)}const vl="__ngDebugHydrationInfo__";function jm(t){return t[vl]??null}function Yd(t,r,a){t.segmentHeads??={},t.segmentHeads[r]=a}function Hm(t,r){return t.segmentHeads?.[r]??null}function Rb(t,r){return t.data[gs]?.[r]??null}function $d(t,r){const a=Rb(t,r)??[];let d=0;for(let b of a)d+=b[sc]*(b[pl]??1);return d}function zd(t,r){if(typeof t.disconnectedNodes>"u"){const a=t.data[Vd];t.disconnectedNodes=a?new Set(a):null}return!!t.disconnectedNodes?.has(r)}const Ti="__annotations__",uc="__parameters__",Fa="__prop__metadata__";function Iu(t,r,a,d,b){return At(()=>{const I=Vm(r);function U(...z){if(this instanceof U)return I.call(this,...z),this;const te=new U(...z);return function(Ke){return b&&b(Ke,...z),(Ke.hasOwnProperty(Ti)?Ke[Ti]:Object.defineProperty(Ke,Ti,{value:[]})[Ti]).push(te),d&&d(Ke),Ke}}return a&&(U.prototype=Object.create(a.prototype)),U.prototype.ngMetadataName=t,U.annotationCls=U,U})}function Vm(t){return function(...a){if(t){const d=t(...a);for(const b in d)this[b]=d[b]}}}function Ca(t,r,a){return At(()=>{const d=Vm(r);function b(...I){if(this instanceof b)return d.apply(this,I),this;const U=new b(...I);return z.annotation=U,z;function z(te,De,Ke){const bt=te.hasOwnProperty(uc)?te[uc]:Object.defineProperty(te,uc,{value:[]})[uc];for(;bt.length<=Ke;)bt.push(null);return(bt[Ke]=bt[Ke]||[]).push(U),te}}return a&&(b.prototype=Object.create(a.prototype)),b.prototype.ngMetadataName=t,b.annotationCls=b,b})}function Ks(t,r,a,d){return At(()=>{const b=Vm(r);function I(...U){if(this instanceof I)return b.apply(this,U),this;const z=new I(...U);return function te(De,Ke){if(void 0===De)throw new Error("Standard Angular field decorators are not supported in JIT mode.");const bt=De.constructor,Bt=bt.hasOwnProperty(Fa)?bt[Fa]:Object.defineProperty(bt,Fa,{value:{}})[Fa];Bt[Ke]=Bt.hasOwnProperty(Ke)&&Bt[Ke]||[],Bt[Ke].unshift(z),d&&d(De,Ke,...U)}}return a&&(I.prototype=Object.create(a.prototype)),I.prototype.ngMetadataName=t,I.annotationCls=I,I})}const Qs=mr(Ca("Inject",t=>({token:t})),-1),Wd=mr(Ca("Optional"),8),Au=mr(Ca("Self"),2),Gd=mr(Ca("SkipSelf"),4),Kd=mr(Ca("Host"),1);function bl(t,r){return t.hasOwnProperty(dr)?t[dr]:null}const ka=new oe(""),Qd=new oe("",-1),Ym=new oe("");class Zd{get(r,a=gl){if(a===gl){const d=new Error(`NullInjectorError: No provider for ${$t(r)}!`);throw d.name="NullInjectorError",d}return a}}function Pu(t){return{\u0275providers:t}}function fa(...t){return{\u0275providers:$m(0,t),\u0275fromNgModule:!0}}function $m(t,...r){const a=[],d=new Set;let b;const I=U=>{a.push(U)};return ws(r,U=>{const z=U;Xd(z,I,[],d)&&(b||=[],b.push(z))}),void 0!==b&&Jd(b,I),a}function Jd(t,r){for(let a=0;a{r(I,d)})}}function Xd(t,r,a,d){if(!(t=kr(t)))return!1;let b=null,I=ds(t);const U=!I&&hn(t);if(I||U){if(U&&!U.standalone)return!1;b=t}else{const te=t.ngModule;if(I=ds(te),!I)return!1;b=te}const z=d.has(b);if(U){if(z)return!1;if(d.add(b),U.dependencies){const te="function"==typeof U.dependencies?U.dependencies():U.dependencies;for(const De of te)Xd(De,r,a,d)}}else{if(!I)return!1;{if(null!=I.imports&&!z){let De;d.add(b);try{ws(I.imports,Ke=>{Xd(Ke,r,a,d)&&(De||=[],De.push(Ke))})}finally{}void 0!==De&&Jd(De,r)}if(!z){const De=bl(b)||(()=>new b);r({provide:b,useFactory:De,deps:lr},b),r({provide:Ym,useValue:b,multi:!0},b),r({provide:ka,useValue:()=>ve(b),multi:!0},b)}const te=I.providers;if(null!=te&&!z){const De=t;zm(te,Ke=>{r(Ke,De)})}}}return b!==t&&void 0!==t.providers}function zm(t,r){for(let a of t)ic(a)&&(a=a.\u0275providers),Array.isArray(a)?zm(a,r):r(a)}const Fb=nr({provide:String,useValue:nr});function Wm(t){return null!==t&&"object"==typeof t&&Fb in t}function yl(t){return"function"==typeof t}const qd=new oe(""),eh={},tD={};let Gm;function xs(){return void 0===Gm&&(Gm=new Zd),Gm}class es{}class dc extends es{get destroyed(){return this._destroyed}constructor(r,a,d,b){super(),this.parent=a,this.source=d,this.scopes=b,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Zm(r,U=>this.processProvider(U)),this.records.set(Qd,hc(void 0,this)),b.has("environment")&&this.records.set(es,hc(void 0,this));const I=this.records.get(qd);null!=I&&"string"==typeof I.value&&this.scopes.add(I.value),this.injectorDefTypes=new Set(this.get(Ym,lr,ft.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const a of this._ngOnDestroyHooks)a.ngOnDestroy();const r=this._onDestroyHooks;this._onDestroyHooks=[];for(const a of r)a()}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 a=O(this),d=Ko(void 0);try{return r()}finally{O(a),Ko(d)}}get(r,a=gl,d=ft.Default){if(this.assertNotDestroyed(),r.hasOwnProperty(Fr))return r[Fr](this);d=Yt(d);const I=O(this),U=Ko(void 0);try{if(!(d&ft.SkipSelf)){let te=this.records.get(r);if(void 0===te){const De=function iD(t){return"function"==typeof t||"object"==typeof t&&t instanceof oe}(r)&&As(r);te=De&&this.injectableDefInScope(De)?hc(Km(r),eh):null,this.records.set(r,te)}if(null!=te)return this.hydrate(r,te)}return(d&ft.Self?xs():this.parent).get(r,a=d&ft.Optional&&a===gl?null:a)}catch(z){if("NullInjectorError"===z.name){if((z[oc]=z[oc]||[]).unshift($t(r)),I)throw z;return function vi(t,r,a,d){const b=t[oc];throw r[ks]&&b.unshift(r[ks]),t.message=function ha(t,r,a,d=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let b=$t(r);if(Array.isArray(r))b=r.map($t).join(" -> ");else if("object"==typeof r){let I=[];for(let U in r)if(r.hasOwnProperty(U)){let z=r[U];I.push(U+":"+("string"==typeof z?JSON.stringify(z):$t(z)))}b=`{${I.join(", ")}}`}return`${a}${d?"("+d+")":""}[${b}]: ${t.replace(xm,"\n ")}`}("\n"+t.message,b,a,d),t.ngTokenPath=b,t[oc]=null,t}(z,r,"R3InjectorError",this.source)}throw z}finally{Ko(U),O(I)}}resolveInjectorInitializers(){const r=O(this),a=Ko(void 0);try{const b=this.get(ka,lr,ft.Self);for(const I of b)I()}finally{O(r),Ko(a)}}toString(){const r=[],a=this.records;for(const d of a.keys())r.push($t(d));return`R3Injector[${r.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new zt(205,!1)}processProvider(r){let a=yl(r=kr(r))?r:kr(r&&r.provide);const d=function nD(t){return Wm(t)?hc(void 0,t.useValue):hc(nh(t),eh)}(r);if(!yl(r)&&!0===r.multi){let b=this.records.get(a);b||(b=hc(void 0,eh,!0),b.factory=()=>Tn(b.multi),this.records.set(a,b)),a=r,b.multi.push(r)}this.records.set(a,d)}hydrate(r,a){return a.value===eh&&(a.value=tD,a.value=a.factory()),"object"==typeof a.value&&a.value&&function Qm(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(a.value)&&this._ngOnDestroyHooks.add(a.value),a.value}injectableDefInScope(r){if(!r.providedIn)return!1;const a=kr(r.providedIn);return"string"==typeof a?"any"===a||this.scopes.has(a):this.injectorDefTypes.has(a)}removeOnDestroy(r){const a=this._onDestroyHooks.indexOf(r);-1!==a&&this._onDestroyHooks.splice(a,1)}}function Km(t){const r=As(t),a=null!==r?r.factory:bl(t);if(null!==a)return a;if(t instanceof oe)throw new zt(204,!1);if(t instanceof Function)return function th(t){if(t.length>0)throw new zt(204,!1);const a=function ga(t){return t&&(t[_i]||t[ae])||null}(t);return null!==a?()=>a.factory(t):()=>new t}(t);throw new zt(204,!1)}function nh(t,r,a){let d;if(yl(t)){const b=kr(t);return bl(b)||Km(b)}if(Wm(t))d=()=>kr(t.useValue);else if(function Nb(t){return!(!t||!t.useFactory)}(t))d=()=>t.useFactory(...Tn(t.deps||[]));else if(function ku(t){return!(!t||!t.useExisting)}(t))d=()=>ve(kr(t.useExisting));else{const b=kr(t&&(t.useClass||t.provide));if(!function rD(t){return!!t.deps}(t))return bl(b)||Km(b);d=()=>new b(...Tn(t.deps))}return d}function hc(t,r,a=!1){return{factory:t,value:r,multi:a?[]:void 0}}function Zm(t,r){for(const a of t)Array.isArray(a)?Zm(a,r):a&&ic(a)?Zm(a.\u0275providers,r):r(a)}function Jm(t,r){t instanceof dc&&t.assertNotDestroyed();const d=O(t),b=Ko(void 0);try{return r()}finally{O(d),Ko(b)}}function Cl(t){if(!jd()&&!function Di(){return Xa}())throw new zt(-203,!1)}var Ml=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}(Ml||{});function na(t){const r=Ut.ng;if(r&&r.\u0275compilerFacade)return r.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const Bb={\u0275\u0275defineInjectable:si,\u0275\u0275defineInjector:Va,\u0275\u0275inject:ve,\u0275\u0275invalidFactoryDep:Oe,resolveForwardRef:kr},rh=Function;function fc(t){return"function"==typeof t}const aD=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,$a=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,sD=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,Js=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class jb{constructor(r){this._reflect=r||Ut.Reflect}factory(r){return(...a)=>new r(...a)}_zipTypesAndAnnotations(r,a){let d;d=Ds(typeof r>"u"?a.length:r.length);for(let b=0;b"u"?[]:r[b]&&r[b]!=Object?[r[b]]:[],a&&null!=a[b]&&(d[b]=d[b].concat(a[b]));return d}_ownParameters(r,a){if(function lD(t){return aD.test(t)||Js.test(t)||$a.test(t)&&!sD.test(t)}(r.toString()))return null;if(r.parameters&&r.parameters!==a.parameters)return r.parameters;const b=r.ctorParameters;if(b&&b!==a.ctorParameters){const z="function"==typeof b?b():b,te=z.map(Ke=>Ke&&Ke.type),De=z.map(Ke=>Ke&&Xm(Ke.decorators));return this._zipTypesAndAnnotations(te,De)}const I=r.hasOwnProperty(uc)&&r[uc],U=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",r);return U||I?this._zipTypesAndAnnotations(U,I):Ds(r.length)}parameters(r){if(!fc(r))return[];const a=ih(r);let d=this._ownParameters(r,a);return!d&&a!==Object&&(d=this.parameters(a)),d||[]}_ownAnnotations(r,a){if(r.annotations&&r.annotations!==a.annotations){let d=r.annotations;return"function"==typeof d&&d.annotations&&(d=d.annotations),d}return r.decorators&&r.decorators!==a.decorators?Xm(r.decorators):r.hasOwnProperty(Ti)?r[Ti]:null}annotations(r){if(!fc(r))return[];const a=ih(r),d=this._ownAnnotations(r,a)||[];return(a!==Object?this.annotations(a):[]).concat(d)}_ownPropMetadata(r,a){if(r.propMetadata&&r.propMetadata!==a.propMetadata){let d=r.propMetadata;return"function"==typeof d&&d.propMetadata&&(d=d.propMetadata),d}if(r.propDecorators&&r.propDecorators!==a.propDecorators){const d=r.propDecorators,b={};return Object.keys(d).forEach(I=>{b[I]=Xm(d[I])}),b}return r.hasOwnProperty(Fa)?r[Fa]:null}propMetadata(r){if(!fc(r))return{};const a=ih(r),d={};if(a!==Object){const I=this.propMetadata(a);Object.keys(I).forEach(U=>{d[U]=I[U]})}const b=this._ownPropMetadata(r,a);return b&&Object.keys(b).forEach(I=>{const U=[];d.hasOwnProperty(I)&&U.push(...d[I]),U.push(...b[I]),d[I]=U}),d}ownPropMetadata(r){return fc(r)&&this._ownPropMetadata(r,ih(r))||{}}hasLifecycleHook(r,a){return r instanceof rh&&a in r.prototype}}function Xm(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 Hb{constructor(r,a,d){this.previousValue=r,this.currentValue=a,this.firstChange=d}isFirstChange(){return this.firstChange}}function Vb(t,r,a,d){null!==r?r.applyValueToInputSignal(r,d):t[a]=d}function qm(){return Yb}function Yb(t){return t.type.prototype.ngOnChanges&&(t.setInput=mc),cD}function cD(){const t=zb(this),r=t?.current;if(r){const a=t.previous;if(a===Tr)t.previous=r;else for(let d in r)a[d]=r[d];t.current=null,this.ngOnChanges(r)}}function mc(t,r,a,d,b){const I=this.declaredInputs[d],U=zb(t)||function Wb(t,r){return t[$b]=r}(t,{previous:Tr,current:null}),z=U.current||(U.current={}),te=U.previous,De=te[I];z[I]=new Hb(De&&De.currentValue,a,te===Tr),Vb(t,r,b,a)}qm.ngInherit=!0;const $b="__ngSimpleChanges__";function zb(t){return t[$b]||null}const ps=function(t,r,a){};function oh(t,r){for(let a=r.directiveStart,d=r.directiveEnd;a=d)break}else r[te]<0&&(t[Rr]+=65536),(z>14>16&&(3&t[Jn])===r&&(t[Jn]+=16384,tg(z,I)):tg(z,I)}const Sl=-1;class Ou{constructor(r,a,d){this.factory=r,this.resolving=!1,this.canSeeViewProviders=a,this.injectImpl=d}}function hD(t){return null!=t&&"object"==typeof t&&(null===t.insertBeforeIndex||"number"==typeof t.insertBeforeIndex||Array.isArray(t.insertBeforeIndex))}function ng(t){return t!==Sl}function Lu(t){return 32767&t}function Ru(t,r){let a=function ts(t){return t>>16}(t),d=r;for(;a>0;)d=d[vo],a--;return d}let lh=!0;function ch(t){const r=lh;return lh=t,r}const Zb=255,uh=5;let gD=0;const za={};function pc(t,r){const a=Jb(t,r);if(-1!==a)return a;const d=r[xn];d.firstCreatePass&&(t.injectorIndex=r.length,ig(d.data,t),ig(r,null),ig(d.blueprint,null));const b=dh(t,r),I=t.injectorIndex;if(ng(b)){const U=Lu(b),z=Ru(b,r),te=z[xn].data;for(let De=0;De<8;De++)r[I+De]=z[U+De]|te[U+De]}return r[I+8]=b,I}function ig(t,r){t.push(0,0,0,0,0,0,0,0,r)}function Jb(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 a=0,d=null,b=r;for(;null!==b;){if(d=ay(b),null===d)return Sl;if(a++,b=b[vo],-1!==d.injectorIndex)return d.injectorIndex|a<<16}return Sl}function og(t,r,a){!function pD(t,r,a){let d;"string"==typeof a?d=a.charCodeAt(0)||0:a.hasOwnProperty(ii)&&(d=a[ii]),null==d&&(d=a[ii]=gD++);const b=d&Zb;r.data[t+(b>>uh)]|=1<=0?r&Zb:iy:r}(a);if("function"==typeof I){if(!Cn(r,t,d))return d&ft.Host?Xb(b,0,d):qb(r,a,d,b);try{let U;if(U=I(d),null!=U||d&ft.Optional)return U;Cu()}finally{ho()}}else if("number"==typeof I){let U=null,z=Jb(t,r),te=Sl,De=d&ft.Host?r[ri][pi]:null;for((-1===z||d&ft.SkipSelf)&&(te=-1===z?dh(t,r):r[z+8],te!==Sl&&ry(d,!1)?(U=r[xn],z=Lu(te),r=Ru(te,r)):z=-1);-1!==z;){const Ke=r[xn];if(ny(I,z,Ke.data)){const bt=vD(z,r,a,U,d,De);if(bt!==za)return bt}te=r[z+8],te!==Sl&&ry(d,r[xn].data[z+8]===De)&&ny(I,z,r)?(U=Ke,z=Lu(te),r=Ru(te,r)):z=-1}}return b}function vD(t,r,a,d,b,I){const U=r[xn],z=U.data[t+8],Ke=hh(z,U,a,null==d?Fi(z)&&lh:d!=U&&0!=(3&z.type),b&ft.Host&&I===z);return null!==Ke?Os(r,U,Ke,z):za}function hh(t,r,a,d,b){const I=t.providerIndexes,U=r.data,z=1048575&I,te=t.directiveStart,Ke=I>>20,Bt=b?z+Ke:t.directiveEnd;for(let Zt=d?z:z+Ke;Zt=te&&pn.type===a)return Zt}if(b){const Zt=U[te];if(Zt&&Gi(Zt)&&Zt.type===a)return te}return null}function Os(t,r,a,d){let b=t[a];const I=r.data;if(function Qb(t){return t instanceof Ou}(b)){const U=b;U.resolving&&function Bd(t,r){throw r&&r.join(" > "),new zt(-200,t)}($i(I[a]));const z=ch(U.canSeeViewProviders);U.resolving=!0;const De=U.injectImpl?Ko(U.injectImpl):null;Cn(t,d,ft.Default);try{b=t[a]=U.factory(void 0,I,t,d),r.firstCreatePass&&a>=d.directiveStart&&function dD(t,r,a){const{ngOnChanges:d,ngOnInit:b,ngDoCheck:I}=r.type.prototype;if(d){const U=Yb(r);(a.preOrderHooks??=[]).push(t,U),(a.preOrderCheckHooks??=[]).push(t,U)}b&&(a.preOrderHooks??=[]).push(0-t,b),I&&((a.preOrderHooks??=[]).push(t,I),(a.preOrderCheckHooks??=[]).push(t,I))}(a,I[a],r)}finally{null!==De&&Ko(De),ch(z),U.resolving=!1,ho()}}return b}function ny(t,r,a){return!!(a[r+(t>>uh)]&1<{const r=t.prototype.constructor,a=r[dr]||ag(r),d=Object.prototype;let b=Object.getPrototypeOf(t.prototype).constructor;for(;b&&b!==d;){const I=b[dr]||ag(b);if(I&&I!==a)return I;b=Object.getPrototypeOf(b)}return I=>new I})}function ag(t){return Ya(t)?()=>{const r=ag(kr(t));return r&&r()}:bl(t)}function ay(t){const r=t[xn],a=r.type;return 2===a?r.declTNode:1===a?t[pi]:null}function fh(t){return function _D(t,r){if("class"===r)return t.classes;if("style"===r)return t.styles;const a=t.attrs;if(a){const d=a.length;let b=0;for(;b({attributeName:t,__NG_ELEMENT_ID__:()=>fh(t)}));let sy=null;function lg(){return sy=sy||new jb}function mh(t){return ly(lg().parameters(t))}function ly(t){return t.map(r=>function cy(t){const r={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(t)&&t.length>0)for(let a=0;afunction CD(t,r){let a=null,d=null;t.hasOwnProperty(_i)||Object.defineProperty(t,_i,{get:()=>(null===a&&(a=na().compileInjectable(Bb,`ng:///${t.name}/\u0275prov.js`,function MD(t,r){const a=r||{providedIn:null},d={name:t.name,type:t,typeArgumentCount:0,providedIn:a.providedIn};return(cg(a)||hy(a))&&void 0!==a.deps&&(d.deps=ly(a.deps)),cg(a)?d.useClass=a.useClass:function dy(t){return uy in t}(a)?d.useValue=a.useValue:hy(a)?d.useFactory=a.useFactory:function fy(t){return void 0!==t.useExisting}(a)&&(d.useExisting=a.useExisting),d}(t,r))),a)}),t.hasOwnProperty(dr)||Object.defineProperty(t,dr,{get:()=>{if(null===d){const b=na();d=b.compileFactory(Bb,`ng:///${t.name}/\u0275fac.js`,{name:t.name,type:t,typeArgumentCount:0,deps:mh(t),target:b.FactoryTarget.Injectable})}return d},configurable:!0})}(t,r));function gh(t,r=null,a=null,d){const b=gy(t,r,a,d);return b.resolveInjectorInitializers(),b}function gy(t,r=null,a=null,d,b=new Set){const I=[a||lr,fa(t)];return d=d||("object"==typeof t?void 0:$t(t)),new dc(I,r||xs(),d||null,b)}let Na=(()=>{class t{static#e=this.THROW_IF_NOT_FOUND=gl;static#t=this.NULL=new Zd;static create(a,d){if(Array.isArray(a))return gh({name:""},d,a,"");{const b=a.name??"";return gh({name:b},a.parent,a.providers,b)}}static#n=this.\u0275prov=si({token:t,providedIn:"any",factory:()=>ve(Qd)});static#r=this.__NG_ELEMENT_ID__=-1}return t})();function ph(t){return t.ngOriginalError}class Ua{constructor(){this._console=console}handleError(r){const a=this._findOriginalError(r);this._console.error("ERROR",r),a&&this._console.error("ORIGINAL ERROR",a)}_findOriginalError(r){let a=r&&ph(r);for(;a&&ph(a);)a=ph(a);return a||null}}const _y=new oe("",{providedIn:"root",factory:()=>tt(Ua).handleError.bind(void 0)}),bc=new oe(""),ug=new oe("",{providedIn:"root",factory:()=>!1});let Fu,vh;function _h(){if(void 0===Fu&&(Fu=null,Ut.trustedTypes))try{Fu=Ut.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Fu}function El(t){return _h()?.createHTML(t)||t}function dg(){if(void 0===vh&&(vh=null,Ut.trustedTypes))try{vh=Ut.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return vh}function by(t){return dg()?.createHTML(t)||t}function yy(t){return dg()?.createScript(t)||t}function Cy(t){return dg()?.createScriptURL(t)||t}class wl{constructor(r){this.changingThisBreaksApplicationSecurity=r}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${vn})`}}class hg extends wl{getTypeName(){return"HTML"}}class DD extends wl{getTypeName(){return"Style"}}class TD extends wl{getTypeName(){return"Script"}}class ID extends wl{getTypeName(){return"URL"}}class yc extends wl{getTypeName(){return"ResourceURL"}}function Ls(t){return t instanceof wl?t.changingThisBreaksApplicationSecurity:t}function Dl(t,r){const a=My(t);if(null!=a&&a!==r){if("ResourceURL"===a&&"URL"===r)return!0;throw new Error(`Required a safe ${r}, got a ${a} (see ${vn})`)}return a===r}function My(t){return t instanceof wl&&t.getTypeName()||null}function Sy(t){return new hg(t)}function AD(t){return new DD(t)}function PD(t){return new TD(t)}function kD(t){return new ID(t)}function fg(t){return new yc(t)}function Ey(t){const r=new xD(t);return function mg(){try{return!!(new window.DOMParser).parseFromString(El(""),"text/html")}catch{return!1}}()?new wy(r):r}class wy{constructor(r){this.inertDocumentHelper=r}getInertBodyElement(r){r=""+r;try{const a=(new window.DOMParser).parseFromString(El(r),"text/html").body;return null===a?this.inertDocumentHelper.getInertBodyElement(r):(a.removeChild(a.firstChild),a)}catch{return null}}}class xD{constructor(r){this.defaultDoc=r,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(r){const a=this.inertDocument.createElement("template");return a.innerHTML=El(r),a}}const OD=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function bh(t){return(t=String(t)).match(OD)?t:"unsafe:"+t}function Rs(t){const r={};for(const a of t.split(","))r[a]=!0;return r}function Cc(...t){const r={};for(const a of t)for(const d in a)a.hasOwnProperty(d)&&(r[d]=!0);return r}const Dy=Rs("area,br,col,hr,img,wbr"),Xs=Rs("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ty=Rs("rp,rt"),gg=Cc(Dy,Cc(Xs,Rs("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")),Cc(Ty,Rs("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")),Cc(Ty,Xs)),pg=Rs("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Iy=Cc(pg,Rs("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"),Rs("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=Rs("script,style,template");class FD{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(r){let a=r.firstChild,d=!0;for(;a;)if(a.nodeType===Node.ELEMENT_NODE?d=this.startElement(a):a.nodeType===Node.TEXT_NODE?this.chars(a.nodeValue):this.sanitizedSomething=!0,d&&a.firstChild)a=a.firstChild;else for(;a;){a.nodeType===Node.ELEMENT_NODE&&this.endElement(a);let b=this.checkClobberedElement(a,a.nextSibling);if(b){a=b;break}a=this.checkClobberedElement(a,a.parentNode)}return this.buf.join("")}startElement(r){const a=r.nodeName.toLowerCase();if(!gg.hasOwnProperty(a))return this.sanitizedSomething=!0,!RD.hasOwnProperty(a);this.buf.push("<"),this.buf.push(a);const d=r.attributes;for(let b=0;b"),!0}endElement(r){const a=r.nodeName.toLowerCase();gg.hasOwnProperty(a)&&!Dy.hasOwnProperty(a)&&(this.buf.push(""))}chars(r){this.buf.push(Tl(r))}checkClobberedElement(r,a){if(a&&(r.compareDocumentPosition(a)&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 a}}const ND=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,UD=/([^\#-~ |!])/g;function Tl(t){return t.replace(/&/g,"&").replace(ND,function(r){return"&#"+(1024*(r.charCodeAt(0)-55296)+(r.charCodeAt(1)-56320)+65536)+";"}).replace(UD,function(r){return"&#"+r.charCodeAt(0)+";"}).replace(//g,">")}let Fs;function Ay(t,r){let a=null;try{Fs=Fs||Ey(t);let d=r?String(r):"";a=Fs.getInertBodyElement(d);let b=5,I=d;do{if(0===b)throw new Error("Failed to sanitize html because the input is unstable");b--,d=I,I=a.innerHTML,a=Fs.getInertBodyElement(d)}while(d!==I);return El((new FD).sanitizeChildren(yh(a)||a))}finally{if(a){const d=yh(a)||a;for(;d.firstChild;)d.removeChild(d.firstChild)}}}function yh(t){return"content"in t&&function BD(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Il=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}(Il||{});function _g(t){const r=Nu();return r?by(r.sanitize(Il.HTML,t)||""):Dl(t,"HTML")?by(Ls(t)):Ay(ta(),zr(t))}function vg(t){const r=Nu();return r?r.sanitize(Il.STYLE,t)||"":Dl(t,"Style")?Ls(t):zr(t)}function bg(t){const r=Nu();return r?r.sanitize(Il.URL,t)||"":Dl(t,"URL")?Ls(t):bh(zr(t))}function Ch(t){const r=Nu();if(r)return Cy(r.sanitize(Il.RESOURCE_URL,t)||"");if(Dl(t,"ResourceURL"))return Cy(Ls(t));throw new zt(904,!1)}function yg(t){const r=Nu();if(r)return yy(r.sanitize(Il.SCRIPT,t)||"");if(Dl(t,"Script"))return yy(Ls(t));throw new zt(905,!1)}function Py(t){return El(t[0])}function Cg(t){return function wD(t){return _h()?.createScriptURL(t)||t}(t[0])}function Ns(t,r,a){return function jD(t,r){return"src"===r&&("embed"===t||"frame"===t||"iframe"===t||"media"===t||"script"===t)||"href"===r&&("base"===t||"link"===t)?Ch:bg}(r,a)(t)}function Nu(){const t=Sn();return t&&t[ji].sanitizer}const HD=/^>|^->||--!>|)/g,VD="\u200b$1\u200b";const Sh=new Map;let GD=0;function Sg(t){return Sh.get(t)||null}class Eh{get lView(){return Sg(this.lViewId)}constructor(r,a,d){this.lViewId=r,this.nodeIndex=a,this.native=d}}function Ma(t){let r=Al(t);if(r){if(Vi(r)){const a=r;let d,b,I;if(Pl(t)){if(d=function Eg(t,r){const a=t[xn].components;if(a)for(let d=0;d=0){const z=$r(I[U]),te=Uu(I,U,z);_a(z,te),r=te;break}}}}return r||null}function Uu(t,r,a){return new Eh(t[Pn],r,a)}const Bu="__ngContext__";function _a(t,r){Vi(r)?(t[Bu]=r[Pn],function QD(t){Sh.set(t[Pn],t)}(r)):t[Bu]=r}function Al(t){const r=t[Bu];return"number"==typeof r?Sg(r):r||null}function Pl(t){return t&&t.constructor&&t.constructor.\u0275cmp}function Ry(t,r){const a=t[xn];for(let d=pr;dr.replace(ky,VD))}(r))}function Ah(t,r,a){return t.createElement(r,a)}function Wy(t,r){Lh(t,r,r[yr],2,null,null)}function Rg(t,r){const a=t[uo],d=a.indexOf(r);a.splice(d,1)}function ju(t,r){if(t.length<=Yr)return;const a=Yr+r,d=t[a];if(d){const b=d[ro];null!==b&&b!==t&&Rg(b,d),r>0&&(t[a-1][Bn]=d[Bn]);const I=Ws(t,Yr+r);!function i1(t,r){Wy(t,r),r[Ur]=null,r[pi]=null}(d[xn],d);const U=I[oo];null!==U&&U.detachView(I[xn]),d[Gr]=null,d[Bn]=null,d[Jn]&=-129}return d}function Ph(t,r){if(!(256&r[Jn])){const a=r[yr];a.destroyNode&&Lh(t,r,a,3,null,null),function a1(t){let r=t[Ji];if(!r)return Fg(t[xn],t);for(;r;){let a=null;if(Vi(r))a=r[Ji];else{const d=r[Yr];d&&(a=d)}if(!a){for(;r&&!r[Bn]&&r!==t;)Vi(r)&&Fg(r[xn],r),r=r[Gr];null===r&&(r=t),Vi(r)&&Fg(r[xn],r),a=r&&r[Bn]}r=a}}(r)}}function Fg(t,r){if(!(256&r[Jn])){r[Jn]&=-129,r[Jn]|=256,r[ai]&&N(r[ai]),function c1(t,r){let a;if(null!=t&&null!=(a=t.destroyHooks))for(let d=0;d=0?d[U]():d[-U].unsubscribe(),I+=2}else a[I].call(d[a[I+1]]);null!==d&&(r[qr]=null);const b=r[gi];if(null!==b){r[gi]=null;for(let I=0;I-1){const{encapsulation:I}=t.data[d.directiveStart+b];if(I===gt.None||I===gt.Emulated)return null}return io(d,a)}}function xl(t,r,a,d,b){t.insertBefore(r,a,d,b)}function Qy(t,r,a){t.appendChild(r,a)}function Ng(t,r,a,d,b){null!==d?xl(t,r,a,d,b):Qy(t,r,a)}function kh(t,r){return t.parentNode(r)}function Jy(t,r,a){return Xy(t,r,a)}function Ug(t,r,a){return 40&t.type?io(t,a):null}let Bg,Xy=Ug;function qy(t,r){Xy=t,Bg=r}function xh(t,r,a,d){const b=Hu(t,d,r),I=r[yr],z=Jy(d.parent||r[pi],d,r);if(null!=b)if(Array.isArray(a))for(let te=0;tepr&&oC(t,r,pr,!1),ps(U?2:0,b),a(d,b)}finally{Yi(I),ps(U?3:1,b)}}function Rh(t,r,a){if(Uo(r)){const d=o(null);try{const I=r.directiveEnd;for(let U=r.directiveStart;Unull;function y1(t){ul(t)?Hg(t):function Jw(t){const r=ta(),a=r.createNodeIterator(t,NodeFilter.SHOW_COMMENT,{acceptNode(I){const U=function Zw(t){return t.textContent?.replace(/\s/gm,"")}(I);return"ngetn"===U||"ngtns"===U?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let d;const b=[];for(;d=a.nextNode();)b.push(d);for(const I of b)"ngetn"===I.textContent?I.replaceWith(r.createTextNode("")):I.remove()}(t)}function Nh(t,r,a,d,b){for(let I in r){if(!r.hasOwnProperty(I))continue;const U=r[I];if(void 0===U)continue;d??={};let z,te=rt.None;Array.isArray(U)?(z=U[0],te=U[1]):z=U;let De=I;if(null!==b){if(!b.hasOwnProperty(I))continue;De=b[I]}0===t?dC(d,a,De,z,te):dC(d,a,De,z)}return d}function dC(t,r,a,d,b){let I;t.hasOwnProperty(a)?(I=t[a]).push(r,d):I=t[a]=[r,d],void 0!==b&&I.push(b)}function Sa(t,r,a,d,b,I,U,z){const te=io(r,a);let Ke,De=r.inputs;!z&&null!=De&&(Ke=De[d])?(Zg(t,a,Ke,d,b),Fi(r)&&function E1(t,r){const a=qi(r,t);16&a[Jn]||(a[Jn]|=64)}(a,r.index)):3&r.type&&(d=function S1(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(d),b=null!=U?U(b,r.value||"",d):b,I.setProperty(te,d,b))}function Wg(t,r,a,d){if(fr()){const b=null===d?null:{"":-1},I=function Yu(t,r){const a=t.directiveRegistry;let d=null,b=null;if(a)for(let I=0;I0;){const a=t[--r];if("number"==typeof a&&a<0)return a}return 0})(U)!=z&&U.push(z),U.push(a,d,I)}}(t,r,d,Vu(t,a,b.hostVars,li),b)}function vs(t,r,a,d,b,I){const U=io(t,r);Tc(r[yr],U,I,t.value,a,d,b)}function Tc(t,r,a,d,b,I,U){if(null==I)t.removeAttribute(r,b,a);else{const z=null==U?zr(I):U(I,d||"",b);t.setAttribute(r,b,z,a)}}function k1(t,r,a,d,b,I){const U=I[r];if(null!==U)for(let z=0;z0&&(a[b-1][Bn]=r),d{Ge(t.lView)},consumerOnSignalRead(){this.lView[ai]=this}};function Gu(t){return wC(t[Ji])}function EC(t){return wC(t[Bn])}function wC(t){for(;null!==t&&!ei(t);)t=t[Bn];return t}function Ac(t,r=!0,a=0){const d=t[ji],b=d.rendererFactory;b.begin?.();try{!function N1(t,r){ip(t,r);let a=0;for(;ee(t);){if(100===a)throw new zt(103,!1);a++,ip(t,1)}}(t,a)}catch(U){throw r&&Vh(t,U),U}finally{b.end?.(),d.inlineEffectRunner?.flush()}}function B1(t,r,a,d){const b=r[Jn];if(256==(256&b))return;r[ji].inlineEffectRunner?.flush(),An(r);let U=null,z=null;(function np(t){return 2!==t.type})(t)&&(z=function Yh(t){return t[ai]??function L1(t){const r=tp.pop()??Object.create(R1);return r.lView=t,r}(t)}(r),U=w(z));try{ma(r),Wn(t.bindingStartIndex),null!==a&&lC(t,r,a,2,d);const te=3==(3&b);if(te){const bt=t.preOrderCheckHooks;null!==bt&&ah(r,bt,null)}else{const bt=t.preOrderHooks;null!==bt&&gc(r,bt,0,null),xu(r,0)}if(function IC(t){for(let r=Gu(t);null!==r;r=EC(r)){if(!(r[Jn]&So.HasTransplantedViews))continue;const a=r[uo];for(let d=0;d-1&&(ju(r,d),Ws(a,d))}this._attachedToViewContainer=!1}Ph(this._lView[xn],this._lView)}onDestroy(r){Ct(this._lView,r)}markForCheck(){Ku(this._cdRefInjectingView||this._lView)}detach(){this._lView[Jn]&=-129}reattach(){ye(this._lView),this._lView[Jn]|=128}detectChanges(){this._lView[Jn]|=1024,Ac(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new zt(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Wy(this._lView[xn],this._lView)}attachToAppRef(r){if(this._attachedToViewContainer)throw new zt(902,!1);this._appRef=r,ye(this._lView)}}let Qu=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=V1}return t})();const $h=Qu,H1=class extends $h{constructor(r,a,d){super(),this._declarationLView=r,this._declarationTContainer=a,this.elementRef=d}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(r,a){return this.createEmbeddedViewImpl(r,a)}createEmbeddedViewImpl(r,a,d){const b=$u(this._declarationLView,this._declarationTContainer,r,{injector:a,dehydratedView:d});return new Ol(b)}};function V1(){return zh(Qr(),Sn())}function zh(t,r){return 4&t.type?new H1(r,t,qo(t,r)):null}const Wh="<-- AT THIS LOCATION";function W1(t){const d=`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 a="";const d=t;return d.previousSibling&&(a+=" \u2026\n",a+=r+Pc(d.previousSibling)+"\n"),a+=r+Pc(d)+` ${Wh}\n`,t.nextSibling&&(a+=" \u2026\n"),t.parentNode&&(a=Pc(d.parentNode,"\n"+a)),a}(t)}\n\nNote: attributes are only displayed to better represent the DOM but have no effect on hydration mismatches.\n\n`;return new zt(-503,d)}const K1=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 d=function G1(t){const r=[];if(t.attrs)for(let a=0;a${r}`;case 8:return"\x3c!-- ng-container --\x3e";case 4:return"\x3c!-- container --\x3e";default:return`#node(${function Y1(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 Pc(t,r="\u2026"){const a=t;switch(a.nodeType){case Node.ELEMENT_NODE:const d=a.tagName.toLowerCase(),b=function xC(t){const r=[];for(let a=0;a${r}`;case Node.TEXT_NODE:const I=a.textContent?kc(a.textContent):"";return"#text"+(I?`(${I})`:"");case Node.COMMENT_NODE:return`\x3c!-- ${kc(a.textContent??"")} --\x3e`;default:return`#node(${a.nodeType})`}}function kc(t,r=50){return t?(t=function Q1(t){return t.replace(/\s+/gm,"")}(t)).length>r?`${t.substring(0,r-1)}\u2026`:t:""}function LC(t){const r=t[Ai]??[],d=t[Gr][yr];for(const b of r)Z1(b,d);t[Ai]=lr}function Z1(t,r){let a=0,d=t.firstChild;if(d){const b=t.data[sc];for(;a0&&a[b-1]===d?a[b]=(a[b]||1)+1:a.push(d,"")}return a.join("")}(a,d)}function NC(t,r){let d,b,I,a=t.parent;for(;null!==a&&Xu(a,r);)a=a.parent;null!==a&&3&a.type?(d=a.index,b=$r(r[d]),I=zr(d-pr)):(d=I=Om,b=r[ri][Ur]);let U=$r(r[t.index]);if(12&t.type){const te=wc(r,t);te&&(U=te)}let z=FC(b,U,I);if(null===z&&b!==U&&(z=FC(b.ownerDocument.body,U,Lm),null===z))throw function z1(t,r){const d=`${function ap(t,r,a){const d=" ";let b="";r.prev?(b+=" \u2026\n",b+=d+op(r.prev)+"\n"):r.type&&12&r.type&&(b+=" \u2026\n"),a?(b+=d+op(r)+"\n",b+=d+`\x3c!-- container --\x3e ${Wh}\n`):b+=d+op(r)+` ${Wh}\n`,b+=" \u2026\n";const I=r.type?Hu(t[xn],r,t):null;return I&&(b=Pc(I,"\n"+b)),b}(t,r,!1)}\n\n`,b=function Zu(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 zt(-502,"During serialization, Angular was unable to find an element in the DOM:\n\n"+d+b)}(r,t);return z}let up=()=>null;function rT(t,r){const a=t[Ai];return r&&null!==a&&0!==a.length?a[0].data[_l]===r?a.shift():(LC(t),null):null}function Ll(t,r){return up(t,r)}class hp{}class Jh{}class qu{}class oT{resolveComponentFactory(r){throw function iT(t){const r=Error(`No component factory found for ${$t(t)}.`);return r.ngComponent=t,r}(r)}}let ed=(()=>{class t{static#e=this.NULL=new oT}return t})();class UC{}let fp=(()=>{class t{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function aT(){const t=Sn(),a=qi(Qr().index,t);return(Vi(a)?a:t)[yr]}()}return t})(),mp=(()=>{class t{static#e=this.\u0275prov=si({token:t,providedIn:"root",factory:()=>null})}return t})();const td={};function gp(t){return"function"==typeof t&&void 0!==t[e]}const BC=new Set;function Wa(t){BC.has(t)||(BC.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function sT(t,r){Wa("NgSignals");const a=H(t);return r?.equal&&(a[e].equal=r.equal),a}function lT(t){return null}function Po(t,r){Wa("NgSignals");const a=function Le(t){const r=Object.create(Ce);r.value=t;const a=()=>(E(r),r.value);return a[e]=r,a}(t),d=a[e];return r?.equal&&(d.equal=r.equal),a.set=b=>_e(d,b),a.update=b=>function Fe(t,r){C()||ct(),_e(t,r(t.value))}(d,b),a.asReadonly=cT.bind(a),a}function cT(){const t=this[e];if(void 0===t.readonlyFn){const r=()=>this();r[e]=t,t.readonlyFn=r}return t.readonlyFn}function Xh(t){return gp(t)&&"function"==typeof t.set}function uT(t){const r=o(null);try{return t()}finally{o(r)}}function qh(t){return!!nd(t)&&(Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t)}function nd(t){return null!==t&&("function"==typeof t||"object"==typeof t)}class pp{constructor(){}supports(r){return qh(r)}create(r){return new YC(r)}}const hT=(t,r)=>r;class YC{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||hT}forEachItem(r){let a;for(a=this._itHead;null!==a;a=a._next)r(a)}forEachOperation(r){let a=this._itHead,d=this._removalsHead,b=0,I=null;for(;a||d;){const U=!d||a&&a.currentIndex<$C(d,b,I)?a:d,z=$C(U,b,I),te=U.currentIndex;if(U===d)b--,d=d._nextRemoved;else if(a=a._next,null==U.previousIndex)b++;else{I||(I=[]);const De=z-b,Ke=te-b;if(De!=Ke){for(let Bt=0;Bt{U=this._trackByFn(b,z),null!==a&&Object.is(a.trackById,U)?(d&&(a=this._verifyReinsertion(a,z,U,b)),Object.is(a.item,z)||this._addIdentityChange(a,z)):(a=this._mismatch(a,z,U,b),d=!0),a=a._next,b++}),this.length=b;return this._truncate(a),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,a,d,b){let I;return null===r?I=this._itTail:(I=r._prev,this._remove(r)),null!==(r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(d,null))?(Object.is(r.item,a)||this._addIdentityChange(r,a),this._reinsertAfter(r,I,b)):null!==(r=null===this._linkedRecords?null:this._linkedRecords.get(d,b))?(Object.is(r.item,a)||this._addIdentityChange(r,a),this._moveAfter(r,I,b)):r=this._addAfter(new _p(a,d),I,b),r}_verifyReinsertion(r,a,d,b){let I=null===this._unlinkedRecords?null:this._unlinkedRecords.get(d,null);return null!==I?r=this._reinsertAfter(I,r._prev,b):r.currentIndex!=b&&(r.currentIndex=b,this._addToMoves(r,b)),r}_truncate(r){for(;null!==r;){const a=r._next;this._addToRemovals(this._unlink(r)),r=a}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,a,d){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(r);const b=r._prevRemoved,I=r._nextRemoved;return null===b?this._removalsHead=I:b._nextRemoved=I,null===I?this._removalsTail=b:I._prevRemoved=b,this._insertAfter(r,a,d),this._addToMoves(r,d),r}_moveAfter(r,a,d){return this._unlink(r),this._insertAfter(r,a,d),this._addToMoves(r,d),r}_addAfter(r,a,d){return this._insertAfter(r,a,d),this._additionsTail=null===this._additionsTail?this._additionsHead=r:this._additionsTail._nextAdded=r,r}_insertAfter(r,a,d){const b=null===a?this._itHead:a._next;return r._next=b,r._prev=a,null===b?this._itTail=r:b._prev=r,null===a?this._itHead=r:a._next=r,null===this._linkedRecords&&(this._linkedRecords=new vp),this._linkedRecords.put(r),r.currentIndex=d,r}_remove(r){return this._addToRemovals(this._unlink(r))}_unlink(r){null!==this._linkedRecords&&this._linkedRecords.remove(r);const a=r._prev,d=r._next;return null===a?this._itHead=d:a._next=d,null===d?this._itTail=a:d._prev=a,r}_addToMoves(r,a){return r.previousIndex===a||(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,a){return r.item=a,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=r:this._identityChangesTail._nextIdentityChange=r,r}}class _p{constructor(r,a){this.item=r,this.trackById=a,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 fT{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,a){let d;for(d=this._head;null!==d;d=d._nextDup)if((null===a||a<=d.currentIndex)&&Object.is(d.trackById,r))return d;return null}remove(r){const a=r._prevDup,d=r._nextDup;return null===a?this._head=d:a._nextDup=d,null===d?this._tail=a:d._prevDup=a,null===this._head}}class vp{constructor(){this.map=new Map}put(r){const a=r.trackById;let d=this.map.get(a);d||(d=new fT,this.map.set(a,d)),d.add(r)}get(r,a){const b=this.map.get(r);return b?b.get(r,a):null}remove(r){const a=r.trackById;return this.map.get(a).remove(r)&&this.map.delete(a),r}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function $C(t,r,a){const d=t.previousIndex;if(null===d)return d;let b=0;return a&&d{if(a&&a.key===b)this._maybeAddToChanges(a,d),this._appendAfter=a,a=a._next;else{const I=this._getOrCreateRecordForKey(b,d);a=this._insertBeforeOrAppend(a,I)}}),a){a._prev&&(a._prev._next=null),this._removalsHead=a;for(let d=a;null!==d;d=d._nextRemoved)d===this._mapHead&&(this._mapHead=null),this._records.delete(d.key),d._nextRemoved=d._next,d.previousValue=d.currentValue,d.currentValue=null,d._prev=null,d._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(r,a){if(r){const d=r._prev;return a._next=r,a._prev=d,r._prev=a,d&&(d._next=a),r===this._mapHead&&(this._mapHead=a),this._appendAfter=r,r}return this._appendAfter?(this._appendAfter._next=a,a._prev=this._appendAfter):this._mapHead=a,this._appendAfter=a,null}_getOrCreateRecordForKey(r,a){if(this._records.has(r)){const b=this._records.get(r);this._maybeAddToChanges(b,a);const I=b._prev,U=b._next;return I&&(I._next=U),U&&(U._prev=I),b._next=null,b._prev=null,b}const d=new mT(r);return this._records.set(r,d),d.currentValue=a,this._addToAdditions(d),d}_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,a){Object.is(a,r.currentValue)||(r.previousValue=r.currentValue,r.currentValue=a,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,a){r instanceof Map?r.forEach(a):Object.keys(r).forEach(d=>a(r[d],d))}}class mT{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 bp(){return new yp([new pp])}let yp=(()=>{class t{static#e=this.\u0275prov=si({token:t,providedIn:"root",factory:bp});constructor(a){this.factories=a}static create(a,d){if(null!=d){const b=d.factories.slice();a=a.concat(b)}return new t(a)}static extend(a){return{provide:t,useFactory:d=>t.create(a,d||bp()),deps:[[t,new Gd,new Wd]]}}find(a){const d=this.factories.find(b=>b.supports(a));if(null!=d)return d;throw new zt(901,!1)}}return t})();function GC(){return new rd([new zC])}let rd=(()=>{class t{static#e=this.\u0275prov=si({token:t,providedIn:"root",factory:GC});constructor(a){this.factories=a}static create(a,d){if(d){const b=d.factories.slice();a=a.concat(b)}return new t(a)}static extend(a){return{provide:t,useFactory:d=>t.create(a,d||GC()),deps:[[t,new Gd,new Wd]]}}find(a){const d=this.factories.find(b=>b.supports(a));if(d)return d;throw new zt(901,!1)}}return t})();function KC(t,r){const a=qh(t),d=qh(r);return a&&d?function dT(t,r,a){const d=t[Symbol.iterator](),b=r[Symbol.iterator]();for(;;){const I=d.next(),U=b.next();if(I.done&&U.done)return!0;if(I.done||U.done||!a(I.value,U.value))return!1}}(t,r,KC):!(a||!t||"object"!=typeof t&&"function"!=typeof t||d||!r||"object"!=typeof r&&"function"!=typeof r)||Object.is(t,r)}let Cp=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=Oc}return t})();function Oc(t){return function pT(t,r,a){if(Fi(t)&&!a){const d=qi(t.index,r);return new Ol(d,d)}return 47&t.type?new Ol(r[ri],r):null}(Qr(),Sn(),16==(16&t))}const QC=[new zC],xa=new yp([new pp]),vT=new rd(QC);let Lc=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=ZC;static#t=this.__NG_ENV_ID__=a=>a}return t})();class bT extends Lc{constructor(r){super(),this._lView=r}onDestroy(r){return Ct(this._lView,r),()=>Lt(this._lView,r)}}function ZC(){return new bT(Sn())}function yT(t,r){if(null!==function h(){return u}())throw new zt(-602,!1)}const JC=new oe("",{providedIn:"root",factory:()=>tt(XC)});let XC=(()=>{class t{static#e=this.\u0275prov=si({token:t,providedIn:"root",factory:()=>new qC})}return t})();class qC{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 a=r.creationZone;this.queues.has(a)||this.queues.set(a,new Set);const d=this.queues.get(a);d.has(r)||(this.queuedEffectCount++,d.add(r))}flush(){for(;this.queuedEffectCount>0;)for(const[r,a]of this.queues)null===r?this.flushQueue(a):r.run(()=>this.flushQueue(a))}flushQueue(r){for(const a of r)r.delete(a),this.queuedEffectCount--,a.run()}}class CT{constructor(r,a,d,b,I,U){this.scheduler=r,this.effectFn=a,this.creationZone=d,this.injector=I,this.watcher=function Be(t,r,a){const d=Object.create(Ee);a&&(d.consumerAllowSignalWrites=!0),d.fn=t,d.schedule=r;const b=te=>{d.cleanupFn=te};return d.ref={notify:()=>_(d),run:()=>{if(null===d.fn)return;if(function v(){return c}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(d.dirty=!1,d.hasRun&&!L(d))return;d.hasRun=!0;const te=w(d);try{d.cleanupFn(),d.cleanupFn=re,d.fn(b)}finally{D(d,te)}},cleanup:()=>d.cleanupFn(),destroy:()=>function U(te){(function I(te){return null===te.fn&&null===te.schedule})(te)||(N(te),te.cleanupFn(),te.fn=null,te.schedule=null,te.cleanupFn=re)}(d),[e]:d},d.ref}(z=>this.runEffect(z),()=>this.schedule(),U),this.unregisterOnDestroy=b?.onDestroy(()=>this.destroy())}runEffect(r){try{this.effectFn(r)}catch(a){this.injector.get(Ua,null,{optional:!0})?.handleError(a)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function Mp(t,r){Wa("NgSignals"),!r?.injector&&Cl();const a=r?.injector??tt(Na),d=!0!==r?.manualCleanup?a.get(Lc):null,b=new CT(a.get(JC),t,typeof Zone>"u"?null:Zone.current,d,a,r?.allowSignalWrites??!1),I=a.get(Cp,null,{optional:!0});return I&&8&I._lView[Jn]?(I._lView[Hi]??=[]).push(b.watcher.notify):b.watcher.notify(),b}function e0(...t){}class No{constructor({enableLongStackTrace:r=!1,shouldCoalesceEventChangeDetection:a=!1,shouldCoalesceRunChangeDetection:d=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Te(!1),this.onMicrotaskEmpty=new Te(!1),this.onStable=new Te(!1),this.onError=new Te(!1),typeof Zone>"u")throw new zt(908,!1);Zone.assertZonePatched();const b=this;b._nesting=0,b._outer=b._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(b._inner=b._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(b._inner=b._inner.fork(Zone.longStackTraceZoneSpec)),b.shouldCoalesceEventChangeDetection=!d&&a,b.shouldCoalesceRunChangeDetection=d,b.lastRequestAnimationFrameId=-1,b.nativeRequestAnimationFrame=function ef(){const t="function"==typeof Ut.requestAnimationFrame;let r=Ut[t?"requestAnimationFrame":"setTimeout"],a=Ut[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&r&&a){const d=r[Zone.__symbol__("OriginalDelegate")];d&&(r=d);const b=a[Zone.__symbol__("OriginalDelegate")];b&&(a=b)}return{nativeRequestAnimationFrame:r,nativeCancelAnimationFrame:a}}().nativeRequestAnimationFrame,function ys(t){const r=()=>{!function ST(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(Ut,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Sp(t),t.isCheckStableRunning=!0,tf(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Sp(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(a,d,b,I,U,z)=>{if(function ET(t){return!(!Array.isArray(t)||1!==t.length)&&!0===t[0].data?.__ignore_ng_zone__}(z))return a.invokeTask(b,I,U,z);try{return id(t),a.invokeTask(b,I,U,z)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===I.type||t.shouldCoalesceRunChangeDetection)&&r(),t0(t)}},onInvoke:(a,d,b,I,U,z,te)=>{try{return id(t),a.invoke(b,I,U,z,te)}finally{t.shouldCoalesceRunChangeDetection&&r(),t0(t)}},onHasTask:(a,d,b,I)=>{a.hasTask(b,I),d===b&&("microTask"==I.change?(t._hasPendingMicrotasks=I.microTask,Sp(t),tf(t)):"macroTask"==I.change&&(t.hasPendingMacrotasks=I.macroTask))},onHandleError:(a,d,b,I)=>(a.handleError(b,I),t.runOutsideAngular(()=>t.onError.emit(I)),!1)})}(b)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!No.isInAngularZone())throw new zt(909,!1)}static assertNotInAngularZone(){if(No.isInAngularZone())throw new zt(909,!1)}run(r,a,d){return this._inner.run(r,a,d)}runTask(r,a,d,b){const I=this._inner,U=I.scheduleEventTask("NgZoneEvent: "+b,r,MT,e0,e0);try{return I.runTask(U,a,d)}finally{I.cancelTask(U)}}runGuarded(r,a,d){return this._inner.runGuarded(r,a,d)}runOutsideAngular(r){return this._outer.run(r)}}const MT={};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 Sp(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function id(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function t0(t){t._nesting--,tf(t)}class Ep{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Te,this.onMicrotaskEmpty=new Te,this.onStable=new Te,this.onError=new Te}run(r,a,d){return r.apply(a,d)}runGuarded(r,a,d){return r.apply(a,d)}runOutsideAngular(r){return r()}runTask(r,a,d,b){return r.apply(a,d)}}var el=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(el||{});const nf={destroy(){}};function rf(t,r){const a=r?.injector??tt(Na);(r?.runOnServer||qs(a))&&a.get(Rl).internalCallbacks.push(t)}function wp(t,r){!r&&Cl();const a=r?.injector??tt(Na);if(!qs(a))return nf;Wa("NgAfterRender");const d=a.get(Rl),b=d.handler??=new o0,I=r?.phase??el.MixedReadWrite,U=()=>{b.unregister(te),z()},z=a.get(Lc).onDestroy(U),te=new od(a,I,t);return b.register(te),{destroy:U}}function r0(t,r){!r&&Cl();const a=r?.injector??tt(Na);if(!qs(a))return nf;Wa("NgAfterNextRender");const d=a.get(Rl),b=d.handler??=new o0,I=r?.phase??el.MixedReadWrite,U=()=>{b.unregister(te),z()},z=a.get(Lc).onDestroy(U),te=new od(a,I,()=>{U(),t()});return b.register(te),{destroy:U}}class od{constructor(r,a,d){this.phase=a,this.callbackFn=d,this.zone=r.get(No),this.errorHandler=r.get(Ua,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(r){this.errorHandler?.handleError(r)}}}class o0{constructor(){this.executingCallbacks=!1,this.buckets={[el.EarlyRead]:new Set,[el.Write]:new Set,[el.MixedReadWrite]:new Set,[el.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 a of r)a.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 Rl=(()=>{class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const a=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const d of a)d()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=si({token:t,providedIn:"root",factory:()=>new t})}return t})();function Dp(t){return void 0!==t.ngModule}function tl(t){return!!hr(t)}function of(t){return!!Un(t)}function a0(t){return!!In(t)}function ad(t){return!!hn(t)}function DT(t,r){if(Ya(t)&&!(t=kr(t)))throw new Error(`Expected forwardRef function, imported from "${$i(r)}", to return a standalone entity or NgModule but got "${$i(t)||t}".`);if(null==hr(t)){const a=hn(t)||In(t)||Un(t);if(null==a)throw Dp(t)?new Error(`A module with providers was imported from "${$i(r)}". Modules with providers are not supported in standalone components imports.`):new Error(`The "${$i(t)}" type, imported from "${$i(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(!a.standalone)throw new Error(`The "${$i(t)}" ${function wT(t){return hn(t)?"component":In(t)?"directive":Un(t)?"pipe":"type"}(t)}, imported from "${$i(r)}", is not standalone. Did you forget to add the standalone: true flag?`)}}const sd=!0;class s0{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 a=hr(r);if(a?.declarations)for(const d of Ba(a.declarations))ad(d)&&this.ownerNgModule.set(d,r)}this.ngModulesWithSomeUnresolvedDecls.clear()}}getComponentDependencies(r,a){this.resolveNgModulesDecls();const d=hn(r);if(null===d)throw new Error(`Attempting to get component dependencies for a type that is not a component: ${r}`);if(d.standalone){const b=this.getStandaloneComponentScope(r,a);return b.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...b.compilation.directives,...b.compilation.pipes,...b.compilation.ngModules]}}{if(!this.ownerNgModule.has(r))return{dependencies:[]};const b=this.getNgModuleScope(this.ownerNgModule.get(r));return b.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...b.compilation.directives,...b.compilation.pipes]}}}registerNgModule(r,a){if(!tl(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 a=this.computeNgModuleScope(r);return this.ngModulesScopeCache.set(r,a),a}computeNgModuleScope(r){const a=hr(r,!0),d={exported:{directives:new Set,pipes:new Set},compilation:{directives:new Set,pipes:new Set}};for(const b of Ba(a.imports))if(tl(b)){const I=this.getNgModuleScope(b);is(I.exported.directives,d.compilation.directives),is(I.exported.pipes,d.compilation.pipes)}else{if(!_r(b)){d.compilation.isPoisoned=!0;break}if(a0(b)||ad(b))d.compilation.directives.add(b);else{if(!of(b))throw new zt(1e3,"The standalone imported type is neither a component nor a directive nor a pipe");d.compilation.pipes.add(b)}}if(!d.compilation.isPoisoned)for(const b of Ba(a.declarations)){if(tl(b)||_r(b)){d.compilation.isPoisoned=!0;break}of(b)?d.compilation.pipes.add(b):d.compilation.directives.add(b)}for(const b of Ba(a.exports))if(tl(b)){const I=this.getNgModuleScope(b);is(I.exported.directives,d.exported.directives),is(I.exported.pipes,d.exported.pipes),is(I.exported.directives,d.compilation.directives),is(I.exported.pipes,d.compilation.pipes)}else of(b)?d.exported.pipes.add(b):d.exported.directives.add(b);return d}getStandaloneComponentScope(r,a){if(this.standaloneComponentsScopeCache.has(r))return this.standaloneComponentsScopeCache.get(r);const d=this.computeStandaloneComponentScope(r,a);return this.standaloneComponentsScopeCache.set(r,d),d}computeStandaloneComponentScope(r,a){const d={compilation:{directives:new Set([r]),pipes:new Set,ngModules:new Set}};for(const b of ca(a??[])){const I=kr(b);try{DT(I,r)}catch{return d.compilation.isPoisoned=!0,d}if(tl(I)){d.compilation.ngModules.add(I);const U=this.getNgModuleScope(I);if(U.exported.isPoisoned)return d.compilation.isPoisoned=!0,d;is(U.exported.directives,d.compilation.directives),is(U.exported.pipes,d.compilation.pipes)}else if(of(I))d.compilation.pipes.add(I);else{if(!a0(I)&&!ad(I))return d.compilation.isPoisoned=!0,d;d.compilation.directives.add(I)}}return d}isOrphanComponent(r){const a=hn(r);return!(!a||a.standalone||(this.resolveNgModulesDecls(),this.ownerNgModule.has(r)))}}function is(t,r){for(const a of t)r.add(a)}const Rc=new s0;function af(t,r,a){let d=a?t.styles:null,b=a?t.classes:null,I=0;if(null!==r)for(let U=0;U0&&nC(t,a,I.join(" "))}}(Bt,Bi,pn,d),void 0!==a&&function f0(t,r,a){const d=t.projection=[];for(let b=0;b{class t{static#e=this.__NG_ELEMENT_ID__=kT}return t})();function kT(){return v0(Qr(),Sn())}const g0=lf,p0=class extends g0{constructor(r,a,d){super(),this._lContainer=r,this._hostTNode=a,this._hostLView=d}get element(){return qo(this._hostTNode,this._hostLView)}get injector(){return new ra(this._hostTNode,this._hostLView)}get parentInjector(){const r=dh(this._hostTNode,this._hostLView);if(ng(r)){const a=Ru(r,this._hostLView),d=Lu(r);return new ra(a[xn].data[d+8],a)}return new ra(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(r){const a=_0(this._lContainer);return null!==a&&a[r]||null}get length(){return this._lContainer.length-Yr}createEmbeddedView(r,a,d){let b,I;"number"==typeof d?b=d:null!=d&&(b=d.index,I=d.injector);const U=Ll(this._lContainer,r.ssrId),z=r.createEmbeddedViewImpl(a||{},I,U);return this.insertImpl(z,b,Ic(this._hostTNode,U)),z}createComponent(r,a,d,b,I){const U=r&&!fc(r);let z;if(U)z=a;else{const pn=a||{};z=pn.index,d=pn.injector,b=pn.projectableNodes,I=pn.environmentInjector||pn.ngModuleRef}const te=U?r:new Fc(hn(r)),De=d||this.parentInjector;if(!I&&null==te.ngModule){const On=(U?De:this.parentInjector).get(es,null);On&&(I=On)}const Ke=hn(te.componentType??{}),bt=Ll(this._lContainer,Ke?.id??null),Zt=te.create(De,b,bt?.firstChild??null,I);return this.insertImpl(Zt.hostView,z,Ic(this._hostTNode,bt)),Zt}insert(r,a){return this.insertImpl(r,a,!0)}insertImpl(r,a,d){const b=r._lView;if(function Ao(t){return ei(t[Gr])}(b)){const z=this.indexOf(r);if(-1!==z)this.detach(z);else{const te=b[Gr],De=new p0(te,te[pi],te[Gr]);De.detach(De.indexOf(r))}}const I=this._adjustIndex(a),U=this._lContainer;return zu(U,b,I,d),r.attachToViewContainerRef(),ql(ld(U),I,r),r}move(r,a){return this.insert(r,a)}indexOf(r){const a=_0(this._lContainer);return null!==a?a.indexOf(r):-1}remove(r){const a=this._adjustIndex(r,-1),d=ju(this._lContainer,a);d&&(Ws(ld(this._lContainer),a),Ph(d[xn],d))}detach(r){const a=this._adjustIndex(r,-1),d=ju(this._lContainer,a);return d&&null!=Ws(ld(this._lContainer),a)?new Ol(d):null}_adjustIndex(r,a=0){return r??this.length+a}};function _0(t){return t[8]}function ld(t){return t[8]||(t[8]=[])}function v0(t,r){let a;const d=r[t.index];return ei(d)?a=d:(a=gC(d,r,null,t),r[t.index]=a,Hh(r,a)),b0(a,r,t,d),new p0(a,t,r)}let b0=Ip,cf=()=>!1;function y0(t,r,a){return cf(t,r,a)}function Ip(t,r,a,d){if(t[Pi])return;let b;b=8&a.type?$r(d):function xT(t,r){const a=t[yr],d=a.createComment(""),b=io(r,t);return xl(a,kh(a,b),d,function d1(t,r){return t.nextSibling(r)}(a,b),!1),d}(r,a),t[Pi]=b}function OT(t,r,a){if(t[Pi]&&t[Ai])return!0;const d=a[Zi],b=r.index-pr;if(!d||Qi(r)||zd(d,b))return!1;const U=Hm(d,b),z=d.data[gs]?.[b],[te,De]=function nT(t,r){const a=[];for(const d of r)for(let b=0;b<(d[pl]??1);b++){const I={data:d,firstChild:null};d[sc]>0&&(I.firstChild=t,t=Qh(d[sc],t)),a.push(I)}return[t,a]}(U,z);return t[Pi]=te,t[Ai]=De,!0}function C0(t,r,a,d){cf(t,a,r)||Ip(t,r,a,d)}class uf{constructor(r){this.queryList=r,this.matches=null}clone(){return new uf(this.queryList)}setDirty(){this.queryList.setDirty()}}class Ap{constructor(r=[]){this.queries=r}createEmbeddedView(r){const a=r.queries;if(null!==a){const d=null!==r.contentQueries?r.contentQueries[0]:a.length,b=[];for(let I=0;Ir.trim())}(r):r}}class cd{constructor(r=[]){this.queries=r}elementStart(r,a){for(let d=0;d0)d.push(U[z/2]);else{const De=I[z+1],Ke=r[-te];for(let bt=Yr;bt{a._dirtyCounter();const b=function x0(t,r){const a=t._lView,d=t._queryIndex;if(void 0===a||void 0===d||4&a[Jn])return r?void 0:lr;const b=Op(a,d),I=ud(a,d);return b.reset(I,sl),r?b.first:b._changesDetected||void 0===t._flatValue?t._flatValue=b.toArray():t._flatValue}(a,t);if(r&&void 0===b)throw new zt(-951,!1);return b});return a=d[e],a._dirtyCounter=Po(0),a._flatValue=void 0,d}function Fp(){return Rp(!0,!1)}function P0(){return Rp(!0,!0)}function Nc(){return Rp(!1,!1)}function k0(t,r){const a=t[e];a._lView=Sn(),a._queryIndex=r,a._queryList=Op(a._lView,r),a._queryList.onDirty(()=>a._dirtyCounter.update(d=>d+1))}function O0(t,r){return Fp()}const L0=(O0.required=function NT(t,r){return P0()},O0);function UT(t,r){return Nc()}function Np(t,r){return Fp()}const jT=(Np.required=function BT(t,r){return P0()},Np);function R0(t,r){return Nc()}function F0(t){const r=[],a=Object.create($n);function d(){return E(a),Up(a.value),a.value}return a.value=t,d[e]=a,d.asReadonly=()=>d(),d.set=I=>{a.equal(a.value,I)||(_e(a,I),function b(I){for(let U=0;U{Up(a.value),d.set(I(a.value))},d.subscribe=I=>(r.push(I),()=>{const U=r.indexOf(I);U>-1&&r.splice(U,1)}),d}function Up(t){if(t===En)throw new zt(-952,!1)}function N0(t){return F0(t)}const U0=(N0.required=function HT(){return F0(En)},N0);class Uc{}const VT=Ks("ContentChildren",(t,r={})=>({selector:t,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:!0,...r}),Uc),YT=Ks("ContentChild",(t,r={})=>({selector:t,first:!0,isViewQuery:!1,descendants:!0,...r}),Uc),$T=Ks("ViewChildren",(t,r={})=>({selector:t,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:!0,...r}),Uc),zT=Ks("ViewChild",(t,r)=>({selector:t,first:!0,isViewQuery:!0,descendants:!0,...r}),Uc);function j0(t){const r=[],a=new Map;function d(b){let I=a.get(b);if(!I){const U=t(b);a.set(b,I=U.then(KT))}return I}return Bc.forEach((b,I)=>{const U=[];b.templateUrl&&U.push(d(b.templateUrl).then(De=>{b.template=De}));const z="string"==typeof b.styles?[b.styles]:b.styles||[];if(b.styles=z,b.styleUrl&&b.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(b.styleUrls?.length){const De=b.styles.length,Ke=b.styleUrls;b.styleUrls.forEach((bt,Bt)=>{z.push(""),U.push(d(bt).then(Zt=>{z[De+Bt]=Zt,Ke.splice(Ke.indexOf(bt),1),0==Ke.length&&(b.styleUrls=void 0)}))})}else b.styleUrl&&U.push(d(b.styleUrl).then(De=>{z.push(De),b.styleUrl=void 0}));const te=Promise.all(U).then(()=>function $0(t){jc.delete(t)}(I));r.push(te)}),Bp(),Promise.all(r).then(()=>{})}let Bc=new Map;const jc=new Set;function H0(t){return jc.has(t)}function V0(t){return!!(t.templateUrl&&!t.hasOwnProperty("template")||t.styleUrls&&t.styleUrls.length||t.styleUrl)}function Bp(){const t=Bc;return Bc=new Map,t}function GT(t){jc.clear(),t.forEach((r,a)=>jc.add(a)),Bc=t}function KT(t){return"string"==typeof t?t:t.text()}const hf=new Map;let jp=!0;function ff(t,r){(function QT(t,r,a){if(r&&r!==a&&jp)throw new Error(`Duplicate module registered for ${t} - ${$t(r)} vs ${$t(r.name)}`)})(r,hf.get(r)||null,t),hf.set(r,t)}function Hp(t){return hf.get(t)}function ZT(t){jp=!t}function dd(t,r,a){const d=Sn(),b=yi(),I=io(b,d);if(2===b.type&&"iframe"===r.toLowerCase()){const U=I;throw U.src="",U.srcdoc=El(""),Oh(d[yr],U),new zt(-910,!1)}return t}function z0(t){return Object.getPrototypeOf(t.prototype).constructor}function mf(t){let r=z0(t.type),a=!0;const d=[t];for(;r;){let b;if(Gi(t))b=r.\u0275cmp||r.\u0275dir;else{if(r.\u0275cmp)throw new zt(903,!1);b=r.\u0275dir}if(b){if(a){d.push(b);const U=t;U.inputs=gf(t.inputs),U.inputTransforms=gf(t.inputTransforms),U.declaredInputs=gf(t.declaredInputs),U.outputs=gf(t.outputs);const z=b.hostBindings;z&&G0(t,z);const te=b.viewQuery,De=b.contentQueries;if(te&&XT(t,te),De&&qT(t,De),JT(t,b),Nr(t.outputs,b.outputs),Gi(b)&&b.data.animation){const Ke=t.data;Ke.animation=(Ke.animation||[]).concat(b.data.animation)}}const I=b.features;if(I)for(let U=0;U=0;d--){const b=t[d];b.hostVars=r+=b.hostVars,b.hostAttrs=wn(b.hostAttrs,a=wn(a,b.hostAttrs))}}(d)}function JT(t,r){for(const a in r.inputs){if(!r.inputs.hasOwnProperty(a)||t.inputs.hasOwnProperty(a))continue;const d=r.inputs[a];if(void 0!==d&&(t.inputs[a]=d,t.declaredInputs[a]=r.declaredInputs[a],null!==r.inputTransforms)){const b=Array.isArray(d)?d[0]:d;if(!r.inputTransforms.hasOwnProperty(b))continue;t.inputTransforms??={},t.inputTransforms[b]=r.inputTransforms[b]}}}function gf(t){return t===Tr?{}:t===lr?[]:t}function XT(t,r){const a=t.viewQuery;t.viewQuery=a?(d,b)=>{r(d,b),a(d,b)}:r}function qT(t,r){const a=t.contentQueries;t.contentQueries=a?(d,b,I)=>{r(d,b,I),a(d,b,I)}:r}function G0(t,r){const a=t.hostBindings;t.hostBindings=a?(d,b)=>{r(d,b),a(d,b)}:r}const eI=["providersResolver"],Vp=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function K0(t){let a,r=z0(t.type);a=Gi(t)?r.\u0275cmp:r.\u0275dir;const d=t;for(const b of eI)d[b]=a[b];if(Gi(a))for(const b of Vp)d[b]=a[b]}function hd(t){const r=a=>{const d=(Array.isArray(t)?t:t()).map(b=>"function"==typeof b?{directive:kr(b),inputs:Tr,outputs:Tr}:{directive:kr(b.directive),inputs:Yp(b.inputs),outputs:Yp(b.outputs)});null===a.hostDirectives?(a.findHostDirectiveDefs=Q0,a.hostDirectives=d):a.hostDirectives.unshift(...d)};return r.ngInherit=!0,r}function Q0(t,r,a){if(null!==t.hostDirectives)for(const d of t.hostDirectives){const b=In(d.directive);tI(b.declaredInputs,d.inputs),Q0(b,r,a),a.set(b,d),r.push(b)}}function Yp(t){if(void 0===t||0===t.length)return Tr;const r={};for(let a=0;aa()),this.destroyCbs=null}onDestroy(r){this.destroyCbs.push(r)}}class _f extends X0{constructor(r){super(),this.moduleType=r}create(r){return new pf(this.moduleType,r,[])}}class tM extends Fl{constructor(r){super(),this.componentFactoryResolver=new l0(this),this.instance=null;const a=new dc([...r.providers,{provide:Fl,useValue:this},{provide:ed,useValue:this.componentFactoryResolver}],r.parent||xs(),r.debugName,new Set(["environment"]));this.injector=a,r.runEnvironmentInitializers&&a.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(r){this.injector.onDestroy(r)}}function $p(t,r,a=null){return new tM({providers:t,parent:r,debugName:a,runEnvironmentInitializers:!0}).injector}let nM=(()=>{class t{constructor(){this.cachedInjectors=new Map}getOrCreateInjector(a,d,b,I){if(!this.cachedInjectors.has(a)){const U=b.length>0?$p(b,d,I):null;this.cachedInjectors.set(a,U)}return this.cachedInjectors.get(a)}ngOnDestroy(){try{for(const a of this.cachedInjectors.values())null!==a&&a.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=si({token:t,providedIn:"environment",factory:()=>new t})}return t})();const vf="__ngAsyncComponentMetadataFn__";function iI(t){return t[vf]??null}function fd(t,r,a){const d=t;return d[vf]=()=>Promise.all(r()).then(b=>(a(...b),d[vf]=null,b)),d[vf]}function rM(t,r,a,d){return At(()=>{const b=t;null!==r&&(b.hasOwnProperty("decorators")&&void 0!==b.decorators?b.decorators.push(...r):b.decorators=r),null!==a&&(b.ctorParameters=a),null!==d&&(b.propDecorators=b.hasOwnProperty("propDecorators")&&void 0!==b.propDecorators?{...b.propDecorators,...d}:d)})}let md=(()=>{class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new dt.g(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const a=this.taskId++;return this.pendingTasks.add(a),a}remove(a){this.pendingTasks.delete(a),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(d){return new(d||t)};static#t=this.\u0275prov=si({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function va(t,r,a){return t[r]=a}function gd(t,r){return t[r]}function Ho(t,r,a){return!Object.is(t[r],a)&&(t[r]=a,!0)}function nl(t,r,a,d){const b=Ho(t,r,a);return Ho(t,r+1,d)||b}function bf(t,r,a,d,b){const I=nl(t,r,a,d);return Ho(t,r+2,b)||I}function Ga(t,r,a,d,b,I){const U=nl(t,r,a,d);return nl(t,r+2,b,I)||U}function Hc(t,r,a,d,b,I,U,z){const te=Sn(),De=Ar(),Ke=t+pr,bt=De.firstCreatePass?function oM(t,r,a,d,b,I,U,z,te){const De=r.consts,Ke=Us(r,t,4,U||null,go(De,z));Wg(r,a,Ke,go(De,te)),oh(r,Ke);const bt=Ke.tView=Fh(2,Ke,d,b,I,r.directiveRegistry,r.pipeRegistry,null,r.schemas,De,null);return null!==r.queries&&(r.queries.template(r,Ke),bt.queries=r.queries.embeddedTView(Ke)),Ke}(Ke,De,te,r,a,d,b,I,U):De.data[Ke];nt(bt,!1);const Bt=zp(De,te,bt,t);Ss()&&xh(De,te,Bt,bt),_a(Bt,te);const Zt=gC(Bt,te,Bt,bt);return te[Ke]=Zt,Hh(te,Zt),y0(Zt,bt,te),ao(bt)&&Yg(De,te,bt),null!=U&&$g(te,bt,z),Hc}let zp=aM;function aM(t,r,a,d){return La(!0),r[yr].createComment("")}function oI(t,r,a,d){const b=r[Zi],I=!b||Dr()||zd(b,d);if(La(I),I)return aM(0,r);const U=b.data[Fm]?.[d]??null;null!==U&&null!==a.tView&&null===a.tView.ssrId&&(a.tView.ssrId=U);const z=rs(b,t,r,a);return Yd(b,d,z),Qh($d(b,d),z)}var Vo=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}(Vo||{});const yf=0,aI=1;var ko=function(t){return t[t.Placeholder=0]="Placeholder",t[t.Loading=1]="Loading",t[t.Complete=2]="Complete",t[t.Error=3]="Error",t}(ko||{}),pd=function(t){return t[t.Initial=-1]="Initial",t}(pd||{});const Nl=0,Cf=1,Vc=2,Mf=3,sM=4,lM=5;var Sf=function(t){return t[t.Manual=0]="Manual",t[t.Playthrough=1]="Playthrough",t}(Sf||{});function Ef(t,r,a){const d=1===t?lM:sM;null===r[d]&&(r[d]=[]),r[d].push(a)}function Gp(t,r){const a=1===t?lM:sM,d=r[a];if(null!==d){for(const b of d)b();r[a]=null}}function cM(t){Gp(1,t),Gp(0,t)}function _d(t){return t+1}function rl(t,r){return t[_d(r.index)]}function ja(t,r){const a=_d(r.index);return t.data[a]}function Kp(t,r){return r===ko.Placeholder?t.placeholderBlockConfig?.[yf]??null:r===ko.Loading?t.loadingBlockConfig?.[yf]??null:null}function Qp(t){return t.loadingBlockConfig?.[aI]??null}function dM(t,r){if(!t||0===t.length)return r;const a=new Set(t);for(const d of r)a.add(d);return t.length===a.size?t:Array.from(a)}function hM(t){return null!==t&&"object"==typeof t&&"number"==typeof t.primaryTmplIndex}const wf={passive:!0,capture:!0},Df=new WeakMap,Zp=new WeakMap,Yc=new WeakMap,fM=["click","keydown"],Jp=["mouseenter","focusin"];let $c=null,Tf=0;class Xp{constructor(){this.callbacks=new Set,this.listener=()=>{for(const r of this.callbacks)r()}}}function mM(t,r){let a=Zp.get(t);if(!a){a=new Xp,Zp.set(t,a);for(const d of fM)t.addEventListener(d,a.listener,wf)}return a.callbacks.add(r),()=>{const{callbacks:d,listener:b}=a;if(d.delete(r),0===d.size){Zp.delete(t);for(const I of fM)t.removeEventListener(I,b,wf)}}}function qp(t,r){let a=Df.get(t);if(!a){a=new Xp,Df.set(t,a);for(const d of Jp)t.addEventListener(d,a.listener,wf)}return a.callbacks.add(r),()=>{const{callbacks:d,listener:b}=a;if(d.delete(r),0===d.size){for(const I of Jp)t.removeEventListener(I,b,wf);Df.delete(t)}}}function gM(t,r,a){const d=a.get(No);let b=Yc.get(t);return $c=$c||d.runOutsideAngular(()=>new IntersectionObserver(I=>{for(const U of I)U.isIntersecting&&Yc.has(U.target)&&d.run(Yc.get(U.target).listener)})),b||(b=new Xp,d.runOutsideAngular(()=>$c.observe(t)),Yc.set(t,b),Tf++),b.callbacks.add(r),()=>{Yc.has(t)&&(b.callbacks.delete(r),0===b.callbacks.size&&($c?.unobserve(t),Yc.delete(t),Tf--),0===Tf&&($c?.disconnect(),$c=null))}}function Ul(t,r,a,d,b,I,U){const z=t[ni];rf(function te(){if(Oo(t))return;const De=rl(t,r),Ke=De[Cf];if(Ke!==pd.Initial&&Ke!==ko.Placeholder)return;const bt=function cI(t,r,a){return null==a?t:a>=0?$(a,t):t[r.index][Yr]??null}(t,r,d);if(!bt)return void rf(te,{injector:z});if(Oo(bt))return;const Bt=function uI(t,r){return aa(pr+r,t)}(bt,a),Zt=b(Bt,()=>{t!==bt&&Lt(bt,Zt),I()},z);t!==bt&&Ct(bt,Zt),Ef(U,De,Zt)},{injector:z})}function pM(t,r){const d=r[ni].get(vM);return d.add(t),()=>d.remove(t)}let vM=(()=>{class t{constructor(){this.executingCallbacks=!1,this.idleId=null,this.current=new Set,this.deferred=new Set,this.ngZone=tt(No),this.requestIdleCallbackFn=(typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout).bind(globalThis),this.cancelIdleCallbackFn=(typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout).bind(globalThis)}add(a){(this.executingCallbacks?this.deferred:this.current).add(a),null===this.idleId&&this.scheduleIdleCallback()}remove(a){const{current:d,deferred:b}=this;d.delete(a),b.delete(a),0===d.size&&0===b.size&&this.cancelIdleCallback()}scheduleIdleCallback(){const a=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(const d of this.current)d();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(const d of this.deferred)this.current.add(d);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(a))}cancelIdleCallback(){null!==this.idleId&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}static#e=this.\u0275prov=si({token:t,providedIn:"root",factory:()=>new t})}return t})();function bM(t){return(r,a)=>yM(t,r,a)}function yM(t,r,a){const b=a[ni].get(hI);return b.add(t,r),()=>b.remove(r)}let hI=(()=>{class t{constructor(){this.executingCallbacks=!1,this.timeoutId=null,this.invokeTimerAt=null,this.current=[],this.deferred=[]}add(a,d){this.addToQueue(this.executingCallbacks?this.deferred:this.current,Date.now()+a,d),this.scheduleTimer()}remove(a){const{current:d,deferred:b}=this;-1===this.removeFromQueue(d,a)&&this.removeFromQueue(b,a),0===d.length&&0===b.length&&this.clearTimeout()}addToQueue(a,d,b){let I=a.length;for(let U=0;Ud){I=U;break}ll(a,I,d,b)}removeFromQueue(a,d){let b=-1;for(let I=0;I-1&&cs(a,b,2),b}scheduleTimer(){const a=()=>{this.clearTimeout(),this.executingCallbacks=!0;const b=[...this.current],I=Date.now();for(let z=0;z=0&&cs(this.current,0,U+1),this.executingCallbacks=!1,this.deferred.length>0){for(let z=0;z0){const b=Date.now(),I=this.current[0];if(null===this.timeoutId||this.invokeTimerAt&&this.invokeTimerAt-I>16){this.clearTimeout();const U=Math.max(I-b,16);this.invokeTimerAt=I,this.timeoutId=setTimeout(a,U)}}}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=si({token:t,providedIn:"root",factory:()=>new t})}return t})();const fI=new oe("DEFER_BLOCK_DEPENDENCY_INTERCEPTOR"),CM=new oe("");function If(t){return t.get(CM,null,{optional:!0})?.behavior!==Sf.Manual&&qs(t)}let e_=null;function t_(t,r,a,d){const b=t.consts;null!=a&&(r.placeholderBlockConfig=go(b,a)),null!=d&&(r.loadingBlockConfig=go(b,d)),null===e_&&(e_=mI)}function MM(t,r,a,d,b,I,U,z,te){const De=Sn(),Ke=Ar(),bt=t+pr;if(Hc(t,null,0,0),Ke.firstCreatePass){Wa("NgDefer");const Qn={primaryTmplIndex:r,loadingTmplIndex:d??null,placeholderTmplIndex:b??null,errorTmplIndex:I??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:a??null,loadingState:Vo.NOT_STARTED,loadingPromise:null,providers:null};te?.(Ke,Qn,z,U),function lI(t,r,a){const d=_d(r);t.data[d]=a}(Ke,bt,Qn)}const Bt=Qr();y0(De[bt],Bt,De);const pn=[null,pd.Initial,null,null,null,null];!function sI(t,r,a){t[_d(r)]=a}(De,bt,pn);const On=()=>cM(pn);Ef(0,pn,()=>Lt(De,On)),Ct(De,On)}function n_(t){const r=Sn();if(Ho(r,Y(),t)){const d=o(null);try{const b=!!t,I=yi(),z=rl(r,I)[Cf];!1===b&&z===pd.Initial?Bl(r,I):!0===b&&(z===pd.Initial||z===ko.Placeholder)&&Wc(r,I)}finally{o(d)}}}function SM(t){const r=Sn();if(Ho(r,Y(),t)){const d=o(null);try{const b=!!t,I=r[xn],U=yi(),z=ja(I,U);!0===b&&z.loadingState===Vo.NOT_STARTED&&zc(z,r,U)}finally{o(d)}}}function EM(){a_(pM)}function r_(){kM(pM)}function wM(){const t=Sn(),r=Qr(),d=t[ni],b=ja(t[xn],r);(!If(d)||null===b.loadingTmplIndex)&&Bl(t,r),Wc(t,r)}function Af(){const t=Sn(),r=Qr(),d=ja(t[xn],r);d.loadingState===Vo.NOT_STARTED&&kf(d,t,r)}function DM(t){a_(bM(t))}function i_(t){kM(bM(t))}function TM(t,r){const a=Sn(),d=Qr();Bl(a,d),Ul(a,d,t,r,qp,()=>Wc(a,d),0)}function o_(t,r){const a=Sn(),d=Qr(),I=ja(a[xn],d);I.loadingState===Vo.NOT_STARTED&&Ul(a,d,t,r,qp,()=>zc(I,a,d),1)}function IM(t,r){const a=Sn(),d=Qr();Bl(a,d),Ul(a,d,t,r,mM,()=>Wc(a,d),0)}function AM(t,r){const a=Sn(),d=Qr(),I=ja(a[xn],d);I.loadingState===Vo.NOT_STARTED&&Ul(a,d,t,r,mM,()=>zc(I,a,d),1)}function Pf(t,r){const a=Sn(),d=Qr();Bl(a,d),Ul(a,d,t,r,gM,()=>Wc(a,d),0)}function PM(t,r){const a=Sn(),d=Qr(),I=ja(a[xn],d);I.loadingState===Vo.NOT_STARTED&&Ul(a,d,t,r,gM,()=>zc(I,a,d),1)}function a_(t){const r=Sn(),a=Qr();Bl(r,a);const d=t(()=>Wc(r,a),r);Ef(0,rl(r,a),d)}function kM(t){const r=Sn(),a=Qr(),b=ja(r[xn],a);b.loadingState===Vo.NOT_STARTED&&Ef(1,rl(r,a),t(()=>zc(b,r,a),r))}function js(t,r,a,d=!1){const b=a[Gr],I=b[xn];if(Oo(b))return;const U=rl(b,r);if(OM(U[Cf],t)&&OM(U[Nl]??-1,t)){const te=ja(I,r),Ke=d||null===Qp(te)&&null===Kp(te,ko.Loading)&&!Kp(te,ko.Placeholder)?xM:e_;try{Ke(t,U,a,r,b)}catch(bt){Vh(b,bt)}}}function xM(t,r,a,d,b){const I=function uM(t,r,a){const b=ja(r[xn],a);switch(t){case ko.Complete:return b.primaryTmplIndex;case ko.Loading:return b.loadingTmplIndex;case ko.Error:return b.errorTmplIndex;case ko.Placeholder:return b.placeholderTmplIndex;default:return null}}(t,b,d);if(null!==I){r[Cf]=t;const U=b[xn],te=Ro(U,I+pr),De=0;let Ke;if(qg(a,De),t===ko.Complete){const Zt=ja(U,d),pn=Zt.providers;if(pn&&pn.length>0){const Qn=b[ni].get(es);Ke=Qn.get(nM).getOrCreateInjector(Zt,Qn,pn,"")}}const bt=Ll(a,te.tView.ssrId),Bt=$u(b,te,null,{dehydratedView:bt,injector:Ke});zu(a,Bt,De,Ic(te,bt)),Ku(Bt)}}function mI(t,r,a,d,b){const I=Date.now(),z=ja(b[xn],d);if(null===r[Vc]||r[Vc]<=I){r[Vc]=null;const te=Qp(z),De=null!==r[Mf];if(t!==ko.Loading||null===te||De){t>ko.Loading&&De&&(r[Mf](),r[Mf]=null,r[Nl]=null),xM(t,r,a,d,b);const Ke=Kp(z,t);null!==Ke&&(r[Vc]=I+Ke,s_(Ke,r,d,a,b))}else{r[Nl]=t;const Ke=s_(te,r,d,a,b);r[Mf]=Ke}}else r[Nl]=t}function s_(t,r,a,d,b){return yM(t,()=>{const U=r[Nl];r[Vc]=null,r[Nl]=null,null!==U&&js(U,a,d)},b)}function OM(t,r){return t{let bt=!1;const Bt=[],Zt=[];for(const pn of Ke){if("fulfilled"!==pn.status){bt=!0;break}{const On=pn.value,Qn=hn(On)||In(On);if(Qn)Bt.push(Qn);else{const vr=Un(On);vr&&Zt.push(vr)}}}if(t.loadingPromise=null,te.remove(De),bt){if(t.loadingState=Vo.FAILED,null===t.errorTmplIndex){Ag(r);const On=new zt(750,!1);Vh(r,On)}}else{t.loadingState=Vo.COMPLETE;const pn=U.tView;if(Bt.length>0){pn.directiveRegistry=dM(pn.directiveRegistry,Bt);const Qn=$m(!1,...Bt.map(vr=>vr.type));t.providers=Qn}Zt.length>0&&(pn.pipeRegistry=dM(pn.pipeRegistry,Zt))}}):Promise.resolve().then(()=>{t.loadingPromise=null,t.loadingState=Vo.COMPLETE,te.remove(De)})}function Bl(t,r){js(ko.Placeholder,r,t[r.index])}function LM(t,r,a){t.loadingPromise.then(()=>{t.loadingState===Vo.COMPLETE?js(ko.Complete,r,a):t.loadingState===Vo.FAILED&&js(ko.Error,r,a)})}function Wc(t,r){const a=t[xn],d=t[r.index];if(!If(t[ni]))return;const I=rl(t,r),U=ja(a,r);switch(cM(I),U.loadingState){case Vo.NOT_STARTED:js(ko.Loading,r,d),kf(U,t,r),U.loadingState===Vo.IN_PROGRESS&&LM(U,r,d);break;case Vo.IN_PROGRESS:js(ko.Loading,r,d),LM(U,r,d);break;case Vo.COMPLETE:js(ko.Complete,r,d);break;case Vo.FAILED:js(ko.Error,r,d)}}function l_(t,r,a,d){const b=Sn();return Ho(b,Y(),r)&&(Ar(),vs(yi(),b,t,r,a,d)),l_}function jl(t,r){let a=!1,d=dn();for(let I=1;I>17&32767}function Ff(t){return 2|t}function $l(t){return(131068&t)>>2}function Nf(t,r){return-131069&t|r<<2}function g_(t){return 1|t}function NM(t,r,a,d){const b=t[a+1],I=null===r;let U=d?il(b):$l(b),z=!1;for(;0!==U&&(!1===z||I);){const De=t[U+1];UM(t[U],r)&&(z=!0,t[U+1]=d?g_(De):Ff(De)),U=d?il(De):$l(De)}z&&(t[a+1]=d?Ff(b):g_(b))}function UM(t,r){return null===t||null==r||(Array.isArray(t)?t[1]:t)===r||!(!Array.isArray(t)||"string"!=typeof r)&&Ja(t,r)>=0}const ia={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function p_(t){return t.substring(ia.key,ia.keyEnd)}function vI(t){return t.substring(ia.value,ia.valueEnd)}function BM(t,r){const a=ia.textEnd;return a===r?-1:(r=ia.keyEnd=function VM(t,r,a){for(;r32;)r++;return r}(t,ia.key=r,a),Jc(t,r,a))}function HM(t,r){const a=ia.textEnd;let d=ia.key=Jc(t,r,a);return a===d?-1:(d=ia.keyEnd=function bI(t,r,a){let d;for(;r=65&&(-33&d)<=90||d>=48&&d<=57);)r++;return r}(t,d,a),d=b_(t,d,a),d=ia.value=Jc(t,d,a),d=ia.valueEnd=function yI(t,r,a){let d=-1,b=-1,I=-1,U=r,z=U;for(;U32&&(z=U),I=b,b=d,d=-33&te}return z}(t,d,a),b_(t,d,a))}function v_(t){ia.key=0,ia.keyEnd=0,ia.value=0,ia.valueEnd=0,ia.textEnd=t.length}function Jc(t,r,a){for(;r=0;a=HM(r,a))w_(t,p_(r),vI(r))}function S_(t){os(DI,Cs,t,!0)}function Cs(t,r){for(let a=function __(t){return v_(t),BM(t,Jc(t,0,ia.textEnd))}(r);a>=0;a=BM(r,a))ea(t,p_(r),!0)}function Ka(t,r,a,d){const b=Sn(),I=Ar(),U=Re(2);I.firstUpdatePass&&$M(I,t,U,d),r!==li&&Ho(b,U,r)&&KM(I,I.data[xi()],b,b[yr],t,b[U+1]=function QM(t,r){return null==t||""===t||("string"==typeof r?t+=r:"object"==typeof t&&(t=$t(Ls(t)))),t}(r,a),d,U)}function os(t,r,a,d){const b=Ar(),I=Re(2);b.firstUpdatePass&&$M(b,null,I,d);const U=Sn();if(a!==li&&Ho(U,I,a)){const z=b.data[xi()];if(ZM(z,d)&&!Bf(b,I)){let te=d?z.classesWithoutHost:z.stylesWithoutHost;null!==te&&(a=un(te,a||"")),C_(b,z,U,a,d)}else!function GM(t,r,a,d,b,I,U,z){b===li&&(b=lr);let te=0,De=0,Ke=0=t.expandoStartIndex}function $M(t,r,a,d){const b=t.data;if(null===b[a+1]){const I=b[xi()],U=Bf(t,a);ZM(I,d)&&null===r&&!U&&(r=!1),r=function SI(t,r,a,d){const b=B(t);let I=d?r.residualClasses:r.residualStyles;if(null===b)0===(d?r.classBindings:r.styleBindings)&&(a=Xc(a=E_(null,t,r,a,d),r.attrs,d),I=null);else{const U=r.directiveStylingLast;if(-1===U||t[U]!==b)if(a=E_(b,t,r,a,d),null===I){let te=function zM(t,r,a){const d=a?r.classBindings:r.styleBindings;if(0!==$l(d))return t[il(d)]}(t,r,d);void 0!==te&&Array.isArray(te)&&(te=E_(null,t,r,te[1],d),te=Xc(te,r.attrs,d),function EI(t,r,a,d){t[il(a?r.classBindings:r.styleBindings)]=d}(t,r,d,te))}else I=function WM(t,r,a){let d;const b=r.directiveEnd;for(let I=1+r.directiveStylingLast;I0)&&(De=!0)):Ke=a,b)if(0!==te){const Bt=il(t[z+1]);t[d+1]=Rf(Bt,z),0!==Bt&&(t[Bt+1]=Nf(t[Bt+1],d)),t[z+1]=function gI(t,r){return 131071&t|r<<17}(t[z+1],d)}else t[d+1]=Rf(z,0),0!==z&&(t[z+1]=Nf(t[z+1],d)),z=d;else t[d+1]=Rf(te,0),0===z?z=d:t[te+1]=Nf(t[te+1],d),te=d;De&&(t[d+1]=Ff(t[d+1])),NM(t,Ke,d,!0),NM(t,Ke,d,!1),function FM(t,r,a,d,b){const I=b?t.residualClasses:t.residualStyles;null!=I&&"string"==typeof r&&Ja(I,r)>=0&&(a[d+1]=g_(a[d+1]))}(r,Ke,t,d,I),U=Rf(z,te),I?r.classBindings=U:r.styleBindings=U}(b,I,r,a,U,d)}}function E_(t,r,a,d,b){let I=null;const U=a.directiveEnd;let z=a.directiveStylingLast;for(-1===z?z=a.directiveStart:z++;z0;){const te=t[b],De=Array.isArray(te),Ke=De?te[1]:te,bt=null===Ke;let Bt=a[b+1];Bt===li&&(Bt=bt?lr:void 0);let Zt=bt?Za(Bt,d):Ke===d?Bt:void 0;if(De&&!jf(Zt)&&(Zt=Za(te,d)),jf(Zt)&&(z=Zt,U))return z;const pn=t[b+1];b=U?il(pn):$l(pn)}if(null!==r){let te=I?r.residualClasses:r.residualStyles;null!=te&&(z=Za(te,d))}return z}function jf(t){return void 0!==t}function ZM(t,r){return 0!=(t.flags&(r?8:16))}function T_(t,r,a){os(ea,Cs,Gc(Sn(),t,r,a),!0)}function JM(t,r,a,d,b){os(ea,Cs,Hs(Sn(),t,r,a,d,b),!0)}function Hf(t,r,a,d,b,I,U){os(ea,Cs,Hl(Sn(),t,r,a,d,b,I,U),!0)}function XM(t,r,a,d,b,I,U,z,te){os(ea,Cs,Kc(Sn(),t,r,a,d,b,I,U,z,te),!0)}function I_(t,r,a,d,b,I,U,z,te,De,Ke){os(ea,Cs,Vl(Sn(),t,r,a,d,b,I,U,z,te,De,Ke),!0)}function qM(t,r,a,d,b,I,U,z,te,De,Ke,bt,Bt){os(ea,Cs,Qc(Sn(),t,r,a,d,b,I,U,z,te,De,Ke,bt,Bt),!0)}function eS(t,r,a,d,b,I,U,z,te,De,Ke,bt,Bt,Zt,pn){os(ea,Cs,Yl(Sn(),t,r,a,d,b,I,U,z,te,De,Ke,bt,Bt,Zt,pn),!0)}function zl(t,r,a,d,b,I,U,z,te,De,Ke,bt,Bt,Zt,pn,On,Qn){os(ea,Cs,Zc(Sn(),t,r,a,d,b,I,U,z,te,De,Ke,bt,Bt,Zt,pn,On,Qn),!0)}function tS(t){os(ea,Cs,jl(Sn(),t),!0)}function nS(){return Sn()[ri][oi]}class TI{destroy(r){}updateValue(r,a){}swap(r,a){const d=Math.min(r,a),b=Math.max(r,a),I=this.detach(b);if(b-d>1){const U=this.detach(d);this.attach(d,I),this.attach(b,U)}else this.attach(d,I)}move(r,a){this.attach(a,this.detach(r))}}function A_(t,r,a,d,b){return t===a&&Object.is(r,d)?1:Object.is(b(t,r),b(a,d))?-1:0}function k_(t,r,a,d){return!(void 0===r||!r.has(d)||(t.attach(a,r.get(d)),r.delete(d),0))}function Vf(t,r,a,d,b){if(k_(t,r,d,a(d,b)))t.updateValue(d,b);else{const I=t.create(d,b);t.attach(d,I)}}function rS(t,r,a,d){const b=new Set;for(let I=r;I<=a;I++)b.add(d(I,t.at(I)));return b}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 a=this.kvMap.get(r);return void 0!==this._vMap&&this._vMap.has(a)?(this.kvMap.set(r,this._vMap.get(a)),this._vMap.delete(a)):this.kvMap.delete(r),!0}get(r){return this.kvMap.get(r)}set(r,a){if(this.kvMap.has(r)){let d=this.kvMap.get(r);void 0===this._vMap&&(this._vMap=new Map);const b=this._vMap;for(;b.has(d);)d=b.get(d);b.set(d,a)}else this.kvMap.set(r,a)}forEach(r){for(let[a,d]of this.kvMap)if(r(d,a),void 0!==this._vMap){const b=this._vMap;for(;b.has(d);)d=b.get(d),r(d,a)}}}function iS(t,r,a){Wa("NgControlFlow");const d=Sn(),b=Y(),I=L_(d,pr+t);if(Ho(d,b,r)){const z=o(null);try{if(qg(I,0),-1!==r){const te=R_(d[xn],pr+r),De=Ll(I,te.tView.ssrId);zu(I,$u(d,te,a,{dehydratedView:De}),0,Ic(te,De))}}finally{o(z)}}else{const z=CC(I,0);void 0!==z&&(z[oi]=a)}}class oS{constructor(r,a,d){this.lContainer=r,this.$implicit=a,this.$index=d}get $count(){return this.lContainer.length-Yr}}function aS(t){return t}function x_(t,r){return r}class II{constructor(r,a,d){this.hasEmptyBlock=r,this.trackByFn=a,this.liveCollection=d}}function O_(t,r,a,d,b,I,U,z,te,De,Ke,bt,Bt){Wa("NgControlFlow");const Zt=void 0!==te,pn=Sn(),On=z?U.bind(pn[ri][oi]):U,Qn=new II(Zt,On);pn[pr+t]=Qn,Hc(t+1,r,a,d,b,I),Zt&&Hc(t+2,te,De,Ke,bt,Bt)}class AI extends TI{constructor(r,a,d){super(),this.lContainer=r,this.hostLView=a,this.templateTNode=d,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Yr}at(r){return this.getLView(r)[oi].$implicit}attach(r,a){const d=a[Zi];this.needsIndexUpdate||=r!==this.length,zu(this.lContainer,a,r,Ic(this.templateTNode,d))}detach(r){return this.needsIndexUpdate||=r!==this.length-1,function PI(t,r){return ju(t,r)}(this.lContainer,r)}create(r,a){const d=Ll(this.lContainer,this.templateTNode.tView.ssrId);return $u(this.hostLView,this.templateTNode,new oS(this.lContainer,a,r),{dehydratedView:d})}destroy(r){Ph(r[xn],r)}updateValue(r,a){this.getLView(r)[oi].$implicit=a}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let r=0;r{t.destroy(z)})}(U,t,I.trackByFn),U.updateIndexes(),I.hasEmptyBlock){const z=Y(),te=0===U.length;if(Ho(d,z,te)){const De=a+2,Ke=L_(d,De);if(te){const bt=R_(b,De),Bt=Ll(Ke,bt.tView.ssrId);zu(Ke,$u(d,bt,void 0,{dehydratedView:Bt}),0,Ic(bt,Bt))}else qg(Ke,0)}}}finally{o(r)}}function L_(t,r){return t[r]}function R_(t,r){return Ro(t,r)}function zf(t,r,a,d){const b=Sn(),I=Ar(),U=pr+t,z=b[yr],te=I.firstCreatePass?function xI(t,r,a,d,b,I){const U=r.consts,te=Us(r,t,2,d,go(U,b));return Wg(r,a,te,go(U,I)),null!==te.attrs&&af(te,te.attrs,!1),null!==te.mergedAttrs&&af(te,te.mergedAttrs,!0),null!==r.queries&&r.queries.elementStart(r,te),te}(U,I,b,r,a,d):I.data[U],De=qc(I,b,te,z,r,t);b[U]=De;const Ke=ao(te);return nt(te,!0),rC(z,De,te),32!=(32&te.flags)&&Ss()&&xh(I,b,De,te),0===function er(){return Gt.lFrame.elementDepthCount}()&&_a(De,b),function Kr(){Gt.lFrame.elementDepthCount++}(),Ke&&(Yg(I,b,te),Rh(I,te,b)),null!==d&&$g(b,te),zf}function bd(){let t=Qr();Qe()?lt():(t=t.parent,nt(t,!1));const r=t;(function mi(t){return Gt.skipHydrationRootTNode===t})(r)&&function Ki(){Gt.skipHydrationRootTNode=null}(),function Mr(){Gt.lFrame.elementDepthCount--}();const a=Ar();return a.firstCreatePass&&(oh(a,t),Uo(t)&&a.queries.elementEnd(t)),null!=r.classesWithoutHost&&function fD(t){return 0!=(8&t.flags)}(r)&&C_(a,r,Sn(),r.classesWithoutHost,!0),null!=r.stylesWithoutHost&&function mD(t){return 0!=(16&t.flags)}(r)&&C_(a,r,Sn(),r.stylesWithoutHost,!1),bd}function F_(t,r,a,d){return zf(t,r,a,d),bd(),F_}let qc=(t,r,a,d,b,I)=>(La(!0),Ah(d,b,Ms()));function OI(t,r,a,d,b,I){const U=r[Zi],z=!U||Dr()||zd(U,I);if(La(z),z)return Ah(d,b,Ms());const te=rs(U,t,r,a);return Rb(U,I)&&Yd(U,I,te.nextSibling),U&&(cl(a)||ul(te))&&Fi(a)&&(function Ui(t){Gt.skipHydrationRootTNode=t}(a),Hg(te)),te}function eu(t,r,a){const d=Sn(),b=Ar(),I=t+pr,U=b.firstCreatePass?function LI(t,r,a,d,b){const I=r.consts,U=go(I,d),z=Us(r,t,8,"ng-container",U);return null!==U&&af(z,U,!0),Wg(r,a,z,go(I,b)),null!==r.queries&&r.queries.elementStart(r,z),z}(I,b,d,r,a):b.data[I];nt(U,!0);const z=lS(b,d,U,t);return d[I]=z,Ss()&&xh(b,d,z,U),_a(z,d),ao(U)&&(Yg(b,d,U),Rh(b,U,d)),null!=a&&$g(d,U),eu}function Wf(){let t=Qr();const r=Ar();return Qe()?lt():(t=t.parent,nt(t,!1)),r.firstCreatePass&&(oh(r,t),Uo(t)&&r.queries.elementEnd(t)),Wf}function Gf(t,r,a){return eu(t,r,a),Wf(),Gf}let lS=(t,r,a,d)=>(La(!0),Lg(r[yr],""));function cS(t,r,a,d){let b;const I=r[Zi],U=!I||Dr();if(La(U),U)return Lg(r[yr],"");const z=rs(I,t,r,a),te=function qw(t,r){const a=t.data;let d=a[Rm]?.[r]??null;return null===d&&a[gs]?.[r]&&(d=$d(t,r)),d}(I,d);return Yd(I,d,z),b=Qh(te,z),b}function uS(){return Sn()}function N_(t,r,a){const d=Sn();return Ho(d,Y(),r)&&Sa(Ar(),yi(),d,t,r,d[yr],a,!0),N_}function Kf(t,r,a){const d=Sn();if(Ho(d,Y(),r)){const I=Ar(),U=yi();Sa(I,U,d,t,r,bC(B(I.data),U,d),a,!0)}return Kf}const Wl=void 0;var NI=["en",[["a","p"],["AM","PM"],Wl],[["AM","PM"],Wl,Wl],[["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"]],Wl,[["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"]],Wl,[["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}",Wl,"{1} 'at' {0}",Wl],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function FI(t){const a=Math.floor(Math.abs(t)),d=t.toString().replace(/^[^.]*\.?/,"").length;return 1===a&&0===d?1:5}];let Gl={};function UI(t,r,a){"string"!=typeof r&&(a=r,r=t[tu.LocaleId]),r=r.toLowerCase().replace(/_/g,"-"),Gl[r]=t,a&&(Gl[r][tu.ExtraData]=a)}function Qf(t){const r=function jI(t){return t.toLowerCase().replace(/_/g,"-")}(t);let a=dS(r);if(a)return a;const d=r.split("-")[0];if(a=dS(d),a)return a;if("en"===d)return NI;throw new zt(701,!1)}function BI(t){return Qf(t)[tu.CurrencyCode]||null}function Zf(t){return Qf(t)[tu.PluralCase]}function dS(t){return t in Gl||(Gl[t]=Ut.ng&&Ut.ng.common&&Ut.ng.common.locales&&Ut.ng.common.locales[t]),Gl[t]}function hS(){Gl={}}var tu=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}(tu||{});const HI=["zero","one","two","few","many"],ol="en-US",yd={marker:"element"},Jf={marker:"ICU"};var Ea=function(t){return t[t.SHIFT=2]="SHIFT",t[t.APPEND_EAGERLY=1]="APPEND_EAGERLY",t[t.COMMENT=2]="COMMENT",t}(Ea||{});let fS=ol;function U_(t){"string"==typeof t&&(fS=t.toLowerCase().replace(/_/g,"-"))}function Xf(t,r,a){const d=r.insertBeforeIndex,b=Array.isArray(d)?d[0]:d;return null===b?Ug(t,0,a):$r(a[b])}function mS(t,r,a,d,b){const I=r.insertBeforeIndex;if(Array.isArray(I)){let U=d,z=null;if(3&r.type||(z=U,U=b),null!==U&&-1===r.componentOffset)for(let te=1;te1)for(let a=t.length-2;a>=0;a--){const d=t[a];B_(d)||zI(d,r)&&null===WI(d)&&GI(d,r.index)}}function B_(t){return!(64&t.type)}function zI(t,r){return B_(r)||t.index>r.index}function WI(t){const r=t.insertBeforeIndex;return Array.isArray(r)?r[0]:r}function GI(t,r){const a=t.insertBeforeIndex;Array.isArray(a)?a[0]=r:(qy(Xf,mS),t.insertBeforeIndex=r)}function Cd(t,r){const a=t.data[r];return null===a||"string"==typeof a?null:a.hasOwnProperty("currentCaseLViewIndex")?a:a.value}function j_(t,r,a){const d=ns(t,a,64,null,null);return gS(r,d),d}function nu(t,r){const a=r[t.currentCaseLViewIndex];return null===a?a:a<0?~a:a}function pS(t){return t>>>17}function H_(t){return(131070&t)>>>1}let Md=0,ru=0;function bS(t,r,a,d){const b=a[yr];let U,I=null;for(let z=0;z>>1,a),null,null,Zt,pn,null)}else switch(te){case Jf:const De=r[++z],Ke=r[++z];null===a[Ke]&&_a(a[Ke]=Lg(b,De),a);break;case yd:const bt=r[++z],Bt=r[++z];null===a[Bt]&&_a(a[Bt]=Ah(b,bt,null),a)}}}function Y_(t,r,a,d,b){for(let I=0;I>>2;switch(3&Ke){case 1:const Bt=a[++De],Zt=a[++De],pn=t.data[bt];"string"==typeof pn?Tc(r[yr],r[bt],null,pn,Bt,te,Zt):Sa(t,pn,r,Bt,te,r[yr],Zt,!1);break;case 0:const On=r[bt];null!==On&&zy(r[yr],On,te);break;case 2:XI(t,Cd(t,bt),r,te);break;case 3:yS(t,Cd(t,bt),d,r)}}}}else{const te=a[I+1];if(te>0&&3==(3&te)){const Ke=Cd(t,te>>>2);r[Ke.currentCaseLViewIndex]<0&&yS(t,Ke,d,r)}}I+=z}}function yS(t,r,a,d){let b=d[r.currentCaseLViewIndex];if(null!==b){let I=Md;b<0&&(b=d[r.currentCaseLViewIndex]=~b,I=-1),Y_(t,d,r.update[b],a,I)}}function XI(t,r,a,d){const b=function iu(t,r){let a=t.cases.indexOf(r);if(-1===a)switch(t.type){case 1:{const d=function VI(t,r){const a=Zf(r)(parseInt(t,10)),d=HI[a];return void 0!==d?d:"other"}(r,function $I(){return fS}());a=t.cases.indexOf(d),-1===a&&"other"!==d&&(a=t.cases.indexOf("other"));break}case 0:a=t.cases.indexOf("other")}return-1===a?null:a}(r,d);if(nu(r,a)!==b&&(CS(t,r,a),a[r.currentCaseLViewIndex]=null===b?null:~b,null!==b)){const U=a[r.anchorIdx];U&&bS(t,r.create[b],a,U)}}function CS(t,r,a){let d=nu(r,a);if(null!==d){const b=r.remove[d];for(let I=0;I0){const z=aa(U,a);null!==z&&Oh(a[yr],z)}else CS(t,Cd(t,~U),a)}}}function qI(){const t=[];let a,d,r=-1;function I(z,te){r=0;const De=nu(z,te);d=null!==De?z.remove[De]:lr}function U(){if(r0?a[z]:(t.push(r,d),I(a[xn].data[~z],a),U())}return 0===t.length?null:(d=t.pop(),r=t.pop(),U())}return function b(z,te){for(a=te;t.length;)t.pop();return I(z.value,te),U}}const Sd=/\ufffd(\d+):?\d*\ufffd/gi,eA=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,SS=/\ufffd(\d+)\ufffd/,ES=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,ou="\ufffd",tA=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,nA=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,rA=/\uE500/g;function qf(t,r,a,d,b,I,U){const z=Vu(t,d,1,null);let te=z<a.length&&a.push(te)}return{type:d,mainBinding:b,cases:r,values:a}}function Ed(t){if(!t)return[];let r=0;const a=[],d=[],b=/[{}]/g;let I;for(b.lastIndex=0;I=b.exec(t);){const z=I.index;if("}"==I[0]){if(a.pop(),0==a.length){const te=t.substring(r,z);ES.test(te)?d.push(lA(te)):d.push(te),r=z+1}}else{if(0==a.length){const te=t.substring(r,z);d.push(te),r=z+1}a.push("{")}}const U=t.substring(r);return d.push(U),d}function cA(t,r,a,d,b,I,U,z){const te=[],De=[],Ke=[];r.cases.push(I),r.create.push(te),r.remove.push(De),r.update.push(Ke);const Bt=Ey(ta()).getInertBodyElement(U),Zt=yh(Bt)||Bt;return Zt?Q_(t,r,a,d,te,De,Ke,Zt,b,z,0):0}function Q_(t,r,a,d,b,I,U,z,te,De,Ke){let bt=0,Bt=z.firstChild;for(;Bt;){const Zt=Vu(t,a,1,null);switch(Bt.nodeType){case Node.ELEMENT_NODE:const pn=Bt,On=pn.tagName.toLowerCase();if(gg.hasOwnProperty(On)){Z_(b,yd,On,te,Zt),t.data[Zt]=On;const hi=pn.attributes;for(let Li=0;Li>>Ea.SHIFT;let bt=t[Ke];null===bt&&(bt=t[Ke]=(U&Ea.COMMENT)===Ea.COMMENT?b.createComment(z):Ih(b,z)),De&&null!==a&&xl(b,a,bt,d,!1)}})(b,te.create,Ke,z&&8&z.type?b[z.index]:null),Me(!0)}function ev(){Me(!1)}function tv(t,r,a){q_(t,r,a),ev()}function OS(t,r){const a=Ar(),d=go(a.consts,r);!function W_(t,r,a){const b=Qr().index,I=[];if(t.firstCreatePass&&null===t.data[r]){for(let U=0;U0){const d=t.data[a];Y_(t,r,Array.isArray(d)?d:d.update,dn()-ru-1,Md)}Md=0,ru=0}(Ar(),Sn(),t+pr)}function RS(t,r={}){return function gA(t,r={}){let a=t;if(X_.test(t)){const d={},b=[AS];a=a.replace(hA,(I,U,z)=>{const te=U||z,De=d[te]||[];if(De.length||(te.split("|").forEach(On=>{const Qn=On.match(xS),vr=Qn?parseInt(Qn[1],10):AS,Nn=mA.test(On);De.push([vr,Nn,On])}),d[te]=De),!De.length)throw new Error(`i18n postprocess: unmatched placeholder - ${te}`);const Ke=b[b.length-1];let bt=0;for(let On=0;Onr.hasOwnProperty(I)?`${b}${r[I]}${te}`:d),a=a.replace(fA,(d,b)=>r.hasOwnProperty(b)?r[b]:d),a=a.replace(kS,(d,b)=>{if(r.hasOwnProperty(b)){const I=r[b];if(!I.length)throw new Error(`i18n postprocess: unmatched ICU - ${d} with key: ${b}`);return I.shift()}return d})),a}(t,r)}function nv(t,r,a,d){const b=Sn(),I=Ar(),U=Qr();return rv(I,b,b[yr],U,t,r,d),nv}function wd(t,r){const a=Qr(),d=Sn(),b=Ar();return rv(b,d,bC(B(b.data),a,d),a,t,r),wd}function rv(t,r,a,d,b,I,U){const z=ao(d),De=t.firstCreatePass&&vC(t),Ke=r[oi],bt=_C(r);let Bt=!0;if(3&d.type||U){const On=io(d,r),Qn=U?U(On):On,vr=bt.length,Nn=U?Li=>U($r(Li[d.index])):d.index;let hi=null;if(!U&&z&&(hi=function pA(t,r,a,d){const b=t.cleanup;if(null!=b)for(let I=0;Ite?z[te]:null}"string"==typeof U&&(I+=2)}return null}(t,r,b,d.index)),null!==hi)(hi.__ngLastListenerFn__||hi).__ngNextListenerFn__=I,hi.__ngLastListenerFn__=I,Bt=!1;else{I=NS(d,r,Ke,I,!1);const Li=a.listen(Qn,b,I);bt.push(I,Li),De&&De.push(b,Nn,vr,vr+1)}}else I=NS(d,r,Ke,I,!1);const Zt=d.outputs;let pn;if(Bt&&null!==Zt&&(pn=Zt[b])){const On=pn.length;if(On)for(let Qn=0;Qn-1?qi(t.index,r):r);let te=FS(r,a,d,U),De=I.__ngNextListenerFn__;for(;De;)te=FS(r,a,De,U)&&te,De=De.__ngNextListenerFn__;return b&&!1===te&&U.preventDefault(),te}}function US(t=1){return function Fo(t){return(Gt.lFrame.contextLView=$(t,Gt.lFrame.contextLView))[oi]}(t)}function vA(t,r){let a=null;const d=function x(t){const r=t.attrs;if(null!=r){const a=r.indexOf(5);if(!(1&a))return r[a+1]}return null}(t);for(let b=0;b=t.data.length&&(t.data[a]=null,t.blueprint[a]=null),r[a]=d}function fv(t){return wo(function wt(){return Gt.lFrame.contextLView}(),pr+t)}function WS(t,r,a){Oa(Gc(Sn(),t,r,a))}function mv(t,r,a,d,b){Oa(Hs(Sn(),t,r,a,d,b))}function GS(t,r,a,d,b,I,U){Oa(Hl(Sn(),t,r,a,d,b,I,U))}function gv(t,r,a,d,b,I,U,z,te){Oa(Kc(Sn(),t,r,a,d,b,I,U,z,te))}function KS(t,r,a,d,b,I,U,z,te,De,Ke){Oa(Vl(Sn(),t,r,a,d,b,I,U,z,te,De,Ke))}function pv(t,r,a,d,b,I,U,z,te,De,Ke,bt,Bt){Oa(Qc(Sn(),t,r,a,d,b,I,U,z,te,De,Ke,bt,Bt))}function QS(t,r,a,d,b,I,U,z,te,De,Ke,bt,Bt,Zt,pn){Oa(Yl(Sn(),t,r,a,d,b,I,U,z,te,De,Ke,bt,Bt,Zt,pn))}function ZS(t,r,a,d,b,I,U,z,te,De,Ke,bt,Bt,Zt,pn,On,Qn){Oa(Zc(Sn(),t,r,a,d,b,I,U,z,te,De,Ke,bt,Bt,Zt,pn,On,Qn))}function _v(t){Oa(jl(Sn(),t))}function vv(t,r,a,d,b){return Ka(t,Gc(Sn(),r,a,d),b,!1),vv}function im(t,r,a,d,b,I,U){return Ka(t,Hs(Sn(),r,a,d,b,I),U,!1),im}function bv(t,r,a,d,b,I,U,z,te){return Ka(t,Hl(Sn(),r,a,d,b,I,U,z),te,!1),bv}function yv(t,r,a,d,b,I,U,z,te,De,Ke){return Ka(t,Kc(Sn(),r,a,d,b,I,U,z,te,De),Ke,!1),yv}function Cv(t,r,a,d,b,I,U,z,te,De,Ke,bt,Bt){return Ka(t,Vl(Sn(),r,a,d,b,I,U,z,te,De,Ke,bt),Bt,!1),Cv}function su(t,r,a,d,b,I,U,z,te,De,Ke,bt,Bt,Zt,pn){return Ka(t,Qc(Sn(),r,a,d,b,I,U,z,te,De,Ke,bt,Bt,Zt),pn,!1),su}function Mv(t,r,a,d,b,I,U,z,te,De,Ke,bt,Bt,Zt,pn,On,Qn){return Ka(t,Yl(Sn(),r,a,d,b,I,U,z,te,De,Ke,bt,Bt,Zt,pn,On),Qn,!1),Mv}function om(t,r,a,d,b,I,U,z,te,De,Ke,bt,Bt,Zt,pn,On,Qn,vr,Nn){return Ka(t,Zc(Sn(),r,a,d,b,I,U,z,te,De,Ke,bt,Bt,Zt,pn,On,Qn,vr),Nn,!1),om}function Sv(t,r,a){return Ka(t,jl(Sn(),r),a,!1),Sv}function Ev(t,r=""){const a=Sn(),d=Ar(),b=t+pr,I=d.firstCreatePass?Us(d,b,1,r,null):d.data[b],U=JS(d,a,I,r,t);a[b]=U,Ss()&&xh(d,a,U,I),nt(I,!1)}let JS=(t,r,a,d,b)=>(La(!0),Ih(r[yr],d));function bA(t,r,a,d,b){const I=r[Zi],U=!I||Dr()||zd(I,b);return La(U),U?Ih(r[yr],d):rs(I,t,r,a)}function am(t){return sm("",t,""),am}function sm(t,r,a){const d=Sn(),b=Gc(d,t,r,a);return b!==li&&Bs(d,xi(),b),sm}function lu(t,r,a,d,b){const I=Sn(),U=Hs(I,t,r,a,d,b);return U!==li&&Bs(I,xi(),U),lu}function wv(t,r,a,d,b,I,U){const z=Sn(),te=Hl(z,t,r,a,d,b,I,U);return te!==li&&Bs(z,xi(),te),wv}function Dv(t,r,a,d,b,I,U,z,te){const De=Sn(),Ke=Kc(De,t,r,a,d,b,I,U,z,te);return Ke!==li&&Bs(De,xi(),Ke),Dv}function Tv(t,r,a,d,b,I,U,z,te,De,Ke){const bt=Sn(),Bt=Vl(bt,t,r,a,d,b,I,U,z,te,De,Ke);return Bt!==li&&Bs(bt,xi(),Bt),Tv}function Iv(t,r,a,d,b,I,U,z,te,De,Ke,bt,Bt){const Zt=Sn(),pn=Qc(Zt,t,r,a,d,b,I,U,z,te,De,Ke,bt,Bt);return pn!==li&&Bs(Zt,xi(),pn),Iv}function Av(t,r,a,d,b,I,U,z,te,De,Ke,bt,Bt,Zt,pn){const On=Sn(),Qn=Yl(On,t,r,a,d,b,I,U,z,te,De,Ke,bt,Bt,Zt,pn);return Qn!==li&&Bs(On,xi(),Qn),Av}function lm(t,r,a,d,b,I,U,z,te,De,Ke,bt,Bt,Zt,pn,On,Qn){const vr=Sn(),Nn=Zc(vr,t,r,a,d,b,I,U,z,te,De,Ke,bt,Bt,Zt,pn,On,Qn);return Nn!==li&&Bs(vr,xi(),Nn),lm}function Pv(t){const r=Sn(),a=jl(r,t);return a!==li&&Bs(r,xi(),a),Pv}function cm(t,r,a){Xh(r)&&(r=r());const d=Sn();return Ho(d,Y(),r)&&Sa(Ar(),yi(),d,t,r,d[yr],a,!1),cm}function XS(t,r){const a=Xh(t);return a&&t.set(r),a}function um(t,r){const a=Sn(),d=Ar(),b=Qr();return rv(d,a,a[yr],b,t,r),um}function kv(t,r,a,d,b){if(t=kr(t),Array.isArray(t))for(let I=0;I>20;if(yl(t)||!t.multi){const Zt=new Ou(De,b,Dc),pn=Ov(te,r,b?Ke:Ke+Bt,bt);-1===pn?(og(pc(z,U),I,te),xv(I,t,r.length),r.push(te),z.directiveStart++,z.directiveEnd++,b&&(z.providerIndexes+=1048576),a.push(Zt),U.push(Zt)):(a[pn]=Zt,U[pn]=Zt)}else{const Zt=Ov(te,r,Ke+Bt,bt),pn=Ov(te,r,Ke,Ke+Bt),Qn=pn>=0&&a[pn];if(b&&!Qn||!b&&!(Zt>=0&&a[Zt])){og(pc(z,U),I,te);const vr=function SA(t,r,a,d,b){const I=new Ou(t,a,Dc);return I.multi=[],I.index=r,I.componentProviders=0,qS(I,b,d&&!a),I}(b?MA:eE,a.length,b,d,De);!b&&Qn&&(a[pn].providerFactory=vr),xv(I,t,r.length,0),r.push(te),z.directiveStart++,z.directiveEnd++,b&&(z.providerIndexes+=1048576),a.push(vr),U.push(vr)}else xv(I,t,Zt>-1?Zt:pn,qS(a[b?pn:Zt],De,!b&&d));!b&&d&&Qn&&a[pn].componentProviders++}}}function xv(t,r,a,d){const b=yl(r),I=function eD(t){return!!t.useClass}(r);if(b||I){const te=(I?kr(r.useClass):r).prototype.ngOnDestroy;if(te){const De=t.destroyHooks||(t.destroyHooks=[]);if(!b&&r.multi){const Ke=De.indexOf(a);-1===Ke?De.push(a,[d,te]):De[Ke+1].push(d,te)}else De.push(a,te)}}}function qS(t,r,a){return a&&t.componentProviders++,t.multi.push(r)-1}function Ov(t,r,a,d){for(let b=a;b{a.providersResolver=(d,b)=>function CA(t,r,a){const d=Ar();if(d.firstCreatePass){const b=Gi(t);kv(a,d.data,d.blueprint,b,!0),kv(r,d.data,d.blueprint,b,!1)}}(d,b?b(t):t,r)}}let EA=(()=>{class t{constructor(a){this._injector=a,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(a){if(!a.standalone)return null;if(!this.cachedInjectors.has(a)){const d=$m(0,a.type),b=d.length>0?$p([d],this._injector,`Standalone[${a.type.name}]`):null;this.cachedInjectors.set(a,b)}return this.cachedInjectors.get(a)}ngOnDestroy(){try{for(const a of this.cachedInjectors.values())null!==a&&a.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=si({token:t,providedIn:"environment",factory:()=>new t(ve(es))})}return t})();function Fv(t){Wa("NgStandalone"),t.getStandaloneInjector=r=>r.get(EA).getOrCreateStandaloneInjector(t)}function tE(t,r,a){const d=t.\u0275cmp;d.directiveDefs=it(r,!1),d.pipeDefs=it(a,!0)}function Nv(t,r){return At(()=>{const a=hr(t,!0);a.declarations=dm(r.declarations||lr),a.imports=dm(r.imports||lr),a.exports=dm(r.exports||lr),r.bootstrap&&(a.bootstrap=dm(r.bootstrap)),Rc.registerNgModule(t,r)})}function dm(t){if("function"==typeof t)return t;const r=ca(t);return r.some(Ya)?()=>r.map(kr).map(nE):r.map(nE)}function nE(t){return Dp(t)?t.ngModule:t}function Uv(t){const r=Ma(t);if(null===r)return null;if(void 0===r.component){const a=r.lView;if(null===a)return null;r.component=function JD(t,r){const a=r[xn].data[t],{directiveStart:d,componentOffset:b}=a;return b>-1?r[d+b]:null}(r.nodeIndex,a)}return r.component}function oE(t){if(t instanceof Text)return[];const r=Ma(t),a=r?r.lView:null;if(null===a)return[];const d=a[xn],b=r.nodeIndex;return d?.data[b]?(void 0===r.directives&&(r.directives=wg(b,a)),null===r.directives?[]:[...r.directives]):[]}function Td(t){return Ma(t).native}function IA(t,r){return t.name==r.name?0:t.name=0;a--){const d=r[a];if(t===d.name)return d}}(r,a.pipeRegistry),a.data[b]=d,d.onDestroy&&(a.destroyHooks??=[]).push(b,d.onDestroy)):d=a.data[b];const I=d.factory||(d.factory=bl(d.type)),z=Ko(Dc);try{const te=ch(!1),De=I();return ch(te),zS(a,Sn(),b,De),De}finally{Ko(z)}}function bE(t,r,a){const d=t+pr,b=Sn(),I=wo(b,d);return uu(b,d)?mE(b,Kt(),r,I.transform,a,I):I.transform(a)}function Kv(t,r,a,d){const b=t+pr,I=Sn(),U=wo(I,b);return uu(I,b)?Wv(I,Kt(),r,U.transform,a,d,U):U.transform(a,d)}function yE(t,r,a,d,b){const I=t+pr,U=Sn(),z=wo(U,I);return uu(U,I)?gE(U,Kt(),r,z.transform,a,d,b,z):z.transform(a,d,b)}function Qv(t,r,a,d,b,I){const U=t+pr,z=Sn(),te=wo(z,U);return uu(z,U)?Gv(z,Kt(),r,te.transform,a,d,b,I,te):te.transform(a,d,b,I)}function CE(t,r,a){const d=t+pr,b=Sn(),I=wo(b,d);return uu(b,d)?pE(b,Kt(),r,I.transform,a,I):I.transform.apply(I,a)}function uu(t,r){return t[xn].data[r].pure}function ME(t,r){return zh(t,r)}function Zv(t,r){return()=>{try{return Rc.getComponentDependencies(t,r).dependencies}catch(a){throw console.error(`Computing dependencies in local compilation mode for the component "${t.name}" failed with the exception:`,a),a}}}function SE(t,r){const a=hn(t);null!==a&&(a.debugInfo=r)}const ba={\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:m_,\u0275\u0275defineComponent:ht,\u0275\u0275defineDirective:_n,\u0275\u0275defineInjectable:si,\u0275\u0275defineInjector:Va,\u0275\u0275defineNgModule:en,\u0275\u0275definePipe:bn,\u0275\u0275directiveInject:Dc,\u0275\u0275getInheritedFactory:oy,\u0275\u0275inject:ve,\u0275\u0275injectAttribute:fh,\u0275\u0275invalidFactory:aC,\u0275\u0275invalidFactoryDep:Oe,\u0275\u0275templateRefExtractor:ME,\u0275\u0275resetView:ki,\u0275\u0275HostDirectivesFeature:hd,\u0275\u0275NgOnChangesFeature:qm,\u0275\u0275ProvidersFeature:Rv,\u0275\u0275CopyDefinitionFeature:K0,\u0275\u0275InheritDefinitionFeature:mf,\u0275\u0275InputTransformsFeature:J0,\u0275\u0275StandaloneFeature:Fv,\u0275\u0275nextContext:US,\u0275\u0275namespaceHTML:ls,\u0275\u0275namespaceMathML:ss,\u0275\u0275namespaceSVG:da,\u0275\u0275enableBindings:wi,\u0275\u0275disableBindings:Si,\u0275\u0275elementStart:zf,\u0275\u0275elementEnd:bd,\u0275\u0275element:F_,\u0275\u0275elementContainerStart:eu,\u0275\u0275elementContainerEnd:Wf,\u0275\u0275elementContainer:Gf,\u0275\u0275pureFunction0:Hv,\u0275\u0275pureFunction1:cE,\u0275\u0275pureFunction2:Vv,\u0275\u0275pureFunction3:uE,\u0275\u0275pureFunction4:Yv,\u0275\u0275pureFunction5:dE,\u0275\u0275pureFunction6:$v,\u0275\u0275pureFunction7:hE,\u0275\u0275pureFunction8:zv,\u0275\u0275pureFunctionV:fE,\u0275\u0275getCurrentView:uS,\u0275\u0275restoreView:eo,\u0275\u0275listener:nv,\u0275\u0275projection:jS,\u0275\u0275syntheticHostProperty:Kf,\u0275\u0275syntheticHostListener:wd,\u0275\u0275pipeBind1:bE,\u0275\u0275pipeBind2:Kv,\u0275\u0275pipeBind3:yE,\u0275\u0275pipeBind4:Qv,\u0275\u0275pipeBindV:CE,\u0275\u0275projectionDef:BS,\u0275\u0275hostProperty:N_,\u0275\u0275property:y_,\u0275\u0275propertyInterpolate:iv,\u0275\u0275propertyInterpolate1:Dd,\u0275\u0275propertyInterpolate2:ov,\u0275\u0275propertyInterpolate3:tm,\u0275\u0275propertyInterpolate4:av,\u0275\u0275propertyInterpolate5:nm,\u0275\u0275propertyInterpolate6:sv,\u0275\u0275propertyInterpolate7:lv,\u0275\u0275propertyInterpolate8:rm,\u0275\u0275propertyInterpolateV:cv,\u0275\u0275pipe:_E,\u0275\u0275queryRefresh:dv,\u0275\u0275queryAdvance:hv,\u0275\u0275viewQuery:HS,\u0275\u0275viewQuerySignal:$S,\u0275\u0275loadQuery:VS,\u0275\u0275contentQuery:uv,\u0275\u0275contentQuerySignal:YS,\u0275\u0275reference:fv,\u0275\u0275classMap:S_,\u0275\u0275classMapInterpolate1:T_,\u0275\u0275classMapInterpolate2:JM,\u0275\u0275classMapInterpolate3:Hf,\u0275\u0275classMapInterpolate4:XM,\u0275\u0275classMapInterpolate5:I_,\u0275\u0275classMapInterpolate6:qM,\u0275\u0275classMapInterpolate7:eS,\u0275\u0275classMapInterpolate8:zl,\u0275\u0275classMapInterpolateV:tS,\u0275\u0275styleMap:Oa,\u0275\u0275styleMapInterpolate1:WS,\u0275\u0275styleMapInterpolate2:mv,\u0275\u0275styleMapInterpolate3:GS,\u0275\u0275styleMapInterpolate4:gv,\u0275\u0275styleMapInterpolate5:KS,\u0275\u0275styleMapInterpolate6:pv,\u0275\u0275styleMapInterpolate7:QS,\u0275\u0275styleMapInterpolate8:ZS,\u0275\u0275styleMapInterpolateV:_v,\u0275\u0275styleProp:Uf,\u0275\u0275stylePropInterpolate1:vv,\u0275\u0275stylePropInterpolate2:im,\u0275\u0275stylePropInterpolate3:bv,\u0275\u0275stylePropInterpolate4:yv,\u0275\u0275stylePropInterpolate5:Cv,\u0275\u0275stylePropInterpolate6:su,\u0275\u0275stylePropInterpolate7:Mv,\u0275\u0275stylePropInterpolate8:om,\u0275\u0275stylePropInterpolateV:Sv,\u0275\u0275classProp:M_,\u0275\u0275advance:iC,\u0275\u0275template:Hc,\u0275\u0275conditional:iS,\u0275\u0275defer:MM,\u0275\u0275deferWhen:n_,\u0275\u0275deferOnIdle:EM,\u0275\u0275deferOnImmediate:wM,\u0275\u0275deferOnTimer:DM,\u0275\u0275deferOnHover:TM,\u0275\u0275deferOnInteraction:IM,\u0275\u0275deferOnViewport:Pf,\u0275\u0275deferPrefetchWhen:SM,\u0275\u0275deferPrefetchOnIdle:r_,\u0275\u0275deferPrefetchOnImmediate:Af,\u0275\u0275deferPrefetchOnTimer:i_,\u0275\u0275deferPrefetchOnHover:o_,\u0275\u0275deferPrefetchOnInteraction:AM,\u0275\u0275deferPrefetchOnViewport:PM,\u0275\u0275deferEnableTimerScheduling:t_,\u0275\u0275repeater:$f,\u0275\u0275repeaterCreate:O_,\u0275\u0275repeaterTrackByIndex:aS,\u0275\u0275repeaterTrackByIdentity:x_,\u0275\u0275componentInstance:nS,\u0275\u0275text:Ev,\u0275\u0275textInterpolate:am,\u0275\u0275textInterpolate1:sm,\u0275\u0275textInterpolate2:lu,\u0275\u0275textInterpolate3:wv,\u0275\u0275textInterpolate4:Dv,\u0275\u0275textInterpolate5:Tv,\u0275\u0275textInterpolate6:Iv,\u0275\u0275textInterpolate7:Av,\u0275\u0275textInterpolate8:lm,\u0275\u0275textInterpolateV:Pv,\u0275\u0275i18n:tv,\u0275\u0275i18nAttributes:OS,\u0275\u0275i18nExp:em,\u0275\u0275i18nStart:q_,\u0275\u0275i18nEnd:ev,\u0275\u0275i18nApply:LS,\u0275\u0275i18nPostprocess:RS,\u0275\u0275resolveWindow:Vy,\u0275\u0275resolveDocument:Pg,\u0275\u0275resolveBody:Dh,\u0275\u0275setComponentScope:tE,\u0275\u0275setNgModuleScope:Nv,\u0275\u0275registerNgModuleType:ff,\u0275\u0275getComponentDepsFactory:Zv,\u0275setClassDebugInfo:SE,\u0275\u0275sanitizeHtml:_g,\u0275\u0275sanitizeStyle:vg,\u0275\u0275sanitizeResourceUrl:Ch,\u0275\u0275sanitizeScript:yg,\u0275\u0275sanitizeUrl:bg,\u0275\u0275sanitizeUrlOrResourceUrl:Ns,\u0275\u0275trustConstantHtml:Py,\u0275\u0275trustConstantResourceUrl:Cg,\u0275\u0275validateIframeAttribute:dd,forwardRef:no,resolveForwardRef:kr,\u0275\u0275twoWayProperty:cm,\u0275\u0275twoWayBindingSet:XS,\u0275\u0275twoWayListener:um,\u0275\u0275InputFlags:rt};let du=null;function wE(){du=null}const hu=[];let fm=!1;function DE(){if(!fm){fm=!0;try{for(let t=hu.length-1;t>=0;t--){const{moduleType:r,ngModule:a}=hu[t];a.declarations&&a.declarations.every(Jv)&&(hu.splice(t,1),kE(r,a))}}finally{fm=!1}}}function Jv(t){return Array.isArray(t)?t.every(Jv):!!kr(t)}function TE(t,r={}){Xv(t,r),void 0!==r.id&&ff(t,r.id),function PA(t,r){hu.push({moduleType:t,ngModule:r})}(t,r)}function Xv(t,r,a=!1){const d=ca(r.declarations||lr);let b=null;Object.defineProperty(t,qn,{configurable:!0,get:()=>(null===b&&(b=na().compileNgModule(ba,`ng:///${t.name}/\u0275mod.js`,{type:t,bootstrap:ca(r.bootstrap||lr).map(kr),declarations:d.map(kr),imports:ca(r.imports||lr).map(kr).map(OE),exports:ca(r.exports||lr).map(kr).map(OE),schemas:r.schemas?ca(r.schemas):null,id:r.id||null}),b.schemas||(b.schemas=[])),b)});let I=null;Object.defineProperty(t,dr,{get:()=>{if(null===I){const z=na();I=z.compileFactory(ba,`ng:///${t.name}/\u0275fac.js`,{name:t.name,type:t,deps:mh(t),target:z.FactoryTarget.NgModule,typeArgumentCount:0})}return I},configurable:!1});let U=null;Object.defineProperty(t,W,{get:()=>{if(null===U){const z={name:t.name,type:t,providers:r.providers||lr,imports:[(r.imports||lr).map(kr),(r.exports||lr).map(kr)]};U=na().compileInjector(ba,`ng:///${t.name}/\u0275inj.js`,z)}return U},configurable:!1})}function IE(t,r){return`Unexpected "${$i(t)}" found in the "declarations" array of the ${r}, "${$i(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 gm=new WeakMap,pm=new WeakMap;function kA(){gm=new WeakMap,pm=new WeakMap,hu.length=0,co.clear()}function kE(t,r){const a=ca(r.declarations||lr),d=Kl(t);a.forEach(b=>{(b=kr(b)).hasOwnProperty(Ci)?eb(hn(b),d):!b.hasOwnProperty(tn)&&!b.hasOwnProperty(jn)&&(b.ngSelectorScope=t)})}function eb(t,r){t.directiveDefs=()=>Array.from(r.compilation.directives).map(a=>a.hasOwnProperty(Ci)?hn(a):In(a)).filter(a=>!!a),t.pipeDefs=()=>Array.from(r.compilation.pipes).map(a=>Un(a)),t.schemas=r.schemas,t.tView=null}function Kl(t){if(tl(t)){if(sd){const r=Rc.getNgModuleScope(t);return{schemas:hr(t,!0).schemas||null,...r}}return function xE(t){const r=hr(t,!0);if(null!==r.transitiveCompileScopes)return r.transitiveCompileScopes;const a={schemas:r.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return Ba(r.imports).forEach(d=>{const b=Kl(d);b.exported.directives.forEach(I=>a.compilation.directives.add(I)),b.exported.pipes.forEach(I=>a.compilation.pipes.add(I))}),Ba(r.declarations).forEach(d=>{Un(d)?a.compilation.pipes.add(d):a.compilation.directives.add(d)}),Ba(r.exports).forEach(d=>{const b=d;if(tl(b)){const I=Kl(b);I.exported.directives.forEach(U=>{a.compilation.directives.add(U),a.exported.directives.add(U)}),I.exported.pipes.forEach(U=>{a.compilation.pipes.add(U),a.exported.pipes.add(U)})}else Un(b)?a.exported.pipes.add(b):a.exported.directives.add(b)}),r.transitiveCompileScopes=a,a}(t)}if(_r(t)){if(null!==(hn(t)||In(t)))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set([t]),pipes:new Set}};if(null!==Un(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 tb=0;function LE(t,r){let a=null;(function WT(t,r){V0(r)&&(Bc.set(t,r),jc.add(t))})(t,r),NE(t,r),Object.defineProperty(t,Ci,{get:()=>{if(null===a){const d=na();if(V0(r)){const De=[`Component '${t.name}' is not resolved:`];throw r.templateUrl&&De.push(` - templateUrl: ${r.templateUrl}`),r.styleUrls&&r.styleUrls.length&&De.push(` - styleUrls: ${JSON.stringify(r.styleUrls)}`),r.styleUrl&&De.push(` - styleUrl: ${r.styleUrl}`),De.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(De.join("\n"))}const b=function AA(){return du}();let I=r.preserveWhitespaces;void 0===I&&(I=null!==b&&void 0!==b.preserveWhitespaces&&b.preserveWhitespaces);let U=r.encapsulation;void 0===U&&(U=null!==b&&void 0!==b.defaultEncapsulation?b.defaultEncapsulation:gt.Emulated);const z=r.templateUrl||`ng:///${t.name}/template.html`,te={...UE(t,r),typeSourceSpan:d.createParseSourceSpan("Component",t.name,z),template:r.template||"",preserveWhitespaces:I,styles:"string"==typeof r.styles?[r.styles]:r.styles||lr,animations:r.animations,declarations:[],changeDetection:r.changeDetection,encapsulation:U,interpolation:r.interpolation,viewProviders:r.viewProviders||null};tb++;try{if(te.usesInheritance&&Id(t),a=d.compileComponent(ba,z,te),r.standalone){const De=ca(r.imports||lr),{directiveDefs:Ke,pipeDefs:bt}=function xA(t,r){let a=null,d=null;return{directiveDefs:()=>{if(sd)return ad(t)?[...Rc.getStandaloneComponentScope(t,r).compilation.directives].map(z=>hn(z)||In(z)).filter(z=>null!==z):[];if(null===a){a=[hn(t)];const U=new Set([t]);for(const z of r){const te=kr(z);if(!U.has(te))if(U.add(te),hr(te)){const De=Kl(te);for(const Ke of De.exported.directives){const bt=hn(Ke)||In(Ke);bt&&!U.has(Ke)&&(U.add(Ke),a.push(bt))}}else{const De=hn(te)||In(te);De&&a.push(De)}}}return a},pipeDefs:()=>{if(sd)return ad(t)?[...Rc.getStandaloneComponentScope(t,r).compilation.pipes].map(z=>Un(z)).filter(z=>null!==z):[];if(null===d){d=[];const U=new Set;for(const z of r){const te=kr(z);if(!U.has(te))if(U.add(te),hr(te)){const De=Kl(te);for(const Ke of De.exported.pipes){const bt=Un(Ke);bt&&!U.has(Ke)&&(U.add(Ke),d.push(bt))}}else{const De=Un(te);De&&d.push(De)}}}return d}}}(t,De);a.directiveDefs=Ke,a.pipeDefs=bt,a.dependencies=()=>De.map(kr)}}finally{tb--}if(0===tb&&DE(),function RE(t){return void 0!==t.ngSelectorScope}(t)){const De=Kl(t.ngSelectorScope);eb(a,De)}if(r.schemas){if(!r.standalone)throw new Error(`The 'schemas' was specified for the ${$i(t)} but is only valid on a component that is standalone.`);a.schemas=r.schemas}else r.standalone&&(a.schemas=[])}return a},configurable:!1})}function nb(t,r){let a=null;NE(t,r||{}),Object.defineProperty(t,tn,{get:()=>{if(null===a){const d=FE(t,r||{});a=na().compileDirective(ba,d.sourceMapUrl,d.metadata)}return a},configurable:!1})}function FE(t,r){const a=t&&t.name,d=`ng:///${a}/\u0275dir.js`,b=na(),I=UE(t,r);return I.typeSourceSpan=b.createParseSourceSpan("Directive",a,d),I.usesInheritance&&Id(t),{metadata:I,sourceMapUrl:d}}function NE(t,r){let a=null;Object.defineProperty(t,dr,{get:()=>{if(null===a){const d=FE(t,r),b=na();a=b.compileFactory(ba,`ng:///${t.name}/\u0275fac.js`,{name:d.metadata.name,type:d.metadata.type,typeArgumentCount:0,deps:mh(t),target:b.FactoryTarget.Directive})}return a},configurable:!1})}function qP(t){return Object.getPrototypeOf(t.prototype)===Object.prototype}function UE(t,r){const a=lg(),d=a.ownPropMetadata(t);return{name:t.name,type:t,selector:void 0!==r.selector?r.selector:null,host:r.host||Tr,propMetadata:d,inputs:r.inputs||lr,outputs:r.outputs||lr,queries:BE(t,d,jE),lifecycle:{usesOnChanges:a.hasLifecycleHook(t,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!qP(t),exportAs:RA(r.exportAs),providers:r.providers||null,viewQueries:BE(t,d,HE),isStandalone:!!r.standalone,isSignal:!!r.signals,hostDirectives:r.hostDirectives?.map(b=>"function"==typeof b?{directive:b}:b)||null}}function Id(t){const r=Object.prototype;let a=Object.getPrototypeOf(t.prototype).constructor;for(;a&&a!==r;)!In(a)&&!hn(a)&&YE(a)&&nb(a,null),a=Object.getPrototypeOf(a)}function OA(t){return"string"==typeof t?VE(t):kr(t)}function LA(t,r){return{propertyName:t,predicate:OA(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,a){const d=[];for(const b in r)if(r.hasOwnProperty(b)){const I=r[b];I.forEach(U=>{if(a(U)){if(!U.selector)throw new Error(`Can't construct a query for the property "${b}" of "${$i(t)}" since the query selector wasn't defined.`);if(I.some(Ad))throw new Error("Cannot combine @Input decorators with query decorators");d.push(LA(b,U))}})}return d}function RA(t){return void 0===t?null:VE(t)}function jE(t){const r=t.ngMetadataName;return"ContentChild"===r||"ContentChildren"===r}function HE(t){const r=t.ngMetadataName;return"ViewChild"===r||"ViewChildren"===r}function Ad(t){return"Input"===t.ngMetadataName}function VE(t){return t.split(",").map(r=>r.trim())}const FA=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function YE(t){const r=lg();if(FA.some(d=>r.hasLifecycleHook(t,d)))return!0;const a=r.propMetadata(t);for(const d in a){const b=a[d];for(let I=0;I{if(null===d){const b=rb(t,r),I=na();d=I.compileFactory(ba,`ng:///${b.name}/\u0275fac.js`,{name:b.name,type:b.type,typeArgumentCount:0,deps:mh(t),target:I.FactoryTarget.Pipe})}return d},configurable:!1}),Object.defineProperty(t,jn,{get:()=>{if(null===a){const b=rb(t,r);a=na().compilePipe(ba,`ng:///${b.name}/\u0275pipe.js`,b)}return a},configurable:!1})}function rb(t,r){return{type:t,name:t.name,pipeName:r.name,pure:void 0===r.pure||r.pure,isStandalone:!!r.standalone}}const zE=Iu("Directive",(t={})=>t,void 0,void 0,(t,r)=>nb(t,r)),NA=Iu("Component",(t={})=>({changeDetection:Pe.Default,...t}),zE,void 0,(t,r)=>LE(t,r)),WE=Iu("Pipe",t=>({pure:!0,...t}),void 0,void 0,(t,r)=>$E(t,r)),UA=Ks("Input",t=>t?"string"==typeof t?{alias:t}:t:{}),fu=Ks("Output",t=>({alias:t})),BA=Ks("HostBinding",t=>({hostPropertyName:t})),ib=Ks("HostListener",(t,r)=>({eventName:t,args:r})),jA=Iu("NgModule",t=>t,void 0,void 0,(t,r)=>TE(t,r));class GE{constructor(r){this.full=r;const a=r.split(".");this.major=a[0],this.minor=a[1],this.patch=a.slice(2).join(".")}}const KE=new GE("17.2.3");let QE=(()=>{class t{log(a){console.log(a)}warn(a){console.warn(a)}static#e=this.\u0275fac=function(d){return new(d||t)};static#t=this.\u0275prov=si({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();const sb=new oe(""),dw=new oe("");let cb,eP=(()=>{class t{constructor(a,d,b){this._ngZone=a,this.registry=d,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,cb||(lb(b),b.addToWindow(d)),this._watchAngularEvents(),a.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:()=>{No.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 a=this._callbacks.pop();clearTimeout(a.timeoutId),a.doneCb()}});else{let a=this.getPendingTasks();this._callbacks=this._callbacks.filter(d=>!d.updateCb||!d.updateCb(a)||(clearTimeout(d.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(a=>({source:a.source,creationLocation:a.creationLocation,data:a.data})):[]}addCallback(a,d,b){let I=-1;d&&d>0&&(I=setTimeout(()=>{this._callbacks=this._callbacks.filter(U=>U.timeoutId!==I),a()},d)),this._callbacks.push({doneCb:a,timeoutId:I,updateCb:b})}whenStable(a,d,b){if(b&&!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(a,d,b),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(a){this.registry.registerApplication(a,this)}unregisterApplication(a){this.registry.unregisterApplication(a)}findProviders(a,d,b){return[]}static#e=this.\u0275fac=function(d){return new(d||t)(ve(No),ve(hw),ve(dw))};static#t=this.\u0275prov=si({token:t,factory:t.\u0275fac})}return t})(),hw=(()=>{class t{constructor(){this._applications=new Map}registerApplication(a,d){this._applications.set(a,d)}unregisterApplication(a){this._applications.delete(a)}unregisterAllApplications(){this._applications.clear()}getTestability(a){return this._applications.get(a)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(a,d=!0){return cb?.findTestabilityInTree(this,a,d)??null}static#e=this.\u0275fac=function(d){return new(d||t)};static#t=this.\u0275prov=si({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function lb(t){cb=t}function ub(t){return!!t&&"function"==typeof t.then}function db(t){return!!t&&"function"==typeof t.subscribe}const fw=new oe("");let _m=(()=>{class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((a,d)=>{this.resolve=a,this.reject=d}),this.appInits=tt(fw,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const a=[];for(const b of this.appInits){const I=b();if(ub(I))a.push(I);else if(db(I)){const U=new Promise((z,te)=>{I.subscribe({complete:z,error:te})});a.push(U)}}const d=()=>{this.done=!0,this.resolve()};Promise.all(a).then(()=>{d()}).catch(b=>{this.reject(b)}),0===a.length&&d(),this.initialized=!0}static#e=this.\u0275fac=function(d){return new(d||t)};static#t=this.\u0275prov=si({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const hb=new oe("");function mw(){!function xe(t){ze=t}(()=>{throw new zt(600,!1)})}function Vs(t){return t.isBoundToModule}class tP{constructor(r,a){this.name=r,this.token=a}}function fb(t,r,a){try{const d=a();return ub(d)?d.catch(b=>{throw r.runOutsideAngular(()=>t.handleError(b)),b}):d}catch(d){throw r.runOutsideAngular(()=>t.handleError(d)),d}}function gw(t,r){return Array.isArray(r)?r.reduce(gw,t):{...t,...r}}let xd,Ys=(()=>{class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=tt(_y),this.afterRenderEffectManager=tt(Rl),this.componentTypes=[],this.components=[],this.isStable=tt(md).hasPendingTasks.pipe((0,ot.k)(a=>!a)),this._injector=tt(es)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(a,d){const b=a instanceof qu;if(!this._injector.get(_m).done)throw!b&&_r(a),new zt(405,!1);let U;U=b?a:this._injector.get(ed).resolveComponentFactory(a),this.componentTypes.push(U.componentType);const z=Vs(U)?void 0:this._injector.get(Fl),De=U.create(Na.NULL,[],d||U.selector,z),Ke=De.location.nativeElement,bt=De.injector.get(sb,null);return bt?.registerApplication(Ke),De.onDestroy(()=>{this.detachView(De.hostView),vm(this.components,De),bt?.unregisterApplication(Ke)}),this._loadComponent(De),De}tick(){if(this._runningTick)throw new zt(101,!1);try{this._runningTick=!0,this.detectChangesInAttachedViews()}catch(a){this.internalErrorHandler(a)}finally{this._runningTick=!1}}detectChangesInAttachedViews(){let a=0;const d=this.afterRenderEffectManager;for(;;){if(100===a)throw new zt(103,!1);const b=0===a;for(let{_lView:I,notifyErrorHandler:U}of this._views)!b&&!bm(I)||this.detectChangesInView(I,U,b);if(a++,d.executeInternalCallbacks(),!this._views.some(({_lView:I})=>bm(I))&&(d.execute(),!this._views.some(({_lView:I})=>bm(I))))break}}detectChangesInView(a,d,b){let I;b?(I=0,a[Jn]|=1024):I=64&a[Jn]?0:1,Ac(a,d,I)}attachView(a){const d=a;this._views.push(d),d.attachToAppRef(this)}detachView(a){const d=a;vm(this._views,d),d.detachFromAppRef()}_loadComponent(a){this.attachView(a.hostView),this.tick(),this.components.push(a);const d=this._injector.get(hb,[]);[...this._bootstrapListeners,...d].forEach(b=>b(a))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(a=>a()),this._views.slice().forEach(a=>a.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(a){return this._destroyListeners.push(a),()=>vm(this._destroyListeners,a)}destroy(){if(this._destroyed)throw new zt(406,!1);const a=this._injector;a.destroy&&!a.destroyed&&a.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(d){return new(d||t)};static#t=this.\u0275prov=si({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function vm(t,r){const a=t.indexOf(r);a>-1&&t.splice(a,1)}function pw(t){xd??=new WeakMap;const r=xd.get(t);if(r)return r;const a=t.isStable.pipe((0,Vt.K)(d=>d)).toPromise().then(()=>{});return xd.set(t,a),t.onDestroy(()=>xd?.delete(t)),a}function bm(t){return ee(t)}class _w{constructor(r,a){this.ngModuleFactory=r,this.componentFactories=a}}let vw=(()=>{class t{compileModuleSync(a){return new _f(a)}compileModuleAsync(a){return Promise.resolve(this.compileModuleSync(a))}compileModuleAndAllComponentsSync(a){const d=this.compileModuleSync(a),I=Ba(hr(a).declarations).reduce((U,z)=>{const te=hn(z);return te&&U.push(new Fc(te)),U},[]);return new _w(d,I)}compileModuleAndAllComponentsAsync(a){return Promise.resolve(this.compileModuleAndAllComponentsSync(a))}clearCache(){}clearCacheFor(a){}getModuleId(a){}static#e=this.\u0275fac=function(d){return new(d||t)};static#t=this.\u0275prov=si({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const bw=new oe("");class yw{}function Cw(t,r,a){const d=new _f(a);return Promise.resolve(d)}let Sw=(()=>{class t{constructor(){this.zone=tt(No),this.applicationRef=tt(Ys)}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(d){return new(d||t)};static#t=this.\u0275prov=si({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function mb(t){return[{provide:No,useFactory:t},{provide:ka,multi:!0,useFactory:()=>{const r=tt(Sw,{optional:!0});return()=>r.initialize()}},{provide:ka,multi:!0,useFactory:()=>{const r=tt(rP);return()=>{r.initialize()}}},{provide:_y,useFactory:nP}]}function nP(){const t=tt(No),r=tt(Ua);return a=>t.runOutsideAngular(()=>r.handleError(a))}function Ew(t){return Pu([[],mb(()=>new No(Od(t)))])}function Od(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}let rP=(()=>{class t{constructor(){this.subscription=new Tt.wH,this.initialized=!1,this.zone=tt(No),this.pendingTasks=tt(md)}initialize(){if(this.initialized)return;this.initialized=!0;let a=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(a=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{No.assertNotInAngularZone(),queueMicrotask(()=>{null!==a&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(a),a=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{No.assertInAngularZone(),a??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(d){return new(d||t)};static#t=this.\u0275prov=si({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const ym=new oe("",{providedIn:"root",factory:()=>tt(ym,ft.Optional|ft.SkipSelf)||function gb(){return typeof $localize<"u"&&$localize.locale||ol}()}),ww=new oe("",{providedIn:"root",factory:()=>"USD"}),iP=new oe(""),Dw=new oe("");var Tw=function(t){return t[t.Error=0]="Error",t[t.Warning=1]="Warning",t[t.Ignore=2]="Ignore",t}(Tw||{});const Cm=new oe("");let pb=(()=>{class t{constructor(a){this._injector=a,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(a,d){const b=function n0(t="zone.js",r){return"noop"===t?new Ep:"zone.js"===t?new No(r):t}(d?.ngZone,Od({eventCoalescing:d?.ngZoneEventCoalescing,runCoalescing:d?.ngZoneRunCoalescing}));return b.run(()=>{const I=function rI(t,r,a){return new pf(t,r,a)}(a.moduleType,this.injector,mb(()=>b)),U=I.injector.get(Ua,null);return b.runOutsideAngular(()=>{const z=b.onError.subscribe({next:te=>{U.handleError(te)}});I.onDestroy(()=>{vm(this._modules,I),z.unsubscribe()})}),fb(U,b,()=>{const z=I.injector.get(_m);return z.runInitializers(),z.donePromise.then(()=>(U_(I.injector.get(ym,ol)||ol),this._moduleDoBootstrap(I),I))})})}bootstrapModule(a,d=[]){const b=gw({},d);return Cw(0,0,a).then(I=>this.bootstrapModuleFactory(I,b))}_moduleDoBootstrap(a){const d=a.injector.get(Ys);if(a._bootstrapComponents.length>0)a._bootstrapComponents.forEach(b=>d.bootstrap(b));else{if(!a.instance.ngDoBootstrap)throw new zt(-403,!1);a.instance.ngDoBootstrap(d)}this._modules.push(a)}onDestroy(a){this._destroyListeners.push(a)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new zt(404,!1);this._modules.slice().forEach(d=>d.destroy()),this._destroyListeners.forEach(d=>d());const a=this._injector.get(Cm,null);a&&(a.forEach(d=>d()),a.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(d){return new(d||t)(ve(Na))};static#t=this.\u0275prov=si({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})(),$s=null;const _b=new oe("");function vb(t){if($s&&!$s.get(_b,!1))throw new zt(400,!1);mw(),$s=t;const r=t.get(pb);return kw(t),r}function Iw(t,r,a=[]){const d=`Platform: ${r}`,b=new oe(d);return(I=[])=>{let U=Ld();if(!U||U.injector.get(_b,!1)){const z=[...a,...I,{provide:b,useValue:!0}];t?t(z):vb(bb(z,d))}return Aw()}}function bb(t=[],r){return Na.create({name:r,providers:[{provide:qd,useValue:"platform"},{provide:Cm,useValue:new Set([()=>$s=null])},...t]})}function Aw(t){const r=Ld();if(!r)throw new zt(401,!1);return r}function Ld(){return $s?.get(pb)??null}function oP(){Ld()?.destroy()}function kw(t){t.get(Pt,null)?.forEach(a=>a())}function xw(){return!1}function aP(){}function Ow(t){const r=Hp(t);if(!r)throw Mm(t);return new _f(r)}function sP(t){const r=Hp(t);if(!r)throw Mm(t);return r}function Mm(t){return new Error(`No module with ID ${t} loaded`)}class Lw extends Cp{}class Rw extends Lw{}class Fw{constructor(r,a){this.name=r,this.callback=a}}function lP(t){return t.map(r=>r.nativeElement)}class Sm{constructor(r){this.nativeNode=r}get parent(){const r=this.nativeNode.parentNode;return r?new Rd(r):null}get injector(){return function iE(t){const r=Ma(t),a=r?r.lView:null;return null===a?Na.NULL:new ra(a[xn].data[r.nodeIndex],a)}(this.nativeNode)}get componentInstance(){const r=this.nativeNode;return r&&(Uv(r)||function rE(t){const r=Ma(t);let d,a=r?r.lView:null;if(null===a)return null;for(;2===a[xn].type&&(d=Ht(a));)a=d;return 512&a[Jn]?null:a[oi]}(r))}get context(){return Uv(this.nativeNode)||function Bv(t){!function sE(t){if(typeof Element<"u"&&!(t instanceof Element))throw new Error("Expecting instance of DOM Element")}(t);const r=Ma(t),a=r?r.lView:null;return null===a?null:a[oi]}(this.nativeNode)}get listeners(){return function aE(t){const r=Ma(t),a=null===r?null:r.lView;if(null===a)return[];const b=a[qr],I=a[xn].cleanup,U=[];if(I&&b)for(let z=0;z=0?"dom":"output"})}}return U.sort(IA),U}(this.nativeNode).filter(r=>"dom"===r.type)}get references(){return function TA(t){const r=Ma(t);if(null===r)return{};if(void 0===r.localRefs){const a=r.lView;if(null===a)return{};r.localRefs=function XD(t,r){const a=t[xn].data[r];if(a&&a.localNames){const d={};let b=a.index+1;for(let I=0;I1){let Ke=te[1];for(let bt=1;btr[I]=!0),r}get childNodes(){const r=this.nativeNode.childNodes,a=[];for(let d=0;d{if(I.name===r){const U=I.callback;U.call(d,a),b.push(U)}}),"function"==typeof d.eventListeners&&d.eventListeners(r).forEach(I=>{if(-1!==I.toString().indexOf("__ngUnwrap__")){const U=I("__ngUnwrap__");return-1===b.indexOf(U)&&U.call(d,a)}})}}function cP(t){return"string"==typeof t||"boolean"==typeof t||"number"==typeof t||null===t}function yb(t,r,a,d){const b=Ma(t.nativeNode),I=b?b.lView:null;null!==I?Zl(I[xn].data[b.nodeIndex],I,r,a,d,t.nativeNode):Em(t.nativeNode,r,a,d)}function Zl(t,r,a,d,b,I){const U=function sa(t,r){const a=null===t?-1:t.index;return-1!==a?$r(r[a]):null}(t,r);if(11&t.type){if(Mb(U,a,d,b,I),Fi(t)){const te=qi(t.index,r);te&&te[xn].firstChild&&Zl(te[xn].firstChild,te,a,d,b,I)}else t.child&&Zl(t.child,r,a,d,b,I),U&&Em(U,a,d,b);const z=r[t.index];ei(z)&&Cb(z,a,d,b,I)}else if(4&t.type){const z=r[t.index];Mb(z[Pi],a,d,b,I),Cb(z,a,d,b,I)}else if(16&t.type){const z=r[ri],De=z[pi].projection[t.projection];if(Array.isArray(De))for(let Ke of De)Mb(Ke,a,d,b,I);else if(De){const Ke=z[Gr];Zl(Ke[xn].data[De.index],Ke,a,d,b,I)}}else t.child&&Zl(t.child,r,a,d,b,I);if(I!==U){const z=2&t.flags?t.projectionNext:t.next;z&&Zl(z,r,a,d,b,I)}}function Cb(t,r,a,d,b){for(let I=Yr;I{class t{constructor(a){}static#e=this.\u0275fac=function(d){return new(d||t)(ve(Ys))};static#t=this.\u0275mod=en({type:t});static#n=this.\u0275inj=Va({})}return t})();function bi(t){}function Hr(t,r){!r&&Cl();const a=r?.injector??tt(Na),d=a.get(Ys);let b=!1;const I=()=>{b||d.destroyed||(b=!0,t())};rf(I,{injector:a,runOnServer:!0}),queueMicrotask(()=>{I()})}function $o(t){try{const{rootComponent:r,appProviders:a,platformProviders:d}=t,b=function Pw(t=[]){if($s)return $s;const r=bb(t);return $s=r,mw(),kw(r),r}(d),I=[Ew(),...a||[]],z=new tM({providers:I,parent:b,debugName:"",runEnvironmentInitializers:!1}).injector,te=z.get(No);return te.run(()=>{z.resolveInjectorInitializers();const De=z.get(Ua,null);let Ke;te.runOutsideAngular(()=>{Ke=te.onError.subscribe({next:Zt=>{De.handleError(Zt)}})});const bt=()=>z.destroy(),Bt=b.get(Cm);return Bt.add(bt),z.onDestroy(()=>{Ke.unsubscribe(),Bt.delete(bt)}),fb(De,te,()=>{const Zt=z.get(_m);return Zt.runInitializers(),Zt.donePromise.then(()=>{U_(z.get(ym,ol)||ol);const On=z.get(Ys);return void 0!==r&&On.bootstrap(r),On})})})}catch(r){return Promise.reject(r)}}let as=(()=>{class t{constructor(){this.appRef=tt(Ys),this.taskService=tt(md),this.pendingRenderTaskId=null}notify(){null===this.pendingRenderTaskId&&(this.pendingRenderTaskId=this.taskService.add(),this.raceTimeoutAndRequestAnimationFrame())}raceTimeoutAndRequestAnimationFrame(){var a=this;return(0,n.c)(function*(){const d=new Promise(I=>setTimeout(I)),b="function"==typeof Ut.requestAnimationFrame?new Promise(I=>requestAnimationFrame(()=>I())):null;yield Promise.race([d,b]),a.tick()})()}tick(){try{this.appRef.destroyed||this.appRef.tick()}finally{const a=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(a)}}static#e=this.\u0275fac=function(d){return new(d||t)};static#t=this.\u0275prov=si({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function zs(){return Pu([{provide:hp,useExisting:as},{provide:No,useClass:Ep}])}function Tm(t,r){const a=t[xn];for(let d=pr;d0&&De===d){const Ke=a[a.length-1];Ke[pl]??=1,Ke[pl]++}else d=De,a.push(te)}return a}function zw(t,r,a){const d=r.index-pr;t[Nm]??={},t[Nm][d]=NC(r,a)}function hk(t,r){const a=r.index-pr;t[Vd]??=[],t[Vd].includes(a)||t[Vd].push(a)}function fk(t,r){const a={},d=t[xn];for(let b=pr;b{let t=!0;return qs()&&(t=!!tt(Eu,{optional:!0})?.get(Um,null)),t&&Wa("NgHydration"),t}},{provide:ka,useValue:()=>{qs()&&tt(bc)&&(function Tk(){const t=ta();let r;for(const a of t.body.childNodes)if(a.nodeType===Node.COMMENT_NODE&&a.textContent?.trim()===Du){r=a;break}if(!r)throw new zt(-507,!1)}(),function Ek(){mk||(mk=!0,function Qw(){kb=Kw}(),function sS(){qc=OI}(),function yA(){JS=bA}(),function RI(){lS=cS}(),function Wp(){zp=oI}(),function LT(){b0=C0,cf=OT}(),function dp(){up=rT}(),function C1(){zg=y1}())}())},multi:!0},{provide:ug,useFactory:()=>qs()&&tt(bc)},{provide:hb,useFactory:()=>{if(qs()&&tt(bc)){const t=tt(Ys);return tt(Na),()=>{(function wk(t,r){return pw(t)})(t).then(()=>{No.assertInAngularZone(),function J1(t){const r=t._views;for(const a of r){const d=xb(a);null!==d&&null!==d[Ur]&&(Vi(d)?Ju(d):(Ju(d[Ur]),RC(d)))}}(t)})}}return()=>{}},multi:!0}])}function Ik(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}function Ak(t,r=NaN){return isNaN(parseFloat(t))||isNaN(Number(t))?r:Number(t)}function Pk(t){return na().compileDirectiveDeclaration(ba,`ng:///${t.type.name}/\u0275fac.js`,t)}function kk(t){rM(t.type,t.decorators,t.ctorParameters??null,t.propDecorators??null)}function xk(t){return na().compileComponentDeclaration(ba,`ng:///${t.type.name}/\u0275cmp.js`,t)}function Ok(t){return na(function Lk(t){switch(t){case Ml.Directive:return"directive";case Ml.Component:return"component";case Ml.Injectable:return"injectable";case Ml.Pipe:return"pipe";case Ml.NgModule:return"NgModule"}}(t.target)).compileFactoryDeclaration(ba,`ng:///${t.type.name}/\u0275fac.js`,t)}function Rk(t){return na().compileInjectableDeclaration(ba,`ng:///${t.type.name}/\u0275prov.js`,t)}function Fk(t){return na().compileInjectorDeclaration(ba,`ng:///${t.type.name}/\u0275inj.js`,t)}function Nk(t){return na().compileNgModuleDeclaration(ba,`ng:///${t.type.name}/\u0275mod.js`,t)}function Uk(t){return na().compilePipeDeclaration(ba,`ng:///${t.type.name}/\u0275pipe.js`,t)}function Bk(t,r){const a=hn(t),d=r.elementInjector||xs();return new Fc(a).create(d,r.projectableNodes,r.hostElement,r.environmentInjector)}function jk(t){const r=hn(t);if(!r)return null;const a=new Fc(r);return{get selector(){return a.selector},get type(){return a.componentType},get inputs(){return a.inputs},get outputs(){return a.outputs},get ngContentSelectors(){return a.ngContentSelectors},get isStandalone(){return r.standalone},get isSignal(){return r.signals}}}function Hk(...t){return t.reduce((r,a)=>Object.assign(r,a,{providers:[...r.providers,...a.providers]}),{providers:[]})}},44716:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{AbstractControl:()=>jt,AbstractControlDirective:()=>vn,AbstractFormGroupDirective:()=>qe,COMPOSITION_BUFFER_MODE:()=>L,CheckboxControlValueAccessor:()=>_,CheckboxRequiredValidator:()=>Uo,ControlContainer:()=>zt,DefaultValueAccessor:()=>N,EmailValidator:()=>ao,FormArray:()=>Ni,FormArrayName:()=>ni,FormBuilder:()=>Xi,FormControl:()=>he,FormControlDirective:()=>Gr,FormControlName:()=>Ji,FormGroup:()=>Mn,FormGroupDirective:()=>pi,FormGroupName:()=>qr,FormRecord:()=>Ut,FormsModule:()=>Wo,MaxLengthValidator:()=>so,MaxValidator:()=>Mo,MinLengthValidator:()=>xo,MinValidator:()=>Yr,NG_ASYNC_VALIDATORS:()=>k,NG_VALIDATORS:()=>R,NG_VALUE_ACCESSOR:()=>f,NgControl:()=>Xt,NgControlStatus:()=>zn,NgControlStatusGroup:()=>kn,NgForm:()=>F,NgModel:()=>In,NgModelGroup:()=>_n,NgSelectOption:()=>Rr,NonNullableFormBuilder:()=>ua,NumberValueAccessor:()=>hr,PatternValidator:()=>mo,RadioControlValueAccessor:()=>co,RangeValueAccessor:()=>Ur,ReactiveFormsModule:()=>Jo,RequiredValidator:()=>ei,SelectControlValueAccessor:()=>ro,SelectMultipleControlValueAccessor:()=>Hi,UntypedFormArray:()=>jo,UntypedFormBuilder:()=>Zo,UntypedFormControl:()=>q,UntypedFormGroup:()=>gt,VERSION:()=>To,Validators:()=>H,isFormArray:()=>zo,isFormControl:()=>de,isFormGroup:()=>At,isFormRecord:()=>ar,\u0275InternalFormsSharedModule:()=>Qo,\u0275NgNoValidate:()=>Un,\u0275NgSelectMultipleOption:()=>ai});var n=s(54496),l=s(91368),u=s(74496),c=s(53252),i=s(64300),e=s(50560),o=s(59472),h=s(87773),v=s(74187),M=s(67904),E=s(54704);let S=(()=>{class ke{constructor(ge,at){this._renderer=ge,this._elementRef=at,this.onChange=It=>{},this.onTouched=()=>{}}setProperty(ge,at){this._renderer.setProperty(this._elementRef.nativeElement,ge,at)}registerOnTouched(ge){this.onTouched=ge}registerOnChange(ge){this.onChange=ge}setDisabledState(ge){this.setProperty("disabled",ge)}static#e=this.\u0275fac=function(at){return new(at||ke)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ke})}return ke})(),y=(()=>{class ke extends S{static#e=this.\u0275fac=(()=>{let ge;return function(It){return(ge||(ge=n.\u0275\u0275getInheritedFactory(ke)))(It||ke)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ke,features:[n.\u0275\u0275InheritDefinitionFeature]})}return ke})();const f=new n.InjectionToken(""),C={provide:f,useExisting:(0,n.forwardRef)(()=>_),multi:!0};let _=(()=>{class ke extends y{writeValue(ge){this.setProperty("checked",ge)}static#e=this.\u0275fac=(()=>{let ge;return function(It){return(ge||(ge=n.\u0275\u0275getInheritedFactory(ke)))(It||ke)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ke,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(at,It){1&at&&n.\u0275\u0275listener("change",function(Zn){return It.onChange(Zn.target.checked)})("blur",function(){return It.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([C]),n.\u0275\u0275InheritDefinitionFeature]})}return ke})();const w={provide:f,useExisting:(0,n.forwardRef)(()=>N),multi:!0},L=new n.InjectionToken("");let N=(()=>{class ke extends S{constructor(ge,at,It){super(ge,at),this._compositionMode=It,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function D(){const ke=(0,l.\u0275getDOM)()?(0,l.\u0275getDOM)().getUserAgent():"";return/android (\d+)/.test(ke.toLowerCase())}())}writeValue(ge){this.setProperty("value",ge??"")}_handleInput(ge){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(ge)}_compositionStart(){this._composing=!0}_compositionEnd(ge){this._composing=!1,this._compositionMode&&this.onChange(ge)}static#e=this.\u0275fac=function(at){return new(at||ke)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(L,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ke,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(at,It){1&at&&n.\u0275\u0275listener("input",function(Zn){return It._handleInput(Zn.target.value)})("blur",function(){return It.onTouched()})("compositionstart",function(){return It._compositionStart()})("compositionend",function(Zn){return It._compositionEnd(Zn.target.value)})},features:[n.\u0275\u0275ProvidersFeature([w]),n.\u0275\u0275InheritDefinitionFeature]})}return ke})();function V(ke){return null==ke||("string"==typeof ke||Array.isArray(ke))&&0===ke.length}function G(ke){return null!=ke&&"number"==typeof ke.length}const R=new n.InjectionToken(""),k=new n.InjectionToken(""),A=/^(?=.{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 H{static min(Ve){return K(Ve)}static max(Ve){return ie(Ve)}static required(Ve){return X(Ve)}static requiredTrue(Ve){return be(Ve)}static email(Ve){return ce(Ve)}static minLength(Ve){return ze(Ve)}static maxLength(Ve){return ct(Ve)}static pattern(Ve){return xe(Ve)}static nullValidator(Ve){return null}static compose(Ve){return Ae(Ve)}static composeAsync(Ve){return re(Ve)}}function K(ke){return Ve=>{if(V(Ve.value)||V(ke))return null;const ge=parseFloat(Ve.value);return!isNaN(ge)&&ge{if(V(Ve.value)||V(ke))return null;const ge=parseFloat(Ve.value);return!isNaN(ge)&&ge>ke?{max:{max:ke,actual:Ve.value}}:null}}function X(ke){return V(ke.value)?{required:!0}:null}function be(ke){return!0===ke.value?null:{required:!0}}function ce(ke){return V(ke.value)||A.test(ke.value)?null:{email:!0}}function ze(ke){return Ve=>V(Ve.value)||!G(Ve.value)?null:Ve.value.lengthG(Ve.value)&&Ve.value.length>ke?{maxlength:{requiredLength:ke,actualLength:Ve.value.length}}:null}function xe(ke){if(!ke)return Ie;let Ve,ge;return"string"==typeof ke?(ge="","^"!==ke.charAt(0)&&(ge+="^"),ge+=ke,"$"!==ke.charAt(ke.length-1)&&(ge+="$"),Ve=new RegExp(ge)):(ge=ke.toString(),Ve=ke),at=>{if(V(at.value))return null;const It=at.value;return Ve.test(It)?null:{pattern:{requiredPattern:ge,actualValue:It}}}}function Ie(ke){return null}function Le(ke){return null!=ke}function Ue(ke){return(0,n.\u0275isPromise)(ke)?(0,u.Q)(ke):ke}function Xe(ke){let Ve={};return ke.forEach(ge=>{Ve=null!=ge?{...Ve,...ge}:Ve}),0===Object.keys(Ve).length?null:Ve}function _e(ke,Ve){return Ve.map(ge=>ge(ke))}function Ce(ke){return ke.map(Ve=>function Fe(ke){return!ke.validate}(Ve)?Ve:ge=>Ve.validate(ge))}function Ae(ke){if(!ke)return null;const Ve=ke.filter(Le);return 0==Ve.length?null:function(ge){return Xe(_e(ge,Ve))}}function Be(ke){return null!=ke?Ae(Ce(ke)):null}function re(ke){if(!ke)return null;const Ve=ke.filter(Le);return 0==Ve.length?null:function(ge){return function p(...ke){const Ve=(0,o.yu)(ke),{args:ge,keys:at}=(0,i.Q)(ke),It=new c._(ir=>{const{length:Zn}=ge;if(!Zn)return void ir.complete();const Mi=new Array(Zn);let Eo=Zn,Io=Zn;for(let _o=0;_o{$r||($r=!0,Io--),Mi[_o]=Xo},()=>Eo--,void 0,()=>{(!Eo||!$r)&&(Io||ir.next(at?(0,M.q)(at,Mi):Mi),ir.complete())}))}});return Ve?It.pipe((0,v.j)(Ve)):It}(_e(ge,Ve).map(Ue)).pipe((0,E.k)(Xe))}}function Ee(ke){return null!=ke?re(Ce(ke)):null}function et(ke,Ve){return null===ke?[Ve]:Array.isArray(ke)?[...ke,Ve]:[ke,Ve]}function vt(ke){return ke._rawValidators}function Tt(ke){return ke._rawAsyncValidators}function dt(ke){return ke?Array.isArray(ke)?ke:[ke]:[]}function ot(ke,Ve){return Array.isArray(ke)?ke.includes(Ve):ke===Ve}function Vt(ke,Ve){const ge=dt(Ve);return dt(ke).forEach(It=>{ot(ge,It)||ge.push(It)}),ge}function nn(ke,Ve){return dt(Ve).filter(ge=>!ot(ke,ge))}class vn{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(Ve){this._rawValidators=Ve||[],this._composedValidatorFn=Be(this._rawValidators)}_setAsyncValidators(Ve){this._rawAsyncValidators=Ve||[],this._composedAsyncValidatorFn=Ee(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(Ve){this._onDestroyCallbacks.push(Ve)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(Ve=>Ve()),this._onDestroyCallbacks=[]}reset(Ve=void 0){this.control&&this.control.reset(Ve)}hasError(Ve,ge){return!!this.control&&this.control.hasError(Ve,ge)}getError(Ve,ge){return this.control?this.control.getError(Ve,ge):null}}class zt extends vn{get formDirective(){return null}get path(){return null}}class Xt extends vn{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class En{constructor(Ve){this._cd=Ve}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 zn=(()=>{class ke extends En{constructor(ge){super(ge)}static#e=this.\u0275fac=function(at){return new(at||ke)(n.\u0275\u0275directiveInject(Xt,2))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ke,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(at,It){2&at&&n.\u0275\u0275classProp("ng-untouched",It.isUntouched)("ng-touched",It.isTouched)("ng-pristine",It.isPristine)("ng-dirty",It.isDirty)("ng-valid",It.isValid)("ng-invalid",It.isInvalid)("ng-pending",It.isPending)},features:[n.\u0275\u0275InheritDefinitionFeature]})}return ke})(),kn=(()=>{class ke extends En{constructor(ge){super(ge)}static#e=this.\u0275fac=function(at){return new(at||ke)(n.\u0275\u0275directiveInject(zt,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ke,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(at,It){2&at&&n.\u0275\u0275classProp("ng-untouched",It.isUntouched)("ng-touched",It.isTouched)("ng-pristine",It.isPristine)("ng-dirty",It.isDirty)("ng-valid",It.isValid)("ng-invalid",It.isInvalid)("ng-pending",It.isPending)("ng-submitted",It.isSubmitted)},features:[n.\u0275\u0275InheritDefinitionFeature]})}return ke})();const Hn="VALID",Dt="INVALID",qt="PENDING",yt="DISABLED";function Ze(ke){return(mt(ke)?ke.validators:ke)||null}function je(ke,Ve){return(mt(Ve)?Ve.asyncValidators:ke)||null}function mt(ke){return null!=ke&&!Array.isArray(ke)&&"object"==typeof ke}function on(ke,Ve,ge){const at=ke.controls;if(!(Ve?Object.keys(at):at).length)throw new n.\u0275RuntimeError(1e3,"");if(!at[ge])throw new n.\u0275RuntimeError(1001,"")}function Ln(ke,Ve,ge){ke._forEachChild((at,It)=>{if(void 0===ge[It])throw new n.\u0275RuntimeError(1002,"")})}class jt{constructor(Ve,ge){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(Ve),this._assignAsyncValidators(ge)}get validator(){return this._composedValidatorFn}set validator(Ve){this._rawValidators=this._composedValidatorFn=Ve}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(Ve){this._rawAsyncValidators=this._composedAsyncValidatorFn=Ve}get parent(){return this._parent}get valid(){return this.status===Hn}get invalid(){return this.status===Dt}get pending(){return this.status==qt}get disabled(){return this.status===yt}get enabled(){return this.status!==yt}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(Ve){this._assignValidators(Ve)}setAsyncValidators(Ve){this._assignAsyncValidators(Ve)}addValidators(Ve){this.setValidators(Vt(Ve,this._rawValidators))}addAsyncValidators(Ve){this.setAsyncValidators(Vt(Ve,this._rawAsyncValidators))}removeValidators(Ve){this.setValidators(nn(Ve,this._rawValidators))}removeAsyncValidators(Ve){this.setAsyncValidators(nn(Ve,this._rawAsyncValidators))}hasValidator(Ve){return ot(this._rawValidators,Ve)}hasAsyncValidator(Ve){return ot(this._rawAsyncValidators,Ve)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(Ve={}){this.touched=!0,this._parent&&!Ve.onlySelf&&this._parent.markAsTouched(Ve)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(Ve=>Ve.markAllAsTouched())}markAsUntouched(Ve={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(ge=>{ge.markAsUntouched({onlySelf:!0})}),this._parent&&!Ve.onlySelf&&this._parent._updateTouched(Ve)}markAsDirty(Ve={}){this.pristine=!1,this._parent&&!Ve.onlySelf&&this._parent.markAsDirty(Ve)}markAsPristine(Ve={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(ge=>{ge.markAsPristine({onlySelf:!0})}),this._parent&&!Ve.onlySelf&&this._parent._updatePristine(Ve)}markAsPending(Ve={}){this.status=qt,!1!==Ve.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!Ve.onlySelf&&this._parent.markAsPending(Ve)}disable(Ve={}){const ge=this._parentMarkedDirty(Ve.onlySelf);this.status=yt,this.errors=null,this._forEachChild(at=>{at.disable({...Ve,onlySelf:!0})}),this._updateValue(),!1!==Ve.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...Ve,skipPristineCheck:ge}),this._onDisabledChange.forEach(at=>at(!0))}enable(Ve={}){const ge=this._parentMarkedDirty(Ve.onlySelf);this.status=Hn,this._forEachChild(at=>{at.enable({...Ve,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:Ve.emitEvent}),this._updateAncestors({...Ve,skipPristineCheck:ge}),this._onDisabledChange.forEach(at=>at(!1))}_updateAncestors(Ve){this._parent&&!Ve.onlySelf&&(this._parent.updateValueAndValidity(Ve),Ve.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(Ve){this._parent=Ve}getRawValue(){return this.value}updateValueAndValidity(Ve={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Hn||this.status===qt)&&this._runAsyncValidator(Ve.emitEvent)),!1!==Ve.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!Ve.onlySelf&&this._parent.updateValueAndValidity(Ve)}_updateTreeValidity(Ve={emitEvent:!0}){this._forEachChild(ge=>ge._updateTreeValidity(Ve)),this.updateValueAndValidity({onlySelf:!0,emitEvent:Ve.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?yt:Hn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(Ve){if(this.asyncValidator){this.status=qt,this._hasOwnPendingAsyncValidator=!0;const ge=Ue(this.asyncValidator(this));this._asyncValidationSubscription=ge.subscribe(at=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(at,{emitEvent:Ve})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(Ve,ge={}){this.errors=Ve,this._updateControlsErrors(!1!==ge.emitEvent)}get(Ve){let ge=Ve;return null==ge||(Array.isArray(ge)||(ge=ge.split(".")),0===ge.length)?null:ge.reduce((at,It)=>at&&at._find(It),this)}getError(Ve,ge){const at=ge?this.get(ge):this;return at&&at.errors?at.errors[Ve]:null}hasError(Ve,ge){return!!this.getError(Ve,ge)}get root(){let Ve=this;for(;Ve._parent;)Ve=Ve._parent;return Ve}_updateControlsErrors(Ve){this.status=this._calculateStatus(),Ve&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(Ve)}_initObservables(){this.valueChanges=new n.EventEmitter,this.statusChanges=new n.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?yt:this.errors?Dt:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(qt)?qt:this._anyControlsHaveStatus(Dt)?Dt:Hn}_anyControlsHaveStatus(Ve){return this._anyControls(ge=>ge.status===Ve)}_anyControlsDirty(){return this._anyControls(Ve=>Ve.dirty)}_anyControlsTouched(){return this._anyControls(Ve=>Ve.touched)}_updatePristine(Ve={}){this.pristine=!this._anyControlsDirty(),this._parent&&!Ve.onlySelf&&this._parent._updatePristine(Ve)}_updateTouched(Ve={}){this.touched=this._anyControlsTouched(),this._parent&&!Ve.onlySelf&&this._parent._updateTouched(Ve)}_registerOnCollectionChange(Ve){this._onCollectionChange=Ve}_setUpdateStrategy(Ve){mt(Ve)&&null!=Ve.updateOn&&(this._updateOn=Ve.updateOn)}_parentMarkedDirty(Ve){return!Ve&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(Ve){return null}_assignValidators(Ve){this._rawValidators=Array.isArray(Ve)?Ve.slice():Ve,this._composedValidatorFn=function Rt(ke){return Array.isArray(ke)?Be(ke):ke||null}(this._rawValidators)}_assignAsyncValidators(Ve){this._rawAsyncValidators=Array.isArray(Ve)?Ve.slice():Ve,this._composedAsyncValidatorFn=function pt(ke){return Array.isArray(ke)?Ee(ke):ke||null}(this._rawAsyncValidators)}}class Mn extends jt{constructor(Ve,ge,at){super(Ze(ge),je(at,ge)),this.controls=Ve,this._initObservables(),this._setUpdateStrategy(ge),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(Ve,ge){return this.controls[Ve]?this.controls[Ve]:(this.controls[Ve]=ge,ge.setParent(this),ge._registerOnCollectionChange(this._onCollectionChange),ge)}addControl(Ve,ge,at={}){this.registerControl(Ve,ge),this.updateValueAndValidity({emitEvent:at.emitEvent}),this._onCollectionChange()}removeControl(Ve,ge={}){this.controls[Ve]&&this.controls[Ve]._registerOnCollectionChange(()=>{}),delete this.controls[Ve],this.updateValueAndValidity({emitEvent:ge.emitEvent}),this._onCollectionChange()}setControl(Ve,ge,at={}){this.controls[Ve]&&this.controls[Ve]._registerOnCollectionChange(()=>{}),delete this.controls[Ve],ge&&this.registerControl(Ve,ge),this.updateValueAndValidity({emitEvent:at.emitEvent}),this._onCollectionChange()}contains(Ve){return this.controls.hasOwnProperty(Ve)&&this.controls[Ve].enabled}setValue(Ve,ge={}){Ln(this,0,Ve),Object.keys(Ve).forEach(at=>{on(this,!0,at),this.controls[at].setValue(Ve[at],{onlySelf:!0,emitEvent:ge.emitEvent})}),this.updateValueAndValidity(ge)}patchValue(Ve,ge={}){null!=Ve&&(Object.keys(Ve).forEach(at=>{const It=this.controls[at];It&&It.patchValue(Ve[at],{onlySelf:!0,emitEvent:ge.emitEvent})}),this.updateValueAndValidity(ge))}reset(Ve={},ge={}){this._forEachChild((at,It)=>{at.reset(Ve?Ve[It]:null,{onlySelf:!0,emitEvent:ge.emitEvent})}),this._updatePristine(ge),this._updateTouched(ge),this.updateValueAndValidity(ge)}getRawValue(){return this._reduceChildren({},(Ve,ge,at)=>(Ve[at]=ge.getRawValue(),Ve))}_syncPendingControls(){let Ve=this._reduceChildren(!1,(ge,at)=>!!at._syncPendingControls()||ge);return Ve&&this.updateValueAndValidity({onlySelf:!0}),Ve}_forEachChild(Ve){Object.keys(this.controls).forEach(ge=>{const at=this.controls[ge];at&&Ve(at,ge)})}_setUpControls(){this._forEachChild(Ve=>{Ve.setParent(this),Ve._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(Ve){for(const[ge,at]of Object.entries(this.controls))if(this.contains(ge)&&Ve(at))return!0;return!1}_reduceValue(){return this._reduceChildren({},(ge,at,It)=>((at.enabled||this.disabled)&&(ge[It]=at.value),ge))}_reduceChildren(Ve,ge){let at=Ve;return this._forEachChild((It,ir)=>{at=ge(at,It,ir)}),at}_allControlsDisabled(){for(const Ve of Object.keys(this.controls))if(this.controls[Ve].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(Ve){return this.controls.hasOwnProperty(Ve)?this.controls[Ve]:null}}const gt=Mn,At=ke=>ke instanceof Mn;class Ut extends Mn{}const ar=ke=>ke instanceof Ut,ur=new n.InjectionToken("CallSetDisabledState",{providedIn:"root",factory:()=>Tr}),Tr="always";function lr(ke,Ve){return[...Ve.path,ke]}function nr(ke,Ve,ge=Tr){jn(ke,Ve),Ve.valueAccessor.writeValue(ke.value),(ke.disabled||"always"===ge)&&Ve.valueAccessor.setDisabledState?.(ke.disabled),function dr(ke,Ve){Ve.valueAccessor.registerOnChange(ge=>{ke._pendingValue=ge,ke._pendingChange=!0,ke._pendingDirty=!0,"change"===ke.updateOn&&Fr(ke,Ve)})}(ke,Ve),function rt(ke,Ve){const ge=(at,It)=>{Ve.valueAccessor.writeValue(at),It&&Ve.viewToModelUpdate(at)};ke.registerOnChange(ge),Ve._registerOnDestroy(()=>{ke._unregisterOnChange(ge)})}(ke,Ve),function ii(ke,Ve){Ve.valueAccessor.registerOnTouched(()=>{ke._pendingTouched=!0,"blur"===ke.updateOn&&ke._pendingChange&&Fr(ke,Ve),"submit"!==ke.updateOn&&ke.markAsTouched()})}(ke,Ve),function tn(ke,Ve){if(Ve.valueAccessor.setDisabledState){const ge=at=>{Ve.valueAccessor.setDisabledState(at)};ke.registerOnDisabledChange(ge),Ve._registerOnDestroy(()=>{ke._unregisterOnDisabledChange(ge)})}}(ke,Ve)}function Nr(ke,Ve,ge=!0){const at=()=>{};Ve.valueAccessor&&(Ve.valueAccessor.registerOnChange(at),Ve.valueAccessor.registerOnTouched(at)),qn(ke,Ve),ke&&(Ve._invokeOnDestroyCallbacks(),ke._registerOnCollectionChange(()=>{}))}function Ci(ke,Ve){ke.forEach(ge=>{ge.registerOnValidatorChange&&ge.registerOnValidatorChange(Ve)})}function jn(ke,Ve){const ge=vt(ke);null!==Ve.validator?ke.setValidators(et(ge,Ve.validator)):"function"==typeof ge&&ke.setValidators([ge]);const at=Tt(ke);null!==Ve.asyncValidator?ke.setAsyncValidators(et(at,Ve.asyncValidator)):"function"==typeof at&&ke.setAsyncValidators([at]);const It=()=>ke.updateValueAndValidity();Ci(Ve._rawValidators,It),Ci(Ve._rawAsyncValidators,It)}function qn(ke,Ve){let ge=!1;if(null!==ke){if(null!==Ve.validator){const It=vt(ke);if(Array.isArray(It)&&It.length>0){const ir=It.filter(Zn=>Zn!==Ve.validator);ir.length!==It.length&&(ge=!0,ke.setValidators(ir))}}if(null!==Ve.asyncValidator){const It=Tt(ke);if(Array.isArray(It)&&It.length>0){const ir=It.filter(Zn=>Zn!==Ve.asyncValidator);ir.length!==It.length&&(ge=!0,ke.setAsyncValidators(ir))}}}const at=()=>{};return Ci(Ve._rawValidators,at),Ci(Ve._rawAsyncValidators,at),ge}function Fr(ke,Ve){ke._pendingDirty&&ke.markAsDirty(),ke.setValue(ke._pendingValue,{emitModelToViewChange:!1}),Ve.viewToModelUpdate(ke._pendingValue),ke._pendingChange=!1}function kt(ke,Ve){jn(ke,Ve)}function Xn(ke,Ve){if(!ke.hasOwnProperty("model"))return!1;const ge=ke.model;return!!ge.isFirstChange()||!Object.is(Ve,ge.currentValue)}function Or(ke,Ve){ke._syncPendingControls(),Ve.forEach(ge=>{const at=ge.control;"submit"===at.updateOn&&at._pendingChange&&(ge.viewToModelUpdate(at._pendingValue),at._pendingChange=!1)})}function Vr(ke,Ve){if(!Ve)return null;let ge,at,It;return Array.isArray(Ve),Ve.forEach(ir=>{ir.constructor===N?ge=ir:function xr(ke){return Object.getPrototypeOf(ke.constructor)===y}(ir)?at=ir:It=ir}),It||at||ge||null}const cn={provide:zt,useExisting:(0,n.forwardRef)(()=>F)},x=Promise.resolve();let F=(()=>{class ke extends zt{constructor(ge,at,It){super(),this.callSetDisabledState=It,this.submitted=!1,this._directives=new Set,this.ngSubmit=new n.EventEmitter,this.form=new Mn({},Be(ge),Ee(at))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(ge){x.then(()=>{const at=this._findContainer(ge.path);ge.control=at.registerControl(ge.name,ge.control),nr(ge.control,ge,this.callSetDisabledState),ge.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(ge)})}getControl(ge){return this.form.get(ge.path)}removeControl(ge){x.then(()=>{const at=this._findContainer(ge.path);at&&at.removeControl(ge.name),this._directives.delete(ge)})}addFormGroup(ge){x.then(()=>{const at=this._findContainer(ge.path),It=new Mn({});kt(It,ge),at.registerControl(ge.name,It),It.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(ge){x.then(()=>{const at=this._findContainer(ge.path);at&&at.removeControl(ge.name)})}getFormGroup(ge){return this.form.get(ge.path)}updateModel(ge,at){x.then(()=>{this.form.get(ge.path).setValue(at)})}setValue(ge){this.control.setValue(ge)}onSubmit(ge){return this.submitted=!0,Or(this.form,this._directives),this.ngSubmit.emit(ge),"dialog"===ge?.target?.method}onReset(){this.resetForm()}resetForm(ge=void 0){this.form.reset(ge),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(ge){return ge.pop(),ge.length?this.form.get(ge):this.form}static#e=this.\u0275fac=function(at){return new(at||ke)(n.\u0275\u0275directiveInject(R,10),n.\u0275\u0275directiveInject(k,10),n.\u0275\u0275directiveInject(ur,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ke,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(at,It){1&at&&n.\u0275\u0275listener("submit",function(Zn){return It.onSubmit(Zn)})("reset",function(){return It.onReset()})},inputs:{options:[n.\u0275\u0275InputFlags.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([cn]),n.\u0275\u0275InheritDefinitionFeature]})}return ke})();function Q(ke,Ve){const ge=ke.indexOf(Ve);ge>-1&&ke.splice(ge,1)}function Se(ke){return"object"==typeof ke&&null!==ke&&2===Object.keys(ke).length&&"value"in ke&&"disabled"in ke}const he=class extends jt{constructor(Ve=null,ge,at){super(Ze(ge),je(at,ge)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(Ve),this._setUpdateStrategy(ge),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),mt(ge)&&(ge.nonNullable||ge.initialValueIsDefault)&&(this.defaultValue=Se(Ve)?Ve.value:Ve)}setValue(Ve,ge={}){this.value=this._pendingValue=Ve,this._onChange.length&&!1!==ge.emitModelToViewChange&&this._onChange.forEach(at=>at(this.value,!1!==ge.emitViewToModelChange)),this.updateValueAndValidity(ge)}patchValue(Ve,ge={}){this.setValue(Ve,ge)}reset(Ve=this.defaultValue,ge={}){this._applyFormState(Ve),this.markAsPristine(ge),this.markAsUntouched(ge),this.setValue(this.value,ge),this._pendingChange=!1}_updateValue(){}_anyControls(Ve){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(Ve){this._onChange.push(Ve)}_unregisterOnChange(Ve){Q(this._onChange,Ve)}registerOnDisabledChange(Ve){this._onDisabledChange.push(Ve)}_unregisterOnDisabledChange(Ve){Q(this._onDisabledChange,Ve)}_forEachChild(Ve){}_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(Ve){Se(Ve)?(this.value=this._pendingValue=Ve.value,Ve.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=Ve}},q=he,de=ke=>ke instanceof he;let qe=(()=>{class ke extends zt{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return lr(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 ge;return function(It){return(ge||(ge=n.\u0275\u0275getInheritedFactory(ke)))(It||ke)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ke,features:[n.\u0275\u0275InheritDefinitionFeature]})}return ke})();const gn={provide:zt,useExisting:(0,n.forwardRef)(()=>_n)};let _n=(()=>{class ke extends qe{constructor(ge,at,It){super(),this.name="",this._parent=ge,this._setValidators(at),this._setAsyncValidators(It)}_checkParentType(){}static#e=this.\u0275fac=function(at){return new(at||ke)(n.\u0275\u0275directiveInject(zt,5),n.\u0275\u0275directiveInject(R,10),n.\u0275\u0275directiveInject(k,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ke,selectors:[["","ngModelGroup",""]],inputs:{name:[n.\u0275\u0275InputFlags.None,"ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[n.\u0275\u0275ProvidersFeature([gn]),n.\u0275\u0275InheritDefinitionFeature]})}return ke})();const bn={provide:Xt,useExisting:(0,n.forwardRef)(()=>In)},hn=Promise.resolve();let In=(()=>{class ke extends Xt{constructor(ge,at,It,ir,Zn,Mi){super(),this._changeDetectorRef=Zn,this.callSetDisabledState=Mi,this.control=new he,this._registered=!1,this.name="",this.update=new n.EventEmitter,this._parent=ge,this._setValidators(at),this._setAsyncValidators(It),this.valueAccessor=Vr(0,ir)}ngOnChanges(ge){if(this._checkForErrors(),!this._registered||"name"in ge){if(this._registered&&(this._checkName(),this.formDirective)){const at=ge.name.previousValue;this.formDirective.removeControl({name:at,path:this._getPath(at)})}this._setUpControl()}"isDisabled"in ge&&this._updateDisabled(ge),Xn(ge,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(ge){this.viewModel=ge,this.update.emit(ge)}_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(){nr(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(ge){hn.then(()=>{this.control.setValue(ge,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(ge){const at=ge.isDisabled.currentValue,It=0!==at&&(0,n.booleanAttribute)(at);hn.then(()=>{It&&!this.control.disabled?this.control.disable():!It&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(ge){return this._parent?lr(ge,this._parent):[ge]}static#e=this.\u0275fac=function(at){return new(at||ke)(n.\u0275\u0275directiveInject(zt,9),n.\u0275\u0275directiveInject(R,10),n.\u0275\u0275directiveInject(k,10),n.\u0275\u0275directiveInject(f,10),n.\u0275\u0275directiveInject(n.ChangeDetectorRef,8),n.\u0275\u0275directiveInject(ur,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ke,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([bn]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return ke})(),Un=(()=>{class ke{static#e=this.\u0275fac=function(at){return new(at||ke)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ke,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return ke})();const _r={provide:f,useExisting:(0,n.forwardRef)(()=>hr),multi:!0};let hr=(()=>{class ke extends y{writeValue(ge){this.setProperty("value",ge??"")}registerOnChange(ge){this.onChange=at=>{ge(""==at?null:parseFloat(at))}}static#e=this.\u0275fac=(()=>{let ge;return function(It){return(ge||(ge=n.\u0275\u0275getInheritedFactory(ke)))(It||ke)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ke,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(at,It){1&at&&n.\u0275\u0275listener("input",function(Zn){return It.onChange(Zn.target.value)})("blur",function(){return It.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([_r]),n.\u0275\u0275InheritDefinitionFeature]})}return ke})();const Lr={provide:f,useExisting:(0,n.forwardRef)(()=>co),multi:!0};let it=(()=>{class ke{constructor(){this._accessors=[]}add(ge,at){this._accessors.push([ge,at])}remove(ge){for(let at=this._accessors.length-1;at>=0;--at)if(this._accessors[at][1]===ge)return void this._accessors.splice(at,1)}select(ge){this._accessors.forEach(at=>{this._isSameGroup(at,ge)&&at[1]!==ge&&at[1].fireUncheck(ge.value)})}_isSameGroup(ge,at){return!!ge[0].control&&ge[0]._parent===at._control._parent&&ge[1].name===at.name}static#e=this.\u0275fac=function(at){return new(at||ke)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:ke,factory:ke.\u0275fac,providedIn:"root"})}return ke})(),co=(()=>{class ke extends y{constructor(ge,at,It,ir){super(ge,at),this._registry=It,this._injector=ir,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,n.inject)(ur,{optional:!0})??Tr}ngOnInit(){this._control=this._injector.get(Xt),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(ge){this._state=ge===this.value,this.setProperty("checked",this._state)}registerOnChange(ge){this._fn=ge,this.onChange=()=>{ge(this.value),this._registry.select(this)}}setDisabledState(ge){(this.setDisabledStateFired||ge||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",ge),this.setDisabledStateFired=!0}fireUncheck(ge){this.writeValue(ge)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}static#e=this.\u0275fac=function(at){return new(at||ke)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(it),n.\u0275\u0275directiveInject(n.Injector))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ke,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(at,It){1&at&&n.\u0275\u0275listener("change",function(){return It.onChange()})("blur",function(){return It.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[n.\u0275\u0275ProvidersFeature([Lr]),n.\u0275\u0275InheritDefinitionFeature]})}return ke})();const Ri={provide:f,useExisting:(0,n.forwardRef)(()=>Ur),multi:!0};let Ur=(()=>{class ke extends y{writeValue(ge){this.setProperty("value",parseFloat(ge))}registerOnChange(ge){this.onChange=at=>{ge(""==at?null:parseFloat(at))}}static#e=this.\u0275fac=(()=>{let ge;return function(It){return(ge||(ge=n.\u0275\u0275getInheritedFactory(ke)))(It||ke)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ke,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(at,It){1&at&&n.\u0275\u0275listener("change",function(Zn){return It.onChange(Zn.target.value)})("input",function(Zn){return It.onChange(Zn.target.value)})("blur",function(){return It.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([Ri]),n.\u0275\u0275InheritDefinitionFeature]})}return ke})();const xn=new n.InjectionToken(""),Jn={provide:Xt,useExisting:(0,n.forwardRef)(()=>Gr)};let Gr=(()=>{class ke extends Xt{set isDisabled(ge){}static#e=this._ngModelWarningSentOnce=!1;constructor(ge,at,It,ir,Zn){super(),this._ngModelWarningConfig=ir,this.callSetDisabledState=Zn,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._setValidators(ge),this._setAsyncValidators(at),this.valueAccessor=Vr(0,It)}ngOnChanges(ge){if(this._isControlChanged(ge)){const at=ge.form.previousValue;at&&Nr(at,this,!1),nr(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Xn(ge,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Nr(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(ge){this.viewModel=ge,this.update.emit(ge)}_isControlChanged(ge){return ge.hasOwnProperty("form")}static#t=this.\u0275fac=function(at){return new(at||ke)(n.\u0275\u0275directiveInject(R,10),n.\u0275\u0275directiveInject(k,10),n.\u0275\u0275directiveInject(f,10),n.\u0275\u0275directiveInject(xn,8),n.\u0275\u0275directiveInject(ur,8))};static#n=this.\u0275dir=n.\u0275\u0275defineDirective({type:ke,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([Jn]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return ke})();const Bn={provide:zt,useExisting:(0,n.forwardRef)(()=>pi)};let pi=(()=>{class ke extends zt{constructor(ge,at,It){super(),this.callSetDisabledState=It,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new n.EventEmitter,this._setValidators(ge),this._setAsyncValidators(at)}ngOnChanges(ge){this._checkFormPresent(),ge.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(qn(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(ge){const at=this.form.get(ge.path);return nr(at,ge,this.callSetDisabledState),at.updateValueAndValidity({emitEvent:!1}),this.directives.push(ge),at}getControl(ge){return this.form.get(ge.path)}removeControl(ge){Nr(ge.control||null,ge,!1),function Ir(ke,Ve){const ge=ke.indexOf(Ve);ge>-1&&ke.splice(ge,1)}(this.directives,ge)}addFormGroup(ge){this._setUpFormContainer(ge)}removeFormGroup(ge){this._cleanUpFormContainer(ge)}getFormGroup(ge){return this.form.get(ge.path)}addFormArray(ge){this._setUpFormContainer(ge)}removeFormArray(ge){this._cleanUpFormContainer(ge)}getFormArray(ge){return this.form.get(ge.path)}updateModel(ge,at){this.form.get(ge.path).setValue(at)}onSubmit(ge){return this.submitted=!0,Or(this.form,this.directives),this.ngSubmit.emit(ge),"dialog"===ge?.target?.method}onReset(){this.resetForm()}resetForm(ge=void 0){this.form.reset(ge),this.submitted=!1}_updateDomValue(){this.directives.forEach(ge=>{const at=ge.control,It=this.form.get(ge.path);at!==It&&(Nr(at||null,ge),de(It)&&(nr(It,ge,this.callSetDisabledState),ge.control=It))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(ge){const at=this.form.get(ge.path);kt(at,ge),at.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(ge){if(this.form){const at=this.form.get(ge.path);at&&function Et(ke,Ve){return qn(ke,Ve)}(at,ge)&&at.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){jn(this.form,this),this._oldForm&&qn(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(at){return new(at||ke)(n.\u0275\u0275directiveInject(R,10),n.\u0275\u0275directiveInject(k,10),n.\u0275\u0275directiveInject(ur,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ke,selectors:[["","formGroup",""]],hostBindings:function(at,It){1&at&&n.\u0275\u0275listener("submit",function(Zn){return It.onSubmit(Zn)})("reset",function(){return It.onReset()})},inputs:{form:[n.\u0275\u0275InputFlags.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([Bn]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return ke})();const Zi={provide:zt,useExisting:(0,n.forwardRef)(()=>qr)};let qr=(()=>{class ke extends qe{constructor(ge,at,It){super(),this.name=null,this._parent=ge,this._setValidators(at),this._setAsyncValidators(It)}_checkParentType(){ji(this._parent)}static#e=this.\u0275fac=function(at){return new(at||ke)(n.\u0275\u0275directiveInject(zt,13),n.\u0275\u0275directiveInject(R,10),n.\u0275\u0275directiveInject(k,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ke,selectors:[["","formGroupName",""]],inputs:{name:[n.\u0275\u0275InputFlags.None,"formGroupName","name"]},features:[n.\u0275\u0275ProvidersFeature([Zi]),n.\u0275\u0275InheritDefinitionFeature]})}return ke})();const oi={provide:zt,useExisting:(0,n.forwardRef)(()=>ni)};let ni=(()=>{class ke extends zt{constructor(ge,at,It){super(),this.name=null,this._parent=ge,this._setValidators(at),this._setAsyncValidators(It)}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 lr(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){ji(this._parent)}static#e=this.\u0275fac=function(at){return new(at||ke)(n.\u0275\u0275directiveInject(zt,13),n.\u0275\u0275directiveInject(R,10),n.\u0275\u0275directiveInject(k,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ke,selectors:[["","formArrayName",""]],inputs:{name:[n.\u0275\u0275InputFlags.None,"formArrayName","name"]},features:[n.\u0275\u0275ProvidersFeature([oi]),n.\u0275\u0275InheritDefinitionFeature]})}return ke})();function ji(ke){return!(ke instanceof qr||ke instanceof pi||ke instanceof ni)}const yr={provide:Xt,useExisting:(0,n.forwardRef)(()=>Ji)};let Ji=(()=>{class ke extends Xt{set isDisabled(ge){}static#e=this._ngModelWarningSentOnce=!1;constructor(ge,at,It,ir,Zn){super(),this._ngModelWarningConfig=Zn,this._added=!1,this.name=null,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._parent=ge,this._setValidators(at),this._setAsyncValidators(It),this.valueAccessor=Vr(0,ir)}ngOnChanges(ge){this._added||this._setUpControl(),Xn(ge,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(ge){this.viewModel=ge,this.update.emit(ge)}get path(){return lr(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(at){return new(at||ke)(n.\u0275\u0275directiveInject(zt,13),n.\u0275\u0275directiveInject(R,10),n.\u0275\u0275directiveInject(k,10),n.\u0275\u0275directiveInject(f,10),n.\u0275\u0275directiveInject(xn,8))};static#n=this.\u0275dir=n.\u0275\u0275defineDirective({type:ke,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([yr]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return ke})();const Do={provide:f,useExisting:(0,n.forwardRef)(()=>ro),multi:!0};function vo(ke,Ve){return null==ke?`${Ve}`:(Ve&&"object"==typeof Ve&&(Ve="Object"),`${ke}: ${Ve}`.slice(0,50))}let ro=(()=>{class ke extends y{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(ge){this._compareWith=ge}writeValue(ge){this.value=ge;const It=vo(this._getOptionId(ge),ge);this.setProperty("value",It)}registerOnChange(ge){this.onChange=at=>{this.value=this._getOptionValue(at),ge(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(ge){for(const at of this._optionMap.keys())if(this._compareWith(this._optionMap.get(at),ge))return at;return null}_getOptionValue(ge){const at=function ri(ke){return ke.split(":")[0]}(ge);return this._optionMap.has(at)?this._optionMap.get(at):ge}static#e=this.\u0275fac=(()=>{let ge;return function(It){return(ge||(ge=n.\u0275\u0275getInheritedFactory(ke)))(It||ke)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ke,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(at,It){1&at&&n.\u0275\u0275listener("change",function(Zn){return It.onChange(Zn.target.value)})("blur",function(){return It.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([Do]),n.\u0275\u0275InheritDefinitionFeature]})}return ke})(),Rr=(()=>{class ke{constructor(ge,at,It){this._element=ge,this._renderer=at,this._select=It,this._select&&(this.id=this._select._registerOption())}set ngValue(ge){null!=this._select&&(this._select._optionMap.set(this.id,ge),this._setElementValue(vo(this.id,ge)),this._select.writeValue(this._select.value))}set value(ge){this._setElementValue(ge),this._select&&this._select.writeValue(this._select.value)}_setElementValue(ge){this._renderer.setProperty(this._element.nativeElement,"value",ge)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(at){return new(at||ke)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(ro,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ke,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return ke})();const oo={provide:f,useExisting:(0,n.forwardRef)(()=>Hi),multi:!0};function Pn(ke,Ve){return null==ke?`${Ve}`:("string"==typeof Ve&&(Ve=`'${Ve}'`),Ve&&"object"==typeof Ve&&(Ve="Object"),`${ke}: ${Ve}`.slice(0,50))}let Hi=(()=>{class ke extends y{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(ge){this._compareWith=ge}writeValue(ge){let at;if(this.value=ge,Array.isArray(ge)){const It=ge.map(ir=>this._getOptionId(ir));at=(ir,Zn)=>{ir._setSelected(It.indexOf(Zn.toString())>-1)}}else at=(It,ir)=>{It._setSelected(!1)};this._optionMap.forEach(at)}registerOnChange(ge){this.onChange=at=>{const It=[],ir=at.selectedOptions;if(void 0!==ir){const Zn=ir;for(let Mi=0;Mi{let ge;return function(It){return(ge||(ge=n.\u0275\u0275getInheritedFactory(ke)))(It||ke)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ke,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(at,It){1&at&&n.\u0275\u0275listener("change",function(Zn){return It.onChange(Zn.target)})("blur",function(){return It.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([oo]),n.\u0275\u0275InheritDefinitionFeature]})}return ke})(),ai=(()=>{class ke{constructor(ge,at,It){this._element=ge,this._renderer=at,this._select=It,this._select&&(this.id=this._select._registerOption(this))}set ngValue(ge){null!=this._select&&(this._value=ge,this._setElementValue(Pn(this.id,ge)),this._select.writeValue(this._select.value))}set value(ge){this._select?(this._value=ge,this._setElementValue(Pn(this.id,ge)),this._select.writeValue(this._select.value)):this._setElementValue(ge)}_setElementValue(ge){this._renderer.setProperty(this._element.nativeElement,"value",ge)}_setSelected(ge){this._renderer.setProperty(this._element.nativeElement,"selected",ge)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(at){return new(at||ke)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(Hi,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ke,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return ke})();function pr(ke){return"number"==typeof ke?ke:parseInt(ke,10)}function yo(ke){return"number"==typeof ke?ke:parseFloat(ke)}let Ai=(()=>{class ke{constructor(){this._validator=Ie}ngOnChanges(ge){if(this.inputName in ge){const at=this.normalizeInput(ge[this.inputName].currentValue);this._enabled=this.enabled(at),this._validator=this._enabled?this.createValidator(at):Ie,this._onChange&&this._onChange()}}validate(ge){return this._validator(ge)}registerOnValidatorChange(ge){this._onChange=ge}enabled(ge){return null!=ge}static#e=this.\u0275fac=function(at){return new(at||ke)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ke,features:[n.\u0275\u0275NgOnChangesFeature]})}return ke})();const Pi={provide:R,useExisting:(0,n.forwardRef)(()=>Mo),multi:!0};let Mo=(()=>{class ke extends Ai{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=ge=>yo(ge),this.createValidator=ge=>ie(ge)}static#e=this.\u0275fac=(()=>{let ge;return function(It){return(ge||(ge=n.\u0275\u0275getInheritedFactory(ke)))(It||ke)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ke,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(at,It){2&at&&n.\u0275\u0275attribute("max",It._enabled?It.max:null)},inputs:{max:"max"},features:[n.\u0275\u0275ProvidersFeature([Pi]),n.\u0275\u0275InheritDefinitionFeature]})}return ke})();const uo={provide:R,useExisting:(0,n.forwardRef)(()=>Yr),multi:!0};let Yr=(()=>{class ke extends Ai{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=ge=>yo(ge),this.createValidator=ge=>K(ge)}static#e=this.\u0275fac=(()=>{let ge;return function(It){return(ge||(ge=n.\u0275\u0275getInheritedFactory(ke)))(It||ke)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ke,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(at,It){2&at&&n.\u0275\u0275attribute("min",It._enabled?It.min:null)},inputs:{min:"min"},features:[n.\u0275\u0275ProvidersFeature([uo]),n.\u0275\u0275InheritDefinitionFeature]})}return ke})();const So={provide:R,useExisting:(0,n.forwardRef)(()=>ei),multi:!0},Vi={provide:R,useExisting:(0,n.forwardRef)(()=>Uo),multi:!0};let ei=(()=>{class ke extends Ai{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=n.booleanAttribute,this.createValidator=ge=>X}enabled(ge){return ge}static#e=this.\u0275fac=(()=>{let ge;return function(It){return(ge||(ge=n.\u0275\u0275getInheritedFactory(ke)))(It||ke)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ke,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(at,It){2&at&&n.\u0275\u0275attribute("required",It._enabled?"":null)},inputs:{required:"required"},features:[n.\u0275\u0275ProvidersFeature([So]),n.\u0275\u0275InheritDefinitionFeature]})}return ke})(),Uo=(()=>{class ke extends ei{constructor(){super(...arguments),this.createValidator=ge=>be}static#e=this.\u0275fac=(()=>{let ge;return function(It){return(ge||(ge=n.\u0275\u0275getInheritedFactory(ke)))(It||ke)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ke,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(at,It){2&at&&n.\u0275\u0275attribute("required",It._enabled?"":null)},features:[n.\u0275\u0275ProvidersFeature([Vi]),n.\u0275\u0275InheritDefinitionFeature]})}return ke})();const Fi={provide:R,useExisting:(0,n.forwardRef)(()=>ao),multi:!0};let ao=(()=>{class ke extends Ai{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=n.booleanAttribute,this.createValidator=ge=>ce}enabled(ge){return ge}static#e=this.\u0275fac=(()=>{let ge;return function(It){return(ge||(ge=n.\u0275\u0275getInheritedFactory(ke)))(It||ke)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ke,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[n.\u0275\u0275ProvidersFeature([Fi]),n.\u0275\u0275InheritDefinitionFeature]})}return ke})();const Gi={provide:R,useExisting:(0,n.forwardRef)(()=>xo),multi:!0};let xo=(()=>{class ke extends Ai{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=ge=>pr(ge),this.createValidator=ge=>ze(ge)}static#e=this.\u0275fac=(()=>{let ge;return function(It){return(ge||(ge=n.\u0275\u0275getInheritedFactory(ke)))(It||ke)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ke,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(at,It){2&at&&n.\u0275\u0275attribute("minlength",It._enabled?It.minlength:null)},inputs:{minlength:"minlength"},features:[n.\u0275\u0275ProvidersFeature([Gi]),n.\u0275\u0275InheritDefinitionFeature]})}return ke})();const Bo={provide:R,useExisting:(0,n.forwardRef)(()=>so),multi:!0};let so=(()=>{class ke extends Ai{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=ge=>pr(ge),this.createValidator=ge=>ct(ge)}static#e=this.\u0275fac=(()=>{let ge;return function(It){return(ge||(ge=n.\u0275\u0275getInheritedFactory(ke)))(It||ke)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ke,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(at,It){2&at&&n.\u0275\u0275attribute("maxlength",It._enabled?It.maxlength:null)},inputs:{maxlength:"maxlength"},features:[n.\u0275\u0275ProvidersFeature([Bo]),n.\u0275\u0275InheritDefinitionFeature]})}return ke})();const Oo={provide:R,useExisting:(0,n.forwardRef)(()=>mo),multi:!0};let mo=(()=>{class ke extends Ai{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=ge=>ge,this.createValidator=ge=>xe(ge)}static#e=this.\u0275fac=(()=>{let ge;return function(It){return(ge||(ge=n.\u0275\u0275getInheritedFactory(ke)))(It||ke)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:ke,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(at,It){2&at&&n.\u0275\u0275attribute("pattern",It._enabled?It.pattern:null)},inputs:{pattern:"pattern"},features:[n.\u0275\u0275ProvidersFeature([Oo]),n.\u0275\u0275InheritDefinitionFeature]})}return ke})(),Qo=(()=>{class ke{static#e=this.\u0275fac=function(at){return new(at||ke)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:ke});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return ke})();class Ni extends jt{constructor(Ve,ge,at){super(Ze(ge),je(at,ge)),this.controls=Ve,this._initObservables(),this._setUpdateStrategy(ge),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(Ve){return this.controls[this._adjustIndex(Ve)]}push(Ve,ge={}){this.controls.push(Ve),this._registerControl(Ve),this.updateValueAndValidity({emitEvent:ge.emitEvent}),this._onCollectionChange()}insert(Ve,ge,at={}){this.controls.splice(Ve,0,ge),this._registerControl(ge),this.updateValueAndValidity({emitEvent:at.emitEvent})}removeAt(Ve,ge={}){let at=this._adjustIndex(Ve);at<0&&(at=0),this.controls[at]&&this.controls[at]._registerOnCollectionChange(()=>{}),this.controls.splice(at,1),this.updateValueAndValidity({emitEvent:ge.emitEvent})}setControl(Ve,ge,at={}){let It=this._adjustIndex(Ve);It<0&&(It=0),this.controls[It]&&this.controls[It]._registerOnCollectionChange(()=>{}),this.controls.splice(It,1),ge&&(this.controls.splice(It,0,ge),this._registerControl(ge)),this.updateValueAndValidity({emitEvent:at.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(Ve,ge={}){Ln(this,0,Ve),Ve.forEach((at,It)=>{on(this,!1,It),this.at(It).setValue(at,{onlySelf:!0,emitEvent:ge.emitEvent})}),this.updateValueAndValidity(ge)}patchValue(Ve,ge={}){null!=Ve&&(Ve.forEach((at,It)=>{this.at(It)&&this.at(It).patchValue(at,{onlySelf:!0,emitEvent:ge.emitEvent})}),this.updateValueAndValidity(ge))}reset(Ve=[],ge={}){this._forEachChild((at,It)=>{at.reset(Ve[It],{onlySelf:!0,emitEvent:ge.emitEvent})}),this._updatePristine(ge),this._updateTouched(ge),this.updateValueAndValidity(ge)}getRawValue(){return this.controls.map(Ve=>Ve.getRawValue())}clear(Ve={}){this.controls.length<1||(this._forEachChild(ge=>ge._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:Ve.emitEvent}))}_adjustIndex(Ve){return Ve<0?Ve+this.length:Ve}_syncPendingControls(){let Ve=this.controls.reduce((ge,at)=>!!at._syncPendingControls()||ge,!1);return Ve&&this.updateValueAndValidity({onlySelf:!0}),Ve}_forEachChild(Ve){this.controls.forEach((ge,at)=>{Ve(ge,at)})}_updateValue(){this.value=this.controls.filter(Ve=>Ve.enabled||this.disabled).map(Ve=>Ve.value)}_anyControls(Ve){return this.controls.some(ge=>ge.enabled&&Ve(ge))}_setUpControls(){this._forEachChild(Ve=>this._registerControl(Ve))}_allControlsDisabled(){for(const Ve of this.controls)if(Ve.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(Ve){Ve.setParent(this),Ve._registerOnCollectionChange(this._onCollectionChange)}_find(Ve){return this.at(Ve)??null}}const jo=Ni,zo=ke=>ke instanceof Ni;function Lo(ke){return!!ke&&(void 0!==ke.asyncValidators||void 0!==ke.validators||void 0!==ke.updateOn)}let Xi=(()=>{class ke{constructor(){this.useNonNullable=!1}get nonNullable(){const ge=new ke;return ge.useNonNullable=!0,ge}group(ge,at=null){const It=this._reduceControls(ge);let ir={};return Lo(at)?ir=at:null!==at&&(ir.validators=at.validator,ir.asyncValidators=at.asyncValidator),new Mn(It,ir)}record(ge,at=null){const It=this._reduceControls(ge);return new Ut(It,at)}control(ge,at,It){let ir={};return this.useNonNullable?(Lo(at)?ir=at:(ir.validators=at,ir.asyncValidators=It),new he(ge,{...ir,nonNullable:!0})):new he(ge,at,It)}array(ge,at,It){const ir=ge.map(Zn=>this._createControl(Zn));return new Ni(ir,at,It)}_reduceControls(ge){const at={};return Object.keys(ge).forEach(It=>{at[It]=this._createControl(ge[It])}),at}_createControl(ge){return ge instanceof he||ge instanceof jt?ge:Array.isArray(ge)?this.control(ge[0],ge.length>1?ge[1]:null,ge.length>2?ge[2]:null):this.control(ge)}static#e=this.\u0275fac=function(at){return new(at||ke)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:ke,factory:ke.\u0275fac,providedIn:"root"})}return ke})(),ua=(()=>{class ke{static#e=this.\u0275fac=function(at){return new(at||ke)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:ke,factory:()=>(0,n.inject)(Xi).nonNullable,providedIn:"root"})}return ke})(),Zo=(()=>{class ke extends Xi{group(ge,at=null){return super.group(ge,at)}control(ge,at,It){return super.control(ge,at,It)}array(ge,at,It){return super.array(ge,at,It)}static#e=this.\u0275fac=(()=>{let ge;return function(It){return(ge||(ge=n.\u0275\u0275getInheritedFactory(ke)))(It||ke)}})();static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:ke,factory:ke.\u0275fac,providedIn:"root"})}return ke})();const To=new n.Version("17.2.3");let Wo=(()=>{class ke{static withConfig(ge){return{ngModule:ke,providers:[{provide:ur,useValue:ge.callSetDisabledState??Tr}]}}static#e=this.\u0275fac=function(at){return new(at||ke)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:ke});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[Qo]})}return ke})(),Jo=(()=>{class ke{static withConfig(ge){return{ngModule:ke,providers:[{provide:xn,useValue:ge.warnOnNgModelWithFormControl??"always"},{provide:ur,useValue:ge.callSetDisabledState??Tr}]}}static#e=this.\u0275fac=function(at){return new(at||ke)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:ke});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[Qo]})}return ke})()},44556:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{ANIMATION_MODULE_TYPE:()=>n.ANIMATION_MODULE_TYPE,BrowserAnimationsModule:()=>la,NoopAnimationsModule:()=>go,provideAnimations:()=>Ao,provideNoopAnimations:()=>ma,\u0275InjectableAnimationEngine:()=>io});var n=s(54496),l=s(14476),u=function(Je){return Je[Je.State=0]="State",Je[Je.Transition=1]="Transition",Je[Je.Sequence=2]="Sequence",Je[Je.Group=3]="Group",Je[Je.Animate=4]="Animate",Je[Je.Keyframes=5]="Keyframes",Je[Je.Style=6]="Style",Je[Je.Trigger=7]="Trigger",Je[Je.Reference=8]="Reference",Je[Je.AnimateChild=9]="AnimateChild",Je[Je.AnimateRef=10]="AnimateRef",Je[Je.Query=11]="Query",Je[Je.Stagger=12]="Stagger",Je}(u||{});const c="*";function v(Je){return{type:u.Style,styles:Je,offset:null}}class A{constructor($=0,ee=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=$+ee}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach($=>$()),this._onDoneFns=[])}onStart($){this._originalOnStartFns.push($),this._onStartFns.push($)}onDone($){this._originalOnDoneFns.push($),this._onDoneFns.push($)}onDestroy($){this._onDestroyFns.push($)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach($=>$()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach($=>$()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition($){this._position=this.totalTime?$*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback($){const ee="start"==$?this._onStartFns:this._onDoneFns;ee.forEach(ye=>ye()),ee.length=0}}class H{constructor($){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=$;let ee=0,ye=0,Ge=0;const Ct=this.players.length;0==Ct?queueMicrotask(()=>this._onFinish()):this.players.forEach(Lt=>{Lt.onDone(()=>{++ee==Ct&&this._onFinish()}),Lt.onDestroy(()=>{++ye==Ct&&this._onDestroy()}),Lt.onStart(()=>{++Ge==Ct&&this._onStart()})}),this.totalTime=this.players.reduce((Lt,Ht)=>Math.max(Lt,Ht.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach($=>$()),this._onDoneFns=[])}init(){this.players.forEach($=>$.init())}onStart($){this._onStartFns.push($)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach($=>$()),this._onStartFns=[])}onDone($){this._onDoneFns.push($)}onDestroy($){this._onDestroyFns.push($)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach($=>$.play())}pause(){this.players.forEach($=>$.pause())}restart(){this.players.forEach($=>$.restart())}finish(){this._onFinish(),this.players.forEach($=>$.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach($=>$.destroy()),this._onDestroyFns.forEach($=>$()),this._onDestroyFns=[])}reset(){this.players.forEach($=>$.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition($){const ee=$*this.totalTime;this.players.forEach(ye=>{const Ge=ye.totalTime?Math.min(1,ee/ye.totalTime):1;ye.setPosition(Ge)})}getPosition(){const $=this.players.reduce((ee,ye)=>null===ee||ye.totalTime>ee.totalTime?ye:ee,null);return null!=$?$.getPosition():0}beforeDestroy(){this.players.forEach($=>{$.beforeDestroy&&$.beforeDestroy()})}triggerCallback($){const ee="start"==$?this._onStartFns:this._onDoneFns;ee.forEach(ye=>ye()),ee.length=0}}function X(Je){return new n.\u0275RuntimeError(3e3,!1)}function $e(Je){switch(Je.length){case 0:return new A;case 1:return Je[0];default:return new H(Je)}}function Ye(Je,$,ee=new Map,ye=new Map){const Ge=[],Ct=[];let Lt=-1,Ht=null;if($.forEach(Gt=>{const yn=Gt.get("offset"),rr=yn==Lt,er=rr&&Ht||new Map;Gt.forEach((Kr,Mr)=>{let fr=Mr,Dr=Kr;if("offset"!==Mr)switch(fr=Je.normalizePropertyName(fr,Ge),Dr){case"!":Dr=ee.get(Mr);break;case c:Dr=ye.get(Mr);break;default:Dr=Je.normalizeStyleValue(Mr,fr,Dr,Ge)}er.set(fr,Dr)}),rr||Ct.push(er),Ht=er,Lt=yn}),Ge.length)throw function vn(Je){return new n.\u0275RuntimeError(3502,!1)}();return Ct}function ft(Je,$,ee,ye){switch($){case"start":Je.onStart(()=>ye(ee&&$t(ee,"start",Je)));break;case"done":Je.onDone(()=>ye(ee&&$t(ee,"done",Je)));break;case"destroy":Je.onDestroy(()=>ye(ee&&$t(ee,"destroy",Je)))}}function $t(Je,$,ee){const Ct=un(Je.element,Je.triggerName,Je.fromState,Je.toState,$||Je.phaseName,ee.totalTime??Je.totalTime,!!ee.disabled),Lt=Je._data;return null!=Lt&&(Ct._data=Lt),Ct}function un(Je,$,ee,ye,Ge="",Ct=0,Lt){return{element:Je,triggerName:$,fromState:ee,toState:ye,phaseName:Ge,totalTime:Ct,disabled:!!Lt}}function Vn(Je,$,ee){let ye=Je.get($);return ye||Je.set($,ye=ee),ye}function tr(Je){const $=Je.indexOf(":");return[Je.substring(1,$),Je.slice($+1)]}const br=typeof document>"u"?null:document.documentElement;function or(Je){const $=Je.parentNode||Je.host||null;return $===br?null:$}let Cr=null,jr=!1;function yt(Je,$){for(;$;){if($===Je)return!0;$=or($)}return!1}function Ze(Je,$,ee){if(ee)return Array.from(Je.querySelectorAll($));const ye=Je.querySelector($);return ye?[ye]:[]}let je=(()=>{class Je{validateStyleProperty(ee){return function Hn(Je){Cr||(Cr=function qt(){return typeof document<"u"?document.body:null}()||{},jr=!!Cr.style&&"WebkitAppearance"in Cr.style);let $=!0;return Cr.style&&!function fi(Je){return"ebkit"==Je.substring(1,6)}(Je)&&($=Je in Cr.style,!$&&jr&&($="Webkit"+Je.charAt(0).toUpperCase()+Je.slice(1)in Cr.style)),$}(ee)}matchesElement(ee,ye){return!1}containsElement(ee,ye){return yt(ee,ye)}getParentElement(ee){return or(ee)}query(ee,ye,Ge){return Ze(ee,ye,Ge)}computeStyle(ee,ye,Ge){return Ge||""}animate(ee,ye,Ge,Ct,Lt,Ht=[],Gt){return new A(Ge,Ct)}static#e=this.\u0275fac=function(ye){return new(ye||Je)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Je,factory:Je.\u0275fac})}return Je})();class pt{static#e=this.NOOP=new je}class mt{}const Ln=1e3,Pe="ng-enter",gt="ng-leave",At="ng-trigger",Ut=".ng-trigger",ar="ng-animating",ur=".ng-animating";function Tr(Je){if("number"==typeof Je)return Je;const $=Je.match(/^(-?[\.\d]+)(m?s)/);return!$||$.length<2?0:lr(parseFloat($[1]),$[2])}function lr(Je,$){return"s"===$?Je*Ln:Je}function nr(Je,$,ee){return Je.hasOwnProperty("duration")?Je:function Nr(Je,$,ee){let Ge,Ct=0,Lt="";if("string"==typeof Je){const Ht=Je.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===Ht)return $.push(X()),{duration:0,delay:0,easing:""};Ge=lr(parseFloat(Ht[1]),Ht[2]);const Gt=Ht[3];null!=Gt&&(Ct=lr(parseFloat(Gt),Ht[4]));const yn=Ht[5];yn&&(Lt=yn)}else Ge=Je;if(!ee){let Ht=!1,Gt=$.length;Ge<0&&($.push(function be(){return new n.\u0275RuntimeError(3100,!1)}()),Ht=!0),Ct<0&&($.push(function ce(){return new n.\u0275RuntimeError(3101,!1)}()),Ht=!0),Ht&&$.splice(Gt,0,X())}return{duration:Ge,delay:Ct,easing:Lt}}(Je,$,ee)}function jn(Je,$,ee){$.forEach((ye,Ge)=>{const Ct=an(Ge);ee&&!ee.has(Ge)&&ee.set(Ge,Je.style[Ct]),Je.style[Ct]=ye})}function qn(Je,$){$.forEach((ee,ye)=>{const Ge=an(ye);Je.style[Ge]=""})}function dr(Je){return Array.isArray(Je)?1==Je.length?Je[0]:function h(Je,$=null){return{type:u.Sequence,steps:Je,options:$}}(Je):Je}const Fr=new RegExp("{{\\s*(.+?)\\s*}}","g");function rt(Je){let $=[];if("string"==typeof Je){let ee;for(;ee=Fr.exec(Je);)$.push(ee[1]);Fr.lastIndex=0}return $}function kt(Je,$,ee){const ye=`${Je}`,Ge=ye.replace(Fr,(Ct,Lt)=>{let Ht=$[Lt];return null==Ht&&(ee.push(function ct(Je){return new n.\u0275RuntimeError(3003,!1)}()),Ht=""),Ht.toString()});return Ge==ye?Je:Ge}const Et=/-+([a-z0-9])/g;function an(Je){return Je.replace(Et,(...$)=>$[1].toUpperCase())}function sr(Je,$,ee){switch($.type){case u.Trigger:return Je.visitTrigger($,ee);case u.State:return Je.visitState($,ee);case u.Transition:return Je.visitTransition($,ee);case u.Sequence:return Je.visitSequence($,ee);case u.Group:return Je.visitGroup($,ee);case u.Animate:return Je.visitAnimate($,ee);case u.Keyframes:return Je.visitKeyframes($,ee);case u.Style:return Je.visitStyle($,ee);case u.Reference:return Je.visitReference($,ee);case u.AnimateChild:return Je.visitAnimateChild($,ee);case u.AnimateRef:return Je.visitAnimateRef($,ee);case u.Query:return Je.visitQuery($,ee);case u.Stagger:return Je.visitStagger($,ee);default:throw function xe(Je){return new n.\u0275RuntimeError(3004,!1)}()}}function Xn(Je,$){return window.getComputedStyle(Je)[$]}const xr=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 Or extends mt{normalizePropertyName($,ee){return an($)}normalizeStyleValue($,ee,ye,Ge){let Ct="";const Lt=ye.toString().trim();if(xr.has(ee)&&0!==ye&&"0"!==ye)if("number"==typeof ye)Ct="px";else{const Ht=ye.match(/^[+-]?[\d\.]+([a-z]*)$/);Ht&&0==Ht[1].length&&Ge.push(function Ie(Je,$){return new n.\u0275RuntimeError(3005,!1)}())}return Lt+Ct}}const Q="*";const de=new Set(["true","1"]),qe=new Set(["false","0"]);function ht(Je,$){const ee=de.has(Je)||qe.has(Je),ye=de.has($)||qe.has($);return(Ge,Ct)=>{let Lt=Je==Q||Je==Ge,Ht=$==Q||$==Ct;return!Lt&&ee&&"boolean"==typeof Ge&&(Lt=Ge?de.has(Je):qe.has(Je)),!Ht&&ye&&"boolean"==typeof Ct&&(Ht=Ct?de.has($):qe.has($)),Lt&&Ht}}const Ft=new RegExp("s*:selfs*,?","g");function en(Je,$,ee,ye){return new _n(Je).build($,ee,ye)}class _n{constructor($){this._driver=$}build($,ee,ye){const Ge=new In(ee);return this._resetContextStyleTimingState(Ge),sr(this,dr($),Ge)}_resetContextStyleTimingState($){$.currentQuerySelector="",$.collectedStyles=new Map,$.collectedStyles.set("",new Map),$.currentTime=0}visitTrigger($,ee){let ye=ee.queryCount=0,Ge=ee.depCount=0;const Ct=[],Lt=[];return"@"==$.name.charAt(0)&&ee.errors.push(function Le(){return new n.\u0275RuntimeError(3006,!1)}()),$.definitions.forEach(Ht=>{if(this._resetContextStyleTimingState(ee),Ht.type==u.State){const Gt=Ht,yn=Gt.name;yn.toString().split(/\s*,\s*/).forEach(rr=>{Gt.name=rr,Ct.push(this.visitState(Gt,ee))}),Gt.name=yn}else if(Ht.type==u.Transition){const Gt=this.visitTransition(Ht,ee);ye+=Gt.queryCount,Ge+=Gt.depCount,Lt.push(Gt)}else ee.errors.push(function Ue(){return new n.\u0275RuntimeError(3007,!1)}())}),{type:u.Trigger,name:$.name,states:Ct,transitions:Lt,queryCount:ye,depCount:Ge,options:null}}visitState($,ee){const ye=this.visitStyle($.styles,ee),Ge=$.options&&$.options.params||null;if(ye.containsDynamicStyles){const Ct=new Set,Lt=Ge||{};ye.styles.forEach(Ht=>{Ht instanceof Map&&Ht.forEach(Gt=>{rt(Gt).forEach(yn=>{Lt.hasOwnProperty(yn)||Ct.add(yn)})})}),Ct.size&&ee.errors.push(function Xe(Je,$){return new n.\u0275RuntimeError(3008,!1)}(0,Ct.values()))}return{type:u.State,name:$.name,style:ye,options:Ge?{params:Ge}:null}}visitTransition($,ee){ee.queryCount=0,ee.depCount=0;const ye=sr(this,dr($.animation),ee),Ge=function Se(Je,$){const ee=[];return"string"==typeof Je?Je.split(/\s*,\s*/).forEach(ye=>function he(Je,$,ee){if(":"==Je[0]){const Gt=function q(Je,$){switch(Je){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(ee,ye)=>parseFloat(ye)>parseFloat(ee);case":decrement":return(ee,ye)=>parseFloat(ye) *"}}(Je,ee);if("function"==typeof Gt)return void $.push(Gt);Je=Gt}const ye=Je.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==ye||ye.length<4)return ee.push(function Tt(Je){return new n.\u0275RuntimeError(3015,!1)}()),$;const Ge=ye[1],Ct=ye[2],Lt=ye[3];$.push(ht(Ge,Lt)),"<"==Ct[0]&&(Ge!=Q||Lt!=Q)&&$.push(ht(Lt,Ge))}(ye,ee,$)):ee.push(Je),ee}($.expr,ee.errors);return{type:u.Transition,matchers:Ge,animation:ye,queryCount:ee.queryCount,depCount:ee.depCount,options:hr($.options)}}visitSequence($,ee){return{type:u.Sequence,steps:$.steps.map(ye=>sr(this,ye,ee)),options:hr($.options)}}visitGroup($,ee){const ye=ee.currentTime;let Ge=0;const Ct=$.steps.map(Lt=>{ee.currentTime=ye;const Ht=sr(this,Lt,ee);return Ge=Math.max(Ge,ee.currentTime),Ht});return ee.currentTime=Ge,{type:u.Group,steps:Ct,options:hr($.options)}}visitAnimate($,ee){const ye=function _r(Je,$){if(Je.hasOwnProperty("duration"))return Je;if("number"==typeof Je)return Lr(nr(Je,$).duration,0,"");const ee=Je;if(ee.split(/\s+/).some(Ct=>"{"==Ct.charAt(0)&&"{"==Ct.charAt(1))){const Ct=Lr(0,0,"");return Ct.dynamic=!0,Ct.strValue=ee,Ct}const Ge=nr(ee,$);return Lr(Ge.duration,Ge.delay,Ge.easing)}($.timings,ee.errors);ee.currentAnimateTimings=ye;let Ge,Ct=$.styles?$.styles:v({});if(Ct.type==u.Keyframes)Ge=this.visitKeyframes(Ct,ee);else{let Lt=$.styles,Ht=!1;if(!Lt){Ht=!0;const yn={};ye.easing&&(yn.easing=ye.easing),Lt=v(yn)}ee.currentTime+=ye.duration+ye.delay;const Gt=this.visitStyle(Lt,ee);Gt.isEmptyStep=Ht,Ge=Gt}return ee.currentAnimateTimings=null,{type:u.Animate,timings:ye,style:Ge,options:null}}visitStyle($,ee){const ye=this._makeStyleAst($,ee);return this._validateStyleAst(ye,ee),ye}_makeStyleAst($,ee){const ye=[],Ge=Array.isArray($.styles)?$.styles:[$.styles];for(let Ht of Ge)"string"==typeof Ht?Ht===c?ye.push(Ht):ee.errors.push(new n.\u0275RuntimeError(3002,!1)):ye.push(new Map(Object.entries(Ht)));let Ct=!1,Lt=null;return ye.forEach(Ht=>{if(Ht instanceof Map&&(Ht.has("easing")&&(Lt=Ht.get("easing"),Ht.delete("easing")),!Ct))for(let Gt of Ht.values())if(Gt.toString().indexOf("{{")>=0){Ct=!0;break}}),{type:u.Style,styles:ye,easing:Lt,offset:$.offset,containsDynamicStyles:Ct,options:null}}_validateStyleAst($,ee){const ye=ee.currentAnimateTimings;let Ge=ee.currentTime,Ct=ee.currentTime;ye&&Ct>0&&(Ct-=ye.duration+ye.delay),$.styles.forEach(Lt=>{"string"!=typeof Lt&&Lt.forEach((Ht,Gt)=>{const yn=ee.collectedStyles.get(ee.currentQuerySelector),rr=yn.get(Gt);let er=!0;rr&&(Ct!=Ge&&Ct>=rr.startTime&&Ge<=rr.endTime&&(ee.errors.push(function Ce(Je,$,ee,ye,Ge){return new n.\u0275RuntimeError(3010,!1)}()),er=!1),Ct=rr.startTime),er&&yn.set(Gt,{startTime:Ct,endTime:Ge}),ee.options&&function ii(Je,$,ee){const ye=$.params||{},Ge=rt(Je);Ge.length&&Ge.forEach(Ct=>{ye.hasOwnProperty(Ct)||ee.push(function ze(Je){return new n.\u0275RuntimeError(3001,!1)}())})}(Ht,ee.options,ee.errors)})})}visitKeyframes($,ee){const ye={type:u.Keyframes,styles:[],options:null};if(!ee.currentAnimateTimings)return ee.errors.push(function Ae(){return new n.\u0275RuntimeError(3011,!1)}()),ye;let Ct=0;const Lt=[];let Ht=!1,Gt=!1,yn=0;const rr=$.steps.map(wi=>{const Ui=this._makeStyleAst(wi,ee);let Si=null!=Ui.offset?Ui.offset:function Un(Je){if("string"==typeof Je)return null;let $=null;if(Array.isArray(Je))Je.forEach(ee=>{if(ee instanceof Map&&ee.has("offset")){const ye=ee;$=parseFloat(ye.get("offset")),ye.delete("offset")}});else if(Je instanceof Map&&Je.has("offset")){const ee=Je;$=parseFloat(ee.get("offset")),ee.delete("offset")}return $}(Ui.styles),Ki=0;return null!=Si&&(Ct++,Ki=Ui.offset=Si),Gt=Gt||Ki<0||Ki>1,Ht=Ht||Ki0&&Ct{const Si=Kr>0?Ui==Mr?1:Kr*Ui:Lt[Ui],Ki=Si*mi;ee.currentTime=fr+Dr.delay+Ki,Dr.duration=Ki,this._validateStyleAst(wi,ee),wi.offset=Si,ye.styles.push(wi)}),ye}visitReference($,ee){return{type:u.Reference,animation:sr(this,dr($.animation),ee),options:hr($.options)}}visitAnimateChild($,ee){return ee.depCount++,{type:u.AnimateChild,options:hr($.options)}}visitAnimateRef($,ee){return{type:u.AnimateRef,animation:this.visitReference($.animation,ee),options:hr($.options)}}visitQuery($,ee){const ye=ee.currentQuerySelector,Ge=$.options||{};ee.queryCount++,ee.currentQuery=$;const[Ct,Lt]=function bn(Je){const $=!!Je.split(/\s*,\s*/).find(ee=>":self"==ee);return $&&(Je=Je.replace(Ft,"")),Je=Je.replace(/@\*/g,Ut).replace(/@\w+/g,ee=>Ut+"-"+ee.slice(1)).replace(/:animating/g,ur),[Je,$]}($.selector);ee.currentQuerySelector=ye.length?ye+" "+Ct:Ct,Vn(ee.collectedStyles,ee.currentQuerySelector,new Map);const Ht=sr(this,dr($.animation),ee);return ee.currentQuery=null,ee.currentQuerySelector=ye,{type:u.Query,selector:Ct,limit:Ge.limit||0,optional:!!Ge.optional,includeSelf:Lt,animation:Ht,originalSelector:$.selector,options:hr($.options)}}visitStagger($,ee){ee.currentQuery||ee.errors.push(function et(){return new n.\u0275RuntimeError(3013,!1)}());const ye="full"===$.timings?{duration:0,delay:0,easing:"full"}:nr($.timings,ee.errors,!0);return{type:u.Stagger,animation:sr(this,dr($.animation),ee),timings:ye,options:null}}}class In{constructor($){this.errors=$,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 hr(Je){return Je?(Je={...Je}).params&&(Je.params=function hn(Je){return Je?{...Je}:null}(Je.params)):Je={},Je}function Lr(Je,$,ee){return{duration:Je,delay:$,easing:ee}}function ti(Je,$,ee,ye,Ge,Ct,Lt=null,Ht=!1){return{type:1,element:Je,keyframes:$,preStyleProps:ee,postStyleProps:ye,duration:Ge,delay:Ct,totalTime:Ge+Ct,easing:Lt,subTimeline:Ht}}class it{constructor(){this._map=new Map}get($){return this._map.get($)||[]}append($,ee){let ye=this._map.get($);ye||this._map.set($,ye=[]),ye.push(...ee)}has($){return this._map.has($)}clear(){this._map.clear()}}const Ur=new RegExp(":enter","g"),Jn=new RegExp(":leave","g");function Gr(Je,$,ee,ye,Ge,Ct=new Map,Lt=new Map,Ht,Gt,yn=[]){return(new Bn).buildKeyframes(Je,$,ee,ye,Ge,Ct,Lt,Ht,Gt,yn)}class Bn{buildKeyframes($,ee,ye,Ge,Ct,Lt,Ht,Gt,yn,rr=[]){yn=yn||new it;const er=new Zi($,ee,yn,Ge,Ct,rr,[]);er.options=Gt;const Kr=Gt.delay?Tr(Gt.delay):0;er.currentTimeline.delayNextStep(Kr),er.currentTimeline.setStyles([Lt],null,er.errors,Gt),sr(this,ye,er);const Mr=er.timelines.filter(fr=>fr.containsAnimation());if(Mr.length&&Ht.size){let fr;for(let Dr=Mr.length-1;Dr>=0;Dr--){const mi=Mr[Dr];if(mi.element===ee){fr=mi;break}}fr&&!fr.allowOnlyTimelineStyles()&&fr.setStyles([Ht],null,er.errors,Gt)}return Mr.length?Mr.map(fr=>fr.buildKeyframes()):[ti(ee,[],[],[],0,Kr,"",!1)]}visitTrigger($,ee){}visitState($,ee){}visitTransition($,ee){}visitAnimateChild($,ee){const ye=ee.subInstructions.get(ee.element);if(ye){const Ge=ee.createSubContext($.options),Ct=ee.currentTimeline.currentTime,Lt=this._visitSubInstructions(ye,Ge,Ge.options);Ct!=Lt&&ee.transformIntoNewTimeline(Lt)}ee.previousNode=$}visitAnimateRef($,ee){const ye=ee.createSubContext($.options);ye.transformIntoNewTimeline(),this._applyAnimationRefDelays([$.options,$.animation.options],ee,ye),this.visitReference($.animation,ye),ee.transformIntoNewTimeline(ye.currentTimeline.currentTime),ee.previousNode=$}_applyAnimationRefDelays($,ee,ye){for(const Ge of $){const Ct=Ge?.delay;if(Ct){const Lt="number"==typeof Ct?Ct:Tr(kt(Ct,Ge?.params??{},ee.errors));ye.delayNextStep(Lt)}}}_visitSubInstructions($,ee,ye){let Ct=ee.currentTimeline.currentTime;const Lt=null!=ye.duration?Tr(ye.duration):null,Ht=null!=ye.delay?Tr(ye.delay):null;return 0!==Lt&&$.forEach(Gt=>{const yn=ee.appendInstructionToTimeline(Gt,Lt,Ht);Ct=Math.max(Ct,yn.duration+yn.delay)}),Ct}visitReference($,ee){ee.updateOptions($.options,!0),sr(this,$.animation,ee),ee.previousNode=$}visitSequence($,ee){const ye=ee.subContextCount;let Ge=ee;const Ct=$.options;if(Ct&&(Ct.params||Ct.delay)&&(Ge=ee.createSubContext(Ct),Ge.transformIntoNewTimeline(),null!=Ct.delay)){Ge.previousNode.type==u.Style&&(Ge.currentTimeline.snapshotCurrentStyles(),Ge.previousNode=pi);const Lt=Tr(Ct.delay);Ge.delayNextStep(Lt)}$.steps.length&&($.steps.forEach(Lt=>sr(this,Lt,Ge)),Ge.currentTimeline.applyStylesToKeyframe(),Ge.subContextCount>ye&&Ge.transformIntoNewTimeline()),ee.previousNode=$}visitGroup($,ee){const ye=[];let Ge=ee.currentTimeline.currentTime;const Ct=$.options&&$.options.delay?Tr($.options.delay):0;$.steps.forEach(Lt=>{const Ht=ee.createSubContext($.options);Ct&&Ht.delayNextStep(Ct),sr(this,Lt,Ht),Ge=Math.max(Ge,Ht.currentTimeline.currentTime),ye.push(Ht.currentTimeline)}),ye.forEach(Lt=>ee.currentTimeline.mergeTimelineCollectedStyles(Lt)),ee.transformIntoNewTimeline(Ge),ee.previousNode=$}_visitTiming($,ee){if($.dynamic){const ye=$.strValue;return nr(ee.params?kt(ye,ee.params,ee.errors):ye,ee.errors)}return{duration:$.duration,delay:$.delay,easing:$.easing}}visitAnimate($,ee){const ye=ee.currentAnimateTimings=this._visitTiming($.timings,ee),Ge=ee.currentTimeline;ye.delay&&(ee.incrementTime(ye.delay),Ge.snapshotCurrentStyles());const Ct=$.style;Ct.type==u.Keyframes?this.visitKeyframes(Ct,ee):(ee.incrementTime(ye.duration),this.visitStyle(Ct,ee),Ge.applyStylesToKeyframe()),ee.currentAnimateTimings=null,ee.previousNode=$}visitStyle($,ee){const ye=ee.currentTimeline,Ge=ee.currentAnimateTimings;!Ge&&ye.hasCurrentStyleProperties()&&ye.forwardFrame();const Ct=Ge&&Ge.easing||$.easing;$.isEmptyStep?ye.applyEmptyStep(Ct):ye.setStyles($.styles,Ct,ee.errors,ee.options),ee.previousNode=$}visitKeyframes($,ee){const ye=ee.currentAnimateTimings,Ge=ee.currentTimeline.duration,Ct=ye.duration,Ht=ee.createSubContext().currentTimeline;Ht.easing=ye.easing,$.styles.forEach(Gt=>{Ht.forwardTime((Gt.offset||0)*Ct),Ht.setStyles(Gt.styles,Gt.easing,ee.errors,ee.options),Ht.applyStylesToKeyframe()}),ee.currentTimeline.mergeTimelineCollectedStyles(Ht),ee.transformIntoNewTimeline(Ge+Ct),ee.previousNode=$}visitQuery($,ee){const ye=ee.currentTimeline.currentTime,Ge=$.options||{},Ct=Ge.delay?Tr(Ge.delay):0;Ct&&(ee.previousNode.type===u.Style||0==ye&&ee.currentTimeline.hasCurrentStyleProperties())&&(ee.currentTimeline.snapshotCurrentStyles(),ee.previousNode=pi);let Lt=ye;const Ht=ee.invokeQuery($.selector,$.originalSelector,$.limit,$.includeSelf,!!Ge.optional,ee.errors);ee.currentQueryTotal=Ht.length;let Gt=null;Ht.forEach((yn,rr)=>{ee.currentQueryIndex=rr;const er=ee.createSubContext($.options,yn);Ct&&er.delayNextStep(Ct),yn===ee.element&&(Gt=er.currentTimeline),sr(this,$.animation,er),er.currentTimeline.applyStylesToKeyframe(),Lt=Math.max(Lt,er.currentTimeline.currentTime)}),ee.currentQueryIndex=0,ee.currentQueryTotal=0,ee.transformIntoNewTimeline(Lt),Gt&&(ee.currentTimeline.mergeTimelineCollectedStyles(Gt),ee.currentTimeline.snapshotCurrentStyles()),ee.previousNode=$}visitStagger($,ee){const ye=ee.parentContext,Ge=ee.currentTimeline,Ct=$.timings,Lt=Math.abs(Ct.duration),Ht=Lt*(ee.currentQueryTotal-1);let Gt=Lt*ee.currentQueryIndex;switch(Ct.duration<0?"reverse":Ct.easing){case"reverse":Gt=Ht-Gt;break;case"full":Gt=ye.currentStaggerTime}const rr=ee.currentTimeline;Gt&&rr.delayNextStep(Gt);const er=rr.currentTime;sr(this,$.animation,ee),ee.previousNode=$,ye.currentStaggerTime=Ge.currentTime-er+(Ge.startTime-ye.currentTimeline.startTime)}}const pi={};class Zi{constructor($,ee,ye,Ge,Ct,Lt,Ht,Gt){this._driver=$,this.element=ee,this.subInstructions=ye,this._enterClassName=Ge,this._leaveClassName=Ct,this.errors=Lt,this.timelines=Ht,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=pi,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Gt||new qr(this._driver,ee,0),Ht.push(this.currentTimeline)}get params(){return this.options.params}updateOptions($,ee){if(!$)return;const ye=$;let Ge=this.options;null!=ye.duration&&(Ge.duration=Tr(ye.duration)),null!=ye.delay&&(Ge.delay=Tr(ye.delay));const Ct=ye.params;if(Ct){let Lt=Ge.params;Lt||(Lt=this.options.params={}),Object.keys(Ct).forEach(Ht=>{(!ee||!Lt.hasOwnProperty(Ht))&&(Lt[Ht]=kt(Ct[Ht],Lt,this.errors))})}}_copyOptions(){const $={};if(this.options){const ee=this.options.params;if(ee){const ye=$.params={};Object.keys(ee).forEach(Ge=>{ye[Ge]=ee[Ge]})}}return $}createSubContext($=null,ee,ye){const Ge=ee||this.element,Ct=new Zi(this._driver,Ge,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(Ge,ye||0));return Ct.previousNode=this.previousNode,Ct.currentAnimateTimings=this.currentAnimateTimings,Ct.options=this._copyOptions(),Ct.updateOptions($),Ct.currentQueryIndex=this.currentQueryIndex,Ct.currentQueryTotal=this.currentQueryTotal,Ct.parentContext=this,this.subContextCount++,Ct}transformIntoNewTimeline($){return this.previousNode=pi,this.currentTimeline=this.currentTimeline.fork(this.element,$),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline($,ee,ye){const Ge={duration:ee??$.duration,delay:this.currentTimeline.currentTime+(ye??0)+$.delay,easing:""},Ct=new oi(this._driver,$.element,$.keyframes,$.preStyleProps,$.postStyleProps,Ge,$.stretchStartingKeyframe);return this.timelines.push(Ct),Ge}incrementTime($){this.currentTimeline.forwardTime(this.currentTimeline.duration+$)}delayNextStep($){$>0&&this.currentTimeline.delayNextStep($)}invokeQuery($,ee,ye,Ge,Ct,Lt){let Ht=[];if(Ge&&Ht.push(this.element),$.length>0){$=($=$.replace(Ur,"."+this._enterClassName)).replace(Jn,"."+this._leaveClassName);let yn=this._driver.query(this.element,$,1!=ye);0!==ye&&(yn=ye<0?yn.slice(yn.length+ye,yn.length):yn.slice(0,ye)),Ht.push(...yn)}return!Ct&&0==Ht.length&&Lt.push(function vt(Je){return new n.\u0275RuntimeError(3014,!1)}()),Ht}}class qr{constructor($,ee,ye,Ge){this._driver=$,this.element=ee,this.startTime=ye,this._elementTimelineStylesLookup=Ge,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(ee),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(ee,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($){const ee=1===this._keyframes.size&&this._pendingStyles.size;this.duration||ee?(this.forwardTime(this.currentTime+$),ee&&this.snapshotCurrentStyles()):this.startTime+=$}fork($,ee){return this.applyStylesToKeyframe(),new qr(this._driver,$,ee||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($){this.applyStylesToKeyframe(),this.duration=$,this._loadKeyframe()}_updateStyle($,ee){this._localTimelineStyles.set($,ee),this._globalTimelineStyles.set($,ee),this._styleSummary.set($,{time:this.currentTime,value:ee})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep($){$&&this._previousKeyframe.set("easing",$);for(let[ee,ye]of this._globalTimelineStyles)this._backFill.set(ee,ye||c),this._currentKeyframe.set(ee,c);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles($,ee,ye,Ge){ee&&this._previousKeyframe.set("easing",ee);const Ct=Ge&&Ge.params||{},Lt=function ji(Je,$){const ee=new Map;let ye;return Je.forEach(Ge=>{if("*"===Ge){ye??=$.keys();for(let Ct of ye)ee.set(Ct,c)}else for(let[Ct,Lt]of Ge)ee.set(Ct,Lt)}),ee}($,this._globalTimelineStyles);for(let[Ht,Gt]of Lt){const yn=kt(Gt,Ct,ye);this._pendingStyles.set(Ht,yn),this._localTimelineStyles.has(Ht)||this._backFill.set(Ht,this._globalTimelineStyles.get(Ht)??c),this._updateStyle(Ht,yn)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach(($,ee)=>{this._currentKeyframe.set(ee,$)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach(($,ee)=>{this._currentKeyframe.has(ee)||this._currentKeyframe.set(ee,$)}))}snapshotCurrentStyles(){for(let[$,ee]of this._localTimelineStyles)this._pendingStyles.set($,ee),this._updateStyle($,ee)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const $=[];for(let ee in this._currentKeyframe)$.push(ee);return $}mergeTimelineCollectedStyles($){$._styleSummary.forEach((ee,ye)=>{const Ge=this._styleSummary.get(ye);(!Ge||ee.time>Ge.time)&&this._updateStyle(ye,ee.value)})}buildKeyframes(){this.applyStylesToKeyframe();const $=new Set,ee=new Set,ye=1===this._keyframes.size&&0===this.duration;let Ge=[];this._keyframes.forEach((Ht,Gt)=>{const yn=new Map([...this._backFill,...Ht]);yn.forEach((rr,er)=>{"!"===rr?$.add(er):rr===c&&ee.add(er)}),ye||yn.set("offset",Gt/this.duration),Ge.push(yn)});const Ct=[...$.values()],Lt=[...ee.values()];if(ye){const Ht=Ge[0],Gt=new Map(Ht);Ht.set("offset",0),Gt.set("offset",1),Ge=[Ht,Gt]}return ti(this.element,Ge,Ct,Lt,this.duration,this.startTime,this.easing,!1)}}class oi extends qr{constructor($,ee,ye,Ge,Ct,Lt,Ht=!1){super($,ee,Lt.delay),this.keyframes=ye,this.preStyleProps=Ge,this.postStyleProps=Ct,this._stretchStartingKeyframe=Ht,this.timings={duration:Lt.duration,delay:Lt.delay,easing:Lt.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let $=this.keyframes,{delay:ee,duration:ye,easing:Ge}=this.timings;if(this._stretchStartingKeyframe&&ee){const Ct=[],Lt=ye+ee,Ht=ee/Lt,Gt=new Map($[0]);Gt.set("offset",0),Ct.push(Gt);const yn=new Map($[0]);yn.set("offset",ni(Ht)),Ct.push(yn);const rr=$.length-1;for(let er=1;er<=rr;er++){let Kr=new Map($[er]);const Mr=Kr.get("offset");Kr.set("offset",ni((ee+Mr*ye)/Lt)),Ct.push(Kr)}ye=Lt,ee=0,Ge="",$=Ct}return ti(this.element,$,this.preStyleProps,this.postStyleProps,ye,ee,Ge,!0)}}function ni(Je,$=3){const ee=Math.pow(10,$-1);return Math.round(Je*ee)/ee}function yr(Je,$,ee,ye,Ge,Ct,Lt,Ht,Gt,yn,rr,er,Kr){return{type:0,element:Je,triggerName:$,isRemovalTransition:Ge,fromState:ee,fromStyles:Ct,toState:ye,toStyles:Lt,timelines:Ht,queriedElements:Gt,preStyleProps:yn,postStyleProps:rr,totalTime:er,errors:Kr}}const Ji={};class Do{constructor($,ee,ye){this._triggerName=$,this.ast=ee,this._stateStyles=ye}match($,ee,ye,Ge){return function ri(Je,$,ee,ye,Ge){return Je.some(Ct=>Ct($,ee,ye,Ge))}(this.ast.matchers,$,ee,ye,Ge)}buildStyles($,ee,ye){let Ge=this._stateStyles.get("*");return void 0!==$&&(Ge=this._stateStyles.get($?.toString())||Ge),Ge?Ge.buildStyles(ee,ye):new Map}build($,ee,ye,Ge,Ct,Lt,Ht,Gt,yn,rr){const er=[],Kr=this.ast.options&&this.ast.options.params||Ji,fr=this.buildStyles(ye,Ht&&Ht.params||Ji,er),Dr=Gt&&Gt.params||Ji,mi=this.buildStyles(Ge,Dr,er),wi=new Set,Ui=new Map,Si=new Map,Ki="void"===Ge,Sn={params:ro(Dr,Kr),delay:this.ast.options?.delay},Ar=rr?[]:Gr($,ee,this.ast.animation,Ct,Lt,fr,mi,Sn,yn,er);let eo=0;return Ar.forEach(ki=>{eo=Math.max(ki.duration+ki.delay,eo)}),er.length?yr(ee,this._triggerName,ye,Ge,Ki,fr,mi,[],[],Ui,Si,eo,er):(Ar.forEach(ki=>{const Qr=ki.element,to=Vn(Ui,Qr,new Set);ki.preStyleProps.forEach(nt=>to.add(nt));const we=Vn(Si,Qr,new Set);ki.postStyleProps.forEach(nt=>we.add(nt)),Qr!==ee&&wi.add(Qr)}),yr(ee,this._triggerName,ye,Ge,Ki,fr,mi,Ar,[...wi.values()],Ui,Si,eo))}}function ro(Je,$){const ee={...$};return Object.entries(Je).forEach(([ye,Ge])=>{null!=Ge&&(ee[ye]=Ge)}),ee}class Rr{constructor($,ee,ye){this.styles=$,this.defaultParams=ee,this.normalizer=ye}buildStyles($,ee){const ye=new Map,Ge=ro($,this.defaultParams);return this.styles.styles.forEach(Ct=>{"string"!=typeof Ct&&Ct.forEach((Lt,Ht)=>{Lt&&(Lt=kt(Lt,Ge,ee));const Gt=this.normalizer.normalizePropertyName(Ht,ee);Lt=this.normalizer.normalizeStyleValue(Ht,Gt,Lt,ee),ye.set(Ht,Lt)})}),ye}}class Pn{constructor($,ee,ye){this.name=$,this.ast=ee,this._normalizer=ye,this.transitionFactories=[],this.states=new Map,ee.states.forEach(Ge=>{this.states.set(Ge.name,new Rr(Ge.style,Ge.options&&Ge.options.params||{},ye))}),gi(this.states,"true","1"),gi(this.states,"false","0"),ee.transitions.forEach(Ge=>{this.transitionFactories.push(new Do($,Ge,this.states))}),this.fallbackTransition=function bo(Je,$,ee){return new Do(Je,{type:u.Transition,animation:{type:u.Sequence,steps:[],options:null},matchers:[(Lt,Ht)=>!0],options:null,queryCount:0,depCount:0},$)}($,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition($,ee,ye,Ge){return this.transitionFactories.find(Lt=>Lt.match($,ee,ye,Ge))||null}matchStyles($,ee,ye){return this.fallbackTransition.buildStyles($,ee,ye)}}function gi(Je,$,ee){Je.has($)?Je.has(ee)||Je.set(ee,Je.get($)):Je.has(ee)&&Je.set($,Je.get(ee))}const Hi=new it;class ai{constructor($,ee,ye){this.bodyNode=$,this._driver=ee,this._normalizer=ye,this._animations=new Map,this._playersById=new Map,this.players=[]}register($,ee){const ye=[],Ct=en(this._driver,ee,ye,[]);if(ye.length)throw function zt(Je){return new n.\u0275RuntimeError(3503,!1)}();this._animations.set($,Ct)}_buildPlayer($,ee,ye){const Ge=$.element,Ct=Ye(this._normalizer,$.keyframes,ee,ye);return this._driver.animate(Ge,Ct,$.duration,$.delay,$.easing,[],!0)}create($,ee,ye={}){const Ge=[],Ct=this._animations.get($);let Lt;const Ht=new Map;if(Ct?(Lt=Gr(this._driver,ee,Ct,Pe,gt,new Map,new Map,ye,Hi,Ge),Lt.forEach(rr=>{const er=Vn(Ht,rr.element,new Map);rr.postStyleProps.forEach(Kr=>er.set(Kr,null))})):(Ge.push(function Xt(){return new n.\u0275RuntimeError(3300,!1)}()),Lt=[]),Ge.length)throw function En(Je){return new n.\u0275RuntimeError(3504,!1)}();Ht.forEach((rr,er)=>{rr.forEach((Kr,Mr)=>{rr.set(Mr,this._driver.computeStyle(er,Mr,c))})});const yn=$e(Lt.map(rr=>{const er=Ht.get(rr.element);return this._buildPlayer(rr,new Map,er)}));return this._playersById.set($,yn),yn.onDestroy(()=>this.destroy($)),this.players.push(yn),yn}destroy($){const ee=this._getPlayer($);ee.destroy(),this._playersById.delete($);const ye=this.players.indexOf(ee);ye>=0&&this.players.splice(ye,1)}_getPlayer($){const ee=this._playersById.get($);if(!ee)throw function $n(Je){return new n.\u0275RuntimeError(3301,!1)}();return ee}listen($,ee,ye,Ge){const Ct=un(ee,"","","");return ft(this._getPlayer($),ye,Ct,Ge),()=>{}}command($,ee,ye,Ge){if("register"==ye)return void this.register($,Ge[0]);if("create"==ye)return void this.create($,ee,Ge[0]||{});const Ct=this._getPlayer($);switch(ye){case"play":Ct.play();break;case"pause":Ct.pause();break;case"reset":Ct.reset();break;case"restart":Ct.restart();break;case"finish":Ct.finish();break;case"init":Ct.init();break;case"setPosition":Ct.setPosition(parseFloat(Ge[0]));break;case"destroy":this.destroy($)}}}const pr="ng-animate-queued",Ai="ng-animate-disabled",Yr=[],So={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Vi={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ei="__ng_removed";class Uo{get params(){return this.options.params}constructor($,ee=""){this.namespaceId=ee;const ye=$&&$.hasOwnProperty("value");if(this.value=function Oo(Je){return Je??null}(ye?$.value:$),ye){const{value:Ct,...Lt}=$;this.options=Lt}else this.options={};this.options.params||(this.options.params={})}absorbOptions($){const ee=$.params;if(ee){const ye=this.options.params;Object.keys(ee).forEach(Ge=>{null==ye[Ge]&&(ye[Ge]=ee[Ge])})}}}const Fi="void",ao=new Uo(Fi);class Gi{constructor($,ee,ye){this.id=$,this.hostElement=ee,this._engine=ye,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+$,Ni(ee,this._hostClassName)}listen($,ee,ye,Ge){if(!this._triggers.has(ee))throw function Wt(Je,$){return new n.\u0275RuntimeError(3302,!1)}();if(null==ye||0==ye.length)throw function zn(Je){return new n.\u0275RuntimeError(3303,!1)}();if(!function Ia(Je){return"start"==Je||"done"==Je}(ye))throw function kn(Je,$){return new n.\u0275RuntimeError(3400,!1)}();const Ct=Vn(this._elementListeners,$,[]),Lt={name:ee,phase:ye,callback:Ge};Ct.push(Lt);const Ht=Vn(this._engine.statesByElement,$,new Map);return Ht.has(ee)||(Ni($,At),Ni($,At+"-"+ee),Ht.set(ee,ao)),()=>{this._engine.afterFlush(()=>{const Gt=Ct.indexOf(Lt);Gt>=0&&Ct.splice(Gt,1),this._triggers.has(ee)||Ht.delete(ee)})}}register($,ee){return!this._triggers.has($)&&(this._triggers.set($,ee),!0)}_getTrigger($){const ee=this._triggers.get($);if(!ee)throw function ln(Je){return new n.\u0275RuntimeError(3401,!1)}();return ee}trigger($,ee,ye,Ge=!0){const Ct=this._getTrigger(ee),Lt=new Bo(this.id,ee,$);let Ht=this._engine.statesByElement.get($);Ht||(Ni($,At),Ni($,At+"-"+ee),this._engine.statesByElement.set($,Ht=new Map));let Gt=Ht.get(ee);const yn=new Uo(ye,this.id);if(!(ye&&ye.hasOwnProperty("value"))&&Gt&&yn.absorbOptions(Gt.options),Ht.set(ee,yn),Gt||(Gt=ao),yn.value!==Fi&&Gt.value===yn.value){if(!function ua(Je,$){const ee=Object.keys(Je),ye=Object.keys($);if(ee.length!=ye.length)return!1;for(let Ge=0;Ge{qn($,mi),jn($,wi)})}return}const Kr=Vn(this._engine.playersByElement,$,[]);Kr.forEach(Dr=>{Dr.namespaceId==this.id&&Dr.triggerName==ee&&Dr.queued&&Dr.destroy()});let Mr=Ct.matchTransition(Gt.value,yn.value,$,yn.params),fr=!1;if(!Mr){if(!Ge)return;Mr=Ct.fallbackTransition,fr=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:$,triggerName:ee,transition:Mr,fromState:Gt,toState:yn,player:Lt,isFallbackTransition:fr}),fr||(Ni($,pr),Lt.onStart(()=>{jo($,pr)})),Lt.onDone(()=>{let Dr=this.players.indexOf(Lt);Dr>=0&&this.players.splice(Dr,1);const mi=this._engine.playersByElement.get($);if(mi){let wi=mi.indexOf(Lt);wi>=0&&mi.splice(wi,1)}}),this.players.push(Lt),Kr.push(Lt),Lt}deregister($){this._triggers.delete($),this._engine.statesByElement.forEach(ee=>ee.delete($)),this._elementListeners.forEach((ee,ye)=>{this._elementListeners.set(ye,ee.filter(Ge=>Ge.name!=$))})}clearElementCache($){this._engine.statesByElement.delete($),this._elementListeners.delete($);const ee=this._engine.playersByElement.get($);ee&&(ee.forEach(ye=>ye.destroy()),this._engine.playersByElement.delete($))}_signalRemovalForInnerTriggers($,ee){const ye=this._engine.driver.query($,Ut,!0);ye.forEach(Ge=>{if(Ge[ei])return;const Ct=this._engine.fetchNamespacesByElement(Ge);Ct.size?Ct.forEach(Lt=>Lt.triggerLeaveAnimation(Ge,ee,!1,!0)):this.clearElementCache(Ge)}),this._engine.afterFlushAnimationsDone(()=>ye.forEach(Ge=>this.clearElementCache(Ge)))}triggerLeaveAnimation($,ee,ye,Ge){const Ct=this._engine.statesByElement.get($),Lt=new Map;if(Ct){const Ht=[];if(Ct.forEach((Gt,yn)=>{if(Lt.set(yn,Gt.value),this._triggers.has(yn)){const rr=this.trigger($,yn,Fi,Ge);rr&&Ht.push(rr)}}),Ht.length)return this._engine.markElementAsRemoved(this.id,$,!0,ee,Lt),ye&&$e(Ht).onDone(()=>this._engine.processLeaveNode($)),!0}return!1}prepareLeaveAnimationListeners($){const ee=this._elementListeners.get($),ye=this._engine.statesByElement.get($);if(ee&&ye){const Ge=new Set;ee.forEach(Ct=>{const Lt=Ct.name;if(Ge.has(Lt))return;Ge.add(Lt);const Gt=this._triggers.get(Lt).fallbackTransition,yn=ye.get(Lt)||ao,rr=new Uo(Fi),er=new Bo(this.id,Lt,$);this._engine.totalQueuedPlayers++,this._queue.push({element:$,triggerName:Lt,transition:Gt,fromState:yn,toState:rr,player:er,isFallbackTransition:!0})})}}removeNode($,ee){const ye=this._engine;if($.childElementCount&&this._signalRemovalForInnerTriggers($,ee),this.triggerLeaveAnimation($,ee,!0))return;let Ge=!1;if(ye.totalAnimations){const Ct=ye.players.length?ye.playersByQueriedElement.get($):[];if(Ct&&Ct.length)Ge=!0;else{let Lt=$;for(;Lt=Lt.parentNode;)if(ye.statesByElement.get(Lt)){Ge=!0;break}}}if(this.prepareLeaveAnimationListeners($),Ge)ye.markElementAsRemoved(this.id,$,!1,ee);else{const Ct=$[ei];(!Ct||Ct===So)&&(ye.afterFlush(()=>this.clearElementCache($)),ye.destroyInnerAnimations($),ye._onRemovalComplete($,ee))}}insertNode($,ee){Ni($,this._hostClassName)}drainQueuedTransitions($){const ee=[];return this._queue.forEach(ye=>{const Ge=ye.player;if(Ge.destroyed)return;const Ct=ye.element,Lt=this._elementListeners.get(Ct);Lt&&Lt.forEach(Ht=>{if(Ht.name==ye.triggerName){const Gt=un(Ct,ye.triggerName,ye.fromState.value,ye.toState.value);Gt._data=$,ft(ye.player,Ht.phase,Gt,Ht.callback)}}),Ge.markedForDestroy?this._engine.afterFlush(()=>{Ge.destroy()}):ee.push(ye)}),this._queue=[],ee.sort((ye,Ge)=>{const Ct=ye.transition.ast.depCount,Lt=Ge.transition.ast.depCount;return 0==Ct||0==Lt?Ct-Lt:this._engine.driver.containsElement(ye.element,Ge.element)?1:-1})}destroy($){this.players.forEach(ee=>ee.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,$)}}class xo{_onRemovalComplete($,ee){this.onRemovalComplete($,ee)}constructor($,ee,ye,Ge){this.bodyNode=$,this.driver=ee,this._normalizer=ye,this.scheduler=Ge,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=(Ct,Lt)=>{}}get queuedPlayers(){const $=[];return this._namespaceList.forEach(ee=>{ee.players.forEach(ye=>{ye.queued&&$.push(ye)})}),$}createNamespace($,ee){const ye=new Gi($,ee,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,ee)?this._balanceNamespaceList(ye,ee):(this.newHostElements.set(ee,ye),this.collectEnterElement(ee)),this._namespaceLookup[$]=ye}_balanceNamespaceList($,ee){const ye=this._namespaceList,Ge=this.namespacesByHostElement;if(ye.length-1>=0){let Lt=!1,Ht=this.driver.getParentElement(ee);for(;Ht;){const Gt=Ge.get(Ht);if(Gt){const yn=ye.indexOf(Gt);ye.splice(yn+1,0,$),Lt=!0;break}Ht=this.driver.getParentElement(Ht)}Lt||ye.unshift($)}else ye.push($);return Ge.set(ee,$),$}register($,ee){let ye=this._namespaceLookup[$];return ye||(ye=this.createNamespace($,ee)),ye}registerTrigger($,ee,ye){let Ge=this._namespaceLookup[$];Ge&&Ge.register(ee,ye)&&this.totalAnimations++}destroy($,ee){$&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const ye=this._fetchNamespace($);this.namespacesByHostElement.delete(ye.hostElement);const Ge=this._namespaceList.indexOf(ye);Ge>=0&&this._namespaceList.splice(Ge,1),ye.destroy(ee),delete this._namespaceLookup[$]}))}_fetchNamespace($){return this._namespaceLookup[$]}fetchNamespacesByElement($){const ee=new Set,ye=this.statesByElement.get($);if(ye)for(let Ge of ye.values())if(Ge.namespaceId){const Ct=this._fetchNamespace(Ge.namespaceId);Ct&&ee.add(Ct)}return ee}trigger($,ee,ye,Ge){if(mo(ee)){const Ct=this._fetchNamespace($);if(Ct)return Ct.trigger(ee,ye,Ge),!0}return!1}insertNode($,ee,ye,Ge){if(!mo(ee))return;const Ct=ee[ei];if(Ct&&Ct.setForRemoval){Ct.setForRemoval=!1,Ct.setForMove=!0;const Lt=this.collectedLeaveElements.indexOf(ee);Lt>=0&&this.collectedLeaveElements.splice(Lt,1)}if($){const Lt=this._fetchNamespace($);Lt&&Lt.insertNode(ee,ye)}Ge&&this.collectEnterElement(ee)}collectEnterElement($){this.collectedEnterElements.push($)}markElementAsDisabled($,ee){ee?this.disabledNodes.has($)||(this.disabledNodes.add($),Ni($,Ai)):this.disabledNodes.has($)&&(this.disabledNodes.delete($),jo($,Ai))}removeNode($,ee,ye){if(mo(ee)){this.scheduler?.notify();const Ge=$?this._fetchNamespace($):null;Ge?Ge.removeNode(ee,ye):this.markElementAsRemoved($,ee,!1,ye);const Ct=this.namespacesByHostElement.get(ee);Ct&&Ct.id!==$&&Ct.removeNode(ee,ye)}else this._onRemovalComplete(ee,ye)}markElementAsRemoved($,ee,ye,Ge,Ct){this.collectedLeaveElements.push(ee),ee[ei]={namespaceId:$,setForRemoval:Ge,hasAnimation:ye,removedBeforeQueried:!1,previousTriggersValues:Ct}}listen($,ee,ye,Ge,Ct){return mo(ee)?this._fetchNamespace($).listen(ee,ye,Ge,Ct):()=>{}}_buildInstruction($,ee,ye,Ge,Ct){return $.transition.build(this.driver,$.element,$.fromState.value,$.toState.value,ye,Ge,$.fromState.options,$.toState.options,ee,Ct)}destroyInnerAnimations($){let ee=this.driver.query($,Ut,!0);ee.forEach(ye=>this.destroyActiveAnimationsForElement(ye)),0!=this.playersByQueriedElement.size&&(ee=this.driver.query($,ur,!0),ee.forEach(ye=>this.finishActiveQueriedAnimationOnElement(ye)))}destroyActiveAnimationsForElement($){const ee=this.playersByElement.get($);ee&&ee.forEach(ye=>{ye.queued?ye.markedForDestroy=!0:ye.destroy()})}finishActiveQueriedAnimationOnElement($){const ee=this.playersByQueriedElement.get($);ee&&ee.forEach(ye=>ye.finish())}whenRenderingDone(){return new Promise($=>{if(this.players.length)return $e(this.players).onDone(()=>$());$()})}processLeaveNode($){const ee=$[ei];if(ee&&ee.setForRemoval){if($[ei]=So,ee.namespaceId){this.destroyInnerAnimations($);const ye=this._fetchNamespace(ee.namespaceId);ye&&ye.clearElementCache($)}this._onRemovalComplete($,ee.setForRemoval)}$.classList?.contains(Ai)&&this.markElementAsDisabled($,!1),this.driver.query($,".ng-animate-disabled",!0).forEach(ye=>{this.markElementAsDisabled(ye,!1)})}flush($=-1){let ee=[];if(this.newHostElements.size&&(this.newHostElements.forEach((ye,Ge)=>this._balanceNamespaceList(ye,Ge)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let ye=0;yeye()),this._flushFns=[],this._whenQuietFns.length){const ye=this._whenQuietFns;this._whenQuietFns=[],ee.length?$e(ee).onDone(()=>{ye.forEach(Ge=>Ge())}):ye.forEach(Ge=>Ge())}}reportError($){throw function ut(Je){return new n.\u0275RuntimeError(3402,!1)}()}_flushAnimations($,ee){const ye=new it,Ge=[],Ct=new Map,Lt=[],Ht=new Map,Gt=new Map,yn=new Map,rr=new Set;this.disabledNodes.forEach(xt=>{rr.add(xt);const Nt=this.driver.query(xt,".ng-animate-queued",!0);for(let Kt=0;Kt{const Kt=Pe+Dr++;fr.set(Nt,Kt),xt.forEach(dn=>Ni(dn,Kt))});const mi=[],wi=new Set,Ui=new Set;for(let xt=0;xtwi.add(dn)):Ui.add(Nt))}const Si=new Map,Ki=Qo(Kr,Array.from(wi));Ki.forEach((xt,Nt)=>{const Kt=gt+Dr++;Si.set(Nt,Kt),xt.forEach(dn=>Ni(dn,Kt))}),$.push(()=>{Mr.forEach((xt,Nt)=>{const Kt=fr.get(Nt);xt.forEach(dn=>jo(dn,Kt))}),Ki.forEach((xt,Nt)=>{const Kt=Si.get(Nt);xt.forEach(dn=>jo(dn,Kt))}),mi.forEach(xt=>{this.processLeaveNode(xt)})});const Sn=[],Ar=[];for(let xt=this._namespaceList.length-1;xt>=0;xt--)this._namespaceList[xt].drainQueuedTransitions(ee).forEach(Kt=>{const dn=Kt.player,Wn=Kt.element;if(Sn.push(dn),this.collectedEnterElements.length){const ne=Wn[ei];if(ne&&ne.setForMove){if(ne.previousTriggersValues&&ne.previousTriggersValues.has(Kt.triggerName)){const B=ne.previousTriggersValues.get(Kt.triggerName),le=this.statesByElement.get(Kt.element);if(le&&le.has(Kt.triggerName)){const We=le.get(Kt.triggerName);We.value=B,le.set(Kt.triggerName,We)}}return void dn.destroy()}}const Y=!er||!this.driver.containsElement(er,Wn),Re=Si.get(Wn),se=fr.get(Wn),Me=this._buildInstruction(Kt,ye,se,Re,Y);if(Me.errors&&Me.errors.length)return void Ar.push(Me);if(Y)return dn.onStart(()=>qn(Wn,Me.fromStyles)),dn.onDestroy(()=>jn(Wn,Me.toStyles)),void Ge.push(dn);if(Kt.isFallbackTransition)return dn.onStart(()=>qn(Wn,Me.fromStyles)),dn.onDestroy(()=>jn(Wn,Me.toStyles)),void Ge.push(dn);const Mt=[];Me.timelines.forEach(ne=>{ne.stretchStartingKeyframe=!0,this.disabledNodes.has(ne.element)||Mt.push(ne)}),Me.timelines=Mt,ye.append(Wn,Me.timelines),Lt.push({instruction:Me,player:dn,element:Wn}),Me.queriedElements.forEach(ne=>Vn(Ht,ne,[]).push(dn)),Me.preStyleProps.forEach((ne,B)=>{if(ne.size){let le=Gt.get(B);le||Gt.set(B,le=new Set),ne.forEach((We,Jt)=>le.add(Jt))}}),Me.postStyleProps.forEach((ne,B)=>{let le=yn.get(B);le||yn.set(B,le=new Set),ne.forEach((We,Jt)=>le.add(Jt))})});if(Ar.length){const xt=[];Ar.forEach(Nt=>{xt.push(function me(Je,$){return new n.\u0275RuntimeError(3505,!1)}())}),Sn.forEach(Nt=>Nt.destroy()),this.reportError(xt)}const eo=new Map,ki=new Map;Lt.forEach(xt=>{const Nt=xt.element;ye.has(Nt)&&(ki.set(Nt,Nt),this._beforeAnimationBuild(xt.player.namespaceId,xt.instruction,eo))}),Ge.forEach(xt=>{const Nt=xt.element;this._getPreviousPlayers(Nt,!1,xt.namespaceId,xt.triggerName,null).forEach(dn=>{Vn(eo,Nt,[]).push(dn),dn.destroy()})});const Qr=mi.filter(xt=>Zo(xt,Gt,yn)),to=new Map;ya(to,this.driver,Ui,yn,c).forEach(xt=>{Zo(xt,Gt,yn)&&Qr.push(xt)});const nt=new Map;Mr.forEach((xt,Nt)=>{ya(nt,this.driver,new Set(xt),Gt,"!")}),Qr.forEach(xt=>{const Nt=to.get(xt),Kt=nt.get(xt);to.set(xt,new Map([...Nt?.entries()??[],...Kt?.entries()??[]]))});const Qe=[],lt=[],wt={};Lt.forEach(xt=>{const{element:Nt,player:Kt,instruction:dn}=xt;if(ye.has(Nt)){if(rr.has(Nt))return Kt.onDestroy(()=>jn(Nt,dn.toStyles)),Kt.disabled=!0,Kt.overrideTotalTime(dn.totalTime),void Ge.push(Kt);let Wn=wt;if(ki.size>1){let Re=Nt;const se=[];for(;Re=Re.parentNode;){const Me=ki.get(Re);if(Me){Wn=Me;break}se.push(Re)}se.forEach(Me=>ki.set(Me,Wn))}const Y=this._buildAnimation(Kt.namespaceId,dn,eo,Ct,nt,to);if(Kt.setRealPlayer(Y),Wn===wt)Qe.push(Kt);else{const Re=this.playersByElement.get(Wn);Re&&Re.length&&(Kt.parentPlayer=$e(Re)),Ge.push(Kt)}}else qn(Nt,dn.fromStyles),Kt.onDestroy(()=>jn(Nt,dn.toStyles)),lt.push(Kt),rr.has(Nt)&&Ge.push(Kt)}),lt.forEach(xt=>{const Nt=Ct.get(xt.element);if(Nt&&Nt.length){const Kt=$e(Nt);xt.setRealPlayer(Kt)}}),Ge.forEach(xt=>{xt.parentPlayer?xt.syncPlayerEvents(xt.parentPlayer):xt.destroy()});for(let xt=0;xt!Y.destroyed);Wn.length?zo(this,Nt,Wn):this.processLeaveNode(Nt)}return mi.length=0,Qe.forEach(xt=>{this.players.push(xt),xt.onDone(()=>{xt.destroy();const Nt=this.players.indexOf(xt);this.players.splice(Nt,1)}),xt.play()}),Qe}afterFlush($){this._flushFns.push($)}afterFlushAnimationsDone($){this._whenQuietFns.push($)}_getPreviousPlayers($,ee,ye,Ge,Ct){let Lt=[];if(ee){const Ht=this.playersByQueriedElement.get($);Ht&&(Lt=Ht)}else{const Ht=this.playersByElement.get($);if(Ht){const Gt=!Ct||Ct==Fi;Ht.forEach(yn=>{yn.queued||!Gt&&yn.triggerName!=Ge||Lt.push(yn)})}}return(ye||Ge)&&(Lt=Lt.filter(Ht=>!(ye&&ye!=Ht.namespaceId||Ge&&Ge!=Ht.triggerName))),Lt}_beforeAnimationBuild($,ee,ye){const Ct=ee.element,Lt=ee.isRemovalTransition?void 0:$,Ht=ee.isRemovalTransition?void 0:ee.triggerName;for(const Gt of ee.timelines){const yn=Gt.element,rr=yn!==Ct,er=Vn(ye,yn,[]);this._getPreviousPlayers(yn,rr,Lt,Ht,ee.toState).forEach(Mr=>{const fr=Mr.getRealPlayer();fr.beforeDestroy&&fr.beforeDestroy(),Mr.destroy(),er.push(Mr)})}qn(Ct,ee.fromStyles)}_buildAnimation($,ee,ye,Ge,Ct,Lt){const Ht=ee.triggerName,Gt=ee.element,yn=[],rr=new Set,er=new Set,Kr=ee.timelines.map(fr=>{const Dr=fr.element;rr.add(Dr);const mi=Dr[ei];if(mi&&mi.removedBeforeQueried)return new A(fr.duration,fr.delay);const wi=Dr!==Gt,Ui=function Lo(Je){const $=[];return Xi(Je,$),$}((ye.get(Dr)||Yr).map(eo=>eo.getRealPlayer())).filter(eo=>!!eo.element&&eo.element===Dr),Si=Ct.get(Dr),Ki=Lt.get(Dr),Sn=Ye(this._normalizer,fr.keyframes,Si,Ki),Ar=this._buildPlayer(fr,Sn,Ui);if(fr.subTimeline&&Ge&&er.add(Dr),wi){const eo=new Bo($,Ht,Dr);eo.setRealPlayer(Ar),yn.push(eo)}return Ar});yn.forEach(fr=>{Vn(this.playersByQueriedElement,fr.element,[]).push(fr),fr.onDone(()=>function so(Je,$,ee){let ye=Je.get($);if(ye){if(ye.length){const Ge=ye.indexOf(ee);ye.splice(Ge,1)}0==ye.length&&Je.delete($)}return ye}(this.playersByQueriedElement,fr.element,fr))}),rr.forEach(fr=>Ni(fr,ar));const Mr=$e(Kr);return Mr.onDestroy(()=>{rr.forEach(fr=>jo(fr,ar)),jn(Gt,ee.toStyles)}),er.forEach(fr=>{Vn(Ge,fr,[]).push(Mr)}),Mr}_buildPlayer($,ee,ye){return ee.length>0?this.driver.animate($.element,ee,$.duration,$.delay,$.easing,ye):new A($.duration,$.delay)}}class Bo{constructor($,ee,ye){this.namespaceId=$,this.triggerName=ee,this.element=ye,this._player=new A,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($){this._containsRealPlayer||(this._player=$,this._queuedCallbacks.forEach((ee,ye)=>{ee.forEach(Ge=>ft($,ye,void 0,Ge))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime($.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime($){this.totalTime=$}syncPlayerEvents($){const ee=this._player;ee.triggerCallback&&$.onStart(()=>ee.triggerCallback("start")),$.onDone(()=>this.finish()),$.onDestroy(()=>this.destroy())}_queueEvent($,ee){Vn(this._queuedCallbacks,$,[]).push(ee)}onDone($){this.queued&&this._queueEvent("done",$),this._player.onDone($)}onStart($){this.queued&&this._queueEvent("start",$),this._player.onStart($)}onDestroy($){this.queued&&this._queueEvent("destroy",$),this._player.onDestroy($)}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($){this.queued||this._player.setPosition($)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback($){const ee=this._player;ee.triggerCallback&&ee.triggerCallback($)}}function mo(Je){return Je&&1===Je.nodeType}function oa(Je,$){const ee=Je.style.display;return Je.style.display=$??"none",ee}function ya(Je,$,ee,ye,Ge){const Ct=[];ee.forEach(Gt=>Ct.push(oa(Gt)));const Lt=[];ye.forEach((Gt,yn)=>{const rr=new Map;Gt.forEach(er=>{const Kr=$.computeStyle(yn,er,Ge);rr.set(er,Kr),(!Kr||0==Kr.length)&&(yn[ei]=Vi,Lt.push(yn))}),Je.set(yn,rr)});let Ht=0;return ee.forEach(Gt=>oa(Gt,Ct[Ht++])),Lt}function Qo(Je,$){const ee=new Map;if(Je.forEach(Ht=>ee.set(Ht,[])),0==$.length)return ee;const Ge=new Set($),Ct=new Map;function Lt(Ht){if(!Ht)return 1;let Gt=Ct.get(Ht);if(Gt)return Gt;const yn=Ht.parentNode;return Gt=ee.has(yn)?yn:Ge.has(yn)?1:Lt(yn),Ct.set(Ht,Gt),Gt}return $.forEach(Ht=>{const Gt=Lt(Ht);1!==Gt&&ee.get(Gt).push(Ht)}),ee}function Ni(Je,$){Je.classList?.add($)}function jo(Je,$){Je.classList?.remove($)}function zo(Je,$,ee){$e(ee).onDone(()=>Je.processLeaveNode($))}function Xi(Je,$){for(let ee=0;eeGe.add(Ct)):$.set(Je,ye),ee.delete(Je),!0}class To{constructor($,ee,ye,Ge){this._driver=ee,this._normalizer=ye,this._triggerCache={},this.onRemovalComplete=(Ct,Lt)=>{},this._transitionEngine=new xo($.body,ee,ye,Ge),this._timelineEngine=new ai($.body,ee,ye),this._transitionEngine.onRemovalComplete=(Ct,Lt)=>this.onRemovalComplete(Ct,Lt)}registerTrigger($,ee,ye,Ge,Ct){const Lt=$+"-"+Ge;let Ht=this._triggerCache[Lt];if(!Ht){const Gt=[],rr=en(this._driver,Ct,Gt,[]);if(Gt.length)throw function nn(Je,$){return new n.\u0275RuntimeError(3404,!1)}();Ht=function oo(Je,$,ee){return new Pn(Je,$,ee)}(Ge,rr,this._normalizer),this._triggerCache[Lt]=Ht}this._transitionEngine.registerTrigger(ee,Ge,Ht)}register($,ee){this._transitionEngine.register($,ee)}destroy($,ee){this._transitionEngine.destroy($,ee)}onInsert($,ee,ye,Ge){this._transitionEngine.insertNode($,ee,ye,Ge)}onRemove($,ee,ye){this._transitionEngine.removeNode($,ee,ye)}disableAnimations($,ee){this._transitionEngine.markElementAsDisabled($,ee)}process($,ee,ye,Ge){if("@"==ye.charAt(0)){const[Ct,Lt]=tr(ye);this._timelineEngine.command(Ct,ee,Lt,Ge)}else this._transitionEngine.trigger($,ee,ye,Ge)}listen($,ee,ye,Ge,Ct){if("@"==ye.charAt(0)){const[Lt,Ht]=tr(ye);return this._timelineEngine.listen(Lt,ee,Ht,Ct)}return this._transitionEngine.listen($,ee,ye,Ge,Ct)}flush($=-1){this._transitionEngine.flush($)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone($){this._transitionEngine.afterFlushAnimationsDone($)}}class Jo{static#e=this.initialStylesByElement=new WeakMap;constructor($,ee,ye){this._element=$,this._startStyles=ee,this._endStyles=ye,this._state=0;let Ge=Jo.initialStylesByElement.get($);Ge||Jo.initialStylesByElement.set($,Ge=new Map),this._initialStyles=Ge}start(){this._state<1&&(this._startStyles&&jn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(jn(this._element,this._initialStyles),this._endStyles&&(jn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Jo.initialStylesByElement.delete(this._element),this._startStyles&&(qn(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(qn(this._element,this._endStyles),this._endStyles=null),jn(this._element,this._initialStyles),this._state=3)}}function ke(Je){let $=null;return Je.forEach((ee,ye)=>{(function Ve(Je){return"display"===Je||"position"===Je})(ye)&&($=$||new Map,$.set(ye,ee))}),$}class ge{constructor($,ee,ye,Ge){this.element=$,this.keyframes=ee,this.options=ye,this._specialStyles=Ge,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=ye.duration,this._delay=ye.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach($=>$()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const $=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,$,this.options),this._finalKeyframe=$.length?$[$.length-1]:new Map;const ee=()=>this._onFinish();this.domPlayer.addEventListener("finish",ee),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",ee)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject($){const ee=[];return $.forEach(ye=>{ee.push(Object.fromEntries(ye))}),ee}_triggerWebAnimation($,ee,ye){return $.animate(this._convertKeyframesToObject(ee),ye)}onStart($){this._originalOnStartFns.push($),this._onStartFns.push($)}onDone($){this._originalOnDoneFns.push($),this._onDoneFns.push($)}onDestroy($){this._onDestroyFns.push($)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach($=>$()),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($=>$()),this._onDestroyFns=[])}setPosition($){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=$*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const $=new Map;this.hasStarted()&&this._finalKeyframe.forEach((ye,Ge)=>{"offset"!==Ge&&$.set(Ge,this._finished?ye:Xn(this.element,Ge))}),this.currentSnapshot=$}triggerCallback($){const ee="start"===$?this._onStartFns:this._onDoneFns;ee.forEach(ye=>ye()),ee.length=0}}class at{validateStyleProperty($){return!0}validateAnimatableStyleProperty($){return!0}matchesElement($,ee){return!1}containsElement($,ee){return yt($,ee)}getParentElement($){return or($)}query($,ee,ye){return Ze($,ee,ye)}computeStyle($,ee,ye){return Xn($,ee)}animate($,ee,ye,Ge,Ct,Lt=[]){const Gt={duration:ye,delay:Ge,fill:0==Ge?"both":"forwards"};Ct&&(Gt.easing=Ct);const yn=new Map,rr=Lt.filter(Mr=>Mr instanceof ge);(function wn(Je,$){return 0===Je||0===$})(ye,Ge)&&rr.forEach(Mr=>{Mr.currentSnapshot.forEach((fr,Dr)=>yn.set(Dr,fr))});let er=function Ci(Je){return Je.length?Je[0]instanceof Map?Je:Je.map($=>new Map(Object.entries($))):[]}(ee).map(Mr=>new Map(Mr));er=function Dn(Je,$,ee){if(ee.size&&$.length){let ye=$[0],Ge=[];if(ee.forEach((Ct,Lt)=>{ye.has(Lt)||Ge.push(Lt),ye.set(Lt,Ct)}),Ge.length)for(let Ct=1;Ct<$.length;Ct++){let Lt=$[Ct];Ge.forEach(Ht=>Lt.set(Ht,Xn(Je,Ht)))}}return $}($,er,yn);const Kr=function Wo(Je,$){let ee=null,ye=null;return Array.isArray($)&&$.length?(ee=ke($[0]),$.length>1&&(ye=ke($[$.length-1]))):$ instanceof Map&&(ee=ke($)),ee||ye?new Jo(Je,ee,ye):null}($,er);return new ge($,er,Gt,Kr)}}const Mi="@.disabled";class Eo{constructor($,ee,ye,Ge){this.namespaceId=$,this.delegate=ee,this.engine=ye,this._onDestroy=Ge,this.\u0275type=0}get data(){return this.delegate.data}destroyNode($){this.delegate.destroyNode?.($)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement($,ee){return this.delegate.createElement($,ee)}createComment($){return this.delegate.createComment($)}createText($){return this.delegate.createText($)}appendChild($,ee){this.delegate.appendChild($,ee),this.engine.onInsert(this.namespaceId,ee,$,!1)}insertBefore($,ee,ye,Ge=!0){this.delegate.insertBefore($,ee,ye),this.engine.onInsert(this.namespaceId,ee,$,Ge)}removeChild($,ee,ye){this.engine.onRemove(this.namespaceId,ee,this.delegate)}selectRootElement($,ee){return this.delegate.selectRootElement($,ee)}parentNode($){return this.delegate.parentNode($)}nextSibling($){return this.delegate.nextSibling($)}setAttribute($,ee,ye,Ge){this.delegate.setAttribute($,ee,ye,Ge)}removeAttribute($,ee,ye){this.delegate.removeAttribute($,ee,ye)}addClass($,ee){this.delegate.addClass($,ee)}removeClass($,ee){this.delegate.removeClass($,ee)}setStyle($,ee,ye,Ge){this.delegate.setStyle($,ee,ye,Ge)}removeStyle($,ee,ye){this.delegate.removeStyle($,ee,ye)}setProperty($,ee,ye){"@"==ee.charAt(0)&&ee==Mi?this.disableAnimations($,!!ye):this.delegate.setProperty($,ee,ye)}setValue($,ee){this.delegate.setValue($,ee)}listen($,ee,ye){return this.delegate.listen($,ee,ye)}disableAnimations($,ee){this.engine.disableAnimations($,ee)}}class Io extends Eo{constructor($,ee,ye,Ge,Ct){super(ee,ye,Ge,Ct),this.factory=$,this.namespaceId=ee}setProperty($,ee,ye){"@"==ee.charAt(0)?"."==ee.charAt(1)&&ee==Mi?this.disableAnimations($,ye=void 0===ye||!!ye):this.engine.process(this.namespaceId,$,ee.slice(1),ye):this.delegate.setProperty($,ee,ye)}listen($,ee,ye){if("@"==ee.charAt(0)){const Ge=function _o(Je){switch(Je){case"body":return document.body;case"document":return document;case"window":return window;default:return Je}}($);let Ct=ee.slice(1),Lt="";return"@"!=Ct.charAt(0)&&([Ct,Lt]=function $r(Je){const $=Je.indexOf(".");return[Je.substring(0,$),Je.slice($+1)]}(Ct)),this.engine.listen(this.namespaceId,Ge,Ct,Lt,Ht=>{this.factory.scheduleListenerCallback(Ht._data||-1,ye,Ht)})}return this.delegate.listen($,ee,ye)}}class Xo{constructor($,ee,ye){this.delegate=$,this.engine=ee,this._zone=ye,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,ee.onRemovalComplete=(Ge,Ct)=>{const Lt=Ct?.parentNode(Ge);Lt&&Ct.removeChild(Lt,Ge)}}createRenderer($,ee){const Ge=this.delegate.createRenderer($,ee);if(!$||!ee?.data?.animation){const yn=this._rendererCache;let rr=yn.get(Ge);return rr||(rr=new Eo("",Ge,this.engine,()=>yn.delete(Ge)),yn.set(Ge,rr)),rr}const Ct=ee.id,Lt=ee.id+"-"+this._currentId;this._currentId++,this.engine.register(Lt,$);const Ht=yn=>{Array.isArray(yn)?yn.forEach(Ht):this.engine.registerTrigger(Ct,Lt,$,yn.name,yn)};return ee.data.animation.forEach(Ht),new Io(this,Lt,Ge,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback($,ee,ye){if($>=0&&$ee(ye));const Ge=this._animationCallbacksBuffer;0==Ge.length&&queueMicrotask(()=>{this._zone.run(()=>{Ge.forEach(Ct=>{const[Lt,Ht]=Ct;Lt(Ht)}),this._animationCallbacksBuffer=[]})}),Ge.push([ee,ye])}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 aa=s(91368);let io=(()=>{class Je extends To{constructor(ee,ye,Ge){super(ee,ye,Ge,(0,n.inject)(n.\u0275ChangeDetectionScheduler,{optional:!0}))}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(ye){return new(ye||Je)(n.\u0275\u0275inject(aa.DOCUMENT),n.\u0275\u0275inject(pt),n.\u0275\u0275inject(mt))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Je,factory:Je.\u0275fac})}return Je})();const wo=[{provide:mt,useFactory:function sa(){return new Or}},{provide:To,useClass:io},{provide:n.RendererFactory2,useFactory:function Ro(Je,$,ee){return new Xo(Je,$,ee)},deps:[l.\u0275DomRendererFactory2,To,n.NgZone]}],qi=[{provide:pt,useFactory:()=>new at},{provide:n.ANIMATION_MODULE_TYPE,useValue:"BrowserAnimations"},...wo],Go=[{provide:pt,useClass:je},{provide:n.ANIMATION_MODULE_TYPE,useValue:"NoopAnimations"},...wo];let la=(()=>{class Je{static withConfig(ee){return{ngModule:Je,providers:ee.disableAnimations?Go:qi}}static#e=this.\u0275fac=function(ye){return new(ye||Je)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Je});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:qi,imports:[l.BrowserModule]})}return Je})();function Ao(){return(0,n.\u0275performanceMarkFeature)("NgEagerAnimations"),[...qi]}let go=(()=>{class Je{static#e=this.\u0275fac=function(ye){return new(ye||Je)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Je});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:Go,imports:[l.BrowserModule]})}return Je})();function ma(){return[...Go]}},14476:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{BrowserModule:()=>ot,By:()=>kn,DomSanitizer:()=>ft,EVENT_MANAGER_PLUGINS:()=>p,EventManager:()=>E,EventManagerPlugin:()=>S,HAMMER_GESTURE_CONFIG:()=>Te,HAMMER_LOADER:()=>me,HammerGestureConfig:()=>fe,HammerModule:()=>Ye,HydrationFeatureKind:()=>un,Meta:()=>Vt,REMOVE_STYLES_ON_COMPONENT_DESTROY:()=>V,Title:()=>vn,TransferState:()=>Hn,VERSION:()=>Cr,bootstrapApplication:()=>Xe,createApplication:()=>_e,disableDebugTools:()=>zn,enableDebugTools:()=>Wt,makeStateKey:()=>jr,platformBrowser:()=>et,provideClientHydration:()=>fi,provideProtractorTestingSupport:()=>Ce,withHttpTransferCacheOptions:()=>br,withNoHttpTransferCache:()=>tr,\u0275BrowserDomAdapter:()=>i,\u0275BrowserGetTestability:()=>v,\u0275DomEventsPlugin:()=>ct,\u0275DomRendererFactory2:()=>A,\u0275DomSanitizerImpl:()=>$t,\u0275HammerGesturesPlugin:()=>$e,\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS:()=>Ee,\u0275KeyEventsPlugin:()=>Ue,\u0275SharedStylesHost:()=>f,\u0275getDOM:()=>l.\u0275getDOM,\u0275initDomAdapter:()=>Ae});var n=s(54496),l=s(91368),u=s(97048);class c extends l.\u0275DomAdapter{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class i extends c{static makeCurrent(){(0,l.\u0275setRootDomAdapter)(new i)}onAndCancel(qt,yt,Ze){return qt.addEventListener(yt,Ze),()=>{qt.removeEventListener(yt,Ze)}}dispatchEvent(qt,yt){qt.dispatchEvent(yt)}remove(qt){qt.parentNode&&qt.parentNode.removeChild(qt)}createElement(qt,yt){return(yt=yt||this.getDefaultDocument()).createElement(qt)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(qt){return qt.nodeType===Node.ELEMENT_NODE}isShadowRoot(qt){return qt instanceof DocumentFragment}getGlobalEventTarget(qt,yt){return"window"===yt?window:"document"===yt?qt:"body"===yt?qt.body:null}getBaseHref(qt){const yt=function o(){return e=e||document.querySelector("base"),e?e.getAttribute("href"):null}();return null==yt?null:function h(Dt){return new URL(Dt,document.baseURI).pathname}(yt)}resetBaseElement(){e=null}getUserAgent(){return window.navigator.userAgent}getCookie(qt){return(0,l.\u0275parseCookieValue)(document.cookie,qt)}}let e=null;class v{addToWindow(qt){n.\u0275global.getAngularTestability=(Ze,Rt=!0)=>{const je=qt.findTestabilityInTree(Ze,Rt);if(null==je)throw new n.\u0275RuntimeError(5103,!1);return je},n.\u0275global.getAllAngularTestabilities=()=>qt.getAllTestabilities(),n.\u0275global.getAllAngularRootElements=()=>qt.getAllRootElements(),n.\u0275global.frameworkStabilizers||(n.\u0275global.frameworkStabilizers=[]),n.\u0275global.frameworkStabilizers.push(Ze=>{const Rt=n.\u0275global.getAllAngularTestabilities();let je=Rt.length;const pt=function(){je--,0==je&&Ze()};Rt.forEach(mt=>{mt.whenStable(pt)})})}findTestabilityInTree(qt,yt,Ze){return null==yt?null:qt.getTestability(yt)??(Ze?(0,l.\u0275getDOM)().isShadowRoot(yt)?this.findTestabilityInTree(qt,yt.host,!0):this.findTestabilityInTree(qt,yt.parentElement,!0):null)}}let M=(()=>{class Dt{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(Ze){return new(Ze||Dt)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Dt,factory:Dt.\u0275fac})}return Dt})();const p=new n.InjectionToken("");let E=(()=>{class Dt{constructor(yt,Ze){this._zone=Ze,this._eventNameToPlugin=new Map,yt.forEach(Rt=>{Rt.manager=this}),this._plugins=yt.slice().reverse()}addEventListener(yt,Ze,Rt){return this._findPluginFor(Ze).addEventListener(yt,Ze,Rt)}getZone(){return this._zone}_findPluginFor(yt){let Ze=this._eventNameToPlugin.get(yt);if(Ze)return Ze;if(Ze=this._plugins.find(je=>je.supports(yt)),!Ze)throw new n.\u0275RuntimeError(5101,!1);return this._eventNameToPlugin.set(yt,Ze),Ze}static#e=this.\u0275fac=function(Ze){return new(Ze||Dt)(n.\u0275\u0275inject(p),n.\u0275\u0275inject(n.NgZone))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Dt,factory:Dt.\u0275fac})}return Dt})();class S{constructor(qt){this._doc=qt}}const y="ng-app-id";let f=(()=>{class Dt{constructor(yt,Ze,Rt,je={}){this.doc=yt,this.appId=Ze,this.nonce=Rt,this.platformId=je,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,l.isPlatformServer)(je),this.resetHostNodes()}addStyles(yt){for(const Ze of yt)1===this.changeUsageCount(Ze,1)&&this.onStyleAdded(Ze)}removeStyles(yt){for(const Ze of yt)this.changeUsageCount(Ze,-1)<=0&&this.onStyleRemoved(Ze)}ngOnDestroy(){const yt=this.styleNodesInDOM;yt&&(yt.forEach(Ze=>Ze.remove()),yt.clear());for(const Ze of this.getAllStyles())this.onStyleRemoved(Ze);this.resetHostNodes()}addHost(yt){this.hostNodes.add(yt);for(const Ze of this.getAllStyles())this.addStyleToHost(yt,Ze)}removeHost(yt){this.hostNodes.delete(yt)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(yt){for(const Ze of this.hostNodes)this.addStyleToHost(Ze,yt)}onStyleRemoved(yt){const Ze=this.styleRef;Ze.get(yt)?.elements?.forEach(Rt=>Rt.remove()),Ze.delete(yt)}collectServerRenderedStyles(){const yt=this.doc.head?.querySelectorAll(`style[${y}="${this.appId}"]`);if(yt?.length){const Ze=new Map;return yt.forEach(Rt=>{null!=Rt.textContent&&Ze.set(Rt.textContent,Rt)}),Ze}return null}changeUsageCount(yt,Ze){const Rt=this.styleRef;if(Rt.has(yt)){const je=Rt.get(yt);return je.usage+=Ze,je.usage}return Rt.set(yt,{usage:Ze,elements:[]}),Ze}getStyleElement(yt,Ze){const Rt=this.styleNodesInDOM,je=Rt?.get(Ze);if(je?.parentNode===yt)return Rt.delete(Ze),je.removeAttribute(y),je;{const pt=this.doc.createElement("style");return this.nonce&&pt.setAttribute("nonce",this.nonce),pt.textContent=Ze,this.platformIsServer&&pt.setAttribute(y,this.appId),yt.appendChild(pt),pt}}addStyleToHost(yt,Ze){const Rt=this.getStyleElement(yt,Ze),je=this.styleRef,pt=je.get(Ze)?.elements;pt?pt.push(Rt):je.set(Ze,{elements:[Rt],usage:1})}resetHostNodes(){const yt=this.hostNodes;yt.clear(),yt.add(this.doc.head)}static#e=this.\u0275fac=function(Ze){return new(Ze||Dt)(n.\u0275\u0275inject(l.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:Dt,factory:Dt.\u0275fac})}return Dt})();const C={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/"},_=/%COMP%/g,w="%COMP%",D=`_nghost-${w}`,L=`_ngcontent-${w}`,V=new n.InjectionToken("",{providedIn:"root",factory:()=>!0});function k(Dt,qt){return qt.map(yt=>yt.replace(_,Dt))}let A=(()=>{class Dt{constructor(yt,Ze,Rt,je,pt,mt,on,Ln=null){this.eventManager=yt,this.sharedStylesHost=Ze,this.appId=Rt,this.removeStylesOnCompDestroy=je,this.doc=pt,this.platformId=mt,this.ngZone=on,this.nonce=Ln,this.rendererByCompId=new Map,this.platformIsServer=(0,l.isPlatformServer)(mt),this.defaultRenderer=new H(yt,pt,on,this.platformIsServer)}createRenderer(yt,Ze){if(!yt||!Ze)return this.defaultRenderer;this.platformIsServer&&Ze.encapsulation===n.ViewEncapsulation.ShadowDom&&(Ze={...Ze,encapsulation:n.ViewEncapsulation.Emulated});const Rt=this.getOrCreateRenderer(yt,Ze);return Rt instanceof ze?Rt.applyToHost(yt):Rt instanceof ce&&Rt.applyStyles(),Rt}getOrCreateRenderer(yt,Ze){const Rt=this.rendererByCompId;let je=Rt.get(Ze.id);if(!je){const pt=this.doc,mt=this.ngZone,on=this.eventManager,Ln=this.sharedStylesHost,jt=this.removeStylesOnCompDestroy,Mn=this.platformIsServer;switch(Ze.encapsulation){case n.ViewEncapsulation.Emulated:je=new ze(on,Ln,Ze,this.appId,jt,pt,mt,Mn);break;case n.ViewEncapsulation.ShadowDom:return new be(on,Ln,yt,Ze,pt,mt,this.nonce,Mn);default:je=new ce(on,Ln,Ze,jt,pt,mt,Mn)}Rt.set(Ze.id,je)}return je}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(Ze){return new(Ze||Dt)(n.\u0275\u0275inject(E),n.\u0275\u0275inject(f),n.\u0275\u0275inject(n.APP_ID),n.\u0275\u0275inject(V),n.\u0275\u0275inject(l.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:Dt,factory:Dt.\u0275fac})}return Dt})();class H{constructor(qt,yt,Ze,Rt){this.eventManager=qt,this.doc=yt,this.ngZone=Ze,this.platformIsServer=Rt,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(qt,yt){return yt?this.doc.createElementNS(C[yt]||yt,qt):this.doc.createElement(qt)}createComment(qt){return this.doc.createComment(qt)}createText(qt){return this.doc.createTextNode(qt)}appendChild(qt,yt){(X(qt)?qt.content:qt).appendChild(yt)}insertBefore(qt,yt,Ze){qt&&(X(qt)?qt.content:qt).insertBefore(yt,Ze)}removeChild(qt,yt){qt&&qt.removeChild(yt)}selectRootElement(qt,yt){let Ze="string"==typeof qt?this.doc.querySelector(qt):qt;if(!Ze)throw new n.\u0275RuntimeError(-5104,!1);return yt||(Ze.textContent=""),Ze}parentNode(qt){return qt.parentNode}nextSibling(qt){return qt.nextSibling}setAttribute(qt,yt,Ze,Rt){if(Rt){yt=Rt+":"+yt;const je=C[Rt];je?qt.setAttributeNS(je,yt,Ze):qt.setAttribute(yt,Ze)}else qt.setAttribute(yt,Ze)}removeAttribute(qt,yt,Ze){if(Ze){const Rt=C[Ze];Rt?qt.removeAttributeNS(Rt,yt):qt.removeAttribute(`${Ze}:${yt}`)}else qt.removeAttribute(yt)}addClass(qt,yt){qt.classList.add(yt)}removeClass(qt,yt){qt.classList.remove(yt)}setStyle(qt,yt,Ze,Rt){Rt&(n.RendererStyleFlags2.DashCase|n.RendererStyleFlags2.Important)?qt.style.setProperty(yt,Ze,Rt&n.RendererStyleFlags2.Important?"important":""):qt.style[yt]=Ze}removeStyle(qt,yt,Ze){Ze&n.RendererStyleFlags2.DashCase?qt.style.removeProperty(yt):qt.style[yt]=""}setProperty(qt,yt,Ze){null!=qt&&(qt[yt]=Ze)}setValue(qt,yt){qt.nodeValue=yt}listen(qt,yt,Ze){if("string"==typeof qt&&!(qt=(0,l.\u0275getDOM)().getGlobalEventTarget(this.doc,qt)))throw new Error(`Unsupported event target ${qt} for event ${yt}`);return this.eventManager.addEventListener(qt,yt,this.decoratePreventDefault(Ze))}decoratePreventDefault(qt){return yt=>{if("__ngUnwrap__"===yt)return qt;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>qt(yt)):qt(yt))&&yt.preventDefault()}}}function X(Dt){return"TEMPLATE"===Dt.tagName&&void 0!==Dt.content}class be extends H{constructor(qt,yt,Ze,Rt,je,pt,mt,on){super(qt,je,pt,on),this.sharedStylesHost=yt,this.hostEl=Ze,this.shadowRoot=Ze.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Ln=k(Rt.id,Rt.styles);for(const jt of Ln){const Mn=document.createElement("style");mt&&Mn.setAttribute("nonce",mt),Mn.textContent=jt,this.shadowRoot.appendChild(Mn)}}nodeOrShadowRoot(qt){return qt===this.hostEl?this.shadowRoot:qt}appendChild(qt,yt){return super.appendChild(this.nodeOrShadowRoot(qt),yt)}insertBefore(qt,yt,Ze){return super.insertBefore(this.nodeOrShadowRoot(qt),yt,Ze)}removeChild(qt,yt){return super.removeChild(this.nodeOrShadowRoot(qt),yt)}parentNode(qt){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(qt)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class ce extends H{constructor(qt,yt,Ze,Rt,je,pt,mt,on){super(qt,je,pt,mt),this.sharedStylesHost=yt,this.removeStylesOnCompDestroy=Rt,this.styles=on?k(on,Ze.styles):Ze.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class ze extends ce{constructor(qt,yt,Ze,Rt,je,pt,mt,on){const Ln=Rt+"-"+Ze.id;super(qt,yt,Ze,je,pt,mt,on,Ln),this.contentAttr=function G(Dt){return L.replace(_,Dt)}(Ln),this.hostAttr=function R(Dt){return D.replace(_,Dt)}(Ln)}applyToHost(qt){this.applyStyles(),this.setAttribute(qt,this.hostAttr,"")}createElement(qt,yt){const Ze=super.createElement(qt,yt);return super.setAttribute(Ze,this.contentAttr,""),Ze}}let ct=(()=>{class Dt extends S{constructor(yt){super(yt)}supports(yt){return!0}addEventListener(yt,Ze,Rt){return yt.addEventListener(Ze,Rt,!1),()=>this.removeEventListener(yt,Ze,Rt)}removeEventListener(yt,Ze,Rt){return yt.removeEventListener(Ze,Rt)}static#e=this.\u0275fac=function(Ze){return new(Ze||Dt)(n.\u0275\u0275inject(l.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Dt,factory:Dt.\u0275fac})}return Dt})();const xe=["alt","control","meta","shift"],Ie={"\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"},Le={alt:Dt=>Dt.altKey,control:Dt=>Dt.ctrlKey,meta:Dt=>Dt.metaKey,shift:Dt=>Dt.shiftKey};let Ue=(()=>{class Dt extends S{constructor(yt){super(yt)}supports(yt){return null!=Dt.parseEventName(yt)}addEventListener(yt,Ze,Rt){const je=Dt.parseEventName(Ze),pt=Dt.eventCallback(je.fullKey,Rt,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,l.\u0275getDOM)().onAndCancel(yt,je.domEventName,pt))}static parseEventName(yt){const Ze=yt.toLowerCase().split("."),Rt=Ze.shift();if(0===Ze.length||"keydown"!==Rt&&"keyup"!==Rt)return null;const je=Dt._normalizeKey(Ze.pop());let pt="",mt=Ze.indexOf("code");if(mt>-1&&(Ze.splice(mt,1),pt="code."),xe.forEach(Ln=>{const jt=Ze.indexOf(Ln);jt>-1&&(Ze.splice(jt,1),pt+=Ln+".")}),pt+=je,0!=Ze.length||0===je.length)return null;const on={};return on.domEventName=Rt,on.fullKey=pt,on}static matchEventFullKeyCode(yt,Ze){let Rt=Ie[yt.key]||yt.key,je="";return Ze.indexOf("code.")>-1&&(Rt=yt.code,je="code."),!(null==Rt||!Rt)&&(Rt=Rt.toLowerCase()," "===Rt?Rt="space":"."===Rt&&(Rt="dot"),xe.forEach(pt=>{pt!==Rt&&(0,Le[pt])(yt)&&(je+=pt+".")}),je+=Rt,je===Ze)}static eventCallback(yt,Ze,Rt){return je=>{Dt.matchEventFullKeyCode(je,yt)&&Rt.runGuarded(()=>Ze(je))}}static _normalizeKey(yt){return"esc"===yt?"escape":yt}static#e=this.\u0275fac=function(Ze){return new(Ze||Dt)(n.\u0275\u0275inject(l.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Dt,factory:Dt.\u0275fac})}return Dt})();function Xe(Dt,qt){return(0,n.\u0275internalCreateApplication)({rootComponent:Dt,...Fe(qt)})}function _e(Dt){return(0,n.\u0275internalCreateApplication)(Fe(Dt))}function Fe(Dt){return{appProviders:[...dt,...Dt?.providers??[]],platformProviders:Ee}}function Ce(){return[...Tt]}function Ae(){i.makeCurrent()}const Ee=[{provide:n.PLATFORM_ID,useValue:l.\u0275PLATFORM_BROWSER_ID},{provide:n.PLATFORM_INITIALIZER,useValue:Ae,multi:!0},{provide:l.DOCUMENT,useFactory:function re(){return(0,n.\u0275setDocument)(document),document},deps:[]}],et=(0,n.createPlatformFactory)(n.platformCore,"browser",Ee),vt=new n.InjectionToken(""),Tt=[{provide:n.\u0275TESTABILITY_GETTER,useClass:v,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]}],dt=[{provide:n.\u0275INJECTOR_SCOPE,useValue:"root"},{provide:n.ErrorHandler,useFactory:function Be(){return new n.ErrorHandler},deps:[]},{provide:p,useClass:ct,multi:!0,deps:[l.DOCUMENT,n.NgZone,n.PLATFORM_ID]},{provide:p,useClass:Ue,multi:!0,deps:[l.DOCUMENT]},A,f,E,{provide:n.RendererFactory2,useExisting:A},{provide:l.XhrFactory,useClass:M,deps:[]},[]];let ot=(()=>{class Dt{constructor(yt){}static withServerTransition(yt){return{ngModule:Dt,providers:[{provide:n.APP_ID,useValue:yt.appId}]}}static#e=this.\u0275fac=function(Ze){return new(Ze||Dt)(n.\u0275\u0275inject(vt,12))};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Dt});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:[...dt,...Tt],imports:[l.CommonModule,n.ApplicationModule]})}return Dt})(),Vt=(()=>{class Dt{constructor(yt){this._doc=yt,this._dom=(0,l.\u0275getDOM)()}addTag(yt,Ze=!1){return yt?this._getOrCreateElement(yt,Ze):null}addTags(yt,Ze=!1){return yt?yt.reduce((Rt,je)=>(je&&Rt.push(this._getOrCreateElement(je,Ze)),Rt),[]):[]}getTag(yt){return yt&&this._doc.querySelector(`meta[${yt}]`)||null}getTags(yt){if(!yt)return[];const Ze=this._doc.querySelectorAll(`meta[${yt}]`);return Ze?[].slice.call(Ze):[]}updateTag(yt,Ze){if(!yt)return null;Ze=Ze||this._parseSelector(yt);const Rt=this.getTag(Ze);return Rt?this._setMetaElementAttributes(yt,Rt):this._getOrCreateElement(yt,!0)}removeTag(yt){this.removeTagElement(this.getTag(yt))}removeTagElement(yt){yt&&this._dom.remove(yt)}_getOrCreateElement(yt,Ze=!1){if(!Ze){const pt=this._parseSelector(yt),mt=this.getTags(pt).filter(on=>this._containsAttributes(yt,on))[0];if(void 0!==mt)return mt}const Rt=this._dom.createElement("meta");return this._setMetaElementAttributes(yt,Rt),this._doc.getElementsByTagName("head")[0].appendChild(Rt),Rt}_setMetaElementAttributes(yt,Ze){return Object.keys(yt).forEach(Rt=>Ze.setAttribute(this._getMetaKeyMap(Rt),yt[Rt])),Ze}_parseSelector(yt){const Ze=yt.name?"name":"property";return`${Ze}="${yt[Ze]}"`}_containsAttributes(yt,Ze){return Object.keys(yt).every(Rt=>Ze.getAttribute(this._getMetaKeyMap(Rt))===yt[Rt])}_getMetaKeyMap(yt){return nn[yt]||yt}static#e=this.\u0275fac=function(Ze){return new(Ze||Dt)(n.\u0275\u0275inject(l.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Dt,factory:Dt.\u0275fac,providedIn:"root"})}return Dt})();const nn={httpEquiv:"http-equiv"};let vn=(()=>{class Dt{constructor(yt){this._doc=yt}getTitle(){return this._doc.title}setTitle(yt){this._doc.title=yt||""}static#e=this.\u0275fac=function(Ze){return new(Ze||Dt)(n.\u0275\u0275inject(l.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Dt,factory:Dt.\u0275fac,providedIn:"root"})}return Dt})();function zt(Dt,qt){(typeof COMPILED>"u"||!COMPILED)&&((n.\u0275global.ng=n.\u0275global.ng||{})[Dt]=qt)}class Xt{constructor(qt,yt){this.msPerTick=qt,this.numTicks=yt}}class En{constructor(qt){this.appRef=qt.injector.get(n.ApplicationRef)}timeChangeDetection(qt){const yt=qt&&qt.record,Ze="Change Detection";yt&&"profile"in console&&"function"==typeof console.profile&&console.profile(Ze);const Rt=performance.now();let je=0;for(;je<5||performance.now()-Rt<500;)this.appRef.tick(),je++;const pt=performance.now();yt&&"profileEnd"in console&&"function"==typeof console.profileEnd&&console.profileEnd(Ze);const mt=(pt-Rt)/je;return console.log(`ran ${je} change detection cycles`),console.log(`${mt.toFixed(2)} ms per check`),new Xt(mt,je)}}const $n="profiler";function Wt(Dt){return zt($n,new En(Dt)),Dt}function zn(){zt($n,null)}class kn{static all(){return()=>!0}static css(qt){return yt=>null!=yt.nativeElement&&function ln(Dt,qt){return!!(0,l.\u0275getDOM)().isElementNode(Dt)&&(Dt.matches&&Dt.matches(qt)||Dt.msMatchesSelector&&Dt.msMatchesSelector(qt)||Dt.webkitMatchesSelector&&Dt.webkitMatchesSelector(qt))}(yt.nativeElement,qt)}static directive(qt){return yt=>-1!==yt.providerTokens.indexOf(qt)}}const ut={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},Te=new n.InjectionToken("HammerGestureConfig"),me=new n.InjectionToken("HammerLoader");let fe=(()=>{class Dt{constructor(){this.events=[],this.overrides={}}buildHammer(yt){const Ze=new Hammer(yt,this.options);Ze.get("pinch").set({enable:!0}),Ze.get("rotate").set({enable:!0});for(const Rt in this.overrides)Ze.get(Rt).set(this.overrides[Rt]);return Ze}static#e=this.\u0275fac=function(Ze){return new(Ze||Dt)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Dt,factory:Dt.\u0275fac})}return Dt})(),$e=(()=>{class Dt extends S{constructor(yt,Ze,Rt,je){super(yt),this._config=Ze,this.console=Rt,this.loader=je,this._loaderPromise=null}supports(yt){return!(!ut.hasOwnProperty(yt.toLowerCase())&&!this.isCustomEvent(yt)||!window.Hammer&&!this.loader)}addEventListener(yt,Ze,Rt){const je=this.manager.getZone();if(Ze=Ze.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||je.runOutsideAngular(()=>this.loader());let pt=!1,mt=()=>{pt=!0};return je.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?pt||(mt=this.addEventListener(yt,Ze,Rt)):mt=()=>{}}).catch(()=>{mt=()=>{}})),()=>{mt()}}return je.runOutsideAngular(()=>{const pt=this._config.buildHammer(yt),mt=function(on){je.runGuarded(function(){Rt(on)})};return pt.on(Ze,mt),()=>{pt.off(Ze,mt),"function"==typeof pt.destroy&&pt.destroy()}})}isCustomEvent(yt){return this._config.events.indexOf(yt)>-1}static#e=this.\u0275fac=function(Ze){return new(Ze||Dt)(n.\u0275\u0275inject(l.DOCUMENT),n.\u0275\u0275inject(Te),n.\u0275\u0275inject(n.\u0275Console),n.\u0275\u0275inject(me,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Dt,factory:Dt.\u0275fac})}return Dt})(),Ye=(()=>{class Dt{static#e=this.\u0275fac=function(Ze){return new(Ze||Dt)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Dt});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:p,useClass:$e,multi:!0,deps:[l.DOCUMENT,Te,n.\u0275Console,[new n.Optional,me]]},{provide:Te,useClass:fe,deps:[]}]})}return Dt})(),ft=(()=>{class Dt{static#e=this.\u0275fac=function(Ze){return new(Ze||Dt)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Dt,factory:function(Ze){let Rt=null;return Rt=Ze?new(Ze||Dt):n.\u0275\u0275inject($t),Rt},providedIn:"root"})}return Dt})(),$t=(()=>{class Dt extends ft{constructor(yt){super(),this._doc=yt}sanitize(yt,Ze){if(null==Ze)return null;switch(yt){case n.SecurityContext.NONE:return Ze;case n.SecurityContext.HTML:return(0,n.\u0275allowSanitizationBypassAndThrow)(Ze,"HTML")?(0,n.\u0275unwrapSafeValue)(Ze):(0,n.\u0275_sanitizeHtml)(this._doc,String(Ze)).toString();case n.SecurityContext.STYLE:return(0,n.\u0275allowSanitizationBypassAndThrow)(Ze,"Style")?(0,n.\u0275unwrapSafeValue)(Ze):Ze;case n.SecurityContext.SCRIPT:if((0,n.\u0275allowSanitizationBypassAndThrow)(Ze,"Script"))return(0,n.\u0275unwrapSafeValue)(Ze);throw new n.\u0275RuntimeError(5200,!1);case n.SecurityContext.URL:return(0,n.\u0275allowSanitizationBypassAndThrow)(Ze,"URL")?(0,n.\u0275unwrapSafeValue)(Ze):(0,n.\u0275_sanitizeUrl)(String(Ze));case n.SecurityContext.RESOURCE_URL:if((0,n.\u0275allowSanitizationBypassAndThrow)(Ze,"ResourceURL"))return(0,n.\u0275unwrapSafeValue)(Ze);throw new n.\u0275RuntimeError(5201,!1);default:throw new n.\u0275RuntimeError(5202,!1)}}bypassSecurityTrustHtml(yt){return(0,n.\u0275bypassSanitizationTrustHtml)(yt)}bypassSecurityTrustStyle(yt){return(0,n.\u0275bypassSanitizationTrustStyle)(yt)}bypassSecurityTrustScript(yt){return(0,n.\u0275bypassSanitizationTrustScript)(yt)}bypassSecurityTrustUrl(yt){return(0,n.\u0275bypassSanitizationTrustUrl)(yt)}bypassSecurityTrustResourceUrl(yt){return(0,n.\u0275bypassSanitizationTrustResourceUrl)(yt)}static#e=this.\u0275fac=function(Ze){return new(Ze||Dt)(n.\u0275\u0275inject(l.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Dt,factory:Dt.\u0275fac,providedIn:"root"})}return Dt})();var un=function(Dt){return Dt[Dt.NoHttpTransferCache=0]="NoHttpTransferCache",Dt[Dt.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",Dt}(un||{});function Vn(Dt,qt=[],yt={}){return{\u0275kind:Dt,\u0275providers:qt}}function tr(){return Vn(un.NoHttpTransferCache)}function br(Dt){return Vn(un.HttpTransferCacheOptions,(0,u.\u0275withHttpTransferCache)(Dt))}function fi(...Dt){const qt=[],yt=new Set,Ze=yt.has(un.HttpTransferCacheOptions);for(const{\u0275providers:Rt,\u0275kind:je}of Dt)yt.add(je),Rt.length&&qt.push(Rt);return(0,n.makeEnvironmentProviders)([[],(0,n.\u0275withDomHydration)(),yt.has(un.NoHttpTransferCache)||Ze?[]:(0,u.\u0275withHttpTransferCache)({}),qt])}const Cr=new n.Version("17.2.3"),jr=n.makeStateKey,Hn=n.TransferState},53076:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{ActivatedRoute:()=>qr,ActivatedRouteSnapshot:()=>ni,ActivationEnd:()=>Un,ActivationStart:()=>In,BaseRouteReuseStrategy:()=>Cn,ChildActivationEnd:()=>hn,ChildActivationStart:()=>bn,ChildrenOutletContexts:()=>co,DefaultTitleStrategy:()=>xt,DefaultUrlSerializer:()=>or,EventType:()=>Er,GuardsCheckEnd:()=>St,GuardsCheckStart:()=>ht,NavigationCancel:()=>he,NavigationCancellationCode:()=>Q,NavigationEnd:()=>F,NavigationError:()=>de,NavigationSkipped:()=>q,NavigationSkippedCode:()=>Se,NavigationStart:()=>x,NoPreloading:()=>Ss,OutletContext:()=>it,PRIMARY_OUTLET:()=>vt,PreloadAllModules:()=>Xl,PreloadingStrategy:()=>Ms,ROUTER_CONFIGURATION:()=>Nt,ROUTER_INITIALIZER:()=>Gs,ROUTES:()=>Kt,ResolveEnd:()=>en,ResolveStart:()=>Ft,RouteConfigLoadEnd:()=>_n,RouteConfigLoadStart:()=>gn,RouteReuseStrategy:()=>Jt,Router:()=>Yi,RouterEvent:()=>cn,RouterLink:()=>ss,RouterLinkActive:()=>ls,RouterLinkWithHref:()=>ss,RouterModule:()=>Is,RouterOutlet:()=>ro,RouterPreloader:()=>La,RouterState:()=>Bn,RouterStateSnapshot:()=>ji,RoutesRecognized:()=>qe,Scroll:()=>_r,TitleStrategy:()=>wt,UrlHandlingStrategy:()=>se,UrlSegment:()=>$t,UrlSegmentGroup:()=>ft,UrlSerializer:()=>br,UrlTree:()=>Ye,VERSION:()=>_i,convertToParamMap:()=>ot,createUrlTreeFromSnapshot:()=>Nr,defaultUrlMatcher:()=>Vt,mapToCanActivate:()=>Gn,mapToCanActivateChild:()=>nc,mapToCanDeactivate:()=>ga,mapToCanMatch:()=>As,mapToResolve:()=>ds,provideRouter:()=>Es,provideRoutes:()=>ql,withComponentInputBinding:()=>Ts,withDebugTracing:()=>ea,withDisabledInitialNavigation:()=>gu,withEnabledBlockingInitialNavigation:()=>ll,withHashLocation:()=>tc,withInMemoryScrolling:()=>Ws,withNavigationErrorHandler:()=>pu,withPreloading:()=>Ja,withRouterConfig:()=>Ud,withViewTransitions:()=>us,\u0275EmptyOutletComponent:()=>uo,\u0275ROUTER_PROVIDERS:()=>ul,\u0275afterNextNavigation:()=>ho,\u0275loadChildren:()=>Wn});var n=s(54496),l=s(53252),u=s(38880),i=s(74496),e=s(82700),o=s(46700),h=s(56040),v=s(37696),M=s(7400),p=s(528);function E(W=1/0){return(0,M.O)(p.Z,W)}var y=s(59472);function f(...W){return function S(){return E(1)}()((0,i.Q)(W,(0,y.e_)(W)))}var C=s(50560);function _(W){return new l._(ae=>{(0,C.Uv)(W()).subscribe(ae)})}var w=s(83928);function D(W,ae){const Z=(0,u.m)(W)?W:()=>W,oe=Ne=>Ne.error(Z());return new l._(ae?Ne=>ae.schedule(oe,0,Ne):oe)}var L=s(28960),N=s(46928),V=s(95448),G=s(87773);function R(){return(0,V.i)((W,ae)=>{let Z=null;W._refCount++;const oe=(0,G.e)(ae,void 0,void 0,void 0,()=>{if(!W||W._refCount<=0||0<--W._refCount)return void(Z=null);const Ne=W._connection,st=Z;Z=null,Ne&&(!st||Ne===st)&&Ne.unsubscribe(),ae.unsubscribe()});W.subscribe(oe),oe.closed||(Z=W.connect())})}class k extends l._{constructor(ae,Z){super(),this.source=ae,this.subjectFactory=Z,this._subject=null,this._refCount=0,this._connection=null,(0,V.e)(ae)&&(this.lift=ae.lift)}_subscribe(ae){return this.getSubject().subscribe(ae)}getSubject(){const ae=this._subject;return(!ae||ae.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:ae}=this;this._subject=this._connection=null,ae?.unsubscribe()}connect(){let ae=this._connection;if(!ae){ae=this._connection=new N.wH;const Z=this.getSubject();ae.add(this.source.subscribe((0,G.e)(Z,void 0,()=>{this._teardown(),Z.complete()},oe=>{this._teardown(),Z.error(oe)},()=>this._teardown()))),ae.closed&&(this._connection=null,ae=N.wH.EMPTY)}return ae}refCount(){return R()(this)}}var A=s(95657),H=s(91368),K=s(54704),ie=s(17368),X=s(3992),ce=s(66684),ze=s(75084),ct=s(26020),xe=s(19212),Ie=s(39144);var Xe=s(22156);function _e(W){return W<=0?()=>L.k:(0,V.i)((ae,Z)=>{let oe=[];ae.subscribe((0,G.e)(Z,Ne=>{oe.push(Ne),W{for(const Ne of oe)Z.next(Ne);Z.complete()},void 0,()=>{oe=null}))})}var Fe=s(98124),Be=s(68824),re=s(20308),et=s(14476);const vt="primary",Tt=Symbol("RouteTitle");class dt{constructor(ae){this.params=ae||{}}has(ae){return Object.prototype.hasOwnProperty.call(this.params,ae)}get(ae){if(this.has(ae)){const Z=this.params[ae];return Array.isArray(Z)?Z[0]:Z}return null}getAll(ae){if(this.has(ae)){const Z=this.params[ae];return Array.isArray(Z)?Z:[Z]}return[]}get keys(){return Object.keys(this.params)}}function ot(W){return new dt(W)}function Vt(W,ae,Z){const oe=Z.path.split("/");if(oe.length>W.length||"full"===Z.pathMatch&&(ae.hasChildren()||oe.lengthoe[st]===Ne)}return W===ae}function En(W){return W.length>0?W[W.length-1]:null}function $n(W){return function c(W){return!!W&&(W instanceof l._||(0,u.m)(W.lift)&&(0,u.m)(W.subscribe))}(W)?W:(0,n.\u0275isPromise)(W)?(0,i.Q)(Promise.resolve(W)):(0,e.of)(W)}const Wt={exact:function ut(W,ae,Z){if(!Vn(W.segments,ae.segments)||!$e(W.segments,ae.segments,Z)||W.numberOfChildren!==ae.numberOfChildren)return!1;for(const oe in ae.children)if(!W.children[oe]||!ut(W.children[oe],ae.children[oe],Z))return!1;return!0},subset:me},zn={exact:function ln(W,ae){return vn(W,ae)},subset:function Te(W,ae){return Object.keys(ae).length<=Object.keys(W).length&&Object.keys(ae).every(Z=>Xt(W[Z],ae[Z]))},ignored:()=>!0};function kn(W,ae,Z){return Wt[Z.paths](W.root,ae.root,Z.matrixParams)&&zn[Z.queryParams](W.queryParams,ae.queryParams)&&!("exact"===Z.fragment&&W.fragment!==ae.fragment)}function me(W,ae,Z){return fe(W,ae,ae.segments,Z)}function fe(W,ae,Z,oe){if(W.segments.length>Z.length){const Ne=W.segments.slice(0,Z.length);return!(!Vn(Ne,Z)||ae.hasChildren()||!$e(Ne,Z,oe))}if(W.segments.length===Z.length){if(!Vn(W.segments,Z)||!$e(W.segments,Z,oe))return!1;for(const Ne in ae.children)if(!W.children[Ne]||!me(W.children[Ne],ae.children[Ne],oe))return!1;return!0}{const Ne=Z.slice(0,W.segments.length),st=Z.slice(W.segments.length);return!!(Vn(W.segments,Ne)&&$e(W.segments,Ne,oe)&&W.children[vt])&&fe(W.children[vt],ae,st,oe)}}function $e(W,ae,Z){return ae.every((oe,Ne)=>zn[Z](W[Ne].parameters,oe.parameters))}class Ye{constructor(ae=new ft([],{}),Z={},oe=null){this.root=ae,this.queryParams=Z,this.fragment=oe}get queryParamMap(){return this._queryParamMap??=ot(this.queryParams),this._queryParamMap}toString(){return fi.serialize(this)}}class ft{constructor(ae,Z){this.segments=ae,this.children=Z,this.parent=null,Object.values(Z).forEach(oe=>oe.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Cr(this)}}class $t{constructor(ae,Z){this.path=ae,this.parameters=Z}get parameterMap(){return this._parameterMap??=ot(this.parameters),this._parameterMap}toString(){return je(this)}}function Vn(W,ae){return W.length===ae.length&&W.every((Z,oe)=>Z.path===ae[oe].path)}let br=(()=>{class W{static#e=this.\u0275fac=function(oe){return new(oe||W)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:W,factory:()=>new or,providedIn:"root"})}return W})();class or{parse(ae){const Z=new ar(ae);return new Ye(Z.parseRootSegment(),Z.parseQueryParams(),Z.parseFragment())}serialize(ae){const Z=`/${jr(ae.root,!0)}`,oe=function mt(W){const ae=Object.entries(W).map(([Z,oe])=>Array.isArray(oe)?oe.map(Ne=>`${Dt(Z)}=${Dt(Ne)}`).join("&"):`${Dt(Z)}=${Dt(oe)}`).filter(Z=>Z);return ae.length?`?${ae.join("&")}`:""}(ae.queryParams);return`${Z}${oe}${"string"==typeof ae.fragment?`#${function qt(W){return encodeURI(W)}(ae.fragment)}`:""}`}}const fi=new or;function Cr(W){return W.segments.map(ae=>je(ae)).join("/")}function jr(W,ae){if(!W.hasChildren())return Cr(W);if(ae){const Z=W.children[vt]?jr(W.children[vt],!1):"",oe=[];return Object.entries(W.children).forEach(([Ne,st])=>{Ne!==vt&&oe.push(`${Ne}:${jr(st,!1)}`)}),oe.length>0?`${Z}(${oe.join("//")})`:Z}{const Z=function tr(W,ae){let Z=[];return Object.entries(W.children).forEach(([oe,Ne])=>{oe===vt&&(Z=Z.concat(ae(Ne,oe)))}),Object.entries(W.children).forEach(([oe,Ne])=>{oe!==vt&&(Z=Z.concat(ae(Ne,oe)))}),Z}(W,(oe,Ne)=>Ne===vt?[jr(W.children[vt],!1)]:[`${Ne}:${jr(oe,!1)}`]);return 1===Object.keys(W.children).length&&null!=W.children[vt]?`${Cr(W)}/${Z[0]}`:`${Cr(W)}/(${Z.join("//")})`}}function Hn(W){return encodeURIComponent(W).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function Dt(W){return Hn(W).replace(/%3B/gi,";")}function yt(W){return Hn(W).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function Ze(W){return decodeURIComponent(W)}function Rt(W){return Ze(W.replace(/\+/g,"%20"))}function je(W){return`${yt(W.path)}${function pt(W){return Object.entries(W).map(([ae,Z])=>`;${yt(ae)}=${yt(Z)}`).join("")}(W.parameters)}`}const on=/^[^\/()?;#]+/;function Ln(W){const ae=W.match(on);return ae?ae[0]:""}const jt=/^[^\/()?;=#]+/,Pe=/^[^=?&#]+/,At=/^[^&#]+/;class ar{constructor(ae){this.url=ae,this.remaining=ae}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new ft([],{}):new ft([],this.parseChildren())}parseQueryParams(){const ae={};if(this.consumeOptional("?"))do{this.parseQueryParam(ae)}while(this.consumeOptional("&"));return ae}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const ae=[];for(this.peekStartsWith("(")||ae.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),ae.push(this.parseSegment());let Z={};this.peekStartsWith("/(")&&(this.capture("/"),Z=this.parseParens(!0));let oe={};return this.peekStartsWith("(")&&(oe=this.parseParens(!1)),(ae.length>0||Object.keys(Z).length>0)&&(oe[vt]=new ft(ae,Z)),oe}parseSegment(){const ae=Ln(this.remaining);if(""===ae&&this.peekStartsWith(";"))throw new n.\u0275RuntimeError(4009,!1);return this.capture(ae),new $t(Ze(ae),this.parseMatrixParams())}parseMatrixParams(){const ae={};for(;this.consumeOptional(";");)this.parseParam(ae);return ae}parseParam(ae){const Z=function Mn(W){const ae=W.match(jt);return ae?ae[0]:""}(this.remaining);if(!Z)return;this.capture(Z);let oe="";if(this.consumeOptional("=")){const Ne=Ln(this.remaining);Ne&&(oe=Ne,this.capture(oe))}ae[Ze(Z)]=Ze(oe)}parseQueryParam(ae){const Z=function gt(W){const ae=W.match(Pe);return ae?ae[0]:""}(this.remaining);if(!Z)return;this.capture(Z);let oe="";if(this.consumeOptional("=")){const Pt=function Ut(W){const ae=W.match(At);return ae?ae[0]:""}(this.remaining);Pt&&(oe=Pt,this.capture(oe))}const Ne=Rt(Z),st=Rt(oe);if(ae.hasOwnProperty(Ne)){let Pt=ae[Ne];Array.isArray(Pt)||(Pt=[Pt],ae[Ne]=Pt),Pt.push(st)}else ae[Ne]=st}parseParens(ae){const Z={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const oe=Ln(this.remaining),Ne=this.remaining[oe.length];if("/"!==Ne&&")"!==Ne&&";"!==Ne)throw new n.\u0275RuntimeError(4010,!1);let st;oe.indexOf(":")>-1?(st=oe.slice(0,oe.indexOf(":")),this.capture(st),this.capture(":")):ae&&(st=vt);const Pt=this.parseChildren();Z[st]=1===Object.keys(Pt).length?Pt[vt]:new ft([],Pt),this.consumeOptional("//")}return Z}peekStartsWith(ae){return this.remaining.startsWith(ae)}consumeOptional(ae){return!!this.peekStartsWith(ae)&&(this.remaining=this.remaining.substring(ae.length),!0)}capture(ae){if(!this.consumeOptional(ae))throw new n.\u0275RuntimeError(4011,!1)}}function ur(W){return W.segments.length>0?new ft([],{[vt]:W}):W}function Tr(W){const ae={};for(const[oe,Ne]of Object.entries(W.children)){const st=Tr(Ne);if(oe===vt&&0===st.segments.length&&st.hasChildren())for(const[Pt,fn]of Object.entries(st.children))ae[Pt]=fn;else(st.segments.length>0||st.hasChildren())&&(ae[oe]=st)}return function lr(W){if(1===W.numberOfChildren&&W.children[vt]){const ae=W.children[vt];return new ft(W.segments.concat(ae.segments),ae.children)}return W}(new ft(W.segments,ae))}function nr(W){return W instanceof Ye}function Nr(W,ae,Z=null,oe=null){return tn(Ci(W),ae,Z,oe)}function Ci(W){let ae;const Ne=ur(function Z(st){const Pt={};for(const rn of st.children){const cr=Z(rn);Pt[rn.outlet]=cr}const fn=new ft(st.url,Pt);return st===W&&(ae=fn),fn}(W.root));return ae??Ne}function tn(W,ae,Z,oe){let Ne=W;for(;Ne.parent;)Ne=Ne.parent;if(0===ae.length)return dr(Ne,Ne,Ne,Z,oe);const st=function rt(W){if("string"==typeof W[0]&&1===W.length&&"/"===W[0])return new Fr(!0,0,W);let ae=0,Z=!1;const oe=W.reduce((Ne,st,Pt)=>{if("object"==typeof st&&null!=st){if(st.outlets){const fn={};return Object.entries(st.outlets).forEach(([rn,cr])=>{fn[rn]="string"==typeof cr?cr.split("/"):cr}),[...Ne,{outlets:fn}]}if(st.segmentPath)return[...Ne,st.segmentPath]}return"string"!=typeof st?[...Ne,st]:0===Pt?(st.split("/").forEach((fn,rn)=>{0==rn&&"."===fn||(0==rn&&""===fn?Z=!0:".."===fn?ae++:""!=fn&&Ne.push(fn))}),Ne):[...Ne,st]},[]);return new Fr(Z,ae,oe)}(ae);if(st.toRoot())return dr(Ne,Ne,new ft([],{}),Z,oe);const Pt=function Et(W,ae,Z){if(W.isAbsolute)return new kt(ae,!0,0);if(!Z)return new kt(ae,!1,NaN);if(null===Z.parent)return new kt(Z,!0,0);const oe=jn(W.commands[0])?0:1;return function an(W,ae,Z){let oe=W,Ne=ae,st=Z;for(;st>Ne;){if(st-=Ne,oe=oe.parent,!oe)throw new n.\u0275RuntimeError(4005,!1);Ne=oe.segments.length}return new kt(oe,!1,Ne-st)}(Z,Z.segments.length-1+oe,W.numberOfDoubleDots)}(st,Ne,W),fn=Pt.processChildren?Dn(Pt.segmentGroup,Pt.index,st.commands):wn(Pt.segmentGroup,Pt.index,st.commands);return dr(Ne,Pt.segmentGroup,fn,Z,oe)}function jn(W){return"object"==typeof W&&null!=W&&!W.outlets&&!W.segmentPath}function qn(W){return"object"==typeof W&&null!=W&&W.outlets}function dr(W,ae,Z,oe,Ne){let Pt,st={};oe&&Object.entries(oe).forEach(([rn,cr])=>{st[rn]=Array.isArray(cr)?cr.map(Jr=>`${Jr}`):`${cr}`}),Pt=W===ae?Z:ii(W,ae,Z);const fn=ur(Tr(Pt));return new Ye(fn,st,Ne)}function ii(W,ae,Z){const oe={};return Object.entries(W.children).forEach(([Ne,st])=>{oe[Ne]=st===ae?Z:ii(st,ae,Z)}),new ft(W.segments,oe)}class Fr{constructor(ae,Z,oe){if(this.isAbsolute=ae,this.numberOfDoubleDots=Z,this.commands=oe,ae&&oe.length>0&&jn(oe[0]))throw new n.\u0275RuntimeError(4003,!1);const Ne=oe.find(qn);if(Ne&&Ne!==En(oe))throw new n.\u0275RuntimeError(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class kt{constructor(ae,Z,oe){this.segmentGroup=ae,this.processChildren=Z,this.index=oe}}function wn(W,ae,Z){if(W??=new ft([],{}),0===W.segments.length&&W.hasChildren())return Dn(W,ae,Z);const oe=function sr(W,ae,Z){let oe=0,Ne=ae;const st={match:!1,pathIndex:0,commandIndex:0};for(;Ne=Z.length)return st;const Pt=W.segments[Ne],fn=Z[oe];if(qn(fn))break;const rn=`${fn}`,cr=oe0&&void 0===rn)break;if(rn&&cr&&"object"==typeof cr&&void 0===cr.outlets){if(!Vr(rn,cr,Pt))return st;oe+=2}else{if(!Vr(rn,{},Pt))return st;oe++}Ne++}return{match:!0,pathIndex:Ne,commandIndex:oe}}(W,ae,Z),Ne=Z.slice(oe.commandIndex);if(oe.match&&oe.pathIndexst!==vt)&&W.children[vt]&&1===W.numberOfChildren&&0===W.children[vt].segments.length){const st=Dn(W.children[vt],ae,Z);return new ft(W.segments,st.children)}return Object.entries(oe).forEach(([st,Pt])=>{"string"==typeof Pt&&(Pt=[Pt]),null!==Pt&&(Ne[st]=wn(W.children[st],ae,Pt))}),Object.entries(W.children).forEach(([st,Pt])=>{void 0===oe[st]&&(Ne[st]=Pt)}),new ft(W.segments,Ne)}}function Xn(W,ae,Z){const oe=W.segments.slice(0,ae);let Ne=0;for(;Ne{"string"==typeof oe&&(oe=[oe]),null!==oe&&(ae[Z]=Xn(new ft([],{}),0,oe))}),ae}function Or(W){const ae={};return Object.entries(W).forEach(([Z,oe])=>ae[Z]=`${oe}`),ae}function Vr(W,ae,Z){return W==Z.path&&vn(ae,Z.parameters)}const Ir="imperative";var Er=function(W){return W[W.NavigationStart=0]="NavigationStart",W[W.NavigationEnd=1]="NavigationEnd",W[W.NavigationCancel=2]="NavigationCancel",W[W.NavigationError=3]="NavigationError",W[W.RoutesRecognized=4]="RoutesRecognized",W[W.ResolveStart=5]="ResolveStart",W[W.ResolveEnd=6]="ResolveEnd",W[W.GuardsCheckStart=7]="GuardsCheckStart",W[W.GuardsCheckEnd=8]="GuardsCheckEnd",W[W.RouteConfigLoadStart=9]="RouteConfigLoadStart",W[W.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",W[W.ChildActivationStart=11]="ChildActivationStart",W[W.ChildActivationEnd=12]="ChildActivationEnd",W[W.ActivationStart=13]="ActivationStart",W[W.ActivationEnd=14]="ActivationEnd",W[W.Scroll=15]="Scroll",W[W.NavigationSkipped=16]="NavigationSkipped",W}(Er||{});class cn{constructor(ae,Z){this.id=ae,this.url=Z}}class x extends cn{constructor(ae,Z,oe="imperative",Ne=null){super(ae,Z),this.type=Er.NavigationStart,this.navigationTrigger=oe,this.restoredState=Ne}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class F extends cn{constructor(ae,Z,oe){super(ae,Z),this.urlAfterRedirects=oe,this.type=Er.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var Q=function(W){return W[W.Redirect=0]="Redirect",W[W.SupersededByNewNavigation=1]="SupersededByNewNavigation",W[W.NoDataFromResolver=2]="NoDataFromResolver",W[W.GuardRejected=3]="GuardRejected",W}(Q||{}),Se=function(W){return W[W.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",W[W.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",W}(Se||{});class he extends cn{constructor(ae,Z,oe,Ne){super(ae,Z),this.reason=oe,this.code=Ne,this.type=Er.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class q extends cn{constructor(ae,Z,oe,Ne){super(ae,Z),this.reason=oe,this.code=Ne,this.type=Er.NavigationSkipped}}class de extends cn{constructor(ae,Z,oe,Ne){super(ae,Z),this.error=oe,this.target=Ne,this.type=Er.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class qe extends cn{constructor(ae,Z,oe,Ne){super(ae,Z),this.urlAfterRedirects=oe,this.state=Ne,this.type=Er.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class ht extends cn{constructor(ae,Z,oe,Ne){super(ae,Z),this.urlAfterRedirects=oe,this.state=Ne,this.type=Er.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class St extends cn{constructor(ae,Z,oe,Ne,st){super(ae,Z),this.urlAfterRedirects=oe,this.state=Ne,this.shouldActivate=st,this.type=Er.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Ft extends cn{constructor(ae,Z,oe,Ne){super(ae,Z),this.urlAfterRedirects=oe,this.state=Ne,this.type=Er.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class en extends cn{constructor(ae,Z,oe,Ne){super(ae,Z),this.urlAfterRedirects=oe,this.state=Ne,this.type=Er.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class gn{constructor(ae){this.route=ae,this.type=Er.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class _n{constructor(ae){this.route=ae,this.type=Er.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class bn{constructor(ae){this.snapshot=ae,this.type=Er.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class hn{constructor(ae){this.snapshot=ae,this.type=Er.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class In{constructor(ae){this.snapshot=ae,this.type=Er.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Un{constructor(ae){this.snapshot=ae,this.type=Er.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class _r{constructor(ae,Z,oe){this.routerEvent=ae,this.position=Z,this.anchor=oe,this.type=Er.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class hr{}class Lr{constructor(ae){this.url=ae}}class it{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new co,this.attachRef=null}}let co=(()=>{class W{constructor(){this.contexts=new Map}onChildOutletCreated(Z,oe){const Ne=this.getOrCreateContext(Z);Ne.outlet=oe,this.contexts.set(Z,Ne)}onChildOutletDestroyed(Z){const oe=this.getContext(Z);oe&&(oe.outlet=null,oe.attachRef=null)}onOutletDeactivated(){const Z=this.contexts;return this.contexts=new Map,Z}onOutletReAttached(Z){this.contexts=Z}getOrCreateContext(Z){let oe=this.getContext(Z);return oe||(oe=new it,this.contexts.set(Z,oe)),oe}getContext(Z){return this.contexts.get(Z)||null}static#e=this.\u0275fac=function(oe){return new(oe||W)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();class Ri{constructor(ae){this._root=ae}get root(){return this._root.value}parent(ae){const Z=this.pathFromRoot(ae);return Z.length>1?Z[Z.length-2]:null}children(ae){const Z=Ur(ae,this._root);return Z?Z.children.map(oe=>oe.value):[]}firstChild(ae){const Z=Ur(ae,this._root);return Z&&Z.children.length>0?Z.children[0].value:null}siblings(ae){const Z=xn(ae,this._root);return Z.length<2?[]:Z[Z.length-2].children.map(Ne=>Ne.value).filter(Ne=>Ne!==ae)}pathFromRoot(ae){return xn(ae,this._root).map(Z=>Z.value)}}function Ur(W,ae){if(W===ae.value)return ae;for(const Z of ae.children){const oe=Ur(W,Z);if(oe)return oe}return null}function xn(W,ae){if(W===ae.value)return[ae];for(const Z of ae.children){const oe=xn(W,Z);if(oe.length)return oe.unshift(ae),oe}return[]}class Jn{constructor(ae,Z){this.value=ae,this.children=Z}toString(){return`TreeNode(${this.value})`}}function Gr(W){const ae={};return W&&W.children.forEach(Z=>ae[Z.value.outlet]=Z),ae}class Bn extends Ri{constructor(ae,Z){super(ae),this.snapshot=Z,yr(this,ae)}toString(){return this.snapshot.toString()}}function pi(W){const ae=function Zi(W){const st=new ni([],{},{},"",{},vt,W,null,{});return new ji("",new Jn(st,[]))}(W),Z=new o.g([new $t("",{})]),oe=new o.g({}),Ne=new o.g({}),st=new o.g({}),Pt=new o.g(""),fn=new qr(Z,oe,st,Pt,Ne,vt,W,ae.root);return fn.snapshot=ae.root,new Bn(new Jn(fn,[]),ae)}class qr{constructor(ae,Z,oe,Ne,st,Pt,fn,rn){this.urlSubject=ae,this.paramsSubject=Z,this.queryParamsSubject=oe,this.fragmentSubject=Ne,this.dataSubject=st,this.outlet=Pt,this.component=fn,this._futureSnapshot=rn,this.title=this.dataSubject?.pipe((0,K.k)(cr=>cr[Tt]))??(0,e.of)(void 0),this.url=ae,this.params=Z,this.queryParams=oe,this.fragment=Ne,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,K.k)(ae=>ot(ae))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,K.k)(ae=>ot(ae))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function oi(W,ae,Z="emptyOnly"){let oe;const{routeConfig:Ne}=W;return oe=null===ae||"always"!==Z&&""!==Ne?.path&&(ae.component||ae.routeConfig?.loadComponent)?{params:{...W.params},data:{...W.data},resolve:{...W.data,...W._resolvedData??{}}}:{params:{...ae.params,...W.params},data:{...ae.data,...W.data},resolve:{...W.data,...ae.data,...Ne?.data,...W._resolvedData}},Ne&&ri(Ne)&&(oe.resolve[Tt]=Ne.title),oe}class ni{get title(){return this.data?.[Tt]}constructor(ae,Z,oe,Ne,st,Pt,fn,rn,cr){this.url=ae,this.params=Z,this.queryParams=oe,this.fragment=Ne,this.data=st,this.outlet=Pt,this.component=fn,this.routeConfig=rn,this._resolve=cr}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??=ot(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=ot(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(oe=>oe.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class ji extends Ri{constructor(ae,Z){super(Z),this.url=ae,yr(this,Z)}toString(){return Ji(this._root)}}function yr(W,ae){ae.value._routerState=W,ae.children.forEach(Z=>yr(W,Z))}function Ji(W){const ae=W.children.length>0?` { ${W.children.map(Ji).join(", ")} } `:"";return`${W.value}${ae}`}function Do(W){if(W.snapshot){const ae=W.snapshot,Z=W._futureSnapshot;W.snapshot=Z,vn(ae.queryParams,Z.queryParams)||W.queryParamsSubject.next(Z.queryParams),ae.fragment!==Z.fragment&&W.fragmentSubject.next(Z.fragment),vn(ae.params,Z.params)||W.paramsSubject.next(Z.params),function nn(W,ae){if(W.length!==ae.length)return!1;for(let Z=0;Zvn(Z.parameters,ae[oe].parameters))}(W.url,ae.url);return Z&&!(!W.parent!=!ae.parent)&&(!W.parent||vo(W.parent,ae.parent))}function ri(W){return"string"==typeof W.title||null===W.title}let ro=(()=>{class W{constructor(){this.activated=null,this._activatedRoute=null,this.name=vt,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)(co),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)(oo,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(Z){if(Z.name){const{firstChange:oe,previousValue:Ne}=Z.name;if(oe)return;this.isTrackedInParentContexts(Ne)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(Ne)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(Z){return this.parentContexts.getContext(Z)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const Z=this.parentContexts.getContext(this.name);Z?.route&&(Z.attachRef?this.attach(Z.attachRef,Z.route):this.activateWith(Z.route,Z.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 Z=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(Z.instance),Z}attach(Z,oe){this.activated=Z,this._activatedRoute=oe,this.location.insert(Z.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(Z.instance)}deactivate(){if(this.activated){const Z=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(Z)}}activateWith(Z,oe){if(this.isActivated)throw new n.\u0275RuntimeError(4013,!1);this._activatedRoute=Z;const Ne=this.location,Pt=Z.snapshot.component,fn=this.parentContexts.getOrCreateContext(this.name).children,rn=new Rr(Z,fn,Ne.injector);this.activated=Ne.createComponent(Pt,{index:Ne.length,injector:rn,environmentInjector:oe??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(oe){return new(oe||W)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:W,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return W})();class Rr{constructor(ae,Z,oe){this.route=ae,this.childContexts=Z,this.parent=oe}get(ae,Z){return ae===qr?this.route:ae===co?this.childContexts:this.parent.get(ae,Z)}}const oo=new n.InjectionToken("");let Pn=(()=>{class W{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(Z){this.unsubscribeFromRouteData(Z),this.subscribeToRouteData(Z)}unsubscribeFromRouteData(Z){this.outletDataSubscriptions.get(Z)?.unsubscribe(),this.outletDataSubscriptions.delete(Z)}subscribeToRouteData(Z){const{activatedRoute:oe}=Z,Ne=(0,h.E)([oe.queryParams,oe.params,oe.data]).pipe((0,ie.G)(([st,Pt,fn],rn)=>(fn={...st,...Pt,...fn},0===rn?(0,e.of)(fn):Promise.resolve(fn)))).subscribe(st=>{if(!Z.isActivated||!Z.activatedComponentRef||Z.activatedRoute!==oe||null===oe.component)return void this.unsubscribeFromRouteData(Z);const Pt=(0,n.reflectComponentType)(oe.component);if(Pt)for(const{templateName:fn}of Pt.inputs)Z.activatedComponentRef.setInput(fn,st[fn]);else this.unsubscribeFromRouteData(Z)});this.outletDataSubscriptions.set(Z,Ne)}static#e=this.\u0275fac=function(oe){return new(oe||W)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac})}return W})();function gi(W,ae,Z){if(Z&&W.shouldReuseRoute(ae.value,Z.value.snapshot)){const oe=Z.value;oe._futureSnapshot=ae.value;const Ne=function Hi(W,ae,Z){return ae.children.map(oe=>{for(const Ne of Z.children)if(W.shouldReuseRoute(oe.value,Ne.value.snapshot))return gi(W,oe,Ne);return gi(W,oe)})}(W,ae,Z);return new Jn(oe,Ne)}{if(W.shouldAttach(ae.value)){const st=W.retrieve(ae.value);if(null!==st){const Pt=st.route;return Pt.value._futureSnapshot=ae.value,Pt.children=ae.children.map(fn=>gi(W,fn)),Pt}}const oe=function ai(W){return new qr(new o.g(W.url),new o.g(W.params),new o.g(W.queryParams),new o.g(W.fragment),new o.g(W.data),W.outlet,W.component,W)}(ae.value),Ne=ae.children.map(st=>gi(W,st));return new Jn(oe,Ne)}}const pr="ngNavigationCancelingError";function yo(W,ae){const{redirectTo:Z,navigationBehaviorOptions:oe}=nr(ae)?{redirectTo:ae,navigationBehaviorOptions:void 0}:ae,Ne=Ai(!1,Q.Redirect);return Ne.url=Z,Ne.navigationBehaviorOptions=oe,Ne}function Ai(W,ae){const Z=new Error(`NavigationCancelingError: ${W||""}`);return Z[pr]=!0,Z.cancellationCode=ae,Z}function Mo(W){return!!W&&W[pr]}let uo=(()=>{class W{static#e=this.\u0275fac=function(oe){return new(oe||W)};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:W,selectors:[["ng-component"]],standalone:!0,features:[n.\u0275\u0275StandaloneFeature],decls:1,vars:0,template:function(oe,Ne){1&oe&&n.\u0275\u0275element(0,"router-outlet")},dependencies:[ro],encapsulation:2})}return W})();function Bo(W){const ae=W.children&&W.children.map(Bo),Z=ae?{...W,children:ae}:{...W};return!Z.component&&!Z.loadComponent&&(ae||Z.loadChildren)&&Z.outlet&&Z.outlet!==vt&&(Z.component=uo),Z}function so(W){return W.outlet||vt}function mo(W){if(!W)return null;if(W.routeConfig?._injector)return W.routeConfig._injector;for(let ae=W.parent;ae;ae=ae.parent){const Z=ae.routeConfig;if(Z?._loadedInjector)return Z._loadedInjector;if(Z?._injector)return Z._injector}return null}class ya{constructor(ae,Z,oe,Ne,st){this.routeReuseStrategy=ae,this.futureState=Z,this.currState=oe,this.forwardEvent=Ne,this.inputBindingEnabled=st}activate(ae){const Z=this.futureState._root,oe=this.currState?this.currState._root:null;this.deactivateChildRoutes(Z,oe,ae),Do(this.futureState.root),this.activateChildRoutes(Z,oe,ae)}deactivateChildRoutes(ae,Z,oe){const Ne=Gr(Z);ae.children.forEach(st=>{const Pt=st.value.outlet;this.deactivateRoutes(st,Ne[Pt],oe),delete Ne[Pt]}),Object.values(Ne).forEach(st=>{this.deactivateRouteAndItsChildren(st,oe)})}deactivateRoutes(ae,Z,oe){const Ne=ae.value,st=Z?Z.value:null;if(Ne===st)if(Ne.component){const Pt=oe.getContext(Ne.outlet);Pt&&this.deactivateChildRoutes(ae,Z,Pt.children)}else this.deactivateChildRoutes(ae,Z,oe);else st&&this.deactivateRouteAndItsChildren(Z,oe)}deactivateRouteAndItsChildren(ae,Z){ae.value.component&&this.routeReuseStrategy.shouldDetach(ae.value.snapshot)?this.detachAndStoreRouteSubtree(ae,Z):this.deactivateRouteAndOutlet(ae,Z)}detachAndStoreRouteSubtree(ae,Z){const oe=Z.getContext(ae.value.outlet),Ne=oe&&ae.value.component?oe.children:Z,st=Gr(ae);for(const Pt of Object.values(st))this.deactivateRouteAndItsChildren(Pt,Ne);if(oe&&oe.outlet){const Pt=oe.outlet.detach(),fn=oe.children.onOutletDeactivated();this.routeReuseStrategy.store(ae.value.snapshot,{componentRef:Pt,route:ae,contexts:fn})}}deactivateRouteAndOutlet(ae,Z){const oe=Z.getContext(ae.value.outlet),Ne=oe&&ae.value.component?oe.children:Z,st=Gr(ae);for(const Pt of Object.values(st))this.deactivateRouteAndItsChildren(Pt,Ne);oe&&(oe.outlet&&(oe.outlet.deactivate(),oe.children.onOutletDeactivated()),oe.attachRef=null,oe.route=null)}activateChildRoutes(ae,Z,oe){const Ne=Gr(Z);ae.children.forEach(st=>{this.activateRoutes(st,Ne[st.value.outlet],oe),this.forwardEvent(new Un(st.value.snapshot))}),ae.children.length&&this.forwardEvent(new hn(ae.value.snapshot))}activateRoutes(ae,Z,oe){const Ne=ae.value,st=Z?Z.value:null;if(Do(Ne),Ne===st)if(Ne.component){const Pt=oe.getOrCreateContext(Ne.outlet);this.activateChildRoutes(ae,Z,Pt.children)}else this.activateChildRoutes(ae,Z,oe);else if(Ne.component){const Pt=oe.getOrCreateContext(Ne.outlet);if(this.routeReuseStrategy.shouldAttach(Ne.snapshot)){const fn=this.routeReuseStrategy.retrieve(Ne.snapshot);this.routeReuseStrategy.store(Ne.snapshot,null),Pt.children.onOutletReAttached(fn.contexts),Pt.attachRef=fn.componentRef,Pt.route=fn.route.value,Pt.outlet&&Pt.outlet.attach(fn.componentRef,fn.route.value),Do(fn.route.value),this.activateChildRoutes(ae,null,Pt.children)}else{const fn=mo(Ne.snapshot);Pt.attachRef=null,Pt.route=Ne,Pt.injector=fn,Pt.outlet&&Pt.outlet.activateWith(Ne,Pt.injector),this.activateChildRoutes(ae,null,Pt.children)}}else this.activateChildRoutes(ae,null,oe)}}class Qo{constructor(ae){this.path=ae,this.route=this.path[this.path.length-1]}}class Ni{constructor(ae,Z){this.component=ae,this.route=Z}}function jo(W,ae,Z){const oe=W._root;return Xi(oe,ae?ae._root:null,Z,[oe.value])}function Lo(W,ae){const Z=Symbol(),oe=ae.get(W,Z);return oe===Z?"function"!=typeof W||(0,n.\u0275isInjectable)(W)?ae.get(W):W:oe}function Xi(W,ae,Z,oe,Ne={canDeactivateChecks:[],canActivateChecks:[]}){const st=Gr(ae);return W.children.forEach(Pt=>{(function ua(W,ae,Z,oe,Ne={canDeactivateChecks:[],canActivateChecks:[]}){const st=W.value,Pt=ae?ae.value:null,fn=Z?Z.getContext(W.value.outlet):null;if(Pt&&st.routeConfig===Pt.routeConfig){const rn=function Zo(W,ae,Z){if("function"==typeof Z)return Z(W,ae);switch(Z){case"pathParamsChange":return!Vn(W.url,ae.url);case"pathParamsOrQueryParamsChange":return!Vn(W.url,ae.url)||!vn(W.queryParams,ae.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!vo(W,ae)||!vn(W.queryParams,ae.queryParams);default:return!vo(W,ae)}}(Pt,st,st.routeConfig.runGuardsAndResolvers);rn?Ne.canActivateChecks.push(new Qo(oe)):(st.data=Pt.data,st._resolvedData=Pt._resolvedData),Xi(W,ae,st.component?fn?fn.children:null:Z,oe,Ne),rn&&fn&&fn.outlet&&fn.outlet.isActivated&&Ne.canDeactivateChecks.push(new Ni(fn.outlet.component,Pt))}else Pt&&To(ae,fn,Ne),Ne.canActivateChecks.push(new Qo(oe)),Xi(W,null,st.component?fn?fn.children:null:Z,oe,Ne)})(Pt,st[Pt.value.outlet],Z,oe.concat([Pt.value]),Ne),delete st[Pt.value.outlet]}),Object.entries(st).forEach(([Pt,fn])=>To(fn,Z.getContext(Pt),Ne)),Ne}function To(W,ae,Z){const oe=Gr(W),Ne=W.value;Object.entries(oe).forEach(([st,Pt])=>{To(Pt,Ne.component?ae?ae.children.getContext(st):null:ae,Z)}),Z.canDeactivateChecks.push(new Ni(Ne.component&&ae&&ae.outlet&&ae.outlet.isActivated?ae.outlet.component:null,Ne))}function Wo(W){return"function"==typeof W}function ir(W){return W instanceof v.G||"EmptyError"===W?.name}const Zn=Symbol("INITIAL_VALUE");function Mi(){return(0,ie.G)(W=>(0,h.E)(W.map(ae=>ae.pipe((0,X.U)(1),function be(...W){const ae=(0,y.e_)(W);return(0,V.i)((Z,oe)=>{(ae?f(W,Z,ae):f(W,Z)).subscribe(oe)})}(Zn)))).pipe((0,K.k)(ae=>{for(const Z of ae)if(!0!==Z){if(Z===Zn)return Zn;if(!1===Z||Z instanceof Ye)return Z}return!0}),(0,ce.I)(ae=>ae!==Zn),(0,X.U)(1)))}function wo(W){return(0,w.W)((0,xe.y)(ae=>{if(nr(ae))throw yo(0,ae)}),(0,K.k)(ae=>!0===ae))}class Go{constructor(ae){this.segmentGroup=ae||null}}class la extends Error{constructor(ae){super(),this.urlTree=ae}}function Ao(W){return D(new Go(W))}class ${constructor(ae,Z){this.urlSerializer=ae,this.urlTree=Z}lineralizeSegments(ae,Z){let oe=[],Ne=Z.root;for(;;){if(oe=oe.concat(Ne.segments),0===Ne.numberOfChildren)return(0,e.of)(oe);if(Ne.numberOfChildren>1||!Ne.children[vt])return D(new n.\u0275RuntimeError(4e3,!1));Ne=Ne.children[vt]}}applyRedirectCommands(ae,Z,oe){const Ne=this.applyRedirectCreateUrlTree(Z,this.urlSerializer.parse(Z),ae,oe);if(Z.startsWith("/"))throw new la(Ne);return Ne}applyRedirectCreateUrlTree(ae,Z,oe,Ne){const st=this.createSegmentGroup(ae,Z.root,oe,Ne);return new Ye(st,this.createQueryParams(Z.queryParams,this.urlTree.queryParams),Z.fragment)}createQueryParams(ae,Z){const oe={};return Object.entries(ae).forEach(([Ne,st])=>{if("string"==typeof st&&st.startsWith(":")){const fn=st.substring(1);oe[Ne]=Z[fn]}else oe[Ne]=st}),oe}createSegmentGroup(ae,Z,oe,Ne){const st=this.createSegments(ae,Z.segments,oe,Ne);let Pt={};return Object.entries(Z.children).forEach(([fn,rn])=>{Pt[fn]=this.createSegmentGroup(ae,rn,oe,Ne)}),new ft(st,Pt)}createSegments(ae,Z,oe,Ne){return Z.map(st=>st.path.startsWith(":")?this.findPosParam(ae,st,Ne):this.findOrReturn(st,oe))}findPosParam(ae,Z,oe){const Ne=oe[Z.path.substring(1)];if(!Ne)throw new n.\u0275RuntimeError(4001,!1);return Ne}findOrReturn(ae,Z){let oe=0;for(const Ne of Z){if(Ne.path===ae.path)return Z.splice(oe),Ne;oe++}return ae}}const ee={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function ye(W,ae,Z,oe,Ne){const st=Ge(W,ae,Z);return st.matched?(oe=function Yr(W,ae){return W.providers&&!W._injector&&(W._injector=(0,n.createEnvironmentInjector)(W.providers,ae,`Route: ${W.path}`)),W._injector??ae}(ae,oe),function qi(W,ae,Z,oe){const Ne=ae.canMatch;if(!Ne||0===Ne.length)return(0,e.of)(!0);const st=Ne.map(Pt=>{const fn=Lo(Pt,W);return $n(function It(W){return W&&Wo(W.canMatch)}(fn)?fn.canMatch(ae,Z):(0,n.runInInjectionContext)(W,()=>fn(ae,Z)))});return(0,e.of)(st).pipe(Mi(),wo())}(oe,ae,Z).pipe((0,K.k)(Pt=>!0===Pt?st:{...ee}))):(0,e.of)(st)}function Ge(W,ae,Z){if("**"===ae.path)return function Ct(W){return{matched:!0,parameters:W.length>0?En(W).parameters:{},consumedSegments:W,remainingSegments:[],positionalParamSegments:{}}}(Z);if(""===ae.path)return"full"===ae.pathMatch&&(W.hasChildren()||Z.length>0)?{...ee}:{matched:!0,consumedSegments:[],remainingSegments:Z,parameters:{},positionalParamSegments:{}};const Ne=(ae.matcher||Vt)(Z,W,ae);if(!Ne)return{...ee};const st={};Object.entries(Ne.posParams??{}).forEach(([fn,rn])=>{st[fn]=rn.path});const Pt=Ne.consumed.length>0?{...st,...Ne.consumed[Ne.consumed.length-1].parameters}:st;return{matched:!0,consumedSegments:Ne.consumed,remainingSegments:Z.slice(Ne.consumed.length),parameters:Pt,positionalParamSegments:Ne.posParams??{}}}function Lt(W,ae,Z,oe){return Z.length>0&&function yn(W,ae,Z){return Z.some(oe=>er(W,ae,oe)&&so(oe)!==vt)}(W,Z,oe)?{segmentGroup:new ft(ae,Gt(oe,new ft(Z,W.children))),slicedSegments:[]}:0===Z.length&&function rr(W,ae,Z){return Z.some(oe=>er(W,ae,oe))}(W,Z,oe)?{segmentGroup:new ft(W.segments,Ht(W,Z,oe,W.children)),slicedSegments:Z}:{segmentGroup:new ft(W.segments,W.children),slicedSegments:Z}}function Ht(W,ae,Z,oe){const Ne={};for(const st of Z)if(er(W,ae,st)&&!oe[so(st)]){const Pt=new ft([],{});Ne[so(st)]=Pt}return{...oe,...Ne}}function Gt(W,ae){const Z={};Z[vt]=ae;for(const oe of W)if(""===oe.path&&so(oe)!==vt){const Ne=new ft([],{});Z[so(oe)]=Ne}return Z}function er(W,ae,Z){return(!(W.hasChildren()||ae.length>0)||"full"!==Z.pathMatch)&&""===Z.path}class fr{}class wi{constructor(ae,Z,oe,Ne,st,Pt,fn){this.injector=ae,this.configLoader=Z,this.rootComponentType=oe,this.config=Ne,this.urlTree=st,this.paramsInheritanceStrategy=Pt,this.urlSerializer=fn,this.applyRedirects=new $(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(ae){return new n.\u0275RuntimeError(4002,`'${ae.segmentGroup}'`)}recognize(){const ae=Lt(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(ae).pipe((0,K.k)(Z=>{const oe=new ni([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},vt,this.rootComponentType,null,{}),Ne=new Jn(oe,Z),st=new ji("",Ne),Pt=Nr(oe,[],this.urlTree.queryParams,this.urlTree.fragment);return Pt.queryParams=this.urlTree.queryParams,st.url=this.urlSerializer.serialize(Pt),this.inheritParamsAndData(st._root,null),{state:st,tree:Pt}}))}match(ae){return this.processSegmentGroup(this.injector,this.config,ae,vt).pipe((0,Ie.a)(oe=>{if(oe instanceof la)return this.urlTree=oe.urlTree,this.match(oe.urlTree.root);throw oe instanceof Go?this.noMatchError(oe):oe}))}inheritParamsAndData(ae,Z){const oe=ae.value,Ne=oi(oe,Z,this.paramsInheritanceStrategy);oe.params=Object.freeze(Ne.params),oe.data=Object.freeze(Ne.data),ae.children.forEach(st=>this.inheritParamsAndData(st,oe))}processSegmentGroup(ae,Z,oe,Ne){return 0===oe.segments.length&&oe.hasChildren()?this.processChildren(ae,Z,oe):this.processSegment(ae,Z,oe,oe.segments,Ne,!0).pipe((0,K.k)(st=>st instanceof Jn?[st]:[]))}processChildren(ae,Z,oe){const Ne=[];for(const st of Object.keys(oe.children))"primary"===st?Ne.unshift(st):Ne.push(st);return(0,i.Q)(Ne).pipe((0,ct.m)(st=>{const Pt=oe.children[st],fn=function Oo(W,ae){const Z=W.filter(oe=>so(oe)===ae);return Z.push(...W.filter(oe=>so(oe)!==ae)),Z}(Z,st);return this.processSegmentGroup(ae,fn,Pt,st)}),function Ue(W,ae){return(0,V.i)(function Le(W,ae,Z,oe,Ne){return(st,Pt)=>{let fn=Z,rn=ae,cr=0;st.subscribe((0,G.e)(Pt,Jr=>{const ui=cr++;rn=fn?W(rn,Jr,ui):(fn=!0,Jr),oe&&Pt.next(rn)},Ne&&(()=>{fn&&Pt.next(rn),Pt.complete()})))}}(W,ae,arguments.length>=2,!0))}((st,Pt)=>(st.push(...Pt),st)),(0,Xe.G)(null),function Ce(W,ae){const Z=arguments.length>=2;return oe=>oe.pipe(W?(0,ce.I)((Ne,st)=>W(Ne,st,oe)):p.Z,_e(1),Z?(0,Xe.G)(ae):(0,Fe._)(()=>new v.G))}(),(0,M.O)(st=>{if(null===st)return Ao(oe);const Pt=Ki(st);return function Ui(W){W.sort((ae,Z)=>ae.value.outlet===vt?-1:Z.value.outlet===vt?1:ae.value.outlet.localeCompare(Z.value.outlet))}(Pt),(0,e.of)(Pt)}))}processSegment(ae,Z,oe,Ne,st,Pt){return(0,i.Q)(Z).pipe((0,ct.m)(fn=>this.processSegmentAgainstRoute(fn._injector??ae,Z,fn,oe,Ne,st,Pt).pipe((0,Ie.a)(rn=>{if(rn instanceof Go)return(0,e.of)(null);throw rn}))),(0,ze.K)(fn=>!!fn),(0,Ie.a)(fn=>{if(ir(fn))return function Mr(W,ae,Z){return 0===ae.length&&!W.children[Z]}(oe,Ne,st)?(0,e.of)(new fr):Ao(oe);throw fn}))}processSegmentAgainstRoute(ae,Z,oe,Ne,st,Pt,fn){return function Kr(W,ae,Z,oe){return!!(so(W)===oe||oe!==vt&&er(ae,Z,W))&&Ge(ae,W,Z).matched}(oe,Ne,st,Pt)?void 0===oe.redirectTo?this.matchSegmentAgainstRoute(ae,Ne,oe,st,Pt):this.allowRedirects&&fn?this.expandSegmentAgainstRouteUsingRedirect(ae,Ne,Z,oe,st,Pt):Ao(Ne):Ao(Ne)}expandSegmentAgainstRouteUsingRedirect(ae,Z,oe,Ne,st,Pt){const{matched:fn,consumedSegments:rn,positionalParamSegments:cr,remainingSegments:Jr}=Ge(Z,Ne,st);if(!fn)return Ao(Z);Ne.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const ui=this.applyRedirects.applyRedirectCommands(rn,Ne.redirectTo,cr);return this.applyRedirects.lineralizeSegments(Ne,ui).pipe((0,M.O)(po=>this.processSegment(ae,oe,Z,po.concat(Jr),Pt,!1)))}matchSegmentAgainstRoute(ae,Z,oe,Ne,st){const Pt=ye(Z,oe,Ne,ae);return"**"===oe.path&&(Z.children={}),Pt.pipe((0,ie.G)(fn=>fn.matched?this.getChildConfig(ae=oe._injector??ae,oe,Ne).pipe((0,ie.G)(({routes:rn})=>{const cr=oe._loadedInjector??ae,{consumedSegments:Jr,remainingSegments:ui,parameters:po}=fn,hs=new ni(Jr,po,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function Ar(W){return W.data||{}}(oe),so(oe),oe.component??oe._loadedComponent??null,oe,function eo(W){return W.resolve||{}}(oe)),{segmentGroup:no,slicedSegments:kr}=Lt(Z,Jr,ui,rn);if(0===kr.length&&no.hasChildren())return this.processChildren(cr,rn,no).pipe((0,K.k)(Ra=>null===Ra?null:new Jn(hs,Ra)));if(0===rn.length&&0===kr.length)return(0,e.of)(new Jn(hs,[]));const Ya=so(oe)===st;return this.processSegment(cr,rn,no,kr,Ya?vt:st,!0).pipe((0,K.k)(Ra=>new Jn(hs,Ra instanceof Jn?[Ra]:[])))})):Ao(Z)))}getChildConfig(ae,Z,oe){return Z.children?(0,e.of)({routes:Z.children,injector:ae}):Z.loadChildren?void 0!==Z._loadedRoutes?(0,e.of)({routes:Z._loadedRoutes,injector:Z._loadedInjector}):function Ro(W,ae,Z,oe){const Ne=ae.canLoad;if(void 0===Ne||0===Ne.length)return(0,e.of)(!0);const st=Ne.map(Pt=>{const fn=Lo(Pt,W);return $n(function ke(W){return W&&Wo(W.canLoad)}(fn)?fn.canLoad(ae,Z):(0,n.runInInjectionContext)(W,()=>fn(ae,Z)))});return(0,e.of)(st).pipe(Mi(),wo())}(ae,Z,oe).pipe((0,M.O)(Ne=>Ne?this.configLoader.loadChildren(ae,Z).pipe((0,xe.y)(st=>{Z._loadedRoutes=st.routes,Z._loadedInjector=st.injector})):function Je(W){return D(Ai(!1,Q.GuardRejected))}())):(0,e.of)({routes:[],injector:ae})}}function Si(W){const ae=W.value.routeConfig;return ae&&""===ae.path}function Ki(W){const ae=[],Z=new Set;for(const oe of W){if(!Si(oe)){ae.push(oe);continue}const Ne=ae.find(st=>oe.value.routeConfig===st.value.routeConfig);void 0!==Ne?(Ne.children.push(...oe.children),Z.add(Ne)):ae.push(oe)}for(const oe of Z){const Ne=Ki(oe.children);ae.push(new Jn(oe.value,Ne))}return ae.filter(oe=>!Z.has(oe))}function to(W){const ae=W.children.map(Z=>to(Z)).flat();return[W,...ae]}function lt(W){return(0,ie.G)(ae=>{const Z=W(ae);return Z?(0,i.Q)(Z).pipe((0,K.k)(()=>ae)):(0,e.of)(ae)})}let wt=(()=>{class W{buildTitle(Z){let oe,Ne=Z.root;for(;void 0!==Ne;)oe=this.getResolvedTitleForRoute(Ne)??oe,Ne=Ne.children.find(st=>st.outlet===vt);return oe}getResolvedTitleForRoute(Z){return Z.data[Tt]}static#e=this.\u0275fac=function(oe){return new(oe||W)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:W,factory:()=>(0,n.inject)(xt),providedIn:"root"})}return W})(),xt=(()=>{class W extends wt{constructor(Z){super(),this.title=Z}updateTitle(Z){const oe=this.buildTitle(Z);void 0!==oe&&this.title.setTitle(oe)}static#e=this.\u0275fac=function(oe){return new(oe||W)(n.\u0275\u0275inject(et.Title))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();const Nt=new n.InjectionToken("",{providedIn:"root",factory:()=>({})}),Kt=new n.InjectionToken("");let dn=(()=>{class W{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,n.inject)(n.Compiler)}loadComponent(Z){if(this.componentLoaders.get(Z))return this.componentLoaders.get(Z);if(Z._loadedComponent)return(0,e.of)(Z._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(Z);const oe=$n(Z.loadComponent()).pipe((0,K.k)(Re),(0,xe.y)(st=>{this.onLoadEndListener&&this.onLoadEndListener(Z),Z._loadedComponent=st}),(0,Be.U)(()=>{this.componentLoaders.delete(Z)})),Ne=new k(oe,()=>new A.E).pipe(R());return this.componentLoaders.set(Z,Ne),Ne}loadChildren(Z,oe){if(this.childrenLoaders.get(oe))return this.childrenLoaders.get(oe);if(oe._loadedRoutes)return(0,e.of)({routes:oe._loadedRoutes,injector:oe._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(oe);const st=Wn(oe,this.compiler,Z,this.onLoadEndListener).pipe((0,Be.U)(()=>{this.childrenLoaders.delete(oe)})),Pt=new k(st,()=>new A.E).pipe(R());return this.childrenLoaders.set(oe,Pt),Pt}static#e=this.\u0275fac=function(oe){return new(oe||W)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();function Wn(W,ae,Z,oe){return $n(W.loadChildren()).pipe((0,K.k)(Re),(0,M.O)(Ne=>Ne instanceof n.NgModuleFactory||Array.isArray(Ne)?(0,e.of)(Ne):(0,i.Q)(ae.compileModuleAsync(Ne))),(0,K.k)(Ne=>{oe&&oe(W);let st,Pt;return Array.isArray(Ne)?Pt=Ne:(st=Ne.create(Z).injector,Pt=st.get(Kt,[],{optional:!0,self:!0}).flat()),{routes:Pt.map(Bo),injector:st}}))}function Re(W){return function Y(W){return W&&"object"==typeof W&&"default"in W}(W)?W.default:W}let se=(()=>{class W{static#e=this.\u0275fac=function(oe){return new(oe||W)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:W,factory:()=>(0,n.inject)(Me),providedIn:"root"})}return W})(),Me=(()=>{class W{shouldProcessUrl(Z){return!0}extract(Z){return Z}merge(Z,oe){return Z}static#e=this.\u0275fac=function(oe){return new(oe||W)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();const Mt=new n.InjectionToken(""),P=new n.InjectionToken("");function ne(W,ae,Z){const oe=W.get(P),Ne=W.get(H.DOCUMENT);return W.get(n.NgZone).runOutsideAngular(()=>{if(!Ne.startViewTransition||oe.skipNextTransition)return oe.skipNextTransition=!1,Promise.resolve();let st;const Pt=new Promise(cr=>{st=cr}),fn=Ne.startViewTransition(()=>(st(),function B(W){return new Promise(ae=>{(0,n.afterNextRender)(ae,{injector:W})})}(W))),{onViewTransitionCreated:rn}=oe;return rn&&(0,n.runInInjectionContext)(W,()=>rn({transition:fn,from:ae,to:Z})),Pt})}let le=(()=>{class W{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new A.E,this.transitionAbortSubject=new A.E,this.configLoader=(0,n.inject)(dn),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector),this.urlSerializer=(0,n.inject)(br),this.rootContexts=(0,n.inject)(co),this.location=(0,n.inject)(H.Location),this.inputBindingEnabled=null!==(0,n.inject)(oo,{optional:!0}),this.titleStrategy=(0,n.inject)(wt),this.options=(0,n.inject)(Nt,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,n.inject)(se),this.createViewTransition=(0,n.inject)(Mt,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,e.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=Ne=>this.events.next(new _n(Ne)),this.configLoader.onLoadStartListener=Ne=>this.events.next(new gn(Ne))}complete(){this.transitions?.complete()}handleNavigationRequest(Z){const oe=++this.navigationId;this.transitions?.next({...this.transitions.value,...Z,id:oe})}setupNavigations(Z,oe,Ne){return this.transitions=new o.g({id:0,currentUrlTree:oe,currentRawUrl:oe,extractedUrl:this.urlHandlingStrategy.extract(oe),urlAfterRedirects:this.urlHandlingStrategy.extract(oe),rawUrl:oe,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Ir,restoredState:null,currentSnapshot:Ne.snapshot,targetSnapshot:null,currentRouterState:Ne,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,ce.I)(st=>0!==st.id),(0,K.k)(st=>({...st,extractedUrl:this.urlHandlingStrategy.extract(st.rawUrl)})),(0,ie.G)(st=>{this.currentTransition=st;let Pt=!1,fn=!1;return(0,e.of)(st).pipe((0,xe.y)(rn=>{this.currentNavigation={id:rn.id,initialUrl:rn.rawUrl,extractedUrl:rn.extractedUrl,trigger:rn.source,extras:rn.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,ie.G)(rn=>{const cr=!Z.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!cr&&"reload"!==(rn.extras.onSameUrlNavigation??Z.onSameUrlNavigation)){const ui="";return this.events.next(new q(rn.id,this.urlSerializer.serialize(rn.rawUrl),ui,Se.IgnoredSameUrlNavigation)),rn.resolve(null),L.k}if(this.urlHandlingStrategy.shouldProcessUrl(rn.rawUrl))return(0,e.of)(rn).pipe((0,ie.G)(ui=>{const po=this.transitions?.getValue();return this.events.next(new x(ui.id,this.urlSerializer.serialize(ui.extractedUrl),ui.source,ui.restoredState)),po!==this.transitions?.getValue()?L.k:Promise.resolve(ui)}),function ki(W,ae,Z,oe,Ne,st){return(0,M.O)(Pt=>function Dr(W,ae,Z,oe,Ne,st,Pt="emptyOnly"){return new wi(W,ae,Z,oe,Ne,Pt,st).recognize()}(W,ae,Z,oe,Pt.extractedUrl,Ne,st).pipe((0,K.k)(({state:fn,tree:rn})=>({...Pt,targetSnapshot:fn,urlAfterRedirects:rn}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,Z.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,xe.y)(ui=>{st.targetSnapshot=ui.targetSnapshot,st.urlAfterRedirects=ui.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:ui.urlAfterRedirects};const po=new qe(ui.id,this.urlSerializer.serialize(ui.extractedUrl),this.urlSerializer.serialize(ui.urlAfterRedirects),ui.targetSnapshot);this.events.next(po)}));if(cr&&this.urlHandlingStrategy.shouldProcessUrl(rn.currentRawUrl)){const{id:ui,extractedUrl:po,source:hs,restoredState:no,extras:kr}=rn,Ya=new x(ui,this.urlSerializer.serialize(po),hs,no);this.events.next(Ya);const Ra=pi(this.rootComponentType).snapshot;return this.currentTransition=st={...rn,targetSnapshot:Ra,urlAfterRedirects:po,extras:{...kr,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=po,(0,e.of)(st)}{const ui="";return this.events.next(new q(rn.id,this.urlSerializer.serialize(rn.extractedUrl),ui,Se.IgnoredByUrlHandlingStrategy)),rn.resolve(null),L.k}}),(0,xe.y)(rn=>{const cr=new ht(rn.id,this.urlSerializer.serialize(rn.extractedUrl),this.urlSerializer.serialize(rn.urlAfterRedirects),rn.targetSnapshot);this.events.next(cr)}),(0,K.k)(rn=>(this.currentTransition=st={...rn,guards:jo(rn.targetSnapshot,rn.currentSnapshot,this.rootContexts)},st)),function Eo(W,ae){return(0,M.O)(Z=>{const{targetSnapshot:oe,currentSnapshot:Ne,guards:{canActivateChecks:st,canDeactivateChecks:Pt}}=Z;return 0===Pt.length&&0===st.length?(0,e.of)({...Z,guardsResult:!0}):function Io(W,ae,Z,oe){return(0,i.Q)(W).pipe((0,M.O)(Ne=>function sa(W,ae,Z,oe,Ne){const st=ae&&ae.routeConfig?ae.routeConfig.canDeactivate:null;if(!st||0===st.length)return(0,e.of)(!0);const Pt=st.map(fn=>{const rn=mo(ae)??Ne,cr=Lo(fn,rn);return $n(function at(W){return W&&Wo(W.canDeactivate)}(cr)?cr.canDeactivate(W,ae,Z,oe):(0,n.runInInjectionContext)(rn,()=>cr(W,ae,Z,oe))).pipe((0,ze.K)())});return(0,e.of)(Pt).pipe(Mi())}(Ne.component,Ne.route,Z,ae,oe)),(0,ze.K)(Ne=>!0!==Ne,!0))}(Pt,oe,Ne,W).pipe((0,M.O)(fn=>fn&&function Jo(W){return"boolean"==typeof W}(fn)?function _o(W,ae,Z,oe){return(0,i.Q)(ae).pipe((0,ct.m)(Ne=>f(function Xo(W,ae){return null!==W&&ae&&ae(new bn(W)),(0,e.of)(!0)}(Ne.route.parent,oe),function $r(W,ae){return null!==W&&ae&&ae(new In(W)),(0,e.of)(!0)}(Ne.route,oe),function io(W,ae,Z){const oe=ae[ae.length-1],st=ae.slice(0,ae.length-1).reverse().map(Pt=>function zo(W){const ae=W.routeConfig?W.routeConfig.canActivateChild:null;return ae&&0!==ae.length?{node:W,guards:ae}:null}(Pt)).filter(Pt=>null!==Pt).map(Pt=>_(()=>{const fn=Pt.guards.map(rn=>{const cr=mo(Pt.node)??Z,Jr=Lo(rn,cr);return $n(function ge(W){return W&&Wo(W.canActivateChild)}(Jr)?Jr.canActivateChild(oe,W):(0,n.runInInjectionContext)(cr,()=>Jr(oe,W))).pipe((0,ze.K)())});return(0,e.of)(fn).pipe(Mi())}));return(0,e.of)(st).pipe(Mi())}(W,Ne.path,Z),function aa(W,ae,Z){const oe=ae.routeConfig?ae.routeConfig.canActivate:null;if(!oe||0===oe.length)return(0,e.of)(!0);const Ne=oe.map(st=>_(()=>{const Pt=mo(ae)??Z,fn=Lo(st,Pt);return $n(function Ve(W){return W&&Wo(W.canActivate)}(fn)?fn.canActivate(ae,W):(0,n.runInInjectionContext)(Pt,()=>fn(ae,W))).pipe((0,ze.K)())}));return(0,e.of)(Ne).pipe(Mi())}(W,Ne.route,Z))),(0,ze.K)(Ne=>!0!==Ne,!0))}(oe,st,W,ae):(0,e.of)(fn)),(0,K.k)(fn=>({...Z,guardsResult:fn})))})}(this.environmentInjector,rn=>this.events.next(rn)),(0,xe.y)(rn=>{if(st.guardsResult=rn.guardsResult,nr(rn.guardsResult))throw yo(0,rn.guardsResult);const cr=new St(rn.id,this.urlSerializer.serialize(rn.extractedUrl),this.urlSerializer.serialize(rn.urlAfterRedirects),rn.targetSnapshot,!!rn.guardsResult);this.events.next(cr)}),(0,ce.I)(rn=>!!rn.guardsResult||(this.cancelNavigationTransition(rn,"",Q.GuardRejected),!1)),lt(rn=>{if(rn.guards.canActivateChecks.length)return(0,e.of)(rn).pipe((0,xe.y)(cr=>{const Jr=new Ft(cr.id,this.urlSerializer.serialize(cr.extractedUrl),this.urlSerializer.serialize(cr.urlAfterRedirects),cr.targetSnapshot);this.events.next(Jr)}),(0,ie.G)(cr=>{let Jr=!1;return(0,e.of)(cr).pipe(function Qr(W,ae){return(0,M.O)(Z=>{const{targetSnapshot:oe,guards:{canActivateChecks:Ne}}=Z;if(!Ne.length)return(0,e.of)(Z);const st=new Set(Ne.map(rn=>rn.route)),Pt=new Set;for(const rn of st)if(!Pt.has(rn))for(const cr of to(rn))Pt.add(cr);let fn=0;return(0,i.Q)(Pt).pipe((0,ct.m)(rn=>st.has(rn)?function we(W,ae,Z,oe){const Ne=W.routeConfig,st=W._resolve;return void 0!==Ne?.title&&!ri(Ne)&&(st[Tt]=Ne.title),function nt(W,ae,Z,oe){const Ne=zt(W);if(0===Ne.length)return(0,e.of)({});const st={};return(0,i.Q)(Ne).pipe((0,M.O)(Pt=>function Qe(W,ae,Z,oe){const Ne=mo(ae)??oe,st=Lo(W,Ne);return $n(st.resolve?st.resolve(ae,Z):(0,n.runInInjectionContext)(Ne,()=>st(ae,Z)))}(W[Pt],ae,Z,oe).pipe((0,ze.K)(),(0,xe.y)(fn=>{st[Pt]=fn}))),_e(1),function Ae(W){return(0,K.k)(()=>W)}(st),(0,Ie.a)(Pt=>ir(Pt)?L.k:D(Pt)))}(st,W,ae,oe).pipe((0,K.k)(Pt=>(W._resolvedData=Pt,W.data=oi(W,W.parent,Z).resolve,null)))}(rn,oe,W,ae):(rn.data=oi(rn,rn.parent,W).resolve,(0,e.of)(void 0))),(0,xe.y)(()=>fn++),_e(1),(0,M.O)(rn=>fn===Pt.size?(0,e.of)(Z):L.k))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,xe.y)({next:()=>Jr=!0,complete:()=>{Jr||this.cancelNavigationTransition(cr,"",Q.NoDataFromResolver)}}))}),(0,xe.y)(cr=>{const Jr=new en(cr.id,this.urlSerializer.serialize(cr.extractedUrl),this.urlSerializer.serialize(cr.urlAfterRedirects),cr.targetSnapshot);this.events.next(Jr)}))}),lt(rn=>{const cr=Jr=>{const ui=[];Jr.routeConfig?.loadComponent&&!Jr.routeConfig._loadedComponent&&ui.push(this.configLoader.loadComponent(Jr.routeConfig).pipe((0,xe.y)(po=>{Jr.component=po}),(0,K.k)(()=>{})));for(const po of Jr.children)ui.push(...cr(po));return ui};return(0,h.E)(cr(rn.targetSnapshot.root)).pipe((0,Xe.G)(null),(0,X.U)(1))}),lt(()=>this.afterPreactivation()),(0,ie.G)(()=>{const{currentSnapshot:rn,targetSnapshot:cr}=st,Jr=this.createViewTransition?.(this.environmentInjector,rn.root,cr.root);return Jr?(0,i.Q)(Jr).pipe((0,K.k)(()=>st)):(0,e.of)(st)}),(0,K.k)(rn=>{const cr=function bo(W,ae,Z){const oe=gi(W,ae._root,Z?Z._root:void 0);return new Bn(oe,ae)}(Z.routeReuseStrategy,rn.targetSnapshot,rn.currentRouterState);return this.currentTransition=st={...rn,targetRouterState:cr},this.currentNavigation.targetRouterState=cr,st}),(0,xe.y)(()=>{this.events.next(new hr)}),((W,ae,Z,oe)=>(0,K.k)(Ne=>(new ya(ae,Ne.targetRouterState,Ne.currentRouterState,Z,oe).activate(W),Ne)))(this.rootContexts,Z.routeReuseStrategy,rn=>this.events.next(rn),this.inputBindingEnabled),(0,X.U)(1),(0,xe.y)({next:rn=>{Pt=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new F(rn.id,this.urlSerializer.serialize(rn.extractedUrl),this.urlSerializer.serialize(rn.urlAfterRedirects))),this.titleStrategy?.updateTitle(rn.targetRouterState.snapshot),rn.resolve(!0)},complete:()=>{Pt=!0}}),function Ee(W){return(0,V.i)((ae,Z)=>{(0,C.Uv)(W).subscribe((0,G.e)(Z,()=>Z.complete(),re.K)),!Z.closed&&ae.subscribe(Z)})}(this.transitionAbortSubject.pipe((0,xe.y)(rn=>{throw rn}))),(0,Be.U)(()=>{!Pt&&!fn&&this.cancelNavigationTransition(st,"",Q.SupersededByNewNavigation),this.currentTransition?.id===st.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,Ie.a)(rn=>{if(fn=!0,Mo(rn))this.events.next(new he(st.id,this.urlSerializer.serialize(st.extractedUrl),rn.message,rn.cancellationCode)),function Pi(W){return Mo(W)&&nr(W.url)}(rn)?this.events.next(new Lr(rn.url)):st.resolve(!1);else{this.events.next(new de(st.id,this.urlSerializer.serialize(st.extractedUrl),rn,st.targetSnapshot??void 0));try{st.resolve(Z.errorHandler(rn))}catch(cr){this.options.resolveNavigationPromiseOnError?st.resolve(!1):st.reject(cr)}}return L.k}))}))}cancelNavigationTransition(Z,oe,Ne){const st=new he(Z.id,this.urlSerializer.serialize(Z.extractedUrl),oe,Ne);this.events.next(st),Z.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(oe){return new(oe||W)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();function We(W){return W!==Ir}let Jt=(()=>{class W{static#e=this.\u0275fac=function(oe){return new(oe||W)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:W,factory:()=>(0,n.inject)(An),providedIn:"root"})}return W})();class Cn{shouldDetach(ae){return!1}store(ae,Z){}shouldAttach(ae){return!1}retrieve(ae){return null}shouldReuseRoute(ae,Z){return ae.routeConfig===Z.routeConfig}}let An=(()=>{class W extends Cn{static#e=this.\u0275fac=(()=>{let Z;return function(Ne){return(Z||(Z=n.\u0275\u0275getInheritedFactory(W)))(Ne||W)}})();static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})(),Kn=(()=>{class W{static#e=this.\u0275fac=function(oe){return new(oe||W)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:W,factory:()=>(0,n.inject)(Sr),providedIn:"root"})}return W})(),Sr=(()=>{class W extends Kn{constructor(){super(...arguments),this.location=(0,n.inject)(H.Location),this.urlSerializer=(0,n.inject)(br),this.options=(0,n.inject)(Nt,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,n.inject)(se),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new Ye,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=pi(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(Z){return this.location.subscribe(oe=>{"popstate"===oe.type&&Z(oe.url,oe.state)})}handleRouterEvent(Z,oe){if(Z instanceof x)this.stateMemento=this.createStateMemento();else if(Z instanceof q)this.rawUrlTree=oe.initialUrl;else if(Z instanceof qe){if("eager"===this.urlUpdateStrategy&&!oe.extras.skipLocationChange){const Ne=this.urlHandlingStrategy.merge(oe.finalUrl,oe.initialUrl);this.setBrowserUrl(Ne,oe)}}else Z instanceof hr?(this.currentUrlTree=oe.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(oe.finalUrl,oe.initialUrl),this.routerState=oe.targetRouterState,"deferred"===this.urlUpdateStrategy&&(oe.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,oe))):Z instanceof he&&(Z.code===Q.GuardRejected||Z.code===Q.NoDataFromResolver)?this.restoreHistory(oe):Z instanceof de?this.restoreHistory(oe,!0):Z instanceof F&&(this.lastSuccessfulId=Z.id,this.currentPageId=this.browserPageId)}setBrowserUrl(Z,oe){const Ne=this.urlSerializer.serialize(Z);if(this.location.isCurrentPathEqualTo(Ne)||oe.extras.replaceUrl){const Pt={...oe.extras.state,...this.generateNgRouterState(oe.id,this.browserPageId)};this.location.replaceState(Ne,"",Pt)}else{const st={...oe.extras.state,...this.generateNgRouterState(oe.id,this.browserPageId+1)};this.location.go(Ne,"",st)}}restoreHistory(Z,oe=!1){if("computed"===this.canceledNavigationResolution){const st=this.currentPageId-this.browserPageId;0!==st?this.location.historyGo(st):this.currentUrlTree===Z.finalUrl&&0===st&&(this.resetState(Z),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(oe&&this.resetState(Z),this.resetUrlToCurrentUrlTree())}resetState(Z){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,Z.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(Z,oe){return"computed"===this.canceledNavigationResolution?{navigationId:Z,\u0275routerPageId:oe}:{navigationId:Z}}static#e=this.\u0275fac=(()=>{let Z;return function(Ne){return(Z||(Z=n.\u0275\u0275getInheritedFactory(W)))(Ne||W)}})();static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();var Zr=function(W){return W[W.COMPLETE=0]="COMPLETE",W[W.FAILED=1]="FAILED",W[W.REDIRECTING=2]="REDIRECTING",W}(Zr||{});function ho(W,ae){W.events.pipe((0,ce.I)(Z=>Z instanceof F||Z instanceof he||Z instanceof de||Z instanceof q),(0,K.k)(Z=>Z instanceof F||Z instanceof q?Zr.COMPLETE:Z instanceof he&&(Z.code===Q.Redirect||Z.code===Q.SupersededByNewNavigation)?Zr.REDIRECTING:Zr.FAILED),(0,ce.I)(Z=>Z!==Zr.REDIRECTING),(0,X.U)(1)).subscribe(()=>{ae()})}function Co(W){throw W}const Fo={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},xi={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Yi=(()=>{class W{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)(Kn),this.options=(0,n.inject)(Nt,{optional:!0})||{},this.pendingTasks=(0,n.inject)(n.\u0275PendingTasks),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,n.inject)(le),this.urlSerializer=(0,n.inject)(br),this.location=(0,n.inject)(H.Location),this.urlHandlingStrategy=(0,n.inject)(se),this._events=new A.E,this.errorHandler=this.options.errorHandler||Co,this.navigated=!1,this.routeReuseStrategy=(0,n.inject)(Jt),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,n.inject)(Kt,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,n.inject)(oo,{optional:!0}),this.eventsSubscription=new N.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:Z=>{this.console.warn(Z)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const Z=this.navigationTransitions.events.subscribe(oe=>{try{const Ne=this.navigationTransitions.currentTransition,st=this.navigationTransitions.currentNavigation;if(null!==Ne&&null!==st)if(this.stateManager.handleRouterEvent(oe,st),oe instanceof he&&oe.code!==Q.Redirect&&oe.code!==Q.SupersededByNewNavigation)this.navigated=!0;else if(oe instanceof F)this.navigated=!0;else if(oe instanceof Lr){const Pt=this.urlHandlingStrategy.merge(oe.url,Ne.currentRawUrl),fn={info:Ne.extras.info,skipLocationChange:Ne.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||We(Ne.source)};this.scheduleNavigation(Pt,Ir,null,fn,{resolve:Ne.resolve,reject:Ne.reject,promise:Ne.promise})}(function da(W){return!(W instanceof hr||W instanceof Lr)})(oe)&&this._events.next(oe)}catch(Ne){this.navigationTransitions.transitionAbortSubject.next(Ne)}});this.eventsSubscription.add(Z)}resetRootComponentType(Z){this.routerState.root.component=Z,this.navigationTransitions.rootComponentType=Z}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Ir,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((Z,oe)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(Z,"popstate",oe)},0)})}navigateToSyncWithBrowser(Z,oe,Ne){const st={replaceUrl:!0},Pt=Ne?.navigationId?Ne:null;if(Ne){const rn={...Ne};delete rn.navigationId,delete rn.\u0275routerPageId,0!==Object.keys(rn).length&&(st.state=rn)}const fn=this.parseUrl(Z);this.scheduleNavigation(fn,oe,Pt,st)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(Z){this.config=Z.map(Bo),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(Z,oe={}){const{relativeTo:Ne,queryParams:st,fragment:Pt,queryParamsHandling:fn,preserveFragment:rn}=oe,cr=rn?this.currentUrlTree.fragment:Pt;let ui,Jr=null;switch(fn){case"merge":Jr={...this.currentUrlTree.queryParams,...st};break;case"preserve":Jr=this.currentUrlTree.queryParams;break;default:Jr=st||null}null!==Jr&&(Jr=this.removeEmptyProps(Jr));try{ui=Ci(Ne?Ne.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof Z[0]||!Z[0].startsWith("/"))&&(Z=[]),ui=this.currentUrlTree.root}return tn(ui,Z,Jr,cr??null)}navigateByUrl(Z,oe={skipLocationChange:!1}){const Ne=nr(Z)?Z:this.parseUrl(Z),st=this.urlHandlingStrategy.merge(Ne,this.rawUrlTree);return this.scheduleNavigation(st,Ir,null,oe)}navigate(Z,oe={skipLocationChange:!1}){return function yi(W){for(let ae=0;ae(null!=st&&(oe[Ne]=st),oe),{})}scheduleNavigation(Z,oe,Ne,st,Pt){if(this.disposed)return Promise.resolve(!1);let fn,rn,cr;Pt?(fn=Pt.resolve,rn=Pt.reject,cr=Pt.promise):cr=new Promise((ui,po)=>{fn=ui,rn=po});const Jr=this.pendingTasks.add();return ho(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Jr))}),this.navigationTransitions.handleNavigationRequest({source:oe,restoredState:Ne,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:Z,extras:st,resolve:fn,reject:rn,promise:cr,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),cr.catch(ui=>Promise.reject(ui))}static#e=this.\u0275fac=function(oe){return new(oe||W)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})(),ss=(()=>{class W{constructor(Z,oe,Ne,st,Pt,fn){this.router=Z,this.route=oe,this.tabIndexAttribute=Ne,this.renderer=st,this.el=Pt,this.locationStrategy=fn,this.href=null,this.commands=null,this.onChanges=new A.E,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const rn=Pt.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===rn||"area"===rn,this.isAnchorElement?this.subscription=Z.events.subscribe(cr=>{cr instanceof F&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(Z){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",Z)}ngOnChanges(Z){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(Z){null!=Z?(this.commands=Array.isArray(Z)?Z:[Z],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(Z,oe,Ne,st,Pt){const fn=this.urlTree;return!!(null===fn||this.isAnchorElement&&(0!==Z||oe||Ne||st||Pt||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(fn,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const Z=this.urlTree;this.href=null!==Z&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(Z)):null;const oe=null===this.href?null:(0,n.\u0275\u0275sanitizeUrlOrResourceUrl)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",oe)}applyAttributeValue(Z,oe){const Ne=this.renderer,st=this.el.nativeElement;null!==oe?Ne.setAttribute(st,Z,oe):Ne.removeAttribute(st,Z)}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(oe){return new(oe||W)(n.\u0275\u0275directiveInject(Yi),n.\u0275\u0275directiveInject(qr),n.\u0275\u0275injectAttribute("tabindex"),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(H.LocationStrategy))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:W,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(oe,Ne){1&oe&&n.\u0275\u0275listener("click",function(Pt){return Ne.onClick(Pt.button,Pt.ctrlKey,Pt.shiftKey,Pt.altKey,Pt.metaKey)}),2&oe&&n.\u0275\u0275attribute("target",Ne.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 W})(),ls=(()=>{class W{get isActive(){return this._isActive}constructor(Z,oe,Ne,st,Pt){this.router=Z,this.element=oe,this.renderer=Ne,this.cdr=st,this.link=Pt,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new n.EventEmitter,this.routerEventsSubscription=Z.events.subscribe(fn=>{fn instanceof F&&this.update()})}ngAfterContentInit(){(0,e.of)(this.links.changes,(0,e.of)(null)).pipe(E()).subscribe(Z=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const Z=[...this.links.toArray(),this.link].filter(oe=>!!oe).map(oe=>oe.onChanges);this.linkInputChangesSubscription=(0,i.Q)(Z).pipe(E()).subscribe(oe=>{this._isActive!==this.isLinkActive(this.router)(oe)&&this.update()})}set routerLinkActive(Z){const oe=Array.isArray(Z)?Z:Z.split(" ");this.classes=oe.filter(Ne=>!!Ne)}ngOnChanges(Z){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const Z=this.hasActiveLinks();this._isActive!==Z&&(this._isActive=Z,this.cdr.markForCheck(),this.classes.forEach(oe=>{Z?this.renderer.addClass(this.element.nativeElement,oe):this.renderer.removeClass(this.element.nativeElement,oe)}),Z&&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(Z))})}isLinkActive(Z){const oe=function Jl(W){return!!W.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return Ne=>{const st=Ne.urlTree;return!!st&&Z.isActive(st,oe)}}hasActiveLinks(){const Z=this.isLinkActive(this.router);return this.link&&Z(this.link)||this.links.some(Z)}static#e=this.\u0275fac=function(oe){return new(oe||W)(n.\u0275\u0275directiveInject(Yi),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(ss,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:W,selectors:[["","routerLinkActive",""]],contentQueries:function(oe,Ne,st){if(1&oe&&n.\u0275\u0275contentQuery(st,ss,5),2&oe){let Pt;n.\u0275\u0275queryRefresh(Pt=n.\u0275\u0275loadQuery())&&(Ne.links=Pt)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return W})();class Ms{}let Xl=(()=>{class W{preload(Z,oe){return oe().pipe((0,Ie.a)(()=>(0,e.of)(null)))}static#e=this.\u0275fac=function(oe){return new(oe||W)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})(),Ss=(()=>{class W{preload(Z,oe){return(0,e.of)(null)}static#e=this.\u0275fac=function(oe){return new(oe||W)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})(),La=(()=>{class W{constructor(Z,oe,Ne,st,Pt){this.router=Z,this.injector=Ne,this.preloadingStrategy=st,this.loader=Pt}setUpPreloading(){this.subscription=this.router.events.pipe((0,ce.I)(Z=>Z instanceof F),(0,ct.m)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(Z,oe){const Ne=[];for(const st of oe){st.providers&&!st._injector&&(st._injector=(0,n.createEnvironmentInjector)(st.providers,Z,`Route: ${st.path}`));const Pt=st._injector??Z,fn=st._loadedInjector??Pt;(st.loadChildren&&!st._loadedRoutes&&void 0===st.canLoad||st.loadComponent&&!st._loadedComponent)&&Ne.push(this.preloadConfig(Pt,st)),(st.children||st._loadedRoutes)&&Ne.push(this.processRoutes(fn,st.children??st._loadedRoutes))}return(0,i.Q)(Ne).pipe(E())}preloadConfig(Z,oe){return this.preloadingStrategy.preload(oe,()=>{let Ne;Ne=oe.loadChildren&&void 0===oe.canLoad?this.loader.loadChildren(Z,oe):(0,e.of)(null);const st=Ne.pipe((0,M.O)(Pt=>null===Pt?(0,e.of)(void 0):(oe._loadedRoutes=Pt.routes,oe._loadedInjector=Pt.injector,this.processRoutes(Pt.injector??Z,Pt.routes))));if(oe.loadComponent&&!oe._loadedComponent){const Pt=this.loader.loadComponent(oe);return(0,i.Q)([st,Pt]).pipe(E())}return st})}static#e=this.\u0275fac=function(oe){return new(oe||W)(n.\u0275\u0275inject(Yi),n.\u0275\u0275inject(n.Compiler),n.\u0275\u0275inject(n.EnvironmentInjector),n.\u0275\u0275inject(Ms),n.\u0275\u0275inject(dn))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();const al=new n.InjectionToken("");let qo=(()=>{class W{constructor(Z,oe,Ne,st,Pt={}){this.urlSerializer=Z,this.transitions=oe,this.viewportScroller=Ne,this.zone=st,this.options=Pt,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},Pt.scrollPositionRestoration||="disabled",Pt.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(Z=>{Z instanceof x?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=Z.navigationTrigger,this.restoredId=Z.restoredState?Z.restoredState.navigationId:0):Z instanceof F?(this.lastId=Z.id,this.scheduleScrollEvent(Z,this.urlSerializer.parse(Z.urlAfterRedirects).fragment)):Z instanceof q&&Z.code===Se.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(Z,this.urlSerializer.parse(Z.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(Z=>{Z instanceof _r&&(Z.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(Z.position):Z.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(Z.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(Z,oe){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new _r(Z,"popstate"===this.lastSource?this.store[this.restoredId]:null,oe))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(oe){n.\u0275\u0275invalidFactory()};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac})}return W})();function Es(W,...ae){return(0,n.makeEnvironmentProviders)([{provide:Kt,multi:!0,useValue:W},[],{provide:qr,useFactory:sl,deps:[Yi]},{provide:n.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:Ds},ae.map(Z=>Z.\u0275providers)])}function sl(W){return W.routerState.root}function Aa(W,ae){return{\u0275kind:W,\u0275providers:ae}}function ql(W){return[{provide:Kt,multi:!0,useValue:W},[]]}function Ws(W={}){return Aa(4,[{provide:al,useFactory:()=>{const Z=(0,n.inject)(H.ViewportScroller),oe=(0,n.inject)(n.NgZone),Ne=(0,n.inject)(le),st=(0,n.inject)(br);return new qo(st,Ne,Z,oe,W)}}])}function Ds(){const W=(0,n.inject)(n.Injector);return ae=>{const Z=W.get(n.ApplicationRef);if(ae!==Z.components[0])return;const oe=W.get(Yi),Ne=W.get(cs);1===W.get(ec)&&oe.initialNavigation(),W.get(Za,null,n.InjectFlags.Optional)?.setUpPreloading(),W.get(al,null,n.InjectFlags.Optional)?.init(),oe.resetRootComponentType(Z.componentTypes[0]),Ne.closed||(Ne.next(),Ne.complete(),Ne.unsubscribe())}}const cs=new n.InjectionToken("",{factory:()=>new A.E}),ec=new n.InjectionToken("",{providedIn:"root",factory:()=>1});function ll(){return Aa(2,[{provide:ec,useValue:0},{provide:n.APP_INITIALIZER,multi:!0,deps:[n.Injector],useFactory:ae=>{const Z=ae.get(H.LOCATION_INITIALIZED,Promise.resolve());return()=>Z.then(()=>new Promise(oe=>{const Ne=ae.get(Yi),st=ae.get(cs);ho(Ne,()=>{oe(!0)}),ae.get(le).afterPreactivation=()=>(oe(!0),st.closed?(0,e.of)(void 0):st),Ne.initialNavigation()}))}}])}function gu(){return Aa(3,[{provide:n.APP_INITIALIZER,multi:!0,useFactory:()=>{const ae=(0,n.inject)(Yi);return()=>{ae.setUpLocationChangeListener()}}},{provide:ec,useValue:2}])}function ea(){let W=[];return W=[],Aa(1,W)}const Za=new n.InjectionToken("");function Ja(W){return Aa(0,[{provide:Za,useExisting:La},{provide:Ms,useExisting:W}])}function Ud(W){return Aa(5,[{provide:Nt,useValue:W}])}function tc(){return Aa(6,[{provide:H.LocationStrategy,useClass:H.HashLocationStrategy}])}function pu(W){return Aa(7,[{provide:n.ENVIRONMENT_INITIALIZER,multi:!0,useValue:()=>{const Z=(0,n.inject)(n.EnvironmentInjector);(0,n.inject)(Yi).events.subscribe(oe=>{oe instanceof de&&(0,n.runInInjectionContext)(Z,()=>W(oe))})}}])}function Ts(){return Aa(8,[Pn,{provide:oo,useExisting:Pn}])}function us(W){return Aa(9,[{provide:Mt,useValue:ne},{provide:P,useValue:{skipNextTransition:!!W?.skipInitialTransition,...W}}])}const cl=new n.InjectionToken("ROUTER_FORROOT_GUARD"),ul=[H.Location,{provide:br,useClass:or},Yi,co,{provide:qr,useFactory:sl,deps:[Yi]},dn,[]];let Is=(()=>{class W{constructor(Z){}static forRoot(Z,oe){return{ngModule:W,providers:[ul,[],{provide:Kt,multi:!0,useValue:Z},{provide:cl,useFactory:ta,deps:[[Yi,new n.Optional,new n.SkipSelf]]},{provide:Nt,useValue:oe||{}},oe?.useHash?{provide:H.LocationStrategy,useClass:H.HashLocationStrategy}:{provide:H.LocationStrategy,useClass:H.PathLocationStrategy},{provide:al,useFactory:()=>{const W=(0,n.inject)(H.ViewportScroller),ae=(0,n.inject)(n.NgZone),Z=(0,n.inject)(Nt),oe=(0,n.inject)(le),Ne=(0,n.inject)(br);return Z.scrollOffset&&W.setOffset(Z.scrollOffset),new qo(Ne,oe,W,ae,Z)}},oe?.preloadingStrategy?Ja(oe.preloadingStrategy).\u0275providers:[],oe?.initialNavigation?si(oe):[],oe?.bindToComponentInputs?Ts().\u0275providers:[],oe?.enableViewTransitions?us().\u0275providers:[],[{provide:Gs,useFactory:Ds},{provide:n.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:Gs}]]}}static forChild(Z){return{ngModule:W,providers:[{provide:Kt,multi:!0,useValue:Z}]}}static#e=this.\u0275fac=function(oe){return new(oe||W)(n.\u0275\u0275inject(cl,8))};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:W});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return W})();function ta(W){return"guarded"}function si(W){return["disabled"===W.initialNavigation?gu().\u0275providers:[],"enabledBlocking"===W.initialNavigation?ll().\u0275providers:[]]}const Gs=new n.InjectionToken("");function As(W){return W.map(ae=>(...Z)=>(0,n.inject)(ae).canMatch(...Z))}function Gn(W){return W.map(ae=>(...Z)=>(0,n.inject)(ae).canActivate(...Z))}function nc(W){return W.map(ae=>(...Z)=>(0,n.inject)(ae).canActivateChild(...Z))}function ga(W){return W.map(ae=>(...Z)=>(0,n.inject)(ae).canDeactivate(...Z))}function ds(W){return(...ae)=>(0,n.inject)(W).resolve(...ae)}const _i=new n.Version("17.2.3")},23476:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{MSAL_BROADCAST_CONFIG:()=>X,MSAL_GUARD_CONFIG:()=>K,MSAL_INSTANCE:()=>H,MSAL_INTERCEPTOR_CONFIG:()=>ie,MsalBroadcastService:()=>ce,MsalCustomNavigationClient:()=>Le,MsalGuard:()=>ze,MsalInterceptor:()=>ct,MsalModule:()=>Ie,MsalRedirectComponent:()=>xe,MsalService:()=>be,version:()=>A});var n=s(1528),l=s(54496),u=s(26956),c=s(88904),i=s(72592),e=s(67648),o=s(84644),h=s(7828),v=s(64952),M=s(74496),p=s(95657);const E={now:()=>(E.delegate||Date).now(),delegate:void 0};class S extends p.E{constructor(Xe=1/0,_e=1/0,Fe=E){super(),this._bufferSize=Xe,this._windowTime=_e,this._timestampProvider=Fe,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=_e===1/0,this._bufferSize=Math.max(1,Xe),this._windowTime=Math.max(1,_e)}next(Xe){const{isStopped:_e,_buffer:Fe,_infiniteTimeWindow:Ce,_timestampProvider:Ae,_windowTime:Be}=this;_e||(Fe.push(Xe),!Ce&&Fe.push(Ae.now()+Be)),this._trimBuffer(),super.next(Xe)}_subscribe(Xe){this._throwIfClosed(),this._trimBuffer();const _e=this._innerSubscribe(Xe),{_infiniteTimeWindow:Fe,_buffer:Ce}=this,Ae=Ce.slice();for(let Be=0;Be{class Ue{constructor(_e,Fe){this.instance=_e,this.location=Fe;const Ce=this.location.path(!0).split("#").pop();Ce&&(this.redirectHash=`#${Ce}`),this.instance.initializeWrapperLibrary(u.Lm.Angular,A)}initialize(){return(0,M.Q)(this.instance.initialize())}acquireTokenPopup(_e){return(0,M.Q)(this.instance.acquireTokenPopup(_e))}acquireTokenRedirect(_e){return(0,M.Q)(this.instance.acquireTokenRedirect(_e))}acquireTokenSilent(_e){return(0,M.Q)(this.instance.acquireTokenSilent(_e))}handleRedirectObservable(_e){return(0,M.Q)(this.instance.initialize().then(()=>this.instance.handleRedirectPromise(_e||this.redirectHash)))}loginPopup(_e){return(0,M.Q)(this.instance.loginPopup(_e))}loginRedirect(_e){return(0,M.Q)(this.instance.loginRedirect(_e))}logout(_e){return(0,M.Q)(this.instance.logout(_e))}logoutRedirect(_e){return(0,M.Q)(this.instance.logoutRedirect(_e))}logoutPopup(_e){return(0,M.Q)(this.instance.logoutPopup(_e))}ssoSilent(_e){return(0,M.Q)(this.instance.ssoSilent(_e))}getLogger(){return this.logger||(this.logger=this.instance.getLogger().clone(k,A)),this.logger}setLogger(_e){this.logger=_e.clone(k,A),this.instance.setLogger(_e)}}return Ue.\u0275fac=function(_e){return new(_e||Ue)(l.\u0275\u0275inject(H),l.\u0275\u0275inject(_.Location))},Ue.\u0275prov=l.\u0275\u0275defineInjectable({token:Ue,factory:Ue.\u0275fac}),Ue})(),ce=(()=>{class Ue{constructor(_e,Fe,Ce){this.msalInstance=_e,this.authService=Fe,this.msalBroadcastConfig=Ce,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 S(this.msalBroadcastConfig.eventsToReplay)):this._msalSubject=new p.E,this.msalSubject$=this._msalSubject.asObservable(),this._inProgress=new y.g(u.Yz.Startup),this.inProgress$=this._inProgress.asObservable(),this.msalInstance.addEventCallback(Ae=>{this._msalSubject.next(Ae);const Be=c.M.getInteractionStatusFromEvent(Ae,this._inProgress.value);null!==Be&&(this.authService.getLogger().verbose(`BroadcastService - ${Ae.eventType} results in setting inProgress from ${this._inProgress.value} to ${Be}`),this._inProgress.next(Be))})}}return Ue.\u0275fac=function(_e){return new(_e||Ue)(l.\u0275\u0275inject(H),l.\u0275\u0275inject(be),l.\u0275\u0275inject(X,8))},Ue.\u0275prov=l.\u0275\u0275defineInjectable({token:Ue,factory:Ue.\u0275fac}),Ue})(),ze=(()=>{class Ue{constructor(_e,Fe,Ce,Ae,Be){this.msalGuardConfig=_e,this.msalBroadcastService=Fe,this.authService=Ce,this.location=Ae,this.router=Be,this.msalBroadcastService.inProgress$.subscribe()}parseUrl(_e){return this.router.parseUrl(_e)}getDestinationUrl(_e){this.authService.getLogger().verbose("Guard - getting destination url");const Fe=document.getElementsByTagName("base"),Ce=this.location.normalize(Fe.length?Fe[0].href:window.location.origin),Ae=this.location.prepareExternalUrl(_e);return Ae.startsWith("#")?(this.authService.getLogger().verbose("Guard - destination by hash routing"),`${Ce}/${Ae}`):`${Ce}${_e}`}loginInteractively(_e){const Fe="function"==typeof this.msalGuardConfig.authRequest?this.msalGuardConfig.authRequest(this.authService,_e):{...this.msalGuardConfig.authRequest};if(this.msalGuardConfig.interactionType===u.wV.Popup)return this.authService.getLogger().verbose("Guard - logging in by popup"),this.authService.loginPopup(Fe).pipe((0,w.k)(Ae=>(this.authService.getLogger().verbose("Guard - login by popup successful, can activate, setting active account"),this.authService.instance.setActiveAccount(Ae.account),!0)));this.authService.getLogger().verbose("Guard - logging in by redirect");const Ce=this.getDestinationUrl(_e.url);return this.authService.loginRedirect({redirectStartPage:Ce,...Fe}).pipe((0,w.k)(()=>!1))}activateHelper(_e){if(this.msalGuardConfig.interactionType!==u.wV.Popup&&this.msalGuardConfig.interactionType!==u.wV.Redirect)throw new i.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,f.of)(!0);if(e._.hashContainsKnownProperties(window.location.hash)&&o.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,f.of)(!1);this.msalGuardConfig.loginFailedRoute&&(this.loginFailedRoute=this.parseUrl(this.msalGuardConfig.loginFailedRoute));const Fe=this.location.path(!0);return this.authService.initialize().pipe((0,D.m)(()=>this.authService.handleRedirectObservable()),(0,D.m)(()=>{if(!this.authService.instance.getAllAccounts().length)return _e?(this.authService.getLogger().verbose("Guard - no accounts retrieved, log in required to activate"),this.loginInteractively(_e)):(this.authService.getLogger().verbose("Guard - no accounts retrieved, no state, cannot load"),(0,f.of)(!1));if(this.authService.getLogger().verbose("Guard - at least 1 account exists, can activate or load"),_e){const Ce=this.includesCode(_e.url),Ae=!!_e.root&&!!_e.root.fragment&&this.includesCode(`#${_e.root.fragment}`),Be=0===this.location.prepareExternalUrl(_e.url).indexOf("#");if(Ce&&(Ae||Be))return this.authService.getLogger().info("Guard - Hash contains known code response, stopping navigation."),Fe.indexOf("#")>-1?(0,f.of)(this.parseUrl(this.location.path())):(0,f.of)(this.parseUrl(""))}return(0,f.of)(!0)}),(0,L.a)(Ce=>(this.authService.getLogger().error("Guard - error while logging in, unable to activate"),this.authService.getLogger().errorPii(`Guard - error: ${Ce.message}`),this.loginFailedRoute&&_e?(this.authService.getLogger().verbose("Guard - loginFailedRoute set, redirecting"),(0,f.of)(this.loginFailedRoute)):(0,f.of)(!1))))}includesCode(_e){return _e.lastIndexOf("/code")>-1&&_e.lastIndexOf("/code")===_e.length-5||_e.indexOf("#code=")>-1||_e.indexOf("&code=")>-1}canActivate(_e,Fe){return this.authService.getLogger().verbose("Guard - canActivate"),this.activateHelper(Fe)}canActivateChild(_e,Fe){return this.authService.getLogger().verbose("Guard - canActivateChild"),this.activateHelper(Fe)}canMatch(){return this.authService.getLogger().verbose("Guard - canLoad"),this.activateHelper()}}return Ue.\u0275fac=function(_e){return new(_e||Ue)(l.\u0275\u0275inject(K),l.\u0275\u0275inject(ce),l.\u0275\u0275inject(be),l.\u0275\u0275inject(_.Location),l.\u0275\u0275inject(R.Router))},Ue.\u0275prov=l.\u0275\u0275defineInjectable({token:Ue,factory:Ue.\u0275fac}),Ue})(),ct=(()=>{class Ue{constructor(_e,Fe,Ce,Ae,Be){this.msalInterceptorConfig=_e,this.authService=Fe,this.location=Ce,this.msalBroadcastService=Ae,this._document=Be}intercept(_e,Fe){if(this.msalInterceptorConfig.interactionType!==u.wV.Popup&&this.msalInterceptorConfig.interactionType!==u.wV.Redirect)throw new i.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 Ce=this.getScopesForEndpoint(_e.url,_e.method);if(!Ce||0===Ce.length)return this.authService.getLogger().verbose("Interceptor - no scopes for endpoint"),Fe.handle(_e);let Ae;this.authService.instance.getActiveAccount()?(this.authService.getLogger().verbose("Interceptor - active account selected"),Ae=this.authService.instance.getActiveAccount()):(this.authService.getLogger().verbose("Interceptor - no active account, fallback to first account"),Ae=this.authService.instance.getAllAccounts()[0]);const Be="function"==typeof this.msalInterceptorConfig.authRequest?this.msalInterceptorConfig.authRequest(this.authService,_e,{account:Ae}):{...this.msalInterceptorConfig.authRequest,account:Ae};return this.authService.getLogger().info(`Interceptor - ${Ce.length} scopes found for endpoint`),this.authService.getLogger().infoPii(`Interceptor - [${Ce}] scopes found for ${_e.url}`),this.acquireToken(Be,Ce,Ae).pipe((0,N.G)(re=>{this.authService.getLogger().verbose("Interceptor - setting authorization headers");const Ee=_e.headers.set("Authorization",`Bearer ${re.accessToken}`),et=_e.clone({headers:Ee});return Fe.handle(et)}))}acquireToken(_e,Fe,Ce){return this.authService.acquireTokenSilent({..._e,scopes:Fe,account:Ce}).pipe((0,L.a)(()=>(this.authService.getLogger().error("Interceptor - acquireTokenSilent rejected with error. Invoking interaction to resolve."),this.msalBroadcastService.inProgress$.pipe((0,V.U)(1),(0,N.G)(Ae=>Ae===u.Yz.None?this.acquireTokenInteractively(_e,Fe):this.msalBroadcastService.inProgress$.pipe((0,G.I)(Be=>Be===u.Yz.None),(0,V.U)(1),(0,N.G)(()=>this.acquireToken(_e,Fe,Ce))))))),(0,N.G)(Ae=>Ae.accessToken?(0,f.of)(Ae):(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,G.I)(Be=>Be===u.Yz.None),(0,V.U)(1),(0,N.G)(()=>this.acquireTokenInteractively(_e,Fe))))))}acquireTokenInteractively(_e,Fe){if(this.msalInterceptorConfig.interactionType===u.wV.Popup)return this.authService.getLogger().verbose("Interceptor - error acquiring token silently, acquiring by popup"),this.authService.acquireTokenPopup({..._e,scopes:Fe});this.authService.getLogger().verbose("Interceptor - error acquiring token silently, acquiring by redirect");const Ce=window.location.href;return this.authService.acquireTokenRedirect({..._e,scopes:Fe,redirectStartPage:Ce}),C.k}getScopesForEndpoint(_e,Fe){this.authService.getLogger().verbose("Interceptor - getting scopes for endpoint");const Ce=this.location.normalize(_e),Ae=Array.from(this.msalInterceptorConfig.protectedResourceMap.keys()),Be=this.matchResourcesToEndpoint(Ae,Ce);return Be.absoluteResources.length>0?this.matchScopesToEndpoint(this.msalInterceptorConfig.protectedResourceMap,Be.absoluteResources,Fe):Be.relativeResources.length>0?this.matchScopesToEndpoint(this.msalInterceptorConfig.protectedResourceMap,Be.relativeResources,Fe):null}matchResourcesToEndpoint(_e,Fe){const Ce={absoluteResources:[],relativeResources:[]};return _e.forEach(Ae=>{const Be=this.location.normalize(Ae);h.e.matchPattern(Be,Fe)&&Ce.absoluteResources.push(Ae);const re=this.getAbsoluteUrl(Ae),Ee=new e._(re).getUrlComponents(),et=this.getAbsoluteUrl(Fe),vt=new e._(et).getUrlComponents(),Tt=Ee.QueryString?`${Ee.AbsolutePath}?${Ee.QueryString}`:this.location.normalize(Ee.AbsolutePath);Ee.HostNameAndPort===vt.HostNameAndPort&&h.e.matchPattern(Tt,et)&&""!==Tt&&"/*"!==Tt&&Ce.relativeResources.push(Ae)}),Ce}getAbsoluteUrl(_e){const Fe=this._document.createElement("a");return Fe.href=_e,Fe.href}matchScopesToEndpoint(_e,Fe,Ce){const Ae=[];return Fe.forEach(Be=>{const re=[],Ee=_e.get(Be);null!==Ee?(Ee.forEach(et=>{if("string"==typeof et)re.push(et);else{const vt=Ce.toLowerCase();et.httpMethod.toLowerCase()===vt&&(null===et.scopes?Ae.push(null):et.scopes.forEach(dt=>{re.push(dt)}))}}),re.length>0&&Ae.push(re)):Ae.push(null)}),Ae.length>0?(Ae.length>1&&this.authService.getLogger().warning("Interceptor - More than 1 matching scopes for endpoint found."),Ae[0]):null}}return Ue.\u0275fac=function(_e){return new(_e||Ue)(l.\u0275\u0275inject(ie),l.\u0275\u0275inject(be),l.\u0275\u0275inject(_.Location),l.\u0275\u0275inject(ce),l.\u0275\u0275inject(_.DOCUMENT))},Ue.\u0275prov=l.\u0275\u0275defineInjectable({token:Ue,factory:Ue.\u0275fac}),Ue})(),xe=(()=>{class Ue{constructor(_e){this.authService=_e}ngOnInit(){this.authService.getLogger().verbose("MsalRedirectComponent activated"),this.authService.handleRedirectObservable().subscribe()}}return Ue.\u0275fac=function(_e){return new(_e||Ue)(l.\u0275\u0275directiveInject(be))},Ue.\u0275cmp=l.\u0275\u0275defineComponent({type:Ue,selectors:[["app-redirect"]],decls:0,vars:0,template:function(_e,Fe){},encapsulation:2}),Ue})(),Ie=(()=>{class Ue{static forRoot(_e,Fe,Ce){return{ngModule:Ue,providers:[{provide:H,useValue:_e},{provide:K,useValue:Fe},{provide:ie,useValue:Ce},be]}}}return Ue.\u0275fac=function(_e){return new(_e||Ue)},Ue.\u0275mod=l.\u0275\u0275defineNgModule({type:Ue}),Ue.\u0275inj=l.\u0275\u0275defineInjector({providers:[ze,ce],imports:[_.CommonModule]}),Ue})(),Le=(()=>{class Ue extends v.m{constructor(_e,Fe,Ce){super(),this.authService=_e,this.router=Fe,this.location=Ce}navigateInternal(_e,Fe){var Ce=()=>super.navigateInternal,Ae=this;return(0,n.c)(function*(){if(Ae.authService.getLogger().trace("MsalCustomNavigationClient called"),Ae.authService.getLogger().verbose("MsalCustomNavigationClient - navigating"),Ae.authService.getLogger().verbosePii(`MsalCustomNavigationClient - navigating to url: ${_e}`),Fe.noHistory)return Ce().call(Ae,_e,Fe);{const Be=new e._(_e).getUrlComponents(),re=Be.QueryString?`${Be.AbsolutePath}?${Be.QueryString}`:Ae.location.normalize(Be.AbsolutePath);yield Ae.router.navigateByUrl(re,{replaceUrl:Fe.noHistory})}return Promise.resolve(Fe.noHistory)})()}}return Ue.\u0275fac=function(_e){return new(_e||Ue)(l.\u0275\u0275inject(be),l.\u0275\u0275inject(R.Router),l.\u0275\u0275inject(_.Location))},Ue.\u0275prov=l.\u0275\u0275defineInjectable({token:Ue,factory:Ue.\u0275fac}),Ue})()},69812:(pe,m,s)=>{"use strict";s.d(m,{S:()=>R,Y:()=>G});var n=s(1528),l=s(6536),u=s(34739),c=s(72584),i=s(98416),e=s(28876),o=s(71408),h=s(85348),v=s(7828),M=s(86144),p=s(16256),E=s(6400),S=s(9488),y=s(65172),f=s(4792),C=s(26956),_=s(71720),w=s(61744),D=s(99632),L=s(55084),N=s(37988),V=s(32828);class G extends l.B{constructor(A,H,K,ie,X){super(A,K,ie,X),this.COOKIE_LIFE_MULTIPLIER=864e5,this.cacheConfig=H,this.logger=ie,this.internalStorage=new w.W,this.browserStorage=this.setupBrowserStorage(this.cacheConfig.cacheLocation),this.temporaryCacheStorage=this.setupTemporaryCacheStorage(this.cacheConfig.temporaryCacheLocation,this.cacheConfig.cacheLocation),H.cacheMigrationEnabled&&(this.migrateCacheEntries(),this.createKeyMaps())}setupBrowserStorage(A){switch(A){case C.Ir.LocalStorage:case C.Ir.SessionStorage:try{return new _.K(A)}catch(H){this.logger.verbose(H);break}}return this.cacheConfig.cacheLocation=C.Ir.MemoryStorage,new w.W}setupTemporaryCacheStorage(A,H){switch(H){case C.Ir.LocalStorage:case C.Ir.SessionStorage:try{return new _.K(A||C.Ir.SessionStorage)}catch(K){return this.logger.verbose(K),this.internalStorage}default:return this.internalStorage}}migrateCacheEntries(){const H=`${u.Mv.CACHE_PREFIX}.${u.IH.CLIENT_INFO}`,K=`${u.Mv.CACHE_PREFIX}.${u.IH.ERROR}`,ie=`${u.Mv.CACHE_PREFIX}.${u.IH.ERROR_DESC}`,ct=[this.browserStorage.getItem(`${u.Mv.CACHE_PREFIX}.${u.IH.ID_TOKEN}`),this.browserStorage.getItem(H),this.browserStorage.getItem(K),this.browserStorage.getItem(ie)];[u.IH.ID_TOKEN,u.IH.CLIENT_INFO,u.IH.ERROR,u.IH.ERROR_DESC].forEach((Ie,Le)=>this.migrateCacheEntry(Ie,ct[Le]))}migrateCacheEntry(A,H){H&&this.setTemporaryCache(A,H,!0)}createKeyMaps(){this.logger.trace("BrowserCacheManager - createKeyMaps called.");const A=this.getItem(C.UZ.ACCOUNT_KEYS),H=this.getItem(`${C.UZ.TOKEN_KEYS}.${this.clientId}`);A&&H?this.logger.verbose("BrowserCacheManager:createKeyMaps - account and token key maps already exist, skipping migration."):this.browserStorage.getKeys().forEach(ie=>{if(this.isCredentialKey(ie)){const X=this.getItem(ie);if(X){const be=this.validateAndParseJson(X);if(be&&be.hasOwnProperty("credentialType"))switch(be.credentialType){case u.yu.ID_TOKEN:if(c.LS(be)){this.logger.trace("BrowserCacheManager:createKeyMaps - idToken found, saving key to token key map"),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - idToken with key: ${ie} found, saving key to token key map`);const ze=this.updateCredentialCacheKey(ie,be);return void this.addTokenKey(ze,u.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: ${ie}`);break;case u.yu.ACCESS_TOKEN:case u.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME:if(c.Ul(be)){this.logger.trace("BrowserCacheManager:createKeyMaps - accessToken found, saving key to token key map"),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - accessToken with key: ${ie} found, saving key to token key map`);const ze=this.updateCredentialCacheKey(ie,be);return void this.addTokenKey(ze,u.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: ${ie}`);break;case u.yu.REFRESH_TOKEN:if(c.U5(be)){this.logger.trace("BrowserCacheManager:createKeyMaps - refreshToken found, saving key to token key map"),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - refreshToken with key: ${ie} found, saving key to token key map`);const ze=this.updateCredentialCacheKey(ie,be);return void this.addTokenKey(ze,u.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: ${ie}`)}}}if(this.isAccountKey(ie)){const X=this.getItem(ie);if(X){const be=this.validateAndParseJson(X);be&&i.M.isAccountEntity(be)&&(this.logger.trace("BrowserCacheManager:createKeyMaps - account found, saving key to account key map"),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - account with key: ${ie} found, saving key to account key map`),this.addAccountKeyToMap(ie))}}})}validateAndParseJson(A){try{const H=JSON.parse(A);return H&&"object"==typeof H?H:null}catch{return null}}getItem(A){return this.browserStorage.getItem(A)}setItem(A,H){this.browserStorage.setItem(A,H)}getAccount(A,H){this.logger.trace("BrowserCacheManager.getAccount called");const K=this.getCachedAccountEntity(A);return this.updateOutdatedCachedAccount(A,K,H)}getCachedAccountEntity(A){const H=this.getItem(A);if(!H)return this.removeAccountKeyFromMap(A),null;const K=this.validateAndParseJson(H);return K&&i.M.isAccountEntity(K)?l.B.toObject(new i.M,K):(this.removeAccountKeyFromMap(A),null)}setAccount(A){this.logger.trace("BrowserCacheManager.setAccount called");const H=A.generateAccountKey();this.setItem(H,JSON.stringify(A)),this.addAccountKeyToMap(H)}getAccountKeys(){this.logger.trace("BrowserCacheManager.getAccountKeys called");const A=this.getItem(C.UZ.ACCOUNT_KEYS);return A?JSON.parse(A):(this.logger.verbose("BrowserCacheManager.getAccountKeys - No account keys found"),[])}addAccountKeyToMap(A){this.logger.trace("BrowserCacheManager.addAccountKeyToMap called"),this.logger.tracePii(`BrowserCacheManager.addAccountKeyToMap called with key: ${A}`);const H=this.getAccountKeys();-1===H.indexOf(A)?(H.push(A),this.setItem(C.UZ.ACCOUNT_KEYS,JSON.stringify(H)),this.logger.verbose("BrowserCacheManager.addAccountKeyToMap account key added")):this.logger.verbose("BrowserCacheManager.addAccountKeyToMap account key already exists in map")}removeAccountKeyFromMap(A){this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap called"),this.logger.tracePii(`BrowserCacheManager.removeAccountKeyFromMap called with key: ${A}`);const H=this.getAccountKeys(),K=H.indexOf(A);K>-1?(H.splice(K,1),this.setItem(C.UZ.ACCOUNT_KEYS,JSON.stringify(H)),this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap account key removed")):this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap key not found in existing map")}removeAccount(A){var H=()=>super.removeAccount,K=this;return(0,n.c)(function*(){H().call(K,A),K.removeAccountKeyFromMap(A)})()}removeOutdatedAccount(A){this.removeItem(A),this.removeAccountKeyFromMap(A)}removeIdToken(A){super.removeIdToken(A),this.removeTokenKey(A,u.yu.ID_TOKEN)}removeAccessToken(A){var H=()=>super.removeAccessToken,K=this;return(0,n.c)(function*(){H().call(K,A),K.removeTokenKey(A,u.yu.ACCESS_TOKEN)})()}removeRefreshToken(A){super.removeRefreshToken(A),this.removeTokenKey(A,u.yu.REFRESH_TOKEN)}getTokenKeys(){this.logger.trace("BrowserCacheManager.getTokenKeys called");const A=this.getItem(`${C.UZ.TOKEN_KEYS}.${this.clientId}`);if(A){const H=this.validateAndParseJson(A);if(H&&H.hasOwnProperty("idToken")&&H.hasOwnProperty("accessToken")&&H.hasOwnProperty("refreshToken"))return H;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(A,H){this.logger.trace("BrowserCacheManager addTokenKey called");const K=this.getTokenKeys();switch(H){case u.yu.ID_TOKEN:-1===K.idToken.indexOf(A)&&(this.logger.info("BrowserCacheManager: addTokenKey - idToken added to map"),K.idToken.push(A));break;case u.yu.ACCESS_TOKEN:-1===K.accessToken.indexOf(A)&&(this.logger.info("BrowserCacheManager: addTokenKey - accessToken added to map"),K.accessToken.push(A));break;case u.yu.REFRESH_TOKEN:-1===K.refreshToken.indexOf(A)&&(this.logger.info("BrowserCacheManager: addTokenKey - refreshToken added to map"),K.refreshToken.push(A));break;default:throw this.logger.error(`BrowserCacheManager:addTokenKey - CredentialType provided invalid. CredentialType: ${H}`),(0,e.mQ)(o.unexpectedCredentialType)}this.setItem(`${C.UZ.TOKEN_KEYS}.${this.clientId}`,JSON.stringify(K))}removeTokenKey(A,H){this.logger.trace("BrowserCacheManager removeTokenKey called");const K=this.getTokenKeys();switch(H){case u.yu.ID_TOKEN:this.logger.infoPii(`BrowserCacheManager: removeTokenKey - attempting to remove idToken with key: ${A} from map`);const ie=K.idToken.indexOf(A);ie>-1?(this.logger.info("BrowserCacheManager: removeTokenKey - idToken removed from map"),K.idToken.splice(ie,1)):this.logger.info("BrowserCacheManager: removeTokenKey - idToken does not exist in map. Either it was previously removed or it was never added.");break;case u.yu.ACCESS_TOKEN:this.logger.infoPii(`BrowserCacheManager: removeTokenKey - attempting to remove accessToken with key: ${A} from map`);const X=K.accessToken.indexOf(A);X>-1?(this.logger.info("BrowserCacheManager: removeTokenKey - accessToken removed from map"),K.accessToken.splice(X,1)):this.logger.info("BrowserCacheManager: removeTokenKey - accessToken does not exist in map. Either it was previously removed or it was never added.");break;case u.yu.REFRESH_TOKEN:this.logger.infoPii(`BrowserCacheManager: removeTokenKey - attempting to remove refreshToken with key: ${A} from map`);const be=K.refreshToken.indexOf(A);be>-1?(this.logger.info("BrowserCacheManager: removeTokenKey - refreshToken removed from map"),K.refreshToken.splice(be,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: ${H}`),(0,e.mQ)(o.unexpectedCredentialType)}this.setItem(`${C.UZ.TOKEN_KEYS}.${this.clientId}`,JSON.stringify(K))}getIdTokenCredential(A){const H=this.getItem(A);if(!H)return this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit"),this.removeTokenKey(A,u.yu.ID_TOKEN),null;const K=this.validateAndParseJson(H);return K&&c.LS(K)?(this.logger.trace("BrowserCacheManager.getIdTokenCredential: cache hit"),K):(this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit"),this.removeTokenKey(A,u.yu.ID_TOKEN),null)}setIdTokenCredential(A){this.logger.trace("BrowserCacheManager.setIdTokenCredential called");const H=c.AZ(A);this.setItem(H,JSON.stringify(A)),this.addTokenKey(H,u.yu.ID_TOKEN)}getAccessTokenCredential(A){const H=this.getItem(A);if(!H)return this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit"),this.removeTokenKey(A,u.yu.ACCESS_TOKEN),null;const K=this.validateAndParseJson(H);return K&&c.Ul(K)?(this.logger.trace("BrowserCacheManager.getAccessTokenCredential: cache hit"),K):(this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit"),this.removeTokenKey(A,u.yu.ACCESS_TOKEN),null)}setAccessTokenCredential(A){this.logger.trace("BrowserCacheManager.setAccessTokenCredential called");const H=c.AZ(A);this.setItem(H,JSON.stringify(A)),this.addTokenKey(H,u.yu.ACCESS_TOKEN)}getRefreshTokenCredential(A){const H=this.getItem(A);if(!H)return this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit"),this.removeTokenKey(A,u.yu.REFRESH_TOKEN),null;const K=this.validateAndParseJson(H);return K&&c.U5(K)?(this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: cache hit"),K):(this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit"),this.removeTokenKey(A,u.yu.REFRESH_TOKEN),null)}setRefreshTokenCredential(A){this.logger.trace("BrowserCacheManager.setRefreshTokenCredential called");const H=c.AZ(A);this.setItem(H,JSON.stringify(A)),this.addTokenKey(H,u.yu.REFRESH_TOKEN)}getAppMetadata(A){const H=this.getItem(A);if(!H)return this.logger.trace("BrowserCacheManager.getAppMetadata: called, no cache hit"),null;const K=this.validateAndParseJson(H);return K&&c.q6(A,K)?(this.logger.trace("BrowserCacheManager.getAppMetadata: cache hit"),K):(this.logger.trace("BrowserCacheManager.getAppMetadata: called, no cache hit"),null)}setAppMetadata(A){this.logger.trace("BrowserCacheManager.setAppMetadata called");const H=c.S(A);this.setItem(H,JSON.stringify(A))}getServerTelemetry(A){const H=this.getItem(A);if(!H)return this.logger.trace("BrowserCacheManager.getServerTelemetry: called, no cache hit"),null;const K=this.validateAndParseJson(H);return K&&c.sX(A,K)?(this.logger.trace("BrowserCacheManager.getServerTelemetry: cache hit"),K):(this.logger.trace("BrowserCacheManager.getServerTelemetry: called, no cache hit"),null)}setServerTelemetry(A,H){this.logger.trace("BrowserCacheManager.setServerTelemetry called"),this.setItem(A,JSON.stringify(H))}getAuthorityMetadata(A){const H=this.internalStorage.getItem(A);if(!H)return this.logger.trace("BrowserCacheManager.getAuthorityMetadata: called, no cache hit"),null;const K=this.validateAndParseJson(H);return K&&c.aA(A,K)?(this.logger.trace("BrowserCacheManager.getAuthorityMetadata: cache hit"),K):null}getAuthorityMetadataKeys(){return this.internalStorage.getKeys().filter(H=>this.isAuthorityMetadata(H))}setWrapperMetadata(A,H){this.internalStorage.setItem(C.CM.WRAPPER_SKU,A),this.internalStorage.setItem(C.CM.WRAPPER_VER,H)}getWrapperMetadata(){return[this.internalStorage.getItem(C.CM.WRAPPER_SKU)||u.Mv.EMPTY_STRING,this.internalStorage.getItem(C.CM.WRAPPER_VER)||u.Mv.EMPTY_STRING]}setAuthorityMetadata(A,H){this.logger.trace("BrowserCacheManager.setAuthorityMetadata called"),this.internalStorage.setItem(A,JSON.stringify(H))}getActiveAccount(){const A=this.generateCacheKey(u.IH.ACTIVE_ACCOUNT_FILTERS),H=this.getItem(A);if(!H){this.logger.trace("BrowserCacheManager.getActiveAccount: No active account filters cache schema found, looking for legacy schema");const ie=this.generateCacheKey(u.IH.ACTIVE_ACCOUNT),X=this.getItem(ie);if(!X)return this.logger.trace("BrowserCacheManager.getActiveAccount: No active account found"),null;const be=this.getAccountInfoFilteredBy({localAccountId:X});return be?(this.logger.trace("BrowserCacheManager.getActiveAccount: Legacy active account cache schema found"),this.logger.trace("BrowserCacheManager.getActiveAccount: Adding active account filters cache schema"),this.setActiveAccount(be),be):null}const K=this.validateAndParseJson(H);return K?(this.logger.trace("BrowserCacheManager.getActiveAccount: Active account filters schema found"),this.getAccountInfoFilteredBy({homeAccountId:K.homeAccountId,localAccountId:K.localAccountId,tenantId:K.tenantId})):(this.logger.trace("BrowserCacheManager.getActiveAccount: No active account found"),null)}setActiveAccount(A){const H=this.generateCacheKey(u.IH.ACTIVE_ACCOUNT_FILTERS),K=this.generateCacheKey(u.IH.ACTIVE_ACCOUNT);A?(this.logger.verbose("setActiveAccount: Active account set"),this.browserStorage.setItem(H,JSON.stringify({homeAccountId:A.homeAccountId,localAccountId:A.localAccountId,tenantId:A.tenantId})),this.browserStorage.setItem(K,A.localAccountId)):(this.logger.verbose("setActiveAccount: No account passed, active account not set"),this.browserStorage.removeItem(H),this.browserStorage.removeItem(K))}getThrottlingCache(A){const H=this.getItem(A);if(!H)return this.logger.trace("BrowserCacheManager.getThrottlingCache: called, no cache hit"),null;const K=this.validateAndParseJson(H);return K&&c.s7(A,K)?(this.logger.trace("BrowserCacheManager.getThrottlingCache: cache hit"),K):(this.logger.trace("BrowserCacheManager.getThrottlingCache: called, no cache hit"),null)}setThrottlingCache(A,H){this.logger.trace("BrowserCacheManager.setThrottlingCache called"),this.setItem(A,JSON.stringify(H))}getTemporaryCache(A,H){const K=H?this.generateCacheKey(A):A;if(this.cacheConfig.storeAuthStateInCookie){const X=this.getItemCookie(K);if(X)return this.logger.trace("BrowserCacheManager.getTemporaryCache: storeAuthStateInCookies set to true, retrieving from cookies"),X}const ie=this.temporaryCacheStorage.getItem(K);if(!ie){if(this.cacheConfig.cacheLocation===C.Ir.LocalStorage){const X=this.browserStorage.getItem(K);if(X)return this.logger.trace("BrowserCacheManager.getTemporaryCache: Temporary cache item found in local storage"),X}return this.logger.trace("BrowserCacheManager.getTemporaryCache: No cache item found in local storage"),null}return this.logger.trace("BrowserCacheManager.getTemporaryCache: Temporary cache item returned"),ie}setTemporaryCache(A,H,K){const ie=K?this.generateCacheKey(A):A;this.temporaryCacheStorage.setItem(ie,H),this.cacheConfig.storeAuthStateInCookie&&(this.logger.trace("BrowserCacheManager.setTemporaryCache: storeAuthStateInCookie set to true, setting item cookie"),this.setItemCookie(ie,H))}removeItem(A){this.browserStorage.removeItem(A),this.temporaryCacheStorage.removeItem(A),this.cacheConfig.storeAuthStateInCookie&&(this.logger.trace("BrowserCacheManager.removeItem: storeAuthStateInCookie is true, clearing item cookie"),this.clearItemCookie(A))}containsKey(A){return this.browserStorage.containsKey(A)||this.temporaryCacheStorage.containsKey(A)}getKeys(){return[...this.browserStorage.getKeys(),...this.temporaryCacheStorage.getKeys()]}clear(){var A=this;return(0,n.c)(function*(){yield A.removeAllAccounts(),A.removeAppMetadata(),A.getKeys().forEach(H=>{(A.browserStorage.containsKey(H)||A.temporaryCacheStorage.containsKey(H))&&(-1!==H.indexOf(u.Mv.CACHE_PREFIX)||-1!==H.indexOf(A.clientId))&&A.removeItem(H)}),A.internalStorage.clear()})()}clearTokensAndKeysWithClaims(A){var H=this;return(0,n.c)(function*(){A.addQueueMeasurement(h.Xv.ClearTokensAndKeysWithClaims);const K=H.getTokenKeys(),ie=[];K.accessToken.forEach(X=>{const be=H.getAccessTokenCredential(X);be?.requestedClaimsHash&&X.includes(be.requestedClaimsHash.toLowerCase())&&ie.push(H.removeAccessToken(X))}),yield Promise.all(ie),ie.length>0&&H.logger.warning(`${ie.length} access tokens with claims in the cache keys have been removed from the cache.`)})()}setItemCookie(A,H,K){let ie=`${encodeURIComponent(A)}=${encodeURIComponent(H)};path=/;SameSite=Lax;`;K&&(ie+=`expires=${this.getCookieExpirationTime(K)};`),this.cacheConfig.secureCookies&&(ie+="Secure;"),document.cookie=ie}getItemCookie(A){const H=`${encodeURIComponent(A)}=`,K=document.cookie.split(";");for(let ie=0;ie{for(;" "===K.charAt(0);)K=K.substring(1);if(0===K.indexOf(A)){const ie=K.split("=")[0];this.clearItemCookie(ie)}})}clearItemCookie(A){this.setItemCookie(A,u.Mv.EMPTY_STRING,-1)}getCookieExpirationTime(A){return new Date((new Date).getTime()+A*this.COOKIE_LIFE_MULTIPLIER).toUTCString()}getCache(){return this.browserStorage}setCache(){}generateCacheKey(A){return this.validateAndParseJson(A)?JSON.stringify(A):v.e.startsWith(A,u.Mv.CACHE_PREFIX)||v.e.startsWith(A,u.IH.ADAL_ID_TOKEN)?A:`${u.Mv.CACHE_PREFIX}.${this.clientId}.${A}`}generateAuthorityKey(A){const{libraryState:{id:H}}=M.c.parseRequestState(this.cryptoImpl,A);return this.generateCacheKey(`${C.zH.AUTHORITY}.${H}`)}generateNonceKey(A){const{libraryState:{id:H}}=M.c.parseRequestState(this.cryptoImpl,A);return this.generateCacheKey(`${C.zH.NONCE_IDTOKEN}.${H}`)}generateStateKey(A){const{libraryState:{id:H}}=M.c.parseRequestState(this.cryptoImpl,A);return this.generateCacheKey(`${C.zH.REQUEST_STATE}.${H}`)}getCachedAuthority(A){const H=this.generateStateKey(A),K=this.getTemporaryCache(H);if(!K)return null;const ie=this.generateAuthorityKey(K);return this.getTemporaryCache(ie)}updateCacheEntries(A,H,K,ie,X){this.logger.trace("BrowserCacheManager.updateCacheEntries called");const be=this.generateStateKey(A);this.setTemporaryCache(be,A,!1);const ce=this.generateNonceKey(A);this.setTemporaryCache(ce,H,!1);const ze=this.generateAuthorityKey(A);this.setTemporaryCache(ze,K,!1),X?this.setTemporaryCache(C.zH.CCS_CREDENTIAL,JSON.stringify({credential:X.homeAccountId,type:p.s.HOME_ACCOUNT_ID}),!0):ie&&this.setTemporaryCache(C.zH.CCS_CREDENTIAL,JSON.stringify({credential:ie,type:p.s.UPN}),!0)}resetRequestCache(A){this.logger.trace("BrowserCacheManager.resetRequestCache called"),A&&(this.getKeys().forEach(H=>{-1!==H.indexOf(A)&&this.removeItem(H)}),this.removeItem(this.generateStateKey(A)),this.removeItem(this.generateNonceKey(A)),this.removeItem(this.generateAuthorityKey(A))),this.removeItem(this.generateCacheKey(C.zH.REQUEST_PARAMS)),this.removeItem(this.generateCacheKey(C.zH.ORIGIN_URI)),this.removeItem(this.generateCacheKey(C.zH.URL_HASH)),this.removeItem(this.generateCacheKey(C.zH.CORRELATION_ID)),this.removeItem(this.generateCacheKey(C.zH.CCS_CREDENTIAL)),this.removeItem(this.generateCacheKey(C.zH.NATIVE_REQUEST)),this.setInteractionInProgress(!1)}cleanRequestByState(A){if(this.logger.trace("BrowserCacheManager.cleanRequestByState called"),A){const H=this.generateStateKey(A),K=this.temporaryCacheStorage.getItem(H);this.logger.infoPii(`BrowserCacheManager.cleanRequestByState: Removing temporary cache items for state: ${K}`),this.resetRequestCache(K||u.Mv.EMPTY_STRING)}this.clearMsalCookies()}cleanRequestByInteractionType(A){this.logger.trace("BrowserCacheManager.cleanRequestByInteractionType called"),this.getKeys().forEach(H=>{if(-1===H.indexOf(C.zH.REQUEST_STATE))return;const K=this.temporaryCacheStorage.getItem(H);if(!K)return;const ie=(0,D.Q)(this.cryptoImpl,K);ie&&ie.interactionType===A&&(this.logger.infoPii(`BrowserCacheManager.cleanRequestByInteractionType: Removing temporary cache items for state: ${K}`),this.resetRequestCache(K))}),this.clearMsalCookies(),this.setInteractionInProgress(!1)}cacheCodeRequest(A){this.logger.trace("BrowserCacheManager.cacheCodeRequest called");const H=(0,N.c9)(JSON.stringify(A));this.setTemporaryCache(C.zH.REQUEST_PARAMS,H,!0)}getCachedRequest(A){this.logger.trace("BrowserCacheManager.getCachedRequest called");const H=this.getTemporaryCache(C.zH.REQUEST_PARAMS,!0);if(!H)throw(0,f.Wq)(V.noTokenRequestCacheError);let K;try{K=JSON.parse((0,L.W)(H))}catch(ie){throw this.logger.errorPii(`Attempted to parse: ${H}`),this.logger.error(`Parsing cached token request threw with error: ${ie}`),(0,f.Wq)(V.unableToParseTokenRequestCacheError)}if(this.removeItem(this.generateCacheKey(C.zH.REQUEST_PARAMS)),!K.authority){const ie=this.generateAuthorityKey(A),X=this.getTemporaryCache(ie);if(!X)throw(0,f.Wq)(V.noCachedAuthorityError);K.authority=X}return K}getCachedNativeRequest(){this.logger.trace("BrowserCacheManager.getCachedNativeRequest called");const A=this.getTemporaryCache(C.zH.NATIVE_REQUEST,!0);return A?this.validateAndParseJson(A)||(this.logger.error("BrowserCacheManager.getCachedNativeRequest: Unable to parse native request"),null):(this.logger.trace("BrowserCacheManager.getCachedNativeRequest: No cached native request found"),null)}isInteractionInProgress(A){const H=this.getInteractionInProgress();return A?H===this.clientId:!!H}getInteractionInProgress(){return this.getTemporaryCache(`${u.Mv.CACHE_PREFIX}.${C.zH.INTERACTION_STATUS_KEY}`,!1)}setInteractionInProgress(A){const H=`${u.Mv.CACHE_PREFIX}.${C.zH.INTERACTION_STATUS_KEY}`;if(A){if(this.getInteractionInProgress())throw(0,f.Wq)(V.interactionInProgress);this.setTemporaryCache(H,this.clientId,!1)}else!A&&this.getInteractionInProgress()===this.clientId&&this.removeItem(H)}getLegacyLoginHint(){const A=this.getTemporaryCache(u.IH.ADAL_ID_TOKEN);A&&(this.browserStorage.removeItem(u.IH.ADAL_ID_TOKEN),this.logger.verbose("Cached ADAL id token retrieved."));const H=this.getTemporaryCache(u.IH.ID_TOKEN,!0);H&&(this.removeItem(this.generateCacheKey(u.IH.ID_TOKEN)),this.logger.verbose("Cached MSAL.js v1 id token retrieved"));const K=H||A;if(K){const ie=E.aw(K,L.W);if(ie.preferred_username)return this.logger.verbose("No SSO params used and ADAL/MSAL v1 token retrieved, setting ADAL/MSAL v1 preferred_username as loginHint"),ie.preferred_username;if(ie.upn)return this.logger.verbose("No SSO params used and ADAL/MSAL v1 token retrieved, setting ADAL/MSAL v1 upn as loginHint"),ie.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(A,H){const K=c.AZ(H);if(A!==K){const ie=this.getItem(A);if(ie)return this.removeItem(A),this.setItem(K,ie),this.logger.verbose(`Updated an outdated ${H.credentialType} cache key`),K;this.logger.error(`Attempted to update an outdated ${H.credentialType} cache key but no item matching the outdated key was found in storage`)}return A}getRedirectRequestContext(){return this.getTemporaryCache(C.zH.REDIRECT_CONTEXT,!0)}setRedirectRequestContext(A){this.setTemporaryCache(C.zH.REDIRECT_CONTEXT,A,!0)}hydrateCache(A,H){var K=this;return(0,n.c)(function*(){const ie=c.YF(A.account?.homeAccountId,A.account?.environment,A.idToken,K.clientId,A.tenantId);let X;H.claims&&(X=yield K.cryptoImpl.hashString(H.claims));const be=c.MJ(A.account?.homeAccountId,A.account.environment,A.accessToken,K.clientId,A.tenantId,A.scopes.join(" "),A.expiresOn?.getTime()||0,A.extExpiresOn?.getTime()||0,L.W,void 0,A.tokenType,void 0,H.sshKid,H.claims,X),ce=new S.O(void 0,ie,be);return K.saveCacheRecord(ce)})()}}const R=(k,A)=>new G(k,{cacheLocation:C.Ir.MemoryStorage,temporaryCacheLocation:C.Ir.MemoryStorage,storeAuthStateInCookie:!1,secureCookies:!1,cacheMigrationEnabled:!1,claimsBasedCachingEnabled:!1},y.K,A)},71720:(pe,m,s)=>{"use strict";s.d(m,{K:()=>c});var n=s(72592),l=s(26956),u=s(85288);class c{constructor(e){this.validateWindowStorage(e),this.windowStorage=window[e]}validateWindowStorage(e){if(e!==l.Ir.LocalStorage&&e!==l.Ir.SessionStorage||!window[e])throw(0,n.cf)(u.storageNotSupported)}getItem(e){return this.windowStorage.getItem(e)}setItem(e,o){this.windowStorage.setItem(e,o)}removeItem(e){this.windowStorage.removeItem(e)}getKeys(){return Object.keys(this.windowStorage)}containsKey(e){return this.windowStorage.hasOwnProperty(e)}}},61744:(pe,m,s)=>{"use strict";s.d(m,{W:()=>n});class n{constructor(){this.cache=new Map}getItem(u){return this.cache.get(u)||null}setItem(u,c){this.cache.set(u,c)}removeItem(u){this.cache.delete(u)}getKeys(){const u=[];return this.cache.forEach((c,i)=>{u.push(i)}),u}containsKey(u){return this.cache.has(u)}clear(){this.cache.clear()}}},48124:(pe,m,s)=>{"use strict";s.d(m,{Ks:()=>D,k5:()=>V});var n=s(34739),l=s(65072),u=s(67952),c=s(73364),i=s(80660),e=s(28876),o=s(71408);const h={sendGetRequestAsync:()=>Promise.reject((0,e.mQ)(o.methodNotImplemented)),sendPostRequestAsync:()=>Promise.reject((0,e.mQ)(o.methodNotImplemented))};var v=s(35128),M=s(59684),p=s(32336),E=s(26956),S=s(64952),y=s(1528),f=s(4792),C=s(32828);class _{sendGetRequestAsync(R,k){var A=this;return(0,y.c)(function*(){let H;try{H=yield fetch(R,{method:E.yI.GET,headers:A.getFetchHeaders(k)})}catch{throw window.navigator.onLine?(0,f.Wq)(C.getRequestFailed):(0,f.Wq)(C.noNetworkConnectivity)}try{return{headers:A.getHeaderDict(H.headers),body:yield H.json(),status:H.status}}catch{throw(0,f.Wq)(C.failedToParseResponse)}})()}sendPostRequestAsync(R,k){var A=this;return(0,y.c)(function*(){const H=k&&k.body||n.Mv.EMPTY_STRING;let K;try{K=yield fetch(R,{method:E.yI.POST,headers:A.getFetchHeaders(k),body:H})}catch{throw window.navigator.onLine?(0,f.Wq)(C.postRequestFailed):(0,f.Wq)(C.noNetworkConnectivity)}try{return{headers:A.getHeaderDict(K.headers),body:yield K.json(),status:K.status}}catch{throw(0,f.Wq)(C.failedToParseResponse)}})()}getFetchHeaders(R){const k=new Headers;if(!R||!R.headers)return k;const A=R.headers;return Object.keys(A).forEach(H=>{k.append(H,A[H])}),k}getHeaderDict(R){const k={};return R.forEach((A,H)=>{k[H]=A}),k}}const w=6e4,D=1e4,L=3e4,N=2e3;function V({auth:G,cache:R,system:k,telemetry:A},H){const K={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:l.g.AAD,OIDCOptions:{serverResponseType:n.eE.FRAGMENT,defaultScopes:[n.Mv.OPENID_SCOPE,n.Mv.PROFILE_SCOPE,n.Mv.OFFLINE_ACCESS_SCOPE]},azureCloudOptions:{azureCloudInstance:u.C.None,tenant:n.Mv.EMPTY_STRING},skipAuthorityMetadataCache:!1,supportsNestedAppAuth:!1},ie={cacheLocation:E.Ir.SessionStorage,temporaryCacheLocation:E.Ir.SessionStorage,storeAuthStateInCookie:!1,secureCookies:!1,cacheMigrationEnabled:!(!R||R.cacheLocation!==E.Ir.LocalStorage),claimsBasedCachingEnabled:!1},X={loggerCallback:()=>{},logLevel:c.G.Info,piiLoggingEnabled:!1},ce={...{...i.k5,loggerOptions:X,networkClient:H?new _:h,navigationClient:new S.m,loadFrameTimeout:0,windowHashTimeout:k?.loadFrameTimeout||w,iframeHashTimeout:k?.loadFrameTimeout||D,navigateFrameWait:0,redirectNavigationTimeout:L,asyncPopups:!1,allowRedirectInIframe:!1,allowNativeBroker:!1,nativeBrokerHandshakeTimeout:k?.nativeBrokerHandshakeTimeout||N,pollIntervalMilliseconds:E.ig.DEFAULT_POLL_INTERVAL_MS},...k,loggerOptions:k?.loggerOptions||X},ze={application:{appName:n.Mv.EMPTY_STRING,appVersion:n.Mv.EMPTY_STRING},client:new v._};if(G?.protocolMode!==l.g.OIDC&&G?.OIDCOptions&&new c.Y(ce.loggerOptions).warning(JSON.stringify((0,M.QN)(p.cannotSetOIDCOptions))),G?.protocolMode&&G.protocolMode!==l.g.AAD&&ce?.allowNativeBroker)throw(0,M.QN)(p.cannotAllowNativeBroker);return{auth:{...K,...G,OIDCOptions:{...K.OIDCOptions,...G?.OIDCOptions}},cache:{...ie,...R},system:ce,telemetry:{...ze,...A}}}},65304:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{StandardController:()=>Ir});var n=s(1528),l=s(7184),u=s(65172),c=s(25988),e=s(67648),o=s(28876),h=s(34739),v=s(74968),M=s(59684),p=s(65072),E=s(67952),f=s(85348),C=s(14035);let _=(()=>{class cn{constructor(F,Q,Se,he){this.networkInterface=F,this.logger=Q,this.performanceClient=Se,this.correlationId=he}detectRegion(F,Q){var Se=this;return(0,n.c)(function*(){Se.performanceClient?.addQueueMeasurement(f.Xv.RegionDiscoveryDetectRegion,Se.correlationId);let he=F;if(he)Q.region_source=h.Q$.ENVIRONMENT_VARIABLE;else{const q=cn.IMDS_OPTIONS;try{const de=yield(0,C.C)(Se.getRegionFromIMDS.bind(Se),f.Xv.RegionDiscoveryGetRegionFromIMDS,Se.logger,Se.performanceClient,Se.correlationId)(h.Mv.IMDS_VERSION,q);if(de.status===h.sL.httpSuccess&&(he=de.body,Q.region_source=h.Q$.IMDS),de.status===h.sL.httpBadRequest){const qe=yield(0,C.C)(Se.getCurrentVersion.bind(Se),f.Xv.RegionDiscoveryGetCurrentVersion,Se.logger,Se.performanceClient,Se.correlationId)(q);if(!qe)return Q.region_source=h.Q$.FAILED_AUTO_DETECTION,null;const ht=yield(0,C.C)(Se.getRegionFromIMDS.bind(Se),f.Xv.RegionDiscoveryGetRegionFromIMDS,Se.logger,Se.performanceClient,Se.correlationId)(qe,q);ht.status===h.sL.httpSuccess&&(he=ht.body,Q.region_source=h.Q$.IMDS)}}catch{return Q.region_source=h.Q$.FAILED_AUTO_DETECTION,null}}return he||(Q.region_source=h.Q$.FAILED_AUTO_DETECTION),he||null})()}getRegionFromIMDS(F,Q){var Se=this;return(0,n.c)(function*(){return Se.performanceClient?.addQueueMeasurement(f.Xv.RegionDiscoveryGetRegionFromIMDS,Se.correlationId),Se.networkInterface.sendGetRequestAsync(`${h.Mv.IMDS_ENDPOINT}?api-version=${F}&format=text`,Q,h.Mv.IMDS_TIMEOUT)})()}getCurrentVersion(F){var Q=this;return(0,n.c)(function*(){Q.performanceClient?.addQueueMeasurement(f.Xv.RegionDiscoveryGetCurrentVersion,Q.correlationId);try{const Se=yield Q.networkInterface.sendGetRequestAsync(`${h.Mv.IMDS_ENDPOINT}?format=json`,F);return Se.status===h.sL.httpBadRequest&&Se.body&&Se.body["newest-versions"]&&Se.body["newest-versions"].length>0?Se.body["newest-versions"][0]:null}catch{return null}})()}}return cn.IMDS_OPTIONS={headers:{Metadata:"true"}},cn})();var w=s(66936),D=s(72584),L=s(71408),N=s(32336);class V{constructor(x,F,Q,Se,he,q,de){this.canonicalAuthority=x,this._canonicalAuthority.validateAsUri(),this.networkInterface=F,this.cacheManager=Q,this.authorityOptions=Se,this.regionDiscoveryMetadata={region_used:void 0,region_source:void 0,region_outcome:void 0},this.logger=he,this.performanceClient=de,this.correlationId=q,this.regionDiscovery=new _(F,this.logger,this.performanceClient,this.correlationId)}getAuthorityType(x){if(x.HostNameAndPort.endsWith(h.Mv.CIAM_AUTH_URL))return c.O.Ciam;const F=x.PathSegments;if(F.length)switch(F[0].toLowerCase()){case h.Mv.ADFS:return c.O.Adfs;case h.Mv.DSTS:return c.O.Dsts}return c.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(x){this._canonicalAuthority=new e._(x),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,o.mQ)(L.endpointResolutionError)}get tokenEndpoint(){if(this.discoveryComplete())return this.replacePath(this.metadata.token_endpoint);throw(0,o.mQ)(L.endpointResolutionError)}get deviceCodeEndpoint(){if(this.discoveryComplete())return this.replacePath(this.metadata.token_endpoint.replace("/token","/devicecode"));throw(0,o.mQ)(L.endpointResolutionError)}get endSessionEndpoint(){if(this.discoveryComplete()){if(!this.metadata.end_session_endpoint)throw(0,o.mQ)(L.endSessionEndpointNotSupported);return this.replacePath(this.metadata.end_session_endpoint)}throw(0,o.mQ)(L.endpointResolutionError)}get selfSignedJwtAudience(){if(this.discoveryComplete())return this.replacePath(this.metadata.issuer);throw(0,o.mQ)(L.endpointResolutionError)}get jwksUri(){if(this.discoveryComplete())return this.replacePath(this.metadata.jwks_uri);throw(0,o.mQ)(L.endpointResolutionError)}canReplaceTenant(x){return 1===x.PathSegments.length&&!V.reservedTenantDomains.has(x.PathSegments[0])&&this.getAuthorityType(x)===c.O.Default&&this.protocolMode===p.g.AAD}replaceTenant(x){return x.replace(/{tenant}|{tenantid}/g,this.tenant)}replacePath(x){let F=x;const Se=new e._(this.metadata.canonical_authority).getUrlComponents(),he=Se.PathSegments;return this.canonicalAuthorityUrlComponents.PathSegments.forEach((de,qe)=>{let ht=he[qe];if(0===qe&&this.canReplaceTenant(Se)){const St=new e._(this.metadata.authorization_endpoint).getUrlComponents().PathSegments[0];ht!==St&&(this.logger.verbose(`Replacing tenant domain name ${ht} with id ${St}`),ht=St)}de!==ht&&(F=F.replace(`/${ht}/`,`/${de}/`))}),this.replaceTenant(F)}get defaultOpenIdConfigurationEndpoint(){const x=this.hostnameAndPort;return this.canonicalAuthority.endsWith("v2.0/")||this.authorityType===c.O.Adfs||this.protocolMode!==p.g.AAD&&!this.isAliasOfKnownMicrosoftAuthority(x)?`${this.canonicalAuthority}.well-known/openid-configuration`:`${this.canonicalAuthority}v2.0/.well-known/openid-configuration`}discoveryComplete(){return!!this.metadata}resolveEndpointsAsync(){var x=this;return(0,n.c)(function*(){x.performanceClient?.addQueueMeasurement(f.Xv.AuthorityResolveEndpointsAsync,x.correlationId);const F=x.getCurrentMetadataEntity(),Q=yield(0,C.C)(x.updateCloudDiscoveryMetadata.bind(x),f.Xv.AuthorityUpdateCloudDiscoveryMetadata,x.logger,x.performanceClient,x.correlationId)(F);x.canonicalAuthority=x.canonicalAuthority.replace(x.hostnameAndPort,F.preferred_network);const Se=yield(0,C.C)(x.updateEndpointMetadata.bind(x),f.Xv.AuthorityUpdateEndpointMetadata,x.logger,x.performanceClient,x.correlationId)(F);x.updateCachedMetadata(F,Q,{source:Se}),x.performanceClient?.addFields({cloudDiscoverySource:Q,authorityEndpointSource:Se},x.correlationId)})()}getCurrentMetadataEntity(){let x=this.cacheManager.getAuthorityMetadataByAlias(this.hostnameAndPort);return x||(x={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,D.gv)(),jwks_uri:""}),x}updateCachedMetadata(x,F,Q){F!==h.cv.CACHE&&Q?.source!==h.cv.CACHE&&(x.expiresAt=(0,D.gv)(),x.canonical_authority=this.canonicalAuthority);const Se=this.cacheManager.generateAuthorityMetadataCacheKey(x.preferred_cache);this.cacheManager.setAuthorityMetadata(Se,x),this.metadata=x}updateEndpointMetadata(x){var F=this;return(0,n.c)(function*(){F.performanceClient?.addQueueMeasurement(f.Xv.AuthorityUpdateEndpointMetadata,F.correlationId);const Q=F.updateEndpointMetadataFromLocalSources(x);if(Q){if(Q.source===h.cv.HARDCODED_VALUES&&F.authorityOptions.azureRegionConfiguration?.azureRegion&&Q.metadata){const he=yield(0,C.C)(F.updateMetadataWithRegionalInformation.bind(F),f.Xv.AuthorityUpdateMetadataWithRegionalInformation,F.logger,F.performanceClient,F.correlationId)(Q.metadata);(0,D.sH)(x,he,!1),x.canonical_authority=F.canonicalAuthority}return Q.source}let Se=yield(0,C.C)(F.getEndpointMetadataFromNetwork.bind(F),f.Xv.AuthorityGetEndpointMetadataFromNetwork,F.logger,F.performanceClient,F.correlationId)();if(Se)return F.authorityOptions.azureRegionConfiguration?.azureRegion&&(Se=yield(0,C.C)(F.updateMetadataWithRegionalInformation.bind(F),f.Xv.AuthorityUpdateMetadataWithRegionalInformation,F.logger,F.performanceClient,F.correlationId)(Se)),(0,D.sH)(x,Se,!0),h.cv.NETWORK;throw(0,o.mQ)(L.openIdConfigError,F.defaultOpenIdConfigurationEndpoint)})()}updateEndpointMetadataFromLocalSources(x){this.logger.verbose("Attempting to get endpoint metadata from authority configuration");const F=this.getEndpointMetadataFromConfig();if(F)return this.logger.verbose("Found endpoint metadata in authority configuration"),(0,D.sH)(x,F,!1),{source:h.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 Se=this.getEndpointMetadataFromHardcodedValues();if(Se)return(0,D.sH)(x,Se,!1),{source:h.cv.HARDCODED_VALUES,metadata:Se};this.logger.verbose("Did not find endpoint metadata in hardcoded values... Attempting to get endpoint metadata from the network metadata cache.")}const Q=(0,D.mk)(x);return this.isAuthoritySameType(x)&&x.endpointsFromNetwork&&!Q?(this.logger.verbose("Found endpoint metadata in the cache."),{source:h.cv.CACHE}):(Q&&this.logger.verbose("The metadata entity is expired."),null)}isAuthoritySameType(x){return new e._(x.canonical_authority).getUrlComponents().PathSegments.length===this.canonicalAuthorityUrlComponents.PathSegments.length}getEndpointMetadataFromConfig(){if(this.authorityOptions.authorityMetadata)try{return JSON.parse(this.authorityOptions.authorityMetadata)}catch{throw(0,M.QN)(N.invalidAuthorityMetadata)}return null}getEndpointMetadataFromNetwork(){var x=this;return(0,n.c)(function*(){x.performanceClient?.addQueueMeasurement(f.Xv.AuthorityGetEndpointMetadataFromNetwork,x.correlationId);const F={},Q=x.defaultOpenIdConfigurationEndpoint;x.logger.verbose(`Authority.getEndpointMetadataFromNetwork: attempting to retrieve OAuth endpoints from ${Q}`);try{const Se=yield x.networkInterface.sendGetRequestAsync(Q,F);return function i(cn){return cn.hasOwnProperty("authorization_endpoint")&&cn.hasOwnProperty("token_endpoint")&&cn.hasOwnProperty("issuer")&&cn.hasOwnProperty("jwks_uri")}(Se.body)?Se.body:(x.logger.verbose("Authority.getEndpointMetadataFromNetwork: could not parse response as OpenID configuration"),null)}catch(Se){return x.logger.verbose(`Authority.getEndpointMetadataFromNetwork: ${Se}`),null}})()}getEndpointMetadataFromHardcodedValues(){return this.hostnameAndPort in v.gB?v.gB[this.hostnameAndPort]:null}updateMetadataWithRegionalInformation(x){var F=this;return(0,n.c)(function*(){F.performanceClient?.addQueueMeasurement(f.Xv.AuthorityUpdateMetadataWithRegionalInformation,F.correlationId);const Q=F.authorityOptions.azureRegionConfiguration?.azureRegion;if(Q){if(Q!==h.Mv.AZURE_REGION_AUTO_DISCOVER_FLAG)return F.regionDiscoveryMetadata.region_outcome=h.wR.CONFIGURED_NO_AUTO_DETECTION,F.regionDiscoveryMetadata.region_used=Q,V.replaceWithRegionalInformation(x,Q);const Se=yield(0,C.C)(F.regionDiscovery.detectRegion.bind(F.regionDiscovery),f.Xv.RegionDiscoveryDetectRegion,F.logger,F.performanceClient,F.correlationId)(F.authorityOptions.azureRegionConfiguration?.environmentRegion,F.regionDiscoveryMetadata);if(Se)return F.regionDiscoveryMetadata.region_outcome=h.wR.AUTO_DETECTION_REQUESTED_SUCCESSFUL,F.regionDiscoveryMetadata.region_used=Se,V.replaceWithRegionalInformation(x,Se);F.regionDiscoveryMetadata.region_outcome=h.wR.AUTO_DETECTION_REQUESTED_FAILED}return x})()}updateCloudDiscoveryMetadata(x){var F=this;return(0,n.c)(function*(){F.performanceClient?.addQueueMeasurement(f.Xv.AuthorityUpdateCloudDiscoveryMetadata,F.correlationId);const Q=F.updateCloudDiscoveryMetadataFromLocalSources(x);if(Q)return Q;const Se=yield(0,C.C)(F.getCloudDiscoveryMetadataFromNetwork.bind(F),f.Xv.AuthorityGetCloudDiscoveryMetadataFromNetwork,F.logger,F.performanceClient,F.correlationId)();if(Se)return(0,D.cb)(x,Se,!0),h.cv.NETWORK;throw(0,M.QN)(N.untrustedAuthority)})()}updateCloudDiscoveryMetadataFromLocalSources(x){this.logger.verbose("Attempting to get cloud discovery metadata from authority configuration"),this.logger.verbosePii(`Known Authorities: ${this.authorityOptions.knownAuthorities||h.Mv.NOT_APPLICABLE}`),this.logger.verbosePii(`Authority Metadata: ${this.authorityOptions.authorityMetadata||h.Mv.NOT_APPLICABLE}`),this.logger.verbosePii(`Canonical Authority: ${x.canonical_authority||h.Mv.NOT_APPLICABLE}`);const F=this.getCloudDiscoveryMetadataFromConfig();if(F)return this.logger.verbose("Found cloud discovery metadata in authority configuration"),(0,D.cb)(x,F,!1),h.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 Se=(0,v.UD)(this.hostnameAndPort);if(Se)return this.logger.verbose("Found cloud discovery metadata from hardcoded values."),(0,D.cb)(x,Se,!1),h.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 Q=(0,D.mk)(x);return this.isAuthoritySameType(x)&&x.aliasesFromNetwork&&!Q?(this.logger.verbose("Found cloud discovery metadata in the cache."),h.cv.CACHE):(Q&&this.logger.verbose("The metadata entity is expired."),null)}getCloudDiscoveryMetadataFromConfig(){if(this.authorityType===c.O.Ciam)return this.logger.verbose("CIAM authorities do not support cloud discovery metadata, generate the aliases from authority host."),V.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 x=JSON.parse(this.authorityOptions.cloudDiscoveryMetadata),F=(0,v._8)(x.metadata,this.hostnameAndPort);if(this.logger.verbose("Parsed the cloud discovery metadata."),F)return this.logger.verbose("There is returnable metadata attached to the parsed cloud discovery metadata."),F;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,M.QN)(N.invalidCloudDiscoveryMetadata)}}return this.isInKnownAuthorities()?(this.logger.verbose("The host is included in knownAuthorities. Creating new cloud discovery metadata from the host."),V.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort)):null}getCloudDiscoveryMetadataFromNetwork(){var x=this;return(0,n.c)(function*(){x.performanceClient?.addQueueMeasurement(f.Xv.AuthorityGetCloudDiscoveryMetadataFromNetwork,x.correlationId);const F=`${h.Mv.AAD_INSTANCE_DISCOVERY_ENDPT}${x.canonicalAuthority}oauth2/v2.0/authorize`,Q={};let Se=null;try{const he=yield x.networkInterface.sendGetRequestAsync(F,Q);let q,de;if(function S(cn){return cn.hasOwnProperty("tenant_discovery_endpoint")&&cn.hasOwnProperty("metadata")}(he.body))q=he.body,de=q.metadata,x.logger.verbosePii(`tenant_discovery_endpoint is: ${q.tenant_discovery_endpoint}`);else{if(!function y(cn){return cn.hasOwnProperty("error")&&cn.hasOwnProperty("error_description")}(he.body))return x.logger.error("AAD did not return a CloudInstanceDiscoveryResponse or CloudInstanceDiscoveryErrorResponse"),null;if(x.logger.warning(`A CloudInstanceDiscoveryErrorResponse was returned. The cloud instance discovery network request's status code is: ${he.status}`),q=he.body,q.error===h.Mv.INVALID_INSTANCE)return x.logger.error("The CloudInstanceDiscoveryErrorResponse error is invalid_instance."),null;x.logger.warning(`The CloudInstanceDiscoveryErrorResponse error is ${q.error}`),x.logger.warning(`The CloudInstanceDiscoveryErrorResponse error description is ${q.error_description}`),x.logger.warning("Setting the value of the CloudInstanceDiscoveryMetadata (returned from the network) to []"),de=[]}x.logger.verbose("Attempting to find a match between the developer's authority and the CloudInstanceDiscoveryMetadata returned from the network request."),Se=(0,v._8)(de,x.hostnameAndPort)}catch(he){return x.logger.error(he instanceof w.WM?`There was a network error while attempting to get the cloud discovery instance metadata.\nError: ${he.errorCode}\nError Description: ${he.errorMessage}`:`A non-MSALJS error was thrown while attempting to get the cloud instance discovery metadata.\nError: ${he.name}\nError Description: ${he.message}`),null}return Se||(x.logger.warning("The developer's authority was not found within the CloudInstanceDiscoveryMetadata returned from the network request."),x.logger.verbose("Creating custom Authority for custom domain scenario."),Se=V.createCloudDiscoveryMetadataFromHost(x.hostnameAndPort)),Se})()}isInKnownAuthorities(){return this.authorityOptions.knownAuthorities.filter(F=>F&&e._.getDomainFromUrl(F).toLowerCase()===this.hostnameAndPort).length>0}static generateAuthority(x,F){let Q;return F&&F.azureCloudInstance!==E.C.None&&(Q=`${F.azureCloudInstance}/${F.tenant?F.tenant:h.Mv.DEFAULT_COMMON_TENANT}/`),Q||x}static createCloudDiscoveryMetadataFromHost(x){return{preferred_network:x,preferred_cache:x,aliases:[x]}}getPreferredCache(){if(this.discoveryComplete())return this.metadata.preferred_cache;throw(0,o.mQ)(L.endpointResolutionError)}isAlias(x){return this.metadata.aliases.indexOf(x)>-1}isAliasOfKnownMicrosoftAuthority(x){return v.IP.has(x)}static isPublicCloudAuthority(x){return h.Mv.KNOWN_PUBLIC_CLOUDS.indexOf(x)>=0}static buildRegionalAuthorityString(x,F,Q){const Se=new e._(x);Se.validateAsUri();const he=Se.getUrlComponents();let q=`${F}.${he.HostNameAndPort}`;this.isPublicCloudAuthority(he.HostNameAndPort)&&(q=`${F}.${h.Mv.REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX}`);const de=e._.constructAuthorityUriFromObject({...Se.getUrlComponents(),HostNameAndPort:q}).urlString;return Q?`${de}?${Q}`:de}static replaceWithRegionalInformation(x,F){const Q={...x};return Q.authorization_endpoint=V.buildRegionalAuthorityString(Q.authorization_endpoint,F),Q.token_endpoint=V.buildRegionalAuthorityString(Q.token_endpoint,F),Q.end_session_endpoint&&(Q.end_session_endpoint=V.buildRegionalAuthorityString(Q.end_session_endpoint,F)),Q}static transformCIAMAuthority(x){let F=x;const Se=new e._(x).getUrlComponents();return 0===Se.PathSegments.length&&Se.HostNameAndPort.endsWith(h.Mv.CIAM_AUTH_URL)&&(F=`${F}${Se.HostNameAndPort.split(".")[0]}${h.Mv.AAD_TENANT_DOMAIN_SUFFIX}`),F}}function R(cn){return cn.endsWith(h.Mv.FORWARD_SLASH)?cn:`${cn}${h.Mv.FORWARD_SLASH}`}V.reservedTenantDomains=new Set(["{tenant}","{tenantid}",h.sN.COMMON,h.sN.CONSUMERS,h.sN.ORGANIZATIONS]);var A=s(53408),H=s(98416),K=s(72896),ie=s(69812),X=s(26956),be=s(84644),ce=s(28612),ze=s(72592),ct=s(85968),xe=s(76944);class Ie{static generateThrottlingStorageKey(x){return`${h.gr.THROTTLING_PREFIX}.${JSON.stringify(x)}`}static preProcess(x,F){const Q=Ie.generateThrottlingStorageKey(F),Se=x.getThrottlingCache(Q);if(Se){if(Se.throttleTime=500&&x.status<600}static checkResponseForRetryAfter(x){return!!x.headers&&x.headers.hasOwnProperty(h.MF.RETRY_AFTER)&&(x.status<200||x.status>=300)}static calculateThrottleTime(x){const F=x<=0?0:x,Q=Date.now()/1e3;return Math.floor(1e3*Math.min(Q+(F||h.gr.DEFAULT_THROTTLE_TIME_SECONDS),Q+h.gr.DEFAULT_MAX_THROTTLE_TIME_SECONDS))}static removeThrottle(x,F,Q,Se){const q=this.generateThrottlingStorageKey({clientId:F,authority:Q.authority,scopes:Q.scopes,homeAccountIdentifier:Se,claims:Q.claims,authenticationScheme:Q.authenticationScheme,resourceRequestMethod:Q.resourceRequestMethod,resourceRequestUri:Q.resourceRequestUri,shrClaims:Q.shrClaims,sshKid:Q.sshKid});x.removeItem(q)}}var Le=s(86144),Ue=s(80660);class Xe{constructor(x,F){this.networkClient=x,this.cacheManager=F}sendPostRequest(x,F,Q){var Se=this;return(0,n.c)(function*(){let he;Ie.preProcess(Se.cacheManager,x);try{he=yield Se.networkClient.sendPostRequestAsync(F,Q)}catch(q){throw q instanceof w.WM?q:(0,o.mQ)(L.networkError)}return Ie.postProcess(Se.cacheManager,x,he),he})()}}var _e=s(73364),Fe=s(75205),Ce=s(16256),Ae=s(22045),Be=s(33363);function re(cn,x,F,Q,Se,he,q){return Ee.apply(this,arguments)}function Ee(){return(Ee=(0,n.c)(function*(cn,x,F,Q,Se,he,q){q?.addQueueMeasurement(f.Xv.AuthorityFactoryCreateDiscoveredInstance,he);const de=V.transformCIAMAuthority(R(cn)),qe=new V(de,x,F,Q,Se,he,q);try{return yield(0,C.C)(qe.resolveEndpointsAsync.bind(qe),f.Xv.AuthorityResolveEndpointsAsync,Se,q,he)(),qe}catch{throw(0,o.mQ)(L.endpointResolutionError)}})).apply(this,arguments)}class et{constructor(x,F){this.config=(0,Ue.cJ)(x),this.logger=new _e.Y(this.config.loggerOptions,Fe.N,Fe.W),this.cryptoUtils=this.config.cryptoInterface,this.cacheManager=this.config.storageInterface,this.networkClient=this.config.networkInterface,this.networkManager=new Xe(this.networkClient,this.cacheManager),this.serverTelemetryManager=this.config.serverTelemetryManager,this.authority=this.config.authOptions.authority,this.performanceClient=F}createTokenRequestHeaders(x){const F={};if(F[h.MF.CONTENT_TYPE]=h.Mv.URL_FORM_CONTENT_TYPE,!this.config.systemOptions.preventCorsPreflight&&x)switch(x.type){case Ce.s.HOME_ACCOUNT_ID:try{const Q=(0,Ae.k)(x.credential);F[h.MF.CCS_HEADER]=`Oid:${Q.uid}@${Q.utid}`}catch(Q){this.logger.verbose("Could not parse home account ID for CCS Header: "+Q)}break;case Ce.s.UPN:F[h.MF.CCS_HEADER]=`UPN: ${x.credential}`}return F}executePostToTokenEndpoint(x,F,Q,Se,he,q){var de=this;return(0,n.c)(function*(){q&&de.performanceClient?.addQueueMeasurement(q,he);const qe=yield de.networkManager.sendPostRequest(Se,x,{body:F,headers:Q});return de.performanceClient?.addFields({refreshTokenSize:qe.body.refresh_token?.length||0,httpVerToken:qe.headers?.[h.MF.X_MS_HTTP_VERSION]||""},he),de.config.serverTelemetryManager&&qe.status<500&&429!==qe.status&&de.config.serverTelemetryManager.clearTelemetryCache(),qe})()}updateAuthority(x,F){var Q=this;return(0,n.c)(function*(){Q.performanceClient?.addQueueMeasurement(f.Xv.UpdateTokenEndpointAuthority,F);const Se=`https://${x}/${Q.authority.tenant}/`,he=yield re(Se,Q.networkClient,Q.cacheManager,Q.authority.options,Q.logger,F,Q.performanceClient);Q.authority=he})()}createTokenQueryParameters(x){const F=new Be.I;return x.tokenQueryParameters&&F.addExtraQueryParameters(x.tokenQueryParameters),F.createQueryString()}}var vt=s(91076),Tt=s(95248),dt=s(9488),ot=s(46392);class Vt{constructor(x,F){this.cache=x,this.hasChanged=F}get cacheHasChanged(){return this.hasChanged}get tokenCache(){return this.cache}}var nn=s(6400),vn=s(79032),zt=s(60928);class Xt{constructor(x,F,Q,Se,he,q,de){this.clientId=x,this.cacheStorage=F,this.cryptoObj=Q,this.logger=Se,this.serializableCache=he,this.persistencePlugin=q,this.performanceClient=de}validateServerAuthorizationCodeResponse(x,F){if(!x.state||!F)throw(0,o.mQ)(L.stateNotFound,x.state?"Cached State":"Server State");let Q,Se;try{Q=decodeURIComponent(x.state)}catch{throw(0,o.mQ)(L.invalidState,x.state)}try{Se=decodeURIComponent(F)}catch{throw(0,o.mQ)(L.invalidState,x.state)}if(Q!==Se)throw(0,o.mQ)(L.stateMismatch);if(x.error||x.error_description||x.suberror)throw(0,A.aq)(x.error,x.error_description,x.suberror)?new A.uw(x.error||"",x.error_description,x.suberror,x.timestamp||"",x.trace_id||"",x.correlation_id||"",x.claims||""):new xe.s(x.error||"",x.error_description,x.suberror)}validateTokenResponse(x,F){if(x.error||x.error_description||x.suberror){const Se=new xe.s(x.error,`${x.error_codes} - [${x.timestamp}]: ${x.error_description} - Correlation ID: ${x.correlation_id} - Trace ID: ${x.trace_id}`,x.suberror);if(F&&x.status&&x.status>=h.Q3.SERVER_ERROR_RANGE_START&&x.status<=h.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${Se}`);if(F&&x.status&&x.status>=h.Q3.CLIENT_ERROR_RANGE_START&&x.status<=h.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${Se}`);throw(0,A.aq)(x.error,x.error_description,x.suberror)?new A.uw(x.error,x.error_description,x.suberror,x.timestamp||h.Mv.EMPTY_STRING,x.trace_id||h.Mv.EMPTY_STRING,x.correlation_id||h.Mv.EMPTY_STRING,x.claims||h.Mv.EMPTY_STRING):Se}}handleServerTokenResponse(x,F,Q,Se,he,q,de,qe,ht){var St=this;return(0,n.c)(function*(){let Ft,en;if(St.performanceClient?.addQueueMeasurement(f.Xv.HandleServerTokenResponse,x.correlation_id),x.id_token){if(Ft=(0,nn.aw)(x.id_token||h.Mv.EMPTY_STRING,St.cryptoObj.base64Decode),he&&he.nonce&&Ft.nonce!==he.nonce)throw(0,o.mQ)(L.nonceMismatch);if(Se.maxAge||0===Se.maxAge){const bn=Ft.auth_time;if(!bn)throw(0,o.mQ)(L.authTimeNotFound);(0,nn.UH)(bn,Se.maxAge)}}St.homeAccountIdentifier=H.M.generateHomeAccountId(x.client_info||h.Mv.EMPTY_STRING,F.authorityType,St.logger,St.cryptoObj,Ft),he&&he.state&&(en=Le.c.parseRequestState(St.cryptoObj,he.state)),x.key_id=x.key_id||Se.sshKid||void 0;const gn=St.generateCacheRecord(x,F,Q,Se,Ft,q,he);let _n;try{if(St.persistencePlugin&&St.serializableCache&&(St.logger.verbose("Persistence enabled, calling beforeCacheAccess"),_n=new Vt(St.serializableCache,!0),yield St.persistencePlugin.beforeCacheAccess(_n)),de&&!qe&&gn.account){const bn=gn.account.generateAccountKey();if(!St.cacheStorage.getAccount(bn,St.logger))return St.logger.warning("Account used to refresh tokens not in persistence, refreshed tokens will not be stored in the cache"),yield Xt.generateAuthenticationResult(St.cryptoObj,F,gn,!1,Se,Ft,en,void 0,ht)}yield St.cacheStorage.saveCacheRecord(gn,Se.storeInCache)}finally{St.persistencePlugin&&St.serializableCache&&_n&&(St.logger.verbose("Persistence enabled, calling afterCacheAccess"),yield St.persistencePlugin.afterCacheAccess(_n))}return Xt.generateAuthenticationResult(St.cryptoObj,F,gn,!1,Se,Ft,en,x,ht)})()}generateCacheRecord(x,F,Q,Se,he,q,de){const qe=F.getPreferredCache();if(!qe)throw(0,o.mQ)(L.invalidCacheEnvironment);const ht=(0,vn.c)(he);let St,Ft;x.id_token&&he&&(St=(0,D.YF)(this.homeAccountIdentifier,qe,x.id_token,this.clientId,ht||""),Ft=En(this.cacheStorage,F,this.homeAccountIdentifier,he,this.cryptoObj.base64Decode,x.client_info,qe,ht,de,void 0,this.logger));let en=null;if(x.access_token){const bn=x.scope?Tt.k.fromString(x.scope):new Tt.k(Se.scopes||[]),hn=("string"==typeof x.expires_in?parseInt(x.expires_in,10):x.expires_in)||0,In=("string"==typeof x.ext_expires_in?parseInt(x.ext_expires_in,10):x.ext_expires_in)||0,Un=("string"==typeof x.refresh_in?parseInt(x.refresh_in,10):x.refresh_in)||void 0,_r=Q+hn,hr=_r+In,Lr=Un&&Un>0?Q+Un:void 0;en=(0,D.MJ)(this.homeAccountIdentifier,qe,x.access_token,this.clientId,ht||F.tenant||"",bn.printScopes(),_r,hr,this.cryptoObj.base64Decode,Lr,x.token_type,q,x.key_id,Se.claims,Se.requestedClaimsHash)}let gn=null;if(x.refresh_token){let bn;x.refresh_token_expires_in&&(bn=Q+("string"==typeof x.refresh_token_expires_in?parseInt(x.refresh_token_expires_in,10):x.refresh_token_expires_in)),gn=(0,D._c)(this.homeAccountIdentifier,qe,x.refresh_token,this.clientId,x.foci,q,bn)}let _n=null;return x.foci&&(_n={clientId:this.clientId,environment:qe,familyId:x.foci}),new dt.O(Ft,St,en,gn,_n)}static generateAuthenticationResult(x,F,Q,Se,he,q,de,qe,ht){return(0,n.c)(function*(){let gn,_n,St=h.Mv.EMPTY_STRING,Ft=[],en=null,bn=h.Mv.EMPTY_STRING;if(Q.accessToken){if(Q.accessToken.tokenType===h.me.POP){const _r=new ot.w(x),{secret:hr,keyId:Lr}=Q.accessToken;if(!Lr)throw(0,o.mQ)(L.keyIdMissing);St=yield _r.signPopToken(hr,Lr,he)}else St=Q.accessToken.secret;Ft=Tt.k.fromString(Q.accessToken.target).asArray(),en=new Date(1e3*Number(Q.accessToken.expiresOn)),gn=new Date(1e3*Number(Q.accessToken.extendedExpiresOn)),Q.accessToken.refreshOn&&(_n=new Date(1e3*Number(Q.accessToken.refreshOn)))}Q.appMetadata&&(bn=Q.appMetadata.familyId===h.wj?h.wj:"");const hn=q?.oid||q?.sub||"",In=q?.tid||"";qe?.spa_accountid&&Q.account&&(Q.account.nativeAccountId=qe?.spa_accountid);const Un=Q.account?(0,zt.Ho)(Q.account.getAccountInfo(),void 0,q,Q.idToken?.secret):null;return{authority:F.canonicalAuthority,uniqueId:hn,tenantId:In,scopes:Ft,account:Un,idToken:Q?.idToken?.secret||"",idTokenClaims:q||{},accessToken:St,fromCache:Se,expiresOn:en,extExpiresOn:gn,refreshOn:_n,correlationId:he.correlationId,requestId:ht||h.Mv.EMPTY_STRING,familyId:bn,tokenType:Q.accessToken?.tokenType||h.Mv.EMPTY_STRING,state:de?de.userRequestState:h.Mv.EMPTY_STRING,cloudGraphHostName:Q.account?.cloudGraphHostName||h.Mv.EMPTY_STRING,msGraphHost:Q.account?.msGraphHost||h.Mv.EMPTY_STRING,code:qe?.spa_code,fromNativeBroker:!1}})()}}function En(cn,x,F,Q,Se,he,q,de,qe,ht,St){St?.verbose("setCachedAccount called");const en=cn.getAccountKeys().find(hn=>hn.startsWith(F));let gn=null;en&&(gn=cn.getAccount(en,St));const _n=gn||H.M.createAccount({homeAccountId:F,idTokenClaims:Q,clientInfo:he,environment:q,cloudGraphHostName:qe?.cloud_graph_host_name,msGraphHost:qe?.msgraph_host,nativeAccountId:ht},x,Se),bn=_n.tenantProfiles||[];if(de&&!bn.find(hn=>hn.tenantId===de)){const hn=(0,zt.EJ)(F,Q);bn.push(hn)}return _n.tenantProfiles=bn,_n}var $n=s(7828),Wt=s(50160),zn=s(77768);class kn extends et{constructor(x,F){super(x,F),this.includeRedirectUri=!0,this.oidcDefaultScopes=this.config.authOptions.authority.options.OIDCOptions?.defaultScopes}getAuthCodeUrl(x){var F=this;return(0,n.c)(function*(){F.performanceClient?.addQueueMeasurement(f.Xv.GetAuthCodeUrl,x.correlationId);const Q=yield(0,C.C)(F.createAuthCodeUrlQueryString.bind(F),f.Xv.AuthClientCreateQueryString,F.logger,F.performanceClient,x.correlationId)(x);return e._.appendQueryString(F.authority.authorizationEndpoint,Q)})()}acquireToken(x,F){var Q=this;return(0,n.c)(function*(){if(Q.performanceClient?.addQueueMeasurement(f.Xv.AuthClientAcquireToken,x.correlationId),!x.code)throw(0,o.mQ)(L.requestCannotBeMade);const Se=(0,Wt.GO)(),he=yield(0,C.C)(Q.executeTokenRequest.bind(Q),f.Xv.AuthClientExecuteTokenRequest,Q.logger,Q.performanceClient,x.correlationId)(Q.authority,x),q=he.headers?.[h.MF.X_MS_REQUEST_ID],de=new Xt(Q.config.authOptions.clientId,Q.cacheManager,Q.cryptoUtils,Q.logger,Q.config.serializableCache,Q.config.persistencePlugin,Q.performanceClient);return de.validateTokenResponse(he.body),(0,C.C)(de.handleServerTokenResponse.bind(de),f.Xv.HandleServerTokenResponse,Q.logger,Q.performanceClient,x.correlationId)(he.body,Q.authority,Se,x,F,void 0,void 0,void 0,q)})()}handleFragmentResponse(x,F){if(new Xt(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,null,null).validateServerAuthorizationCodeResponse(x,F),!x.code)throw(0,o.mQ)(L.authorizationCodeMissingFromServerResponse);return x}getLogoutUri(x){if(!x)throw(0,M.QN)(N.logoutRequestEmpty);const F=this.createLogoutUrlQueryString(x);return e._.appendQueryString(this.authority.endSessionEndpoint,F)}executeTokenRequest(x,F){var Q=this;return(0,n.c)(function*(){Q.performanceClient?.addQueueMeasurement(f.Xv.AuthClientExecuteTokenRequest,F.correlationId);const Se=Q.createTokenQueryParameters(F),he=e._.appendQueryString(x.tokenEndpoint,Se),q=yield(0,C.C)(Q.createTokenRequestBody.bind(Q),f.Xv.AuthClientCreateTokenRequestBody,Q.logger,Q.performanceClient,F.correlationId)(F);let de;if(F.clientInfo)try{const St=(0,Ae.G)(F.clientInfo,Q.cryptoUtils.base64Decode);de={credential:`${St.uid}${h.Mj.CLIENT_INFO_SEPARATOR}${St.utid}`,type:Ce.s.HOME_ACCOUNT_ID}}catch(St){Q.logger.verbose("Could not parse client info for CCS Header: "+St)}const qe=Q.createTokenRequestHeaders(de||F.ccsCredential),ht={clientId:F.tokenBodyParameters?.clientId||Q.config.authOptions.clientId,authority:x.canonicalAuthority,scopes:F.scopes,claims:F.claims,authenticationScheme:F.authenticationScheme,resourceRequestMethod:F.resourceRequestMethod,resourceRequestUri:F.resourceRequestUri,shrClaims:F.shrClaims,sshKid:F.sshKid};return(0,C.C)(Q.executePostToTokenEndpoint.bind(Q),f.Xv.AuthorizationCodeClientExecutePostToTokenEndpoint,Q.logger,Q.performanceClient,F.correlationId)(he,q,qe,ht,F.correlationId,f.Xv.AuthorizationCodeClientExecutePostToTokenEndpoint)})()}createTokenRequestBody(x){var F=this;return(0,n.c)(function*(){F.performanceClient?.addQueueMeasurement(f.Xv.AuthClientCreateTokenRequestBody,x.correlationId);const Q=new Be.I;if(Q.addClientId(x.tokenBodyParameters?.[vt._k]||F.config.authOptions.clientId),F.includeRedirectUri?Q.addRedirectUri(x.redirectUri):zn.e.validateRedirectUri(x.redirectUri),Q.addScopes(x.scopes,!0,F.oidcDefaultScopes),Q.addAuthorizationCode(x.code),Q.addLibraryInfo(F.config.libraryInfo),Q.addApplicationTelemetry(F.config.telemetry.application),Q.addThrottling(),F.serverTelemetryManager&&!(0,Ue.qW)(F.config)&&Q.addServerTelemetry(F.serverTelemetryManager),x.codeVerifier&&Q.addCodeVerifier(x.codeVerifier),F.config.clientCredentials.clientSecret&&Q.addClientSecret(F.config.clientCredentials.clientSecret),F.config.clientCredentials.clientAssertion){const q=F.config.clientCredentials.clientAssertion;Q.addClientAssertion(q.assertion),Q.addClientAssertionType(q.assertionType)}if(Q.addGrantType(h.Ku.AUTHORIZATION_CODE_GRANT),Q.addClientInfo(),x.authenticationScheme===h.me.POP){const q=new ot.w(F.cryptoUtils,F.performanceClient),de=yield(0,C.C)(q.generateCnf.bind(q),f.Xv.PopTokenGenerateCnf,F.logger,F.performanceClient,x.correlationId)(x,F.logger);Q.addPopToken(de.reqCnfString)}else if(x.authenticationScheme===h.me.SSH){if(!x.sshJwk)throw(0,M.QN)(N.missingSshJwk);Q.addSshJwk(x.sshJwk)}const Se=x.correlationId||F.config.cryptoInterface.createNewGuid();let he;if(Q.addCorrelationId(Se),(!$n.e.isEmptyObj(x.claims)||F.config.authOptions.clientCapabilities&&F.config.authOptions.clientCapabilities.length>0)&&Q.addClaims(x.claims,F.config.authOptions.clientCapabilities),x.clientInfo)try{const q=(0,Ae.G)(x.clientInfo,F.cryptoUtils.base64Decode);he={credential:`${q.uid}${h.Mj.CLIENT_INFO_SEPARATOR}${q.utid}`,type:Ce.s.HOME_ACCOUNT_ID}}catch(q){F.logger.verbose("Could not parse client info for CCS Header: "+q)}else he=x.ccsCredential;if(F.config.systemOptions.preventCorsPreflight&&he)switch(he.type){case Ce.s.HOME_ACCOUNT_ID:try{const q=(0,Ae.k)(he.credential);Q.addCcsOid(q)}catch(q){F.logger.verbose("Could not parse home account ID for CCS Header: "+q)}break;case Ce.s.UPN:Q.addCcsUpn(he.credential)}return x.tokenBodyParameters&&Q.addExtraQueryParameters(x.tokenBodyParameters),x.enableSpaAuthorizationCode&&(!x.tokenBodyParameters||!x.tokenBodyParameters[vt.SS])&&Q.addExtraQueryParameters({[vt.SS]:"1"}),Q.createQueryString()})()}createAuthCodeUrlQueryString(x){var F=this;return(0,n.c)(function*(){F.performanceClient?.addQueueMeasurement(f.Xv.AuthClientCreateQueryString,x.correlationId);const Q=new Be.I;Q.addClientId(x.extraQueryParameters?.[vt._k]||F.config.authOptions.clientId);const Se=[...x.scopes||[],...x.extraScopesToConsent||[]];Q.addScopes(Se,!0,F.oidcDefaultScopes),Q.addRedirectUri(x.redirectUri);const he=x.correlationId||F.config.cryptoInterface.createNewGuid();if(Q.addCorrelationId(he),Q.addResponseMode(x.responseMode),Q.addResponseTypeCode(),Q.addLibraryInfo(F.config.libraryInfo),(0,Ue.qW)(F.config)||Q.addApplicationTelemetry(F.config.telemetry.application),Q.addClientInfo(),x.codeChallenge&&x.codeChallengeMethod&&Q.addCodeChallengeParams(x.codeChallenge,x.codeChallengeMethod),x.prompt&&Q.addPrompt(x.prompt),x.domainHint&&Q.addDomainHint(x.domainHint),x.prompt!==h.GI.SELECT_ACCOUNT)if(x.sid&&x.prompt===h.GI.NONE)F.logger.verbose("createAuthCodeUrlQueryString: Prompt is none, adding sid from request"),Q.addSid(x.sid);else if(x.account){const q=F.extractAccountSid(x.account),de=F.extractLoginHint(x.account);if(de){F.logger.verbose("createAuthCodeUrlQueryString: login_hint claim present on account"),Q.addLoginHint(de);try{const qe=(0,Ae.k)(x.account.homeAccountId);Q.addCcsOid(qe)}catch{F.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header")}}else if(q&&x.prompt===h.GI.NONE){F.logger.verbose("createAuthCodeUrlQueryString: Prompt is none, adding sid from account"),Q.addSid(q);try{const qe=(0,Ae.k)(x.account.homeAccountId);Q.addCcsOid(qe)}catch{F.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header")}}else if(x.loginHint)F.logger.verbose("createAuthCodeUrlQueryString: Adding login_hint from request"),Q.addLoginHint(x.loginHint),Q.addCcsUpn(x.loginHint);else if(x.account.username){F.logger.verbose("createAuthCodeUrlQueryString: Adding login_hint from account"),Q.addLoginHint(x.account.username);try{const qe=(0,Ae.k)(x.account.homeAccountId);Q.addCcsOid(qe)}catch{F.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header")}}}else x.loginHint&&(F.logger.verbose("createAuthCodeUrlQueryString: No account, adding login_hint from request"),Q.addLoginHint(x.loginHint),Q.addCcsUpn(x.loginHint));else F.logger.verbose("createAuthCodeUrlQueryString: Prompt is select_account, ignoring account hints");if(x.nonce&&Q.addNonce(x.nonce),x.state&&Q.addState(x.state),(x.claims||F.config.authOptions.clientCapabilities&&F.config.authOptions.clientCapabilities.length>0)&&Q.addClaims(x.claims,F.config.authOptions.clientCapabilities),x.extraQueryParameters&&Q.addExtraQueryParameters(x.extraQueryParameters),x.nativeBroker&&(Q.addNativeBroker(),x.authenticationScheme===h.me.POP)){const q=new ot.w(F.cryptoUtils),de=yield(0,C.C)(q.generateCnf.bind(q),f.Xv.PopTokenGenerateCnf,F.logger,F.performanceClient,x.correlationId)(x,F.logger);Q.addPopToken(de.reqCnfHash)}return Q.createQueryString()})()}createLogoutUrlQueryString(x){const F=new Be.I;return x.postLogoutRedirectUri&&F.addPostLogoutRedirectUri(x.postLogoutRedirectUri),x.correlationId&&F.addCorrelationId(x.correlationId),x.idTokenHint&&F.addIdTokenHint(x.idTokenHint),x.state&&F.addState(x.state),x.logoutHint&&F.addLogoutHint(x.logoutHint),x.extraQueryParameters&&F.addExtraQueryParameters(x.extraQueryParameters),F.createQueryString()}extractAccountSid(x){return x.idTokenClaims?.sid||null}extractLoginHint(x){return x.idTokenClaims?.login_hint||null}}class ln{constructor(x,F){this.cacheOutcome=h.Mf.NOT_APPLICABLE,this.cacheManager=F,this.apiId=x.apiId,this.correlationId=x.correlationId,this.wrapperSKU=x.wrapperSKU||h.Mv.EMPTY_STRING,this.wrapperVer=x.wrapperVer||h.Mv.EMPTY_STRING,this.telemetryCacheKey=h.ic.CACHE_KEY+h.Mj.CACHE_KEY_SEPARATOR+x.clientId}generateCurrentRequestHeaderValue(){const x=`${this.apiId}${h.ic.VALUE_SEPARATOR}${this.cacheOutcome}`,F=[this.wrapperSKU,this.wrapperVer].join(h.ic.VALUE_SEPARATOR),Se=[x,this.getRegionDiscoveryFields()].join(h.ic.VALUE_SEPARATOR);return[h.ic.SCHEMA_VERSION,Se,F].join(h.ic.CATEGORY_SEPARATOR)}generateLastRequestHeaderValue(){const x=this.getLastRequests(),F=ln.maxErrorsToSend(x),Q=x.failedRequests.slice(0,2*F).join(h.ic.VALUE_SEPARATOR),Se=x.errors.slice(0,F).join(h.ic.VALUE_SEPARATOR),he=x.errors.length,de=[he,F=h.ic.MAX_CACHED_ERRORS&&(F.failedRequests.shift(),F.failedRequests.shift(),F.errors.shift()),F.failedRequests.push(this.apiId,this.correlationId),x instanceof Error&&x&&x.toString()?F.errors.push(x instanceof w.WM?x.subError?x.subError:x.errorCode?x.errorCode:x.toString():x.toString()):F.errors.push(h.ic.UNKNOWN_ERROR),this.cacheManager.setServerTelemetry(this.telemetryCacheKey,F)}incrementCacheHits(){const x=this.getLastRequests();return x.cacheHits+=1,this.cacheManager.setServerTelemetry(this.telemetryCacheKey,x),x.cacheHits}getLastRequests(){return this.cacheManager.getServerTelemetry(this.telemetryCacheKey)||{failedRequests:[],errors:[],cacheHits:0}}clearTelemetryCache(){const x=this.getLastRequests(),F=ln.maxErrorsToSend(x);if(F===x.errors.length)this.cacheManager.removeItem(this.telemetryCacheKey);else{const Se={failedRequests:x.failedRequests.slice(2*F),errors:x.errors.slice(F),cacheHits:0};this.cacheManager.setServerTelemetry(this.telemetryCacheKey,Se)}}static maxErrorsToSend(x){let F,Q=0,Se=0;const he=x.errors.length;for(F=0;F0)&&Se.addClaims(x.claims,F.config.authOptions.clientCapabilities),F.config.systemOptions.preventCorsPreflight&&x.ccsCredential)switch(x.ccsCredential.type){case Ce.s.HOME_ACCOUNT_ID:try{const he=(0,Ae.k)(x.ccsCredential.credential);Se.addCcsOid(he)}catch(he){F.logger.verbose("Could not parse home account ID for CCS Header: "+he)}break;case Ce.s.UPN:Se.addCcsUpn(x.ccsCredential.credential)}return x.tokenBodyParameters&&Se.addExtraQueryParameters(x.tokenBodyParameters),Se.createQueryString()})()}}class Pe extends et{constructor(x,F){super(x,F)}acquireToken(x){var F=this;return(0,n.c)(function*(){try{const[Q,Se]=yield F.acquireCachedToken(x);return Se===h.Mf.PROACTIVELY_REFRESHED&&(F.logger.info("SilentFlowClient:acquireCachedToken - Cached access token's refreshOn property has been exceeded'. It's not expired, but must be refreshed."),new Mn(F.config,F.performanceClient).acquireTokenByRefreshToken(x).catch(()=>{})),Q}catch(Q){if(Q instanceof o.oJ&&Q.errorCode===L.tokenRefreshRequired)return new Mn(F.config,F.performanceClient).acquireTokenByRefreshToken(x);throw Q}})()}acquireCachedToken(x){var F=this;return(0,n.c)(function*(){F.performanceClient?.addQueueMeasurement(f.Xv.SilentFlowClientAcquireCachedToken,x.correlationId);let Q=h.Mf.NOT_APPLICABLE;if(x.forceRefresh||!F.config.cacheOptions.claimsBasedCachingEnabled&&!$n.e.isEmptyObj(x.claims))throw F.setCacheOutcome(h.Mf.FORCE_REFRESH_OR_CLAIMS,x.correlationId),(0,o.mQ)(L.tokenRefreshRequired);if(!x.account)throw(0,o.mQ)(L.noAccountInSilentRequest);const Se=x.account.tenantId||function G(cn){const Q=new e._(cn).getUrlComponents().PathSegments.slice(-1)[0]?.toLowerCase();switch(Q){case h.sN.COMMON:case h.sN.ORGANIZATIONS:case h.sN.CONSUMERS:return;default:return Q}}(x.authority),he=F.cacheManager.getTokenKeys(),q=F.cacheManager.getAccessToken(x.account,x,he,Se,F.performanceClient,x.correlationId);if(!q)throw F.setCacheOutcome(h.Mf.NO_CACHED_ACCESS_TOKEN,x.correlationId),(0,o.mQ)(L.tokenRefreshRequired);if((0,Wt.G4)(q.cachedAt)||(0,Wt.WY)(q.expiresOn,F.config.systemOptions.tokenRenewalOffsetSeconds))throw F.setCacheOutcome(h.Mf.CACHED_ACCESS_TOKEN_EXPIRED,x.correlationId),(0,o.mQ)(L.tokenRefreshRequired);q.refreshOn&&(0,Wt.WY)(q.refreshOn,0)&&(Q=h.Mf.PROACTIVELY_REFRESHED);const de=x.authority||F.authority.getPreferredCache(),qe={account:F.cacheManager.readAccountFromCache(x.account),accessToken:q,idToken:F.cacheManager.getIdToken(x.account,he,Se,F.performanceClient,x.correlationId),refreshToken:null,appMetadata:F.cacheManager.readAppMetadataFromCache(de)};return F.setCacheOutcome(Q,x.correlationId),F.config.serverTelemetryManager&&F.config.serverTelemetryManager.incrementCacheHits(),[yield(0,C.C)(F.generateResultFromCacheRecord.bind(F),f.Xv.SilentFlowClientGenerateResultFromCacheRecord,F.logger,F.performanceClient,x.correlationId)(qe,x),Q]})()}setCacheOutcome(x,F){this.serverTelemetryManager?.setCacheOutcome(x),this.performanceClient?.addFields({cacheOutcome:x},F),x!==h.Mf.NOT_APPLICABLE&&this.logger.info(`Token refresh is required due to cache outcome: ${x}`)}generateResultFromCacheRecord(x,F){var Q=this;return(0,n.c)(function*(){let Se;if(Q.performanceClient?.addQueueMeasurement(f.Xv.SilentFlowClientGenerateResultFromCacheRecord,F.correlationId),x.idToken&&(Se=(0,nn.aw)(x.idToken.secret,Q.config.cryptoInterface.base64Decode)),F.maxAge||0===F.maxAge){const he=Se?.auth_time;if(!he)throw(0,o.mQ)(L.authTimeNotFound);(0,nn.UH)(he,F.maxAge)}return Xt.generateAuthenticationResult(Q.cryptoUtils,Q.authority,x,!0,F,Se)})()}}class gt extends or{acquireToken(x){var F=this;return(0,n.c)(function*(){F.performanceClient.addQueueMeasurement(f.Xv.SilentCacheClientAcquireToken,x.correlationId);const Q=F.initializeServerTelemetryManager(X.Ed.acquireTokenSilent_silentFlow),Se=yield F.createSilentFlowClient(Q,x.authority,x.azureCloudOptions,x.account);F.logger.verbose("Silent auth client created");try{const q=(yield(0,C.C)(Se.acquireCachedToken.bind(Se),f.Xv.SilentFlowClientAcquireCachedToken,F.logger,F.performanceClient,x.correlationId)(x))[0];return F.performanceClient.addFields({fromCache:!0},x.correlationId),q}catch(he){throw he instanceof fe.G&&he.errorCode===Ye.cryptoKeyNotFound&&F.logger.verbose("Signing keypair for bound access token not found. Refreshing bound access token and generating a new crypto keypair."),he}})()}logout(x){this.logger.verbose("logoutRedirect called");const F=this.initializeLogoutRequest(x);return this.clearCacheOnLogout(F?.account)}createSilentFlowClient(x,F,Q,Se){var he=this;return(0,n.c)(function*(){const q=yield(0,C.C)(he.getClientConfiguration.bind(he),f.Xv.StandardInteractionClientGetClientConfiguration,he.logger,he.performanceClient,he.correlationId)(x,F,Q,Se);return new Pe(q,he.performanceClient)})()}initializeSilentRequest(x,F){var Q=this;return(0,n.c)(function*(){Q.performanceClient.addQueueMeasurement(f.Xv.InitializeSilentRequest,Q.correlationId);const Se=yield(0,C.C)(Q.initializeBaseRequest.bind(Q),f.Xv.InitializeBaseRequest,Q.logger,Q.performanceClient,Q.correlationId)(x);return{...x,...Se,account:F,forceRefresh:x.forceRefresh||!1}})()}}var At=s(55084);class ar extends me{constructor(x,F,Q,Se,he,q,de,qe,ht,St,Ft,en){super(x,F,Q,Se,he,q,qe,ht,en),this.apiId=de,this.accountId=St,this.nativeMessageHandler=ht,this.nativeStorageManager=Ft,this.silentCacheClient=new gt(x,this.nativeStorageManager,Q,Se,he,q,qe,ht,en)}acquireToken(x){var F=this;return(0,n.c)(function*(){F.performanceClient.addQueueMeasurement(f.Xv.NativeInteractionClientAcquireToken,x.correlationId),F.logger.trace("NativeInteractionClient - acquireToken called.");const Q=F.performanceClient.startMeasurement(f.Xv.NativeInteractionClientAcquireToken,x.correlationId),Se=Wt.GO(),he=yield F.initializeNativeRequest(x);try{const ht=yield F.acquireTokensFromCache(F.accountId,he);return Q.end({success:!0,isNativeBroker:!1,fromCache:!0}),ht}catch{F.logger.info("MSAL internal Cache does not contain tokens, proceed to make a native call")}const q={method:X.Ce.GetToken,request:he},de=yield F.nativeMessageHandler.sendMessage(q),qe=F.validateNativeResponse(de);return F.handleNativeResponse(qe,he,Se).then(ht=>(Q.end({success:!0,isNativeBroker:!0,requestId:ht.requestId}),ht)).catch(ht=>{throw Q.end({success:!1,errorCode:ht.errorCode,subErrorCode:ht.subError,isNativeBroker:!0}),ht})})()}createSilentCacheRequest(x,F){return{authority:x.authority,correlationId:this.correlationId,scopes:Tt.k.fromString(x.scope).asArray(),account:F,forceRefresh:!1}}acquireTokensFromCache(x,F){var Q=this;return(0,n.c)(function*(){if(!x)throw Q.logger.warning("NativeInteractionClient:acquireTokensFromCache - No nativeAccountId provided"),(0,o.mQ)(L.noAccountFound);const Se=Q.browserStorage.getBaseAccountInfo({nativeAccountId:x});if(!Se)throw(0,o.mQ)(L.noAccountFound);try{const he=Q.createSilentCacheRequest(F,Se),q=yield Q.silentCacheClient.acquireToken(he),de={...Se,idTokenClaims:q?.idTokenClaims,idToken:q?.idToken};return{...q,account:de}}catch(he){throw he}})()}acquireTokenRedirect(x){var F=this;return(0,n.c)(function*(){F.logger.trace("NativeInteractionClient - acquireTokenRedirect called.");const Q=yield F.initializeNativeRequest(x),Se={method:X.Ce.GetToken,request:Q};try{const de=yield F.nativeMessageHandler.sendMessage(Se);F.validateNativeResponse(de)}catch(de){if(de instanceof mt&&on(de))throw de}F.browserStorage.setTemporaryCache(X.zH.NATIVE_REQUEST,JSON.stringify(Q),!0);const he={apiId:X.Ed.acquireTokenRedirect,timeout:F.config.system.redirectNavigationTimeout,noHistory:!1},q=F.config.auth.navigateToLoginRequestUrl?window.location.href:F.getRedirectUri(x.redirectUri);yield F.navigationClient.navigateExternal(q,he)})()}handleRedirectPromise(x,F){var Q=this;return(0,n.c)(function*(){if(Q.logger.trace("NativeInteractionClient - handleRedirectPromise called."),!Q.browserStorage.isInteractionInProgress(!0))return Q.logger.info("handleRedirectPromise called but there is no interaction in progress, returning null."),null;const Se=Q.browserStorage.getCachedNativeRequest();if(!Se)return Q.logger.verbose("NativeInteractionClient - handleRedirectPromise called but there is no cached request, returning null."),x&&F&&x?.addFields({errorCode:"no_cached_request"},F),null;const{prompt:he,...q}=Se;he&&Q.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."),Q.browserStorage.removeItem(Q.browserStorage.generateCacheKey(X.zH.NATIVE_REQUEST));const de={method:X.Ce.GetToken,request:q},qe=Wt.GO();try{Q.logger.verbose("NativeInteractionClient - handleRedirectPromise sending message to native broker.");const ht=yield Q.nativeMessageHandler.sendMessage(de);Q.validateNativeResponse(ht);const St=Q.handleNativeResponse(ht,q,qe);return Q.browserStorage.setInteractionInProgress(!1),yield St}catch(ht){throw Q.browserStorage.setInteractionInProgress(!1),ht}})()}logout(){return this.logger.trace("NativeInteractionClient - logout called."),Promise.reject("Logout not implemented yet")}handleNativeResponse(x,F,Q){var Se=this;return(0,n.c)(function*(){Se.logger.trace("NativeInteractionClient - handleNativeResponse called.");const he=nn.aw(x.id_token,At.W),q=Se.createHomeAccountIdentifier(x,he),de=Se.browserStorage.getAccountInfoFilteredBy({nativeAccountId:F.accountId})?.homeAccountId;if(q!==de&&x.account.id!==F.accountId)throw Ln(jr);const qe=yield Se.getDiscoveredAuthority(F.authority),ht=En(Se.browserStorage,qe,q,he,At.W,x.client_info,void 0,he.tid,void 0,x.account.id,Se.logger),St=yield Se.generateAuthenticationResult(x,F,he,ht,qe.canonicalAuthority,Q);return Se.cacheAccount(ht),Se.cacheNativeTokens(x,F,q,he,St.accessToken,St.tenantId,Q),St})()}createHomeAccountIdentifier(x,F){return H.M.generateHomeAccountId(x.client_info||h.Mv.EMPTY_STRING,c.O.Default,this.logger,this.browserCrypto,F)}generateScopes(x,F){return Tt.k.fromString(x.scope?x.scope:F.scope)}generatePopAccessToken(x,F){var Q=this;return(0,n.c)(function*(){if(F.tokenType===h.me.POP){if(x.shr)return Q.logger.trace("handleNativeServerResponse: SHR is enabled in native layer"),x.shr;const Se=new ot.w(Q.browserCrypto),he={resourceRequestMethod:F.resourceRequestMethod,resourceRequestUri:F.resourceRequestUri,shrClaims:F.shrClaims,shrNonce:F.shrNonce};if(!F.keyId)throw(0,o.mQ)(L.keyIdMissing);return Se.signPopToken(x.access_token,F.keyId,he)}return x.access_token})()}generateAuthenticationResult(x,F,Q,Se,he,q){var de=this;return(0,n.c)(function*(){const qe=de.addTelemetryFromNativeResponse(x),ht=Tt.k.fromString(x.scope?x.scope:F.scope),St=x.account.properties||{},Ft=St.UID||Q.oid||Q.sub||h.Mv.EMPTY_STRING,en=St.TenantId||Q.tid||h.Mv.EMPTY_STRING,gn=(0,zt.Ho)(Se.getAccountInfo(),void 0,Q,x.id_token);gn.nativeAccountId!==x.account.id&&(gn.nativeAccountId=x.account.id);const _n=yield de.generatePopAccessToken(x,F),bn=F.tokenType===h.me.POP?h.me.POP:h.me.BEARER;return{authority:he,uniqueId:Ft,tenantId:en,scopes:ht.asArray(),account:gn,idToken:x.id_token,idTokenClaims:Q,accessToken:_n,fromCache:!!qe&&de.isResponseFromCache(qe),expiresOn:new Date(1e3*Number(q+x.expires_in)),tokenType:bn,correlationId:de.correlationId,state:x.state,fromNativeBroker:!0}})()}cacheAccount(x){this.browserStorage.setAccount(x),this.browserStorage.removeAccountContext(x).catch(F=>{this.logger.error(`Error occurred while removing account context from browser storage. ${F}`)})}cacheNativeTokens(x,F,Q,Se,he,q,de){const qe=D.YF(Q,F.authority,x.id_token||"",F.clientId,Se.tid||""),St=de+(F.tokenType===h.me.POP?h.Mv.SHR_NONCE_VALIDITY:("string"==typeof x.expires_in?parseInt(x.expires_in,10):x.expires_in)||0),Ft=this.generateScopes(x,F),en=D.MJ(Q,F.authority,he,F.clientId,Se.tid||q,Ft.printScopes(),St,0,At.W),gn=new dt.O(void 0,qe,en);this.nativeStorageManager.saveCacheRecord(gn,F.storeInCache)}addTelemetryFromNativeResponse(x){const F=this.getMATSFromResponse(x);return F?(this.performanceClient.addFields({extensionId:this.nativeMessageHandler.getExtensionId(),extensionVersion:this.nativeMessageHandler.getExtensionVersion(),matsBrokerVersion:F.broker_version,matsAccountJoinOnStart:F.account_join_on_start,matsAccountJoinOnEnd:F.account_join_on_end,matsDeviceJoin:F.device_join,matsPromptBehavior:F.prompt_behavior,matsApiErrorCode:F.api_error_code,matsUiVisible:F.ui_visible,matsSilentCode:F.silent_code,matsSilentBiSubCode:F.silent_bi_sub_code,matsSilentMessage:F.silent_message,matsSilentStatus:F.silent_status,matsHttpStatus:F.http_status,matsHttpEventCount:F.http_event_count},this.correlationId),F):null}validateNativeResponse(x){if(x.hasOwnProperty("access_token")&&x.hasOwnProperty("id_token")&&x.hasOwnProperty("client_info")&&x.hasOwnProperty("account")&&x.hasOwnProperty("scope")&&x.hasOwnProperty("expires_in"))return x;throw(0,w.Ub)(fi.unexpectedError,"Response missing expected properties.")}getMATSFromResponse(x){if(x.properties.MATS)try{return JSON.parse(x.properties.MATS)}catch{this.logger.error("NativeInteractionClient - Error parsing MATS telemetry, returning null instead")}return null}isResponseFromCache(x){return typeof x.is_cached>"u"?(this.logger.verbose("NativeInteractionClient - MATS telemetry does not contain field indicating if response was served from cache. Returning false."),!1):!!x.is_cached}initializeNativeRequest(x){var F=this;return(0,n.c)(function*(){F.logger.trace("NativeInteractionClient - initializeNativeRequest called");const Q=x.authority||F.config.auth.authority;x.account&&(yield F.getDiscoveredAuthority(Q,x.azureCloudOptions,x.account));const Se=new e._(Q);Se.validateAsUri();const{scopes:he,...q}=x,de=new Tt.k(he||[]);de.appendScopes(h.ac);const ht={...q,accountId:F.accountId,clientId:F.config.auth.clientId,authority:Se.urlString,scope:de.printScopes(),redirectUri:F.getRedirectUri(x.redirectUri),prompt:(()=>{switch(F.apiId){case X.Ed.ssoSilent:case X.Ed.acquireTokenSilent_silentFlow:return F.logger.trace("initializeNativeRequest: silent request sets prompt to none"),h.GI.NONE}if(x.prompt)switch(x.prompt){case h.GI.NONE:case h.GI.CONSENT:case h.GI.LOGIN:return F.logger.trace("initializeNativeRequest: prompt is compatible with native flow"),x.prompt;default:throw F.logger.trace(`initializeNativeRequest: prompt = ${x.prompt} is not compatible with native flow`),(0,fe.Wq)(Ye.nativePromptNotSupported)}else F.logger.trace("initializeNativeRequest: prompt was not provided")})(),correlationId:F.correlationId,tokenType:x.authenticationScheme,windowTitleSubstring:document.title,extraParameters:{...x.extraQueryParameters,...x.tokenQueryParameters},extendedExpiryToken:!1};if(F.handleExtraBrokerParams(ht),ht.extraParameters=ht.extraParameters||{},ht.extraParameters.telemetry=X.sJ.MATS_TELEMETRY,x.authenticationScheme===h.me.POP){const St={resourceRequestUri:x.resourceRequestUri,resourceRequestMethod:x.resourceRequestMethod,shrClaims:x.shrClaims,shrNonce:x.shrNonce},Ft=new ot.w(F.browserCrypto),en=yield(0,C.C)(Ft.generateCnf.bind(Ft),f.Xv.PopTokenGenerateCnf,F.logger,F.performanceClient,F.correlationId)(St,F.logger);ht.reqCnf=en.reqCnfHash,ht.keyId=en.kid}return ht})()}handleExtraBrokerParams(x){if(x.extraParameters&&x.extraParameters.hasOwnProperty("brk_client_id")&&x.extraParameters.hasOwnProperty("brk_redirect_uri")&&x.extraParameters.hasOwnProperty(vt._k)){const Se=x.extraParameters.brk_redirect_uri;x.extraParameters={child_client_id:x.extraParameters[vt._k],child_redirect_uri:x.redirectUri},x.redirectUri=Se}}}class ur{constructor(x,F,Q,Se){this.logger=x,this.handshakeTimeoutMs=F,this.extensionId=Se,this.resolvers=new Map,this.handshakeResolvers=new Map,this.messageChannel=new MessageChannel,this.windowListener=this.onWindowMessage.bind(this),this.performanceClient=Q,this.handshakeEvent=Q.startMeasurement(f.Xv.NativeMessageHandlerHandshake)}sendMessage(x){var F=this;return(0,n.c)(function*(){F.logger.trace("NativeMessageHandler - sendMessage called.");const Q={channel:X.sJ.CHANNEL_ID,extensionId:F.extensionId,responseId:(0,Te.E5)(),body:x};return F.logger.trace("NativeMessageHandler - Sending request to browser extension"),F.logger.tracePii(`NativeMessageHandler - Sending request to browser extension: ${JSON.stringify(Q)}`),F.messageChannel.port1.postMessage(Q),new Promise((Se,he)=>{F.resolvers.set(Q.responseId,{resolve:Se,reject:he})})})()}static createProvider(x,F,Q){return(0,n.c)(function*(){x.trace("NativeMessageHandler - createProvider called.");try{const Se=new ur(x,F,Q,X.sJ.PREFERRED_EXTENSION_ID);return yield Se.sendHandshakeRequest(),Se}catch{const he=new ur(x,F,Q);return yield he.sendHandshakeRequest(),he}})()}sendHandshakeRequest(){var x=this;return(0,n.c)(function*(){x.logger.trace("NativeMessageHandler - sendHandshakeRequest called."),window.addEventListener("message",x.windowListener,!1);const F={channel:X.sJ.CHANNEL_ID,extensionId:x.extensionId,responseId:(0,Te.E5)(),body:{method:X.Ce.HandshakeRequest}};return x.handshakeEvent.add({extensionId:x.extensionId,extensionHandshakeTimeoutMs:x.handshakeTimeoutMs}),x.messageChannel.port1.onmessage=Q=>{x.onChannelMessage(Q)},window.postMessage(F,window.origin,[x.messageChannel.port2]),new Promise((Q,Se)=>{x.handshakeResolvers.set(F.responseId,{resolve:Q,reject:Se}),x.timeoutId=window.setTimeout(()=>{window.removeEventListener("message",x.windowListener,!1),x.messageChannel.port1.close(),x.messageChannel.port2.close(),x.handshakeEvent.end({extensionHandshakeTimedOut:!0,success:!1}),Se((0,fe.Wq)(Ye.nativeHandshakeTimeout)),x.handshakeResolvers.delete(F.responseId)},x.handshakeTimeoutMs)})})()}onWindowMessage(x){if(this.logger.trace("NativeMessageHandler - onWindowMessage called"),x.source!==window)return;const F=x.data;if(F.channel&&F.channel===X.sJ.CHANNEL_ID&&(!F.extensionId||F.extensionId===this.extensionId)&&F.body.method===X.Ce.HandshakeRequest){const Q=this.handshakeResolvers.get(F.responseId);if(!Q)return void this.logger.trace(`NativeMessageHandler.onWindowMessage - resolver can't be found for request ${F.responseId}`);this.logger.verbose(F.extensionId?`Extension with id: ${F.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}),Q.reject((0,fe.Wq)(Ye.nativeExtensionNotInstalled))}}onChannelMessage(x){this.logger.trace("NativeMessageHandler - onChannelMessage called.");const F=x.data,Q=this.resolvers.get(F.responseId),Se=this.handshakeResolvers.get(F.responseId);try{const he=F.body.method;if(he===X.Ce.Response){if(!Q)return;const q=F.body.response;if(this.logger.trace("NativeMessageHandler - Received response from browser extension"),this.logger.tracePii(`NativeMessageHandler - Received response from browser extension: ${JSON.stringify(q)}`),"Success"!==q.status)Q.reject(Ln(q.code,q.description,q.ext));else{if(!q.result)throw(0,w.Ub)(fi.unexpectedError,"Event does not contain result.");q.result.code&&q.result.description?Q.reject(Ln(q.result.code,q.result.description,q.result.ext)):Q.resolve(q.result)}this.resolvers.delete(F.responseId)}else if(he===X.Ce.HandshakeResponse){if(!Se)return void this.logger.trace(`NativeMessageHandler.onChannelMessage - resolver can't be found for request ${F.responseId}`);clearTimeout(this.timeoutId),window.removeEventListener("message",this.windowListener,!1),this.extensionId=F.extensionId,this.extensionVersion=F.body.version,this.logger.verbose(`NativeMessageHandler - Received HandshakeResponse from extension: ${this.extensionId}`),this.handshakeEvent.end({extensionInstalled:!0,success:!0}),Se.resolve(),this.handshakeResolvers.delete(F.responseId)}}catch(he){this.logger.error("Error parsing response from WAM Extension"),this.logger.errorPii(`Error parsing response from WAM Extension: ${he}`),this.logger.errorPii(`Unable to parse ${x}`),Q?Q.reject(he):Se&&Se.reject(he)}}getExtensionId(){return this.extensionId}getExtensionVersion(){return this.extensionVersion}static isNativeAvailable(x,F,Q,Se){if(F.trace("isNativeAvailable called"),!x.system.allowNativeBroker)return F.trace("isNativeAvailable: allowNativeBroker is not enabled, returning false"),!1;if(!Q)return F.trace("isNativeAvailable: WAM extension provider is not initialized, returning false"),!1;if(Se)switch(Se){case h.me.BEARER:case h.me.POP:return F.trace("isNativeAvailable: authenticationScheme is supported, returning true"),!0;default:return F.trace("isNativeAvailable: authenticationScheme is not supported, returning false"),!1}return!0}}class Tr{constructor(x,F,Q,Se,he){this.authModule=x,this.browserStorage=F,this.authCodeRequest=Q,this.logger=Se,this.performanceClient=he}handleCodeResponse(x,F){var Q=this;return(0,n.c)(function*(){let Se;Q.performanceClient.addQueueMeasurement(f.Xv.HandleCodeResponse,F.correlationId);try{Se=Q.authModule.handleFragmentResponse(x,F.state)}catch(he){throw he instanceof xe.s&&he.subError===Ye.userCancelled?(0,fe.Wq)(Ye.userCancelled):he}return(0,C.C)(Q.handleCodeResponseFromServer.bind(Q),f.Xv.HandleCodeResponseFromServer,Q.logger,Q.performanceClient,F.correlationId)(Se,F)})()}handleCodeResponseFromServer(x,F,Q=!0){var Se=this;return(0,n.c)(function*(){if(Se.performanceClient.addQueueMeasurement(f.Xv.HandleCodeResponseFromServer,F.correlationId),Se.logger.trace("InteractionHandler.handleCodeResponseFromServer called"),Se.authCodeRequest.code=x.code,x.cloud_instance_host_name&&(yield(0,C.C)(Se.authModule.updateAuthority.bind(Se.authModule),f.Xv.UpdateTokenEndpointAuthority,Se.logger,Se.performanceClient,F.correlationId)(x.cloud_instance_host_name,F.correlationId)),Q&&(x.nonce=F.nonce||void 0),x.state=F.state,x.client_info)Se.authCodeRequest.clientInfo=x.client_info;else{const q=Se.createCcsCredentials(F);q&&(Se.authCodeRequest.ccsCredential=q)}return yield(0,C.C)(Se.authModule.acquireToken.bind(Se.authModule),f.Xv.AuthClientAcquireToken,Se.logger,Se.performanceClient,F.correlationId)(Se.authCodeRequest,x)})()}createCcsCredentials(x){return x.account?{credential:x.account.homeAccountId,type:Ce.s.HOME_ACCOUNT_ID}:x.loginHint?{credential:x.loginHint,type:Ce.s.UPN}:null}}var lr=s(33680),nr=s(99632);function Nr(cn,x,F){const Q=lr.u(cn);if(!Q)throw lr.w(cn)?(F.error(`A ${x} is present in the iframe but it does not contain known properties. It's likely that the ${x} has been replaced by code running on the redirectUri page.`),F.errorPii(`The ${x} detected is: ${cn}`),(0,fe.Wq)(Ye.hashDoesNotContainKnownProperties)):(F.error(`The request has returned to the redirectUri but a ${x} is not present. It's likely that the ${x} has been removed or the page has been redirected by code running on the redirectUri page.`),(0,fe.Wq)(Ye.hashEmptyError));return Q}class tn extends or{constructor(x,F,Q,Se,he,q,de,qe,ht,St){super(x,F,Q,Se,he,q,de,ht,St),this.unloadWindow=this.unloadWindow.bind(this),this.nativeStorage=qe}acquireToken(x){try{const F=this.generatePopupName(x.scopes||h.ac,x.authority||this.config.auth.authority),Q=x.popupWindowAttributes||{};if(this.config.system.asyncPopups)return this.logger.verbose("asyncPopups set to true, acquiring token"),this.acquireTokenPopupAsync(x,F,Q);{this.logger.verbose("asyncPopup set to false, opening popup before acquiring token");const Se=this.openSizedPopup("about:blank",F,Q);return this.acquireTokenPopupAsync(x,F,Q,Se)}}catch(F){return Promise.reject(F)}}logout(x){try{this.logger.verbose("logoutPopup called");const F=this.initializeLogoutRequest(x),Q=this.generateLogoutPopupName(F),Se=x&&x.authority,he=x&&x.mainWindowRedirectUri,q=x?.popupWindowAttributes||{};if(this.config.system.asyncPopups)return this.logger.verbose("asyncPopups set to true"),this.logoutPopupAsync(F,Q,q,Se,void 0,he);{this.logger.verbose("asyncPopup set to false, opening popup");const de=this.openSizedPopup("about:blank",Q,q);return this.logoutPopupAsync(F,Q,q,Se,de,he)}}catch(F){return Promise.reject(F)}}acquireTokenPopupAsync(x,F,Q,Se){var he=this;return(0,n.c)(function*(){he.logger.verbose("acquireTokenPopupAsync called");const q=he.initializeServerTelemetryManager(X.Ed.acquireTokenPopup),de=yield(0,C.C)(he.initializeAuthorizationRequest.bind(he),f.Xv.StandardInteractionClientInitializeAuthorizationRequest,he.logger,he.performanceClient,he.correlationId)(x,X.wV.Popup);(0,be.preconnect)(de.authority);try{const qe=yield(0,C.C)(he.initializeAuthorizationCodeRequest.bind(he),f.Xv.StandardInteractionClientInitializeAuthorizationCodeRequest,he.logger,he.performanceClient,he.correlationId)(de),ht=yield(0,C.C)(he.createAuthCodeClient.bind(he),f.Xv.StandardInteractionClientCreateAuthCodeClient,he.logger,he.performanceClient,he.correlationId)(q,de.authority,de.azureCloudOptions,de.account),St=ur.isNativeAvailable(he.config,he.logger,he.nativeMessageHandler,x.authenticationScheme);let Ft;St&&(Ft=he.performanceClient.startMeasurement(f.Xv.FetchAccountIdWithNativeBroker,x.correlationId));const en=yield ht.getAuthCodeUrl({...de,nativeBroker:St}),gn=new Tr(ht,he.browserStorage,qe,he.logger,he.performanceClient),bn=he.initiateAuthRequest(en,{popup:Se,popupName:F,popupWindowAttributes:Q});he.eventHandler.emitEvent(ce.W.POPUP_OPENED,X.wV.Popup,{popupWindow:bn},null);const hn=yield he.monitorPopupForHash(bn),In=(0,C.q)(Nr,f.Xv.DeserializeResponse,he.logger,he.performanceClient,he.correlationId)(hn,he.config.auth.OIDCOptions.serverResponseType,he.logger);if(Ie.removeThrottle(he.browserStorage,he.config.auth.clientId,qe),In.accountId){if(he.logger.verbose("Account id found in hash, calling WAM for token"),Ft&&Ft.end({success:!0,isNativeBroker:!0}),!he.nativeMessageHandler)throw(0,fe.Wq)(Ye.nativeConnectionNotEstablished);const _r=new ar(he.config,he.browserStorage,he.browserCrypto,he.logger,he.eventHandler,he.navigationClient,X.Ed.acquireTokenPopup,he.performanceClient,he.nativeMessageHandler,In.accountId,he.nativeStorage,de.correlationId),{userRequestState:hr}=Le.c.parseRequestState(he.browserCrypto,de.state);return yield _r.acquireToken({...de,state:hr,prompt:void 0})}return yield gn.handleCodeResponse(In,de)}catch(qe){throw Se&&Se.close(),qe instanceof w.WM&&(qe.setCorrelationId(he.correlationId),q.cacheFailedRequest(qe)),qe}})()}logoutPopupAsync(x,F,Q,Se,he,q){var de=this;return(0,n.c)(function*(){de.logger.verbose("logoutPopupAsync called"),de.eventHandler.emitEvent(ce.W.LOGOUT_START,X.wV.Popup,x);const qe=de.initializeServerTelemetryManager(X.Ed.logoutPopup);try{yield de.clearCacheOnLogout(x.account);const St=(yield(0,C.C)(de.createAuthCodeClient.bind(de),f.Xv.StandardInteractionClientCreateAuthCodeClient,de.logger,de.performanceClient,de.correlationId)(qe,Se,void 0,x.account||void 0)).getLogoutUri(x);de.eventHandler.emitEvent(ce.W.LOGOUT_SUCCESS,X.wV.Popup,x);const Ft=de.openPopup(St,{popupName:F,popupWindowAttributes:Q,popup:he});if(de.eventHandler.emitEvent(ce.W.POPUP_OPENED,X.wV.Popup,{popupWindow:Ft},null),yield de.monitorPopupForHash(Ft).catch(()=>{}),q){const en={apiId:X.Ed.logoutPopup,timeout:de.config.system.redirectNavigationTimeout,noHistory:!1},gn=e._.getAbsoluteUrl(q,(0,be.getCurrentUri)());de.logger.verbose("Redirecting main window to url specified in the request"),de.logger.verbosePii(`Redirecting main window to: ${gn}`),yield de.navigationClient.navigateInternal(gn,en)}else de.logger.verbose("No main window navigation requested")}catch(ht){throw he&&he.close(),ht instanceof w.WM&&(ht.setCorrelationId(de.correlationId),qe.cacheFailedRequest(ht)),de.browserStorage.setInteractionInProgress(!1),de.eventHandler.emitEvent(ce.W.LOGOUT_FAILURE,X.wV.Popup,null,ht),de.eventHandler.emitEvent(ce.W.LOGOUT_END,X.wV.Popup),ht}de.eventHandler.emitEvent(ce.W.LOGOUT_END,X.wV.Popup)})()}initiateAuthRequest(x,F){if(x)return this.logger.infoPii(`Navigate to: ${x}`),this.openPopup(x,F);throw this.logger.error("Navigate url is empty"),(0,fe.Wq)(Ye.emptyNavigateUri)}monitorPopupForHash(x){return new Promise((F,Q)=>{this.logger.verbose("PopupHandler.monitorPopupForHash - polling started");const Se=setInterval(()=>{if(x.closed)return this.logger.error("PopupHandler.monitorPopupForHash - window closed"),clearInterval(Se),void Q((0,fe.Wq)(Ye.userCancelled));let he="";try{he=x.location.href}catch{}if(!he||"about:blank"===he)return;clearInterval(Se);let q="";x&&(q=this.config.auth.OIDCOptions.serverResponseType===h.eE.QUERY?x.location.search:x.location.hash),this.logger.verbose("PopupHandler.monitorPopupForHash - popup window is on same origin as caller"),F(q)},this.config.system.pollIntervalMilliseconds)}).finally(()=>{this.cleanPopup(x)})}openPopup(x,F){try{let Q;if(F.popup?(Q=F.popup,this.logger.verbosePii(`Navigating popup window to: ${x}`),Q.location.assign(x)):typeof F.popup>"u"&&(this.logger.verbosePii(`Opening popup window to: ${x}`),Q=this.openSizedPopup(x,F.popupName,F.popupWindowAttributes)),!Q)throw(0,fe.Wq)(Ye.emptyWindowError);return Q.focus&&Q.focus(),this.currentWindow=Q,window.addEventListener("beforeunload",this.unloadWindow),Q}catch(Q){throw this.logger.error("error opening popup "+Q.message),this.browserStorage.setInteractionInProgress(!1),(0,fe.Wq)(Ye.popupWindowError)}}openSizedPopup(x,F,Q){const Se=window.screenLeft?window.screenLeft:window.screenX,he=window.screenTop?window.screenTop:window.screenY,q=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,de=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight;let qe=Q.popupSize?.width,ht=Q.popupSize?.height,St=Q.popupPosition?.top,Ft=Q.popupPosition?.left;return(!qe||qe<0||qe>q)&&(this.logger.verbose("Default popup window width used. Window width not configured or invalid."),qe=X.ig.POPUP_WIDTH),(!ht||ht<0||ht>de)&&(this.logger.verbose("Default popup window height used. Window height not configured or invalid."),ht=X.ig.POPUP_HEIGHT),(!St||St<0||St>de)&&(this.logger.verbose("Default popup window top position used. Window top not configured or invalid."),St=Math.max(0,de/2-X.ig.POPUP_HEIGHT/2+he)),(!Ft||Ft<0||Ft>q)&&(this.logger.verbose("Default popup window left position used. Window left not configured or invalid."),Ft=Math.max(0,q/2-X.ig.POPUP_WIDTH/2+Se)),window.open(x,F,`width=${qe}, height=${ht}, top=${St}, left=${Ft}, scrollbars=yes`)}unloadWindow(x){this.browserStorage.cleanRequestByInteractionType(X.wV.Popup),this.currentWindow&&this.currentWindow.close(),x.preventDefault()}cleanPopup(x){x&&x.close(),window.removeEventListener("beforeunload",this.unloadWindow),this.browserStorage.setInteractionInProgress(!1)}generatePopupName(x,F){return`${X.ig.POPUP_NAME_PREFIX}.${this.config.auth.clientId}.${x.join("-")}.${F}.${this.correlationId}`}generateLogoutPopupName(x){return`${X.ig.POPUP_NAME_PREFIX}.${this.config.auth.clientId}.${x.account&&x.account.homeAccountId}.${this.correlationId}`}}class jn{constructor(x,F,Q,Se,he){this.authModule=x,this.browserStorage=F,this.authCodeRequest=Q,this.logger=Se,this.performanceClient=he}initiateAuthRequest(x,F){var Q=this;return(0,n.c)(function*(){if(Q.logger.verbose("RedirectHandler.initiateAuthRequest called"),x){F.redirectStartPage&&(Q.logger.verbose("RedirectHandler.initiateAuthRequest: redirectStartPage set, caching start page"),Q.browserStorage.setTemporaryCache(X.zH.ORIGIN_URI,F.redirectStartPage,!0)),Q.browserStorage.setTemporaryCache(X.zH.CORRELATION_ID,Q.authCodeRequest.correlationId,!0),Q.browserStorage.cacheCodeRequest(Q.authCodeRequest),Q.logger.infoPii(`RedirectHandler.initiateAuthRequest: Navigate to: ${x}`);const Se={apiId:X.Ed.acquireTokenRedirect,timeout:F.redirectTimeout,noHistory:!1};return"function"==typeof F.onRedirectNavigate?(Q.logger.verbose("RedirectHandler.initiateAuthRequest: Invoking onRedirectNavigate callback"),!1!==F.onRedirectNavigate(x)?(Q.logger.verbose("RedirectHandler.initiateAuthRequest: onRedirectNavigate did not return false, navigating"),void(yield F.navigationClient.navigateExternal(x,Se))):void Q.logger.verbose("RedirectHandler.initiateAuthRequest: onRedirectNavigate returned false, stopping navigation")):(Q.logger.verbose("RedirectHandler.initiateAuthRequest: Navigating window to navigate url"),void(yield F.navigationClient.navigateExternal(x,Se)))}throw Q.logger.info("RedirectHandler.initiateAuthRequest: Navigate url is empty"),(0,fe.Wq)(Ye.emptyNavigateUri)})()}handleCodeResponse(x,F){var Q=this;return(0,n.c)(function*(){Q.logger.verbose("RedirectHandler.handleCodeResponse called"),Q.browserStorage.setInteractionInProgress(!1);const Se=Q.browserStorage.generateStateKey(F),he=Q.browserStorage.getTemporaryCache(Se);if(!he)throw(0,o.mQ)(L.stateNotFound,"Cached State");let q;try{q=Q.authModule.handleFragmentResponse(x,he)}catch(St){throw St instanceof xe.s&&St.subError===Ye.userCancelled?(0,fe.Wq)(Ye.userCancelled):St}const de=Q.browserStorage.generateNonceKey(he),qe=Q.browserStorage.getTemporaryCache(de);if(Q.authCodeRequest.code=q.code,q.cloud_instance_host_name&&(yield(0,C.C)(Q.authModule.updateAuthority.bind(Q.authModule),f.Xv.UpdateTokenEndpointAuthority,Q.logger,Q.performanceClient,Q.authCodeRequest.correlationId)(q.cloud_instance_host_name,Q.authCodeRequest.correlationId)),q.nonce=qe||void 0,q.state=he,q.client_info)Q.authCodeRequest.clientInfo=q.client_info;else{const St=Q.checkCcsCredentials();St&&(Q.authCodeRequest.ccsCredential=St)}const ht=yield Q.authModule.acquireToken(Q.authCodeRequest,q);return Q.browserStorage.cleanRequestByState(F),ht})()}checkCcsCredentials(){const x=this.browserStorage.getTemporaryCache(X.zH.CCS_CREDENTIAL,!0);if(x)try{return JSON.parse(x)}catch{this.authModule.logger.error("Cache credential could not be parsed"),this.authModule.logger.errorPii(`Cache credential could not be parsed: ${x}`)}return null}}class qn extends or{constructor(x,F,Q,Se,he,q,de,qe,ht,St){super(x,F,Q,Se,he,q,de,ht,St),this.nativeStorage=qe}acquireToken(x){var F=this;return(0,n.c)(function*(){const Q=yield(0,C.C)(F.initializeAuthorizationRequest.bind(F),f.Xv.StandardInteractionClientInitializeAuthorizationRequest,F.logger,F.performanceClient,F.correlationId)(x,X.wV.Redirect);F.browserStorage.updateCacheEntries(Q.state,Q.nonce,Q.authority,Q.loginHint||"",Q.account||null);const Se=F.initializeServerTelemetryManager(X.Ed.acquireTokenRedirect),he=q=>{q.persisted&&(F.logger.verbose("Page was restored from back/forward cache. Clearing temporary cache."),F.browserStorage.cleanRequestByState(Q.state),F.eventHandler.emitEvent(ce.W.RESTORE_FROM_BFCACHE,X.wV.Redirect))};try{const q=yield(0,C.C)(F.initializeAuthorizationCodeRequest.bind(F),f.Xv.StandardInteractionClientInitializeAuthorizationCodeRequest,F.logger,F.performanceClient,F.correlationId)(Q),de=yield(0,C.C)(F.createAuthCodeClient.bind(F),f.Xv.StandardInteractionClientCreateAuthCodeClient,F.logger,F.performanceClient,F.correlationId)(Se,Q.authority,Q.azureCloudOptions,Q.account),qe=new jn(de,F.browserStorage,q,F.logger,F.performanceClient),ht=yield de.getAuthCodeUrl({...Q,nativeBroker:ur.isNativeAvailable(F.config,F.logger,F.nativeMessageHandler,x.authenticationScheme)}),St=F.getRedirectStartPage(x.redirectStartPage);return F.logger.verbosePii(`Redirect start page: ${St}`),window.addEventListener("pageshow",he),yield qe.initiateAuthRequest(ht,{navigationClient:F.navigationClient,redirectTimeout:F.config.system.redirectNavigationTimeout,redirectStartPage:St,onRedirectNavigate:x.onRedirectNavigate})}catch(q){throw q instanceof w.WM&&(q.setCorrelationId(F.correlationId),Se.cacheFailedRequest(q)),window.removeEventListener("pageshow",he),F.browserStorage.cleanRequestByState(Q.state),q}})()}handleRedirectPromise(x,F,Q){var Se=this;return(0,n.c)(function*(){const he=Se.initializeServerTelemetryManager(X.Ed.handleRedirectPromise);try{if(!Se.browserStorage.isInteractionInProgress(!0))return Se.logger.info("handleRedirectPromise called but there is no interaction in progress, returning null."),null;const[q,de]=Se.getRedirectResponse(x||"");if(!q)return Se.logger.info("handleRedirectPromise did not detect a response as a result of a redirect. Cleaning temporary cache."),Se.browserStorage.cleanRequestByInteractionType(X.wV.Redirect),F&&Q&&F?.addFields({errorCode:"no_server_response"},Q),null;const qe=Se.browserStorage.getTemporaryCache(X.zH.ORIGIN_URI,!0)||h.Mv.EMPTY_STRING;if(e._.removeHashFromUrl(qe)===e._.removeHashFromUrl(window.location.href)&&Se.config.auth.navigateToLoginRequestUrl)return Se.logger.verbose("Current page is loginRequestUrl, handling response"),qe.indexOf("#")>-1&&(0,be.replaceHash)(qe),yield Se.handleResponse(q,he);if(!Se.config.auth.navigateToLoginRequestUrl)return Se.logger.verbose("NavigateToLoginRequestUrl set to false, handling response"),yield Se.handleResponse(q,he);if(!(0,be.isInIframe)()||Se.config.system.allowRedirectInIframe){Se.browserStorage.setTemporaryCache(X.zH.URL_HASH,de,!0);const Ft={apiId:X.Ed.handleRedirectPromise,timeout:Se.config.system.redirectNavigationTimeout,noHistory:!0};let en=!0;if(qe&&"null"!==qe)Se.logger.verbose(`Navigating to loginRequestUrl: ${qe}`),en=yield Se.navigationClient.navigateInternal(qe,Ft);else{const gn=(0,be.getHomepage)();Se.browserStorage.setTemporaryCache(X.zH.ORIGIN_URI,gn,!0),Se.logger.warning("Unable to get valid login request url from cache, redirecting to home page"),en=yield Se.navigationClient.navigateInternal(gn,Ft)}if(!en)return yield Se.handleResponse(q,he)}return null}catch(q){throw q instanceof w.WM&&(q.setCorrelationId(Se.correlationId),he.cacheFailedRequest(q)),Se.browserStorage.cleanRequestByInteractionType(X.wV.Redirect),q}})()}getRedirectResponse(x){this.logger.verbose("getRedirectResponseHash called");let F=x;F||(F=this.config.auth.OIDCOptions.serverResponseType===h.eE.QUERY?window.location.search:window.location.hash);let Q=lr.u(F);if(Q){try{!function Ci(cn,x,F){if(!cn.state)throw(0,fe.Wq)(Ye.noStateInHash);const Q=(0,nr.Q)(x,cn.state);if(!Q)throw(0,fe.Wq)(Ye.unableToParseState);if(Q.interactionType!==F)throw(0,fe.Wq)(Ye.stateInteractionTypeMismatch)}(Q,this.browserCrypto,X.wV.Redirect)}catch(he){return he instanceof w.WM&&this.logger.error(`Interaction type validation failed due to ${he.errorCode}: ${he.errorMessage}`),[null,""]}return(0,be.clearHash)(window),this.logger.verbose("Hash contains known properties, returning response hash"),[Q,F]}const Se=this.browserStorage.getTemporaryCache(X.zH.URL_HASH,!0);return this.browserStorage.removeItem(this.browserStorage.generateCacheKey(X.zH.URL_HASH)),Se&&(Q=lr.u(Se),Q)?(this.logger.verbose("Hash does not contain known properties, returning cached hash"),[Q,Se]):[null,""]}handleResponse(x,F){var Q=this;return(0,n.c)(function*(){const Se=x.state;if(!Se)throw(0,fe.Wq)(Ye.noStateInHash);const he=Q.browserStorage.getCachedRequest(Se);if(Q.logger.verbose("handleResponse called, retrieved cached request"),x.accountId){if(Q.logger.verbose("Account id found in hash, calling WAM for token"),!Q.nativeMessageHandler)throw(0,fe.Wq)(Ye.nativeConnectionNotEstablished);const ht=new ar(Q.config,Q.browserStorage,Q.browserCrypto,Q.logger,Q.eventHandler,Q.navigationClient,X.Ed.acquireTokenPopup,Q.performanceClient,Q.nativeMessageHandler,x.accountId,Q.nativeStorage,he.correlationId),{userRequestState:St}=Le.c.parseRequestState(Q.browserCrypto,Se);return ht.acquireToken({...he,state:St,prompt:void 0}).finally(()=>{Q.browserStorage.cleanRequestByState(Se)})}const q=Q.browserStorage.getCachedAuthority(Se);if(!q)throw(0,fe.Wq)(Ye.noCachedAuthorityError);const de=yield(0,C.C)(Q.createAuthCodeClient.bind(Q),f.Xv.StandardInteractionClientCreateAuthCodeClient,Q.logger,Q.performanceClient,Q.correlationId)(F,q);return Ie.removeThrottle(Q.browserStorage,Q.config.auth.clientId,he),new jn(de,Q.browserStorage,he,Q.logger,Q.performanceClient).handleCodeResponse(x,Se)})()}logout(x){var F=this;return(0,n.c)(function*(){F.logger.verbose("logoutRedirect called");const Q=F.initializeLogoutRequest(x),Se=F.initializeServerTelemetryManager(X.Ed.logout);try{F.eventHandler.emitEvent(ce.W.LOGOUT_START,X.wV.Redirect,x),yield F.clearCacheOnLogout(Q.account);const he={apiId:X.Ed.logout,timeout:F.config.system.redirectNavigationTimeout,noHistory:!1},de=(yield(0,C.C)(F.createAuthCodeClient.bind(F),f.Xv.StandardInteractionClientCreateAuthCodeClient,F.logger,F.performanceClient,F.correlationId)(Se,x&&x.authority,void 0,x&&x.account||void 0)).getLogoutUri(Q);if(F.eventHandler.emitEvent(ce.W.LOGOUT_SUCCESS,X.wV.Redirect,Q),!x||"function"!=typeof x.onRedirectNavigate)return F.browserStorage.getInteractionInProgress()||F.browserStorage.setInteractionInProgress(!0),void(yield F.navigationClient.navigateExternal(de,he));if(!1!==x.onRedirectNavigate(de))return F.logger.verbose("Logout onRedirectNavigate did not return false, navigating"),F.browserStorage.getInteractionInProgress()||F.browserStorage.setInteractionInProgress(!0),void(yield F.navigationClient.navigateExternal(de,he));F.browserStorage.setInteractionInProgress(!1),F.logger.verbose("Logout onRedirectNavigate returned false, stopping navigation")}catch(he){throw he instanceof w.WM&&(he.setCorrelationId(F.correlationId),Se.cacheFailedRequest(he)),F.eventHandler.emitEvent(ce.W.LOGOUT_FAILURE,X.wV.Redirect,null,he),F.eventHandler.emitEvent(ce.W.LOGOUT_END,X.wV.Redirect),he}F.eventHandler.emitEvent(ce.W.LOGOUT_END,X.wV.Redirect)})()}getRedirectStartPage(x){const F=x||window.location.href;return e._.getAbsoluteUrl(F,(0,be.getCurrentUri)())}}var dr=s(48124);function ii(cn,x,F,Q,Se){return Fr.apply(this,arguments)}function Fr(){return(Fr=(0,n.c)(function*(cn,x,F,Q,Se){if(x.addQueueMeasurement(f.Xv.SilentHandlerInitiateAuthRequest,Q),!cn)throw F.info("Navigate url is empty"),(0,fe.Wq)(Ye.emptyNavigateUri);return Se?(0,C.C)(Et,f.Xv.SilentHandlerLoadFrame,F,x,Q)(cn,Se,x,Q):(0,C.q)(an,f.Xv.SilentHandlerLoadFrameSync,F,x,Q)(cn)})).apply(this,arguments)}function rt(cn,x,F,Q,Se,he,q){return kt.apply(this,arguments)}function kt(){return(kt=(0,n.c)(function*(cn,x,F,Q,Se,he,q){return Q.addQueueMeasurement(f.Xv.SilentHandlerMonitorIframeForHash,he),new Promise((de,qe)=>{x{window.clearInterval(St),qe((0,fe.Wq)(Ye.monitorWindowTimeout))},x),St=window.setInterval(()=>{let Ft="";const en=cn.contentWindow;try{Ft=en?en.location.href:""}catch{}if(!Ft||"about:blank"===Ft)return;let gn="";en&&(gn=q===h.eE.QUERY?en.location.search:en.location.hash),window.clearTimeout(ht),window.clearInterval(St),de(gn)},F)}).finally(()=>{(0,C.q)(wn,f.Xv.RemoveHiddenIframe,Se,Q,he)(cn)})})).apply(this,arguments)}function Et(cn,x,F,Q){return F.addQueueMeasurement(f.Xv.SilentHandlerLoadFrame,Q),new Promise((Se,he)=>{const q=mn();window.setTimeout(()=>{q?(q.src=cn,Se(q)):he("Unable to load iframe")},x)})}function an(cn){const x=mn();return x.src=cn,x}function mn(){const cn=document.createElement("iframe");return cn.style.visibility="hidden",cn.style.position="absolute",cn.style.width=cn.style.height="0",cn.style.border="0",cn.setAttribute("sandbox","allow-scripts allow-same-origin allow-forms"),document.body.appendChild(cn),cn}function wn(cn){document.body===cn.parentNode&&document.body.removeChild(cn)}class Dn extends or{constructor(x,F,Q,Se,he,q,de,qe,ht,St,Ft){super(x,F,Q,Se,he,q,qe,St,Ft),this.apiId=de,this.nativeStorage=ht}acquireToken(x){var F=this;return(0,n.c)(function*(){F.performanceClient.addQueueMeasurement(f.Xv.SilentIframeClientAcquireToken,x.correlationId),!x.loginHint&&!x.sid&&(!x.account||!x.account.username)&&F.logger.warning("No user hint provided. The authorization server may need more information to complete this request.");const Q={...x};Q.prompt?Q.prompt!==h.GI.NONE&&Q.prompt!==h.GI.NO_SESSION&&(F.logger.warning(`SilentIframeClient. Replacing invalid prompt ${Q.prompt} with ${h.GI.NONE}`),Q.prompt=h.GI.NONE):Q.prompt=h.GI.NONE;const Se=yield(0,C.C)(F.initializeAuthorizationRequest.bind(F),f.Xv.StandardInteractionClientInitializeAuthorizationRequest,F.logger,F.performanceClient,x.correlationId)(Q,X.wV.Silent);(0,be.preconnect)(Se.authority);const he=F.initializeServerTelemetryManager(F.apiId);try{const q=yield(0,C.C)(F.createAuthCodeClient.bind(F),f.Xv.StandardInteractionClientCreateAuthCodeClient,F.logger,F.performanceClient,x.correlationId)(he,Se.authority,Se.azureCloudOptions,Se.account);return yield(0,C.C)(F.silentTokenHelper.bind(F),f.Xv.SilentIframeClientTokenHelper,F.logger,F.performanceClient,x.correlationId)(q,Se)}catch(q){throw q instanceof w.WM&&(q.setCorrelationId(F.correlationId),he.cacheFailedRequest(q)),q}})()}logout(){return Promise.reject((0,fe.Wq)(Ye.silentLogoutUnsupported))}silentTokenHelper(x,F){var Q=this;return(0,n.c)(function*(){const Se=F.correlationId;Q.performanceClient.addQueueMeasurement(f.Xv.SilentIframeClientTokenHelper,Se);const he=yield(0,C.C)(Q.initializeAuthorizationCodeRequest.bind(Q),f.Xv.StandardInteractionClientInitializeAuthorizationCodeRequest,Q.logger,Q.performanceClient,Se)(F),q=yield(0,C.C)(x.getAuthCodeUrl.bind(x),f.Xv.GetAuthCodeUrl,Q.logger,Q.performanceClient,Se)({...F,nativeBroker:ur.isNativeAvailable(Q.config,Q.logger,Q.nativeMessageHandler,F.authenticationScheme)}),de=new Tr(x,Q.browserStorage,he,Q.logger,Q.performanceClient),qe=yield(0,C.C)(ii,f.Xv.SilentHandlerInitiateAuthRequest,Q.logger,Q.performanceClient,Se)(q,Q.performanceClient,Q.logger,Se,Q.config.system.navigateFrameWait),ht=Q.config.auth.OIDCOptions.serverResponseType,St=yield(0,C.C)(rt,f.Xv.SilentHandlerMonitorIframeForHash,Q.logger,Q.performanceClient,Se)(qe,Q.config.system.iframeHashTimeout,Q.config.system.pollIntervalMilliseconds,Q.performanceClient,Q.logger,Se,ht),Ft=(0,C.q)(Nr,f.Xv.DeserializeResponse,Q.logger,Q.performanceClient,Q.correlationId)(St,ht,Q.logger);if(Ft.accountId){if(Q.logger.verbose("Account id found in hash, calling WAM for token"),!Q.nativeMessageHandler)throw(0,fe.Wq)(Ye.nativeConnectionNotEstablished);const en=new ar(Q.config,Q.browserStorage,Q.browserCrypto,Q.logger,Q.eventHandler,Q.navigationClient,Q.apiId,Q.performanceClient,Q.nativeMessageHandler,Ft.accountId,Q.browserStorage,Se),{userRequestState:gn}=Le.c.parseRequestState(Q.browserCrypto,F.state);return(0,C.C)(en.acquireToken.bind(en),f.Xv.NativeInteractionClientAcquireToken,Q.logger,Q.performanceClient,Se)({...F,state:gn,prompt:F.prompt||h.GI.NONE})}return(0,C.C)(de.handleCodeResponse.bind(de),f.Xv.HandleCodeResponse,Q.logger,Q.performanceClient,Se)(Ft,F)})()}}class sr extends or{acquireToken(x){var F=this;return(0,n.c)(function*(){F.performanceClient.addQueueMeasurement(f.Xv.SilentRefreshClientAcquireToken,x.correlationId);const Q=yield(0,C.C)(F.initializeBaseRequest.bind(F),f.Xv.InitializeBaseRequest,F.logger,F.performanceClient,x.correlationId)(x),Se={...x,...Q};x.redirectUri&&(Se.redirectUri=F.getRedirectUri(x.redirectUri));const he=F.initializeServerTelemetryManager(X.Ed.acquireTokenSilent_silentFlow),q=yield F.createRefreshTokenClient(he,Se.authority,Se.azureCloudOptions,Se.account);return(0,C.C)(q.acquireTokenByRefreshToken.bind(q),f.Xv.RefreshTokenClientAcquireTokenByRefreshToken,F.logger,F.performanceClient,x.correlationId)(Se).catch(de=>{throw de.setCorrelationId(F.correlationId),he.cacheFailedRequest(de),de})})()}logout(){return Promise.reject((0,fe.Wq)(Ye.silentLogoutUnsupported))}createRefreshTokenClient(x,F,Q,Se){var he=this;return(0,n.c)(function*(){const q=yield(0,C.C)(he.getClientConfiguration.bind(he),f.Xv.StandardInteractionClientGetClientConfiguration,he.logger,he.performanceClient,he.correlationId)(x,F,Q,Se);return new Mn(q,he.performanceClient)})()}}class Xn{constructor(x,F,Q,Se){this.isBrowserEnvironment=typeof window<"u",this.config=x,this.storage=F,this.logger=Q,this.cryptoObj=Se}loadExternalTokens(x,F,Q){if(this.logger.info("TokenCache - loadExternalTokens called"),!F.id_token)throw(0,fe.Wq)(Ye.unableToLoadToken);const Se=nn.aw(F.id_token,At.W);let he,q,de;if(x.account)de=H.M.createFromAccountInfo(x.account),he=new dt.O(de,this.loadIdToken(F.id_token,de.homeAccountId,x.account.environment,x.account.tenantId),this.loadAccessToken(x,F,de.homeAccountId,x.account.environment,x.account.tenantId,Q),this.loadRefreshToken(x,F,de.homeAccountId,x.account.environment));else{if(!x.authority)throw(0,fe.Wq)(Ye.unableToLoadToken);{const qe=V.generateAuthority(x.authority,x.azureCloudOptions);if(q=new V(qe,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,x.correlationId||(0,Te.E5)()),Q.clientInfo)this.logger.trace("TokenCache - homeAccountId from options"),de=this.loadAccount(Se,q,Q.clientInfo),he=new dt.O(de,this.loadIdToken(F.id_token,de.homeAccountId,q.hostnameAndPort,q.tenant),this.loadAccessToken(x,F,de.homeAccountId,q.hostnameAndPort,q.tenant,Q),this.loadRefreshToken(x,F,de.homeAccountId,q.hostnameAndPort));else{if(!F.client_info)throw(0,fe.Wq)(Ye.unableToLoadToken);this.logger.trace("TokenCache - homeAccountId from response"),de=this.loadAccount(Se,q,F.client_info),he=new dt.O(de,this.loadIdToken(F.id_token,de.homeAccountId,q.hostnameAndPort,q.tenant),this.loadAccessToken(x,F,de.homeAccountId,q.hostnameAndPort,q.tenant,Q),this.loadRefreshToken(x,F,de.homeAccountId,q.hostnameAndPort))}}}return this.generateAuthenticationResult(x,Se,he,de,q)}loadAccount(x,F,Q,Se){if(this.isBrowserEnvironment){let he;if(this.logger.verbose("TokenCache - loading account"),Se?he=Se:void 0!==F.authorityType&&Q&&(he=H.M.generateHomeAccountId(Q,F.authorityType,this.logger,this.cryptoObj,x)),!he)throw(0,fe.Wq)(Ye.unableToLoadToken);const de=En(this.storage,F,he,x,At.W,Q,F.hostnameAndPort,x.tid,void 0,void 0,this.logger);return this.storage.setAccount(de),de}throw(0,fe.Wq)(Ye.unableToLoadToken)}loadIdToken(x,F,Q,Se){const he=D.YF(F,Q,x,this.config.auth.clientId,Se);if(this.isBrowserEnvironment)return this.logger.verbose("TokenCache - loading id token"),this.storage.setIdTokenCredential(he),he;throw(0,fe.Wq)(Ye.unableToLoadToken)}loadAccessToken(x,F,Q,Se,he,q){if(!F.access_token)return this.logger.verbose("TokenCache - No access token provided for caching"),null;if(!F.expires_in||!q.extendedExpiresOn)throw(0,fe.Wq)(Ye.unableToLoadToken);const de=new Tt.k(x.scopes).printScopes(),qe=q.expiresOn||F.expires_in+(new Date).getTime()/1e3,St=D.MJ(Q,Se,F.access_token,this.config.auth.clientId,he,de,qe,q.extendedExpiresOn,At.W);if(this.isBrowserEnvironment)return this.logger.verbose("TokenCache - loading access token"),this.storage.setAccessTokenCredential(St),St;throw(0,fe.Wq)(Ye.unableToLoadToken)}loadRefreshToken(x,F,Q,Se){if(!F.refresh_token)return this.logger.verbose("TokenCache - No refresh token provided for caching"),null;const he=D._c(Q,Se,F.refresh_token,this.config.auth.clientId);if(this.isBrowserEnvironment)return this.logger.verbose("TokenCache - loading refresh token"),this.storage.setRefreshTokenCredential(he),he;throw(0,fe.Wq)(Ye.unableToLoadToken)}generateAuthenticationResult(x,F,Q,Se,he){let ht,q=h.Mv.EMPTY_STRING,de=[],qe=null;return Q?.accessToken&&(q=Q.accessToken.secret,de=Tt.k.fromString(Q.accessToken.target).asArray(),qe=new Date(1e3*Number(Q.accessToken.expiresOn)),ht=new Date(1e3*Number(Q.accessToken.extendedExpiresOn))),{authority:he?he.canonicalAuthority:h.Mv.EMPTY_STRING,uniqueId:F.oid||F.sub||h.Mv.EMPTY_STRING,tenantId:F.tid||h.Mv.EMPTY_STRING,scopes:de,account:Se.getAccountInfo(),idToken:Q.idToken?.secret||"",idTokenClaims:F||{},accessToken:q,fromCache:!0,expiresOn:qe,correlationId:x.correlationId||h.Mv.EMPTY_STRING,requestId:h.Mv.EMPTY_STRING,extExpiresOn:ht,familyId:h.Mv.EMPTY_STRING,tokenType:Q?.accessToken?.tokenType||h.Mv.EMPTY_STRING,state:h.Mv.EMPTY_STRING,cloudGraphHostName:Se.cloudGraphHostName||h.Mv.EMPTY_STRING,msGraphHost:Se.msGraphHost||h.Mv.EMPTY_STRING,code:void 0,fromNativeBroker:!1}}}class xr extends kn{constructor(x){super(x),this.includeRedirectUri=!1}}class Or extends or{constructor(x,F,Q,Se,he,q,de,qe,ht,St){super(x,F,Q,Se,he,q,qe,ht,St),this.apiId=de}acquireToken(x){var F=this;return(0,n.c)(function*(){if(!x.code)throw(0,fe.Wq)(Ye.authCodeRequired);const Q=yield(0,C.C)(F.initializeAuthorizationRequest.bind(F),f.Xv.StandardInteractionClientInitializeAuthorizationRequest,F.logger,F.performanceClient,x.correlationId)(x,X.wV.Silent),Se=F.initializeServerTelemetryManager(F.apiId);try{const he={...Q,code:x.code},q=yield(0,C.C)(F.getClientConfiguration.bind(F),f.Xv.StandardInteractionClientGetClientConfiguration,F.logger,F.performanceClient,x.correlationId)(Se,Q.authority,Q.azureCloudOptions,Q.account),de=new xr(q);F.logger.verbose("Auth code client created");const qe=new Tr(de,F.browserStorage,he,F.logger,F.performanceClient);return yield(0,C.C)(qe.handleCodeResponseFromServer.bind(qe),f.Xv.HandleCodeResponseFromServer,F.logger,F.performanceClient,x.correlationId)({code:x.code,msgraph_host:x.msGraphHost,cloud_graph_host_name:x.cloudGraphHostName,cloud_instance_host_name:x.cloudInstanceHostName},Q,!1)}catch(he){throw he instanceof w.WM&&(he.setCorrelationId(F.correlationId),Se.cacheFailedRequest(he)),he}})()}logout(){return Promise.reject((0,fe.Wq)(Ye.silentLogoutUnsupported))}}var Vr=s(85288);class Ir{constructor(x){this.atsAsyncMeasurement=void 0,this.operatingContext=x,this.isBrowserEnvironment=this.operatingContext.isBrowserEnvironment(),this.config=x.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 l.A(this.logger,this.performanceClient):u.K,this.eventHandler=new ct.c(this.logger,this.browserCrypto),this.browserStorage=this.isBrowserEnvironment?new ie.Y(this.config.auth.clientId,this.config.cache,this.browserCrypto,this.logger,function k(cn){const x=cn.cloudDiscoveryMetadata;let F;if(x)try{F=JSON.parse(x)}catch{throw(0,M.QN)(N.invalidCloudDiscoveryMetadata)}return{canonicalAuthority:cn.authority?R(cn.authority):void 0,knownAuthorities:cn.knownAuthorities,cloudDiscoveryMetadata:F}}(this.config.auth)):(0,ie.S)(this.config.auth.clientId,this.logger),this.nativeInternalStorage=new ie.Y(this.config.auth.clientId,{cacheLocation:X.Ir.MemoryStorage,temporaryCacheLocation:X.Ir.MemoryStorage,storeAuthStateInCookie:!1,secureCookies:!1,cacheMigrationEnabled:!1,claimsBasedCachingEnabled:!1},this.browserCrypto,this.logger),this.tokenCache=new Xn(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(x){return(0,n.c)(function*(){const F=new Ir(x);return yield F.initialize(),F})()}trackPageVisibility(){this.atsAsyncMeasurement&&(this.logger.info("Perf: Visibility change detected"),this.atsAsyncMeasurement.increment({visibilityChangeCount:1}))}initialize(){var x=this;return(0,n.c)(function*(){if(x.logger.trace("initialize called"),x.initialized)return void x.logger.info("initialize has already been called, exiting early.");const F=x.config.system.allowNativeBroker,Q=x.performanceClient.startMeasurement(f.Xv.InitializeClientApplication);if(x.eventHandler.emitEvent(ce.W.INITIALIZE_START),F)try{x.nativeExtensionProvider=yield ur.createProvider(x.logger,x.config.system.nativeBrokerHandshakeTimeout,x.performanceClient)}catch(Se){x.logger.verbose(Se)}x.config.cache.claimsBasedCachingEnabled||(x.logger.verbose("Claims-based caching is disabled. Clearing the previous cache with claims"),yield(0,C.C)(x.browserStorage.clearTokensAndKeysWithClaims.bind(x.browserStorage),f.Xv.ClearTokensAndKeysWithClaims,x.logger,x.performanceClient)(x.performanceClient)),x.initialized=!0,x.eventHandler.emitEvent(ce.W.INITIALIZE_END),Q.end({allowNativeBroker:F,success:!0})})()}handleRedirectPromise(x){var F=this;return(0,n.c)(function*(){F.logger.verbose("handleRedirectPromise called"),(0,be.blockAPICallsBeforeInitialize)(F.initialized);const Q=F.getAllAccounts();if(F.isBrowserEnvironment){const Se=x||"";let he=F.redirectResponse.get(Se);if(typeof he>"u"){const q=F.browserStorage.getCachedNativeRequest(),de=q&&ur.isNativeAvailable(F.config,F.logger,F.nativeExtensionProvider)&&F.nativeExtensionProvider&&!x,qe=de?q?.correlationId:F.browserStorage.getTemporaryCache(X.zH.CORRELATION_ID,!0)||"",ht=F.performanceClient.startMeasurement("acquireTokenRedirect",qe);let St;if(F.eventHandler.emitEvent(ce.W.HANDLE_REDIRECT_START,X.wV.Redirect),F.logger.verbose("handleRedirectPromise has been called for the first time, storing the promise"),de&&F.nativeExtensionProvider){F.logger.trace("handleRedirectPromise - acquiring token from native platform");const Ft=new ar(F.config,F.browserStorage,F.browserCrypto,F.logger,F.eventHandler,F.navigationClient,X.Ed.handleRedirectPromise,F.performanceClient,F.nativeExtensionProvider,q.accountId,F.nativeInternalStorage,q.correlationId);St=(0,C.C)(Ft.handleRedirectPromise.bind(Ft),f.Xv.HandleNativeRedirectPromiseMeasurement,F.logger,F.performanceClient,ht.event.correlationId)(F.performanceClient,ht.event.correlationId)}else{F.logger.trace("handleRedirectPromise - acquiring token from web flow");const Ft=F.createRedirectClient(qe);St=(0,C.C)(Ft.handleRedirectPromise.bind(Ft),f.Xv.HandleRedirectPromiseMeasurement,F.logger,F.performanceClient,ht.event.correlationId)(x,F.performanceClient,ht.event.correlationId)}he=St.then(Ft=>(Ft&&(Q.length{const en=Ft;throw F.eventHandler.emitEvent(Q.length>0?ce.W.ACQUIRE_TOKEN_FAILURE:ce.W.LOGIN_FAILURE,X.wV.Redirect,null,en),F.eventHandler.emitEvent(ce.W.HANDLE_REDIRECT_END,X.wV.Redirect),ht.end(en instanceof w.WM?{success:!1,errorCode:en.errorCode,subErrorCode:en.subError}:{success:!1}),Ft}),F.redirectResponse.set(Se,he)}else F.logger.verbose("handleRedirectPromise has been called previously, returning the result from the first call");return he}return F.logger.verbose("handleRedirectPromise returns null, not browser environment"),null})()}acquireTokenRedirect(x){var F=this;return(0,n.c)(function*(){const Q=F.getRequestCorrelationId(x);F.logger.verbose("acquireTokenRedirect called",Q),F.preflightBrowserEnvironmentCheck(X.wV.Redirect);const Se=F.getAllAccounts().length>0;let he;return F.eventHandler.emitEvent(Se?ce.W.ACQUIRE_TOKEN_START:ce.W.LOGIN_START,X.wV.Redirect,x),he=F.nativeExtensionProvider&&F.canUseNative(x)?new ar(F.config,F.browserStorage,F.browserCrypto,F.logger,F.eventHandler,F.navigationClient,X.Ed.acquireTokenRedirect,F.performanceClient,F.nativeExtensionProvider,F.getNativeAccountId(x),F.nativeInternalStorage,Q).acquireTokenRedirect(x).catch(de=>{if(de instanceof mt&&on(de))return F.nativeExtensionProvider=void 0,F.createRedirectClient(Q).acquireToken(x);if(de instanceof A.uw)return F.logger.verbose("acquireTokenRedirect - Resolving interaction required error thrown by native broker by falling back to web flow"),F.createRedirectClient(Q).acquireToken(x);throw F.getBrowserStorage().setInteractionInProgress(!1),de}):F.createRedirectClient(Q).acquireToken(x),he.catch(q=>{throw F.eventHandler.emitEvent(Se?ce.W.ACQUIRE_TOKEN_FAILURE:ce.W.LOGIN_FAILURE,X.wV.Redirect,null,q),q})})()}acquireTokenPopup(x){const F=this.getRequestCorrelationId(x),Q=this.performanceClient.startMeasurement(f.Xv.AcquireTokenPopup,F);try{this.logger.verbose("acquireTokenPopup called",F),this.preflightBrowserEnvironmentCheck(X.wV.Popup)}catch(q){return Promise.reject(q)}const Se=this.getAllAccounts();let he;return this.eventHandler.emitEvent(Se.length>0?ce.W.ACQUIRE_TOKEN_START:ce.W.LOGIN_START,X.wV.Popup,x),he=this.canUseNative(x)?this.acquireTokenNative({...x,correlationId:F},X.Ed.acquireTokenPopup).then(q=>(this.getBrowserStorage().setInteractionInProgress(!1),Q.end({success:!0,isNativeBroker:!0,requestId:q.requestId}),q)).catch(q=>{if(q instanceof mt&&on(q))return this.nativeExtensionProvider=void 0,this.createPopupClient(F).acquireToken(x);if(q instanceof A.uw)return this.logger.verbose("acquireTokenPopup - Resolving interaction required error thrown by native broker by falling back to web flow"),this.createPopupClient(F).acquireToken(x);throw this.getBrowserStorage().setInteractionInProgress(!1),q}):this.createPopupClient(F).acquireToken(x),he.then(q=>(Se.length(this.eventHandler.emitEvent(Se.length>0?ce.W.ACQUIRE_TOKEN_FAILURE:ce.W.LOGIN_FAILURE,X.wV.Popup,null,q),Q.end({errorCode:q.errorCode,subErrorCode:q.subError,success:!1}),Promise.reject(q)))}trackPageVisibilityWithMeasurement(){const x=this.ssoSilentMeasurement||this.acquireTokenByCodeAsyncMeasurement;x&&(this.logger.info("Perf: Visibility change detected in ",x.event.name),x.increment({visibilityChangeCount:1}))}ssoSilent(x){var F=this;return(0,n.c)(function*(){const Q=F.getRequestCorrelationId(x),Se={...x,prompt:x.prompt,correlationId:Q};let he;return F.preflightBrowserEnvironmentCheck(X.wV.Silent),F.ssoSilentMeasurement=F.performanceClient.startMeasurement(f.Xv.SsoSilent,Q),F.ssoSilentMeasurement?.increment({visibilityChangeCount:0}),document.addEventListener("visibilitychange",F.trackPageVisibilityWithMeasurement),F.logger.verbose("ssoSilent called",Q),F.eventHandler.emitEvent(ce.W.SSO_SILENT_START,X.wV.Silent,Se),he=F.canUseNative(Se)?F.acquireTokenNative(Se,X.Ed.ssoSilent).catch(q=>{if(q instanceof mt&&on(q))return F.nativeExtensionProvider=void 0,F.createSilentIframeClient(Se.correlationId).acquireToken(Se);throw q}):F.createSilentIframeClient(Se.correlationId).acquireToken(Se),he.then(q=>(F.eventHandler.emitEvent(ce.W.SSO_SILENT_SUCCESS,X.wV.Silent,q),F.ssoSilentMeasurement?.add({accessTokenSize:q.accessToken.length,idTokenSize:q.idToken.length}),F.ssoSilentMeasurement?.end({success:!0,isNativeBroker:q.fromNativeBroker,requestId:q.requestId}),q)).catch(q=>{throw F.eventHandler.emitEvent(ce.W.SSO_SILENT_FAILURE,X.wV.Silent,null,q),F.ssoSilentMeasurement?.end({errorCode:q.errorCode,subErrorCode:q.subError,success:!1}),q}).finally(()=>{document.removeEventListener("visibilitychange",F.trackPageVisibilityWithMeasurement)})})()}acquireTokenByCode(x){var F=this;return(0,n.c)(function*(){const Q=F.getRequestCorrelationId(x);F.preflightBrowserEnvironmentCheck(X.wV.Silent),F.logger.trace("acquireTokenByCode called",Q),F.eventHandler.emitEvent(ce.W.ACQUIRE_TOKEN_BY_CODE_START,X.wV.Silent,x);const Se=F.performanceClient.startMeasurement(f.Xv.AcquireTokenByCode,Q);try{if(x.code&&x.nativeAccountId)throw(0,fe.Wq)(Ye.spaCodeAndNativeAccountIdPresent);if(x.code){const he=x.code;let q=F.hybridAuthCodeResponses.get(he);return q?(F.logger.verbose("Existing acquireTokenByCode request found",Q),Se.discard()):(F.logger.verbose("Initiating new acquireTokenByCode request",Q),q=F.acquireTokenByCodeAsync({...x,correlationId:Q}).then(de=>(F.eventHandler.emitEvent(ce.W.ACQUIRE_TOKEN_BY_CODE_SUCCESS,X.wV.Silent,de),F.hybridAuthCodeResponses.delete(he),Se.add({accessTokenSize:de.accessToken.length,idTokenSize:de.idToken.length}),Se.end({success:!0,isNativeBroker:de.fromNativeBroker,requestId:de.requestId}),de)).catch(de=>{throw F.hybridAuthCodeResponses.delete(he),F.eventHandler.emitEvent(ce.W.ACQUIRE_TOKEN_BY_CODE_FAILURE,X.wV.Silent,null,de),Se.end({errorCode:de.errorCode,subErrorCode:de.subError,success:!1}),de}),F.hybridAuthCodeResponses.set(he,q)),yield q}if(x.nativeAccountId){if(F.canUseNative(x,x.nativeAccountId))return yield F.acquireTokenNative({...x,correlationId:Q},X.Ed.acquireTokenByCode,x.nativeAccountId).catch(he=>{throw he instanceof mt&&on(he)&&(F.nativeExtensionProvider=void 0),he});throw(0,fe.Wq)(Ye.unableToAcquireTokenFromNativePlatform)}throw(0,fe.Wq)(Ye.authCodeOrNativeAccountIdRequired)}catch(he){throw F.eventHandler.emitEvent(ce.W.ACQUIRE_TOKEN_BY_CODE_FAILURE,X.wV.Silent,null,he),Se.end({errorCode:he instanceof w.WM&&he.errorCode||void 0,subErrorCode:he instanceof w.WM&&he.subError||void 0,success:!1}),he}})()}acquireTokenByCodeAsync(x){var F=this;return(0,n.c)(function*(){return F.logger.trace("acquireTokenByCodeAsync called",x.correlationId),F.acquireTokenByCodeAsyncMeasurement=F.performanceClient.startMeasurement(f.Xv.AcquireTokenByCodeAsync,x.correlationId),F.acquireTokenByCodeAsyncMeasurement?.increment({visibilityChangeCount:0}),document.addEventListener("visibilitychange",F.trackPageVisibilityWithMeasurement),yield F.createSilentAuthCodeClient(x.correlationId).acquireToken(x).then(he=>(F.acquireTokenByCodeAsyncMeasurement?.end({success:!0,fromCache:he.fromCache,isNativeBroker:he.fromNativeBroker,requestId:he.requestId}),he)).catch(he=>{throw F.acquireTokenByCodeAsyncMeasurement?.end({errorCode:he.errorCode,subErrorCode:he.subError,success:!1}),he}).finally(()=>{document.removeEventListener("visibilitychange",F.trackPageVisibilityWithMeasurement)})})()}acquireTokenFromCache(x,F,Q){var Se=this;return(0,n.c)(function*(){switch(Se.performanceClient.addQueueMeasurement(f.Xv.AcquireTokenFromCache,F.correlationId),Q){case X.wd.Default:case X.wd.AccessToken:case X.wd.AccessTokenAndRefreshToken:return(0,C.C)(x.acquireToken.bind(x),f.Xv.SilentCacheClientAcquireToken,Se.logger,Se.performanceClient,F.correlationId)(F);default:throw(0,o.mQ)(L.tokenRefreshRequired)}})()}acquireTokenByRefreshToken(x,F){var Q=this;return(0,n.c)(function*(){switch(Q.performanceClient.addQueueMeasurement(f.Xv.AcquireTokenByRefreshToken,x.correlationId),F){case X.wd.Default:case X.wd.AccessTokenAndRefreshToken:case X.wd.RefreshToken:case X.wd.RefreshTokenAndNetwork:const Se=Q.createSilentRefreshClient(x.correlationId);return(0,C.C)(Se.acquireToken.bind(Se),f.Xv.SilentRefreshClientAcquireToken,Q.logger,Q.performanceClient,x.correlationId)(x);default:throw(0,o.mQ)(L.tokenRefreshRequired)}})()}acquireTokenBySilentIframe(x){var F=this;return(0,n.c)(function*(){F.performanceClient.addQueueMeasurement(f.Xv.AcquireTokenBySilentIframe,x.correlationId);const Q=F.createSilentIframeClient(x.correlationId);return(0,C.C)(Q.acquireToken.bind(Q),f.Xv.SilentIframeClientAcquireToken,F.logger,F.performanceClient,x.correlationId)(x)})()}logout(x){var F=this;return(0,n.c)(function*(){const Q=F.getRequestCorrelationId(x);return F.logger.warning("logout API is deprecated and will be removed in msal-browser v3.0.0. Use logoutRedirect instead.",Q),F.logoutRedirect({correlationId:Q,...x})})()}logoutRedirect(x){var F=this;return(0,n.c)(function*(){const Q=F.getRequestCorrelationId(x);return F.preflightBrowserEnvironmentCheck(X.wV.Redirect),F.createRedirectClient(Q).logout(x)})()}logoutPopup(x){try{const F=this.getRequestCorrelationId(x);return this.preflightBrowserEnvironmentCheck(X.wV.Popup),this.createPopupClient(F).logout(x)}catch(F){return Promise.reject(F)}}clearCache(x){var F=this;return(0,n.c)(function*(){const Q=F.getRequestCorrelationId(x);return F.createSilentCacheClient(Q).logout(x)})()}getAllAccounts(x){return this.logger.verbose("getAllAccounts called"),this.isBrowserEnvironment?this.browserStorage.getAllAccounts(x):[]}getAccount(x){if(this.logger.trace("getAccount called"),0===Object.keys(x).length)return this.logger.warning("getAccount: No accountFilter provided"),null;const F=this.browserStorage.getAccountInfoFilteredBy(x);return F?(this.logger.verbose("getAccount: Account matching provided filter found, returning"),F):(this.logger.verbose("getAccount: No matching account found, returning null"),null)}getAccountByUsername(x){if(this.logger.trace("getAccountByUsername called"),!x)return this.logger.warning("getAccountByUsername: No username provided"),null;const F=this.browserStorage.getAccountInfoFilteredBy({username:x});return F?(this.logger.verbose("getAccountByUsername: Account matching username found, returning"),this.logger.verbosePii(`getAccountByUsername: Returning signed-in accounts matching username: ${x}`),F):(this.logger.verbose("getAccountByUsername: No matching account found, returning null"),null)}getAccountByHomeId(x){if(this.logger.trace("getAccountByHomeId called"),!x)return this.logger.warning("getAccountByHomeId: No homeAccountId provided"),null;const F=this.browserStorage.getAccountInfoFilteredBy({homeAccountId:x});return F?(this.logger.verbose("getAccountByHomeId: Account matching homeAccountId found, returning"),this.logger.verbosePii(`getAccountByHomeId: Returning signed-in accounts matching homeAccountId: ${x}`),F):(this.logger.verbose("getAccountByHomeId: No matching account found, returning null"),null)}getAccountByLocalId(x){if(this.logger.trace("getAccountByLocalId called"),!x)return this.logger.warning("getAccountByLocalId: No localAccountId provided"),null;const F=this.browserStorage.getAccountInfoFilteredBy({localAccountId:x});return F?(this.logger.verbose("getAccountByLocalId: Account matching localAccountId found, returning"),this.logger.verbosePii(`getAccountByLocalId: Returning signed-in accounts matching localAccountId: ${x}`),F):(this.logger.verbose("getAccountByLocalId: No matching account found, returning null"),null)}setActiveAccount(x){this.browserStorage.setActiveAccount(x)}getActiveAccount(){return this.browserStorage.getActiveAccount()}hydrateCache(x,F){var Q=this;return(0,n.c)(function*(){Q.logger.verbose("hydrateCache called");const Se=H.M.createFromAccountInfo(x.account,x.cloudGraphHostName,x.msGraphHost);return Q.browserStorage.setAccount(Se),x.fromNativeBroker?(Q.logger.verbose("Response was from native broker, storing in-memory"),Q.nativeInternalStorage.hydrateCache(x,F)):Q.browserStorage.hydrateCache(x,F)})()}preflightBrowserEnvironmentCheck(x,F=!1){if(this.logger.verbose("preflightBrowserEnvironmentCheck started"),(0,be.blockNonBrowserEnvironment)(this.isBrowserEnvironment),(0,be.blockRedirectInIframe)(x,this.config.system.allowRedirectInIframe),(0,be.blockReloadInHiddenIframes)(),(0,be.blockAcquireTokenInPopups)(),(0,be.blockAPICallsBeforeInitialize)(this.initialized),x===X.wV.Redirect&&this.config.cache.cacheLocation===X.Ir.MemoryStorage&&!this.config.cache.storeAuthStateInCookie)throw(0,ze.cf)(Vr.inMemRedirectUnavailable);(x===X.wV.Redirect||x===X.wV.Popup)&&this.preflightInteractiveRequest(!F)}preflightInteractiveRequest(x){this.logger.verbose("preflightInteractiveRequest called, validating app environment"),(0,be.blockReloadInHiddenIframes)(),x&&this.getBrowserStorage().setInteractionInProgress(!0)}acquireTokenNative(x,F,Q){var Se=this;return(0,n.c)(function*(){if(Se.logger.trace("acquireTokenNative called"),!Se.nativeExtensionProvider)throw(0,fe.Wq)(Ye.nativeConnectionNotEstablished);return new ar(Se.config,Se.browserStorage,Se.browserCrypto,Se.logger,Se.eventHandler,Se.navigationClient,F,Se.performanceClient,Se.nativeExtensionProvider,Q||Se.getNativeAccountId(x),Se.nativeInternalStorage,x.correlationId).acquireToken(x)})()}canUseNative(x,F){if(this.logger.trace("canUseNative called"),!ur.isNativeAvailable(this.config,this.logger,this.nativeExtensionProvider,x.authenticationScheme))return this.logger.trace("canUseNative: isNativeAvailable returned false, returning false"),!1;if(x.prompt)switch(x.prompt){case h.GI.NONE:case h.GI.CONSENT:case h.GI.LOGIN:this.logger.trace("canUseNative: prompt is compatible with native flow");break;default:return this.logger.trace(`canUseNative: prompt = ${x.prompt} is not compatible with native flow, returning false`),!1}return!(!F&&!this.getNativeAccountId(x)&&(this.logger.trace("canUseNative: nativeAccountId is not available, returning false"),1))}getNativeAccountId(x){const F=x.account||this.getAccount({loginHint:x.loginHint,sid:x.sid})||this.getActiveAccount();return F&&F.nativeAccountId||""}createPopupClient(x){return new tn(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeInternalStorage,this.nativeExtensionProvider,x)}createRedirectClient(x){return new qn(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeInternalStorage,this.nativeExtensionProvider,x)}createSilentIframeClient(x){return new Dn(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,X.Ed.ssoSilent,this.performanceClient,this.nativeInternalStorage,this.nativeExtensionProvider,x)}createSilentCacheClient(x){return new gt(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeExtensionProvider,x)}createSilentRefreshClient(x){return new sr(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeExtensionProvider,x)}createSilentAuthCodeClient(x){return new Or(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,X.Ed.acquireTokenByCode,this.performanceClient,this.nativeExtensionProvider,x)}addEventCallback(x){return this.eventHandler.addEventCallback(x)}removeEventCallback(x){this.eventHandler.removeEventCallback(x)}addPerformanceCallback(x){return this.performanceClient.addPerformanceCallback(x)}removePerformanceCallback(x){return this.performanceClient.removePerformanceCallback(x)}enableAccountStorageEvents(){this.eventHandler.enableAccountStorageEvents()}disableAccountStorageEvents(){this.eventHandler.disableAccountStorageEvents()}getTokenCache(){return this.tokenCache}getLogger(){return this.logger}setLogger(x){this.logger=x}initializeWrapperLibrary(x,F){this.browserStorage.setWrapperMetadata(x,F)}setNavigationClient(x){this.navigationClient=x}getConfiguration(){return this.config}getPerformanceClient(){return this.performanceClient}getBrowserStorage(){return this.browserStorage}isBrowserEnv(){return this.isBrowserEnvironment}getEventHandler(){return this.eventHandler}getRequestCorrelationId(x){return x?.correlationId?x.correlationId:this.isBrowserEnvironment?(0,Te.E5)():h.Mv.EMPTY_STRING}loginRedirect(x){var F=this;return(0,n.c)(function*(){const Q=F.getRequestCorrelationId(x);return F.logger.verbose("loginRedirect called",Q),F.acquireTokenRedirect({correlationId:Q,...x||X.wv})})()}loginPopup(x){const F=this.getRequestCorrelationId(x);return this.logger.verbose("loginPopup called",F),this.acquireTokenPopup({correlationId:F,...x||X.wv})}acquireTokenSilent(x){var F=this;return(0,n.c)(function*(){const Q=F.getRequestCorrelationId(x),Se=F.performanceClient.startMeasurement(f.Xv.AcquireTokenSilent,Q);Se.add({cacheLookupPolicy:x.cacheLookupPolicy}),F.preflightBrowserEnvironmentCheck(X.wV.Silent),F.logger.verbose("acquireTokenSilent called",Q);const he=x.account||F.getActiveAccount();if(!he)throw(0,fe.Wq)(Ye.noAccountError);const de=JSON.stringify({clientId:F.config.auth.clientId,authority:x.authority||h.Mv.EMPTY_STRING,scopes:x.scopes,homeAccountIdentifier:he.homeAccountId,claims:x.claims,authenticationScheme:x.authenticationScheme,resourceRequestMethod:x.resourceRequestMethod,resourceRequestUri:x.resourceRequestUri,shrClaims:x.shrClaims,sshKid:x.sshKid,shrOptions:x.shrOptions}),qe=F.activeSilentTokenRequests.get(de);if(typeof qe>"u"){F.logger.verbose("acquireTokenSilent called for the first time, storing active request",Q);const ht=(0,C.C)(F.acquireTokenSilentAsync.bind(F),f.Xv.AcquireTokenSilentAsync,F.logger,F.performanceClient,Q)({...x,correlationId:Q},he).then(St=>(F.activeSilentTokenRequests.delete(de),Se.add({accessTokenSize:St.accessToken.length,idTokenSize:St.idToken.length}),Se.end({success:!0,fromCache:St.fromCache,isNativeBroker:St.fromNativeBroker,cacheLookupPolicy:x.cacheLookupPolicy,requestId:St.requestId}),St)).catch(St=>{throw F.activeSilentTokenRequests.delete(de),Se.end({errorCode:St.errorCode,subErrorCode:St.subError,success:!1}),St});return F.activeSilentTokenRequests.set(de,ht),{...yield ht,state:x.state}}return F.logger.verbose("acquireTokenSilent has been called previously, returning the result from the first call",Q),Se.discard(),{...yield qe,state:x.state}})()}acquireTokenSilentAsync(x,F){var Q=this;return(0,n.c)(function*(){let Se;if(Q.performanceClient.addQueueMeasurement(f.Xv.AcquireTokenSilentAsync,x.correlationId),Q.eventHandler.emitEvent(ce.W.ACQUIRE_TOKEN_START,X.wV.Silent,x),Q.atsAsyncMeasurement=Q.performanceClient.startMeasurement(f.Xv.AcquireTokenSilentAsync,x.correlationId),Q.atsAsyncMeasurement?.increment({visibilityChangeCount:0}),document.addEventListener("visibilitychange",Q.trackPageVisibility),ur.isNativeAvailable(Q.config,Q.logger,Q.nativeExtensionProvider,x.authenticationScheme)&&F.nativeAccountId){Q.logger.verbose("acquireTokenSilent - attempting to acquire token from native platform");const he={...x,account:F};Se=Q.acquireTokenNative(he,X.Ed.acquireTokenSilent_silentFlow).catch(function(){var q=(0,n.c)(function*(de){if(de instanceof mt&&on(de))return Q.logger.verbose("acquireTokenSilent - native platform unavailable, falling back to web flow"),Q.nativeExtensionProvider=void 0,Q.createSilentIframeClient(x.correlationId).acquireToken(x);throw de});return function(de){return q.apply(this,arguments)}}())}else{Q.logger.verbose("acquireTokenSilent - attempting to acquire token from web flow");const he=Q.createSilentCacheClient(x.correlationId),q=yield(0,C.C)(he.initializeSilentRequest.bind(he),f.Xv.InitializeSilentRequest,Q.logger,Q.performanceClient,x.correlationId)(x,F),de=x.cacheLookupPolicy||X.wd.Default;Se=(0,C.C)(Q.acquireTokenFromCache.bind(Q),f.Xv.AcquireTokenFromCache,Q.logger,Q.performanceClient,q.correlationId)(he,q,de).catch(qe=>{if(x.cacheLookupPolicy===X.wd.AccessToken)throw qe;return(0,be.blockReloadInHiddenIframes)(),Q.eventHandler.emitEvent(ce.W.ACQUIRE_TOKEN_NETWORK_START,X.wV.Silent,q),(0,C.C)(Q.acquireTokenByRefreshToken.bind(Q),f.Xv.AcquireTokenByRefreshToken,Q.logger,Q.performanceClient,q.correlationId)(q,de).catch(ht=>{if(function Er(cn,x,F){const he=!(cn instanceof A.uw&&cn.subError!==K.badToken)&&(cn.errorCode===X.ig.INVALID_GRANT_ERROR||cn.errorCode===L.tokenRefreshRequired)||cn.errorCode===K.noTokensFound||cn.errorCode===K.refreshTokenExpired,q=X.a.includes(F);return he&&q}(ht,0,de))return Q.logger.verbose("Refresh token expired/invalid or CacheLookupPolicy is set to Skip, attempting acquire token by iframe.",q.correlationId),(0,C.C)(Q.acquireTokenBySilentIframe.bind(Q),f.Xv.AcquireTokenBySilentIframe,Q.logger,Q.performanceClient,q.correlationId)(q);throw ht})})}return Se.then(he=>(Q.eventHandler.emitEvent(ce.W.ACQUIRE_TOKEN_SUCCESS,X.wV.Silent,he),Q.atsAsyncMeasurement?.end({success:!0,fromCache:he.fromCache,isNativeBroker:he.fromNativeBroker,requestId:he.requestId}),he)).catch(he=>{throw Q.eventHandler.emitEvent(ce.W.ACQUIRE_TOKEN_FAILURE,X.wV.Silent,null,he),Q.atsAsyncMeasurement?.end({errorCode:he.errorCode,subErrorCode:he.subError,success:!1}),he}).finally(()=>{document.removeEventListener("visibilitychange",Q.trackPageVisibility)})})()}}},27880:(pe,m,s)=>{"use strict";s.d(m,{E5:()=>w,G0:()=>D,IT:()=>C,YD:()=>y,_k:()=>G,eY:()=>S,em:()=>N,kq:()=>k});var n=s(1528),l=s(4792),u=s(85348),c=s(26956),i=s(32828);const o="SHA-256",v=new Uint8Array([1,0,1]),M="0123456789abcdef",p=new Uint32Array(1),E={name:"RSASSA-PKCS1-v1_5",hash:o,modulusLength:2048,publicExponent:v};function S(H){if(!("crypto"in window))throw H.error("BrowserCrypto: crypto interface is unavailable"),(0,l.Wq)(i.cryptoNonExistent);H.verbose("BrowserCrypto: modern crypto interface available")}function y(H,K,ie){return f.apply(this,arguments)}function f(){return(f=(0,n.c)(function*(H,K,ie){K?.addQueueMeasurement(u.Xv.Sha256Digest,ie);const be=(new TextEncoder).encode(H);return window.crypto.subtle.digest(o,be)})).apply(this,arguments)}function C(H){return window.crypto.getRandomValues(H)}function _(){return window.crypto.getRandomValues(p),p[0]}function w(){const H=Date.now(),K=1024*_()+(1023&_()),ie=new Uint8Array(16),X=Math.trunc(K/2**30),be=K&2**30-1,ce=_();ie[0]=H/2**40,ie[1]=H/2**32,ie[2]=H/2**24,ie[3]=H/65536,ie[4]=H/256,ie[5]=H,ie[6]=112|X>>>8,ie[7]=X,ie[8]=128|be>>>24,ie[9]=be>>>16,ie[10]=be>>>8,ie[11]=be,ie[12]=ce>>>24,ie[13]=ce>>>16,ie[14]=ce>>>8,ie[15]=ce;let ze="";for(let ct=0;ct>>4),ze+=M.charAt(15&ie[ct]),(3===ct||5===ct||7===ct||9===ct)&&(ze+="-");return ze}function D(H,K){return L.apply(this,arguments)}function L(){return(L=(0,n.c)(function*(H,K){return window.crypto.subtle.generateKey(E,H,K)})).apply(this,arguments)}function N(H){return V.apply(this,arguments)}function V(){return(V=(0,n.c)(function*(H){return window.crypto.subtle.exportKey(c.eG,H)})).apply(this,arguments)}function G(H,K,ie){return R.apply(this,arguments)}function R(){return(R=(0,n.c)(function*(H,K,ie){return window.crypto.subtle.importKey(c.eG,H,E,K,ie)})).apply(this,arguments)}function k(H,K){return A.apply(this,arguments)}function A(){return(A=(0,n.c)(function*(H,K){return window.crypto.subtle.sign(E,H,K)})).apply(this,arguments)}},7184:(pe,m,s)=>{"use strict";s.d(m,{A:()=>V});var n=s(1528),l=s(85348),u=s(66936);const c="missing_kid_error",i="missing_alg_error",e={[c]:"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.",[i]:"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 o extends u.WM{constructor(k,A){super(k,A),this.name="JoseHeaderError",Object.setPrototypeOf(this,o.prototype)}}function h(R){return new o(R,e[R])}var v=s(34739);class M{constructor(k){this.typ=k.typ,this.alg=k.alg,this.kid=k.kid}static getShrHeaderString(k){if(!k.kid)throw h(c);if(!k.alg)throw h(i);const A=new M({typ:k.typ||v.Gu.Pop,kid:k.kid,alg:k.alg});return JSON.stringify(A)}}var p=s(37988),E=s(55084),S=s(27880),y=s(4792),f=s(26956),C=s(32828);class _{constructor(){this.dbName=f.f6,this.version=f.gV,this.tableName=f.eQ,this.dbOpen=!1}open(){var k=this;return(0,n.c)(function*(){return new Promise((A,H)=>{const K=window.indexedDB.open(k.dbName,k.version);K.addEventListener("upgradeneeded",ie=>{ie.target.result.createObjectStore(k.tableName)}),K.addEventListener("success",ie=>{k.db=ie.target.result,k.dbOpen=!0,A()}),K.addEventListener("error",()=>H((0,y.Wq)(C.databaseUnavailable)))})})()}closeConnection(){const k=this.db;k&&this.dbOpen&&(k.close(),this.dbOpen=!1)}validateDbIsOpen(){var k=this;return(0,n.c)(function*(){if(!k.dbOpen)return k.open()})()}getItem(k){var A=this;return(0,n.c)(function*(){return yield A.validateDbIsOpen(),new Promise((H,K)=>{if(!A.db)return K((0,y.Wq)(C.databaseNotOpen));const be=A.db.transaction([A.tableName],"readonly").objectStore(A.tableName).get(k);be.addEventListener("success",ce=>{const ze=ce;A.closeConnection(),H(ze.target.result)}),be.addEventListener("error",ce=>{A.closeConnection(),K(ce)})})})()}setItem(k,A){var H=this;return(0,n.c)(function*(){return yield H.validateDbIsOpen(),new Promise((K,ie)=>{if(!H.db)return ie((0,y.Wq)(C.databaseNotOpen));const ce=H.db.transaction([H.tableName],"readwrite").objectStore(H.tableName).put(A,k);ce.addEventListener("success",()=>{H.closeConnection(),K()}),ce.addEventListener("error",ze=>{H.closeConnection(),ie(ze)})})})()}removeItem(k){var A=this;return(0,n.c)(function*(){return yield A.validateDbIsOpen(),new Promise((H,K)=>{if(!A.db)return K((0,y.Wq)(C.databaseNotOpen));const be=A.db.transaction([A.tableName],"readwrite").objectStore(A.tableName).delete(k);be.addEventListener("success",()=>{A.closeConnection(),H()}),be.addEventListener("error",ce=>{A.closeConnection(),K(ce)})})})()}getKeys(){var k=this;return(0,n.c)(function*(){return yield k.validateDbIsOpen(),new Promise((A,H)=>{if(!k.db)return H((0,y.Wq)(C.databaseNotOpen));const X=k.db.transaction([k.tableName],"readonly").objectStore(k.tableName).getAllKeys();X.addEventListener("success",be=>{const ce=be;k.closeConnection(),A(ce.target.result)}),X.addEventListener("error",be=>{k.closeConnection(),H(be)})})})()}containsKey(k){var A=this;return(0,n.c)(function*(){return yield A.validateDbIsOpen(),new Promise((H,K)=>{if(!A.db)return K((0,y.Wq)(C.databaseNotOpen));const be=A.db.transaction([A.tableName],"readonly").objectStore(A.tableName).count(k);be.addEventListener("success",ce=>{const ze=ce;A.closeConnection(),H(1===ze.target.result)}),be.addEventListener("error",ce=>{A.closeConnection(),K(ce)})})})()}deleteDatabase(){var k=this;return(0,n.c)(function*(){return k.db&&k.dbOpen&&k.closeConnection(),new Promise((A,H)=>{const K=window.indexedDB.deleteDatabase(f.f6);K.addEventListener("success",()=>A(!0)),K.addEventListener("blocked",()=>A(!0)),K.addEventListener("error",()=>H(!1))})})()}}var w=s(61744);class D{constructor(k,A){this.inMemoryCache=new w.W,this.indexedDBCache=new _,this.logger=k,this.storeName=A}handleDatabaseAccessError(k){if(!(k instanceof y.G&&k.errorCode===C.databaseUnavailable))throw k;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(k){var A=this;return(0,n.c)(function*(){const H=A.inMemoryCache.getItem(k);if(!H)try{return A.logger.verbose("Queried item not found in in-memory cache, now querying persistent storage."),yield A.indexedDBCache.getItem(k)}catch(K){A.handleDatabaseAccessError(K)}return H})()}setItem(k,A){var H=this;return(0,n.c)(function*(){H.inMemoryCache.setItem(k,A);try{yield H.indexedDBCache.setItem(k,A)}catch(K){H.handleDatabaseAccessError(K)}})()}removeItem(k){var A=this;return(0,n.c)(function*(){A.inMemoryCache.removeItem(k);try{yield A.indexedDBCache.removeItem(k)}catch(H){A.handleDatabaseAccessError(H)}})()}getKeys(){var k=this;return(0,n.c)(function*(){const A=k.inMemoryCache.getKeys();if(0===A.length)try{return k.logger.verbose("In-memory cache is empty, now querying persistent storage."),yield k.indexedDBCache.getKeys()}catch(H){k.handleDatabaseAccessError(H)}return A})()}containsKey(k){var A=this;return(0,n.c)(function*(){const H=A.inMemoryCache.containsKey(k);if(!H)try{return A.logger.verbose("Key not found in in-memory cache, now querying persistent storage."),yield A.indexedDBCache.containsKey(k)}catch(K){A.handleDatabaseAccessError(K)}return H})()}clearInMemory(){this.logger.verbose(`Deleting in-memory keystore ${this.storeName}`),this.inMemoryCache.clear(),this.logger.verbose(`In-memory keystore ${this.storeName} deleted`)}clearPersistent(){var k=this;return(0,n.c)(function*(){try{k.logger.verbose("Deleting persistent keystore");const A=yield k.indexedDBCache.deleteDatabase();return A&&k.logger.verbose("Persistent keystore deleted"),A}catch(A){return k.handleDatabaseAccessError(A),!1}})()}}class N{constructor(k){this.logger=k,this.asymmetricKeys=new D(this.logger,"asymmetricKeys"),this.symmetricKeys=new D(this.logger,"symmetricKeys")}clear(){var k=this;return(0,n.c)(function*(){k.asymmetricKeys.clearInMemory(),k.symmetricKeys.clearInMemory();try{return yield k.asymmetricKeys.clearPersistent(),!0}catch(A){return A instanceof Error?k.logger.error(`Clearing keystore failed with error: ${A.message}`):k.logger.error("Clearing keystore failed with unknown error"),!1}})()}}let V=(()=>{class R{constructor(A,H){this.logger=A,(0,S.eY)(A),this.cache=new N(this.logger),this.performanceClient=H}createNewGuid(){return(0,S.E5)()}base64Encode(A){return(0,p.c9)(A)}base64Decode(A){return(0,E.W)(A)}getPublicKeyThumbprint(A){var H=this;return(0,n.c)(function*(){const K=H.performanceClient?.startMeasurement(l.Xv.CryptoOptsGetPublicKeyThumbprint,A.correlationId),ie=yield(0,S.G0)(R.EXTRACTABLE,R.POP_KEY_USAGES),X=yield(0,S.em)(ie.publicKey),ce=G({e:X.e,kty:X.kty,n:X.n}),ze=yield H.hashString(ce),ct=yield(0,S.em)(ie.privateKey),xe=yield(0,S._k)(ct,!1,["sign"]);return yield H.cache.asymmetricKeys.setItem(ze,{privateKey:xe,publicKey:ie.publicKey,requestMethod:A.resourceRequestMethod,requestUri:A.resourceRequestUri}),K&&K.end({success:!0}),ze})()}removeTokenBindingKey(A){var H=this;return(0,n.c)(function*(){return yield H.cache.asymmetricKeys.removeItem(A),!(yield H.cache.asymmetricKeys.containsKey(A))})()}clearKeystore(){var A=this;return(0,n.c)(function*(){return A.cache.clear()})()}signJwt(A,H,K,ie){var X=this;return(0,n.c)(function*(){const be=X.performanceClient?.startMeasurement(l.Xv.CryptoOptsSignJwt,ie),ce=yield X.cache.asymmetricKeys.getItem(H);if(!ce)throw(0,y.Wq)(C.cryptoKeyNotFound);const ze=yield(0,S.em)(ce.publicKey),ct=G(ze),xe=(0,p.OW)(JSON.stringify({kid:H})),Ie=M.getShrHeaderString({...K?.header,alg:ze.alg,kid:xe}),Le=(0,p.OW)(Ie);A.cnf={jwk:JSON.parse(ct)};const Xe=`${Le}.${(0,p.OW)(JSON.stringify(A))}`,Fe=(new TextEncoder).encode(Xe),Ce=yield(0,S.kq)(ce.privateKey,Fe),Be=`${Xe}.${(0,p.gV)(new Uint8Array(Ce))}`;return be&&be.end({success:!0}),Be})()}hashString(A){return(0,n.c)(function*(){const H=yield(0,S.YD)(A),K=new Uint8Array(H);return(0,p.gV)(K)})()}}return R.POP_KEY_USAGES=["sign","verify"],R.EXTRACTABLE=!0,R})();function G(R){return JSON.stringify(R,Object.keys(R).sort())}},55084:(pe,m,s)=>{"use strict";s.d(m,{W:()=>u});var n=s(4792),l=s(32828);function u(i){return(new TextDecoder).decode(function c(i){let e=i.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw(0,n.Wq)(l.invalidBase64String)}const o=atob(e);return Uint8Array.from(o,h=>h.codePointAt(0)||0)}(i))}},37988:(pe,m,s)=>{"use strict";function n(i){return encodeURIComponent(u(i).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_"))}function l(i){return c(i).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function u(i){return c((new TextEncoder).encode(i))}function c(i){const e=Array.from(i,o=>String.fromCodePoint(o)).join("");return btoa(e)}s.d(m,{OW:()=>n,c9:()=>u,gV:()=>l})},4792:(pe,m,s)=>{"use strict";s.d(m,{G:()=>e,Wq:()=>o,aC:()=>i});var n=s(66936),l=s(32828);const u="For more visit: aka.ms/msaljs/browser-errors",c={[l.pkceNotCreated]:"The PKCE code challenge and verifier could not be generated.",[l.cryptoNonExistent]:"The crypto object or function is not available.",[l.emptyNavigateUri]:"Navigation URI is empty. Please check stack trace for more info.",[l.hashEmptyError]:`Hash value cannot be processed because it is empty. Please verify that your redirectUri is not clearing the hash. ${u}`,[l.noStateInHash]:"Hash does not contain state. Please verify that the request originated from msal.",[l.hashDoesNotContainKnownProperties]:`Hash does not contain known properites. Please verify that your redirectUri is not changing the hash. ${u}`,[l.unableToParseState]:"Unable to parse state. Please verify that the request originated from msal.",[l.stateInteractionTypeMismatch]:"Hash contains state but the interaction type does not match the caller.",[l.interactionInProgress]:`Interaction is currently in progress. Please ensure that this interaction has been completed before calling an interactive API. ${u}`,[l.popupWindowError]:"Error opening popup window. This can happen if you are using IE or if popups are blocked in the browser.",[l.emptyWindowError]:"window.open returned null or undefined window object.",[l.userCancelled]:"User cancelled the flow.",[l.monitorPopupTimeout]:`Token acquisition in popup failed due to timeout. ${u}`,[l.monitorWindowTimeout]:`Token acquisition in iframe failed due to timeout. ${u}`,[l.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.",[l.blockIframeReload]:`Request was blocked inside an iframe because MSAL detected an authentication response. ${u}`,[l.blockNestedPopups]:"Request was blocked inside a popup because MSAL detected it was running in a popup.",[l.iframeClosedPrematurely]:"The iframe being monitored was closed prematurely.",[l.silentLogoutUnsupported]:"Silent logout not supported. Please call logoutRedirect or logoutPopup instead.",[l.noAccountError]:"No account object provided to acquireTokenSilent and no active account has been set. Please call setActiveAccount or provide an account on the request.",[l.silentPromptValueError]:"The value given for the prompt value is not valid for silent requests - must be set to 'none' or 'no_session'.",[l.noTokenRequestCacheError]:"No token request found in cache.",[l.unableToParseTokenRequestCacheError]:"The cached token request could not be parsed.",[l.noCachedAuthorityError]:"No cached authority found.",[l.authRequestNotSetError]:"Auth Request not set. Please ensure initiateAuthRequest was called from the InteractionHandler",[l.invalidCacheType]:"Invalid cache type",[l.nonBrowserEnvironment]:"Login and token requests are not supported in non-browser environments.",[l.databaseNotOpen]:"Database is not open!",[l.noNetworkConnectivity]:"No network connectivity. Check your internet connection.",[l.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'",[l.getRequestFailed]:"Network request failed. Please check the network trace to determine root cause.",[l.failedToParseResponse]:"Failed to parse network response. Check network trace.",[l.unableToLoadToken]:"Error loading token to cache.",[l.cryptoKeyNotFound]:"Cryptographic Key or Keypair not found in browser storage.",[l.authCodeRequired]:"An authorization code must be provided (as the `code` property on the request) to this flow.",[l.authCodeOrNativeAccountIdRequired]:"An authorization code or nativeAccountId must be provided to this flow.",[l.spaCodeAndNativeAccountIdPresent]:"Request cannot contain both spa code and native account id.",[l.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.",[l.unableToAcquireTokenFromNativePlatform]:`Unable to acquire token from native platform. ${u}`,[l.nativeHandshakeTimeout]:"Timed out while attempting to establish connection to browser extension",[l.nativeExtensionNotInstalled]:"Native extension is not installed. If you think this is a mistake call the initialize function.",[l.nativeConnectionNotEstablished]:`Connection to native platform has not been established. Please install a compatible browser extension and run initialize(). ${u}`,[l.uninitializedPublicClientApplication]:`You must call and await the initialize function before attempting to call any other MSAL API. ${u}`,[l.nativePromptNotSupported]:"The provided prompt is not supported by the native platform. This request should be routed to the web based flow.",[l.invalidBase64String]:"Invalid base64 encoded string."},i={pkceNotGenerated:{code:l.pkceNotCreated,desc:c[l.pkceNotCreated]},cryptoDoesNotExist:{code:l.cryptoNonExistent,desc:c[l.cryptoNonExistent]},emptyNavigateUriError:{code:l.emptyNavigateUri,desc:c[l.emptyNavigateUri]},hashEmptyError:{code:l.hashEmptyError,desc:c[l.hashEmptyError]},hashDoesNotContainStateError:{code:l.noStateInHash,desc:c[l.noStateInHash]},hashDoesNotContainKnownPropertiesError:{code:l.hashDoesNotContainKnownProperties,desc:c[l.hashDoesNotContainKnownProperties]},unableToParseStateError:{code:l.unableToParseState,desc:c[l.unableToParseState]},stateInteractionTypeMismatchError:{code:l.stateInteractionTypeMismatch,desc:c[l.stateInteractionTypeMismatch]},interactionInProgress:{code:l.interactionInProgress,desc:c[l.interactionInProgress]},popupWindowError:{code:l.popupWindowError,desc:c[l.popupWindowError]},emptyWindowError:{code:l.emptyWindowError,desc:c[l.emptyWindowError]},userCancelledError:{code:l.userCancelled,desc:c[l.userCancelled]},monitorPopupTimeoutError:{code:l.monitorPopupTimeout,desc:c[l.monitorPopupTimeout]},monitorIframeTimeoutError:{code:l.monitorWindowTimeout,desc:c[l.monitorWindowTimeout]},redirectInIframeError:{code:l.redirectInIframe,desc:c[l.redirectInIframe]},blockTokenRequestsInHiddenIframeError:{code:l.blockIframeReload,desc:c[l.blockIframeReload]},blockAcquireTokenInPopupsError:{code:l.blockNestedPopups,desc:c[l.blockNestedPopups]},iframeClosedPrematurelyError:{code:l.iframeClosedPrematurely,desc:c[l.iframeClosedPrematurely]},silentLogoutUnsupportedError:{code:l.silentLogoutUnsupported,desc:c[l.silentLogoutUnsupported]},noAccountError:{code:l.noAccountError,desc:c[l.noAccountError]},silentPromptValueError:{code:l.silentPromptValueError,desc:c[l.silentPromptValueError]},noTokenRequestCacheError:{code:l.noTokenRequestCacheError,desc:c[l.noTokenRequestCacheError]},unableToParseTokenRequestCacheError:{code:l.unableToParseTokenRequestCacheError,desc:c[l.unableToParseTokenRequestCacheError]},noCachedAuthorityError:{code:l.noCachedAuthorityError,desc:c[l.noCachedAuthorityError]},authRequestNotSet:{code:l.authRequestNotSetError,desc:c[l.authRequestNotSetError]},invalidCacheType:{code:l.invalidCacheType,desc:c[l.invalidCacheType]},notInBrowserEnvironment:{code:l.nonBrowserEnvironment,desc:c[l.nonBrowserEnvironment]},databaseNotOpen:{code:l.databaseNotOpen,desc:c[l.databaseNotOpen]},noNetworkConnectivity:{code:l.noNetworkConnectivity,desc:c[l.noNetworkConnectivity]},postRequestFailed:{code:l.postRequestFailed,desc:c[l.postRequestFailed]},getRequestFailed:{code:l.getRequestFailed,desc:c[l.getRequestFailed]},failedToParseNetworkResponse:{code:l.failedToParseResponse,desc:c[l.failedToParseResponse]},unableToLoadTokenError:{code:l.unableToLoadToken,desc:c[l.unableToLoadToken]},signingKeyNotFoundInStorage:{code:l.cryptoKeyNotFound,desc:c[l.cryptoKeyNotFound]},authCodeRequired:{code:l.authCodeRequired,desc:c[l.authCodeRequired]},authCodeOrNativeAccountRequired:{code:l.authCodeOrNativeAccountIdRequired,desc:c[l.authCodeOrNativeAccountIdRequired]},spaCodeAndNativeAccountPresent:{code:l.spaCodeAndNativeAccountIdPresent,desc:c[l.spaCodeAndNativeAccountIdPresent]},databaseUnavailable:{code:l.databaseUnavailable,desc:c[l.databaseUnavailable]},unableToAcquireTokenFromNativePlatform:{code:l.unableToAcquireTokenFromNativePlatform,desc:c[l.unableToAcquireTokenFromNativePlatform]},nativeHandshakeTimeout:{code:l.nativeHandshakeTimeout,desc:c[l.nativeHandshakeTimeout]},nativeExtensionNotInstalled:{code:l.nativeExtensionNotInstalled,desc:c[l.nativeExtensionNotInstalled]},nativeConnectionNotEstablished:{code:l.nativeConnectionNotEstablished,desc:c[l.nativeConnectionNotEstablished]},uninitializedPublicClientApplication:{code:l.uninitializedPublicClientApplication,desc:c[l.uninitializedPublicClientApplication]},nativePromptNotSupported:{code:l.nativePromptNotSupported,desc:c[l.nativePromptNotSupported]},invalidBase64StringError:{code:l.invalidBase64String,desc:c[l.invalidBase64String]}};class e extends n.WM{constructor(v){super(v,c[v]),Object.setPrototypeOf(this,e.prototype),this.name="BrowserAuthError"}}function o(h){return new e(h)}},32828:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{authCodeOrNativeAccountIdRequired:()=>Ie,authCodeRequired:()=>xe,authRequestNotSetError:()=>k,blockIframeReload:()=>C,blockNestedPopups:()=>_,cryptoKeyNotFound:()=>ct,cryptoNonExistent:()=>l,databaseNotOpen:()=>K,databaseUnavailable:()=>Ue,emptyNavigateUri:()=>u,emptyWindowError:()=>p,failedToParseResponse:()=>ce,getRequestFailed:()=>be,hashDoesNotContainKnownProperties:()=>e,hashEmptyError:()=>c,iframeClosedPrematurely:()=>w,interactionInProgress:()=>v,invalidBase64String:()=>re,invalidCacheType:()=>A,monitorPopupTimeout:()=>S,monitorWindowTimeout:()=>y,nativeConnectionNotEstablished:()=>Ce,nativeExtensionNotInstalled:()=>Fe,nativeHandshakeTimeout:()=>_e,nativePromptNotSupported:()=>Be,noAccountError:()=>L,noCachedAuthorityError:()=>R,noNetworkConnectivity:()=>ie,noStateInHash:()=>i,noTokenRequestCacheError:()=>V,nonBrowserEnvironment:()=>H,pkceNotCreated:()=>n,popupWindowError:()=>M,postRequestFailed:()=>X,redirectInIframe:()=>f,silentLogoutUnsupported:()=>D,silentPromptValueError:()=>N,spaCodeAndNativeAccountIdPresent:()=>Le,stateInteractionTypeMismatch:()=>h,unableToAcquireTokenFromNativePlatform:()=>Xe,unableToLoadToken:()=>ze,unableToParseState:()=>o,unableToParseTokenRequestCacheError:()=>G,uninitializedPublicClientApplication:()=>Ae,userCancelled:()=>E});const n="pkce_not_created",l="crypto_nonexistent",u="empty_navigate_uri",c="hash_empty_error",i="no_state_in_hash",e="hash_does_not_contain_known_properties",o="unable_to_parse_state",h="state_interaction_type_mismatch",v="interaction_in_progress",M="popup_window_error",p="empty_window_error",E="user_cancelled",S="monitor_popup_timeout",y="monitor_window_timeout",f="redirect_in_iframe",C="block_iframe_reload",_="block_nested_popups",w="iframe_closed_prematurely",D="silent_logout_unsupported",L="no_account_error",N="silent_prompt_value_error",V="no_token_request_cache_error",G="unable_to_parse_token_request_cache_error",R="no_cached_authority_error",k="auth_request_not_set_error",A="invalid_cache_type",H="non_browser_environment",K="database_not_open",ie="no_network_connectivity",X="post_request_failed",be="get_request_failed",ce="failed_to_parse_response",ze="unable_to_load_token",ct="crypto_key_not_found",xe="auth_code_required",Ie="auth_code_or_nativeAccountId_required",Le="spa_code_and_nativeAccountId_present",Ue="database_unavailable",Xe="unable_to_acquire_token_from_native_platform",_e="native_handshake_timeout",Fe="native_extension_not_installed",Ce="native_connection_not_established",Ae="uninitialized_public_client_application",Be="native_prompt_not_supported",re="invalid_base64_string"},72592:(pe,m,s)=>{"use strict";s.d(m,{aO:()=>i,c9:()=>c,cf:()=>e});var n=s(66936),l=s(85288);const u={[l.storageNotSupported]:"Given storage configuration option was not supported.",[l.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",[l.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."},c={storageNotSupportedError:{code:l.storageNotSupported,desc:u[l.storageNotSupported]},stubPcaInstanceCalled:{code:l.stubbedPublicClientApplicationCalled,desc:u[l.stubbedPublicClientApplicationCalled]},inMemRedirectUnavailable:{code:l.inMemRedirectUnavailable,desc:u[l.inMemRedirectUnavailable]}};class i extends n.WM{constructor(h,v){super(h,v),this.name="BrowserConfigurationAuthError",Object.setPrototypeOf(this,i.prototype)}}function e(o){return new i(o,u[o])}},85288:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{inMemRedirectUnavailable:()=>u,storageNotSupported:()=>n,stubbedPublicClientApplicationCalled:()=>l});const n="storage_not_supported",l="stubbed_public_client_application_called",u="in_mem_redirect_unavailable"},85968:(pe,m,s)=>{"use strict";s.d(m,{c:()=>e});var n=s(34739),l=s(98416),u=s(6536),c=s(28612),i=s(27880);class e{constructor(h,v){this.eventCallbacks=new Map,this.logger=h,this.browserCrypto=v,this.listeningToStorageEvents=!1,this.handleAccountCacheChange=this.handleAccountCacheChange.bind(this)}addEventCallback(h){if(typeof window<"u"){const v=(0,i.E5)();return this.eventCallbacks.set(v,h),this.logger.verbose(`Event callback registered with id: ${v}`),v}return null}removeEventCallback(h){this.eventCallbacks.delete(h),this.logger.verbose(`Event callback ${h} 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(h,v,M,p){if(typeof window<"u"){const E={eventType:h,interactionType:v||null,payload:M||null,error:p||null,timestamp:Date.now()};this.logger.info(`Emitting event: ${h}`),this.eventCallbacks.forEach((S,y)=>{this.logger.verbose(`Emitting event to callback ${y}: ${h}`),S.apply(null,[E])})}}handleAccountCacheChange(h){try{h.key?.includes(n.IH.ACTIVE_ACCOUNT_FILTERS)&&this.emitEvent(c.W.ACTIVE_ACCOUNT_CHANGED);const v=h.newValue||h.oldValue;if(!v)return;const M=JSON.parse(v);if("object"!=typeof M||!l.M.isAccountEntity(M))return;const E=u.B.toObject(new l.M,M).getAccountInfo();!h.oldValue&&h.newValue?(this.logger.info("Account was added to cache in a different window"),this.emitEvent(c.W.ACCOUNT_ADDED,void 0,E)):!h.newValue&&h.oldValue&&(this.logger.info("Account was removed from cache in a different window"),this.emitEvent(c.W.ACCOUNT_REMOVED,void 0,E))}catch{return}}}},88904:(pe,m,s)=>{"use strict";s.d(m,{M:()=>u});var n=s(28612),l=s(26956);class u{static getInteractionStatusFromEvent(i,e){switch(i.eventType){case n.W.LOGIN_START:return l.Yz.Login;case n.W.SSO_SILENT_START:return l.Yz.SsoSilent;case n.W.ACQUIRE_TOKEN_START:if(i.interactionType===l.wV.Redirect||i.interactionType===l.wV.Popup)return l.Yz.AcquireToken;break;case n.W.HANDLE_REDIRECT_START:return l.Yz.HandleRedirect;case n.W.LOGOUT_START:return l.Yz.Logout;case n.W.SSO_SILENT_SUCCESS:case n.W.SSO_SILENT_FAILURE:if(e&&e!==l.Yz.SsoSilent)break;return l.Yz.None;case n.W.LOGOUT_END:if(e&&e!==l.Yz.Logout)break;return l.Yz.None;case n.W.HANDLE_REDIRECT_END:if(e&&e!==l.Yz.HandleRedirect)break;return l.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(i.interactionType===l.wV.Redirect||i.interactionType===l.wV.Popup){if(e&&e!==l.Yz.Login&&e!==l.Yz.AcquireToken)break;return l.Yz.None}}return null}}},28612:(pe,m,s)=>{"use strict";s.d(m,{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:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{AccountEntity:()=>Tt.M,ApiId:()=>e.Ed,AuthError:()=>dt.WM,AuthErrorCodes:()=>ot,AuthErrorMessage:()=>dt.GM,AuthenticationHeaderParser:()=>vt,AuthenticationScheme:()=>Xe.me,AzureCloudInstance:()=>Vt.C,BrowserAuthError:()=>k.G,BrowserAuthErrorCodes:()=>kn,BrowserAuthErrorMessage:()=>k.aC,BrowserCacheLocation:()=>e.Ir,BrowserConfigurationAuthError:()=>A.aO,BrowserConfigurationAuthErrorCodes:()=>H,BrowserConfigurationAuthErrorMessage:()=>A.c9,BrowserPerformanceClient:()=>Be,BrowserPerformanceMeasurement:()=>re.BrowserPerformanceMeasurement,BrowserStorage:()=>be.K,BrowserUtils:()=>n,CacheLookupPolicy:()=>e.wd,ClientAuthError:()=>nn.oJ,ClientAuthErrorCodes:()=>vn,ClientAuthErrorMessage:()=>nn.m6,ClientConfigurationError:()=>Ee.Ou,ClientConfigurationErrorCodes:()=>et,ClientConfigurationErrorMessage:()=>Ee.OA,DEFAULT_IFRAME_TIMEOUT_MS:()=>c.Ks,EventMessageUtils:()=>ce.M,EventType:()=>ze.W,InteractionRequiredAuthError:()=>zt.uw,InteractionRequiredAuthErrorCodes:()=>Xt,InteractionRequiredAuthErrorMessage:()=>zt.gx,InteractionStatus:()=>e.Yz,InteractionType:()=>e.wV,JsonWebTokenTypes:()=>Xe.Gu,LogLevel:()=>u.G,Logger:()=>u.Y,MemoryStorage:()=>X.W,NavigationClient:()=>ie.m,OIDC_DEFAULT_SCOPES:()=>Xe.ac,PerformanceEvents:()=>Ie.Xv,PromptValue:()=>Xe.GI,ProtocolMode:()=>En.g,PublicClientApplication:()=>_,PublicClientNext:()=>R,ServerError:()=>$n.s,ServerResponseType:()=>Xe.eE,SignedHttpRequest:()=>xe,StringUtils:()=>Wt.e,UrlString:()=>zn._,WrapperSKU:()=>e.Lm,stubbedPublicClientApplication:()=>K,version:()=>i.W});var n=s(84644),l=s(1528),u=s(73364),c=s(48124),i=s(69096),e=s(26956);class o{static loggerCallback(ut,Te){switch(ut){case u.G.Error:return void console.error(Te);case u.G.Info:return void console.info(Te);case u.G.Verbose:return void console.debug(Te);case u.G.Warning:return void console.warn(Te);default:return void console.log(Te)}}constructor(ut){let Te;this.browserEnvironment=typeof window<"u",this.config=(0,c.k5)(ut,this.browserEnvironment);try{Te=window[e.Ir.SessionStorage]}catch{}const me=Te?.getItem(e.Ip),fe=Te?.getItem(e.k9)?.toLowerCase(),$e="true"===fe||"false"!==fe&&void 0,Ye={...this.config.system.loggerOptions},ft=me&&Object.keys(u.G).includes(me)?u.G[me]:void 0;ft&&(Ye.loggerCallback=o.loggerCallback,Ye.logLevel=ft),void 0!==$e&&(Ye.piiLoggingEnabled=$e),this.logger=new u.Y(Ye,i.N,i.W),this.available=!1}getConfig(){return this.config}getLogger(){return this.logger}isAvailable(){return this.available}isBrowserEnvironment(){return this.browserEnvironment}}var h=s(59048);let v=(()=>{class ln{static initializeNestedAppAuthBridge(){return(0,l.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{ln.crypto=window.crypto,window.nestedAppAuthBridge.addEventListener("message",me=>{const $e=JSON.parse("string"==typeof me?me:me.data),Ye=ln.bridgeRequests.find(ft=>ft.requestId===$e.requestId);void 0!==Ye&&(ln.bridgeRequests.splice(ln.bridgeRequests.indexOf(Ye),1),$e.success?Ye.resolve($e):Ye.reject($e.error))});const Te=yield new Promise((me,fe)=>{const $e={messageType:"NestedAppAuthRequest",method:"GetInitContext",requestId:ln.getRandomId()};ln.bridgeRequests.push({requestId:$e.requestId,method:$e.method,resolve:me,reject:fe}),window.nestedAppAuthBridge.postMessage(JSON.stringify($e))});return ln.validateBridgeResultOrThrow(Te.initContext)}catch(Te){throw window.console.log(Te),Te}})()}static getRandomId(){return ln.crypto.randomUUID()}getTokenInteractive(Te){return this.getToken("GetTokenPopup",Te)}getTokenSilent(Te){return this.getToken("GetToken",Te)}getToken(Te,me){var fe=this;return(0,l.c)(function*(){const $e=yield fe.sendRequest(Te,{tokenParams:me});return{token:ln.validateBridgeResultOrThrow($e.token),account:ln.validateBridgeResultOrThrow($e.account)}})()}getActiveAccount(){var Te=this;return(0,l.c)(function*(){const me=yield Te.sendRequest("GetActiveAccount");return ln.validateBridgeResultOrThrow(me.account)})()}getHostCapabilities(){return this.capabilities??null}sendRequest(Te,me){const fe={messageType:"NestedAppAuthRequest",method:Te,requestId:ln.getRandomId(),...me};return new Promise((Ye,ft)=>{ln.bridgeRequests.push({requestId:fe.requestId,method:fe.method,resolve:Ye,reject:ft}),window.nestedAppAuthBridge.postMessage(JSON.stringify(fe))})}static validateBridgeResultOrThrow(Te){if(void 0===Te)throw{status:h.I.NestedAppAuthUnavailable};return Te}constructor(Te,me,fe){this.sdkName=Te,this.sdkVersion=me,this.capabilities=fe}static create(){return(0,l.c)(function*(){const Te=yield ln.initializeNestedAppAuthBridge();return new ln(Te.sdkName,Te.sdkVersion,Te.capabilities)})()}}return ln.bridgeRequests=[],ln})(),M=(()=>{class ln extends o{constructor(){super(...arguments),this.bridgeProxy=void 0,this.activeAccount=void 0}getModuleName(){return ln.MODULE_NAME}getId(){return ln.ID}getBridgeProxy(){return this.bridgeProxy}getActiveAccount(){return this.activeAccount}setActiveAccount(Te){this.activeAccount=Te}initialize(){var Te=this;return(0,l.c)(function*(){try{if(typeof window<"u"){const me=yield v.create();try{me.getHostCapabilities()?.queryAccount&&(Te.activeAccount=yield me.getActiveAccount())}catch{Te.activeAccount=void 0}Te.bridgeProxy=me,Te.available=void 0!==me}else Te.available=!1}catch{Te.available=!1}finally{return Te.available}})()}}return ln.MODULE_NAME="",ln.ID="TeamsAppOperatingContext",ln})(),p=(()=>{class ln extends o{getModuleName(){return ln.MODULE_NAME}getId(){return ln.ID}initialize(){var Te=this;return(0,l.c)(function*(){return Te.available=typeof window<"u",Te.available})()}}return ln.MODULE_NAME="",ln.ID="StandardOperatingContext",ln})();function S(){return(S=(0,l.c)(function*(ln){const ut=new p(ln);return yield ut.initialize(),(yield Promise.resolve().then(s.bind(s,65304))).StandardController.createController(ut)})).apply(this,arguments)}function y(ln){return f.apply(this,arguments)}function f(){return(f=(0,l.c)(function*(ln){const ut=new p(ln),Te=new M(ln),me=[ut.initialize(),Te.initialize()];return yield Promise.all(me),Te.isAvailable()&&Te.getConfig().auth.supportsNestedAppAuth?(yield s.e(1620).then(s.bind(s,61620))).NestedAppAuthController.createController(Te):ut.isAvailable()?(yield Promise.resolve().then(s.bind(s,65304))).StandardController.createController(ut):null})).apply(this,arguments)}var C=s(65304);class _{static createPublicClientApplication(ut){return(0,l.c)(function*(){const Te=yield function E(ln){return S.apply(this,arguments)}(ut);return new _(ut,Te)})()}constructor(ut,Te){if(Te)this.controller=Te;else{const me=new p(ut);this.controller=new C.StandardController(me)}}initialize(){var ut=this;return(0,l.c)(function*(){return ut.controller.initialize()})()}acquireTokenPopup(ut){var Te=this;return(0,l.c)(function*(){return Te.controller.acquireTokenPopup(ut)})()}acquireTokenRedirect(ut){return this.controller.acquireTokenRedirect(ut)}acquireTokenSilent(ut){return this.controller.acquireTokenSilent(ut)}acquireTokenByCode(ut){return this.controller.acquireTokenByCode(ut)}addEventCallback(ut){return this.controller.addEventCallback(ut)}removeEventCallback(ut){return this.controller.removeEventCallback(ut)}addPerformanceCallback(ut){return this.controller.addPerformanceCallback(ut)}removePerformanceCallback(ut){return this.controller.removePerformanceCallback(ut)}enableAccountStorageEvents(){this.controller.enableAccountStorageEvents()}disableAccountStorageEvents(){this.controller.disableAccountStorageEvents()}getAccount(ut){return this.controller.getAccount(ut)}getAccountByHomeId(ut){return this.controller.getAccountByHomeId(ut)}getAccountByLocalId(ut){return this.controller.getAccountByLocalId(ut)}getAccountByUsername(ut){return this.controller.getAccountByUsername(ut)}getAllAccounts(ut){return this.controller.getAllAccounts(ut)}handleRedirectPromise(ut){return this.controller.handleRedirectPromise(ut)}loginPopup(ut){return this.controller.loginPopup(ut)}loginRedirect(ut){return this.controller.loginRedirect(ut)}logout(ut){return this.controller.logout(ut)}logoutRedirect(ut){return this.controller.logoutRedirect(ut)}logoutPopup(ut){return this.controller.logoutPopup(ut)}ssoSilent(ut){return this.controller.ssoSilent(ut)}getTokenCache(){return this.controller.getTokenCache()}getLogger(){return this.controller.getLogger()}setLogger(ut){this.controller.setLogger(ut)}setActiveAccount(ut){this.controller.setActiveAccount(ut)}getActiveAccount(){return this.controller.getActiveAccount()}initializeWrapperLibrary(ut,Te){return this.controller.initializeWrapperLibrary(ut,Te)}setNavigationClient(ut){this.controller.setNavigationClient(ut)}getConfiguration(){return this.controller.getConfiguration()}hydrateCache(ut,Te){var me=this;return(0,l.c)(function*(){return me.controller.hydrateCache(ut,Te)})()}clearCache(ut){return this.controller.clearCache(ut)}}var w=s(65172),D=s(69812),L=s(7184),N=s(85968);class V{constructor(ut){this.initialized=!1,this.operatingContext=ut,this.isBrowserEnvironment=this.operatingContext.isBrowserEnvironment(),this.config=ut.getConfig(),this.logger=ut.getLogger(),this.performanceClient=this.config.telemetry.client,this.browserCrypto=this.isBrowserEnvironment?new L.A(this.logger,this.performanceClient):w.K,this.browserStorage=this.isBrowserEnvironment?new D.Y(this.config.auth.clientId,this.config.cache,this.browserCrypto,this.logger):(0,D.S)(this.config.auth.clientId,this.logger),this.eventHandler=new N.c(this.logger,this.browserCrypto)}getBrowserStorage(){return this.browserStorage}getEventHandler(){return this.eventHandler}getAccount(ut){return null}getAccountByHomeId(ut){return null}getAccountByLocalId(ut){return null}getAccountByUsername(ut){return null}getAllAccounts(){return[]}initialize(){return this.initialized=!0,Promise.resolve()}acquireTokenPopup(ut){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}acquireTokenRedirect(ut){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),Promise.resolve()}acquireTokenSilent(ut){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}acquireTokenByCode(ut){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}acquireTokenNative(ut,Te,me){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}acquireTokenByRefreshToken(ut,Te){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}addEventCallback(ut){return this.eventHandler.addEventCallback(ut)}removeEventCallback(ut){this.eventHandler.removeEventCallback(ut)}addPerformanceCallback(ut){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),""}removePerformanceCallback(ut){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(ut){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),Promise.resolve(null)}loginPopup(ut){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}loginRedirect(ut){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}logout(ut){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}logoutRedirect(ut){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}logoutPopup(ut){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}ssoSilent(ut){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(ut){(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment)}setActiveAccount(ut){(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment)}getActiveAccount(){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),null}initializeWrapperLibrary(ut,Te){this.browserStorage.setWrapperMetadata(ut,Te)}setNavigationClient(ut){(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(ut,Te){(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment)}clearCache(ut){var Te=this;return(0,l.c)(function*(){(0,n.blockAPICallsBeforeInitialize)(Te.initialized),(0,n.blockNonBrowserEnvironment)(Te.isBrowserEnvironment)})()}hydrateCache(ut,Te){var me=this;return(0,l.c)(function*(){(0,n.blockAPICallsBeforeInitialize)(me.initialized),(0,n.blockNonBrowserEnvironment)(me.isBrowserEnvironment)})()}}let G=(()=>{class ln extends o{getModuleName(){return ln.MODULE_NAME}getId(){return ln.ID}initialize(){return(0,l.c)(function*(){return!0})()}}return ln.MODULE_NAME="",ln.ID="UnknownOperatingContext",ln})();class R{static createPublicClientApplication(ut){return(0,l.c)(function*(){const Te=yield y(ut);let me;return me=null!==Te?new R(ut,Te):new R(ut),me})()}constructor(ut,Te){if(this.configuration=ut,Te)this.controller=Te;else{const me=new G(ut);this.controller=new V(me)}}initialize(){var ut=this;return(0,l.c)(function*(){if(ut.controller instanceof V){const Te=yield y(ut.configuration);return null!==Te&&(ut.controller=Te),ut.controller.initialize()}return Promise.resolve()})()}acquireTokenPopup(ut){var Te=this;return(0,l.c)(function*(){return Te.controller.acquireTokenPopup(ut)})()}acquireTokenRedirect(ut){return this.controller.acquireTokenRedirect(ut)}acquireTokenSilent(ut){return this.controller.acquireTokenSilent(ut)}acquireTokenByCode(ut){return this.controller.acquireTokenByCode(ut)}addEventCallback(ut){return this.controller.addEventCallback(ut)}removeEventCallback(ut){return this.controller.removeEventCallback(ut)}addPerformanceCallback(ut){return this.controller.addPerformanceCallback(ut)}removePerformanceCallback(ut){return this.controller.removePerformanceCallback(ut)}enableAccountStorageEvents(){this.controller.enableAccountStorageEvents()}disableAccountStorageEvents(){this.controller.disableAccountStorageEvents()}getAccount(ut){return this.controller.getAccount(ut)}getAccountByHomeId(ut){return this.controller.getAccountByHomeId(ut)}getAccountByLocalId(ut){return this.controller.getAccountByLocalId(ut)}getAccountByUsername(ut){return this.controller.getAccountByUsername(ut)}getAllAccounts(ut){return this.controller.getAllAccounts(ut)}handleRedirectPromise(ut){return this.controller.handleRedirectPromise(ut)}loginPopup(ut){return this.controller.loginPopup(ut)}loginRedirect(ut){return this.controller.loginRedirect(ut)}logout(ut){return this.controller.logout(ut)}logoutRedirect(ut){return this.controller.logoutRedirect(ut)}logoutPopup(ut){return this.controller.logoutPopup(ut)}ssoSilent(ut){return this.controller.ssoSilent(ut)}getTokenCache(){return this.controller.getTokenCache()}getLogger(){return this.controller.getLogger()}setLogger(ut){this.controller.setLogger(ut)}setActiveAccount(ut){this.controller.setActiveAccount(ut)}getActiveAccount(){return this.controller.getActiveAccount()}initializeWrapperLibrary(ut,Te){return this.controller.initializeWrapperLibrary(ut,Te)}setNavigationClient(ut){this.controller.setNavigationClient(ut)}getConfiguration(){return this.controller.getConfiguration()}hydrateCache(ut,Te){var me=this;return(0,l.c)(function*(){return me.controller.hydrateCache(ut,Te)})()}clearCache(ut){return this.controller.clearCache(ut)}}var k=s(4792),A=s(72592),H=s(85288);const K={initialize:()=>Promise.reject((0,A.cf)(H.stubbedPublicClientApplicationCalled)),acquireTokenPopup:()=>Promise.reject((0,A.cf)(H.stubbedPublicClientApplicationCalled)),acquireTokenRedirect:()=>Promise.reject((0,A.cf)(H.stubbedPublicClientApplicationCalled)),acquireTokenSilent:()=>Promise.reject((0,A.cf)(H.stubbedPublicClientApplicationCalled)),acquireTokenByCode:()=>Promise.reject((0,A.cf)(H.stubbedPublicClientApplicationCalled)),getAllAccounts:()=>[],getAccountByHomeId:()=>null,getAccountByUsername:()=>null,getAccountByLocalId:()=>null,handleRedirectPromise:()=>Promise.reject((0,A.cf)(H.stubbedPublicClientApplicationCalled)),loginPopup:()=>Promise.reject((0,A.cf)(H.stubbedPublicClientApplicationCalled)),loginRedirect:()=>Promise.reject((0,A.cf)(H.stubbedPublicClientApplicationCalled)),logout:()=>Promise.reject((0,A.cf)(H.stubbedPublicClientApplicationCalled)),logoutRedirect:()=>Promise.reject((0,A.cf)(H.stubbedPublicClientApplicationCalled)),logoutPopup:()=>Promise.reject((0,A.cf)(H.stubbedPublicClientApplicationCalled)),ssoSilent:()=>Promise.reject((0,A.cf)(H.stubbedPublicClientApplicationCalled)),addEventCallback:()=>null,removeEventCallback:()=>{},addPerformanceCallback:()=>"",removePerformanceCallback:()=>!1,enableAccountStorageEvents:()=>{},disableAccountStorageEvents:()=>{},getTokenCache:()=>{throw(0,A.cf)(H.stubbedPublicClientApplicationCalled)},getLogger:()=>{throw(0,A.cf)(H.stubbedPublicClientApplicationCalled)},setLogger:()=>{},setActiveAccount:()=>{},getActiveAccount:()=>null,initializeWrapperLibrary:()=>{},setNavigationClient:()=>{},getConfiguration:()=>{throw(0,A.cf)(H.stubbedPublicClientApplicationCalled)},hydrateCache:()=>Promise.reject((0,A.cf)(H.stubbedPublicClientApplicationCalled)),clearCache:()=>Promise.reject((0,A.cf)(H.stubbedPublicClientApplicationCalled))};var ie=s(64952),X=s(61744),be=s(71720),ce=s(88904),ze=s(28612),ct=s(46392);class xe{constructor(ut,Te){this.logger=new u.Y(Te&&Te.loggerOptions||{},i.N,i.W),this.cryptoOps=new L.A(this.logger),this.popTokenGenerator=new ct.w(this.cryptoOps),this.shrParameters=ut}generatePublicKeyThumbprint(){var ut=this;return(0,l.c)(function*(){const{kid:Te}=yield ut.popTokenGenerator.generateKid(ut.shrParameters);return Te})()}signRequest(ut,Te,me){var fe=this;return(0,l.c)(function*(){return fe.popTokenGenerator.signPayload(ut,Te,fe.shrParameters,me)})()}removeKeys(ut){var Te=this;return(0,l.c)(function*(){return Te.cryptoOps.removeTokenBindingKey(ut)})()}}var Ie=s(85348),Le=s(35128);class Ue{constructor(ut,Te,me,fe,$e,Ye,ft){this.authority=Te,this.libraryName=fe,this.libraryVersion=$e,this.applicationTelemetry=Ye,this.clientId=ut,this.logger=me,this.callbacks=new Map,this.eventsByCorrelationId=new Map,this.queueMeasurements=new Map,this.preQueueTimeByCorrelationId=new Map,this.intFields=ft||new Set;for(const $t of Ie.ol)this.intFields.add($t)}startPerformanceMeasurement(ut,Te){return{}}getPreQueueTime(ut,Te){const me=this.preQueueTimeByCorrelationId.get(Te);if(me){if(me.name===ut)return me.time;this.logger.trace(`PerformanceClient.getPreQueueTime: no pre-queue time found for ${ut}, unable to add queue measurement`)}else this.logger.trace(`PerformanceClient.getPreQueueTime: no pre-queue times found for correlationId: ${Te}, unable to add queue measurement`)}calculateQueuedTime(ut,Te){return ut<1?(this.logger.trace(`PerformanceClient: preQueueTime should be a positive integer and not ${ut}`),0):Te<1?(this.logger.trace(`PerformanceClient: currentTime should be a positive integer and not ${Te}`),0):Tethis.endMeasurement({...fe,...$e}),discard:()=>this.discardMeasurements(fe.correlationId),add:$e=>this.addFields($e,fe.correlationId),increment:$e=>this.incrementFields($e,fe.correlationId),event:fe,measurement:new Le.W}}endMeasurement(ut){const Te=this.eventsByCorrelationId.get(ut.correlationId);if(!Te)return this.logger.trace(`PerformanceClient: Measurement not found for ${ut.eventId}`,ut.correlationId),null;const me=ut.eventId===Te.eventId;let fe={totalQueueTime:0,totalQueueCount:0,manuallyCompletedCount:0};me?(fe=this.getQueueInfo(ut.correlationId),this.discardCache(Te.correlationId)):Te.incompleteSubMeasurements?.delete(ut.eventId);const $e=ut.durationMs||this.getDurationMs(ut.startTimeMs);if(this.logger.trace(`PerformanceClient: Performance measurement ended for ${ut.name}: ${$e} ms`,ut.correlationId),!me)return Te[ut.name+"DurationMs"]=Math.floor($e),{...Te};let Ye={...Te,...ut},ft=0;return Ye.incompleteSubMeasurements?.forEach($t=>{this.logger.trace(`PerformanceClient: Incomplete submeasurement ${$t.name} found for ${ut.name}`,Ye.correlationId),ft++}),Ye.incompleteSubMeasurements=void 0,Ye={...Ye,durationMs:Math.round($e),queuedTimeMs:fe.totalQueueTime,queuedCount:fe.totalQueueCount,queuedManuallyCompletedCount:fe.manuallyCompletedCount,status:Ie.W8.Completed,incompleteSubsCount:ft},this.truncateIntegralFields(Ye),this.emitEvents([Ye],ut.correlationId),Ye}addFields(ut,Te){this.logger.trace("PerformanceClient: Updating static fields");const me=this.eventsByCorrelationId.get(Te);me?this.eventsByCorrelationId.set(Te,{...me,...ut}):this.logger.trace("PerformanceClient: Event not found for",Te)}incrementFields(ut,Te){this.logger.trace("PerformanceClient: Updating counters");const me=this.eventsByCorrelationId.get(Te);if(me)for(const fe in ut){if(me.hasOwnProperty(fe)){if(isNaN(Number(me[fe])))return}else me[fe]=0;me[fe]+=ut[fe]}else this.logger.trace("PerformanceClient: Event not found for",Te)}cacheEventByCorrelationId(ut){const Te=this.eventsByCorrelationId.get(ut.correlationId);Te?(this.logger.trace(`PerformanceClient: Performance measurement for ${ut.name} added/updated`,ut.correlationId),Te.incompleteSubMeasurements=Te.incompleteSubMeasurements||new Map,Te.incompleteSubMeasurements.set(ut.eventId,{name:ut.name,startTimeMs:ut.startTimeMs})):(this.logger.trace(`PerformanceClient: Performance measurement for ${ut.name} started`,ut.correlationId),this.eventsByCorrelationId.set(ut.correlationId,{...ut}))}getQueueInfo(ut){const Te=this.queueMeasurements.get(ut);Te||this.logger.trace(`PerformanceClient: no queue measurements found for for correlationId: ${ut}`);let me=0,fe=0,$e=0;return Te?.forEach(Ye=>{me+=Ye.queueTime,fe++,$e+=Ye.manuallyCompleted?1:0}),{totalQueueTime:me,totalQueueCount:fe,manuallyCompletedCount:$e}}discardMeasurements(ut){this.logger.trace("PerformanceClient: Performance measurements discarded",ut),this.eventsByCorrelationId.delete(ut)}discardCache(ut){this.discardMeasurements(ut),this.logger.trace("PerformanceClient: QueueMeasurements discarded",ut),this.queueMeasurements.delete(ut),this.logger.trace("PerformanceClient: Pre-queue times discarded",ut),this.preQueueTimeByCorrelationId.delete(ut)}addPerformanceCallback(ut){const Te=this.generateId();return this.callbacks.set(Te,ut),this.logger.verbose(`PerformanceClient: Performance callback registered with id: ${Te}`),Te}removePerformanceCallback(ut){const Te=this.callbacks.delete(ut);return this.logger.verbose(Te?`PerformanceClient: Performance callback ${ut} removed.`:`PerformanceClient: Performance callback ${ut} not removed.`),Te}emitEvents(ut,Te){this.logger.verbose("PerformanceClient: Emitting performance events",Te),this.callbacks.forEach((me,fe)=>{this.logger.trace(`PerformanceClient: Emitting event to callback ${fe}`,Te),me.apply(null,[ut])})}truncateIntegralFields(ut){this.intFields.forEach(Te=>{Te in ut&&"number"==typeof ut[Te]&&(ut[Te]=Math.floor(ut[Te]))})}getDurationMs(ut){const Te=Date.now()-ut;return Te<0?Te:0}}var Xe=s(34739),_e=s(27880);function Fe(){let ln;try{ln=window[e.Ir.SessionStorage];const ut=ln?.getItem(e.OG);if(1===Number(ut))return Promise.resolve().then(s.bind(s,18156))}catch{}}function Ce(){return typeof window<"u"&&typeof window.performance<"u"&&"function"==typeof window.performance.now}function Ae(ln){if(ln&&Ce())return Math.round(window.performance.now()-ln)}class Be extends Ue{constructor(ut,Te){super(ut.auth.clientId,ut.auth.authority||`${Xe.Mv.DEFAULT_AUTHORITY}`,new u.Y(ut.system?.loggerOptions||{},i.N,i.W),i.N,i.W,ut.telemetry?.application||{appName:"",appVersion:""},Te)}generateId(){return(0,_e.E5)()}getPageVisibility(){return document.visibilityState?.toString()||null}deleteIncompleteSubMeasurements(ut){Fe()?.then(Te=>{const me=this.eventsByCorrelationId.get(ut.event.correlationId),$e=[];me&&me.eventId===ut.event.eventId&&me?.incompleteSubMeasurements&&me.incompleteSubMeasurements.forEach(Ye=>{$e.push({...Ye})}),Te.BrowserPerformanceMeasurement.flushMeasurements(ut.event.correlationId,$e)})}startMeasurement(ut,Te){const me=this.getPageVisibility(),fe=super.startMeasurement(ut,Te),$e=Ce()?window.performance.now():void 0,Ye=Fe()?.then(ft=>new ft.BrowserPerformanceMeasurement(ut,fe.event.correlationId));return Ye?.then(ft=>ft.startMeasurement()),{...fe,end:ft=>{const $t=fe.end({...ft,startPageVisibility:me,endPageVisibility:this.getPageVisibility(),durationMs:Ae($e)});return Ye?.then(un=>un.endMeasurement()),this.deleteIncompleteSubMeasurements(fe),$t},discard:()=>{fe.discard(),Ye?.then(ft=>ft.flushMeasurement()),this.deleteIncompleteSubMeasurements(fe)}}}setPreQueueTime(ut,Te){if(!Ce())return void this.logger.trace(`BrowserPerformanceClient: window performance API not available, unable to set telemetry queue time for ${ut}`);if(!Te)return void this.logger.trace(`BrowserPerformanceClient: correlationId for ${ut} not provided, unable to set telemetry queue time`);const me=this.preQueueTimeByCorrelationId.get(Te);me&&(this.logger.trace(`BrowserPerformanceClient: Incomplete pre-queue ${me.name} found`,Te),this.addQueueMeasurement(me.name,Te,void 0,!0)),this.preQueueTimeByCorrelationId.set(Te,{name:ut,time:window.performance.now()})}addQueueMeasurement(ut,Te,me,fe){if(!Ce())return void this.logger.trace(`BrowserPerformanceClient: window performance API not available, unable to add queue measurement for ${ut}`);if(!Te)return void this.logger.trace(`BrowserPerformanceClient: correlationId for ${ut} not provided, unable to add queue measurement`);const $e=super.getPreQueueTime(ut,Te);if(!$e)return;const Ye=window.performance.now(),ft=me||super.calculateQueuedTime($e,Ye);return super.addQueueMeasurement(ut,Te,ft,fe)}}var re=s(18156),Ee=s(59684),et=s(32336);class vt{constructor(ut){this.headers=ut}getShrNonce(){const ut=this.headers[Xe.MF.AuthenticationInfo];if(ut){const me=this.parseChallenges(ut);if(me.nextnonce)return me.nextnonce;throw(0,Ee.QN)(et.invalidAuthenticationHeader)}const Te=this.headers[Xe.MF.WWWAuthenticate];if(Te){const me=this.parseChallenges(Te);if(me.nonce)return me.nonce;throw(0,Ee.QN)(et.invalidAuthenticationHeader)}throw(0,Ee.QN)(et.missingNonceAuthenticationHeader)}parseChallenges(ut){const Te=ut.indexOf(" "),me=ut.substr(Te+1).split(","),fe={};return me.forEach($e=>{const[Ye,ft]=$e.split("=");fe[Ye]=unescape(ft.replace(/['"]+/g,Xe.Mv.EMPTY_STRING))}),fe}}var Tt=s(98416),dt=s(66936),ot=s(83228),Vt=s(67952),nn=s(28876),vn=s(71408),zt=s(53408),Xt=s(72896),En=s(65072),$n=s(76944),Wt=s(7828),zn=s(67648),kn=s(32828)},59048:(pe,m,s)=>{"use strict";s.d(m,{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:(pe,m,s)=>{"use strict";s.d(m,{m:()=>n});class n{navigateInternal(u,c){return n.defaultNavigateWindow(u,c)}navigateExternal(u,c){return n.defaultNavigateWindow(u,c)}static defaultNavigateWindow(u,c){return c.noHistory?window.location.replace(u):window.location.assign(u),new Promise(i=>{setTimeout(()=>{i(!0)},c.timeout)})}}},69096:(pe,m,s)=>{"use strict";s.d(m,{N:()=>n,W:()=>l});const n="@azure/msal-browser",l="3.10.0"},18156:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{BrowserPerformanceMeasurement:()=>n});class n{constructor(u,c){this.correlationId=c,this.measureName=n.makeMeasureName(u,c),this.startMark=n.makeStartMark(u,c),this.endMark=n.makeEndMark(u,c)}static makeMeasureName(u,c){return`msal.measure.${u}.${c}`}static makeStartMark(u,c){return`msal.start.${u}.${c}`}static makeEndMark(u,c){return`msal.end.${u}.${c}`}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(u,c){if(n.supportsBrowserPerformance())try{c.forEach(i=>{const e=n.makeMeasureName(i.name,u);window.performance.getEntriesByName(e,"measure").length>0&&(window.performance.clearMeasures(e),window.performance.clearMarks(n.makeStartMark(e,u)),window.performance.clearMarks(n.makeEndMark(e,u)))})}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 u=window.performance.getEntriesByName(this.measureName,"measure");if(u.length>0){const c=u[0].duration;return window.performance.clearMeasures(this.measureName),window.performance.clearMarks(this.startMark),window.performance.clearMarks(this.endMark),c}}catch{}return null}}},26956:(pe,m,s)=>{"use strict";s.d(m,{CM:()=>v,Ce:()=>c,Ed:()=>M,Ip:()=>N,Ir:()=>i,Lm:()=>f,OG:()=>G,UZ:()=>h,Yz:()=>E,a:()=>L,eG:()=>y,eQ:()=>w,f6:()=>C,gV:()=>_,ig:()=>l,k9:()=>V,sJ:()=>u,wV:()=>p,wd:()=>D,wv:()=>S,yI:()=>e,zH:()=>o});var n=s(34739);const l={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"},u={CHANNEL_ID:"53ee284d-920a-4b59-9d30-a60315b26836",PREFERRED_EXTENSION_ID:"ppnbnpeolgkicgegkbkbjmhlideopiji",MATS_TELEMETRY:"MATS"},c={HandshakeRequest:"Handshake",HandshakeResponse:"HandshakeResponse",GetToken:"GetToken",Response:"Response"},i={LocalStorage:"localStorage",SessionStorage:"sessionStorage",MemoryStorage:"memoryStorage"},e={GET:"GET",POST:"POST"},o={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"},h={ACCOUNT_KEYS:"msal.account.keys",TOKEN_KEYS:"msal.token.keys"},v={WRAPPER_SKU:"wrapper.sku",WRAPPER_VER:"wrapper.version"},M={acquireTokenRedirect:861,acquireTokenPopup:862,ssoSilent:863,acquireTokenSilent_authCode:864,handleRedirectPromise:865,acquireTokenByCode:866,acquireTokenSilent_silentFlow:61,logout:961,logoutPopup:962};var p=function(R){return R.Redirect="redirect",R.Popup="popup",R.Silent="silent",R.None="none",R}(p||{});const E={Startup:"startup",Login:"login",Logout:"logout",AcquireToken:"acquireToken",SsoSilent:"ssoSilent",HandleRedirect:"handleRedirect",None:"none"},S={scopes:n.ac},y="jwk",f={React:"@azure/msal-react",Angular:"@azure/msal-angular"},C="msal.db",_=1,w=`${C}.keys`,D={Default:0,AccessToken:1,AccessTokenAndRefreshToken:2,RefreshToken:3,RefreshTokenAndNetwork:4,Skip:5},L=[D.Default,D.Skip,D.RefreshTokenAndNetwork],N="msal.browser.log.level",V="msal.browser.log.pii",G="msal.browser.performance.enabled"},99632:(pe,m,s)=>{"use strict";s.d(m,{Q:()=>c});var n=s(86144),l=s(28876),u=s(71408);function c(i,e){if(!e)return null;try{return n.c.parseRequestState(i,e).libraryState.meta}catch{throw(0,l.mQ)(u.invalidState)}}},84644:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{blockAPICallsBeforeInitialize:()=>C,blockAcquireTokenInPopups:()=>y,blockNonBrowserEnvironment:()=>f,blockRedirectInIframe:()=>S,blockReloadInHiddenIframes:()=>E,clearHash:()=>e,createGuid:()=>w,getCurrentUri:()=>M,getHomepage:()=>p,isInIframe:()=>h,isInPopup:()=>v,preconnect:()=>_,replaceHash:()=>o});var n=s(67648),l=s(4792),u=s(26956),c=s(27880),i=s(32828);function e(D){D.location.hash="","function"==typeof D.history.replaceState&&D.history.replaceState(null,"",`${D.location.origin}${D.location.pathname}${D.location.search}`)}function o(D){const L=D.split("#");L.shift(),window.location.hash=L.length>0?L.join("#"):""}function h(){return window.parent!==window}function v(){return typeof window<"u"&&!!window.opener&&window.opener!==window&&"string"==typeof window.name&&0===window.name.indexOf(`${u.ig.POPUP_NAME_PREFIX}.`)}function M(){return window.location.href.split("?")[0].split("#")[0]}function p(){const L=new n._(window.location.href).getUrlComponents();return`${L.Protocol}//${L.HostNameAndPort}/`}function E(){if(n._.hashContainsKnownProperties(window.location.hash)&&h())throw(0,l.Wq)(i.blockIframeReload)}function S(D,L){const N=h();if(D===u.wV.Redirect&&N&&!L)throw(0,l.Wq)(i.redirectInIframe)}function y(){if(v())throw(0,l.Wq)(i.blockNestedPopups)}function f(D){if(!D)throw(0,l.Wq)(i.nonBrowserEnvironment)}function C(D){if(!D)throw(0,l.Wq)(i.uninitializedPublicClientApplication)}function _(D){const L=document.createElement("link");L.rel="preconnect",L.href=new URL(D).origin,L.crossOrigin="anonymous",document.head.appendChild(L),window.setTimeout(()=>{try{document.head.removeChild(L)}catch{}},1e4)}function w(){return(0,c.E5)()}},60928:(pe,m,s)=>{"use strict";function n(c,i){return!!c&&!!i&&c===i.split(".")[1]}function l(c,i){const{oid:e,sub:o,tid:h,name:v,tfp:M,acr:p}=i,E=h||M||p||"";return{tenantId:E,localAccountId:e||o||"",name:v,isHomeTenant:n(E,c)}}function u(c,i,e,o){let h=c;if(i){const{isHomeTenant:v,...M}=i;h={...c,...M}}if(e){const{isHomeTenant:v,...M}=l(c.homeAccountId,e);return h={...h,...M,idTokenClaims:e,idToken:o},h}return h}s.d(m,{EJ:()=>l,Ho:()=>u,Wo:()=>n})},6400:(pe,m,s)=>{"use strict";s.d(m,{UH:()=>i,aw:()=>u});var n=s(28876),l=s(71408);function u(e,o){const h=function c(e){if(!e)throw(0,n.mQ)(l.nullOrEmptyToken);const h=/^([^\.\s]*)\.([^\.\s]+)\.([^\.\s]*)$/.exec(e);if(!h||h.length<4)throw(0,n.mQ)(l.tokenParsingError);return h[2]}(e);try{const v=o(h);return JSON.parse(v)}catch{throw(0,n.mQ)(l.tokenParsingError)}}function i(e,o){if(0===o||Date.now()-3e5>e+o)throw(0,n.mQ)(l.maxAgeTranspired)}},16256:(pe,m,s)=>{"use strict";s.d(m,{s:()=>n});const n={HOME_ACCOUNT_ID:"home_account_id",UPN:"UPN"}},22045:(pe,m,s)=>{"use strict";s.d(m,{G:()=>c,k:()=>i});var n=s(28876),l=s(34739),u=s(71408);function c(e,o){if(!e)throw(0,n.mQ)(u.clientInfoEmptyError);try{const h=o(e);return JSON.parse(h)}catch{throw(0,n.mQ)(u.clientInfoDecodingError)}}function i(e){if(!e)throw(0,n.mQ)(u.clientInfoDecodingError);const o=e.split(l.Mj.CLIENT_INFO_SEPARATOR,2);return{uid:o[0],utid:o.length<2?l.Mv.EMPTY_STRING:o[1]}}},79032:(pe,m,s)=>{"use strict";function n(l){return l&&(l.tid||l.tfp||l.acr)||null}s.d(m,{c:()=>n})},74968:(pe,m,s)=>{"use strict";s.d(m,{ET:()=>o,IP:()=>e,UD:()=>v,_8:()=>M,gB:()=>c});var n=s(67648),l=s(34739);const c={"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"}},i={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 o(p,E){let S;const y=p.canonicalAuthority;if(y){const f=new n._(y).getUrlComponents().HostNameAndPort;S=h(f,p.cloudDiscoveryMetadata?.metadata,l.cv.CONFIG,E)||h(f,i.metadata,l.cv.HARDCODED_VALUES,E)||p.knownAuthorities}return S||[]}function h(p,E,S,y){if(y?.trace(`getAliasesFromMetadata called with source: ${S}`),p&&E){const f=M(E,p);if(f)return y?.trace(`getAliasesFromMetadata: found cloud discovery metadata in ${S}, returning aliases`),f.aliases;y?.trace(`getAliasesFromMetadata: did not find cloud discovery metadata in ${S}`)}return null}function v(p){return M(i.metadata,p)}function M(p,E){for(let S=0;S{p.aliases.forEach(E=>{e.add(E)})})},67952:(pe,m,s)=>{"use strict";s.d(m,{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:(pe,m,s)=>{"use strict";s.d(m,{O:()=>n});const n={Default:0,Adfs:1,Dsts:2,Ciam:3}},65072:(pe,m,s)=>{"use strict";s.d(m,{g:()=>n});const n={AAD:"AAD",OIDC:"OIDC"}},6536:(pe,m,s)=>{"use strict";s.d(m,{B:()=>E,K:()=>S});var n=s(1528),l=s(34739),u=s(72584),c=s(95248),i=s(98416),e=s(28876),o=s(60928),h=s(6400),v=s(75205),M=s(74968),p=s(71408);class E{constructor(f,C,_,w){this.clientId=f,this.cryptoImpl=C,this.commonLogger=_.clone(v.N,v.W),this.staticAuthorityOptions=w}getAllAccounts(f){return this.buildTenantProfiles(this.getAccountsFilteredBy(f||{}),f)}getAccountInfoFilteredBy(f){const C=this.getAllAccounts(f);return C.length>1?C.sort(w=>w.idTokenClaims?-1:1)[0]:1===C.length?C[0]:null}getBaseAccountInfo(f){const C=this.getAccountsFilteredBy(f);return C.length>0?C[0].getAccountInfo():null}buildTenantProfiles(f,C){return f.flatMap(_=>this.getAccountInfoForTenantProfiles(_,C))}getAccountInfoForTenantProfiles(f,C){return this.getTenantProfilesFromAccountEntity(f,C?.tenantId,C)}getTenantedAccountInfoByFilter(f,C,_,w){let L,D=null;if(w&&!this.tenantProfileMatchesFilter(_,w))return null;const N=this.getIdToken(f,C,_.tenantId);return N&&(L=(0,h.aw)(N.secret,this.cryptoImpl.base64Decode),!this.idTokenClaimsMatchTenantProfileFilter(L,w))?null:(D=(0,o.Ho)(f,_,L,N?.secret),D)}getTenantProfilesFromAccountEntity(f,C,_){const w=f.getAccountInfo();let D=w.tenantProfiles||new Map;const L=this.getTokenKeys();if(C){const V=D.get(C);if(!V)return[];D=new Map([[C,V]])}const N=[];return D.forEach(V=>{const G=this.getTenantedAccountInfoByFilter(w,L,V,_);G&&N.push(G)}),N}tenantProfileMatchesFilter(f,C){return!(C.localAccountId&&!this.matchLocalAccountIdFromTenantProfile(f,C.localAccountId)||C.name&&f.name!==C.name||void 0!==C.isHomeTenant&&f.isHomeTenant!==C.isHomeTenant)}idTokenClaimsMatchTenantProfileFilter(f,C){return!(C&&(C.localAccountId&&!this.matchLocalAccountIdFromTokenClaims(f,C.localAccountId)||C.loginHint&&!this.matchLoginHintFromTokenClaims(f,C.loginHint)||C.username&&!this.matchUsername(f.preferred_username,C.username)||C.name&&!this.matchName(f,C.name)||C.sid&&!this.matchSid(f,C.sid)))}saveCacheRecord(f,C){var _=this;return(0,n.c)(function*(){if(!f)throw(0,e.mQ)(p.invalidCacheRecord);f.account&&_.setAccount(f.account),f.idToken&&!1!==C?.idToken&&_.setIdTokenCredential(f.idToken),f.accessToken&&!1!==C?.accessToken&&(yield _.saveAccessToken(f.accessToken)),f.refreshToken&&!1!==C?.refreshToken&&_.setRefreshTokenCredential(f.refreshToken),f.appMetadata&&_.setAppMetadata(f.appMetadata)})()}saveAccessToken(f){var C=this;return(0,n.c)(function*(){const _={clientId:f.clientId,credentialType:f.credentialType,environment:f.environment,homeAccountId:f.homeAccountId,realm:f.realm,tokenType:f.tokenType,requestedClaimsHash:f.requestedClaimsHash},w=C.getTokenKeys(),D=c.k.fromString(f.target),L=[];w.accessToken.forEach(N=>{if(!C.accessTokenKeyMatchesFilter(N,_,!1))return;const V=C.getAccessTokenCredential(N);V&&C.credentialMatchesFilter(V,_)&&c.k.fromString(V.target).intersectingScopeSets(D)&&L.push(C.removeAccessToken(N))}),yield Promise.all(L),C.setAccessTokenCredential(f)})()}getAccountsFilteredBy(f){const C=this.getAccountKeys(),_=[];return C.forEach(w=>{if(!this.isAccountKey(w,f.homeAccountId))return;const D=this.getAccount(w,this.commonLogger);if(!D||f.homeAccountId&&!this.matchHomeAccountId(D,f.homeAccountId)||f.username&&!this.matchUsername(D.username,f.username)||f.environment&&!this.matchEnvironment(D,f.environment)||f.realm&&!this.matchRealm(D,f.realm)||f.nativeAccountId&&!this.matchNativeAccountId(D,f.nativeAccountId)||f.authorityType&&!this.matchAuthorityType(D,f.authorityType))return;const L={localAccountId:f?.localAccountId,name:f?.name},N=D.tenantProfiles?.filter(V=>this.tenantProfileMatchesFilter(V,L));N&&0===N.length||_.push(D)}),_}isAccountKey(f,C,_){return!(f.split(l.Mj.CACHE_KEY_SEPARATOR).length<3||C&&!f.toLowerCase().includes(C.toLowerCase())||_&&!f.toLowerCase().includes(_.toLowerCase()))}isCredentialKey(f){if(f.split(l.Mj.CACHE_KEY_SEPARATOR).length<6)return!1;const C=f.toLowerCase();if(-1===C.indexOf(l.yu.ID_TOKEN.toLowerCase())&&-1===C.indexOf(l.yu.ACCESS_TOKEN.toLowerCase())&&-1===C.indexOf(l.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase())&&-1===C.indexOf(l.yu.REFRESH_TOKEN.toLowerCase()))return!1;if(C.indexOf(l.yu.REFRESH_TOKEN.toLowerCase())>-1){const w=`${l.yu.REFRESH_TOKEN}${l.Mj.CACHE_KEY_SEPARATOR}${l.wj}${l.Mj.CACHE_KEY_SEPARATOR}`;if(-1===C.indexOf(`${l.yu.REFRESH_TOKEN}${l.Mj.CACHE_KEY_SEPARATOR}${this.clientId}${l.Mj.CACHE_KEY_SEPARATOR}`.toLowerCase())&&-1===C.indexOf(w.toLowerCase()))return!1}else if(-1===C.indexOf(this.clientId.toLowerCase()))return!1;return!0}credentialMatchesFilter(f,C){return!(C.clientId&&!this.matchClientId(f,C.clientId)||C.userAssertionHash&&!this.matchUserAssertionHash(f,C.userAssertionHash)||"string"==typeof C.homeAccountId&&!this.matchHomeAccountId(f,C.homeAccountId)||C.environment&&!this.matchEnvironment(f,C.environment)||C.realm&&!this.matchRealm(f,C.realm)||C.credentialType&&!this.matchCredentialType(f,C.credentialType)||C.familyId&&!this.matchFamilyId(f,C.familyId)||C.target&&!this.matchTarget(f,C.target)||(C.requestedClaimsHash||f.requestedClaimsHash)&&f.requestedClaimsHash!==C.requestedClaimsHash||f.credentialType===l.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME&&(C.tokenType&&!this.matchTokenType(f,C.tokenType)||C.tokenType===l.me.SSH&&C.keyId&&!this.matchKeyId(f,C.keyId)))}getAppMetadataFilteredBy(f){return this.getAppMetadataFilteredByInternal(f.environment,f.clientId)}getAppMetadataFilteredByInternal(f,C){const _=this.getKeys(),w={};return _.forEach(D=>{if(!this.isAppMetadata(D))return;const L=this.getAppMetadata(D);L&&(f&&!this.matchEnvironment(L,f)||C&&!this.matchClientId(L,C)||(w[D]=L))}),w}getAuthorityMetadataByAlias(f){const C=this.getAuthorityMetadataKeys();let _=null;return C.forEach(w=>{if(!this.isAuthorityMetadata(w)||-1===w.indexOf(this.clientId))return;const D=this.getAuthorityMetadata(w);D&&-1!==D.aliases.indexOf(f)&&(_=D)}),_}removeAllAccounts(){var f=this;return(0,n.c)(function*(){const C=f.getAccountKeys(),_=[];C.forEach(w=>{_.push(f.removeAccount(w))}),yield Promise.all(_)})()}removeAccount(f){var C=this;return(0,n.c)(function*(){const _=C.getAccount(f,C.commonLogger);_&&(yield C.removeAccountContext(_),C.removeItem(f))})()}removeAccountContext(f){var C=this;return(0,n.c)(function*(){const _=C.getTokenKeys(),w=f.generateAccountId(),D=[];_.idToken.forEach(L=>{0===L.indexOf(w)&&C.removeIdToken(L)}),_.accessToken.forEach(L=>{0===L.indexOf(w)&&D.push(C.removeAccessToken(L))}),_.refreshToken.forEach(L=>{0===L.indexOf(w)&&C.removeRefreshToken(L)}),yield Promise.all(D)})()}updateOutdatedCachedAccount(f,C,_){if(C&&C.isSingleTenant()){this.commonLogger?.verbose("updateOutdatedCachedAccount: Found a single-tenant (outdated) account entity in the cache, migrating to multi-tenant account entity");const w=this.getAccountKeys().filter(G=>G.startsWith(C.homeAccountId)),D=[];w.forEach(G=>{const R=this.getCachedAccountEntity(G);R&&D.push(R)});const L=D.find(G=>(0,o.Wo)(G.realm,G.homeAccountId))||D[0];L.tenantProfiles=D.map(G=>({tenantId:G.realm,localAccountId:G.localAccountId,name:G.name,isHomeTenant:(0,o.Wo)(G.realm,G.homeAccountId)}));const N=E.toObject(new i.M,{...L}),V=N.generateAccountKey();return w.forEach(G=>{G!==V&&this.removeOutdatedAccount(f)}),this.setAccount(N),_?.verbose("Updated an outdated account entity in the cache"),N}return C}removeAccessToken(f){var C=this;return(0,n.c)(function*(){const _=C.getAccessTokenCredential(f);if(_){if(_.credentialType.toLowerCase()===l.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase()&&_.tokenType===l.me.POP){const D=_.keyId;if(D)try{yield C.cryptoImpl.removeTokenBindingKey(D)}catch{throw(0,e.mQ)(p.bindingKeyNotRemoved)}}return C.removeItem(f)}})()}removeAppMetadata(){return this.getKeys().forEach(C=>{this.isAppMetadata(C)&&this.removeItem(C)}),!0}readAccountFromCache(f){const C=i.M.generateAccountCacheKey(f);return this.getAccount(C,this.commonLogger)}getIdToken(f,C,_,w,D){this.commonLogger.trace("CacheManager - getIdToken called");const N=this.getIdTokensByFilter({homeAccountId:f.homeAccountId,environment:f.environment,credentialType:l.yu.ID_TOKEN,clientId:this.clientId,realm:_},C),V=N.size;if(V<1)return this.commonLogger.info("CacheManager:getIdToken - No token found"),null;if(V>1){let G=N;if(!_){const R=new Map;N.forEach((A,H)=>{A.realm===f.tenantId&&R.set(H,A)});const k=R.size;if(k<1)return this.commonLogger.info("CacheManager:getIdToken - Multiple ID tokens found for account but none match account entity tenant id, returning first result"),N.values().next().value;if(1===k)return this.commonLogger.info("CacheManager:getIdToken - Multiple ID tokens found for account, defaulting to home tenant profile"),R.values().next().value;G=R}return this.commonLogger.info("CacheManager:getIdToken - Multiple matching ID tokens found, clearing them"),G.forEach((R,k)=>{this.removeIdToken(k)}),w&&D&&w.addFields({multiMatchedID:N.size},D),null}return this.commonLogger.info("CacheManager:getIdToken - Returning ID token"),N.values().next().value}getIdTokensByFilter(f,C){const _=C&&C.idToken||this.getTokenKeys().idToken,w=new Map;return _.forEach(D=>{if(!this.idTokenKeyMatchesFilter(D,{clientId:this.clientId,...f}))return;const L=this.getIdTokenCredential(D);L&&this.credentialMatchesFilter(L,f)&&w.set(D,L)}),w}idTokenKeyMatchesFilter(f,C){const _=f.toLowerCase();return!(C.clientId&&-1===_.indexOf(C.clientId.toLowerCase())||C.homeAccountId&&-1===_.indexOf(C.homeAccountId.toLowerCase()))}removeIdToken(f){this.removeItem(f)}removeRefreshToken(f){this.removeItem(f)}getAccessToken(f,C,_,w,D,L){this.commonLogger.trace("CacheManager - getAccessToken called");const N=c.k.createSearchScopes(C.scopes),V=C.authenticationScheme||l.me.BEARER,G=V&&V.toLowerCase()!==l.me.BEARER.toLowerCase()?l.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME:l.yu.ACCESS_TOKEN,R={homeAccountId:f.homeAccountId,environment:f.environment,credentialType:G,clientId:this.clientId,realm:w||f.tenantId,target:N,tokenType:V,keyId:C.sshKid,requestedClaimsHash:C.requestedClaimsHash},k=_&&_.accessToken||this.getTokenKeys().accessToken,A=[];k.forEach(K=>{if(this.accessTokenKeyMatchesFilter(K,R,!0)){const ie=this.getAccessTokenCredential(K);ie&&this.credentialMatchesFilter(ie,R)&&A.push(ie)}});const H=A.length;return H<1?(this.commonLogger.info("CacheManager:getAccessToken - No token found"),null):H>1?(this.commonLogger.info("CacheManager:getAccessToken - Multiple access tokens found, clearing them"),A.forEach(K=>{this.removeAccessToken((0,u.AZ)(K))}),D&&L&&D.addFields({multiMatchedAT:A.length},L),null):(this.commonLogger.info("CacheManager:getAccessToken - Returning access token"),A[0])}accessTokenKeyMatchesFilter(f,C,_){const w=f.toLowerCase();if(C.clientId&&-1===w.indexOf(C.clientId.toLowerCase())||C.homeAccountId&&-1===w.indexOf(C.homeAccountId.toLowerCase())||C.realm&&-1===w.indexOf(C.realm.toLowerCase())||C.requestedClaimsHash&&-1===w.indexOf(C.requestedClaimsHash.toLowerCase()))return!1;if(C.target){const D=C.target.asArray();for(let L=0;L{if(!this.accessTokenKeyMatchesFilter(w,f,!0))return;const D=this.getAccessTokenCredential(w);D&&this.credentialMatchesFilter(D,f)&&_.push(D)}),_}getRefreshToken(f,C,_,w,D){this.commonLogger.trace("CacheManager - getRefreshToken called");const N={homeAccountId:f.homeAccountId,environment:f.environment,credentialType:l.yu.REFRESH_TOKEN,clientId:this.clientId,familyId:C?l.wj:void 0},V=_&&_.refreshToken||this.getTokenKeys().refreshToken,G=[];V.forEach(k=>{if(this.refreshTokenKeyMatchesFilter(k,N)){const A=this.getRefreshTokenCredential(k);A&&this.credentialMatchesFilter(A,N)&&G.push(A)}});const R=G.length;return R<1?(this.commonLogger.info("CacheManager:getRefreshToken - No refresh token found."),null):(R>1&&w&&D&&w.addFields({multiMatchedRT:R},D),this.commonLogger.info("CacheManager:getRefreshToken - returning refresh token"),G[0])}refreshTokenKeyMatchesFilter(f,C){const _=f.toLowerCase();return!(C.familyId&&-1===_.indexOf(C.familyId.toLowerCase())||!C.familyId&&C.clientId&&-1===_.indexOf(C.clientId.toLowerCase())||C.homeAccountId&&-1===_.indexOf(C.homeAccountId.toLowerCase()))}readAppMetadataFromCache(f){const _=this.getAppMetadataFilteredBy({environment:f,clientId:this.clientId}),w=Object.keys(_).map(L=>_[L]),D=w.length;if(D<1)return null;if(D>1)throw(0,e.mQ)(p.multipleMatchingAppMetadata);return w[0]}isAppMetadataFOCI(f){const C=this.readAppMetadataFromCache(f);return!(!C||C.familyId!==l.wj)}matchHomeAccountId(f,C){return"string"==typeof f.homeAccountId&&C===f.homeAccountId}matchLocalAccountIdFromTokenClaims(f,C){return C===(f.oid||f.sub)}matchLocalAccountIdFromTenantProfile(f,C){return f.localAccountId===C}matchName(f,C){return C.toLowerCase()===f.name?.toLowerCase()}matchUsername(f,C){return!(!f||"string"!=typeof f||C?.toLowerCase()!==f.toLowerCase())}matchUserAssertionHash(f,C){return!(!f.userAssertionHash||C!==f.userAssertionHash)}matchEnvironment(f,C){if(this.staticAuthorityOptions){const w=(0,M.ET)(this.staticAuthorityOptions,this.commonLogger);if(w.includes(C)&&w.includes(f.environment))return!0}const _=this.getAuthorityMetadataByAlias(C);return!!(_&&_.aliases.indexOf(f.environment)>-1)}matchCredentialType(f,C){return f.credentialType&&C.toLowerCase()===f.credentialType.toLowerCase()}matchClientId(f,C){return!(!f.clientId||C!==f.clientId)}matchFamilyId(f,C){return!(!f.familyId||C!==f.familyId)}matchRealm(f,C){return f.realm?.toLowerCase()===C.toLowerCase()}matchNativeAccountId(f,C){return!(!f.nativeAccountId||C!==f.nativeAccountId)}matchLoginHintFromTokenClaims(f,C){return f.login_hint===C||f.preferred_username===C||f.upn===C}matchSid(f,C){return f.sid===C}matchAuthorityType(f,C){return!(!f.authorityType||C.toLowerCase()!==f.authorityType.toLowerCase())}matchTarget(f,C){return!(f.credentialType!==l.yu.ACCESS_TOKEN&&f.credentialType!==l.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME||!f.target)&&c.k.fromString(f.target).containsScopeSet(C)}matchTokenType(f,C){return!(!f.tokenType||f.tokenType!==C)}matchKeyId(f,C){return!(!f.keyId||f.keyId!==C)}isAppMetadata(f){return-1!==f.indexOf(l.cz)}isAuthorityMetadata(f){return-1!==f.indexOf(l.Ni.CACHE_KEY)}generateAuthorityMetadataCacheKey(f){return`${l.Ni.CACHE_KEY}-${this.clientId}-${f}`}static toObject(f,C){for(const _ in C)f[_]=C[_];return f}}class S extends E{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:(pe,m,s)=>{"use strict";s.d(m,{M:()=>v});var n=s(34739),l=s(22045),u=s(60928),c=s(28876),i=s(25988),e=s(79032),o=s(65072),h=s(71408);class v{generateAccountId(){return[this.homeAccountId,this.environment].join(n.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}generateAccountKey(){return v.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 E=p.homeAccountId.split(".")[1];return[p.homeAccountId,p.environment||"",E||p.tenantId||""].join(n.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}static createAccount(p,E,S){const y=new v;let f;y.authorityType=E.authorityType===i.O.Adfs?n.A9.ADFS_ACCOUNT_TYPE:E.protocolMode===o.g.AAD?n.A9.MSSTS_ACCOUNT_TYPE:n.A9.GENERIC_ACCOUNT_TYPE,p.clientInfo&&S&&(f=(0,l.G)(p.clientInfo,S)),y.clientInfo=p.clientInfo,y.homeAccountId=p.homeAccountId,y.nativeAccountId=p.nativeAccountId;const C=p.environment||E&&E.getPreferredCache();if(!C)throw(0,c.mQ)(h.invalidCacheEnvironment);if(y.environment=C,y.realm=f?.utid||(0,e.c)(p.idTokenClaims)||"",y.localAccountId=f?.uid||p.idTokenClaims.oid||p.idTokenClaims.sub||"",y.username=p.idTokenClaims.preferred_username||p.idTokenClaims.upn||(p.idTokenClaims.emails?p.idTokenClaims.emails[0]:null)||"",y.name=p.idTokenClaims.name,y.cloudGraphHostName=p.cloudGraphHostName,y.msGraphHost=p.msGraphHost,p.tenantProfiles)y.tenantProfiles=p.tenantProfiles;else{const D=[];if(p.idTokenClaims){const L=(0,u.EJ)(p.homeAccountId,p.idTokenClaims);D.push(L)}y.tenantProfiles=D}return y}static createFromAccountInfo(p,E,S){const y=new v;return y.authorityType=p.authorityType||n.A9.GENERIC_ACCOUNT_TYPE,y.homeAccountId=p.homeAccountId,y.localAccountId=p.localAccountId,y.nativeAccountId=p.nativeAccountId,y.realm=p.tenantId,y.environment=p.environment,y.username=p.username,y.name=p.name,y.cloudGraphHostName=E,y.msGraphHost=S,y.tenantProfiles=Array.from(p.tenantProfiles?.values()||[]),y}static generateHomeAccountId(p,E,S,y,f){if(E!==i.O.Adfs&&E!==i.O.Dsts){if(p)try{const C=(0,l.G)(p,y.base64Decode);if(C.uid&&C.utid)return`${C.uid}.${C.utid}`}catch{}S.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,E,S){if(!p||!E)return!1;let y=!0;if(S){const f=p.idTokenClaims||{},C=E.idTokenClaims||{};y=f.iat===C.iat&&f.nonce===C.nonce}return p.homeAccountId===E.homeAccountId&&p.localAccountId===E.localAccountId&&p.username===E.username&&p.tenantId===E.tenantId&&p.environment===E.environment&&p.nativeAccountId===E.nativeAccountId&&y}}},9488:(pe,m,s)=>{"use strict";s.d(m,{O:()=>n});class n{constructor(u,c,i,e,o){this.account=u||null,this.idToken=c||null,this.accessToken=i||null,this.refreshToken=e||null,this.appMetadata=o||null}}},72584:(pe,m,s)=>{"use strict";s.d(m,{AZ:()=>e,LS:()=>E,MJ:()=>h,S:()=>N,U5:()=>S,Ul:()=>p,YF:()=>o,_c:()=>v,aA:()=>G,cb:()=>A,gv:()=>R,mk:()=>H,q6:()=>V,s7:()=>L,sH:()=>k,sX:()=>D});var n=s(6400),l=s(28876),u=s(34739),c=s(50160),i=s(71408);function e(K){return[y(K),f(K),C(K),_(K),w(K)].join(u.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}function o(K,ie,X,be,ce){return{credentialType:u.yu.ID_TOKEN,homeAccountId:K,environment:ie,clientId:be,secret:X,realm:ce}}function h(K,ie,X,be,ce,ze,ct,xe,Ie,Le,Ue,Xe,_e,Fe,Ce){const Ae={homeAccountId:K,credentialType:u.yu.ACCESS_TOKEN,secret:X,cachedAt:(0,c.GO)().toString(),expiresOn:ct.toString(),extendedExpiresOn:xe.toString(),environment:ie,clientId:be,realm:ce,target:ze,tokenType:Ue||u.me.BEARER};if(Xe&&(Ae.userAssertionHash=Xe),Le&&(Ae.refreshOn=Le.toString()),Fe&&(Ae.requestedClaims=Fe,Ae.requestedClaimsHash=Ce),Ae.tokenType?.toLowerCase()!==u.me.BEARER.toLowerCase())switch(Ae.credentialType=u.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME,Ae.tokenType){case u.me.POP:const Be=(0,n.aw)(X,Ie);if(!Be?.cnf?.kid)throw(0,l.mQ)(i.tokenClaimsCnfRequiredForSignedJwt);Ae.keyId=Be.cnf.kid;break;case u.me.SSH:Ae.keyId=_e}return Ae}function v(K,ie,X,be,ce,ze,ct){const xe={credentialType:u.yu.REFRESH_TOKEN,homeAccountId:K,environment:ie,clientId:be,secret:X};return ze&&(xe.userAssertionHash=ze),ce&&(xe.familyId=ce),ct&&(xe.expiresOn=ct.toString()),xe}function M(K){return K.hasOwnProperty("homeAccountId")&&K.hasOwnProperty("environment")&&K.hasOwnProperty("credentialType")&&K.hasOwnProperty("clientId")&&K.hasOwnProperty("secret")}function p(K){return!!K&&M(K)&&K.hasOwnProperty("realm")&&K.hasOwnProperty("target")&&(K.credentialType===u.yu.ACCESS_TOKEN||K.credentialType===u.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME)}function E(K){return!!K&&M(K)&&K.hasOwnProperty("realm")&&K.credentialType===u.yu.ID_TOKEN}function S(K){return!!K&&M(K)&&K.credentialType===u.yu.REFRESH_TOKEN}function y(K){return[K.homeAccountId,K.environment].join(u.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}function f(K){return[K.credentialType,K.credentialType===u.yu.REFRESH_TOKEN&&K.familyId||K.clientId,K.realm||""].join(u.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}function C(K){return(K.target||"").toLowerCase()}function _(K){return(K.requestedClaimsHash||"").toLowerCase()}function w(K){return K.tokenType&&K.tokenType.toLowerCase()!==u.me.BEARER.toLowerCase()?K.tokenType.toLowerCase():""}function D(K,ie){const X=0===K.indexOf(u.ic.CACHE_KEY);let be=!0;return ie&&(be=ie.hasOwnProperty("failedRequests")&&ie.hasOwnProperty("errors")&&ie.hasOwnProperty("cacheHits")),X&&be}function L(K,ie){let X=!1;K&&(X=0===K.indexOf(u.gr.THROTTLING_PREFIX));let be=!0;return ie&&(be=ie.hasOwnProperty("throttleTime")),X&&be}function N({environment:K,clientId:ie}){return[u.cz,K,ie].join(u.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}function V(K,ie){return!!ie&&0===K.indexOf(u.cz)&&ie.hasOwnProperty("clientId")&&ie.hasOwnProperty("environment")}function G(K,ie){return!!ie&&0===K.indexOf(u.Ni.CACHE_KEY)&&ie.hasOwnProperty("aliases")&&ie.hasOwnProperty("preferred_cache")&&ie.hasOwnProperty("preferred_network")&&ie.hasOwnProperty("canonical_authority")&&ie.hasOwnProperty("authorization_endpoint")&&ie.hasOwnProperty("token_endpoint")&&ie.hasOwnProperty("issuer")&&ie.hasOwnProperty("aliasesFromNetwork")&&ie.hasOwnProperty("endpointsFromNetwork")&&ie.hasOwnProperty("expiresAt")&&ie.hasOwnProperty("jwks_uri")}function R(){return(0,c.GO)()+u.Ni.REFRESH_TIME_SECONDS}function k(K,ie,X){K.authorization_endpoint=ie.authorization_endpoint,K.token_endpoint=ie.token_endpoint,K.end_session_endpoint=ie.end_session_endpoint,K.issuer=ie.issuer,K.endpointsFromNetwork=X,K.jwks_uri=ie.jwks_uri}function A(K,ie,X){K.aliases=ie.aliases,K.preferred_cache=ie.preferred_cache,K.preferred_network=ie.preferred_network,K.aliasesFromNetwork=X}function H(K){return K.expiresAt<=(0,c.GO)()}},80660:(pe,m,s)=>{"use strict";s.d(m,{cJ:()=>L,k5:()=>E,qW:()=>V});var n=s(1528),l=s(65172),u=s(73364),c=s(34739),i=s(75205),e=s(67952),o=s(6536),h=s(65072),v=s(28876),M=s(71408);const E={tokenRenewalOffsetSeconds:300,preventCorsPreflight:!1},S={loggerCallback:()=>{},piiLoggingEnabled:!1,logLevel:u.G.Info,correlationId:c.Mv.EMPTY_STRING},y={claimsBasedCachingEnabled:!1},f={sendGetRequestAsync:()=>(0,n.c)(function*(){throw(0,v.mQ)(M.methodNotImplemented)})(),sendPostRequestAsync:()=>(0,n.c)(function*(){throw(0,v.mQ)(M.methodNotImplemented)})()},C={sku:c.Mv.SKU,version:i.W,cpu:c.Mv.EMPTY_STRING,os:c.Mv.EMPTY_STRING},_={clientSecret:c.Mv.EMPTY_STRING,clientAssertion:void 0},w={azureCloudInstance:e.C.None,tenant:`${c.Mv.DEFAULT_COMMON_TENANT}`},D={application:{appName:"",appVersion:""}};function L({authOptions:G,systemOptions:R,loggerOptions:k,cacheOptions:A,storageInterface:H,networkInterface:K,cryptoInterface:ie,clientCredentials:X,libraryInfo:be,telemetry:ce,serverTelemetryManager:ze,persistencePlugin:ct,serializableCache:xe}){const Ie={...S,...k};return{authOptions:N(G),systemOptions:{...E,...R},loggerOptions:Ie,cacheOptions:{...y,...A},storageInterface:H||new o.K(G.clientId,l.K,new u.Y(Ie)),networkInterface:K||f,cryptoInterface:ie||l.K,clientCredentials:X||_,libraryInfo:{...C,...be},telemetry:{...D,...ce},serverTelemetryManager:ze||null,persistencePlugin:ct||null,serializableCache:xe||null}}function N(G){return{clientCapabilities:[],azureCloudOptions:w,skipAuthorityMetadataCache:!1,...G}}function V(G){return G.authOptions.authority.options.protocolMode===h.g.OIDC}},91076:(pe,m,s)=>{"use strict";s.d(m,{Bz:()=>o,CS:()=>xe,E$:()=>_,Gs:()=>Ae,Ku:()=>c,MZ:()=>L,N2:()=>dt,O0:()=>ce,Ok:()=>Vt,S1:()=>E,SS:()=>et,U3:()=>u,UJ:()=>V,WG:()=>N,WM:()=>ot,YR:()=>Le,Yc:()=>vt,Yr:()=>A,_E:()=>be,_k:()=>n,aw:()=>ct,cD:()=>i,cf:()=>Fe,cx:()=>H,e6:()=>k,e8:()=>e,eU:()=>R,eo:()=>Ie,gL:()=>Xe,gt:()=>G,iK:()=>Ue,k1:()=>Ce,kB:()=>l,kT:()=>_e,n:()=>C,op:()=>ze,qA:()=>X,sp:()=>Tt,sx:()=>ie,uQ:()=>K,y2:()=>f});const n="client_id",l="redirect_uri",u="response_type",c="response_mode",i="grant_type",e="claims",o="scope",E="refresh_token",f="state",C="nonce",_="prompt",L="code",N="code_challenge",V="code_challenge_method",G="code_verifier",R="client-request-id",k="x-client-SKU",A="x-client-VER",H="x-client-OS",K="x-client-CPU",ie="x-client-current-telemetry",X="x-client-last-telemetry",be="x-ms-lib-capability",ce="x-app-name",ze="x-app-ver",ct="post_logout_redirect_uri",xe="id_token_hint",Ie="device_code",Le="client_secret",Ue="client_assertion",Xe="client_assertion_type",_e="token_type",Fe="req_cnf",Ce="assertion",Ae="requested_token_use",et="return_spa_code",vt="nativebroker",Tt="logout_hint",dt="sid",ot="login_hint",Vt="domain_hint"},65172:(pe,m,s)=>{"use strict";s.d(m,{K:()=>c});var n=s(1528),l=s(28876),u=s(71408);const c={createNewGuid:()=>{throw(0,l.mQ)(u.methodNotImplemented)},base64Decode:()=>{throw(0,l.mQ)(u.methodNotImplemented)},base64Encode:()=>{throw(0,l.mQ)(u.methodNotImplemented)},getPublicKeyThumbprint:()=>(0,n.c)(function*(){throw(0,l.mQ)(u.methodNotImplemented)})(),removeTokenBindingKey:()=>(0,n.c)(function*(){throw(0,l.mQ)(u.methodNotImplemented)})(),clearKeystore:()=>(0,n.c)(function*(){throw(0,l.mQ)(u.methodNotImplemented)})(),signJwt:()=>(0,n.c)(function*(){throw(0,l.mQ)(u.methodNotImplemented)})(),hashString:()=>(0,n.c)(function*(){throw(0,l.mQ)(u.methodNotImplemented)})()}},46392:(pe,m,s)=>{"use strict";s.d(m,{w:()=>o});var n=s(1528),l=s(50160),u=s(67648),c=s(85348),i=s(14035);class o{constructor(v,M){this.cryptoUtils=v,this.performanceClient=M}generateCnf(v,M){var p=this;return(0,n.c)(function*(){p.performanceClient?.addQueueMeasurement(c.Xv.PopTokenGenerateCnf,v.correlationId);const E=yield(0,i.C)(p.generateKid.bind(p),c.Xv.PopTokenGenerateCnf,M,p.performanceClient,v.correlationId)(v),S=p.cryptoUtils.base64Encode(JSON.stringify(E));return{kid:E.kid,reqCnfString:S,reqCnfHash:yield p.cryptoUtils.hashString(S)}})()}generateKid(v){var M=this;return(0,n.c)(function*(){return M.performanceClient?.addQueueMeasurement(c.Xv.PopTokenGenerateKid,v.correlationId),{kid:yield M.cryptoUtils.getPublicKeyThumbprint(v),xms_ksl:"sw"}})()}signPopToken(v,M,p){var E=this;return(0,n.c)(function*(){return E.signPayload(v,M,p)})()}signPayload(v,M,p,E){var S=this;return(0,n.c)(function*(){const{resourceRequestMethod:y,resourceRequestUri:f,shrClaims:C,shrNonce:_,shrOptions:w}=p,L=(f?new u._(f):void 0)?.getUrlComponents();return S.cryptoUtils.signJwt({at:v,ts:(0,l.GO)(),m:y?.toUpperCase(),u:L?.HostNameAndPort,nonce:_||S.cryptoUtils.createNewGuid(),p:L?.AbsolutePath,q:L?.QueryString?[[],L.QueryString]:void 0,client_claims:C||void 0,...E},M,w,p.correlationId)})()}}},66936:(pe,m,s)=>{"use strict";s.d(m,{GM:()=>c,Ub:()=>e,WM:()=>i});var n=s(34739),l=s(83228);const u={[l.unexpectedError]:"Unexpected error in authentication.",[l.postRequestFailed]:"Post request failed from the network, could be a 4xx/5xx or a network unavailability. Please check the exact error code for details."},c={unexpectedError:{code:l.unexpectedError,desc:u[l.unexpectedError]},postRequestFailed:{code:l.postRequestFailed,desc:u[l.postRequestFailed]}};class i extends Error{constructor(h,v,M){super(v?`${h}: ${v}`:h),Object.setPrototypeOf(this,i.prototype),this.errorCode=h||n.Mv.EMPTY_STRING,this.errorMessage=v||n.Mv.EMPTY_STRING,this.subError=M||n.Mv.EMPTY_STRING,this.name="AuthError"}setCorrelationId(h){this.correlationId=h}}function e(o,h){return new i(o,h?`${u[o]} ${h}`:u[o])}},83228:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{postRequestFailed:()=>l,unexpectedError:()=>n});const n="unexpected_error",l="post_request_failed"},28876:(pe,m,s)=>{"use strict";s.d(m,{m6:()=>c,mQ:()=>e,oJ:()=>i});var n=s(66936),l=s(71408);const u={[l.clientInfoDecodingError]:"The client info could not be parsed/decoded correctly",[l.clientInfoEmptyError]:"The client info was empty",[l.tokenParsingError]:"Token cannot be parsed",[l.nullOrEmptyToken]:"The token is null or empty",[l.endpointResolutionError]:"Endpoints cannot be resolved",[l.networkError]:"Network request failed",[l.openIdConfigError]:"Could not retrieve endpoints. Check your authority and verify the .well-known/openid-configuration endpoint returns the required endpoints.",[l.hashNotDeserialized]:"The hash parameters could not be deserialized",[l.invalidState]:"State was not the expected format",[l.stateMismatch]:"State mismatch error",[l.stateNotFound]:"State not found",[l.nonceMismatch]:"Nonce mismatch error",[l.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.",[l.maxAgeTranspired]:"Max Age is set to 0, or too much time has elapsed since the last end-user authentication.",[l.multipleMatchingTokens]:"The cache contains multiple tokens satisfying the requirements. Call AcquireToken again providing more requirements such as authority or account.",[l.multipleMatchingAccounts]:"The cache contains multiple accounts satisfying the given parameters. Please pass more info to obtain the correct account",[l.multipleMatchingAppMetadata]:"The cache contains multiple appMetadata satisfying the given parameters. Please pass more info to obtain the correct appMetadata",[l.requestCannotBeMade]:"Token request cannot be made without authorization code or refresh token.",[l.cannotRemoveEmptyScope]:"Cannot remove null or empty scope from ScopeSet",[l.cannotAppendScopeSet]:"Cannot append ScopeSet",[l.emptyInputScopeSet]:"Empty input ScopeSet cannot be processed",[l.deviceCodePollingCancelled]:"Caller has cancelled token endpoint polling during device code flow by setting DeviceCodeRequest.cancel = true.",[l.deviceCodeExpired]:"Device code is expired.",[l.deviceCodeUnknownError]:"Device code stopped polling for unknown reasons.",[l.noAccountInSilentRequest]:"Please pass an account object, silent flow is not supported without account information",[l.invalidCacheRecord]:"Cache record object was null or undefined.",[l.invalidCacheEnvironment]:"Invalid environment when attempting to create cache entry",[l.noAccountFound]:"No account found in cache for given key.",[l.noCryptoObject]:"No crypto object detected.",[l.unexpectedCredentialType]:"Unexpected credential type.",[l.invalidAssertion]:"Client assertion must meet requirements described in https://tools.ietf.org/html/rfc7515",[l.invalidClientCredential]:"Client credential (secret, certificate, or assertion) must not be empty when creating a confidential client. An application should at most have one credential",[l.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.",[l.userTimeoutReached]:"User defined timeout for device code polling reached",[l.tokenClaimsCnfRequiredForSignedJwt]:"Cannot generate a POP jwt if the token_claims are not populated",[l.authorizationCodeMissingFromServerResponse]:"Server response does not contain an authorization code to proceed",[l.bindingKeyNotRemoved]:"Could not remove the credential's binding key from storage.",[l.endSessionEndpointNotSupported]:"The provided authority does not support logout",[l.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.",[l.noNetworkConnectivity]:"No network connectivity. Check your internet connection.",[l.userCanceled]:"User cancelled the flow.",[l.missingTenantIdError]:"A tenant id - not common, organizations, or consumers - must be specified when using the client_credentials flow.",[l.methodNotImplemented]:"This method has not been implemented",[l.nestedAppAuthBridgeDisabled]:"The nested app auth bridge is disabled"},c={clientInfoDecodingError:{code:l.clientInfoDecodingError,desc:u[l.clientInfoDecodingError]},clientInfoEmptyError:{code:l.clientInfoEmptyError,desc:u[l.clientInfoEmptyError]},tokenParsingError:{code:l.tokenParsingError,desc:u[l.tokenParsingError]},nullOrEmptyToken:{code:l.nullOrEmptyToken,desc:u[l.nullOrEmptyToken]},endpointResolutionError:{code:l.endpointResolutionError,desc:u[l.endpointResolutionError]},networkError:{code:l.networkError,desc:u[l.networkError]},unableToGetOpenidConfigError:{code:l.openIdConfigError,desc:u[l.openIdConfigError]},hashNotDeserialized:{code:l.hashNotDeserialized,desc:u[l.hashNotDeserialized]},invalidStateError:{code:l.invalidState,desc:u[l.invalidState]},stateMismatchError:{code:l.stateMismatch,desc:u[l.stateMismatch]},stateNotFoundError:{code:l.stateNotFound,desc:u[l.stateNotFound]},nonceMismatchError:{code:l.nonceMismatch,desc:u[l.nonceMismatch]},authTimeNotFoundError:{code:l.authTimeNotFound,desc:u[l.authTimeNotFound]},maxAgeTranspired:{code:l.maxAgeTranspired,desc:u[l.maxAgeTranspired]},multipleMatchingTokens:{code:l.multipleMatchingTokens,desc:u[l.multipleMatchingTokens]},multipleMatchingAccounts:{code:l.multipleMatchingAccounts,desc:u[l.multipleMatchingAccounts]},multipleMatchingAppMetadata:{code:l.multipleMatchingAppMetadata,desc:u[l.multipleMatchingAppMetadata]},tokenRequestCannotBeMade:{code:l.requestCannotBeMade,desc:u[l.requestCannotBeMade]},removeEmptyScopeError:{code:l.cannotRemoveEmptyScope,desc:u[l.cannotRemoveEmptyScope]},appendScopeSetError:{code:l.cannotAppendScopeSet,desc:u[l.cannotAppendScopeSet]},emptyInputScopeSetError:{code:l.emptyInputScopeSet,desc:u[l.emptyInputScopeSet]},DeviceCodePollingCancelled:{code:l.deviceCodePollingCancelled,desc:u[l.deviceCodePollingCancelled]},DeviceCodeExpired:{code:l.deviceCodeExpired,desc:u[l.deviceCodeExpired]},DeviceCodeUnknownError:{code:l.deviceCodeUnknownError,desc:u[l.deviceCodeUnknownError]},NoAccountInSilentRequest:{code:l.noAccountInSilentRequest,desc:u[l.noAccountInSilentRequest]},invalidCacheRecord:{code:l.invalidCacheRecord,desc:u[l.invalidCacheRecord]},invalidCacheEnvironment:{code:l.invalidCacheEnvironment,desc:u[l.invalidCacheEnvironment]},noAccountFound:{code:l.noAccountFound,desc:u[l.noAccountFound]},noCryptoObj:{code:l.noCryptoObject,desc:u[l.noCryptoObject]},unexpectedCredentialType:{code:l.unexpectedCredentialType,desc:u[l.unexpectedCredentialType]},invalidAssertion:{code:l.invalidAssertion,desc:u[l.invalidAssertion]},invalidClientCredential:{code:l.invalidClientCredential,desc:u[l.invalidClientCredential]},tokenRefreshRequired:{code:l.tokenRefreshRequired,desc:u[l.tokenRefreshRequired]},userTimeoutReached:{code:l.userTimeoutReached,desc:u[l.userTimeoutReached]},tokenClaimsRequired:{code:l.tokenClaimsCnfRequiredForSignedJwt,desc:u[l.tokenClaimsCnfRequiredForSignedJwt]},noAuthorizationCodeFromServer:{code:l.authorizationCodeMissingFromServerResponse,desc:u[l.authorizationCodeMissingFromServerResponse]},bindingKeyNotRemovedError:{code:l.bindingKeyNotRemoved,desc:u[l.bindingKeyNotRemoved]},logoutNotSupported:{code:l.endSessionEndpointNotSupported,desc:u[l.endSessionEndpointNotSupported]},keyIdMissing:{code:l.keyIdMissing,desc:u[l.keyIdMissing]},noNetworkConnectivity:{code:l.noNetworkConnectivity,desc:u[l.noNetworkConnectivity]},userCanceledError:{code:l.userCanceled,desc:u[l.userCanceled]},missingTenantIdError:{code:l.missingTenantIdError,desc:u[l.missingTenantIdError]},nestedAppAuthBridgeDisabled:{code:l.nestedAppAuthBridgeDisabled,desc:u[l.nestedAppAuthBridgeDisabled]}};class i extends n.WM{constructor(h,v){super(h,v?`${u[h]}: ${v}`:u[h]),this.name="ClientAuthError",Object.setPrototypeOf(this,i.prototype)}}function e(o,h){return new i(o,h)}},71408:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{authTimeNotFound:()=>S,authorizationCodeMissingFromServerResponse:()=>Ie,bindingKeyNotRemoved:()=>Le,cannotAppendScopeSet:()=>L,cannotRemoveEmptyScope:()=>D,clientInfoDecodingError:()=>n,clientInfoEmptyError:()=>l,deviceCodeExpired:()=>G,deviceCodePollingCancelled:()=>V,deviceCodeUnknownError:()=>R,emptyInputScopeSet:()=>N,endSessionEndpointNotSupported:()=>Ue,endpointResolutionError:()=>i,hashNotDeserialized:()=>h,invalidAssertion:()=>be,invalidCacheEnvironment:()=>H,invalidCacheRecord:()=>A,invalidClientCredential:()=>ce,invalidState:()=>v,keyIdMissing:()=>Xe,maxAgeTranspired:()=>y,methodNotImplemented:()=>Ae,missingTenantIdError:()=>Ce,multipleMatchingAccounts:()=>C,multipleMatchingAppMetadata:()=>_,multipleMatchingTokens:()=>f,nestedAppAuthBridgeDisabled:()=>Be,networkError:()=>e,noAccountFound:()=>K,noAccountInSilentRequest:()=>k,noCryptoObject:()=>ie,noNetworkConnectivity:()=>_e,nonceMismatch:()=>E,nullOrEmptyToken:()=>c,openIdConfigError:()=>o,requestCannotBeMade:()=>w,stateMismatch:()=>M,stateNotFound:()=>p,tokenClaimsCnfRequiredForSignedJwt:()=>xe,tokenParsingError:()=>u,tokenRefreshRequired:()=>ze,unexpectedCredentialType:()=>X,userCanceled:()=>Fe,userTimeoutReached:()=>ct});const n="client_info_decoding_error",l="client_info_empty_error",u="token_parsing_error",c="null_or_empty_token",i="endpoints_resolution_error",e="network_error",o="openid_config_error",h="hash_not_deserialized",v="invalid_state",M="state_mismatch",p="state_not_found",E="nonce_mismatch",S="auth_time_not_found",y="max_age_transpired",f="multiple_matching_tokens",C="multiple_matching_accounts",_="multiple_matching_appMetadata",w="request_cannot_be_made",D="cannot_remove_empty_scope",L="cannot_append_scopeset",N="empty_input_scopeset",V="device_code_polling_cancelled",G="device_code_expired",R="device_code_unknown_error",k="no_account_in_silent_request",A="invalid_cache_record",H="invalid_cache_environment",K="no_account_found",ie="no_crypto_object",X="unexpected_credential_type",be="invalid_assertion",ce="invalid_client_credential",ze="token_refresh_required",ct="user_timeout_reached",xe="token_claims_cnf_required_for_signedjwt",Ie="authorization_code_missing_from_server_response",Le="binding_key_not_removed",Ue="end_session_endpoint_not_supported",Xe="key_id_missing",_e="no_network_connectivity",Fe="user_canceled",Ce="missing_tenant_id_error",Ae="method_not_implemented",Be="nested_app_auth_bridge_disabled"},59684:(pe,m,s)=>{"use strict";s.d(m,{OA:()=>c,Ou:()=>i,QN:()=>e});var n=s(66936),l=s(32336);const u={[l.redirectUriEmpty]:"A redirect URI is required for all calls, and none has been set.",[l.claimsRequestParsingError]:"Could not parse the given claims request object.",[l.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",[l.urlParseError]:"URL could not be parsed into appropriate segments.",[l.urlEmptyError]:"URL was empty or null.",[l.emptyInputScopesError]:"Scopes cannot be passed as null, undefined or empty array because they are required to obtain an access token.",[l.invalidPromptValue]:"Please see here for valid configuration options: https://azuread.github.io/microsoft-authentication-library-for-js/ref/modules/_azure_msal_common.html#commonauthorizationurlrequest",[l.invalidClaims]:"Given claims parameter must be a stringified JSON object.",[l.tokenRequestEmpty]:"Token request was empty and not found in cache.",[l.logoutRequestEmpty]:"The logout request was null or undefined.",[l.invalidCodeChallengeMethod]:'code_challenge_method passed is invalid. Valid values are "plain" and "S256".',[l.pkceParamsMissing]:"Both params: code_challenge and code_challenge_method are to be passed if to be sent in the request",[l.invalidCloudDiscoveryMetadata]:"Invalid cloudDiscoveryMetadata provided. Must be a stringified JSON object containing tenant_discovery_endpoint and metadata fields",[l.invalidAuthorityMetadata]:"Invalid authorityMetadata provided. Must by a stringified JSON object containing authorization_endpoint, token_endpoint, issuer fields.",[l.untrustedAuthority]:"The provided authority is not a trusted authority. Please include this authority in the knownAuthorities config parameter.",[l.missingSshJwk]:"Missing sshJwk in SSH certificate request. A stringified JSON Web Key is required when using the SSH authentication scheme.",[l.missingSshKid]:"Missing sshKid in SSH certificate request. A string that uniquely identifies the public SSH key is required when using the SSH authentication scheme.",[l.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.",[l.invalidAuthenticationHeader]:"Invalid authentication header provided",[l.cannotSetOIDCOptions]:"Cannot set OIDCOptions parameter. Please change the protocol mode to OIDC or use a non-Microsoft authority.",[l.cannotAllowNativeBroker]:"Cannot set allowNativeBroker parameter to true when not in AAD protocol mode.",[l.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."},c={redirectUriNotSet:{code:l.redirectUriEmpty,desc:u[l.redirectUriEmpty]},claimsRequestParsingError:{code:l.claimsRequestParsingError,desc:u[l.claimsRequestParsingError]},authorityUriInsecure:{code:l.authorityUriInsecure,desc:u[l.authorityUriInsecure]},urlParseError:{code:l.urlParseError,desc:u[l.urlParseError]},urlEmptyError:{code:l.urlEmptyError,desc:u[l.urlEmptyError]},emptyScopesError:{code:l.emptyInputScopesError,desc:u[l.emptyInputScopesError]},invalidPrompt:{code:l.invalidPromptValue,desc:u[l.invalidPromptValue]},invalidClaimsRequest:{code:l.invalidClaims,desc:u[l.invalidClaims]},tokenRequestEmptyError:{code:l.tokenRequestEmpty,desc:u[l.tokenRequestEmpty]},logoutRequestEmptyError:{code:l.logoutRequestEmpty,desc:u[l.logoutRequestEmpty]},invalidCodeChallengeMethod:{code:l.invalidCodeChallengeMethod,desc:u[l.invalidCodeChallengeMethod]},invalidCodeChallengeParams:{code:l.pkceParamsMissing,desc:u[l.pkceParamsMissing]},invalidCloudDiscoveryMetadata:{code:l.invalidCloudDiscoveryMetadata,desc:u[l.invalidCloudDiscoveryMetadata]},invalidAuthorityMetadata:{code:l.invalidAuthorityMetadata,desc:u[l.invalidAuthorityMetadata]},untrustedAuthority:{code:l.untrustedAuthority,desc:u[l.untrustedAuthority]},missingSshJwk:{code:l.missingSshJwk,desc:u[l.missingSshJwk]},missingSshKid:{code:l.missingSshKid,desc:u[l.missingSshKid]},missingNonceAuthenticationHeader:{code:l.missingNonceAuthenticationHeader,desc:u[l.missingNonceAuthenticationHeader]},invalidAuthenticationHeader:{code:l.invalidAuthenticationHeader,desc:u[l.invalidAuthenticationHeader]},cannotSetOIDCOptions:{code:l.cannotSetOIDCOptions,desc:u[l.cannotSetOIDCOptions]},cannotAllowNativeBroker:{code:l.cannotAllowNativeBroker,desc:u[l.cannotAllowNativeBroker]},authorityMismatch:{code:l.authorityMismatch,desc:u[l.authorityMismatch]}};class i extends n.WM{constructor(h){super(h,u[h]),this.name="ClientConfigurationError",Object.setPrototypeOf(this,i.prototype)}}function e(o){return new i(o)}},32336:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{authorityMismatch:()=>V,authorityUriInsecure:()=>u,cannotAllowNativeBroker:()=>N,cannotSetOIDCOptions:()=>L,claimsRequestParsingError:()=>l,emptyInputScopesError:()=>e,invalidAuthenticationHeader:()=>D,invalidAuthorityMetadata:()=>y,invalidClaims:()=>h,invalidCloudDiscoveryMetadata:()=>S,invalidCodeChallengeMethod:()=>p,invalidPromptValue:()=>o,logoutRequestEmpty:()=>M,missingNonceAuthenticationHeader:()=>w,missingSshJwk:()=>C,missingSshKid:()=>_,pkceParamsMissing:()=>E,redirectUriEmpty:()=>n,tokenRequestEmpty:()=>v,untrustedAuthority:()=>f,urlEmptyError:()=>i,urlParseError:()=>c});const n="redirect_uri_empty",l="claims_request_parsing_error",u="authority_uri_insecure",c="url_parse_error",i="empty_url_error",e="empty_input_scopes_error",o="invalid_prompt_value",h="invalid_claims",v="token_request_empty",M="logout_request_empty",p="invalid_code_challenge_method",E="pkce_params_missing",S="invalid_cloud_discovery_metadata",y="invalid_authority_metadata",f="untrusted_authority",C="missing_ssh_jwk",_="missing_ssh_kid",w="missing_nonce_authentication_header",D="invalid_authentication_header",L="cannot_set_OIDCOptions",N="cannot_allow_native_broker",V="authority_mismatch"},53408:(pe,m,s)=>{"use strict";s.d(m,{A6:()=>M,aq:()=>v,gx:()=>o,uw:()=>h});var n=s(34739),l=s(66936),u=s(72896);const c=[u.interactionRequired,u.consentRequired,u.loginRequired,u.badToken],i=["message_only","additional_action","basic_action","user_password_expired","consent_required","bad_token"],e={[u.noTokensFound]:"No refresh token found in the cache. Please sign-in.",[u.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.",[u.refreshTokenExpired]:"Refresh token has expired.",[u.badToken]:"Identity provider returned bad_token due to an expired or invalid refresh token. Please invoke an interactive API to resolve."},o={noTokensFoundError:{code:u.noTokensFound,desc:e[u.noTokensFound]},native_account_unavailable:{code:u.nativeAccountUnavailable,desc:e[u.nativeAccountUnavailable]},bad_token:{code:u.badToken,desc:e[u.badToken]}};class h extends l.WM{constructor(E,S,y,f,C,_,w){super(E,S,y),Object.setPrototypeOf(this,h.prototype),this.timestamp=f||n.Mv.EMPTY_STRING,this.traceId=C||n.Mv.EMPTY_STRING,this.correlationId=_||n.Mv.EMPTY_STRING,this.claims=w||n.Mv.EMPTY_STRING,this.name="InteractionRequiredAuthError"}}function v(p,E,S){const y=!!p&&c.indexOf(p)>-1,f=!!S&&i.indexOf(S)>-1,C=!!E&&c.some(_=>E.indexOf(_)>-1);return y||C||f}function M(p){return new h(p,e[p])}},72896:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{badToken:()=>o,consentRequired:()=>i,interactionRequired:()=>c,loginRequired:()=>e,nativeAccountUnavailable:()=>l,noTokensFound:()=>n,refreshTokenExpired:()=>u});const n="no_tokens_found",l="native_account_unavailable",u="refresh_token_expired",c="interaction_required",i="consent_required",e="login_required",o="bad_token"},76944:(pe,m,s)=>{"use strict";s.d(m,{s:()=>l});var n=s(66936);class l extends n.WM{constructor(c,i,e){super(c,i,e),this.name="ServerError",Object.setPrototypeOf(this,l.prototype)}}},73364:(pe,m,s)=>{"use strict";s.d(m,{G:()=>l,Y:()=>u});var n=s(34739),l=function(c){return c[c.Error=0]="Error",c[c.Warning=1]="Warning",c[c.Info=2]="Info",c[c.Verbose=3]="Verbose",c[c.Trace=4]="Trace",c}(l||{});class u{constructor(i,e,o){this.level=l.Info;const v=i||u.createDefaultLoggerOptions();this.localCallback=v.loggerCallback||(()=>{}),this.piiLoggingEnabled=v.piiLoggingEnabled||!1,this.level="number"==typeof v.logLevel?v.logLevel:l.Info,this.correlationId=v.correlationId||n.Mv.EMPTY_STRING,this.packageName=e||n.Mv.EMPTY_STRING,this.packageVersion=o||n.Mv.EMPTY_STRING}static createDefaultLoggerOptions(){return{loggerCallback:()=>{},piiLoggingEnabled:!1,logLevel:l.Info}}clone(i,e,o){return new u({loggerCallback:this.localCallback,piiLoggingEnabled:this.piiLoggingEnabled,logLevel:this.level,correlationId:o||this.correlationId},i,e)}logMessage(i,e){if(e.logLevel>this.level||!this.piiLoggingEnabled&&e.containsPii)return;const v=`[${(new Date).toUTCString()}] : [${e.correlationId||this.correlationId||""}] : ${this.packageName}@${this.packageVersion} : ${l[e.logLevel]} - ${i}`;this.executeCallback(e.logLevel,v,e.containsPii||!1)}executeCallback(i,e,o){this.localCallback&&this.localCallback(i,e,o)}error(i,e){this.logMessage(i,{logLevel:l.Error,containsPii:!1,correlationId:e||n.Mv.EMPTY_STRING})}errorPii(i,e){this.logMessage(i,{logLevel:l.Error,containsPii:!0,correlationId:e||n.Mv.EMPTY_STRING})}warning(i,e){this.logMessage(i,{logLevel:l.Warning,containsPii:!1,correlationId:e||n.Mv.EMPTY_STRING})}warningPii(i,e){this.logMessage(i,{logLevel:l.Warning,containsPii:!0,correlationId:e||n.Mv.EMPTY_STRING})}info(i,e){this.logMessage(i,{logLevel:l.Info,containsPii:!1,correlationId:e||n.Mv.EMPTY_STRING})}infoPii(i,e){this.logMessage(i,{logLevel:l.Info,containsPii:!0,correlationId:e||n.Mv.EMPTY_STRING})}verbose(i,e){this.logMessage(i,{logLevel:l.Verbose,containsPii:!1,correlationId:e||n.Mv.EMPTY_STRING})}verbosePii(i,e){this.logMessage(i,{logLevel:l.Verbose,containsPii:!0,correlationId:e||n.Mv.EMPTY_STRING})}trace(i,e){this.logMessage(i,{logLevel:l.Trace,containsPii:!1,correlationId:e||n.Mv.EMPTY_STRING})}tracePii(i,e){this.logMessage(i,{logLevel:l.Trace,containsPii:!0,correlationId:e||n.Mv.EMPTY_STRING})}isPiiLoggingEnabled(){return this.piiLoggingEnabled||!1}}},75205:(pe,m,s)=>{"use strict";s.d(m,{N:()=>n,W:()=>l});const n="@azure/msal-common",l="14.7.1"},33363:(pe,m,s)=>{"use strict";s.d(m,{I:()=>o});var n=s(34739),l=s(91076),u=s(95248),c=s(59684),i=s(77768),e=s(32336);class o{constructor(){this.parameters=new Map}addResponseTypeCode(){this.parameters.set(l.U3,encodeURIComponent(n.Mv.CODE_RESPONSE_TYPE))}addResponseTypeForTokenAndIdToken(){this.parameters.set(l.U3,encodeURIComponent(`${n.Mv.TOKEN_RESPONSE_TYPE} ${n.Mv.ID_TOKEN_RESPONSE_TYPE}`))}addResponseMode(v){this.parameters.set(l.Ku,encodeURIComponent(v||n.oh.QUERY))}addNativeBroker(){this.parameters.set(l.Yc,encodeURIComponent("1"))}addScopes(v,M=!0,p=n.ac){M&&!p.includes("openid")&&!v.includes("openid")&&p.push("openid");const E=M?[...v||[],...p]:v||[],S=new u.k(E);this.parameters.set(l.Bz,encodeURIComponent(S.printScopes()))}addClientId(v){this.parameters.set(l._k,encodeURIComponent(v))}addRedirectUri(v){i.e.validateRedirectUri(v),this.parameters.set(l.kB,encodeURIComponent(v))}addPostLogoutRedirectUri(v){i.e.validateRedirectUri(v),this.parameters.set(l.aw,encodeURIComponent(v))}addIdTokenHint(v){this.parameters.set(l.CS,encodeURIComponent(v))}addDomainHint(v){this.parameters.set(l.Ok,encodeURIComponent(v))}addLoginHint(v){this.parameters.set(l.WM,encodeURIComponent(v))}addCcsUpn(v){this.parameters.set(n.MF.CCS_HEADER,encodeURIComponent(`UPN:${v}`))}addCcsOid(v){this.parameters.set(n.MF.CCS_HEADER,encodeURIComponent(`Oid:${v.uid}@${v.utid}`))}addSid(v){this.parameters.set(l.N2,encodeURIComponent(v))}addClaims(v,M){const p=this.addClientCapabilitiesToClaims(v,M);i.e.validateClaims(p),this.parameters.set(l.e8,encodeURIComponent(p))}addCorrelationId(v){this.parameters.set(l.eU,encodeURIComponent(v))}addLibraryInfo(v){this.parameters.set(l.e6,v.sku),this.parameters.set(l.Yr,v.version),v.os&&this.parameters.set(l.cx,v.os),v.cpu&&this.parameters.set(l.uQ,v.cpu)}addApplicationTelemetry(v){v?.appName&&this.parameters.set(l.O0,v.appName),v?.appVersion&&this.parameters.set(l.op,v.appVersion)}addPrompt(v){i.e.validatePrompt(v),this.parameters.set(`${l.E$}`,encodeURIComponent(v))}addState(v){v&&this.parameters.set(l.y2,encodeURIComponent(v))}addNonce(v){this.parameters.set(l.n,encodeURIComponent(v))}addCodeChallengeParams(v,M){if(i.e.validateCodeChallengeParams(v,M),!v||!M)throw(0,c.QN)(e.pkceParamsMissing);this.parameters.set(l.WG,encodeURIComponent(v)),this.parameters.set(l.UJ,encodeURIComponent(M))}addAuthorizationCode(v){this.parameters.set(l.MZ,encodeURIComponent(v))}addDeviceCode(v){this.parameters.set(l.eo,encodeURIComponent(v))}addRefreshToken(v){this.parameters.set(l.S1,encodeURIComponent(v))}addCodeVerifier(v){this.parameters.set(l.gt,encodeURIComponent(v))}addClientSecret(v){this.parameters.set(l.YR,encodeURIComponent(v))}addClientAssertion(v){v&&this.parameters.set(l.iK,encodeURIComponent(v))}addClientAssertionType(v){v&&this.parameters.set(l.gL,encodeURIComponent(v))}addOboAssertion(v){this.parameters.set(l.k1,encodeURIComponent(v))}addRequestTokenUse(v){this.parameters.set(l.Gs,encodeURIComponent(v))}addGrantType(v){this.parameters.set(l.cD,encodeURIComponent(v))}addClientInfo(){this.parameters.set(n.Y$,"1")}addExtraQueryParameters(v){const M=i.e.sanitizeEQParams(v,this.parameters);Object.keys(M).forEach(p=>{this.parameters.set(p,v[p])})}addClientCapabilitiesToClaims(v,M){let p;if(v)try{p=JSON.parse(v)}catch{throw(0,c.QN)(e.invalidClaims)}else p={};return M&&M.length>0&&(p.hasOwnProperty(n.ai.ACCESS_TOKEN)||(p[n.ai.ACCESS_TOKEN]={}),p[n.ai.ACCESS_TOKEN][n.ai.XMS_CC]={values:M}),JSON.stringify(p)}addUsername(v){this.parameters.set(n.uU.username,encodeURIComponent(v))}addPassword(v){this.parameters.set(n.uU.password,encodeURIComponent(v))}addPopToken(v){v&&(this.parameters.set(l.kT,n.me.POP),this.parameters.set(l.cf,encodeURIComponent(v)))}addSshJwk(v){v&&(this.parameters.set(l.kT,n.me.SSH),this.parameters.set(l.cf,encodeURIComponent(v)))}addServerTelemetry(v){this.parameters.set(l.sx,v.generateCurrentRequestHeaderValue()),this.parameters.set(l.qA,v.generateLastRequestHeaderValue())}addThrottling(){this.parameters.set(l._E,n.gr.X_MS_LIB_CAPABILITY_VALUE)}addLogoutHint(v){this.parameters.set(l.sp,encodeURIComponent(v))}createQueryString(){const v=new Array;return this.parameters.forEach((M,p)=>{v.push(`${p}=${M}`)}),v.join("&")}}},77768:(pe,m,s)=>{"use strict";s.d(m,{e:()=>c});var n=s(59684),l=s(34739),u=s(32336);class c{static validateRedirectUri(e){if(!e)throw(0,n.QN)(u.redirectUriEmpty)}static validatePrompt(e){const o=[];for(const h in l.GI)o.push(l.GI[h]);if(o.indexOf(e)<0)throw(0,n.QN)(u.invalidPromptValue)}static validateClaims(e){try{JSON.parse(e)}catch{throw(0,n.QN)(u.invalidClaims)}}static validateCodeChallengeParams(e,o){if(!e||!o)throw(0,n.QN)(u.pkceParamsMissing);this.validateCodeChallengeMethod(o)}static validateCodeChallengeMethod(e){if([l.a2.PLAIN,l.a2.S256].indexOf(e)<0)throw(0,n.QN)(u.invalidCodeChallengeMethod)}static sanitizeEQParams(e,o){return e?(o.forEach((h,v)=>{e[v]&&delete e[v]}),Object.fromEntries(Object.entries(e).filter(h=>""!==h[1]))):{}}}},95248:(pe,m,s)=>{"use strict";s.d(m,{k:()=>o});var n=s(59684),l=s(7828),u=s(28876),c=s(34739),i=s(32336),e=s(71408);class o{constructor(v){const M=v?l.e.trimArrayEntries([...v]):[],p=M?l.e.removeEmptyStringsFromArray(M):[];this.validateInputScopes(p),this.scopes=new Set,p.forEach(E=>this.scopes.add(E))}static fromString(v){const p=(v||c.Mv.EMPTY_STRING).split(" ");return new o(p)}static createSearchScopes(v){const M=new o(v);return M.containsOnlyOIDCScopes()?M.removeScope(c.Mv.OFFLINE_ACCESS_SCOPE):M.removeOIDCScopes(),M}validateInputScopes(v){if(!v||v.length<1)throw(0,n.QN)(i.emptyInputScopesError)}containsScope(v){const M=this.printScopesLowerCase().split(" "),p=new o(M);return!!v&&p.scopes.has(v.toLowerCase())}containsScopeSet(v){return!(!v||v.scopes.size<=0)&&this.scopes.size>=v.scopes.size&&v.asArray().every(M=>this.containsScope(M))}containsOnlyOIDCScopes(){let v=0;return c.sj.forEach(M=>{this.containsScope(M)&&(v+=1)}),this.scopes.size===v}appendScope(v){v&&this.scopes.add(v.trim())}appendScopes(v){try{v.forEach(M=>this.appendScope(M))}catch{throw(0,u.mQ)(e.cannotAppendScopeSet)}}removeScope(v){if(!v)throw(0,u.mQ)(e.cannotRemoveEmptyScope);this.scopes.delete(v.trim())}removeOIDCScopes(){c.sj.forEach(v=>{this.scopes.delete(v)})}unionScopeSets(v){if(!v)throw(0,u.mQ)(e.emptyInputScopeSet);const M=new Set;return v.scopes.forEach(p=>M.add(p.toLowerCase())),this.scopes.forEach(p=>M.add(p.toLowerCase())),M}intersectingScopeSets(v){if(!v)throw(0,u.mQ)(e.emptyInputScopeSet);v.containsOnlyOIDCScopes()||v.removeOIDCScopes();const M=this.unionScopeSets(v),p=v.getScopeCount(),E=this.getScopeCount();return M.sizev.push(M)),v}printScopes(){return this.scopes?this.asArray().join(" "):c.Mv.EMPTY_STRING}printScopesLowerCase(){return this.printScopes().toLowerCase()}}},85348:(pe,m,s)=>{"use strict";s.d(m,{W8:()=>l,Xv:()=>n,ol:()=>u});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"},l={NotStarted:0,InProgress:1,Completed:2},u=new Set(["accessTokenSize","durationMs","idTokenSize","matsSilentStatus","matsHttpStatus","refreshTokenSize","queuedTimeMs","startTimeMs","status","multiMatchedAT","multiMatchedID","multiMatchedRT"])},35128:(pe,m,s)=>{"use strict";s.d(m,{W:()=>l,_:()=>u});var n=s(85348);class l{startMeasurement(){}endMeasurement(){}flushMeasurement(){return null}}class u{generateId(){return"callback-id"}startMeasurement(i,e){return{end:()=>null,discard:()=>{},add:()=>{},increment:()=>{},event:{eventId:this.generateId(),status:n.W8.InProgress,authority:"",libraryName:"",libraryVersion:"",clientId:"",name:i,startTimeMs:Date.now(),correlationId:e||""},measurement:new l}}startPerformanceMeasurement(){return new l}calculateQueuedTime(){return 0}addQueueMeasurement(){}setPreQueueTime(){}endMeasurement(){return null}discardMeasurements(){}removePerformanceCallback(){return!0}addPerformanceCallback(){return""}emitEvents(){}addFields(){}incrementFields(){}cacheEventByCorrelationId(){}}},67648:(pe,m,s)=>{"use strict";s.d(m,{_:()=>e});var n=s(59684),l=s(7828),u=s(34739),c=s(33680),i=s(32336);class e{get urlString(){return this._urlString}constructor(h){if(this._urlString=h,!this._urlString)throw(0,n.QN)(i.urlEmptyError);h.includes("#")||(this._urlString=e.canonicalizeUri(h))}static canonicalizeUri(h){if(h){let v=h.toLowerCase();return l.e.endsWith(v,"?")?v=v.slice(0,-1):l.e.endsWith(v,"?/")&&(v=v.slice(0,-2)),l.e.endsWith(v,"/")||(v+="/"),v}return h}validateAsUri(){let h;try{h=this.getUrlComponents()}catch{throw(0,n.QN)(i.urlParseError)}if(!h.HostNameAndPort||!h.PathSegments)throw(0,n.QN)(i.urlParseError);if(!h.Protocol||"https:"!==h.Protocol.toLowerCase())throw(0,n.QN)(i.authorityUriInsecure)}static appendQueryString(h,v){return v?h.indexOf("?")<0?`${h}?${v}`:`${h}&${v}`:h}static removeHashFromUrl(h){return e.canonicalizeUri(h.split("#")[0])}replaceTenantPath(h){const v=this.getUrlComponents(),M=v.PathSegments;return h&&0!==M.length&&(M[0]===u.sN.COMMON||M[0]===u.sN.ORGANIZATIONS)&&(M[0]=h),e.constructAuthorityUriFromObject(v)}getUrlComponents(){const h=RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?"),v=this.urlString.match(h);if(!v)throw(0,n.QN)(i.urlParseError);const M={Protocol:v[1],HostNameAndPort:v[4],AbsolutePath:v[5],QueryString:v[7]};let p=M.AbsolutePath.split("/");return p=p.filter(E=>E&&E.length>0),M.PathSegments=p,M.QueryString&&M.QueryString.endsWith("/")&&(M.QueryString=M.QueryString.substring(0,M.QueryString.length-1)),M}static getDomainFromUrl(h){const v=RegExp("^([^:/?#]+://)?([^/?#]*)"),M=h.match(v);if(!M)throw(0,n.QN)(i.urlParseError);return M[2]}static getAbsoluteUrl(h,v){if(h[0]===u.Mv.FORWARD_SLASH){const p=new e(v).getUrlComponents();return p.Protocol+"//"+p.HostNameAndPort+h}return h}static constructAuthorityUriFromObject(h){return new e(h.Protocol+"//"+h.HostNameAndPort+"/"+h.PathSegments.join("/"))}static hashContainsKnownProperties(h){return!!(0,c.u)(h)}}},34739:(pe,m,s)=>{"use strict";s.d(m,{A9:()=>y,GI:()=>v,Gu:()=>ce,IH:()=>e,Ku:()=>S,MF:()=>i,Mf:()=>be,Mj:()=>f,Mv:()=>n,Ni:()=>N,Q$:()=>ie,Q3:()=>l,Y$:()=>D,a2:()=>M,ac:()=>u,ai:()=>h,cv:()=>V,cz:()=>w,eE:()=>p,gr:()=>k,ic:()=>G,me:()=>R,oh:()=>E,rF:()=>A,sL:()=>K,sN:()=>o,sj:()=>c,uU:()=>H,wR:()=>X,wj:()=>L,yu:()=>C});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"},l={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},u=[n.OPENID_SCOPE,n.PROFILE_SCOPE,n.OFFLINE_ACCESS_SCOPE],c=[...u,n.EMAIL_SCOPE],i={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"},o={COMMON:"common",ORGANIZATIONS:"organizations",CONSUMERS:"consumers"},h={ACCESS_TOKEN:"access_token",XMS_CC:"xms_cc"},v={LOGIN:"login",SELECT_ACCOUNT:"select_account",CONSENT:"consent",NONE:"none",CREATE:"create",NO_SESSION:"no_session"},M={PLAIN:"plain",S256:"S256"},p={QUERY:"query",FRAGMENT:"fragment"},E={...p,FORM_POST:"form_post"},S={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"},y={MSSTS_ACCOUNT_TYPE:"MSSTS",ADFS_ACCOUNT_TYPE:"ADFS",MSAV1_ACCOUNT_TYPE:"MSA",GENERIC_ACCOUNT_TYPE:"Generic"},f={CACHE_KEY_SEPARATOR:"-",CLIENT_INFO_SEPARATOR:"."},C={ID_TOKEN:"IdToken",ACCESS_TOKEN:"AccessToken",ACCESS_TOKEN_WITH_AUTH_SCHEME:"AccessToken_With_AuthScheme",REFRESH_TOKEN:"RefreshToken"},w="appmetadata",D="client_info",L="1",N={CACHE_KEY:"authority-metadata",REFRESH_TIME_SECONDS:86400},V={CONFIG:"config",CACHE:"cache",NETWORK:"network",HARDCODED_VALUES:"hardcoded_values"},G={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"},R={BEARER:"Bearer",POP:"pop",SSH:"ssh-cert"},k={DEFAULT_THROTTLE_TIME_SECONDS:60,DEFAULT_MAX_THROTTLE_TIME_SECONDS:3600,THROTTLING_PREFIX:"throttling",X_MS_LIB_CAPABILITY_VALUE:"retry-after, h429"},A={INVALID_GRANT_ERROR:"invalid_grant",CLIENT_MISMATCH_ERROR:"client_mismatch"},H={username:"username",password:"password"},K={httpSuccess:200,httpBadRequest:400},ie={FAILED_AUTO_DETECTION:"1",INTERNAL_CACHE:"2",ENVIRONMENT_VARIABLE:"3",IMDS:"4"},X={CONFIGURED_MATCHES_DETECTED:"1",CONFIGURED_NO_AUTO_DETECTION:"2",CONFIGURED_NOT_DETECTED:"3",AUTO_DETECTION_REQUESTED_SUCCESSFUL:"4",AUTO_DETECTION_REQUESTED_FAILED:"5"},be={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:(pe,m,s)=>{"use strict";s.d(m,{C:()=>l,q:()=>n});const n=(u,c,i,e,o)=>(...h)=>{i.trace(`Executing function ${c}`);const v=e?.startMeasurement(c,o);if(o){const M=c+"CallCount";e?.incrementFields({[M]:1},o)}try{const M=u(...h);return v?.end({success:!0}),i.trace(`Returning result from ${c}`),M}catch(M){i.trace(`Error occurred in ${c}`);try{i.trace(JSON.stringify(M))}catch{i.trace("Unable to print error message.")}throw v?.end({success:!1}),M}},l=(u,c,i,e,o)=>(...h)=>{i.trace(`Executing function ${c}`);const v=e?.startMeasurement(c,o);if(o){const M=c+"CallCount";e?.incrementFields({[M]:1},o)}return e?.setPreQueueTime(c,o),u(...h).then(M=>(i.trace(`Returning result from ${c}`),v?.end({success:!0}),M)).catch(M=>{i.trace(`Error occurred in ${c}`);try{i.trace(JSON.stringify(M))}catch{i.trace("Unable to print error message.")}throw v?.end({success:!1}),M})}},86144:(pe,m,s)=>{"use strict";s.d(m,{c:()=>c});var n=s(34739),l=s(28876),u=s(71408);class c{static setRequestState(e,o,h){const v=c.generateLibraryState(e,h);return o?`${v}${n.Mv.RESOURCE_DELIM}${o}`:v}static generateLibraryState(e,o){if(!e)throw(0,l.mQ)(u.noCryptoObject);const h={id:e.createNewGuid()};o&&(h.meta=o);const v=JSON.stringify(h);return e.base64Encode(v)}static parseRequestState(e,o){if(!e)throw(0,l.mQ)(u.noCryptoObject);if(!o)throw(0,l.mQ)(u.invalidState);try{const h=o.split(n.Mv.RESOURCE_DELIM),v=h[0],M=h.length>1?h.slice(1).join(n.Mv.RESOURCE_DELIM):n.Mv.EMPTY_STRING,p=e.base64Decode(v),E=JSON.parse(p);return{userRequestState:M||n.Mv.EMPTY_STRING,libraryState:E}}catch{throw(0,l.mQ)(u.invalidState)}}}},7828:(pe,m,s)=>{"use strict";s.d(m,{e:()=>n});class n{static isEmptyObj(u){if(u)try{const c=JSON.parse(u);return 0===Object.keys(c).length}catch{}return!0}static startsWith(u,c){return 0===u.indexOf(c)}static endsWith(u,c){return u.length>=c.length&&u.lastIndexOf(c)===u.length-c.length}static queryStringToObject(u){const c={},i=u.split("&"),e=o=>decodeURIComponent(o.replace(/\+/g," "));return i.forEach(o=>{if(o.trim()){const[h,v]=o.split(/=(.+)/g,2);h&&v&&(c[e(h)]=e(v))}}),c}static trimArrayEntries(u){return u.map(c=>c.trim())}static removeEmptyStringsFromArray(u){return u.filter(c=>!!c)}static jsonParseHelper(u){try{return JSON.parse(u)}catch{return null}}static matchPattern(u,c){return new RegExp(u.replace(/\\/g,"\\\\").replace(/\*/g,"[^ ]*").replace(/\?/g,"\\?")).test(c)}}},50160:(pe,m,s)=>{"use strict";function n(){return Math.round((new Date).getTime()/1e3)}function l(i,e){const o=Number(i)||0;return n()+e>o}function u(i){return Number(i)>n()}s.d(m,{G4:()=>u,GO:()=>n,WY:()=>l})},33680:(pe,m,s)=>{"use strict";s.d(m,{u:()=>c,w:()=>u});var n=s(28876),l=s(71408);function u(i){return i.startsWith("#/")?i.substring(2):i.startsWith("#")||i.startsWith("?")?i.substring(1):i}function c(i){if(!i||i.indexOf("=")<0)return null;try{const e=u(i),o=Object.fromEntries(new URLSearchParams(e));if(o.code||o.error||o.error_description||o.state)return o}catch{throw(0,n.mQ)(l.hashNotDeserialized)}return null}},57848:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{FaConfig:()=>mi,FaDuotoneIconComponent:()=>Sn,FaIconComponent:()=>Ki,FaIconLibrary:()=>wi,FaLayersComponent:()=>eo,FaLayersCounterComponent:()=>ki,FaLayersTextComponent:()=>Qr,FaStackComponent:()=>Si,FaStackItemSizeDirective:()=>Ui,FontAwesomeModule:()=>to});var n=s(54496);function l(we,nt){var Qe=Object.keys(we);if(Object.getOwnPropertySymbols){var lt=Object.getOwnPropertySymbols(we);nt&&(lt=lt.filter(function(wt){return Object.getOwnPropertyDescriptor(we,wt).enumerable})),Qe.push.apply(Qe,lt)}return Qe}function u(we){for(var nt=1;ntwe.length)&&(nt=we.length);for(var Qe=0,lt=new Array(nt);Qe0;)nt+=je[62*Math.random()|0];return nt}function mt(we){for(var nt=[],Qe=(we||[]).length>>>0;Qe--;)nt[Qe]=we[Qe];return nt}function on(we){return we.classList?mt(we.classList):(we.getAttribute("class")||"").split(" ").filter(function(nt){return nt})}function Ln(we){return"".concat(we).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function Mn(we){return Object.keys(we||{}).reduce(function(nt,Qe){return nt+"".concat(Qe,": ").concat(we[Qe].trim(),";")},"")}function Pe(we){return we.size!==Ze.size||we.x!==Ze.x||we.y!==Ze.y||we.rotate!==Ze.rotate||we.flipX||we.flipY}var Ut=':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 ar(){var we=Be,nt=re,Qe=Hn.cssPrefix,lt=Hn.replacementClass,wt=Ut;if(Qe!==we||lt!==nt){var xt=new RegExp("\\.".concat(we,"\\-"),"g"),Nt=new RegExp("\\--".concat(we,"\\-"),"g"),Kt=new RegExp("\\.".concat(nt),"g");wt=wt.replace(xt,".".concat(Qe,"-")).replace(Nt,"--".concat(Qe,"-")).replace(Kt,".".concat(lt))}return wt}var ur=!1;function Tr(){Hn.autoAddCss&&!ur&&(function Rt(we){if(we&&xe){var nt=be.createElement("style");nt.setAttribute("type","text/css"),nt.innerHTML=we;for(var Qe=be.head.childNodes,lt=null,wt=Qe.length-1;wt>-1;wt--){var xt=Qe[wt],Nt=(xt.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(Nt)>-1&&(lt=xt)}be.head.insertBefore(nt,lt)}}(ar()),ur=!0)}var lr={mixout:function(){return{dom:{css:ar,insertCss:Tr}}},hooks:function(){return{beforeDOMElementCreation:function(){Tr()},beforeI2svg:function(){Tr()}}}},nr=X||{};nr[Ce]||(nr[Ce]={}),nr[Ce].styles||(nr[Ce].styles={}),nr[Ce].hooks||(nr[Ce].hooks={}),nr[Ce].shims||(nr[Ce].shims=[]);var Nr=nr[Ce],Ci=[],jn=!1;function dr(we){var nt=we.tag,Qe=we.attributes,lt=void 0===Qe?{}:Qe,wt=we.children,xt=void 0===wt?[]:wt;return"string"==typeof we?Ln(we):"<".concat(nt," ").concat(function jt(we){return Object.keys(we||{}).reduce(function(nt,Qe){return nt+"".concat(Qe,'="').concat(Ln(we[Qe]),'" ')},"").trim()}(lt),">").concat(xt.map(dr).join(""),"")}function ii(we,nt,Qe){if(we&&we[nt]&&we[nt][Qe])return{prefix:nt,iconName:Qe,icon:we[nt][Qe]}}xe&&((jn=(be.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(be.readyState))||be.addEventListener("DOMContentLoaded",function we(){be.removeEventListener("DOMContentLoaded",we),jn=1,Ci.map(function(nt){return nt()})}));var rt=function(nt,Qe,lt,wt){var dn,Wn,Y,xt=Object.keys(nt),Nt=xt.length,Kt=void 0!==wt?function(nt,Qe){return function(lt,wt,xt,Nt){return nt.call(Qe,lt,wt,xt,Nt)}}(Qe,wt):Qe;for(void 0===lt?(dn=1,Y=nt[xt[0]]):(dn=0,Y=lt);dn=55296&&wt<=56319&&Qe2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,wt=void 0!==lt&<,xt=mn(nt);"function"!=typeof Nr.hooks.addPack||wt?Nr.styles[we]=u(u({},Nr.styles[we]||{}),xt):Nr.hooks.addPack(we,mn(nt)),"fas"===we&&wn("fa",nt)}var sr,Xn,xr,Or=Nr.styles,Vr=Nr.shims,Ir=(v(sr={},zt,Object.values(kn[zt])),v(sr,Xt,Object.values(kn[Xt])),sr),Er=null,cn={},x={},F={},Q={},Se={},he=(v(Xn={},zt,Object.keys(Wt[zt])),v(Xn,Xt,Object.keys(Wt[Xt])),Xn);var qe=function(){var nt=function(xt){return rt(Or,function(Nt,Kt,dn){return Nt[dn]=rt(Kt,xt,{}),Nt},{})};cn=nt(function(wt,xt,Nt){return xt[3]&&(wt[xt[3]]=Nt),xt[2]&&xt[2].filter(function(dn){return"number"==typeof dn}).forEach(function(dn){wt[dn.toString(16)]=Nt}),wt}),x=nt(function(wt,xt,Nt){return wt[Nt]=Nt,xt[2]&&xt[2].filter(function(dn){return"string"==typeof dn}).forEach(function(dn){wt[dn]=Nt}),wt}),Se=nt(function(wt,xt,Nt){var Kt=xt[2];return wt[Nt]=Nt,Kt.forEach(function(dn){wt[dn]=Nt}),wt});var Qe="far"in Or||Hn.autoFetchSvg,lt=rt(Vr,function(wt,xt){var Nt=xt[0],Kt=xt[1],dn=xt[2];return"far"===Kt&&!Qe&&(Kt="fas"),"string"==typeof Nt&&(wt.names[Nt]={prefix:Kt,iconName:dn}),"number"==typeof Nt&&(wt.unicodes[Nt.toString(16)]={prefix:Kt,iconName:dn}),wt},{names:{},unicodes:{}});F=lt.names,Q=lt.unicodes,Er=hn(Hn.styleDefault,{family:Hn.familyDefault})};function ht(we,nt){return(cn[we]||{})[nt]}function Ft(we,nt){return(Se[we]||{})[nt]}function en(we){return F[we]||{prefix:null,iconName:null}}function _n(){return Er}(function qt(we){Dt.push(we)})(function(we){Er=hn(we.styleDefault,{family:Hn.familyDefault})}),qe();var bn=function(){return{prefix:null,iconName:null,rest:[]}};function hn(we){var Qe=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).family,lt=void 0===Qe?zt:Qe;return zn[lt][we]||zn[lt][Wt[lt][we]]||(we in Nr.styles?we:null)||null}var In=(v(xr={},zt,Object.keys(kn[zt])),v(xr,Xt,Object.keys(kn[Xt])),xr);function Un(we){var nt,lt=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,wt=void 0!==lt&<,xt=(v(nt={},zt,"".concat(Hn.cssPrefix,"-").concat(zt)),v(nt,Xt,"".concat(Hn.cssPrefix,"-").concat(Xt)),nt),Nt=null,Kt=zt;(we.includes(xt[zt])||we.some(function(Wn){return In[zt].includes(Wn)}))&&(Kt=zt),(we.includes(xt[Xt])||we.some(function(Wn){return In[Xt].includes(Wn)}))&&(Kt=Xt);var dn=we.reduce(function(Wn,Y){var Re=function de(we,nt){var Qe=nt.split("-"),lt=Qe[0],wt=Qe.slice(1).join("-");return lt!==we||""===wt||function q(we){return~Vn.indexOf(we)}(wt)?null:wt}(Hn.cssPrefix,Y);if(Or[Y]?(Y=Ir[Kt].includes(Y)?ln[Kt][Y]:Y,Nt=Y,Wn.prefix=Y):he[Kt].indexOf(Y)>-1?(Nt=Y,Wn.prefix=hn(Y,{family:Kt})):Re?Wn.iconName=Re:Y!==Hn.replacementClass&&Y!==xt[zt]&&Y!==xt[Xt]&&Wn.rest.push(Y),!wt&&Wn.prefix&&Wn.iconName){var se="fa"===Nt?en(Wn.iconName):{},Me=Ft(Wn.prefix,Wn.iconName);se.prefix&&(Nt=null),Wn.iconName=se.iconName||Me||Wn.iconName,Wn.prefix=se.prefix||Wn.prefix,"far"===Wn.prefix&&!Or.far&&Or.fas&&!Hn.autoFetchSvg&&(Wn.prefix="fas")}return Wn},bn());return(we.includes("fa-brands")||we.includes("fab"))&&(dn.prefix="fab"),(we.includes("fa-duotone")||we.includes("fad"))&&(dn.prefix="fad"),!dn.prefix&&Kt===Xt&&(Or.fass||Hn.autoFetchSvg)&&(dn.prefix="fass",dn.iconName=Ft(dn.prefix,dn.iconName)||dn.iconName),("fa"===dn.prefix||"fa"===Nt)&&(dn.prefix=_n()||"fas"),dn}var _r=function(){function we(){(function e(we,nt){if(!(we instanceof nt))throw new TypeError("Cannot call a class as a function")})(this,we),this.definitions={}}return function h(we,nt,Qe){nt&&o(we.prototype,nt),Qe&&o(we,Qe),Object.defineProperty(we,"prototype",{writable:!1})}(we,[{key:"add",value:function(){for(var Qe=this,lt=arguments.length,wt=new Array(lt),xt=0;xt0&&Y.forEach(function(Re){"string"==typeof Re&&(Qe[Kt][Re]=Wn)}),Qe[Kt][dn]=Wn}),Qe}}]),we}(),hr=[],Lr={},ti={},it=Object.keys(ti);function Ri(we,nt){for(var Qe=arguments.length,lt=new Array(Qe>2?Qe-2:0),wt=2;wt1?nt-1:0),lt=1;lt0&&void 0!==arguments[0]?arguments[0]:{};return xe?(Ur("beforeI2svg",nt),xn("pseudoElements2svg",nt),xn("i2svg",nt)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var nt=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},Qe=nt.autoReplaceSvgRoot;!1===Hn.autoReplaceSvg&&(Hn.autoReplaceSvg=!0),Hn.observeMutations=!0,function qn(we){xe&&(jn?setTimeout(we,0):Ci.push(we))}(function(){oi({autoReplaceSvgRoot:Qe}),Ur("watch",nt)})}},qr={noAuto:function(){Hn.autoReplaceSvg=!1,Hn.observeMutations=!1,Ur("noAuto")},config:Hn,dom:pi,parse:{icon:function(nt){if(null===nt)return null;if("object"===c(nt)&&nt.prefix&&nt.iconName)return{prefix:nt.prefix,iconName:Ft(nt.prefix,nt.iconName)||nt.iconName};if(Array.isArray(nt)&&2===nt.length){var Qe=0===nt[1].indexOf("fa-")?nt[1].slice(3):nt[1],lt=hn(nt[0]);return{prefix:lt,iconName:Ft(lt,Qe)||Qe}}if("string"==typeof nt&&(nt.indexOf("".concat(Hn.cssPrefix,"-"))>-1||nt.match(ut))){var wt=Un(nt.split(" "),{skipLookups:!0});return{prefix:wt.prefix||_n(),iconName:Ft(wt.prefix,wt.iconName)||wt.iconName}}if("string"==typeof nt){var xt=_n();return{prefix:xt,iconName:Ft(xt,nt)||nt}}}},library:Gr,findIconDefinition:Jn,toHtml:dr},oi=function(){var Qe=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,lt=void 0===Qe?be:Qe;(Object.keys(Nr.styles).length>0||Hn.autoFetchSvg)&&xe&&Hn.autoReplaceSvg&&qr.dom.i2svg({node:lt})};function ni(we,nt){return Object.defineProperty(we,"abstract",{get:nt}),Object.defineProperty(we,"html",{get:function(){return we.abstract.map(function(lt){return dr(lt)})}}),Object.defineProperty(we,"node",{get:function(){if(xe){var lt=be.createElement("div");return lt.innerHTML=we.html,lt.children}}}),we}function Ji(we){var nt=we.icons,Qe=nt.main,lt=nt.mask,wt=we.prefix,xt=we.iconName,Nt=we.transform,Kt=we.symbol,dn=we.title,Wn=we.maskId,Y=we.titleId,Re=we.extra,se=we.watchable,Me=void 0!==se&&se,Mt=lt.found?lt:Qe,P=Mt.width,ne=Mt.height,B="fak"===wt,le=[Hn.replacementClass,xt?"".concat(Hn.cssPrefix,"-").concat(xt):""].filter(function(Zr){return-1===Re.classes.indexOf(Zr)}).filter(function(Zr){return""!==Zr||!!Zr}).concat(Re.classes).join(" "),We={children:[],attributes:u(u({},Re.attributes),{},{"data-prefix":wt,"data-icon":xt,class:le,role:Re.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(P," ").concat(ne)})},Jt=B&&!~Re.classes.indexOf("fa-fw")?{width:"".concat(P/ne*16*.0625,"em")}:{};Me&&(We.attributes[Ee]=""),dn&&(We.children.push({tag:"title",attributes:{id:We.attributes["aria-labelledby"]||"title-".concat(Y||pt())},children:[dn]}),delete We.attributes.title);var Cn=u(u({},We),{},{prefix:wt,iconName:xt,main:Qe,mask:lt,maskId:Wn,transform:Nt,symbol:Kt,styles:u(u({},Jt),Re.styles)}),An=lt.found&&Qe.found?xn("generateAbstractMask",Cn)||{children:[],attributes:{}}:xn("generateAbstractIcon",Cn)||{children:[],attributes:{}},Sr=An.attributes;return Cn.children=An.children,Cn.attributes=Sr,Kt?function yr(we){var Qe=we.iconName,lt=we.children,wt=we.attributes,xt=we.symbol,Nt=!0===xt?"".concat(we.prefix,"-").concat(Hn.cssPrefix,"-").concat(Qe):xt;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:u(u({},wt),{},{id:Nt}),children:lt}]}]}(Cn):function ji(we){var nt=we.children,Qe=we.main,lt=we.mask,wt=we.attributes,xt=we.styles,Nt=we.transform;if(Pe(Nt)&&Qe.found&&!lt.found){var Wn={x:Qe.width/Qe.height/2,y:.5};wt.style=Mn(u(u({},xt),{},{"transform-origin":"".concat(Wn.x+Nt.x/16,"em ").concat(Wn.y+Nt.y/16,"em")}))}return[{tag:"svg",attributes:wt,children:nt}]}(Cn)}function Do(we){var nt=we.content,Qe=we.width,lt=we.height,wt=we.transform,xt=we.title,Nt=we.extra,Kt=we.watchable,dn=void 0!==Kt&&Kt,Wn=u(u(u({},Nt.attributes),xt?{title:xt}:{}),{},{class:Nt.classes.join(" ")});dn&&(Wn[Ee]="");var Y=u({},Nt.styles);Pe(wt)&&(Y.transform=function At(we){var nt=we.transform,Qe=we.width,wt=we.height,xt=void 0===wt?16:wt,Nt=we.startCentered,Kt=void 0!==Nt&&Nt,dn="";return dn+=Kt&&Ie?"translate(".concat(nt.x/16-(void 0===Qe?16:Qe)/2,"em, ").concat(nt.y/16-xt/2,"em) "):Kt?"translate(calc(-50% + ".concat(nt.x/16,"em), calc(-50% + ").concat(nt.y/16,"em)) "):"translate(".concat(nt.x/16,"em, ").concat(nt.y/16,"em) "),(dn+="scale(".concat(nt.size/16*(nt.flipX?-1:1),", ").concat(nt.size/16*(nt.flipY?-1:1),") "))+"rotate(".concat(nt.rotate,"deg) ")}({transform:wt,startCentered:!0,width:Qe,height:lt}),Y["-webkit-transform"]=Y.transform);var Re=Mn(Y);Re.length>0&&(Wn.style=Re);var se=[];return se.push({tag:"span",attributes:Wn,children:[nt]}),xt&&se.push({tag:"span",attributes:{class:"sr-only"},children:[xt]}),se}var ri=Nr.styles;function ro(we){var nt=we[0],Qe=we[1],xt=E(we.slice(4),1)[0];return{found:!0,width:nt,height:Qe,icon:Array.isArray(xt)?{tag:"g",attributes:{class:"".concat(Hn.cssPrefix,"-").concat($t.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Hn.cssPrefix,"-").concat($t.SECONDARY),fill:"currentColor",d:xt[0]}},{tag:"path",attributes:{class:"".concat(Hn.cssPrefix,"-").concat($t.PRIMARY),fill:"currentColor",d:xt[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:xt}}}}var Rr={found:!1,width:512,height:512};function Pn(we,nt){var Qe=nt;return"fa"===nt&&null!==Hn.styleDefault&&(nt=_n()),new Promise(function(lt,wt){if(xn("missingIconAbstract"),"fa"===Qe){var Nt=en(we)||{};we=Nt.iconName||we,nt=Nt.prefix||nt}if(we&&nt&&ri[nt]&&ri[nt][we])return lt(ro(ri[nt][we]));(function oo(we,nt){!vn&&!Hn.showMissingIcons&&we&&console.error('Icon with name "'.concat(we,'" and prefix "').concat(nt,'" is missing.'))})(we,nt),lt(u(u({},Rr),{},{icon:Hn.showMissingIcons&&we&&xn("missingIconAbstract")||{}}))})}var bo=function(){},gi=Hn.measurePerformance&&ze&&ze.mark&&ze.measure?ze:{mark:bo,measure:bo},Hi='FA "6.5.1"',pr=function(nt){gi.mark("".concat(Hi," ").concat(nt," ends")),gi.measure("".concat(Hi," ").concat(nt),"".concat(Hi," ").concat(nt," begins"),"".concat(Hi," ").concat(nt," ends"))},yo={begin:function(nt){return gi.mark("".concat(Hi," ").concat(nt," begins")),function(){return pr(nt)}},end:pr},Ai=function(){};function Pi(we){return"string"==typeof(we.getAttribute?we.getAttribute(Ee):null)}function So(we){return be.createElementNS("http://www.w3.org/2000/svg",we)}function Vi(we){return be.createElement(we)}function ei(we){var Qe=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,lt=void 0===Qe?"svg"===we.tag?So:Vi:Qe;if("string"==typeof we)return be.createTextNode(we);var wt=lt(we.tag);return Object.keys(we.attributes||[]).forEach(function(Nt){wt.setAttribute(Nt,we.attributes[Nt])}),(we.children||[]).forEach(function(Nt){wt.appendChild(ei(Nt,{ceFn:lt}))}),wt}var Fi={replace:function(nt){var Qe=nt[0];if(Qe.parentNode)if(nt[1].forEach(function(wt){Qe.parentNode.insertBefore(ei(wt),Qe)}),null===Qe.getAttribute(Ee)&&Hn.keepOriginalSource){var lt=be.createComment(function Uo(we){var nt=" ".concat(we.outerHTML," ");return"".concat(nt,"Font Awesome fontawesome.com ")}(Qe));Qe.parentNode.replaceChild(lt,Qe)}else Qe.remove()},nest:function(nt){var Qe=nt[0],lt=nt[1];if(~on(Qe).indexOf(Hn.replacementClass))return Fi.replace(nt);var wt=new RegExp("".concat(Hn.cssPrefix,"-.*"));if(delete lt[0].attributes.id,lt[0].attributes.class){var xt=lt[0].attributes.class.split(" ").reduce(function(Kt,dn){return dn===Hn.replacementClass||dn.match(wt)?Kt.toSvg.push(dn):Kt.toNode.push(dn),Kt},{toNode:[],toSvg:[]});lt[0].attributes.class=xt.toSvg.join(" "),0===xt.toNode.length?Qe.removeAttribute("class"):Qe.setAttribute("class",xt.toNode.join(" "))}var Nt=lt.map(function(Kt){return dr(Kt)}).join("\n");Qe.setAttribute(Ee,""),Qe.innerHTML=Nt}};function ao(we){we()}function Gi(we,nt){var Qe="function"==typeof nt?nt:Ai;if(0===we.length)Qe();else{var lt=ao;Hn.mutateApproach===Vt&&(lt=X.requestAnimationFrame||ao),lt(function(){var wt=function Yr(){return!0===Hn.autoReplaceSvg?Fi.replace:Fi[Hn.autoReplaceSvg]||Fi.replace}(),xt=yo.begin("mutate");we.map(wt),xt(),Qe()})}}var xo=!1;function Bo(){xo=!0}function so(){xo=!1}var Oo=null;function mo(we){if(ce&&Hn.observeMutations){var nt=we.treeCallback,Qe=void 0===nt?Ai:nt,lt=we.nodeCallback,wt=void 0===lt?Ai:lt,xt=we.pseudoElementsCallback,Nt=void 0===xt?Ai:xt,Kt=we.observeMutationsRoot,dn=void 0===Kt?be:Kt;Oo=new ce(function(Wn){if(!xo){var Y=_n();mt(Wn).forEach(function(Re){if("childList"===Re.type&&Re.addedNodes.length>0&&!Pi(Re.addedNodes[0])&&(Hn.searchPseudoElements&&Nt(Re.target),Qe(Re.target)),"attributes"===Re.type&&Re.target.parentNode&&Hn.searchPseudoElements&&Nt(Re.target.parentNode),"attributes"===Re.type&&Pi(Re.target)&&~ft.indexOf(Re.attributeName))if("class"===Re.attributeName&&function Mo(we){var nt=we.getAttribute?we.getAttribute(Tt):null,Qe=we.getAttribute?we.getAttribute(dt):null;return nt&&Qe}(Re.target)){var se=Un(on(Re.target)),Mt=se.iconName;Re.target.setAttribute(Tt,se.prefix||Y),Mt&&Re.target.setAttribute(dt,Mt)}else(function uo(we){return we&&we.classList&&we.classList.contains&&we.classList.contains(Hn.replacementClass)})(Re.target)&&wt(Re.target)})}}),xe&&Oo.observe(dn,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function jo(we){var nt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},Qe=function ya(we){var nt=we.getAttribute("data-prefix"),Qe=we.getAttribute("data-icon"),lt=void 0!==we.innerText?we.innerText.trim():"",wt=Un(on(we));return wt.prefix||(wt.prefix=_n()),nt&&Qe&&(wt.prefix=nt,wt.iconName=Qe),wt.iconName&&wt.prefix||(wt.prefix&<.length>0&&(wt.iconName=function St(we,nt){return(x[we]||{})[nt]}(wt.prefix,we.innerText)||ht(wt.prefix,Et(we.innerText))),!wt.iconName&&Hn.autoFetchSvg&&we.firstChild&&we.firstChild.nodeType===Node.TEXT_NODE&&(wt.iconName=we.firstChild.data)),wt}(we),lt=Qe.iconName,wt=Qe.prefix,xt=Qe.rest,Nt=function Qo(we){var nt=mt(we.attributes).reduce(function(wt,xt){return"class"!==wt.name&&"style"!==wt.name&&(wt[xt.name]=xt.value),wt},{}),Qe=we.getAttribute("title"),lt=we.getAttribute("data-fa-title-id");return Hn.autoA11y&&(Qe?nt["aria-labelledby"]="".concat(Hn.replacementClass,"-title-").concat(lt||pt()):(nt["aria-hidden"]="true",nt.focusable="false")),nt}(we),Kt=Ri("parseNodeAttributes",{},we),dn=nt.styleParser?function oa(we){var nt=we.getAttribute("style"),Qe=[];return nt&&(Qe=nt.split(";").reduce(function(lt,wt){var xt=wt.split(":"),Nt=xt[0],Kt=xt.slice(1);return Nt&&Kt.length>0&&(lt[Nt]=Kt.join(":").trim()),lt},{})),Qe}(we):[];return u({iconName:lt,title:we.getAttribute("title"),titleId:we.getAttribute("data-fa-title-id"),prefix:wt,transform:Ze,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:xt,styles:dn,attributes:Nt}},Kt)}var zo=Nr.styles;function Lo(we){var nt="nest"===Hn.autoReplaceSvg?jo(we,{styleParser:!1}):jo(we);return~nt.extra.classes.indexOf(Te)?xn("generateLayersText",we,nt):xn("generateSvgReplacementMutation",we,nt)}var Xi=new Set;function ua(we){var nt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!xe)return Promise.resolve();var Qe=be.documentElement.classList,lt=function(Re){return Qe.add("".concat(ot,"-").concat(Re))},wt=function(Re){return Qe.remove("".concat(ot,"-").concat(Re))},xt=Hn.autoFetchSvg?Xi:En.map(function(Y){return"fa-".concat(Y)}).concat(Object.keys(zo));xt.includes("fa")||xt.push("fa");var Nt=[".".concat(Te,":not([").concat(Ee,"])")].concat(xt.map(function(Y){return".".concat(Y,":not([").concat(Ee,"])")})).join(", ");if(0===Nt.length)return Promise.resolve();var Kt=[];try{Kt=mt(we.querySelectorAll(Nt))}catch{}if(!(Kt.length>0))return Promise.resolve();lt("pending"),wt("complete");var dn=yo.begin("onTree"),Wn=Kt.reduce(function(Y,Re){try{var se=Lo(Re);se&&Y.push(se)}catch(Me){vn||"MissingIcon"===Me.name&&console.error(Me)}return Y},[]);return new Promise(function(Y,Re){Promise.all(Wn).then(function(se){Gi(se,function(){lt("active"),lt("complete"),wt("pending"),"function"==typeof nt&&nt(),dn(),Y()})}).catch(function(se){dn(),Re(se)})})}function Zo(we){var nt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Lo(we).then(function(Qe){Qe&&Gi([Qe],nt)})}En.map(function(we){Xi.add("fa-".concat(we))}),Object.keys(Wt[zt]).map(Xi.add.bind(Xi)),Object.keys(Wt[Xt]).map(Xi.add.bind(Xi)),Xi=S(Xi);var Wo=function(nt){var Qe=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},lt=Qe.transform,wt=void 0===lt?Ze:lt,xt=Qe.symbol,Nt=void 0!==xt&&xt,Kt=Qe.mask,dn=void 0===Kt?null:Kt,Wn=Qe.maskId,Y=void 0===Wn?null:Wn,Re=Qe.title,se=void 0===Re?null:Re,Me=Qe.titleId,Mt=void 0===Me?null:Me,P=Qe.classes,ne=void 0===P?[]:P,B=Qe.attributes,le=void 0===B?{}:B,We=Qe.styles,Jt=void 0===We?{}:We;if(nt){var Cn=nt.prefix,An=nt.iconName,Kn=nt.icon;return ni(u({type:"icon"},nt),function(){return Ur("beforeDOMElementCreation",{iconDefinition:nt,params:Qe}),Hn.autoA11y&&(se?le["aria-labelledby"]="".concat(Hn.replacementClass,"-title-").concat(Mt||pt()):(le["aria-hidden"]="true",le.focusable="false")),Ji({icons:{main:ro(Kn),mask:dn?ro(dn.icon):{found:!1,width:null,height:null,icon:{}}},prefix:Cn,iconName:An,transform:u(u({},Ze),wt),symbol:Nt,title:se,maskId:Y,titleId:Mt,extra:{attributes:le,styles:Jt,classes:ne}})})}},Jo={mixout:function(){return{icon:(we=Wo,function(nt){var Qe=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},lt=(nt||{}).icon?nt:Jn(nt||{}),wt=Qe.mask;return wt&&(wt=(wt||{}).icon?wt:Jn(wt||{})),we(lt,u(u({},Qe),{},{mask:wt}))})};var we},hooks:function(){return{mutationObserverCallbacks:function(Qe){return Qe.treeCallback=ua,Qe.nodeCallback=Zo,Qe}}},provides:function(nt){nt.i2svg=function(Qe){var lt=Qe.node,xt=Qe.callback;return ua(void 0===lt?be:lt,void 0===xt?function(){}:xt)},nt.generateSvgReplacementMutation=function(Qe,lt){var wt=lt.iconName,xt=lt.title,Nt=lt.titleId,Kt=lt.prefix,dn=lt.transform,Wn=lt.symbol,Y=lt.mask,Re=lt.maskId,se=lt.extra;return new Promise(function(Me,Mt){Promise.all([Pn(wt,Kt),Y.iconName?Pn(Y.iconName,Y.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(P){var ne=E(P,2);Me([Qe,Ji({icons:{main:ne[0],mask:ne[1]},prefix:Kt,iconName:wt,transform:dn,symbol:Wn,maskId:Re,title:xt,titleId:Nt,extra:se,watchable:!0})])}).catch(Mt)})},nt.generateAbstractIcon=function(Qe){var Wn,lt=Qe.children,wt=Qe.attributes,xt=Qe.main,Nt=Qe.transform,dn=Mn(Qe.styles);return dn.length>0&&(wt.style=dn),Pe(Nt)&&(Wn=xn("generateAbstractTransformGrouping",{main:xt,transform:Nt,containerWidth:xt.width,iconWidth:xt.width})),lt.push(Wn||xt.icon),{children:lt,attributes:wt}}}},ke={mixout:function(){return{layer:function(Qe){var lt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},wt=lt.classes,xt=void 0===wt?[]:wt;return ni({type:"layer"},function(){Ur("beforeDOMElementCreation",{assembler:Qe,params:lt});var Nt=[];return Qe(function(Kt){Array.isArray(Kt)?Kt.map(function(dn){Nt=Nt.concat(dn.abstract)}):Nt=Nt.concat(Kt.abstract)}),[{tag:"span",attributes:{class:["".concat(Hn.cssPrefix,"-layers")].concat(S(xt)).join(" ")},children:Nt}]})}}}},Ve={mixout:function(){return{counter:function(Qe){var lt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},wt=lt.title,xt=void 0===wt?null:wt,Nt=lt.classes,Kt=void 0===Nt?[]:Nt,dn=lt.attributes,Wn=void 0===dn?{}:dn,Y=lt.styles,Re=void 0===Y?{}:Y;return ni({type:"counter",content:Qe},function(){return Ur("beforeDOMElementCreation",{content:Qe,params:lt}),function vo(we){var nt=we.content,Qe=we.title,lt=we.extra,wt=u(u(u({},lt.attributes),Qe?{title:Qe}:{}),{},{class:lt.classes.join(" ")}),xt=Mn(lt.styles);xt.length>0&&(wt.style=xt);var Nt=[];return Nt.push({tag:"span",attributes:wt,children:[nt]}),Qe&&Nt.push({tag:"span",attributes:{class:"sr-only"},children:[Qe]}),Nt}({content:Qe.toString(),title:xt,extra:{attributes:Wn,styles:Re,classes:["".concat(Hn.cssPrefix,"-layers-counter")].concat(S(Kt))}})})}}}},ge={mixout:function(){return{text:function(Qe){var lt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},wt=lt.transform,xt=void 0===wt?Ze:wt,Nt=lt.title,Kt=void 0===Nt?null:Nt,dn=lt.classes,Wn=void 0===dn?[]:dn,Y=lt.attributes,Re=void 0===Y?{}:Y,se=lt.styles,Me=void 0===se?{}:se;return ni({type:"text",content:Qe},function(){return Ur("beforeDOMElementCreation",{content:Qe,params:lt}),Do({content:Qe,transform:u(u({},Ze),xt),title:Kt,extra:{attributes:Re,styles:Me,classes:["".concat(Hn.cssPrefix,"-layers-text")].concat(S(Wn))}})})}}},provides:function(nt){nt.generateLayersText=function(Qe,lt){var wt=lt.title,xt=lt.transform,Nt=lt.extra,Kt=null,dn=null;if(Ie){var Wn=parseInt(getComputedStyle(Qe).fontSize,10),Y=Qe.getBoundingClientRect();Kt=Y.width/Wn,dn=Y.height/Wn}return Hn.autoA11y&&!wt&&(Nt.attributes["aria-hidden"]="true"),Promise.resolve([Qe,Do({content:Qe.innerHTML,width:Kt,height:dn,transform:xt,title:wt,extra:Nt,watchable:!0})])}}},at=new RegExp('"',"ug"),It=[1105920,1112319];function Zn(we,nt){var Qe="".concat(vt).concat(nt.replace(":","-"));return new Promise(function(lt,wt){if(null!==we.getAttribute(Qe))return lt();var Nt=mt(we.children).filter(function(Kn){return Kn.getAttribute(et)===nt})[0],Kt=X.getComputedStyle(we,nt),dn=Kt.getPropertyValue("font-family").match(me),Wn=Kt.getPropertyValue("font-weight"),Y=Kt.getPropertyValue("content");if(Nt&&!dn)return we.removeChild(Nt),lt();if(dn&&"none"!==Y&&""!==Y){var Re=Kt.getPropertyValue("content"),se=~["Sharp"].indexOf(dn[2])?Xt:zt,Me=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(dn[2])?zn[se][dn[2].toLowerCase()]:fe[se][Wn],Mt=function ir(we){var nt=we.replace(at,""),Qe=function an(we,nt){var wt,Qe=we.length,lt=we.charCodeAt(nt);return lt>=55296&<<=56319&&Qe>nt+1&&(wt=we.charCodeAt(nt+1))>=56320&&wt<=57343?1024*(lt-55296)+wt-56320+65536:lt}(nt,0),lt=Qe>=It[0]&&Qe<=It[1],wt=2===nt.length&&nt[0]===nt[1];return{value:Et(wt?nt[0]:nt),isSecondary:lt||wt}}(Re),P=Mt.value,ne=Mt.isSecondary,B=dn[0].startsWith("FontAwesome"),le=ht(Me,P),We=le;if(B){var Jt=function gn(we){var nt=Q[we],Qe=ht("fas",we);return nt||(Qe?{prefix:"fas",iconName:Qe}:null)||{prefix:null,iconName:null}}(P);Jt.iconName&&Jt.prefix&&(le=Jt.iconName,Me=Jt.prefix)}if(!le||ne||Nt&&Nt.getAttribute(Tt)===Me&&Nt.getAttribute(dt)===We)lt();else{we.setAttribute(Qe,We),Nt&&we.removeChild(Nt);var Cn=function Ni(){return{iconName:null,title:null,titleId:null,prefix:null,transform:Ze,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}(),An=Cn.extra;An.attributes[et]=nt,Pn(le,Me).then(function(Kn){var Sr=Ji(u(u({},Cn),{},{icons:{main:Kn,mask:bn()},prefix:Me,iconName:We,extra:An,watchable:!0})),Zr=be.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===nt?we.insertBefore(Zr,we.firstChild):we.appendChild(Zr),Zr.outerHTML=Sr.map(function(ho){return dr(ho)}).join("\n"),we.removeAttribute(Qe),lt()}).catch(wt)}}else lt()})}function Mi(we){return Promise.all([Zn(we,"::before"),Zn(we,"::after")])}function Eo(we){return!(we.parentNode===document.head||~nn.indexOf(we.tagName.toUpperCase())||we.getAttribute(et)||we.parentNode&&"svg"===we.parentNode.tagName)}function Io(we){if(xe)return new Promise(function(nt,Qe){var lt=mt(we.querySelectorAll("*")).filter(Eo).map(Mi),wt=yo.begin("searchPseudoElements");Bo(),Promise.all(lt).then(function(){wt(),so(),nt()}).catch(function(){wt(),so(),Qe()})})}var $r=!1,aa=function(nt){return nt.toLowerCase().split(" ").reduce(function(lt,wt){var xt=wt.toLowerCase().split("-"),Nt=xt[0],Kt=xt.slice(1).join("-");if(Nt&&"h"===Kt)return lt.flipX=!0,lt;if(Nt&&"v"===Kt)return lt.flipY=!0,lt;if(Kt=parseFloat(Kt),isNaN(Kt))return lt;switch(Nt){case"grow":lt.size=lt.size+Kt;break;case"shrink":lt.size=lt.size-Kt;break;case"left":lt.x=lt.x-Kt;break;case"right":lt.x=lt.x+Kt;break;case"up":lt.y=lt.y-Kt;break;case"down":lt.y=lt.y+Kt;break;case"rotate":lt.rotate=lt.rotate+Kt}return lt},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},sa={x:0,y:0,width:"100%",height:"100%"};function Ro(we){return we.attributes&&(we.attributes.fill||!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&(we.attributes.fill="black"),we}!function co(we,nt){var Qe=nt.mixoutsTo;hr=we,Lr={},Object.keys(ti).forEach(function(lt){-1===it.indexOf(lt)&&delete ti[lt]}),hr.forEach(function(lt){var wt=lt.mixout?lt.mixout():{};if(Object.keys(wt).forEach(function(Nt){"function"==typeof wt[Nt]&&(Qe[Nt]=wt[Nt]),"object"===c(wt[Nt])&&Object.keys(wt[Nt]).forEach(function(Kt){Qe[Nt]||(Qe[Nt]={}),Qe[Nt][Kt]=wt[Nt][Kt]})}),lt.hooks){var xt=lt.hooks();Object.keys(xt).forEach(function(Nt){Lr[Nt]||(Lr[Nt]=[]),Lr[Nt].push(xt[Nt])})}lt.provides&<.provides(ti)})}([lr,Jo,ke,Ve,ge,{hooks:function(){return{mutationObserverCallbacks:function(Qe){return Qe.pseudoElementsCallback=Io,Qe}}},provides:function(nt){nt.pseudoElements2svg=function(Qe){var lt=Qe.node;Hn.searchPseudoElements&&Io(void 0===lt?be:lt)}}},{mixout:function(){return{dom:{unwatch:function(){Bo(),$r=!0}}}},hooks:function(){return{bootstrap:function(){mo(Ri("mutationObserverCallbacks",{}))},noAuto:function(){!function Ia(){Oo&&Oo.disconnect()}()},watch:function(Qe){var lt=Qe.observeMutationsRoot;$r?so():mo(Ri("mutationObserverCallbacks",{observeMutationsRoot:lt}))}}}},{mixout:function(){return{parse:{transform:function(Qe){return aa(Qe)}}}},hooks:function(){return{parseNodeAttributes:function(Qe,lt){var wt=lt.getAttribute("data-fa-transform");return wt&&(Qe.transform=aa(wt)),Qe}}},provides:function(nt){nt.generateAbstractTransformGrouping=function(Qe){var lt=Qe.main,wt=Qe.transform,Nt=Qe.iconWidth,Kt={transform:"translate(".concat(Qe.containerWidth/2," 256)")},dn="translate(".concat(32*wt.x,", ").concat(32*wt.y,") "),Wn="scale(".concat(wt.size/16*(wt.flipX?-1:1),", ").concat(wt.size/16*(wt.flipY?-1:1),") "),Y="rotate(".concat(wt.rotate," 0 0)"),Me={outer:Kt,inner:{transform:"".concat(dn," ").concat(Wn," ").concat(Y)},path:{transform:"translate(".concat(Nt/2*-1," -256)")}};return{tag:"g",attributes:u({},Me.outer),children:[{tag:"g",attributes:u({},Me.inner),children:[{tag:lt.icon.tag,children:lt.icon.children,attributes:u(u({},lt.icon.attributes),Me.path)}]}]}}}},{hooks:function(){return{parseNodeAttributes:function(Qe,lt){var wt=lt.getAttribute("data-fa-mask"),xt=wt?Un(wt.split(" ").map(function(Nt){return Nt.trim()})):bn();return xt.prefix||(xt.prefix=_n()),Qe.mask=xt,Qe.maskId=lt.getAttribute("data-fa-mask-id"),Qe}}},provides:function(nt){nt.generateAbstractMask=function(Qe){var we,lt=Qe.children,wt=Qe.attributes,xt=Qe.main,Nt=Qe.mask,Kt=Qe.maskId,Y=xt.icon,se=Nt.icon,Me=function gt(we){var nt=we.transform,lt=we.iconWidth,wt={transform:"translate(".concat(we.containerWidth/2," 256)")},xt="translate(".concat(32*nt.x,", ").concat(32*nt.y,") "),Nt="scale(".concat(nt.size/16*(nt.flipX?-1:1),", ").concat(nt.size/16*(nt.flipY?-1:1),") "),Kt="rotate(".concat(nt.rotate," 0 0)");return{outer:wt,inner:{transform:"".concat(xt," ").concat(Nt," ").concat(Kt)},path:{transform:"translate(".concat(lt/2*-1," -256)")}}}({transform:Qe.transform,containerWidth:Nt.width,iconWidth:xt.width}),Mt={tag:"rect",attributes:u(u({},sa),{},{fill:"white"})},P=Y.children?{children:Y.children.map(Ro)}:{},ne={tag:"g",attributes:u({},Me.inner),children:[Ro(u({tag:Y.tag,attributes:u(u({},Y.attributes),Me.path)},P))]},B={tag:"g",attributes:u({},Me.outer),children:[ne]},le="mask-".concat(Kt||pt()),We="clip-".concat(Kt||pt()),Jt={tag:"mask",attributes:u(u({},sa),{},{id:le,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[Mt,B]},Cn={tag:"defs",children:[{tag:"clipPath",attributes:{id:We},children:(we=se,"g"===we.tag?we.children:[we])},Jt]};return lt.push(Cn,{tag:"rect",attributes:u({fill:"currentColor","clip-path":"url(#".concat(We,")"),mask:"url(#".concat(le,")")},sa)}),{children:lt,attributes:wt}}}},{provides:function(nt){var Qe=!1;X.matchMedia&&(Qe=X.matchMedia("(prefers-reduced-motion: reduce)").matches),nt.missingIconAbstract=function(){var lt=[],wt={fill:"currentColor"},xt={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};lt.push({tag:"path",attributes:u(u({},wt),{},{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 Nt=u(u({},xt),{},{attributeName:"opacity"}),Kt={tag:"circle",attributes:u(u({},wt),{},{cx:"256",cy:"364",r:"28"}),children:[]};return Qe||Kt.children.push({tag:"animate",attributes:u(u({},xt),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:u(u({},Nt),{},{values:"1;0;1;1;0;1;"})}),lt.push(Kt),lt.push({tag:"path",attributes:u(u({},wt),{},{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:Qe?[]:[{tag:"animate",attributes:u(u({},Nt),{},{values:"1;0;0;0;0;1;"})}]}),Qe||lt.push({tag:"path",attributes:u(u({},wt),{},{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:u(u({},Nt),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:lt}}}},{hooks:function(){return{parseNodeAttributes:function(Qe,lt){var wt=lt.getAttribute("data-fa-symbol");return Qe.symbol=null!==wt&&(""===wt||wt),Qe}}}}],{mixoutsTo:qr});var ee=qr.parse,Ct=qr.icon,Ht=qr.text,Gt=qr.counter,yn=s(14476);const rr=["*"],Mr=we=>{const nt={[`fa-${we.animation}`]:null!=we.animation&&!we.animation.startsWith("spin"),"fa-spin":"spin"===we.animation||"spin-reverse"===we.animation,"fa-spin-pulse":"spin-pulse"===we.animation||"spin-pulse-reverse"===we.animation,"fa-spin-reverse":"spin-reverse"===we.animation||"spin-pulse-reverse"===we.animation,"fa-pulse":"spin-pulse"===we.animation||"spin-pulse-reverse"===we.animation,"fa-fw":we.fixedWidth,"fa-border":we.border,"fa-inverse":we.inverse,"fa-layers-counter":we.counter,"fa-flip-horizontal":"horizontal"===we.flip||"both"===we.flip,"fa-flip-vertical":"vertical"===we.flip||"both"===we.flip,[`fa-${we.size}`]:null!==we.size,[`fa-rotate-${we.rotate}`]:null!==we.rotate,[`fa-pull-${we.pull}`]:null!==we.pull,[`fa-stack-${we.stackItemSize}`]:null!=we.stackItemSize};return Object.keys(nt).map(Qe=>nt[Qe]?Qe:null).filter(Qe=>Qe)};let mi=(()=>{class we{constructor(){this.defaultPrefix="fas",this.fallbackIcon=null}static#e=this.\u0275fac=function(lt){return new(lt||we)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:we,factory:we.\u0275fac,providedIn:"root"})}return we})(),wi=(()=>{class we{constructor(){this.definitions={}}addIcons(...Qe){for(const lt of Qe){lt.prefix in this.definitions||(this.definitions[lt.prefix]={}),this.definitions[lt.prefix][lt.iconName]=lt;for(const wt of lt.icon[2])"string"==typeof wt&&(this.definitions[lt.prefix][wt]=lt)}}addIconPacks(...Qe){for(const lt of Qe){const wt=Object.keys(lt).map(xt=>lt[xt]);this.addIcons(...wt)}}getIconDefinition(Qe,lt){return Qe in this.definitions&< in this.definitions[Qe]?this.definitions[Qe][lt]:null}static#e=this.\u0275fac=function(lt){return new(lt||we)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:we,factory:we.\u0275fac,providedIn:"root"})}return we})(),Ui=(()=>{class we{constructor(){this.stackItemSize="1x"}ngOnChanges(Qe){if("size"in Qe)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(lt){return new(lt||we)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:we,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return we})(),Si=(()=>{class we{constructor(Qe,lt){this.renderer=Qe,this.elementRef=lt}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-stack")}ngOnChanges(Qe){"size"in Qe&&(null!=Qe.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${Qe.size.currentValue}`),null!=Qe.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${Qe.size.previousValue}`))}static#e=this.\u0275fac=function(lt){return new(lt||we)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:we,selectors:[["fa-stack"]],inputs:{size:"size"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature,n.\u0275\u0275StandaloneFeature],ngContentSelectors:rr,decls:1,vars:0,template:function(lt,wt){1<&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2})}return we})(),Ki=(()=>{class we{set spin(Qe){this.animation=Qe?"spin":void 0}set pulse(Qe){this.animation=Qe?"spin-pulse":void 0}constructor(Qe,lt,wt,xt,Nt){this.sanitizer=Qe,this.config=lt,this.iconLibrary=wt,this.stackItem=xt,this.classes=[],null!=Nt&&null==xt&&console.error('FontAwesome: fa-icon and fa-duotone-icon elements must specify stackItemSize attribute when wrapped into fa-stack. Example: .')}ngOnChanges(Qe){if(null!=this.icon||null!=this.config.fallbackIcon){if(Qe){const wt=this.findIconDefinition(null!=this.icon?this.icon:this.config.fallbackIcon);if(null!=wt){const xt=this.buildParams();this.renderIcon(wt,xt)}}}else(()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")})()}render(){this.ngOnChanges({})}findIconDefinition(Qe){const lt=((we,nt)=>(we=>void 0!==we.prefix&&void 0!==we.iconName)(we)?we:"string"==typeof we?{prefix:nt,iconName:we}:{prefix:we[0],iconName:we[1]})(Qe,this.config.defaultPrefix);return"icon"in lt?lt:this.iconLibrary.getIconDefinition(lt.prefix,lt.iconName)??((we=>{throw new Error(`Could not find icon with iconName=${we.iconName} and prefix=${we.prefix} in the icon library.`)})(lt),null)}buildParams(){const Qe={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},lt="string"==typeof this.transform?ee.transform(this.transform):this.transform;return{title:this.title,transform:lt,classes:[...Mr(Qe),...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(Qe,lt){const wt=Ct(Qe,lt);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(wt.html.join("\n"))}static#e=this.\u0275fac=function(lt){return new(lt||we)(n.\u0275\u0275directiveInject(yn.DomSanitizer),n.\u0275\u0275directiveInject(mi),n.\u0275\u0275directiveInject(wi),n.\u0275\u0275directiveInject(Ui,8),n.\u0275\u0275directiveInject(Si,8))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:we,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(lt,wt){2<&&(n.\u0275\u0275hostProperty("innerHTML",wt.renderedIconHTML,n.\u0275\u0275sanitizeHtml),n.\u0275\u0275attribute("title",wt.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(lt,wt){},encapsulation:2})}return we})(),Sn=(()=>{class we extends Ki{findIconDefinition(Qe){const lt=super.findIconDefinition(Qe);if(null!=lt&&!Array.isArray(lt.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 lt}buildParams(){const Qe=super.buildParams();return(!0===this.swapOpacity||"true"===this.swapOpacity)&&Qe.classes.push("fa-swap-opacity"),null!=this.primaryOpacity&&(Qe.styles["--fa-primary-opacity"]=this.primaryOpacity.toString()),null!=this.secondaryOpacity&&(Qe.styles["--fa-secondary-opacity"]=this.secondaryOpacity.toString()),null!=this.primaryColor&&(Qe.styles["--fa-primary-color"]=this.primaryColor),null!=this.secondaryColor&&(Qe.styles["--fa-secondary-color"]=this.secondaryColor),Qe}static#e=this.\u0275fac=(()=>{let Qe;return function(wt){return(Qe||(Qe=n.\u0275\u0275getInheritedFactory(we)))(wt||we)}})();static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:we,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(lt,wt){},encapsulation:2})}return we})();const Ar=(we,nt,Qe)=>{if(!we)throw new Error(`${Qe} should be used as child of ${nt} only.`)};let eo=(()=>{class we{constructor(Qe,lt,wt){this.renderer=Qe,this.elementRef=lt,this.config=wt}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-layers"),this.fixedWidth="boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth}ngOnChanges(Qe){"size"in Qe&&(null!=Qe.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${Qe.size.currentValue}`),null!=Qe.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${Qe.size.previousValue}`))}static#e=this.\u0275fac=function(lt){return new(lt||we)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(mi))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:we,selectors:[["fa-layers"]],hostVars:2,hostBindings:function(lt,wt){2<&&n.\u0275\u0275classProp("fa-fw",wt.fixedWidth)},inputs:{size:"size",fixedWidth:"fixedWidth"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature,n.\u0275\u0275StandaloneFeature],ngContentSelectors:rr,decls:1,vars:0,template:function(lt,wt){1<&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2})}return we})(),ki=(()=>{class we{constructor(Qe,lt){this.parent=Qe,this.sanitizer=lt,this.classes=[],Ar(this.parent,"FaLayersComponent",this.constructor.name)}ngOnChanges(Qe){if(Qe){const lt=this.buildParams();this.updateContent(lt)}}buildParams(){const Qe=[];return null!=this.classes&&Qe.push(...this.classes),null!=this.position&&Qe.push(`fa-layers-${this.position}`),{title:this.title,classes:Qe,styles:this.styles}}updateContent(Qe){this.renderedHTML=this.sanitizer.bypassSecurityTrustHtml(Gt(this.content||"",Qe).html.join(""))}static#e=this.\u0275fac=function(lt){return new(lt||we)(n.\u0275\u0275directiveInject(eo,8),n.\u0275\u0275directiveInject(yn.DomSanitizer))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:we,selectors:[["fa-layers-counter"]],hostAttrs:[1,"ng-fa-layers-counter"],hostVars:1,hostBindings:function(lt,wt){2<&&n.\u0275\u0275hostProperty("innerHTML",wt.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(lt,wt){},encapsulation:2})}return we})(),Qr=(()=>{class we{set spin(Qe){this.animation=Qe?"spin":void 0}set pulse(Qe){this.animation=Qe?"spin-pulse":void 0}constructor(Qe,lt){this.parent=Qe,this.sanitizer=lt,this.classes=[],Ar(this.parent,"FaLayersComponent",this.constructor.name)}ngOnChanges(Qe){if(Qe){const lt=this.buildParams();this.updateContent(lt)}}buildParams(){const Qe={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?ee.transform(this.transform):this.transform,classes:[...Mr(Qe),...this.classes],title:this.title,styles:this.styles}}updateContent(Qe){this.renderedHTML=this.sanitizer.bypassSecurityTrustHtml(Ht(this.content||"",Qe).html.join("\n"))}static#e=this.\u0275fac=function(lt){return new(lt||we)(n.\u0275\u0275directiveInject(eo,8),n.\u0275\u0275directiveInject(yn.DomSanitizer))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:we,selectors:[["fa-layers-text"]],hostAttrs:[1,"ng-fa-layers-text"],hostVars:1,hostBindings:function(lt,wt){2<&&n.\u0275\u0275hostProperty("innerHTML",wt.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(lt,wt){},encapsulation:2})}return we})(),to=(()=>{class we{static#e=this.\u0275fac=function(lt){return new(lt||we)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:we});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return we})()},92512:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{ActionSheetController:()=>lt,AlertController:()=>nt,AngularDelegate:()=>yt,AnimationController:()=>Qe,BooleanValueAccessor:()=>ji,Config:()=>jr,DomController:()=>ft,GestureController:()=>wt,ION_MAX_VALIDATOR:()=>ki,ION_MIN_VALIDATOR:()=>to,IonAccordion:()=>bo,IonAccordionGroup:()=>gi,IonActionSheet:()=>Hi,IonAlert:()=>ai,IonApp:()=>pr,IonAvatar:()=>yo,IonBackButton:()=>Ui,IonBackButtonDelegate:()=>Ui,IonBackdrop:()=>Ai,IonBadge:()=>Pi,IonBreadcrumb:()=>Mo,IonBreadcrumbs:()=>uo,IonButton:()=>Yr,IonButtons:()=>So,IonCard:()=>Vi,IonCardContent:()=>ei,IonCardHeader:()=>Uo,IonCardSubtitle:()=>Fi,IonCardTitle:()=>ao,IonCheckbox:()=>Gi,IonChip:()=>xo,IonCol:()=>Bo,IonContent:()=>so,IonDatetime:()=>Oo,IonDatetimeButton:()=>mo,IonFab:()=>Ia,IonFabButton:()=>oa,IonFabList:()=>ya,IonFooter:()=>Qo,IonGrid:()=>Ni,IonHeader:()=>jo,IonIcon:()=>zo,IonImg:()=>Lo,IonInfiniteScroll:()=>Xi,IonInfiniteScrollContent:()=>ua,IonInput:()=>Zo,IonItem:()=>To,IonItemDivider:()=>Wo,IonItemGroup:()=>Jo,IonItemOption:()=>ke,IonItemOptions:()=>Ve,IonItemSliding:()=>ge,IonLabel:()=>at,IonList:()=>It,IonListHeader:()=>ir,IonLoading:()=>Zn,IonMaxValidator:()=>Qr,IonMenu:()=>Mi,IonMenuButton:()=>Eo,IonMenuToggle:()=>Io,IonMinValidator:()=>we,IonModal:()=>Ar,IonNav:()=>Si,IonNavLink:()=>_o,IonNote:()=>$r,IonPicker:()=>Xo,IonPopover:()=>eo,IonProgressBar:()=>aa,IonRadio:()=>io,IonRadioGroup:()=>sa,IonRange:()=>Ro,IonRefresher:()=>wo,IonRefresherContent:()=>qi,IonReorder:()=>Go,IonReorderGroup:()=>la,IonRippleEffect:()=>Ao,IonRouterOutlet:()=>mi,IonRow:()=>go,IonSearchbar:()=>ma,IonSegment:()=>Je,IonSegmentButton:()=>$,IonSelect:()=>ee,IonSelectOption:()=>ye,IonSkeletonText:()=>Ge,IonSpinner:()=>Ct,IonSplitPane:()=>Lt,IonTabBar:()=>Ht,IonTabButton:()=>Gt,IonTabs:()=>wi,IonText:()=>yn,IonTextarea:()=>rr,IonThumbnail:()=>er,IonTitle:()=>Kr,IonToast:()=>Mr,IonToggle:()=>fr,IonToolbar:()=>Dr,IonicModule:()=>Mt,IonicRouteStrategy:()=>ht,IonicSafeString:()=>Un.I,IonicSlides:()=>Ur,LoadingController:()=>xt,MenuController:()=>Nt,ModalController:()=>Kt,NavController:()=>br,NavParams:()=>qt,NumericValueAccessor:()=>yr,PickerController:()=>dn,Platform:()=>un,PopoverController:()=>Wn,RadioValueAccessor:()=>Ji,RouterLinkDelegate:()=>Ki,RouterLinkWithHrefDelegate:()=>Sn,SelectValueAccessor:()=>Do,TextValueAccessor:()=>vo,ToastController:()=>Y,createAnimation:()=>Ft.c,createGesture:()=>hn.createGesture,getIonPageElement:()=>en.g,getPlatforms:()=>In.g,getTimeGivenProgression:()=>bn.g,iosTransitionAnimation:()=>gn.iosTransitionAnimation,isPlatform:()=>In.a,mdTransitionAnimation:()=>_n.mdTransitionAnimation,openURL:()=>_r.o});var n=s(54496),l=s(44716),u=s(1528),c=s(53076),i=s(91368);class e{constructor(){this.m=new Map}reset(ne){this.m=new Map(Object.entries(ne))}get(ne,B){const le=this.m.get(ne);return void 0!==le?le:B}getBoolean(ne,B=!1){const le=this.m.get(ne);return void 0===le?B:"string"==typeof le?"true"===le:!!le}getNumber(ne,B){const le=parseFloat(this.m.get(ne));return isNaN(le)?void 0!==B?B:NaN:le}set(ne,B){this.m.set(ne,B)}}const o=new e,y=P=>C(P),C=(P=window)=>{if(typeof P>"u")return[];P.Ionic=P.Ionic||{};let ne=P.Ionic.platforms;return null==ne&&(ne=P.Ionic.platforms=_(P),ne.forEach(B=>P.document.documentElement.classList.add(`plt-${B}`))),ne},_=P=>{const ne=o.get("platform");return Object.keys(xe).filter(B=>{const le=ne?.[B];return"function"==typeof le?le(P):xe[B](P)})},D=P=>!!(ze(P,/iPad/i)||ze(P,/Macintosh/i)&&A(P)),V=P=>ze(P,/android|sink/i),A=P=>ct(P,"(any-pointer:coarse)"),K=P=>ie(P)||X(P),ie=P=>!!(P.cordova||P.phonegap||P.PhoneGap),X=P=>{const ne=P.Capacitor;return!!ne?.isNative},ze=(P,ne)=>ne.test(P.navigator.userAgent),ct=(P,ne)=>{var B;return null===(B=P.matchMedia)||void 0===B?void 0:B.call(P,ne).matches},xe={ipad:D,iphone:P=>ze(P,/iPhone/i),ios:P=>ze(P,/iPhone|iPod/i)||D(P),android:V,phablet:P=>{const ne=P.innerWidth,B=P.innerHeight,le=Math.min(ne,B),We=Math.max(ne,B);return le>390&&le<520&&We>620&&We<800},tablet:P=>{const ne=P.innerWidth,B=P.innerHeight,le=Math.min(ne,B),We=Math.max(ne,B);return D(P)||(P=>V(P)&&!ze(P,/mobile/i))(P)||le>460&&le<820&&We>780&&We<1400},cordova:ie,capacitor:X,electron:P=>ze(P,/electron/i),pwa:P=>{var ne;return!!(null!==(ne=P.matchMedia)&&void 0!==ne&&ne.call(P,"(display-mode: standalone)").matches||P.navigator.standalone)},mobile:A,mobileweb:P=>A(P)&&!K(P),desktop:P=>!A(P),hybrid:K};var Xe=s(51896),_e=s(19248),Fe=s(95657),Ce=s(50560),Ae=s(53252),Be=s(7400),re=s(45428),Ee=s(38880),et=s(74187);const vt=["addListener","removeListener"],Tt=["addEventListener","removeEventListener"],dt=["on","off"];function ot(P,ne,B,le){if((0,Ee.m)(B)&&(le=B,B=void 0),le)return ot(P,ne,B).pipe((0,et.j)(le));const[We,Jt]=function zt(P){return(0,Ee.m)(P.addEventListener)&&(0,Ee.m)(P.removeEventListener)}(P)?Tt.map(Cn=>An=>P[Cn](ne,An,B)):function nn(P){return(0,Ee.m)(P.addListener)&&(0,Ee.m)(P.removeListener)}(P)?vt.map(Vt(P,ne)):function vn(P){return(0,Ee.m)(P.on)&&(0,Ee.m)(P.off)}(P)?dt.map(Vt(P,ne)):[];if(!We&&(0,re.G)(P))return(0,Be.O)(Cn=>ot(Cn,ne,B))((0,Ce.Uv)(P));if(!We)throw new TypeError("Invalid event target");return new Ae._(Cn=>{const An=(...Kn)=>Cn.next(1Jt(An)})}function Vt(P,ne){return B=>le=>P[B](ne,le)}var Xt=s(46700),En=s(56040),$n=s(82700),Wt=s(81316),zn=s(66684),kn=s(17368),ln=s(528),ut=s(95448),Te=s(87773);function fe(P,ne){return P===ne}const $e=["tabsInner"];class Ye{constructor(ne){this.menuController=ne}open(ne){return this.menuController.open(ne)}close(ne){return this.menuController.close(ne)}toggle(ne){return this.menuController.toggle(ne)}enable(ne,B){return this.menuController.enable(ne,B)}swipeGesture(ne,B){return this.menuController.swipeGesture(ne,B)}isOpen(ne){return this.menuController.isOpen(ne)}isEnabled(ne){return this.menuController.isEnabled(ne)}get(ne){return this.menuController.get(ne)}getOpen(){return this.menuController.getOpen()}getMenus(){return this.menuController.getMenus()}registerAnimation(ne,B){return this.menuController.registerAnimation(ne,B)}isAnimating(){return this.menuController.isAnimating()}_getOpenSync(){return this.menuController._getOpenSync()}_createAnimation(ne,B){return this.menuController._createAnimation(ne,B)}_register(ne){return this.menuController._register(ne)}_unregister(ne){return this.menuController._unregister(ne)}_setOpen(ne,B,le){return this.menuController._setOpen(ne,B,le)}}let ft=(()=>{class P{read(B){$t().read(B)}write(B){$t().write(B)}}return P.\u0275fac=function(B){return new(B||P)},P.\u0275prov=n.\u0275\u0275defineInjectable({token:P,factory:P.\u0275fac,providedIn:"root"}),P})();const $t=()=>{const P=typeof window<"u"?window:null;if(null!=P){const ne=P.Ionic;return ne?.queue?ne.queue:{read:B=>P.requestAnimationFrame(B),write:B=>P.requestAnimationFrame(B)}}return{read:ne=>ne(),write:ne=>ne()}};let un=(()=>{class P{constructor(B,le){this.doc=B,this.backButton=new Fe.E,this.keyboardDidShow=new Fe.E,this.keyboardDidHide=new Fe.E,this.pause=new Fe.E,this.resume=new Fe.E,this.resize=new Fe.E,le.run(()=>{let We;this.win=B.defaultView,this.backButton.subscribeWithPriority=function(Jt,Cn){return this.subscribe(An=>An.register(Jt,Kn=>le.run(()=>Cn(Kn))))},tr(this.pause,B,"pause",le),tr(this.resume,B,"resume",le),tr(this.backButton,B,"ionBackButton",le),tr(this.resize,this.win,"resize",le),tr(this.keyboardDidShow,this.win,"ionKeyboardDidShow",le),tr(this.keyboardDidHide,this.win,"ionKeyboardDidHide",le),this._readyPromise=new Promise(Jt=>{We=Jt}),this.win?.cordova?B.addEventListener("deviceready",()=>{We("cordova")},{once:!0}):We("dom")})}is(B){return((P,ne)=>("string"==typeof P&&(ne=P,P=void 0),y(P).includes(ne)))(this.win,B)}platforms(){return y(this.win)}ready(){return this._readyPromise}get isRTL(){return"rtl"===this.doc.dir}getQueryParam(B){return Vn(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 P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275inject(i.DOCUMENT),n.\u0275\u0275inject(n.NgZone))},P.\u0275prov=n.\u0275\u0275defineInjectable({token:P,factory:P.\u0275fac,providedIn:"root"}),P})();const Vn=(P,ne)=>{ne=ne.replace(/[[\]\\]/g,"\\$&");const le=new RegExp("[\\?&]"+ne+"=([^&#]*)").exec(P);return le?decodeURIComponent(le[1].replace(/\+/g," ")):null},tr=(P,ne,B,le)=>{ne&&ne.addEventListener(B,We=>{le.run(()=>{const Jt=We?.detail;P.next(Jt)})})};let br=(()=>{class P{constructor(B,le,We,Jt){this.location=le,this.serializer=We,this.router=Jt,this.direction=fi,this.animated=Cr,this.guessDirection="forward",this.lastNavId=-1,Jt&&Jt.events.subscribe(Cn=>{if(Cn instanceof c.NavigationStart){const An=Cn.restoredState?Cn.restoredState.navigationId:Cn.id;this.guessDirection=An{this.pop(),Cn()})}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,u.c)(function*(){let le=B.topOutlet;for(;le;){if(yield le.pop())return!0;le=le.parentOutlet}return!1})()}setDirection(B,le,We,Jt){this.direction=B,this.animated=or(B,le,We),this.animationBuilder=Jt}setTopOutlet(B){this.topOutlet=B}consumeTransition(){let le,B="root";const We=this.animationBuilder;return"auto"===this.direction?(B=this.guessDirection,le=this.guessAnimation):(le=this.animated,B=this.direction),this.direction=fi,this.animated=Cr,this.animationBuilder=void 0,{direction:B,animation:le,animationBuilder:We}}navigate(B,le){if(Array.isArray(B))return this.router.navigate(B,le);{const We=this.serializer.parse(B.toString());return void 0!==le.queryParams&&(We.queryParams={...le.queryParams}),void 0!==le.fragment&&(We.fragment=le.fragment),this.router.navigateByUrl(We,le)}}}return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275inject(un),n.\u0275\u0275inject(i.Location),n.\u0275\u0275inject(c.UrlSerializer),n.\u0275\u0275inject(c.Router,8))},P.\u0275prov=n.\u0275\u0275defineInjectable({token:P,factory:P.\u0275fac,providedIn:"root"}),P})();const or=(P,ne,B)=>{if(!1!==ne){if(void 0!==B)return B;if("forward"===P||"back"===P)return P;if("root"===P&&!0===ne)return"forward"}},fi="auto",Cr=void 0;let jr=(()=>{class P{get(B,le){const We=Dt();return We?We.get(B,le):null}getBoolean(B,le){const We=Dt();return!!We&&We.getBoolean(B,le)}getNumber(B,le){const We=Dt();return We?We.getNumber(B,le):0}}return P.\u0275fac=function(B){return new(B||P)},P.\u0275prov=n.\u0275\u0275defineInjectable({token:P,factory:P.\u0275fac,providedIn:"root"}),P})();const Hn=new n.InjectionToken("USERCONFIG"),Dt=()=>{if(typeof window<"u"){const P=window.Ionic;if(P?.config)return P.config}return null};class qt{constructor(ne={}){this.data=ne}get(ne){return this.data[ne]}}let yt=(()=>{class P{constructor(){this.zone=(0,n.inject)(n.NgZone),this.applicationRef=(0,n.inject)(n.ApplicationRef)}create(B,le,We){return new Ze(B,le,this.applicationRef,this.zone,We)}}return P.\u0275fac=function(B){return new(B||P)},P.\u0275prov=n.\u0275\u0275defineInjectable({token:P,factory:P.\u0275fac}),P})();class Ze{constructor(ne,B,le,We,Jt){this.environmentInjector=ne,this.injector=B,this.applicationRef=le,this.zone=We,this.elementReferenceKey=Jt,this.elRefMap=new WeakMap,this.elEventsMap=new WeakMap}attachViewToDom(ne,B,le,We){return this.zone.run(()=>new Promise(Jt=>{const Cn={...le};void 0!==this.elementReferenceKey&&(Cn[this.elementReferenceKey]=ne),Jt(Rt(this.zone,this.environmentInjector,this.injector,this.applicationRef,this.elRefMap,this.elEventsMap,ne,B,Cn,We,this.elementReferenceKey))}))}removeViewFromDom(ne,B){return this.zone.run(()=>new Promise(le=>{const We=this.elRefMap.get(B);if(We){We.destroy(),this.elRefMap.delete(B);const Jt=this.elEventsMap.get(B);Jt&&(Jt(),this.elEventsMap.delete(B))}le()}))}}const Rt=(P,ne,B,le,We,Jt,Cn,An,Kn,Sr,Zr)=>{const ho=n.Injector.create({providers:on(Kn),parent:B}),Co=(0,n.createComponent)(An,{environmentInjector:ne,elementInjector:ho}),Fo=Co.instance,xi=Co.location.nativeElement;if(Kn&&(Zr&&void 0!==Fo[Zr]&&console.error(`[Ionic Error]: ${Zr} is a reserved property when using ${Cn.tagName.toLowerCase()}. Rename or remove the "${Zr}" property from ${An.name}.`),Object.assign(Fo,Kn)),Sr)for(const yi of Sr)xi.classList.add(yi);const Yi=pt(P,Fo,xi);return Cn.appendChild(xi),le.attachView(Co.hostView),We.set(xi,Co),Jt.set(xi,Yi),xi},je=[Xe.L,Xe.a,Xe.b,Xe.c,Xe.d],pt=(P,ne,B)=>P.run(()=>{const le=je.filter(We=>"function"==typeof ne[We]).map(We=>{const Jt=Cn=>ne[We](Cn.detail);return B.addEventListener(We,Jt),()=>B.removeEventListener(We,Jt)});return()=>le.forEach(We=>We())}),mt=new n.InjectionToken("NavParamsToken"),on=P=>[{provide:mt,useValue:P},{provide:qt,useFactory:Ln,deps:[mt]}],Ln=P=>new qt(P),jt=(P,ne)=>{const B=P.prototype;ne.forEach(le=>{Object.defineProperty(B,le,{get(){return this.el[le]},set(We){this.z.runOutsideAngular(()=>this.el[le]=We)}})})},Mn=(P,ne)=>{const B=P.prototype;ne.forEach(le=>{B[le]=function(){const We=arguments;return this.z.runOutsideAngular(()=>this.el[le].apply(this.el,We))}})},Pe=(P,ne,B)=>{B.forEach(le=>P[le]=ot(ne,le))};function gt(P){return function(B){const{defineCustomElementFn:le,inputs:We,methods:Jt}=P;return void 0!==le&&le(),We&&jt(B,We),Jt&&Mn(B,Jt),B}}const At=["alignment","animated","arrow","keepContentsMounted","backdropDismiss","cssClass","dismissOnSelect","enterAnimation","event","isOpen","keyboardClose","leaveAnimation","mode","showBackdrop","translucent","trigger","triggerAction","reference","size","side"],Ut=["present","dismiss","onDidDismiss","onWillDismiss"];let ar=(()=>{let P=class{constructor(B,le,We){this.z=We,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()}),Pe(this,this.el,["ionPopoverDidPresent","ionPopoverWillPresent","ionPopoverWillDismiss","ionPopoverDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275dir=n.\u0275\u0275defineDirective({type:P,selectors:[["ion-popover"]],contentQueries:function(B,le,We){if(1&B&&n.\u0275\u0275contentQuery(We,n.TemplateRef,5),2&B){let Jt;n.\u0275\u0275queryRefresh(Jt=n.\u0275\u0275loadQuery())&&(le.template=Jt.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"}}),P=(0,Wt.__decorate)([gt({inputs:At,methods:Ut})],P),P})();const ur=["animated","keepContentsMounted","backdropBreakpoint","backdropDismiss","breakpoints","canDismiss","cssClass","enterAnimation","event","handle","handleBehavior","initialBreakpoint","isOpen","keyboardClose","leaveAnimation","mode","presentingElement","showBackdrop","translucent","trigger"],Tr=["present","dismiss","onDidDismiss","onWillDismiss","setCurrentBreakpoint","getCurrentBreakpoint"];let lr=(()=>{let P=class{constructor(B,le,We){this.z=We,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()}),Pe(this,this.el,["ionModalDidPresent","ionModalWillPresent","ionModalWillDismiss","ionModalDidDismiss","ionBreakpointDidChange","didPresent","willPresent","willDismiss","didDismiss"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275dir=n.\u0275\u0275defineDirective({type:P,selectors:[["ion-modal"]],contentQueries:function(B,le,We){if(1&B&&n.\u0275\u0275contentQuery(We,n.TemplateRef,5),2&B){let Jt;n.\u0275\u0275queryRefresh(Jt=n.\u0275\u0275loadQuery())&&(le.template=Jt.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"}}),P=(0,Wt.__decorate)([gt({inputs:ur,methods:Tr})],P),P})();const Nr=(P,ne)=>((P=P.filter(B=>B.stackId!==ne.stackId)).push(ne),P),jn=(P,ne)=>{const B=P.createUrlTree(["."],{relativeTo:ne});return P.serializeUrl(B)},qn=(P,ne)=>!ne||P.stackId!==ne.stackId,dr=(P,ne)=>{if(!P)return;const B=ii(ne);for(let le=0;le=P.length)return B[le];if(B[le]!==P[le])return}},ii=P=>P.split("/").map(ne=>ne.trim()).filter(ne=>""!==ne),Fr=P=>{P&&(P.ref.destroy(),P.unlistenEvents())};class rt{constructor(ne,B,le,We,Jt,Cn){this.containerEl=B,this.router=le,this.navCtrl=We,this.zone=Jt,this.location=Cn,this.views=[],this.skipTransition=!1,this.nextId=0,this.tabsPrefix=void 0!==ne?ii(ne):void 0}createView(ne,B){const le=jn(this.router,B),We=ne?.location?.nativeElement,Jt=pt(this.zone,ne.instance,We);return{id:this.nextId++,stackId:dr(this.tabsPrefix,le),unlistenEvents:Jt,element:We,ref:ne,url:le}}getExistingView(ne){const B=jn(this.router,ne),le=this.views.find(We=>We.url===B);return le&&le.ref.changeDetectorRef.reattach(),le}setActive(ne){const B=this.navCtrl.consumeTransition();let{direction:le,animation:We,animationBuilder:Jt}=B;const Cn=this.activeView,An=qn(ne,Cn);An&&(le="back",We=void 0);const Kn=this.views.slice();let Sr;const Zr=this.router;Zr.getCurrentNavigation?Sr=Zr.getCurrentNavigation():Zr.navigations?.value&&(Sr=Zr.navigations.value),Sr?.extras?.replaceUrl&&this.views.length>0&&this.views.splice(-1,1);const ho=this.views.includes(ne),Co=this.insertView(ne,le);ho||ne.ref.changeDetectorRef.detectChanges();const Fo=ne.animationBuilder;return void 0===Jt&&"back"===le&&!An&&void 0!==Fo&&(Jt=Fo),Cn&&(Cn.animationBuilder=Jt),this.zone.runOutsideAngular(()=>this.wait(()=>(Cn&&Cn.ref.changeDetectorRef.detach(),ne.ref.changeDetectorRef.reattach(),this.transition(ne,Cn,We,this.canGoBack(1),!1,Jt).then(()=>kt(ne,Co,Kn,this.location,this.zone)).then(()=>({enteringView:ne,direction:le,animation:We,tabSwitch:An})))))}canGoBack(ne,B=this.getActiveStackId()){return this.getStack(B).length>ne}pop(ne,B=this.getActiveStackId()){return this.zone.run(()=>{const le=this.getStack(B);if(le.length<=ne)return Promise.resolve(!1);const We=le[le.length-ne-1];let Jt=We.url;const Cn=We.savedData;if(Cn){const Kn=Cn.get("primary");Kn?.route?._routerState?.snapshot.url&&(Jt=Kn.route._routerState.snapshot.url)}const{animationBuilder:An}=this.navCtrl.consumeTransition();return this.navCtrl.navigateBack(Jt,{...We.savedExtras,animation:An}).then(()=>!0)})}startBackTransition(){const ne=this.activeView;if(ne){const B=this.getStack(ne.stackId),le=B[B.length-2],We=le.animationBuilder;return this.wait(()=>this.transition(le,ne,"back",this.canGoBack(2),!0,We))}return Promise.resolve()}endBackTransition(ne){ne?(this.skipTransition=!0,this.pop(1)):this.activeView&&Et(this.activeView,this.views,this.views,this.location,this.zone)}getLastUrl(ne){const B=this.getStack(ne);return B.length>0?B[B.length-1]:void 0}getRootUrl(ne){const B=this.getStack(ne);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(Fr),this.activeView=void 0,this.views=[]}getStack(ne){return this.views.filter(B=>B.stackId===ne)}insertView(ne,B){return this.activeView=ne,this.views=((P,ne,B)=>"root"===B?Nr(P,ne):"forward"===B?((P,ne)=>(P.indexOf(ne)>=0?P=P.filter(le=>le.stackId!==ne.stackId||le.id<=ne.id):P.push(ne),P))(P,ne):((P,ne)=>P.indexOf(ne)>=0?P.filter(le=>le.stackId!==ne.stackId||le.id<=ne.id):Nr(P,ne))(P,ne))(this.views,ne,B),this.views.slice()}transition(ne,B,le,We,Jt,Cn){if(this.skipTransition)return this.skipTransition=!1,Promise.resolve(!1);if(B===ne)return Promise.resolve(!1);const An=ne?ne.element:void 0,Kn=B?B.element:void 0,Sr=this.containerEl;return An&&An!==Kn&&(An.classList.add("ion-page"),An.classList.add("ion-page-invisible"),An.parentElement!==Sr&&Sr.appendChild(An),Sr.commit)?Sr.commit(An,Kn,{duration:void 0===le?0:void 0,direction:le,showGoBack:We,progressAnimation:Jt,animationBuilder:Cn}):Promise.resolve(!1)}wait(ne){var B=this;return(0,u.c)(function*(){void 0!==B.runningTask&&(yield B.runningTask,B.runningTask=void 0);const le=B.runningTask=ne();return le.finally(()=>B.runningTask=void 0),le})()}}const kt=(P,ne,B,le,We)=>"function"==typeof requestAnimationFrame?new Promise(Jt=>{requestAnimationFrame(()=>{Et(P,ne,B,le,We),Jt()})}):Promise.resolve(),Et=(P,ne,B,le,We)=>{We.run(()=>B.filter(Jt=>!ne.includes(Jt)).forEach(Fr)),ne.forEach(Jt=>{const An=le.path().split("?")[0].split("#")[0];if(Jt!==P&&Jt.url!==An){const Kn=Jt.element;Kn.setAttribute("aria-hidden","true"),Kn.classList.add("ion-page-hidden"),Jt.ref.changeDetectorRef.detach()}})};let an=(()=>{class P{constructor(B,le,We,Jt,Cn,An,Kn,Sr){this.parentOutlet=Sr,this.activatedView=null,this.proxyMap=new WeakMap,this.currentActivatedRoute$=new Xt.g(null),this.activated=null,this._activatedRoute=null,this.name=c.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)(c.ChildrenOutletContexts),this.location=(0,n.inject)(n.ViewContainerRef),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector),this.inputBinder=(0,n.inject)(wn,{optional:!0}),this.supportsBindingToComponentInputs=!0,this.config=(0,n.inject)(jr),this.navCtrl=(0,n.inject)(br),this.nativeEl=Jt.nativeElement,this.name=B||c.PRIMARY_OUTLET,this.tabsPrefix="true"===le?jn(Cn,Kn):void 0,this.stackCtrl=new rt(this.tabsPrefix,this.nativeEl,Cn,this.navCtrl,An,We),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,_e.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 We=this.activatedView.savedData.get("primary");if(We&&le.route&&(We.route={...le.route}),this.activatedView.savedExtras={},le.route){const Jt=le.route.snapshot;this.activatedView.savedExtras.queryParams=Jt.queryParams,this.activatedView.savedExtras.fragment=Jt.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 We,Jt=this.stackCtrl.getExistingView(B);if(Jt){We=this.activated=Jt.ref;const An=Jt.savedData;An&&(this.getContext().children.contexts=An),this.updateActivatedRouteProxy(We.instance,B)}else{const An=B._futureSnapshot,Kn=this.parentContexts.getOrCreateContext(this.name).children,Sr=new Xt.g(null),Zr=this.createActivatedRouteProxy(Sr,B),ho=new mn(Zr,Kn,this.location.injector);We=this.activated=this.location.createComponent(An.routeConfig.component??An.component,{index:this.location.length,injector:ho,environmentInjector:le??this.environmentInjector}),Sr.next(We.instance),Jt=this.stackCtrl.createView(this.activated,B),this.proxyMap.set(We.instance,Zr),this.currentActivatedRoute$.next({component:We.instance,activatedRoute:B})}this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activatedView=Jt,this.navCtrl.setTopOutlet(this);const Cn=this.stackCtrl.getActiveView();this.stackWillChange.emit({enteringView:Jt,tabSwitch:qn(Jt,Cn)}),this.stackCtrl.setActive(Jt).then(An=>{this.activateEvents.emit(We.instance),this.stackDidChange.emit(An)})}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 We=new c.ActivatedRoute;return We._futureSnapshot=le._futureSnapshot,We._routerState=le._routerState,We.snapshot=le.snapshot,We.outlet=le.outlet,We.component=le.component,We._paramMap=this.proxyObservable(B,"paramMap"),We._queryParamMap=this.proxyObservable(B,"queryParamMap"),We.url=this.proxyObservable(B,"url"),We.params=this.proxyObservable(B,"params"),We.queryParams=this.proxyObservable(B,"queryParams"),We.fragment=this.proxyObservable(B,"fragment"),We.data=this.proxyObservable(B,"data"),We}proxyObservable(B,le){return B.pipe((0,zn.I)(We=>!!We),(0,kn.G)(We=>this.currentActivatedRoute$.pipe((0,zn.I)(Jt=>null!==Jt&&Jt.component===We),(0,kn.G)(Jt=>Jt&&Jt.activatedRoute[le]),function me(P,ne=ln.Z){return P=P??fe,(0,ut.i)((B,le)=>{let We,Jt=!0;B.subscribe((0,Te.e)(le,Cn=>{const An=ne(Cn);(Jt||!P(We,An))&&(Jt=!1,We=An,le.next(Cn))}))})}())))}updateActivatedRouteProxy(B,le){const We=this.proxyMap.get(B);if(!We)throw new Error("Could not find activated route proxy for view");We._futureSnapshot=le._futureSnapshot,We._routerState=le._routerState,We.snapshot=le.snapshot,We.outlet=le.outlet,We.component=le.component,this.currentActivatedRoute$.next({component:B,activatedRoute:le})}}return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275injectAttribute("name"),n.\u0275\u0275injectAttribute("tabs"),n.\u0275\u0275directiveInject(i.Location),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(c.Router),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(c.ActivatedRoute),n.\u0275\u0275directiveInject(P,12))},P.\u0275dir=n.\u0275\u0275defineDirective({type:P,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"]}),P})();class mn{constructor(ne,B,le){this.route=ne,this.childContexts=B,this.parent=le}get(ne,B){return ne===c.ActivatedRoute?this.route:ne===c.ChildrenOutletContexts?this.childContexts:this.parent.get(ne,B)}}const wn=new n.InjectionToken("");let Dn=(()=>{class P{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,We=(0,En.E)([le.queryParams,le.params,le.data]).pipe((0,kn.G)(([Jt,Cn,An],Kn)=>(An={...Jt,...Cn,...An},0===Kn?(0,$n.of)(An):Promise.resolve(An)))).subscribe(Jt=>{if(!B.isActivated||!B.activatedComponentRef||B.activatedRoute!==le||null===le.component)return void this.unsubscribeFromRouteData(B);const Cn=(0,n.reflectComponentType)(le.component);if(Cn)for(const{templateName:An}of Cn.inputs)B.activatedComponentRef.setInput(An,Jt[An]);else this.unsubscribeFromRouteData(B)});this.outletDataSubscriptions.set(B,We)}}return P.\u0275fac=function(B){return new(B||P)},P.\u0275prov=n.\u0275\u0275defineInjectable({token:P,factory:P.\u0275fac}),P})();function Xn(P){return P?.componentInputBindingEnabled?new Dn:null}const xr=["color","defaultHref","disabled","icon","mode","routerAnimation","text","type"];let Or=(()=>{let P=class{constructor(B,le,We,Jt,Cn,An){this.routerOutlet=B,this.navCtrl=le,this.config=We,this.r=Jt,this.z=Cn,An.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 P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(an,8),n.\u0275\u0275directiveInject(br),n.\u0275\u0275directiveInject(jr),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},P.\u0275dir=n.\u0275\u0275defineDirective({type:P,hostBindings:function(B,le){1&B&&n.\u0275\u0275listener("click",function(Jt){return le.onClick(Jt)})},inputs:{color:"color",defaultHref:"defaultHref",disabled:"disabled",icon:"icon",mode:"mode",routerAnimation:"routerAnimation",text:"text",type:"type"}}),P=(0,Wt.__decorate)([gt({inputs:xr})],P),P})(),Vr=(()=>{class P{constructor(B,le,We,Jt,Cn){this.locationStrategy=B,this.navCtrl=le,this.elementRef=We,this.router=Jt,this.routerLink=Cn,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 P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(i.LocationStrategy),n.\u0275\u0275directiveInject(br),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(c.Router),n.\u0275\u0275directiveInject(c.RouterLink,8))},P.\u0275dir=n.\u0275\u0275defineDirective({type:P,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(B,le){1&B&&n.\u0275\u0275listener("click",function(Jt){return le.onClick(Jt)})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[n.\u0275\u0275NgOnChangesFeature]}),P})(),Ir=(()=>{class P{constructor(B,le,We,Jt,Cn){this.locationStrategy=B,this.navCtrl=le,this.elementRef=We,this.router=Jt,this.routerLink=Cn,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 P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(i.LocationStrategy),n.\u0275\u0275directiveInject(br),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(c.Router),n.\u0275\u0275directiveInject(c.RouterLink,8))},P.\u0275dir=n.\u0275\u0275defineDirective({type:P,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]}),P})();const Er=["animated","animation","root","rootParams","swipeGesture"],cn=["push","insert","insertPages","pop","popTo","popToRoot","removeIndex","setRoot","setPages","getActive","getByIndex","canGoBack","getPrevious"];let x=(()=>{let P=class{constructor(B,le,We,Jt,Cn,An){this.z=Cn,An.detach(),this.el=B.nativeElement,B.nativeElement.delegate=Jt.create(le,We),Pe(this,this.el,["ionNavDidChange","ionNavWillChange"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.EnvironmentInjector),n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(yt),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},P.\u0275dir=n.\u0275\u0275defineDirective({type:P,inputs:{animated:"animated",animation:"animation",root:"root",rootParams:"rootParams",swipeGesture:"swipeGesture"}}),P=(0,Wt.__decorate)([gt({inputs:Er,methods:cn})],P),P})(),F=(()=>{class P{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 We=B.stackId;le&&void 0!==We&&this.ionTabsWillChange.emit({tab:We})}onStackDidChange({enteringView:B,tabSwitch:le}){const We=B.stackId;le&&void 0!==We&&(this.tabBar&&(this.tabBar.selectedTab=We),this.ionTabsDidChange.emit({tab:We}))}select(B){const le="string"==typeof B,We=le?B:B.detail.tab,Jt=this.outlet.getActiveStackId()===We,Cn=`${this.outlet.tabsPrefix}/${We}`;if(le||B.stopPropagation(),Jt){const An=this.outlet.getActiveStackId();if(this.outlet.getLastRouteView(An)?.url===Cn)return;const Sr=this.outlet.getRootView(We);return this.navCtrl.navigateRoot(Cn,{...Sr&&Cn===Sr.url&&Sr.savedExtras,animated:!0,animationDirection:"back"})}{const An=this.outlet.getLastRouteView(We),Kn=An?.url||Cn,Sr=An?.savedExtras;return this.navCtrl.navigateRoot(Kn,{...Sr,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 P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(br))},P.\u0275dir=n.\u0275\u0275defineDirective({type:P,selectors:[["ion-tabs"]],viewQuery:function(B,le){if(1&B&&n.\u0275\u0275viewQuery($e,7,n.ElementRef),2&B){let We;n.\u0275\u0275queryRefresh(We=n.\u0275\u0275loadQuery())&&(le.tabsInner=We.first)}},hostBindings:function(B,le){1&B&&n.\u0275\u0275listener("ionTabButtonClick",function(Jt){return le.select(Jt)})},outputs:{ionTabsWillChange:"ionTabsWillChange",ionTabsDidChange:"ionTabsDidChange"}}),P})();const Q=P=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(P):"function"==typeof requestAnimationFrame?requestAnimationFrame(P):setTimeout(P);let Se=(()=>{class P{constructor(B,le){this.injector=B,this.elementRef=le,this.onChange=()=>{},this.onTouched=()=>{}}writeValue(B){this.elementRef.nativeElement.value=this.lastValue=B,he(this.elementRef)}handleValueChange(B,le){B===this.elementRef.nativeElement&&(le!==this.lastValue&&(this.lastValue=le,this.onChange(le)),he(this.elementRef))}_handleBlurEvent(B){B===this.elementRef.nativeElement&&(this.onTouched(),he(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(l.NgControl)}catch{}if(!B)return;B.statusChanges&&(this.statusChanges=B.statusChanges.subscribe(()=>he(this.elementRef)));const le=B.control;le&&["markAsTouched","markAllAsTouched","markAsUntouched","markAsDirty","markAsPristine"].forEach(Jt=>{if(typeof le[Jt]<"u"){const Cn=le[Jt].bind(le);le[Jt]=(...An)=>{Cn(...An),he(this.elementRef)}}})}}return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},P.\u0275dir=n.\u0275\u0275defineDirective({type:P,hostBindings:function(B,le){1&B&&n.\u0275\u0275listener("ionBlur",function(Jt){return le._handleBlurEvent(Jt.target)})}}),P})();const he=P=>{Q(()=>{const ne=P.nativeElement,B=null!=ne.value&&ne.value.toString().length>0,le=q(ne);de(ne,le);const We=ne.closest("ion-item");We&&de(We,B?[...le,"item-has-value"]:le)})},q=P=>{const ne=P.classList,B=[];for(let le=0;le{const B=P.classList;B.remove("ion-valid","ion-invalid","ion-touched","ion-untouched","ion-dirty","ion-pristine"),B.add(...ne)},qe=(P,ne)=>P.substring(0,ne.length)===ne;class ht{shouldDetach(ne){return!1}shouldAttach(ne){return!1}store(ne,B){}retrieve(ne){return null}shouldReuseRoute(ne,B){if(ne.routeConfig!==B.routeConfig)return!1;const le=ne.params,We=B.params,Jt=Object.keys(le),Cn=Object.keys(We);if(Jt.length!==Cn.length)return!1;for(const An of Jt)if(We[An]!==le[An])return!1;return!0}}class St{constructor(ne){this.ctrl=ne}create(ne){return this.ctrl.create(ne||{})}dismiss(ne,B,le){return this.ctrl.dismiss(ne,B,le)}getTop(){return this.ctrl.getTop()}}var Ft=s(30388),en=s(76256),gn=s(68512),_n=s(96556),bn=s(86944),hn=s(62528),In=s(88523),Un=s(59637),_r=s(45256),hr=s(43452),Lr=s(63816),it=(s(14829),s(62992));s(66560),s(72784);const Ur=P=>{const{swiper:ne,extendParams:B}=P,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"}};ne.pagination&&(le.pagination={type:"bullets",clickable:!1,hideOnClick:!1}),ne.scrollbar&&(le.scrollbar={hide:!0}),B(le)},Jn=In.i,Gr=function(){var P=(0,u.c)(function*(ne,B){if(!(typeof window>"u"))return yield Jn(),(0,it.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 P.apply(this,arguments)}}(),Bn=["*"],pi=["outlet"],Zi=[[["","slot","top"]],"*"],qr=["[slot=top]","*"];function oi(P,ne){if(1&P&&(n.\u0275\u0275elementStart(0,"div",1),n.\u0275\u0275elementContainer(1,2),n.\u0275\u0275elementEnd()),2&P){const B=n.\u0275\u0275nextContext();n.\u0275\u0275advance(),n.\u0275\u0275property("ngTemplateOutlet",B.template)}}function ni(P,ne){if(1&P&&n.\u0275\u0275elementContainer(0,1),2&P){const B=n.\u0275\u0275nextContext();n.\u0275\u0275property("ngTemplateOutlet",B.template)}}let ji=(()=>{class P extends Se{constructor(B,le){super(B,le)}writeValue(B){this.elementRef.nativeElement.checked=this.lastValue=B,he(this.elementRef)}_handleIonChange(B){this.handleValueChange(B,B.checked)}}return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},P.\u0275dir=n.\u0275\u0275defineDirective({type:P,selectors:[["ion-checkbox"],["ion-toggle"]],hostBindings:function(B,le){1&B&&n.\u0275\u0275listener("ionChange",function(Jt){return le._handleIonChange(Jt.target)})},features:[n.\u0275\u0275ProvidersFeature([{provide:l.NG_VALUE_ACCESSOR,useExisting:P,multi:!0}]),n.\u0275\u0275InheritDefinitionFeature]}),P})(),yr=(()=>{class P extends Se{constructor(B,le){super(B,le)}handleInputEvent(B){this.handleValueChange(B,B.value)}registerOnChange(B){super.registerOnChange(le=>{B(""===le?null:parseFloat(le))})}}return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},P.\u0275dir=n.\u0275\u0275defineDirective({type:P,selectors:[["ion-input","type","number"]],hostBindings:function(B,le){1&B&&n.\u0275\u0275listener("ionInput",function(Jt){return le.handleInputEvent(Jt.target)})},features:[n.\u0275\u0275ProvidersFeature([{provide:l.NG_VALUE_ACCESSOR,useExisting:P,multi:!0}]),n.\u0275\u0275InheritDefinitionFeature]}),P})(),Ji=(()=>{class P extends Se{constructor(B,le){super(B,le)}_handleIonSelect(B){this.handleValueChange(B,B.checked)}}return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},P.\u0275dir=n.\u0275\u0275defineDirective({type:P,selectors:[["ion-radio"]],hostBindings:function(B,le){1&B&&n.\u0275\u0275listener("ionSelect",function(Jt){return le._handleIonSelect(Jt.target)})},features:[n.\u0275\u0275ProvidersFeature([{provide:l.NG_VALUE_ACCESSOR,useExisting:P,multi:!0}]),n.\u0275\u0275InheritDefinitionFeature]}),P})(),Do=(()=>{class P extends Se{constructor(B,le){super(B,le)}_handleChangeEvent(B){this.handleValueChange(B,B.value)}}return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},P.\u0275dir=n.\u0275\u0275defineDirective({type:P,selectors:[["ion-select"],["ion-radio-group"],["ion-segment"],["ion-datetime"]],hostBindings:function(B,le){1&B&&n.\u0275\u0275listener("ionChange",function(Jt){return le._handleChangeEvent(Jt.target)})},features:[n.\u0275\u0275ProvidersFeature([{provide:l.NG_VALUE_ACCESSOR,useExisting:P,multi:!0}]),n.\u0275\u0275InheritDefinitionFeature]}),P})(),vo=(()=>{class P extends Se{constructor(B,le){super(B,le)}_handleInputEvent(B){this.handleValueChange(B,B.value)}}return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},P.\u0275dir=n.\u0275\u0275defineDirective({type:P,selectors:[["ion-input",3,"type","number"],["ion-textarea"],["ion-searchbar"],["ion-range"]],hostBindings:function(B,le){1&B&&n.\u0275\u0275listener("ionInput",function(Jt){return le._handleInputEvent(Jt.target)})},features:[n.\u0275\u0275ProvidersFeature([{provide:l.NG_VALUE_ACCESSOR,useExisting:P,multi:!0}]),n.\u0275\u0275InheritDefinitionFeature]}),P})();const ri=(P,ne)=>{const B=P.prototype;ne.forEach(le=>{Object.defineProperty(B,le,{get(){return this.el[le]},set(We){this.z.runOutsideAngular(()=>this.el[le]=We)},configurable:!0})})},ro=(P,ne)=>{const B=P.prototype;ne.forEach(le=>{B[le]=function(){const We=arguments;return this.z.runOutsideAngular(()=>this.el[le].apply(this.el,We))}})},Rr=(P,ne,B)=>{B.forEach(le=>P[le]=ot(ne,le))};function Pn(P){return function(B){const{defineCustomElementFn:le,inputs:We,methods:Jt}=P;return void 0!==le&&le(),We&&ri(B,We),Jt&&ro(B,Jt),B}}let bo=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-accordion"]],inputs:{disabled:"disabled",mode:"mode",readonly:"readonly",toggleIcon:"toggleIcon",toggleIconSlot:"toggleIconSlot",value:"value"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["disabled","mode","readonly","toggleIcon","toggleIconSlot","value"]})],P),P})(),gi=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement,Rr(this,this.el,["ionChange"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-accordion-group"]],inputs:{animated:"animated",disabled:"disabled",expand:"expand",mode:"mode",multiple:"multiple",readonly:"readonly",value:"value"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["animated","disabled","expand","mode","multiple","readonly","value"]})],P),P})(),Hi=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement,Rr(this,this.el,["ionActionSheetDidPresent","ionActionSheetWillPresent","ionActionSheetWillDismiss","ionActionSheetDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,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:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["animated","backdropDismiss","buttons","cssClass","enterAnimation","header","htmlAttributes","isOpen","keyboardClose","leaveAnimation","mode","subHeader","translucent","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss"]})],P),P})(),ai=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement,Rr(this,this.el,["ionAlertDidPresent","ionAlertWillPresent","ionAlertWillDismiss","ionAlertDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,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:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["animated","backdropDismiss","buttons","cssClass","enterAnimation","header","htmlAttributes","inputs","isOpen","keyboardClose","leaveAnimation","message","mode","subHeader","translucent","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss"]})],P),P})(),pr=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-app"]],ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({})],P),P})(),yo=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-avatar"]],ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({})],P),P})(),Ai=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement,Rr(this,this.el,["ionBackdropTap"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-backdrop"]],inputs:{stopPropagation:"stopPropagation",tappable:"tappable",visible:"visible"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["stopPropagation","tappable","visible"]})],P),P})(),Pi=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-badge"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["color","mode"]})],P),P})(),Mo=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement,Rr(this,this.el,["ionFocus","ionBlur"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,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:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["active","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","separator","target"]})],P),P})(),uo=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement,Rr(this,this.el,["ionCollapsedClick"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-breadcrumbs"]],inputs:{color:"color",itemsAfterCollapse:"itemsAfterCollapse",itemsBeforeCollapse:"itemsBeforeCollapse",maxItems:"maxItems",mode:"mode"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["color","itemsAfterCollapse","itemsBeforeCollapse","maxItems","mode"]})],P),P})(),Yr=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement,Rr(this,this.el,["ionFocus","ionBlur"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,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:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["buttonType","color","disabled","download","expand","fill","form","href","mode","rel","routerAnimation","routerDirection","shape","size","strong","target","type"]})],P),P})(),So=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-buttons"]],inputs:{collapse:"collapse"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["collapse"]})],P),P})(),Vi=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,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:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["button","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","target","type"]})],P),P})(),ei=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-card-content"]],inputs:{mode:"mode"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["mode"]})],P),P})(),Uo=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-card-header"]],inputs:{color:"color",mode:"mode",translucent:"translucent"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["color","mode","translucent"]})],P),P})(),Fi=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-card-subtitle"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["color","mode"]})],P),P})(),ao=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-card-title"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["color","mode"]})],P),P})(),Gi=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement,Rr(this,this.el,["ionChange","ionFocus","ionBlur"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,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:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["alignment","checked","color","disabled","indeterminate","justify","labelPlacement","legacy","mode","name","value"]})],P),P})(),xo=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-chip"]],inputs:{color:"color",disabled:"disabled",mode:"mode",outline:"outline"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["color","disabled","mode","outline"]})],P),P})(),Bo=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,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:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({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"]})],P),P})(),so=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement,Rr(this,this.el,["ionScrollStart","ionScroll","ionScrollEnd"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-content"]],inputs:{color:"color",forceOverscroll:"forceOverscroll",fullscreen:"fullscreen",scrollEvents:"scrollEvents",scrollX:"scrollX",scrollY:"scrollY"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["color","forceOverscroll","fullscreen","scrollEvents","scrollX","scrollY"],methods:["getScrollElement","scrollToTop","scrollToBottom","scrollByPoint","scrollToPoint"]})],P),P})(),Oo=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement,Rr(this,this.el,["ionCancel","ionChange","ionFocus","ionBlur"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,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:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({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"]})],P),P})(),mo=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-datetime-button"]],inputs:{color:"color",datetime:"datetime",disabled:"disabled",mode:"mode"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["color","datetime","disabled","mode"]})],P),P})(),Ia=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-fab"]],inputs:{activated:"activated",edge:"edge",horizontal:"horizontal",vertical:"vertical"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["activated","edge","horizontal","vertical"],methods:["close"]})],P),P})(),oa=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement,Rr(this,this.el,["ionFocus","ionBlur"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,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:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["activated","closeIcon","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","show","size","target","translucent","type"]})],P),P})(),ya=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-fab-list"]],inputs:{activated:"activated",side:"side"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["activated","side"]})],P),P})(),Qo=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-footer"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["collapse","mode","translucent"]})],P),P})(),Ni=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-grid"]],inputs:{fixed:"fixed"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["fixed"]})],P),P})(),jo=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-header"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["collapse","mode","translucent"]})],P),P})(),zo=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,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:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["color","flipRtl","icon","ios","lazy","md","mode","name","sanitize","size","src"]})],P),P})(),Lo=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement,Rr(this,this.el,["ionImgWillLoad","ionImgDidLoad","ionError"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-img"]],inputs:{alt:"alt",src:"src"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["alt","src"]})],P),P})(),Xi=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement,Rr(this,this.el,["ionInfinite"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-infinite-scroll"]],inputs:{disabled:"disabled",position:"position",threshold:"threshold"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["disabled","position","threshold"],methods:["complete"]})],P),P})(),ua=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-infinite-scroll-content"]],inputs:{loadingSpinner:"loadingSpinner",loadingText:"loadingText"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["loadingSpinner","loadingText"]})],P),P})(),Zo=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement,Rr(this,this.el,["ionInput","ionChange","ionBlur","ionFocus"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,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:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({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"]})],P),P})(),To=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,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:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["button","color","counter","counterFormatter","detail","detailIcon","disabled","download","fill","href","lines","mode","rel","routerAnimation","routerDirection","shape","target","type"]})],P),P})(),Wo=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-item-divider"]],inputs:{color:"color",mode:"mode",sticky:"sticky"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["color","mode","sticky"]})],P),P})(),Jo=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-item-group"]],ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({})],P),P})(),ke=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-item-option"]],inputs:{color:"color",disabled:"disabled",download:"download",expandable:"expandable",href:"href",mode:"mode",rel:"rel",target:"target",type:"type"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["color","disabled","download","expandable","href","mode","rel","target","type"]})],P),P})(),Ve=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement,Rr(this,this.el,["ionSwipe"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-item-options"]],inputs:{side:"side"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["side"]})],P),P})(),ge=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement,Rr(this,this.el,["ionDrag"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-item-sliding"]],inputs:{disabled:"disabled"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["disabled"],methods:["getOpenAmount","getSlidingRatio","open","close","closeOpened"]})],P),P})(),at=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-label"]],inputs:{color:"color",mode:"mode",position:"position"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["color","mode","position"]})],P),P})(),It=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-list"]],inputs:{inset:"inset",lines:"lines",mode:"mode"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["inset","lines","mode"],methods:["closeSlidingItems"]})],P),P})(),ir=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-list-header"]],inputs:{color:"color",lines:"lines",mode:"mode"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["color","lines","mode"]})],P),P})(),Zn=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement,Rr(this,this.el,["ionLoadingDidPresent","ionLoadingWillPresent","ionLoadingWillDismiss","ionLoadingDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,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:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["animated","backdropDismiss","cssClass","duration","enterAnimation","htmlAttributes","isOpen","keyboardClose","leaveAnimation","message","mode","showBackdrop","spinner","translucent","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss"]})],P),P})(),Mi=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement,Rr(this,this.el,["ionWillOpen","ionWillClose","ionDidOpen","ionDidClose"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-menu"]],inputs:{contentId:"contentId",disabled:"disabled",maxEdgeStart:"maxEdgeStart",menuId:"menuId",side:"side",swipeGesture:"swipeGesture",type:"type"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["contentId","disabled","maxEdgeStart","menuId","side","swipeGesture","type"],methods:["isOpen","isActive","open","close","toggle","setOpen"]})],P),P})(),Eo=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-menu-button"]],inputs:{autoHide:"autoHide",color:"color",disabled:"disabled",menu:"menu",mode:"mode",type:"type"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["autoHide","color","disabled","menu","mode","type"]})],P),P})(),Io=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-menu-toggle"]],inputs:{autoHide:"autoHide",menu:"menu"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["autoHide","menu"]})],P),P})(),_o=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-nav-link"]],inputs:{component:"component",componentProps:"componentProps",routerAnimation:"routerAnimation",routerDirection:"routerDirection"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["component","componentProps","routerAnimation","routerDirection"]})],P),P})(),$r=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-note"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["color","mode"]})],P),P})(),Xo=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement,Rr(this,this.el,["ionPickerDidPresent","ionPickerWillPresent","ionPickerWillDismiss","ionPickerDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,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:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["animated","backdropDismiss","buttons","columns","cssClass","duration","enterAnimation","htmlAttributes","isOpen","keyboardClose","leaveAnimation","mode","showBackdrop","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss","getColumn"]})],P),P})(),aa=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-progress-bar"]],inputs:{buffer:"buffer",color:"color",mode:"mode",reversed:"reversed",type:"type",value:"value"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["buffer","color","mode","reversed","type","value"]})],P),P})(),io=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement,Rr(this,this.el,["ionFocus","ionBlur"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-radio"]],inputs:{alignment:"alignment",color:"color",disabled:"disabled",justify:"justify",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",name:"name",value:"value"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["alignment","color","disabled","justify","labelPlacement","legacy","mode","name","value"]})],P),P})(),sa=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement,Rr(this,this.el,["ionChange"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-radio-group"]],inputs:{allowEmptySelection:"allowEmptySelection",compareWith:"compareWith",name:"name",value:"value"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["allowEmptySelection","compareWith","name","value"]})],P),P})(),Ro=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement,Rr(this,this.el,["ionChange","ionInput","ionFocus","ionBlur","ionKnobMoveStart","ionKnobMoveEnd"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,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:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["activeBarStart","color","debounce","disabled","dualKnobs","label","labelPlacement","legacy","max","min","mode","name","pin","pinFormatter","snaps","step","ticks","value"]})],P),P})(),wo=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement,Rr(this,this.el,["ionRefresh","ionPull","ionStart"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-refresher"]],inputs:{closeDuration:"closeDuration",disabled:"disabled",mode:"mode",pullFactor:"pullFactor",pullMax:"pullMax",pullMin:"pullMin",snapbackDuration:"snapbackDuration"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["closeDuration","disabled","mode","pullFactor","pullMax","pullMin","snapbackDuration"],methods:["complete","cancel","getProgress"]})],P),P})(),qi=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-refresher-content"]],inputs:{pullingIcon:"pullingIcon",pullingText:"pullingText",refreshingSpinner:"refreshingSpinner",refreshingText:"refreshingText"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["pullingIcon","pullingText","refreshingSpinner","refreshingText"]})],P),P})(),Go=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-reorder"]],ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({})],P),P})(),la=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement,Rr(this,this.el,["ionItemReorder"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-reorder-group"]],inputs:{disabled:"disabled"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["disabled"],methods:["complete"]})],P),P})(),Ao=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-ripple-effect"]],inputs:{type:"type"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["type"],methods:["addRipple"]})],P),P})(),go=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-row"]],ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({})],P),P})(),ma=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement,Rr(this,this.el,["ionInput","ionChange","ionCancel","ionClear","ionBlur","ionFocus"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,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:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["animated","autocomplete","autocorrect","cancelButtonIcon","cancelButtonText","clearIcon","color","debounce","disabled","enterkeyhint","inputmode","mode","name","placeholder","searchIcon","showCancelButton","showClearButton","spellcheck","type","value"],methods:["setFocus","getInputElement"]})],P),P})(),Je=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement,Rr(this,this.el,["ionChange"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-segment"]],inputs:{color:"color",disabled:"disabled",mode:"mode",scrollable:"scrollable",selectOnFocus:"selectOnFocus",swipeGesture:"swipeGesture",value:"value"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["color","disabled","mode","scrollable","selectOnFocus","swipeGesture","value"]})],P),P})(),$=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-segment-button"]],inputs:{disabled:"disabled",layout:"layout",mode:"mode",type:"type",value:"value"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["disabled","layout","mode","type","value"]})],P),P})(),ee=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement,Rr(this,this.el,["ionChange","ionCancel","ionDismiss","ionFocus","ionBlur"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,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:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["cancelText","color","compareWith","disabled","expandedIcon","fill","interface","interfaceOptions","justify","label","labelPlacement","legacy","mode","multiple","name","okText","placeholder","selectedText","shape","toggleIcon","value"],methods:["open"]})],P),P})(),ye=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-select-option"]],inputs:{disabled:"disabled",value:"value"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["disabled","value"]})],P),P})(),Ge=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-skeleton-text"]],inputs:{animated:"animated"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["animated"]})],P),P})(),Ct=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-spinner"]],inputs:{color:"color",duration:"duration",name:"name",paused:"paused"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["color","duration","name","paused"]})],P),P})(),Lt=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement,Rr(this,this.el,["ionSplitPaneVisible"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-split-pane"]],inputs:{contentId:"contentId",disabled:"disabled",when:"when"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["contentId","disabled","when"]})],P),P})(),Ht=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-tab-bar"]],inputs:{color:"color",mode:"mode",selectedTab:"selectedTab",translucent:"translucent"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["color","mode","selectedTab","translucent"]})],P),P})(),Gt=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-tab-button"]],inputs:{disabled:"disabled",download:"download",href:"href",layout:"layout",mode:"mode",rel:"rel",selected:"selected",tab:"tab",target:"target"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["disabled","download","href","layout","mode","rel","selected","tab","target"]})],P),P})(),yn=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-text"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["color","mode"]})],P),P})(),rr=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement,Rr(this,this.el,["ionChange","ionInput","ionBlur","ionFocus"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,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:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({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"]})],P),P})(),er=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-thumbnail"]],ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({})],P),P})(),Kr=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-title"]],inputs:{color:"color",size:"size"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["color","size"]})],P),P})(),Mr=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement,Rr(this,this.el,["ionToastDidPresent","ionToastWillPresent","ionToastWillDismiss","ionToastDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,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:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({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"]})],P),P})(),fr=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement,Rr(this,this.el,["ionChange","ionFocus","ionBlur"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,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:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["alignment","checked","color","disabled","enableOnOffLabels","justify","labelPlacement","legacy","mode","name","value"]})],P),P})(),Dr=(()=>{let P=class{constructor(B,le,We){this.z=We,B.detach(),this.el=le.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-toolbar"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,Wt.__decorate)([Pn({inputs:["color","mode"]})],P),P})(),mi=(()=>{class P extends an{constructor(B,le,We,Jt,Cn,An,Kn,Sr){super(B,le,We,Jt,Cn,An,Kn,Sr),this.parentOutlet=Sr}}return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275injectAttribute("name"),n.\u0275\u0275injectAttribute("tabs"),n.\u0275\u0275directiveInject(i.Location),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(c.Router),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(c.ActivatedRoute),n.\u0275\u0275directiveInject(P,12))},P.\u0275dir=n.\u0275\u0275defineDirective({type:P,selectors:[["ion-router-outlet"]],features:[n.\u0275\u0275InheritDefinitionFeature]}),P})(),wi=(()=>{class P extends F{}return P.\u0275fac=(()=>{let ne;return function(le){return(ne||(ne=n.\u0275\u0275getInheritedFactory(P)))(le||P)}})(),P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-tabs"]],contentQueries:function(B,le,We){if(1&B&&(n.\u0275\u0275contentQuery(We,Ht,5),n.\u0275\u0275contentQuery(We,Ht,4)),2&B){let Jt;n.\u0275\u0275queryRefresh(Jt=n.\u0275\u0275loadQuery())&&(le.tabBar=Jt.first),n.\u0275\u0275queryRefresh(Jt=n.\u0275\u0275loadQuery())&&(le.tabBars=Jt)}},viewQuery:function(B,le){if(1&B&&n.\u0275\u0275viewQuery(pi,5,mi),2&B){let We;n.\u0275\u0275queryRefresh(We=n.\u0275\u0275loadQuery())&&(le.outlet=We.first)}},features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:qr,decls:6,vars:0,consts:[[1,"tabs-inner"],["tabsInner",""],["tabs","true",3,"stackWillChange","stackDidChange"],["outlet",""]],template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(Zi),n.\u0275\u0275projection(0),n.\u0275\u0275elementStart(1,"div",0,1)(3,"ion-router-outlet",2,3),n.\u0275\u0275listener("stackWillChange",function(Jt){return le.onStackWillChange(Jt)})("stackDidChange",function(Jt){return le.onStackDidChange(Jt)}),n.\u0275\u0275elementEnd()(),n.\u0275\u0275projection(5,1))},dependencies:[mi],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}"]}),P})(),Ui=(()=>{class P extends Or{constructor(B,le,We,Jt,Cn,An){super(B,le,We,Jt,Cn,An)}}return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(mi,8),n.\u0275\u0275directiveInject(br),n.\u0275\u0275directiveInject(jr),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-back-button"]],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P})(),Si=(()=>{class P extends x{constructor(B,le,We,Jt,Cn,An){super(B,le,We,Jt,Cn,An)}}return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.EnvironmentInjector),n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(yt),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-nav"]],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:Bn,decls:1,vars:0,template:function(B,le){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P})(),Ki=(()=>{class P extends Vr{}return P.\u0275fac=(()=>{let ne;return function(le){return(ne||(ne=n.\u0275\u0275getInheritedFactory(P)))(le||P)}})(),P.\u0275dir=n.\u0275\u0275defineDirective({type:P,selectors:[["","routerLink","",5,"a",5,"area"]],features:[n.\u0275\u0275InheritDefinitionFeature]}),P})(),Sn=(()=>{class P extends Ir{}return P.\u0275fac=(()=>{let ne;return function(le){return(ne||(ne=n.\u0275\u0275getInheritedFactory(P)))(le||P)}})(),P.\u0275dir=n.\u0275\u0275defineDirective({type:P,selectors:[["a","routerLink",""],["area","routerLink",""]],features:[n.\u0275\u0275InheritDefinitionFeature]}),P})(),Ar=(()=>{class P extends lr{}return P.\u0275fac=(()=>{let ne;return function(le){return(ne||(ne=n.\u0275\u0275getInheritedFactory(P)))(le||P)}})(),P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,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,oi,2,1,"div",0),2&B&&n.\u0275\u0275property("ngIf",le.isCmpOpen||le.keepContentsMounted)},dependencies:[i.NgIf,i.NgTemplateOutlet],encapsulation:2,changeDetection:0}),P})(),eo=(()=>{class P extends ar{}return P.\u0275fac=(()=>{let ne;return function(le){return(ne||(ne=n.\u0275\u0275getInheritedFactory(P)))(le||P)}})(),P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,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,ni,1,1,"ng-container",0),2&B&&n.\u0275\u0275property("ngIf",le.isCmpOpen||le.keepContentsMounted)},dependencies:[i.NgIf,i.NgTemplateOutlet],encapsulation:2,changeDetection:0}),P})();const ki={provide:l.NG_VALIDATORS,useExisting:(0,n.forwardRef)(()=>Qr),multi:!0};let Qr=(()=>{class P extends l.MaxValidator{}return P.\u0275fac=(()=>{let ne;return function(le){return(ne||(ne=n.\u0275\u0275getInheritedFactory(P)))(le||P)}})(),P.\u0275dir=n.\u0275\u0275defineDirective({type:P,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([ki]),n.\u0275\u0275InheritDefinitionFeature]}),P})();const to={provide:l.NG_VALIDATORS,useExisting:(0,n.forwardRef)(()=>we),multi:!0};let we=(()=>{class P extends l.MinValidator{}return P.\u0275fac=(()=>{let ne;return function(le){return(ne||(ne=n.\u0275\u0275getInheritedFactory(P)))(le||P)}})(),P.\u0275dir=n.\u0275\u0275defineDirective({type:P,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([to]),n.\u0275\u0275InheritDefinitionFeature]}),P})(),nt=(()=>{class P extends St{constructor(){super(Lr.a)}}return P.\u0275fac=function(B){return new(B||P)},P.\u0275prov=n.\u0275\u0275defineInjectable({token:P,factory:P.\u0275fac,providedIn:"root"}),P})(),Qe=(()=>{class P{create(B){return(0,Ft.c)(B)}easingTime(B,le,We,Jt,Cn){return(0,bn.g)(B,le,We,Jt,Cn)}}return P.\u0275fac=function(B){return new(B||P)},P.\u0275prov=n.\u0275\u0275defineInjectable({token:P,factory:P.\u0275fac,providedIn:"root"}),P})(),lt=(()=>{class P extends St{constructor(){super(Lr.b)}}return P.\u0275fac=function(B){return new(B||P)},P.\u0275prov=n.\u0275\u0275defineInjectable({token:P,factory:P.\u0275fac,providedIn:"root"}),P})(),wt=(()=>{class P{constructor(B){this.zone=B}create(B,le=!1){return le&&Object.getOwnPropertyNames(B).forEach(We=>{if("function"==typeof B[We]){const Jt=B[We];B[We]=(...Cn)=>this.zone.run(()=>Jt(...Cn))}}),(0,hn.createGesture)(B)}}return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275inject(n.NgZone))},P.\u0275prov=n.\u0275\u0275defineInjectable({token:P,factory:P.\u0275fac,providedIn:"root"}),P})(),xt=(()=>{class P extends St{constructor(){super(Lr.l)}}return P.\u0275fac=function(B){return new(B||P)},P.\u0275prov=n.\u0275\u0275defineInjectable({token:P,factory:P.\u0275fac,providedIn:"root"}),P})(),Nt=(()=>{class P extends Ye{constructor(){super(hr.m)}}return P.\u0275fac=function(B){return new(B||P)},P.\u0275prov=n.\u0275\u0275defineInjectable({token:P,factory:P.\u0275fac,providedIn:"root"}),P})(),Kt=(()=>{class P extends St{constructor(){super(Lr.m),this.angularDelegate=(0,n.inject)(yt),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 P.\u0275fac=function(B){return new(B||P)},P.\u0275prov=n.\u0275\u0275defineInjectable({token:P,factory:P.\u0275fac}),P})(),dn=(()=>{class P extends St{constructor(){super(Lr.p)}}return P.\u0275fac=function(B){return new(B||P)},P.\u0275prov=n.\u0275\u0275defineInjectable({token:P,factory:P.\u0275fac,providedIn:"root"}),P})();class Wn extends St{constructor(){super(Lr.c),this.angularDelegate=(0,n.inject)(yt),this.injector=(0,n.inject)(n.Injector),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector)}create(ne){return super.create({...ne,delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"popover")})}}let Y=(()=>{class P extends St{constructor(){super(Lr.t)}}return P.\u0275fac=function(B){return new(B||P)},P.\u0275prov=n.\u0275\u0275defineInjectable({token:P,factory:P.\u0275fac,providedIn:"root"}),P})();const Re=(P,ne,B)=>()=>{const le=ne.defaultView;if(le&&typeof window<"u"){(0,Un.s)({...P,_zoneGate:Jt=>B.run(Jt)});const We="__zone_symbol__addEventListener"in ne.body?"__zone_symbol__addEventListener":"addEventListener";return function xn(){var P=[];if(typeof window<"u"){var ne=window;(!ne.customElements||ne.Element&&(!ne.Element.prototype.closest||!ne.Element.prototype.matches||!ne.Element.prototype.remove||!ne.Element.prototype.getRootNode))&&P.push(s.e(4448).then(s.t.bind(s,70812,23))),("function"!=typeof Object.assign||!Object.entries||!Array.prototype.find||!Array.prototype.includes||!String.prototype.startsWith||!String.prototype.endsWith||ne.NodeList&&!ne.NodeList.prototype.forEach||!ne.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")&&P.push(s.e(488).then(s.t.bind(s,36304,23)))}return Promise.all(P)}().then(()=>Gr(le,{exclude:["ion-tabs","ion-tab"],syncQueue:!0,raf:Q,jmp:Jt=>B.runOutsideAngular(Jt),ael(Jt,Cn,An,Kn){Jt[We](Cn,An,Kn)},rel(Jt,Cn,An,Kn){Jt.removeEventListener(Cn,An,Kn)}}))}};let Mt=(()=>{class P{static forRoot(B){return{ngModule:P,providers:[{provide:Hn,useValue:B},{provide:n.APP_INITIALIZER,useFactory:Re,multi:!0,deps:[Hn,i.DOCUMENT,n.NgZone]},{provide:wn,useFactory:Xn,deps:[c.Router]}]}}}return P.\u0275fac=function(B){return new(B||P)},P.\u0275mod=n.\u0275\u0275defineNgModule({type:P}),P.\u0275inj=n.\u0275\u0275defineInjector({providers:[yt,Kt,Wn],imports:[i.CommonModule]}),P})()},17964:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{add:()=>Ae,after:()=>$e,ary:()=>Ar,assign:()=>Pa,assignIn:()=>zr,assignInWith:()=>hl,assignWith:()=>Bd,at:()=>Fb,attempt:()=>nh,before:()=>Qm,bind:()=>Cl,bindAll:()=>Ub,bindKey:()=>fc,camelCase:()=>Dl,capitalize:()=>uh,castArray:()=>Sy,ceil:()=>wy,chain:()=>mg,chunk:()=>Cc,clamp:()=>LD,clone:()=>Rh,cloneDeep:()=>Fh,cloneDeepWith:()=>zg,cloneWith:()=>uC,commit:()=>Nh,compact:()=>hC,concat:()=>Sa,cond:()=>xC,conforms:()=>sp,conformsTo:()=>kc,constant:()=>ri,countBy:()=>NC,create:()=>up,curry:()=>Ll,curryRight:()=>qu,debounce:()=>fp,deburr:()=>Os,default:()=>vP,defaultTo:()=>mp,defaults:()=>Wa,defaultsDeep:()=>vp,defer:()=>bp,delay:()=>gT,difference:()=>QC,differenceBy:()=>Lc,differenceWith:()=>ZC,divide:()=>JC,drop:()=>qC,dropRight:()=>Mp,dropRightWhile:()=>No,dropWhile:()=>tf,each:()=>id,eachRight:()=>od,endsWith:()=>Rl,entries:()=>is,entriesIn:()=>Tp,eq:()=>to,escape:()=>sf,escapeRegExp:()=>h0,every:()=>g0,extend:()=>zr,extendWith:()=>hl,fill:()=>cf,filter:()=>C0,find:()=>S0,findIndex:()=>cd,findKey:()=>kp,findLast:()=>T0,findLastIndex:()=>df,findLastKey:()=>A0,first:()=>ud,flatMap:()=>x0,flatMapDeep:()=>L0,flatMapDepth:()=>Np,flatten:()=>Jd,flattenDeep:()=>R0,flattenDepth:()=>Up,flip:()=>U0,floor:()=>Uc,flow:()=>H0,flowRight:()=>Bp,forEach:()=>id,forEachRight:()=>od,forIn:()=>Y0,forInRight:()=>$0,forOwn:()=>jp,forOwnRight:()=>ff,fromPairs:()=>Hp,functions:()=>mf,functionsIn:()=>W0,get:()=>Au,groupBy:()=>G0,gt:()=>Yp,gte:()=>nI,has:()=>eM,hasIn:()=>$h,head:()=>ud,identity:()=>ft,inRange:()=>nM,includes:()=>nl,indexOf:()=>oM,initial:()=>zp,intersection:()=>ko,intersectionBy:()=>Nl,intersectionWith:()=>Vc,invert:()=>_d,invertBy:()=>uM,invoke:()=>hM,invokeMap:()=>Df,isArguments:()=>da,isArray:()=>ct,isArrayBuffer:()=>Tf,isArrayLike:()=>P,isArrayLikeObject:()=>Po,isBoolean:()=>qp,isBuffer:()=>qo,isDate:()=>_M,isElement:()=>vM,isEmpty:()=>If,isEqual:()=>t_,isEqualWith:()=>n_,isError:()=>th,isFinite:()=>r_,isFunction:()=>or,isInteger:()=>Af,isLength:()=>Me,isMap:()=>Hu,isMatch:()=>i_,isMatchWith:()=>o_,isNaN:()=>a_,isNative:()=>s_,isNil:()=>zc,isNull:()=>Bl,isNumber:()=>Pf,isObject:()=>ot,isObjectLike:()=>R,isPlainObject:()=>xs,isRegExp:()=>Hs,isSafeInteger:()=>Vl,isSet:()=>Zy,isString:()=>fd,isSymbol:()=>H,isTypedArray:()=>W,isUndefined:()=>Yl,isWeakMap:()=>xf,isWeakSet:()=>Of,iteratee:()=>Lf,join:()=>RM,kebabCase:()=>Ff,keyBy:()=>Nf,keys:()=>no,keysIn:()=>pa,last:()=>xa,lastIndexOf:()=>FM,lodash:()=>it,lowerCase:()=>UM,lowerFirst:()=>p_,lt:()=>jM,lte:()=>v_,map:()=>Nc,mapKeys:()=>VM,mapValues:()=>b_,matches:()=>CI,matchesProperty:()=>Uf,max:()=>S_,maxBy:()=>Ka,mean:()=>WM,meanBy:()=>Xc,memoize:()=>Lb,merge:()=>w_,mergeWith:()=>_p,method:()=>GM,methodOf:()=>D_,min:()=>QM,minBy:()=>T_,mixin:()=>Hf,multiply:()=>I_,negate:()=>zl,next:()=>Yf,noop:()=>he,now:()=>xc,nth:()=>x_,nthArg:()=>O_,omit:()=>bd,omitBy:()=>Gf,once:()=>cS,orderBy:()=>Qf,over:()=>hS,overArgs:()=>ol,overEvery:()=>yd,overSome:()=>Ea,pad:()=>Sd,padEnd:()=>SS,padStart:()=>ou,parseInt:()=>wS,partial:()=>qf,partialRight:()=>au,partition:()=>G_,pick:()=>K_,pickBy:()=>eu,plant:()=>Ed,property:()=>kC,propertyOf:()=>Q_,pull:()=>PS,pullAll:()=>X_,pullAllBy:()=>kS,pullAllWith:()=>xS,pullAt:()=>em,random:()=>_A,range:()=>tm,rangeRight:()=>nm,rearg:()=>rm,reduce:()=>dv,reduceRight:()=>hv,reject:()=>fv,remove:()=>mv,repeat:()=>gv,replace:()=>pv,rest:()=>_v,result:()=>im,reverse:()=>su,round:()=>om,sample:()=>am,sampleSize:()=>lm,set:()=>cm,setWith:()=>um,shuffle:()=>eE,size:()=>Rv,slice:()=>Fv,snakeCase:()=>Nv,some:()=>Bv,sortBy:()=>jv,sortedIndex:()=>sE,sortedIndexBy:()=>Hv,sortedIndexOf:()=>Vv,sortedLastIndex:()=>Yv,sortedLastIndexBy:()=>$v,sortedLastIndexOf:()=>zv,sortedUniq:()=>Wv,sortedUniqBy:()=>Gv,split:()=>vE,spread:()=>Kv,startCase:()=>Qv,startsWith:()=>uu,stubArray:()=>Mg,stubFalse:()=>ls,stubObject:()=>Zv,stubString:()=>ba,stubTrue:()=>EE,subtract:()=>wE,sum:()=>hu,sumBy:()=>fm,tail:()=>Jv,take:()=>Xv,takeRight:()=>mm,takeRightWhile:()=>PE,takeWhile:()=>pm,tap:()=>qv,template:()=>rb,templateSettings:()=>Id,throttle:()=>WE,thru:()=>fu,times:()=>KE,toArray:()=>Vf,toFinite:()=>ln,toInteger:()=>Te,toIterator:()=>ob,toJSON:()=>Ql,toLength:()=>ld,toLower:()=>ZE,toNumber:()=>$n,toPairs:()=>is,toPairsIn:()=>Tp,toPath:()=>JE,toPlainObject:()=>HC,toSafeInteger:()=>ew,toString:()=>Ti,toUpper:()=>tw,transform:()=>nw,trim:()=>ow,trimEnd:()=>aw,trimStart:()=>lw,truncate:()=>XA,unary:()=>sb,unescape:()=>db,union:()=>fb,unionBy:()=>Ys,unionWith:()=>xd,uniq:()=>bm,uniqBy:()=>vw,uniqWith:()=>yw,uniqueId:()=>Sw,unset:()=>mb,unzip:()=>Od,unzipWith:()=>gb,update:()=>Dw,updateWith:()=>Cm,upperCase:()=>$s,upperFirst:()=>rg,value:()=>Ql,valueOf:()=>Ql,values:()=>va,valuesIn:()=>vb,without:()=>bb,words:()=>hg,wrap:()=>Ld,wrapperAt:()=>Pw,wrapperChain:()=>xw,wrapperCommit:()=>Nh,wrapperLodash:()=>it,wrapperNext:()=>Yf,wrapperPlant:()=>Ed,wrapperReverse:()=>Ow,wrapperToIterator:()=>ob,wrapperValue:()=>Ql,xor:()=>Rw,xorBy:()=>Fw,xorWith:()=>Sm,zip:()=>Nw,zipObject:()=>Cb,zipObjectDeep:()=>Em,zipWith:()=>wm});const l="object"==typeof global&&global&&global.Object===Object&&global;var u="object"==typeof self&&self&&self.Object===Object&&self;const i=l||u||Function("return this")(),o=i.Symbol;var h=Object.prototype,v=h.hasOwnProperty,M=h.toString,p=o?o.toStringTag:void 0;var f=Object.prototype.toString;var L=o?o.toStringTag:void 0;const V=function N(g){return null==g?void 0===g?"[object Undefined]":"[object Null]":L&&L in Object(g)?function E(g){var T=v.call(g,p),j=g[p];try{g[p]=void 0;var ue=!0}catch{}var He=M.call(g);return ue&&(T?g[p]=j:delete g[p]),He}(g):function C(g){return f.call(g)}(g)},R=function G(g){return null!=g&&"object"==typeof g},H=function A(g){return"symbol"==typeof g||R(g)&&"[object Symbol]"==V(g)},X=function ie(g){return"number"==typeof g?g:H(g)?NaN:+g},ce=function be(g,T){for(var j=-1,ue=null==g?0:g.length,He=Array(ue);++j0){if(++T>=800)return arguments[0]}else T=0;return g.apply(void 0,arguments)}},Zi=Bn(tn);var qr=/\{\n\/\* \[wrapped with (.+)\] \*/,oi=/,? & /;var yr=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;const ri=function vo(g){return function(){return g}};var ro=function(){try{var g=ur(Object,"defineProperty");return g({},"",{}),g}catch{}}();const Rr=ro;var oo=Rr?function(g,T){return Rr(g,"toString",{configurable:!0,enumerable:!1,value:ri(T),writable:!0})}:ft;const gi=Bn(oo),ai=function Hi(g,T){for(var j=-1,ue=null==g?0:g.length;++j-1};var Ia=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];const Ni=function Qo(g,T,j){var ue=T+"";return gi(g,function Ji(g,T){var j=T.length;if(!j)return g;var ue=j-1;return T[ue]=(j>1?"& ":"")+T[ue],T=T.join(j>2?", ":" "),g.replace(yr,"{\n/* [wrapped with "+T+"] */\n")}(ue,function oa(g,T){return ai(Ia,function(j){var ue="_."+j[0];T&j[1]&&!ei(g,ue)&&g.push(ue)}),g.sort()}(function ni(g){var T=g.match(qr);return T?T[1].split(oi):[]}(ue),j)))},Wo=function To(g,T,j,ue,He,_t,Ot,Qt,sn,Rn){var Fn=8&T;T|=Fn?32:64,4&(T&=~(Fn?64:32))||(T&=-4);var bi=[g,T,He,Fn?_t:void 0,Fn?Ot:void 0,Fn?void 0:_t,Fn?void 0:Ot,Qt,sn,Rn],Hr=j.apply(void 0,bi);return Ri(g)&&Zi(Hr,bi),Hr.placeholder=ue,Ni(Hr,g,T)},ke=function Jo(g){return g.placeholder};var ge=/^(?:0|[1-9]\d*)$/;const It=function at(g,T){var j=typeof g;return!!(T=T??9007199254740991)&&("number"==j||"symbol"!=j&&ge.test(g))&&g>-1&&g%1==0&&g1&&Ii.reverse(),Fn&&sn-1&&g%1==0&&g<=9007199254740991},P=function Mt(g){return null!=g&&Me(g.length)&&!or(g)},B=function ne(g,T,j){if(!ot(j))return!1;var ue=typeof T;return!!("number"==ue?P(j)&&It(T,j.length):"string"==ue&&T in j)&&to(j[T],g)},We=function le(g){return Y(function(T,j){var ue=-1,He=j.length,_t=He>1?j[He-1]:void 0,Ot=He>2?j[2]:void 0;for(_t=g.length>3&&"function"==typeof _t?(He--,_t):void 0,Ot&&B(j[0],j[1],Ot)&&(_t=He<3?void 0:_t,He=1),T=Object(T);++ue-1},gs.prototype.set=function Rm(g,T){var j=this.__data__,ue=vi(j,g);return ue<0?(++this.size,j.push([g,T])):j[ue][1]=T,this};const pl=gs,_l=ur(i,"Map"),Du=function wu(g,T){var j=g.__data__;return function bP(g){var T=typeof g;return"string"==T||"number"==T||"symbol"==T||"boolean"==T?"__proto__"!==g:null===g}(T)?j["string"==typeof T?"string":"hash"]:j.map};function vl(g){var T=-1,j=null==g?0:g.length;for(this.clear();++T0&&j(Qt)?T>1?Pu(Qt,T-1,j,ue,He):ka(He,Qt):ue||(He[He.length]=Qt)}return He},Jd=function $m(g){return null!=g&&g.length?fa(g,1):[]},Zs=function Xd(g){return gi(dn(g,void 0,Jd),g+"")},Fb=Zs(Kd),ku=Pt(Object.getPrototypeOf,Object);var qd=Function.prototype.toString,eh=Object.prototype.hasOwnProperty,tD=qd.call(Object);const xs=function Gm(g){if(!R(g)||"[object Object]"!=V(g))return!1;var T=ku(g);if(null===T)return!0;var j=eh.call(T,"constructor")&&T.constructor;return"function"==typeof j&&j instanceof j&&qd.call(j)==tD},th=function Km(g){if(!R(g))return!1;var T=V(g);return"[object Error]"==T||"[object DOMException]"==T||"string"==typeof g.message&&"string"==typeof g.name&&!xs(g)};var nD=Y(function(g,T){try{return mn(g,void 0,T)}catch(j){return th(j)?j:new Error(j)}});const nh=nD,Qm=function rD(g,T){var j;if("function"!=typeof T)throw new TypeError("Expected a function");return g=Te(g),function(){return--g>0&&(j=T.apply(this,arguments)),g<=1&&(T=void 0),j}};var Jm=Y(function(g,T,j){var ue=1;if(j.length){var He=_o(j,ke(Jm));ue|=32}return Si(g,ue,T,j,He)});Jm.placeholder={};const Cl=Jm;var Ml=Zs(function(g,T){return ai(T,function(j){j=Ca(j),ki(g,j,Cl(g[j],g))}),g});const Ub=Ml;var rh=Y(function(g,T,j){var ue=3;if(j.length){var He=_o(j,ke(rh));ue|=32}return Si(T,ue,g,j,He)});rh.placeholder={};const fc=rh,$a=function aD(g,T,j){var ue=-1,He=g.length;T<0&&(T=-T>He?0:He+T),(j=j>He?He:j)<0&&(j+=He),He=T>j?0:j-T>>>0,T>>>=0;for(var _t=Array(He);++ue=ue?g:$a(g,T,j)};var Yb=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");const mc=function cD(g){return Yb.test(g)};var Wb="\\ud800-\\udfff",ah="["+Wb+"]",gc="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",xu="\\ud83c[\\udffb-\\udfff]",tg="[^"+Wb+"]",Kb="(?:\\ud83c[\\udde6-\\uddff]){2}",Sl="[\\ud800-\\udbff][\\udc00-\\udfff]",Qb="(?:"+gc+"|"+xu+")?",sh="[\\ufe0e\\ufe0f]?",fD=sh+Qb+"(?:\\u200d(?:"+[tg,Kb,Sl].join("|")+")"+sh+Qb+")*",mD="(?:"+[tg+gc+"?",gc,Kb,Sl,ah].join("|")+")",yP=RegExp(xu+"(?="+xu+")|"+mD+fD,"g");const ts=function Lu(g){return mc(g)?function CP(g){return g.match(yP)||[]}(g):function $b(g){return g.split("")}(g)},lh=function Ru(g){return function(T){T=Ti(T);var j=mc(T)?ts(T):void 0,ue=j?j[0]:T.charAt(0),He=j?Js(j,1).join(""):T.slice(1);return ue[g]()+He}},rg=lh("toUpperCase"),uh=function Zb(g){return rg(Ti(g).toLowerCase())},za=function gD(g,T,j,ue){var He=-1,_t=null==g?0:g.length;for(ue&&_t&&(j=g[++He]);++He<_t;)j=T(j,g[He],He,g);return j},pc=function pD(g){return function(T){return g?.[T]}},dh=pc({\u00c0:"A",\u00c1:"A",\u00c2:"A",\u00c3:"A",\u00c4:"A",\u00c5:"A",\u00e0:"a",\u00e1:"a",\u00e2:"a",\u00e3:"a",\u00e4:"a",\u00e5:"a",\u00c7:"C",\u00e7:"c",\u00d0:"D",\u00f0:"d",\u00c8:"E",\u00c9:"E",\u00ca:"E",\u00cb:"E",\u00e8:"e",\u00e9:"e",\u00ea:"e",\u00eb:"e",\u00cc:"I",\u00cd:"I",\u00ce:"I",\u00cf:"I",\u00ec:"i",\u00ed:"i",\u00ee:"i",\u00ef:"i",\u00d1:"N",\u00f1:"n",\u00d2:"O",\u00d3:"O",\u00d4:"O",\u00d5:"O",\u00d6:"O",\u00d8:"O",\u00f2:"o",\u00f3:"o",\u00f4:"o",\u00f5:"o",\u00f6:"o",\u00f8:"o",\u00d9:"U",\u00da:"U",\u00db:"U",\u00dc:"U",\u00f9:"u",\u00fa:"u",\u00fb:"u",\u00fc:"u",\u00dd:"Y",\u00fd:"y",\u00ff:"y",\u00c6:"Ae",\u00e6:"ae",\u00de:"Th",\u00fe:"th",\u00df:"ss",\u0100:"A",\u0102:"A",\u0104:"A",\u0101:"a",\u0103:"a",\u0105:"a",\u0106:"C",\u0108:"C",\u010a:"C",\u010c:"C",\u0107:"c",\u0109:"c",\u010b:"c",\u010d:"c",\u010e:"D",\u0110:"D",\u010f:"d",\u0111:"d",\u0112:"E",\u0114:"E",\u0116:"E",\u0118:"E",\u011a:"E",\u0113:"e",\u0115:"e",\u0117:"e",\u0119:"e",\u011b:"e",\u011c:"G",\u011e:"G",\u0120:"G",\u0122:"G",\u011d:"g",\u011f:"g",\u0121:"g",\u0123:"g",\u0124:"H",\u0126:"H",\u0125:"h",\u0127:"h",\u0128:"I",\u012a:"I",\u012c:"I",\u012e:"I",\u0130:"I",\u0129:"i",\u012b:"i",\u012d:"i",\u012f:"i",\u0131:"i",\u0134:"J",\u0135:"j",\u0136:"K",\u0137:"k",\u0138:"k",\u0139:"L",\u013b:"L",\u013d:"L",\u013f:"L",\u0141:"L",\u013a:"l",\u013c:"l",\u013e:"l",\u0140:"l",\u0142:"l",\u0143:"N",\u0145:"N",\u0147:"N",\u014a:"N",\u0144:"n",\u0146:"n",\u0148:"n",\u014b:"n",\u014c:"O",\u014e:"O",\u0150:"O",\u014d:"o",\u014f:"o",\u0151:"o",\u0154:"R",\u0156:"R",\u0158:"R",\u0155:"r",\u0157:"r",\u0159:"r",\u015a:"S",\u015c:"S",\u015e:"S",\u0160:"S",\u015b:"s",\u015d:"s",\u015f:"s",\u0161:"s",\u0162:"T",\u0164:"T",\u0166:"T",\u0163:"t",\u0165:"t",\u0167:"t",\u0168:"U",\u016a:"U",\u016c:"U",\u016e:"U",\u0170:"U",\u0172:"U",\u0169:"u",\u016b:"u",\u016d:"u",\u016f:"u",\u0171:"u",\u0173:"u",\u0174:"W",\u0175:"w",\u0176:"Y",\u0177:"y",\u0178:"Y",\u0179:"Z",\u017b:"Z",\u017d:"Z",\u017a:"z",\u017c:"z",\u017e:"z",\u0132:"IJ",\u0133:"ij",\u0152:"Oe",\u0153:"oe",\u0149:"'n",\u017f:"s"});var og=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,vD=RegExp("[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]","g");const Os=function hh(g){return(g=Ti(g))&&g.replace(og,dh).replace(vD,"")};var bD=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;var _c=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;var iy="\\ud800-\\udfff",fh="\\u2700-\\u27bf",sg="a-z\\xdf-\\xf6\\xf8-\\xff",cy="A-Z\\xc0-\\xd6\\xd8-\\xde",uy="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",dy="["+uy+"]",fy="\\d+",MD="["+fh+"]",my="["+sg+"]",gh="[^"+iy+uy+fy+fh+sg+cy+"]",SD="(?:\\ud83c[\\udde6-\\uddff]){2}",ph="[\\ud800-\\udbff][\\udc00-\\udfff]",Ua="["+cy+"]",bc="(?:"+my+"|"+gh+")",vy="(?:"+Ua+"|"+gh+")",ug="(?:['\u2019](?:d|ll|m|re|s|t|ve))?",Fu="(?:['\u2019](?:D|LL|M|RE|S|T|VE))?",_h="(?:[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]|\\ud83c[\\udffb-\\udfff])?",El="[\\ufe0e\\ufe0f]?",vh=El+_h+"(?:\\u200d(?:"+["[^"+iy+"]",SD,ph].join("|")+")"+El+_h+")*",dg="(?:"+[MD,SD,ph].join("|")+")"+vh,by=RegExp([Ua+"?"+my+"+"+ug+"(?="+[dy,Ua,"$"].join("|")+")",vy+"+"+Fu+"(?="+[dy,Ua+bc,"$"].join("|")+")",Ua+"?"+bc+"+"+ug,Ua+"+"+Fu,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",fy,dg].join("|"),"g");const hg=function wl(g,T,j){return g=Ti(g),void 0===(T=j?void 0:T)?function vc(g){return _c.test(g)}(g)?function yy(g){return g.match(by)||[]}(g):function ny(g){return g.match(bD)||[]}(g):g.match(T)||[]};var TD=RegExp("['\u2019]","g");const yc=function ID(g){return function(T){return za(hg(Os(T).replace(TD,"")),g,"")}};var Ls=yc(function(g,T,j){return T=T.toLowerCase(),g+(j?uh(T):T)});const Dl=Ls,Sy=function My(){if(!arguments.length)return[];var g=arguments[0];return ct(g)?g:[g]};var AD=i.isFinite,PD=Math.min;const fg=function kD(g){var T=Math[g];return function(j,ue){if(j=$n(j),(ue=null==ue?0:PD(Te(ue),292))&&AD(j)){var He=(Ti(j)+"e").split("e"),_t=T(He[0]+"e"+(+He[1]+ue));return+((He=(Ti(_t)+"e").split("e"))[0]+"e"+(+He[1]-ue))}return T(j)}},wy=fg("ceil"),mg=function xD(g){var T=it(g);return T.__chain__=!0,T};var OD=Math.ceil,bh=Math.max;const Cc=function Rs(g,T,j){T=(j?B(g,T,j):void 0===T)?1:bh(Te(T),0);var ue=null==g?0:g.length;if(!ue||T<1)return[];for(var He=0,_t=0,Ot=Array(OD(ue/T));He=T?g:T)),g},LD=function Ty(g,T,j){return void 0===j&&(j=T,T=void 0),void 0!==j&&(j=(j=$n(j))==j?j:0),void 0!==T&&(T=(T=$n(T))==T?T:0),Xs($n(g),T,j)};function Tl(g){var T=this.__data__=new pl(g);this.size=T.size}Tl.prototype.clear=function SP(){this.__data__=new pl,this.size=0},Tl.prototype.delete=function gg(g){var T=this.__data__,j=T.delete(g);return this.size=T.size,j},Tl.prototype.get=function wP(g){return this.__data__.get(g)},Tl.prototype.has=function Iy(g){return this.__data__.has(g)},Tl.prototype.set=function ND(g,T){var j=this.__data__;if(j instanceof pl){var ue=j.__data__;if(!_l||ue.length<199)return ue.push([g,T]),this.size=++j.size,this;j=this.__data__=new cc(ue)}return j.set(g,T),this.size=j.size,this};const Fs=Tl,yh=function Ay(g,T){return g&&xt(T,no(T),g)};var _g="object"==typeof exports&&exports&&!exports.nodeType&&exports,vg=_g&&"object"==typeof module&&module&&!module.nodeType&&module,Ch=vg&&vg.exports===_g?i.Buffer:void 0,yg=Ch?Ch.allocUnsafe:void 0;const Cg=function Py(g,T){if(T)return g.slice();var j=g.length,ue=yg?yg(j):new g.constructor(j);return g.copy(ue),ue},Ns=function jD(g,T){for(var j=-1,ue=null==g?0:g.length,He=0,_t=[];++jQt))return!1;var Rn=_t.get(g),Fn=_t.get(T);if(Rn&&Fn)return Rn==T&&Fn==g;var Yn=-1,gr=!0,Pr=2&j?new Bh:void 0;for(_t.set(g,T),_t.set(T,g);++Yn=T||as<0||Yn&&$o-Rn>=_t}function Ei(){var $o=xc();if(Hr($o))return Ii($o);Qt=setTimeout(Ei,function bi($o){var Tm=T-($o-sn);return Yn?ed(Tm,_t-($o-Rn)):Tm}($o))}function Ii($o){return Qt=void 0,gr&&ue?Pr($o):(ue=He=void 0,Ot)}function Ha(){var $o=xc(),as=Hr($o);if(ue=arguments,He=this,sn=$o,as){if(void 0===Qt)return function Wr($o){return Rn=$o,Qt=setTimeout(Ei,T),Fn?Pr($o):Ot}(sn);if(Yn)return clearTimeout(Qt),Qt=setTimeout(Ei,T),Pr(sn)}return void 0===Qt&&(Qt=setTimeout(Ei,T)),Ot}return T=$n(T)||0,ot(j)&&(Fn=!!j.leading,_t=(Yn="maxWait"in j)?oT($n(j.maxWait)||0,T):_t,gr="trailing"in j?!!j.trailing:gr),Ha.cancel=function Qa(){void 0!==Qt&&clearTimeout(Qt),Rn=0,ue=sn=He=Qt=void 0},Ha.flush=function Da(){return void 0===Qt?Ot:Ii(xc())},Ha},mp=function aT(g,T){return null==g||g!=g?T:g};var td=Object.prototype,gp=td.hasOwnProperty,BC=Y(function(g,T){g=Object(g);var j=-1,ue=T.length,He=ue>2?T[2]:void 0;for(He&&B(T[0],T[1],He)&&(ue=1);++j=200&&(_t=Yu,Ot=!1,T=new Bh(T));e:for(;++He=0&&g.slice(j,He)==T},sd=function DT(g){return function(T){var j=_s(T);return"[object Map]"==j?Kg(T):"[object Set]"==j?function of(g){var T=-1,j=Array(g.size);return g.forEach(function(ue){j[++T]=[ue,ue]}),j}(T):function Dp(g,T){return ce(T,function(j){return[j,g[j]]})}(T,g(T))}},is=sd(no),Tp=sd(pa),c0=pc({"&":"&","<":"<",">":">",'"':""","'":"'"});var u0=/[&<>"']/g,TT=RegExp(u0.source);const sf=function Fc(g){return(g=Ti(g))&&TT.test(g)?g.replace(u0,c0):g};var d0=/[\\^$.*+?()[\]{}|]/g,IT=RegExp(d0.source);const h0=function AT(g){return(g=Ti(g))&&IT.test(g)?g.replace(d0,"\\$&"):g},f0=function PT(g,T){for(var j=-1,ue=null==g?0:g.length;++jHe?0:He+j),(ue=void 0===ue||ue>He?He:Te(ue))<0&&(ue+=He),ue=j>ue?0:ld(ue);j-1?He[_t?T[Ot]:Ot]:void 0}};var Ap=Math.max;const cd=function M0(g,T,j){var ue=null==g?0:g.length;if(!ue)return-1;var He=null==j?0:Te(j);return He<0&&(He=Ap(ue+He,0)),yo(g,di(T),He)},S0=uf(cd),E0=function RT(g,T,j){var ue;return j(g,function(He,_t,Ot){if(T(He,_t,Ot))return ue=_t,!1}),ue},kp=function FT(g,T){return E0(g,di(T),bs)};var xp=Math.max,Op=Math.min;const df=function w0(g,T,j){var ue=null==g?0:g.length;if(!ue)return-1;var He=ue-1;return void 0!==j&&(He=Te(j),He=j<0?xp(ue+He,0):Op(He,ue-1)),yo(g,di(T),He,!0)},T0=uf(df),A0=function I0(g,T){return E0(g,di(T),nf)},ud=function Lp(g){return g&&g.length?g[0]:void 0},Fp=function Rp(g,T){var j=-1,ue=P(g)?Array(g.length):[];return rs(g,function(He,_t,Ot){ue[++j]=T(He,_t,Ot)}),ue},Nc=function P0(g,T){return(ct(g)?ce:Fp)(g,di(T))},x0=function k0(g,T){return fa(Nc(g,T),1)},L0=function NT(g,T){return fa(Nc(g,T),1/0)},Np=function UT(g,T,j){return j=void 0===j?1:Te(j),fa(Nc(g,T),j)},R0=function jT(g){return null!=g&&g.length?fa(g,1/0):[]},Up=function F0(g,T){return null!=g&&g.length?(T=void 0===T?1:Te(T),fa(g,T)):[]},U0=function HT(g){return Si(g,512)},Uc=fg("floor"),jc=function Bc(g){return Zs(function(T){var j=T.length,ue=j,He=bn.prototype.thru;for(g&&T.reverse();ue--;){var _t=T[ue];if("function"!=typeof _t)throw new TypeError("Expected a function");if(He&&!Ot&&"wrapper"==gn(_t))var Ot=new bn([],!0)}for(ue=Ot?ue:j;++ueT},hd=function K0(g){return function(T,j){return"string"==typeof T&&"string"==typeof j||(T=$n(T),j=$n(j)),g(T,j)}},Yp=hd(Vp);var tI=hd(function(g,T){return g>=T});const nI=tI;var J0=Object.prototype.hasOwnProperty;const X0=function Fl(g,T){return null!=g&&J0.call(g,T)},eM=function q0(g,T){return null!=g&&Ol(g,T,X0)};var pf=Math.max,_f=Math.min;const nM=function $p(g,T,j){return T=ln(T),void 0===j?(j=T,T=0):j=ln(j),function rI(g,T,j){return g>=_f(T,j)&&g-1:!!He&&So(g,T,j)>-1};var bf=Math.max;const oM=function Ga(g,T,j){var ue=null==g?0:g.length;if(!ue)return-1;var He=null==j?0:Te(j);return He<0&&(He=bf(ue+He,0)),So(g,T,He)},zp=function Hc(g){return null!=g&&g.length?$a(g,0,-1):[]};var aM=Math.min;const Wp=function oI(g,T,j){for(var ue=j?rd:ei,He=g[0].length,_t=g.length,Ot=_t,Qt=Array(_t),sn=1/0,Rn=[];Ot--;){var Fn=g[Ot];Ot&&T&&(Fn=ce(Fn,si(T))),sn=aM(Fn.length,sn),Qt[Ot]=!j&&(T||He>=120&&Fn.length>=120)?new Bh(Ot&&Fn):void 0}Fn=g[0];var Yn=-1,gr=Qt[0];e:for(;++Yn=-Hl&&g<=Hl},Yl=function Qc(g){return void 0===g},xf=function c_(g){return R(g)&&"[object WeakMap]"==_s(g)},Of=function d_(g){return R(g)&&"[object WeakSet]"==V(g)},Lf=function f_(g){return di("function"==typeof g?g:ns(g,1))};var Rf=Array.prototype.join;const RM=function il(g,T){return null==g?"":Rf.call(g,T)};var gI=yc(function(g,T,j){return g+(j?"-":"")+T.toLowerCase()});const Ff=gI;var $l=Zh(function(g,T,j){ki(g,j,T)});const Nf=$l;var VP=Math.max,YP=Math.min;const FM=function _I(g,T,j){var ue=null==g?0:g.length;if(!ue)return-1;var He=ue;return void 0!==j&&(He=(He=Te(j))<0?VP(ue+He,0):YP(He,ue-1)),T==T?function pI(g,T,j){for(var ue=j+1;ue--;)if(g[ue]===T)return ue;return ue}(g,T,He):yo(g,Pi,He,!0)};var NM=yc(function(g,T,j){return g+(j?" ":"")+T.toLowerCase()});const UM=NM,p_=lh("toLowerCase"),__=function vI(g,T){return g=this.__values__.length;return{done:g,value:g?void 0:this.__values__[this.__index__++]}},oS=function iS(g,T){var j=g.length;if(j)return It(T+=T<0?j:0,j)?g[T]:void 0},x_=function aS(g,T){return g&&g.length?oS(g,Te(T)):void 0},O_=function II(g){return g=Te(g),Y(function(T){return oS(T,g)})},$f=function AI(g,T){return T=Fa(T,g),null==(g=Qp(g,T))||delete g[Ca(xa(T))]},PI=function L_(g){return xs(g)?void 0:g};var zf=Zs(function(g,T){var j={};if(null==g)return j;var ue=!1;T=ce(T,function(_t){return _t=Fa(_t,g),ue||(ue=_t.length>1),_t}),xt(g,Uu(g),j),ue&&(j=ns(j,7,PI));for(var He=T.length;He--;)$f(j,T[He]);return j});const bd=zf,qc=function F_(g,T,j,ue){if(!ot(g))return g;for(var He=-1,_t=(T=Fa(T,g)).length,Ot=_t-1,Qt=g;null!=Qt&&++He<_t;){var sn=Ca(T[He]),Rn=j;if("__proto__"===sn||"constructor"===sn||"prototype"===sn)return g;if(He!=Ot){var Fn=Qt[sn];void 0===(Rn=ue?ue(Fn,sn,Qt):void 0)&&(Rn=ot(Fn)?Fn:It(T[He+1])?[]:{})}lt(Qt,sn,Rn),Qt=Qt[sn]}return g},sS=function OI(g,T,j){for(var ue=-1,He=T.length,_t={};++ueT||_t&&Ot&&sn&&!Qt&&!Rn||ue&&Ot&&sn||!j&&sn||!He)return 1;if(!ue&&!_t&&!Rn&&g=Qt?sn:sn*("desc"==j[ue]?-1:1)}return g.index-T.index}(_t,Ot,j)})},Qf=function UI(g,T,j,ue){return null==g?[]:(ct(T)||(T=null==T?[]:[T]),ct(j=ue?void 0:j)||(j=null==j?[]:[j]),Gl(g,T,j))},Zf=function BI(g){return Zs(function(T){return T=ce(T,si(di)),Y(function(j){var ue=this;return g(T,function(He){return mn(He,ue,j)})})})},hS=Zf(ce);var HI=Math.min,VI=Y(function(g,T){var j=(T=1==T.length&&ct(T[0])?ce(T[0],si(di)):ce(fa(T,1),si(di))).length;return Y(function(ue){for(var He=-1,_t=HI(ue.length,j);++He<_t;)ue[He]=T[He].call(this,ue[He]);return mn(g,this,ue)})});const ol=VI,yd=Zf(f0),Ea=Zf(jh);var U_=Math.floor;const Xf=function $I(g,T){var j="";if(!g||T<1||T>9007199254740991)return j;do{T%2&&(j+=g),(T=U_(T/2))&&(g+=g)}while(T);return j},gS=PC("length");var B_="\\ud800-\\udfff",QI="["+B_+"]",j_="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",nu="\\ud83c[\\udffb-\\udfff]",H_="[^"+B_+"]",V_="(?:\\ud83c[\\udde6-\\uddff]){2}",_S="[\\ud800-\\udbff][\\udc00-\\udfff]",ru="(?:"+j_+"|"+nu+")?",vS="[\\ufe0e\\ufe0f]?",JI=vS+ru+"(?:\\u200d(?:"+[H_,V_,_S].join("|")+")"+vS+ru+")*",bS="(?:"+[H_+j_+"?",j_,V_,_S,QI].join("|")+")",Y_=RegExp(nu+"(?="+nu+")|"+bS+JI,"g");const iu=function CS(g){return mc(g)?function yS(g){for(var T=Y_.lastIndex=0;Y_.test(g);)++T;return T}(g):gS(g)};var qI=Math.ceil;const $_=function $P(g,T){var j=(T=void 0===T?" ":Xe(T)).length;if(j<2)return j?Xf(T,g):T;var ue=Xf(T,qI(g/iu(T)));return mc(T)?Js(ts(ue),0,g).join(""):ue.slice(0,g)};var zP=Math.ceil,WP=Math.floor;const Sd=function MS(g,T,j){g=Ti(g);var ue=(T=Te(T))?iu(g):0;if(!T||ue>=T)return g;var He=(T-ue)/2;return $_(WP(He),j)+g+$_(zP(He),j)},SS=function eA(g,T,j){g=Ti(g);var ue=(T=Te(T))?iu(g):0;return T&&ue-1;)Qt!==g&&IS.call(Qt,sn,1),IS.call(g,sn,1);return g},X_=function AS(g,T){return g&&g.length&&T&&T.length?J_(g,T):g},PS=Y(X_),kS=function fA(g,T,j){return g&&g.length&&T&&T.length?J_(g,T,di(j)):g},xS=function mA(g,T,j){return g&&g.length&&T&&T.length?J_(g,T,void 0,j):g};var q_=Array.prototype.splice;const tv=function ev(g,T){for(var j=g?T.length:0,ue=j-1;j--;){var He=T[j];if(j==ue||He!==_t){var _t=He;It(He)?q_.call(g,He,1):$f(g,He)}}return g};var OS=Zs(function(g,T){var j=null==g?0:g.length,ue=Kd(g,T);return tv(g,ce(T,function(He){return It(He,j)?+He:He}).sort(Kf)),ue});const em=OS;var LS=Math.floor,RS=Math.random;const wd=function nv(g,T){return g+LS(RS()*(T-g+1))};var pA=parseFloat,rv=Math.min,FS=Math.random;const _A=function NS(g,T,j){if(j&&"boolean"!=typeof j&&B(g,T,j)&&(T=j=void 0),void 0===j&&("boolean"==typeof T?(j=T,T=void 0):"boolean"==typeof g&&(j=g,g=void 0)),void 0===g&&void 0===T?(g=0,T=1):(g=ln(g),void 0===T?(T=g,g=0):T=ln(T)),g>T){var ue=g;g=T,T=ue}if(j||g%1||T%1){var He=FS();return rv(g+He*(T-g+pA("1e-"+((He+"").length-1))),T)}return wd(g,T)};var US=Math.ceil,vA=Math.max;const Dd=function iv(g){return function(T,j,ue){return ue&&"number"!=typeof ue&&B(T,j,ue)&&(j=ue=void 0),T=ln(T),void 0===j?(j=T,T=0):j=ln(j),function BS(g,T,j,ue){for(var He=-1,_t=vA(US((T-g)/(j||1)),0),Ot=Array(_t);_t--;)Ot[ue?_t:++He]=g,g+=j;return Ot}(T,j,ue=void 0===ue?T1&&B(g,T[0],T[1])?T=[]:j>2&&B(T[0],T[1],T[2])&&(T=[T[0]]),Gl(g,fa(T,1),[])});const jv=rE;var oE=Math.floor,DA=Math.min;const Td=function TA(g,T,j,ue){var He=0,_t=null==g?0:g.length;if(0===_t)return 0;for(var Ot=(T=j(T))!=T,Qt=null===T,sn=H(T),Rn=void 0===T;He<_t;){var Fn=oE((He+_t)/2),Yn=j(g[Fn]),gr=void 0!==Yn,Pr=null===Yn,Wr=Yn==Yn,bi=H(Yn);if(Ot)var Hr=ue||Wr;else Hr=Rn?Wr&&(ue||gr):Qt?Wr&&gr&&(ue||!Pr):sn?Wr&&gr&&!Pr&&(ue||!bi):!Pr&&!bi&&(ue?Yn<=T:Yn>>1,Ot=g[_t];null!==Ot&&!H(Ot)&&(j?Ot<=T:Ot>>0)?(g=Ti(g))&&("string"==typeof T||null!=T&&!Hs(T))&&!(T=Xe(T))&&mc(g)?Js(ts(g),0,j):g.split(T,j):[]};var JP=Math.max;const Kv=function bE(g,T){if("function"!=typeof g)throw new TypeError("Expected a function");return T=null==T?0:JP(Te(T),0),Y(function(j){var ue=j[T],He=Js(j,0,T);return ue&&ka(He,ue),mn(g,this,He)})};var yE=yc(function(g,T,j){return g+(j?" ":"")+rg(T)});const Qv=yE,uu=function CE(g,T,j){return g=Ti(g),j=null==j?0:Xs(Te(j),0,g.length),T=Xe(T),g.slice(j,j+T.length)==T},Zv=function ME(){return{}},ba=function SE(){return""},EE=function du(){return!0};var AA=Fe(function(g,T){return g-T},0);const wE=AA,hu=function XP(g){return g&&g.length?Bf(g,ft):0},fm=function PA(g,T){return g&&g.length?Bf(g,di(T)):0},Jv=function DE(g){var T=null==g?0:g.length;return T?$a(g,1,T):[]},Xv=function TE(g,T,j){return g&&g.length?(T=j||void 0===T?1:Te(T),$a(g,0,T<0?0:T)):[]},mm=function IE(g,T,j){var ue=null==g?0:g.length;return ue?(T=j||void 0===T?1:Te(T),$a(g,(T=ue-T)<0?0:T,ue)):[]},PE=function AE(g,T){return g&&g.length?ef(g,di(T),!1,!0):[]},pm=function gm(g,T){return g&&g.length?ef(g,di(T)):[]},qv=function kA(g,T){return T(g),g};var kE=Object.prototype,eb=kE.hasOwnProperty;const xE=function Kl(g,T,j,ue){return void 0===g||to(g,kE[j])&&!eb.call(ue,j)?T:g};var OE={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};const LE=function tb(g){return"\\"+OE[g]},RE=/<%=([\s\S]+?)%>/g,Id={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:RE,variable:"",imports:{_:{escape:sf}}};var LA=/\b__p \+= '';/g,BE=/\b(__p \+=) '' \+/g,RA=/(__e\(.*?\)|\b__t\)) \+\n'';/g,jE=/[()=,{}\[\]\/\s]/,HE=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ad=/($^)/,VE=/['\n\r\u2028\u2029\\]/g,YE=Object.prototype.hasOwnProperty;const rb=function $E(g,T,j){var ue=Id.imports._.templateSettings||Id;j&&B(g,T,j)&&(T=void 0),g=Ti(g),T=hl({},T,ue,xE);var Qt,sn,He=hl({},T.imports,ue.imports,xE),_t=no(He),Ot=iM(He,_t),Rn=0,Fn=T.interpolate||Ad,Yn="__p += '",gr=RegExp((T.escape||Ad).source+"|"+Fn.source+"|"+(Fn===RE?HE:Ad).source+"|"+(T.evaluate||Ad).source+"|$","g"),Pr=YE.call(T,"sourceURL")?"//# sourceURL="+(T.sourceURL+"").replace(/\s/g," ")+"\n":"";g.replace(gr,function(Hr,Ei,Ii,Qa,Da,Ha){return Ii||(Ii=Qa),Yn+=g.slice(Rn,Ha).replace(VE,LE),Ei&&(Qt=!0,Yn+="' +\n__e("+Ei+") +\n'"),Da&&(sn=!0,Yn+="';\n"+Da+";\n__p += '"),Ii&&(Yn+="' +\n((__t = ("+Ii+")) == null ? '' : __t) +\n'"),Rn=Ha+Hr.length,Hr}),Yn+="';\n";var Wr=YE.call(T,"variable")&&T.variable;if(Wr){if(jE.test(Wr))throw new Error("Invalid `variable` option passed into `_.template`")}else Yn="with (obj) {\n"+Yn+"\n}\n";Yn=(sn?Yn.replace(LA,""):Yn).replace(BE,"$1").replace(RA,"$1;"),Yn="function("+(Wr||"obj")+") {\n"+(Wr?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(Qt?", __e = _.escape":"")+(sn?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+Yn+"return __p\n}";var bi=nh(function(){return Function(_t,Pr+"return "+Yn).apply(void 0,Ot)});if(bi.source=Yn,th(bi))throw bi;return bi},WE=function NA(g,T,j){var ue=!0,He=!0;if("function"!=typeof g)throw new TypeError("Expected a function");return ot(j)&&(ue="leading"in j?!!j.leading:ue,He="trailing"in j?!!j.trailing:He),fp(g,T,{leading:ue,maxWait:T,trailing:He})},fu=function UA(g,T){return T(g)};var ib=4294967295,jA=Math.min;const KE=function GE(g,T){if((g=Te(g))<1||g>9007199254740991)return[];var j=ib,ue=jA(g,ib);T=ys(T),g-=ib;for(var He=Sr(ue,T);++j-1;);return j},iw=function GA(g,T){for(var j=-1,ue=g.length;++j-1;);return j},ow=function KA(g,T,j){if((g=Ti(g))&&(j||void 0===T))return Tt(g);if(!g||!(T=Xe(T)))return g;var ue=ts(g),He=ts(T),_t=iw(ue,He),Ot=rw(ue,He)+1;return Js(ue,_t,Ot).join("")},aw=function QA(g,T,j){if((g=Ti(g))&&(j||void 0===T))return g.slice(0,Ee(g)+1);if(!g||!(T=Xe(T)))return g;var ue=ts(g),He=rw(ue,ts(T))+1;return Js(ue,0,He).join("")};var sw=/^\s+/;const lw=function ab(g,T,j){if((g=Ti(g))&&(j||void 0===T))return g.replace(sw,"");if(!g||!(T=Xe(T)))return g;var ue=ts(g),He=iw(ue,ts(T));return Js(ue,He).join("")};var JA=/\w*$/;const XA=function uw(g,T){var j=30,ue="...";if(ot(T)){var He="separator"in T?T.separator:He;j="length"in T?Te(T.length):j,ue="omission"in T?Xe(T.omission):ue}var _t=(g=Ti(g)).length;if(mc(g)){var Ot=ts(g);_t=Ot.length}if(j>=_t)return g;var Qt=j-iu(ue);if(Qt<1)return ue;var sn=Ot?Js(Ot,0,Qt).join(""):g.slice(0,Qt);if(void 0===He)return sn+ue;if(Ot&&(Qt+=sn.length-Qt),Hs(He)){if(g.slice(Qt).search(He)){var Rn,Fn=sn;for(He.global||(He=RegExp(He.source,Ti(JA.exec(He))+"g")),He.lastIndex=0;Rn=He.exec(Fn);)var Yn=Rn.index;sn=sn.slice(0,void 0===Yn?Qt:Yn)}}else if(g.indexOf(Xe(He),Qt)!=Qt){var gr=sn.lastIndexOf(He);gr>-1&&(sn=sn.slice(0,gr))}return sn+ue},sb=function qA(g){return Ar(g,1)},hw=pc({"&":"&","<":"<",">":">",""":'"',"'":"'"});var lb=/&(?:amp|lt|gt|quot|#39);/g,cb=RegExp(lb.source);const db=function ub(g){return(g=Ti(g))&&cb.test(g)?g.replace(lb,hw):g};var _m=Pl&&1/Tc(new Pl([,-0]))[1]==1/0?function(g){return new Pl(g)}:he;const hb=_m,Vs=function mw(g,T,j){var ue=-1,He=ei,_t=g.length,Ot=!0,Qt=[],sn=Qt;if(j)Ot=!1,He=rd;else if(_t>=200){var Rn=T?null:hb(g);if(Rn)return Tc(Rn);Ot=!1,He=Yu,sn=new Bh}else sn=T?[]:Qt;e:for(;++ue<_t;){var Fn=g[ue],Yn=T?T(Fn):Fn;if(Fn=j||0!==Fn?Fn:0,Ot&&Yn==Yn){for(var gr=sn.length;gr--;)if(sn[gr]===Yn)continue e;T&&sn.push(Yn),Qt.push(Fn)}else He(sn,Yn,j)||(sn!==Qt&&sn.push(Yn),Qt.push(Fn))}return Qt};var tP=Y(function(g){return Vs(fa(g,1,Po,!0))});const fb=tP;var gw=Y(function(g){var T=xa(g);return Po(T)&&(T=void 0),Vs(fa(g,1,Po,!0),di(T))});const Ys=gw;var vm=Y(function(g){var T=xa(g);return T="function"==typeof T?T:void 0,Vs(fa(g,1,Po,!0),void 0,T)});const xd=vm,bm=function pw(g){return g&&g.length?Vs(g):[]},vw=function _w(g,T){return g&&g.length?Vs(g,di(T)):[]},yw=function bw(g,T){return T="function"==typeof T?T:void 0,g&&g.length?Vs(g,void 0,T):[]};var Cw=0;const Sw=function Mw(g){var T=++Cw;return Ti(g)+T},mb=function tk(g,T){return null==g||$f(g,T)};var nP=Math.max;const Od=function Ew(g){if(!g||!g.length)return[];var T=0;return g=Ns(g,function(j){if(Po(j))return T=nP(j.length,T),!0}),Sr(T,function(j){return ce(g,PC(j))})},gb=function rP(g,T){if(!g||!g.length)return[];var j=Od(g);return null==T?j:ce(j,function(ue){return mn(T,void 0,ue)})},ww=function ym(g,T,j,ue){return qc(g,T,j(Qs(g,T)),ue)},Dw=function iP(g,T,j){return null==g?g:ww(g,T,ys(j))},Cm=function Tw(g,T,j,ue){return ue="function"==typeof ue?ue:void 0,null==g?g:ww(g,T,ys(j),ue)};var pb=yc(function(g,T,j){return g+(j?" ":"")+T.toUpperCase()});const $s=pb,vb=function _b(g){return null==g?[]:iM(g,pa(g))};var Iw=Y(function(g,T){return Po(g)?Oc(g,T):[]});const bb=Iw,Ld=function Aw(g,T){return qf(ys(T),g)};var oP=Zs(function(g){var T=g.length,j=T?g[0]:0,ue=this.__wrapped__,He=function(_t){return Kd(_t,g)};return!(T>1||this.__actions__.length)&&ue instanceof Q&&It(j)?((ue=ue.slice(j,+j+(T?1:0))).__actions__.push({func:fu,args:[He],thisArg:void 0}),new bn(ue,this.__chain__).thru(function(_t){return T&&!_t.length&&_t.push(void 0),_t})):this.thru(He)});const Pw=oP,xw=function kw(){return mg(this)},Ow=function aP(){var g=this.__wrapped__;if(g instanceof Q){var T=g;return this.__actions__.length&&(T=new Q(this)),(T=T.reverse()).__actions__.push({func:fu,args:[su],thisArg:void 0}),new bn(T,this.__chain__)}return this.thru(su)},Mm=function sP(g,T,j){var ue=g.length;if(ue<2)return ue?Vs(g[0]):[];for(var He=-1,_t=Array(ue);++He1?g[T-1]:void 0;return j="function"==typeof j?(g.pop(),j):void 0,gb(g,j)});const wm=uP,wr={chunk:Cc,compact:hC,concat:Sa,difference:QC,differenceBy:Lc,differenceWith:ZC,drop:qC,dropRight:Mp,dropRightWhile:No,dropWhile:tf,fill:cf,findIndex:cd,findLastIndex:df,first:ud,flatten:Jd,flattenDeep:R0,flattenDepth:Up,fromPairs:Hp,head:ud,indexOf:oM,initial:zp,intersection:ko,intersectionBy:Nl,intersectionWith:Vc,join:RM,last:xa,lastIndexOf:FM,nth:x_,pull:PS,pullAll:X_,pullAllBy:kS,pullAllWith:xS,pullAt:em,remove:mv,reverse:su,slice:Fv,sortedIndex:sE,sortedIndexBy:Hv,sortedIndexOf:Vv,sortedLastIndex:Yv,sortedLastIndexBy:$v,sortedLastIndexOf:zv,sortedUniq:Wv,sortedUniqBy:Gv,tail:Jv,take:Xv,takeRight:mm,takeRightWhile:PE,takeWhile:pm,union:fb,unionBy:Ys,unionWith:xd,uniq:bm,uniqBy:vw,uniqWith:yw,unzip:Od,unzipWith:gb,without:bb,xor:Rw,xorBy:Fw,xorWith:Sm,zip:Nw,zipObject:Cb,zipObjectDeep:Em,zipWith:wm},zi={countBy:NC,each:id,eachRight:od,every:g0,filter:C0,find:S0,findLast:T0,flatMap:x0,flatMapDeep:L0,flatMapDepth:Np,forEach:id,forEachRight:od,groupBy:G0,includes:nl,invokeMap:Df,keyBy:Nf,map:Nc,orderBy:Qf,partition:G_,reduce:dv,reduceRight:hv,reject:fv,sample:am,sampleSize:lm,shuffle:eE,size:Rv,some:Bv,sortBy:jv},rk={now:xc},Yo={after:$e,ary:Ar,before:Qm,bind:Cl,bindKey:fc,curry:Ll,curryRight:qu,debounce:fp,defer:bp,delay:gT,flip:U0,memoize:Lb,negate:zl,once:cS,overArgs:ol,partial:qf,partialRight:au,rearg:rm,rest:_v,spread:Kv,throttle:WE,unary:sb,wrap:Ld},Br={castArray:Sy,clone:Rh,cloneDeep:Fh,cloneDeepWith:zg,cloneWith:uC,conformsTo:kc,eq:to,gt:Yp,gte:nI,isArguments:da,isArray:ct,isArrayBuffer:Tf,isArrayLike:P,isArrayLikeObject:Po,isBoolean:qp,isBuffer:qo,isDate:_M,isElement:vM,isEmpty:If,isEqual:t_,isEqualWith:n_,isError:th,isFinite:r_,isFunction:or,isInteger:Af,isLength:Me,isMap:Hu,isMatch:i_,isMatchWith:o_,isNaN:a_,isNative:s_,isNil:zc,isNull:Bl,isNumber:Pf,isObject:ot,isObjectLike:R,isPlainObject:xs,isRegExp:Hs,isSafeInteger:Vl,isSet:Zy,isString:fd,isSymbol:H,isTypedArray:W,isUndefined:Yl,isWeakMap:xf,isWeakSet:Of,lt:jM,lte:v_,toArray:Vf,toFinite:ln,toInteger:Te,toLength:ld,toNumber:$n,toPlainObject:HC,toSafeInteger:ew,toString:Ti},wa={add:Ae,ceil:wy,divide:JC,floor:Uc,max:S_,maxBy:Ka,mean:WM,meanBy:Xc,min:QM,minBy:T_,multiply:I_,round:om,subtract:wE,sum:hu,sumBy:fm},Sb={clamp:LD,inRange:nM,random:_A},ci={assign:Pa,assignIn:zr,assignInWith:hl,assignWith:Bd,at:Fb,create:up,defaults:Wa,defaultsDeep:vp,entries:is,entriesIn:Tp,extend:zr,extendWith:hl,findKey:kp,findLastKey:A0,forIn:Y0,forInRight:$0,forOwn:jp,forOwnRight:ff,functions:mf,functionsIn:W0,get:Au,has:eM,hasIn:$h,invert:_d,invertBy:uM,invoke:hM,keys:no,keysIn:pa,mapKeys:VM,mapValues:b_,merge:w_,mergeWith:_p,omit:bd,omitBy:Gf,pick:K_,pickBy:eu,result:im,set:cm,setWith:um,toPairs:is,toPairsIn:Tp,transform:nw,unset:mb,update:Dw,updateWith:Cm,values:va,valuesIn:vb},fo={at:Pw,chain:mg,commit:Nh,lodash:it,next:Yf,plant:Ed,reverse:Ow,tap:qv,thru:fu,toIterator:ob,toJSON:Ql,value:Ql,valueOf:Ql,wrapperChain:xw},Oi={camelCase:Dl,capitalize:uh,deburr:Os,endsWith:Rl,escape:sf,escapeRegExp:h0,kebabCase:Ff,lowerCase:UM,lowerFirst:p_,pad:Sd,padEnd:SS,padStart:ou,parseInt:wS,repeat:gv,replace:pv,snakeCase:Nv,split:vE,startCase:Qv,startsWith:uu,template:rb,templateSettings:Id,toLower:ZE,toUpper:tw,trim:ow,trimEnd:aw,trimStart:lw,truncate:XA,unescape:db,upperCase:$s,upperFirst:rg,words:hg},Wi={attempt:nh,bindAll:Ub,cond:xC,conforms:sp,constant:ri,defaultTo:mp,flow:H0,flowRight:Bp,identity:ft,iteratee:Lf,matches:CI,matchesProperty:Uf,method:GM,methodOf:D_,mixin:Hf,noop:he,nthArg:O_,over:hS,overEvery:yd,overSome:Ea,property:kC,propertyOf:Q_,range:tm,rangeRight:nm,stubArray:Mg,stubFalse:ls,stubObject:Zv,stubString:ba,stubTrue:EE,times:KE,toPath:JE,uniqueId:Sw};var ok=Math.max,ak=Math.min;var Hw=Math.min;var Fd=4294967295,Nd=Array.prototype,wb=Object.prototype.hasOwnProperty,pP=o?o.iterator:void 0,sk=Math.max,_P=Math.min,Db=function(g){return function(T,j,ue){if(null==ue){var He=ot(j),_t=He&&no(j),Ot=_t&&_t.length&&dd(j,_t);(Ot?Ot.length:He)||(ue=j,j=T,T=this)}return g(T,j,ue)}}(Hf);it.after=Yo.after,it.ary=Yo.ary,it.assign=ci.assign,it.assignIn=ci.assignIn,it.assignInWith=ci.assignInWith,it.assignWith=ci.assignWith,it.at=ci.at,it.before=Yo.before,it.bind=Yo.bind,it.bindAll=Wi.bindAll,it.bindKey=Yo.bindKey,it.castArray=Br.castArray,it.chain=fo.chain,it.chunk=wr.chunk,it.compact=wr.compact,it.concat=wr.concat,it.cond=Wi.cond,it.conforms=Wi.conforms,it.constant=Wi.constant,it.countBy=zi.countBy,it.create=ci.create,it.curry=Yo.curry,it.curryRight=Yo.curryRight,it.debounce=Yo.debounce,it.defaults=ci.defaults,it.defaultsDeep=ci.defaultsDeep,it.defer=Yo.defer,it.delay=Yo.delay,it.difference=wr.difference,it.differenceBy=wr.differenceBy,it.differenceWith=wr.differenceWith,it.drop=wr.drop,it.dropRight=wr.dropRight,it.dropRightWhile=wr.dropRightWhile,it.dropWhile=wr.dropWhile,it.fill=wr.fill,it.filter=zi.filter,it.flatMap=zi.flatMap,it.flatMapDeep=zi.flatMapDeep,it.flatMapDepth=zi.flatMapDepth,it.flatten=wr.flatten,it.flattenDeep=wr.flattenDeep,it.flattenDepth=wr.flattenDepth,it.flip=Yo.flip,it.flow=Wi.flow,it.flowRight=Wi.flowRight,it.fromPairs=wr.fromPairs,it.functions=ci.functions,it.functionsIn=ci.functionsIn,it.groupBy=zi.groupBy,it.initial=wr.initial,it.intersection=wr.intersection,it.intersectionBy=wr.intersectionBy,it.intersectionWith=wr.intersectionWith,it.invert=ci.invert,it.invertBy=ci.invertBy,it.invokeMap=zi.invokeMap,it.iteratee=Wi.iteratee,it.keyBy=zi.keyBy,it.keys=no,it.keysIn=ci.keysIn,it.map=zi.map,it.mapKeys=ci.mapKeys,it.mapValues=ci.mapValues,it.matches=Wi.matches,it.matchesProperty=Wi.matchesProperty,it.memoize=Yo.memoize,it.merge=ci.merge,it.mergeWith=ci.mergeWith,it.method=Wi.method,it.methodOf=Wi.methodOf,it.mixin=Db,it.negate=zl,it.nthArg=Wi.nthArg,it.omit=ci.omit,it.omitBy=ci.omitBy,it.once=Yo.once,it.orderBy=zi.orderBy,it.over=Wi.over,it.overArgs=Yo.overArgs,it.overEvery=Wi.overEvery,it.overSome=Wi.overSome,it.partial=Yo.partial,it.partialRight=Yo.partialRight,it.partition=zi.partition,it.pick=ci.pick,it.pickBy=ci.pickBy,it.property=Wi.property,it.propertyOf=Wi.propertyOf,it.pull=wr.pull,it.pullAll=wr.pullAll,it.pullAllBy=wr.pullAllBy,it.pullAllWith=wr.pullAllWith,it.pullAt=wr.pullAt,it.range=Wi.range,it.rangeRight=Wi.rangeRight,it.rearg=Yo.rearg,it.reject=zi.reject,it.remove=wr.remove,it.rest=Yo.rest,it.reverse=wr.reverse,it.sampleSize=zi.sampleSize,it.set=ci.set,it.setWith=ci.setWith,it.shuffle=zi.shuffle,it.slice=wr.slice,it.sortBy=zi.sortBy,it.sortedUniq=wr.sortedUniq,it.sortedUniqBy=wr.sortedUniqBy,it.split=Oi.split,it.spread=Yo.spread,it.tail=wr.tail,it.take=wr.take,it.takeRight=wr.takeRight,it.takeRightWhile=wr.takeRightWhile,it.takeWhile=wr.takeWhile,it.tap=fo.tap,it.throttle=Yo.throttle,it.thru=fu,it.toArray=Br.toArray,it.toPairs=ci.toPairs,it.toPairsIn=ci.toPairsIn,it.toPath=Wi.toPath,it.toPlainObject=Br.toPlainObject,it.transform=ci.transform,it.unary=Yo.unary,it.union=wr.union,it.unionBy=wr.unionBy,it.unionWith=wr.unionWith,it.uniq=wr.uniq,it.uniqBy=wr.uniqBy,it.uniqWith=wr.uniqWith,it.unset=ci.unset,it.unzip=wr.unzip,it.unzipWith=wr.unzipWith,it.update=ci.update,it.updateWith=ci.updateWith,it.values=ci.values,it.valuesIn=ci.valuesIn,it.without=wr.without,it.words=Oi.words,it.wrap=Yo.wrap,it.xor=wr.xor,it.xorBy=wr.xorBy,it.xorWith=wr.xorWith,it.zip=wr.zip,it.zipObject=wr.zipObject,it.zipObjectDeep=wr.zipObjectDeep,it.zipWith=wr.zipWith,it.entries=ci.toPairs,it.entriesIn=ci.toPairsIn,it.extend=ci.assignIn,it.extendWith=ci.assignInWith,Db(it,it),it.add=wa.add,it.attempt=Wi.attempt,it.camelCase=Oi.camelCase,it.capitalize=Oi.capitalize,it.ceil=wa.ceil,it.clamp=Sb.clamp,it.clone=Br.clone,it.cloneDeep=Br.cloneDeep,it.cloneDeepWith=Br.cloneDeepWith,it.cloneWith=Br.cloneWith,it.conformsTo=Br.conformsTo,it.deburr=Oi.deburr,it.defaultTo=Wi.defaultTo,it.divide=wa.divide,it.endsWith=Oi.endsWith,it.eq=Br.eq,it.escape=Oi.escape,it.escapeRegExp=Oi.escapeRegExp,it.every=zi.every,it.find=zi.find,it.findIndex=wr.findIndex,it.findKey=ci.findKey,it.findLast=zi.findLast,it.findLastIndex=wr.findLastIndex,it.findLastKey=ci.findLastKey,it.floor=wa.floor,it.forEach=zi.forEach,it.forEachRight=zi.forEachRight,it.forIn=ci.forIn,it.forInRight=ci.forInRight,it.forOwn=ci.forOwn,it.forOwnRight=ci.forOwnRight,it.get=ci.get,it.gt=Br.gt,it.gte=Br.gte,it.has=ci.has,it.hasIn=ci.hasIn,it.head=wr.head,it.identity=ft,it.includes=zi.includes,it.indexOf=wr.indexOf,it.inRange=Sb.inRange,it.invoke=ci.invoke,it.isArguments=Br.isArguments,it.isArray=ct,it.isArrayBuffer=Br.isArrayBuffer,it.isArrayLike=Br.isArrayLike,it.isArrayLikeObject=Br.isArrayLikeObject,it.isBoolean=Br.isBoolean,it.isBuffer=Br.isBuffer,it.isDate=Br.isDate,it.isElement=Br.isElement,it.isEmpty=Br.isEmpty,it.isEqual=Br.isEqual,it.isEqualWith=Br.isEqualWith,it.isError=Br.isError,it.isFinite=Br.isFinite,it.isFunction=Br.isFunction,it.isInteger=Br.isInteger,it.isLength=Br.isLength,it.isMap=Br.isMap,it.isMatch=Br.isMatch,it.isMatchWith=Br.isMatchWith,it.isNaN=Br.isNaN,it.isNative=Br.isNative,it.isNil=Br.isNil,it.isNull=Br.isNull,it.isNumber=Br.isNumber,it.isObject=ot,it.isObjectLike=Br.isObjectLike,it.isPlainObject=Br.isPlainObject,it.isRegExp=Br.isRegExp,it.isSafeInteger=Br.isSafeInteger,it.isSet=Br.isSet,it.isString=Br.isString,it.isSymbol=Br.isSymbol,it.isTypedArray=Br.isTypedArray,it.isUndefined=Br.isUndefined,it.isWeakMap=Br.isWeakMap,it.isWeakSet=Br.isWeakSet,it.join=wr.join,it.kebabCase=Oi.kebabCase,it.last=xa,it.lastIndexOf=wr.lastIndexOf,it.lowerCase=Oi.lowerCase,it.lowerFirst=Oi.lowerFirst,it.lt=Br.lt,it.lte=Br.lte,it.max=wa.max,it.maxBy=wa.maxBy,it.mean=wa.mean,it.meanBy=wa.meanBy,it.min=wa.min,it.minBy=wa.minBy,it.stubArray=Wi.stubArray,it.stubFalse=Wi.stubFalse,it.stubObject=Wi.stubObject,it.stubString=Wi.stubString,it.stubTrue=Wi.stubTrue,it.multiply=wa.multiply,it.nth=wr.nth,it.noop=Wi.noop,it.now=rk.now,it.pad=Oi.pad,it.padEnd=Oi.padEnd,it.padStart=Oi.padStart,it.parseInt=Oi.parseInt,it.random=Sb.random,it.reduce=zi.reduce,it.reduceRight=zi.reduceRight,it.repeat=Oi.repeat,it.replace=Oi.replace,it.result=ci.result,it.round=wa.round,it.sample=zi.sample,it.size=zi.size,it.snakeCase=Oi.snakeCase,it.some=zi.some,it.sortedIndex=wr.sortedIndex,it.sortedIndexBy=wr.sortedIndexBy,it.sortedIndexOf=wr.sortedIndexOf,it.sortedLastIndex=wr.sortedLastIndex,it.sortedLastIndexBy=wr.sortedLastIndexBy,it.sortedLastIndexOf=wr.sortedLastIndexOf,it.startCase=Oi.startCase,it.startsWith=Oi.startsWith,it.subtract=wa.subtract,it.sum=wa.sum,it.sumBy=wa.sumBy,it.template=Oi.template,it.times=Wi.times,it.toFinite=Br.toFinite,it.toInteger=Te,it.toLength=Br.toLength,it.toLower=Oi.toLower,it.toNumber=Br.toNumber,it.toSafeInteger=Br.toSafeInteger,it.toString=Br.toString,it.toUpper=Oi.toUpper,it.trim=Oi.trim,it.trimEnd=Oi.trimEnd,it.trimStart=Oi.trimStart,it.truncate=Oi.truncate,it.unescape=Oi.unescape,it.uniqueId=Wi.uniqueId,it.upperCase=Oi.upperCase,it.upperFirst=Oi.upperFirst,it.each=zi.forEach,it.eachRight=zi.forEachRight,it.first=wr.head,Db(it,function(){var g={};return bs(it,function(T,j){wb.call(it.prototype,j)||(g[j]=T)}),g}(),{chain:!1}),it.VERSION="4.17.21",(it.templateSettings=Oi.templateSettings).imports._=it,ai(["bind","bindKey","curry","curryRight","partial","partialRight"],function(g){it[g].placeholder=it}),ai(["drop","take"],function(g,T){Q.prototype[g]=function(j){j=void 0===j?1:sk(Te(j),0);var ue=this.__filtered__&&!T?new Q(this):this.clone();return ue.__filtered__?ue.__takeCount__=_P(j,ue.__takeCount__):ue.__views__.push({size:_P(j,Fd),type:g+(ue.__dir__<0?"Right":"")}),ue},Q.prototype[g+"Right"]=function(j){return this.reverse()[g](j).reverse()}}),ai(["filter","map","takeWhile"],function(g,T){var j=T+1,ue=1==j||3==j;Q.prototype[g]=function(He){var _t=this.clone();return _t.__iteratees__.push({iteratee:di(He),type:j}),_t.__filtered__=_t.__filtered__||ue,_t}}),ai(["head","last"],function(g,T){var j="take"+(T?"Right":"");Q.prototype[g]=function(){return this[j](1).value()[0]}}),ai(["initial","tail"],function(g,T){var j="drop"+(T?"":"Right");Q.prototype[g]=function(){return this.__filtered__?new Q(this):this[j](1)}}),Q.prototype.compact=function(){return this.filter(ft)},Q.prototype.find=function(g){return this.filter(g).head()},Q.prototype.findLast=function(g){return this.reverse().find(g)},Q.prototype.invokeMap=Y(function(g,T){return"function"==typeof g?new Q(this):this.map(function(j){return vd(j,g,T)})}),Q.prototype.reject=function(g){return this.filter(zl(di(g)))},Q.prototype.slice=function(g,T){g=Te(g);var j=this;return j.__filtered__&&(g>0||T<0)?new Q(j):(g<0?j=j.takeRight(-g):g&&(j=j.drop(g)),void 0!==T&&(j=(T=Te(T))<0?j.dropRight(-T):j.take(T-g)),j)},Q.prototype.takeRightWhile=function(g){return this.reverse().takeWhile(g).reverse()},Q.prototype.toArray=function(){return this.take(Fd)},bs(Q.prototype,function(g,T){var j=/^(?:filter|find|map|reject)|While$/.test(T),ue=/^(?:head|last)$/.test(T),He=it[ue?"take"+("last"==T?"Right":""):T],_t=ue||/^find/.test(T);He&&(it.prototype[T]=function(){var Ot=this.__wrapped__,Qt=ue?[1]:arguments,sn=Ot instanceof Q,Rn=Qt[0],Fn=sn||ct(Ot),Yn=function(Ei){var Ii=He.apply(it,ka([Ei],Qt));return ue&&gr?Ii[0]:Ii};Fn&&j&&"function"==typeof Rn&&1!=Rn.length&&(sn=Fn=!1);var gr=this.__chain__,Wr=_t&&!gr,bi=sn&&!this.__actions__.length;if(!_t&&Fn){Ot=bi?Ot:new Q(this);var Hr=g.apply(Ot,Qt);return Hr.__actions__.push({func:fu,args:[Yn],thisArg:void 0}),new bn(Hr,gr)}return Wr&&bi?g.apply(this,Qt):(Hr=this.thru(Yn),Wr?ue?Hr.value()[0]:Hr.value():Hr)})}),ai(["pop","push","shift","sort","splice","unshift"],function(g){var T=Nd[g],j=/^(?:push|sort|unshift)$/.test(g)?"tap":"thru",ue=/^(?:pop|shift)$/.test(g);it.prototype[g]=function(){var He=arguments;if(ue&&!this.__chain__){var _t=this.value();return T.apply(ct(_t)?_t:[],He)}return this[j](function(Ot){return T.apply(ct(Ot)?Ot:[],He)})}}),bs(Q.prototype,function(g,T){var j=it[T];if(j){var ue=j.name+"";wb.call(ht,ue)||(ht[ue]=[]),ht[ue].push({name:T,func:j})}}),ht[qi(void 0,2).name]=[{name:"wrapper",func:void 0}],Q.prototype.clone=function Dm(){var g=new Q(this.__wrapped__);return g.__actions__=In(this.__actions__),g.__dir__=this.__dir__,g.__filtered__=this.__filtered__,g.__iteratees__=In(this.__iteratees__),g.__takeCount__=this.__takeCount__,g.__views__=In(this.__views__),g},Q.prototype.reverse=function ik(){if(this.__filtered__){var g=new Q(this);g.__dir__=-1,g.__filtered__=!0}else(g=this.clone()).__dir__*=-1;return g},Q.prototype.value=function Vw(){var g=this.__wrapped__.value(),T=this.__dir__,j=ct(g),ue=T<0,He=j?g.length:0,_t=function Eb(g,T,j){for(var ue=-1,He=j.length;++ue{"use strict";function n(u,c,i,e,o,h,v){try{var M=u[h](v),p=M.value}catch(E){return void i(E)}M.done?c(p):Promise.resolve(p).then(e,o)}function l(u){return function(){var c=this,i=arguments;return new Promise(function(e,o){var h=u.apply(c,i);function v(p){n(h,e,o,v,M,"next",p)}function M(p){n(h,e,o,v,M,"throw",p)}v(void 0)})}}s.d(m,{c:()=>l})},81316:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{__addDisposableResource:()=>ce,__assign:()=>u,__asyncDelegator:()=>G,__asyncGenerator:()=>V,__asyncValues:()=>R,__await:()=>N,__awaiter:()=>E,__classPrivateFieldGet:()=>ie,__classPrivateFieldIn:()=>be,__classPrivateFieldSet:()=>X,__createBinding:()=>y,__decorate:()=>i,__disposeResources:()=>ct,__esDecorate:()=>o,__exportStar:()=>f,__extends:()=>l,__generator:()=>S,__importDefault:()=>K,__importStar:()=>H,__makeTemplateObject:()=>k,__metadata:()=>p,__param:()=>e,__propKey:()=>v,__read:()=>_,__rest:()=>c,__runInitializers:()=>h,__setFunctionName:()=>M,__spread:()=>w,__spreadArray:()=>L,__spreadArrays:()=>D,__values:()=>C,default:()=>xe});var n=function(Ie,Le){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Ue,Xe){Ue.__proto__=Xe}||function(Ue,Xe){for(var _e in Xe)Object.prototype.hasOwnProperty.call(Xe,_e)&&(Ue[_e]=Xe[_e])})(Ie,Le)};function l(Ie,Le){if("function"!=typeof Le&&null!==Le)throw new TypeError("Class extends value "+String(Le)+" is not a constructor or null");function Ue(){this.constructor=Ie}n(Ie,Le),Ie.prototype=null===Le?Object.create(Le):(Ue.prototype=Le.prototype,new Ue)}var u=function(){return u=Object.assign||function(Le){for(var Ue,Xe=1,_e=arguments.length;Xe<_e;Xe++)for(var Fe in Ue=arguments[Xe])Object.prototype.hasOwnProperty.call(Ue,Fe)&&(Le[Fe]=Ue[Fe]);return Le},u.apply(this,arguments)};function c(Ie,Le){var Ue={};for(var Xe in Ie)Object.prototype.hasOwnProperty.call(Ie,Xe)&&Le.indexOf(Xe)<0&&(Ue[Xe]=Ie[Xe]);if(null!=Ie&&"function"==typeof Object.getOwnPropertySymbols){var _e=0;for(Xe=Object.getOwnPropertySymbols(Ie);_e=0;Ae--)(Ce=Ie[Ae])&&(Fe=(_e<3?Ce(Fe):_e>3?Ce(Le,Ue,Fe):Ce(Le,Ue))||Fe);return _e>3&&Fe&&Object.defineProperty(Le,Ue,Fe),Fe}function e(Ie,Le){return function(Ue,Xe){Le(Ue,Xe,Ie)}}function o(Ie,Le,Ue,Xe,_e,Fe){function Ce(nn){if(void 0!==nn&&"function"!=typeof nn)throw new TypeError("Function expected");return nn}for(var et,Ae=Xe.kind,Be="getter"===Ae?"get":"setter"===Ae?"set":"value",re=!Le&&Ie?Xe.static?Ie:Ie.prototype:null,Ee=Le||(re?Object.getOwnPropertyDescriptor(re,Xe.name):{}),vt=!1,Tt=Ue.length-1;Tt>=0;Tt--){var dt={};for(var ot in Xe)dt[ot]="access"===ot?{}:Xe[ot];for(var ot in Xe.access)dt.access[ot]=Xe.access[ot];dt.addInitializer=function(nn){if(vt)throw new TypeError("Cannot add initializers after decoration has completed");Fe.push(Ce(nn||null))};var Vt=(0,Ue[Tt])("accessor"===Ae?{get:Ee.get,set:Ee.set}:Ee[Be],dt);if("accessor"===Ae){if(void 0===Vt)continue;if(null===Vt||"object"!=typeof Vt)throw new TypeError("Object expected");(et=Ce(Vt.get))&&(Ee.get=et),(et=Ce(Vt.set))&&(Ee.set=et),(et=Ce(Vt.init))&&_e.unshift(et)}else(et=Ce(Vt))&&("field"===Ae?_e.unshift(et):Ee[Be]=et)}re&&Object.defineProperty(re,Xe.name,Ee),vt=!0}function h(Ie,Le,Ue){for(var Xe=arguments.length>2,_e=0;_e0&&Fe[Fe.length-1])&&(6===re[0]||2===re[0])){Ue=0;continue}if(3===re[0]&&(!Fe||re[1]>Fe[0]&&re[1]=Ie.length&&(Ie=void 0),{value:Ie&&Ie[Xe++],done:!Ie}}};throw new TypeError(Le?"Object is not iterable.":"Symbol.iterator is not defined.")}function _(Ie,Le){var Ue="function"==typeof Symbol&&Ie[Symbol.iterator];if(!Ue)return Ie;var _e,Ce,Xe=Ue.call(Ie),Fe=[];try{for(;(void 0===Le||Le-- >0)&&!(_e=Xe.next()).done;)Fe.push(_e.value)}catch(Ae){Ce={error:Ae}}finally{try{_e&&!_e.done&&(Ue=Xe.return)&&Ue.call(Xe)}finally{if(Ce)throw Ce.error}}return Fe}function w(){for(var Ie=[],Le=0;Le1||Ae(vt,Tt)})})}function Ae(vt,Tt){try{!function Be(vt){vt.value instanceof N?Promise.resolve(vt.value.v).then(re,Ee):et(Fe[0][2],vt)}(Xe[vt](Tt))}catch(dt){et(Fe[0][3],dt)}}function re(vt){Ae("next",vt)}function Ee(vt){Ae("throw",vt)}function et(vt,Tt){vt(Tt),Fe.shift(),Fe.length&&Ae(Fe[0][0],Fe[0][1])}}function G(Ie){var Le,Ue;return Le={},Xe("next"),Xe("throw",function(_e){throw _e}),Xe("return"),Le[Symbol.iterator]=function(){return this},Le;function Xe(_e,Fe){Le[_e]=Ie[_e]?function(Ce){return(Ue=!Ue)?{value:N(Ie[_e](Ce)),done:!1}:Fe?Fe(Ce):Ce}:Fe}}function R(Ie){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Ue,Le=Ie[Symbol.asyncIterator];return Le?Le.call(Ie):(Ie=C(Ie),Ue={},Xe("next"),Xe("throw"),Xe("return"),Ue[Symbol.asyncIterator]=function(){return this},Ue);function Xe(Fe){Ue[Fe]=Ie[Fe]&&function(Ce){return new Promise(function(Ae,Be){!function _e(Fe,Ce,Ae,Be){Promise.resolve(Be).then(function(re){Fe({value:re,done:Ae})},Ce)}(Ae,Be,(Ce=Ie[Fe](Ce)).done,Ce.value)})}}}function k(Ie,Le){return Object.defineProperty?Object.defineProperty(Ie,"raw",{value:Le}):Ie.raw=Le,Ie}var A=Object.create?function(Ie,Le){Object.defineProperty(Ie,"default",{enumerable:!0,value:Le})}:function(Ie,Le){Ie.default=Le};function H(Ie){if(Ie&&Ie.__esModule)return Ie;var Le={};if(null!=Ie)for(var Ue in Ie)"default"!==Ue&&Object.prototype.hasOwnProperty.call(Ie,Ue)&&y(Le,Ie,Ue);return A(Le,Ie),Le}function K(Ie){return Ie&&Ie.__esModule?Ie:{default:Ie}}function ie(Ie,Le,Ue,Xe){if("a"===Ue&&!Xe)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof Le?Ie!==Le||!Xe:!Le.has(Ie))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===Ue?Xe:"a"===Ue?Xe.call(Ie):Xe?Xe.value:Le.get(Ie)}function X(Ie,Le,Ue,Xe,_e){if("m"===Xe)throw new TypeError("Private method is not writable");if("a"===Xe&&!_e)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof Le?Ie!==Le||!_e:!Le.has(Ie))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===Xe?_e.call(Ie,Ue):_e?_e.value=Ue:Le.set(Ie,Ue),Ue}function be(Ie,Le){if(null===Le||"object"!=typeof Le&&"function"!=typeof Le)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof Ie?Le===Ie:Ie.has(Le)}function ce(Ie,Le,Ue){if(null!=Le){if("object"!=typeof Le&&"function"!=typeof Le)throw new TypeError("Object expected.");var Xe;if(Ue){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");Xe=Le[Symbol.asyncDispose]}if(void 0===Xe){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");Xe=Le[Symbol.dispose]}if("function"!=typeof Xe)throw new TypeError("Object not disposable.");Ie.stack.push({value:Le,dispose:Xe,async:Ue})}else Ue&&Ie.stack.push({async:!0});return Le}var ze="function"==typeof SuppressedError?SuppressedError:function(Ie,Le,Ue){var Xe=new Error(Ue);return Xe.name="SuppressedError",Xe.error=Ie,Xe.suppressed=Le,Xe};function ct(Ie){function Le(Xe){Ie.error=Ie.hasError?new ze(Xe,Ie.error,"An error was suppressed during disposal."):Xe,Ie.hasError=!0}return function Ue(){for(;Ie.stack.length;){var Xe=Ie.stack.pop();try{var _e=Xe.dispose&&Xe.dispose.call(Xe.value);if(Xe.async)return Promise.resolve(_e).then(Ue,function(Fe){return Le(Fe),Ue()})}catch(Fe){Le(Fe)}}if(Ie.hasError)throw Ie.error}()}const xe={__extends:l,__assign:u,__rest:c,__decorate:i,__param:e,__metadata:p,__awaiter:E,__generator:S,__createBinding:y,__exportStar:f,__values:C,__read:_,__spread:w,__spreadArrays:D,__spreadArray:L,__await:N,__asyncGenerator:V,__asyncDelegator:G,__asyncValues:R,__makeTemplateObject:k,__importStar:H,__importDefault:K,__classPrivateFieldGet:ie,__classPrivateFieldSet:X,__classPrivateFieldIn:be,__addDisposableResource:ce,__disposeResources:ct}}},pe=>{pe(pe.s=27460)}]); \ No newline at end of file diff --git a/www/main.aa9d44e4d803a702.js b/www/main.aa9d44e4d803a702.js new file mode 100644 index 0000000..329af7d --- /dev/null +++ b/www/main.aa9d44e4d803a702.js @@ -0,0 +1 @@ +(self.webpackChunkapp=self.webpackChunkapp||[]).push([[1590],{19248:(pe,m,s)=>{"use strict";s.d(m,{c:()=>u,r:()=>p});const u=(k,A)=>{k.componentOnReady?k.componentOnReady().then(H=>A(H)):p(()=>A(k))},p=k=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(k):"function"==typeof requestAnimationFrame?requestAnimationFrame(k):setTimeout(k)},51896:(pe,m,s)=>{"use strict";s.d(m,{L:()=>n,a:()=>c,b:()=>u,c:()=>l,d:()=>i,g:()=>k});const n="ionViewWillEnter",c="ionViewDidEnter",u="ionViewWillLeave",l="ionViewDidLeave",i="ionViewWillUnload",k=A=>A.classList.contains("ion-page")?A:A.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||A},30388:(pe,m,s)=>{"use strict";s.d(m,{c:()=>C});var n=s(14829),c=s(46384);let u;const i=_=>_.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),e=_=>(void 0===u&&(u=void 0===_.style.animationName&&void 0!==_.style.webkitAnimationName?"-webkit-":""),u),o=(_,w,D)=>{const L=w.startsWith("animation")?e(_):"";_.style.setProperty(L+w,D)},d=(_,w)=>{const D=w.startsWith("animation")?e(_):"";_.style.removeProperty(D+w)},p=[],f=(_=[],w)=>{if(void 0!==w){const D=Array.isArray(w)?w:[w];return[..._,...D]}return _},C=_=>{let w,D,L,N,V,G,K,ke,Re,Qe,$e,Se,je,R=[],k=[],A=[],H=!1,ie={},J=[],be=[],ce={},Ge=0,ct=!1,Oe=!1,Be=!0,_e=!1,Me=!0,re=!1;const we=_,rt=[],tt=[],wt=[],ye=[],Te=[],ht=[],Ft=[],nn=[],Yt=[],Zt=[],Mn=[],Un="function"==typeof AnimationEffect||void 0!==n.w&&"function"==typeof n.w.AnimationEffect,zt="function"==typeof Element&&"function"==typeof Element.prototype.animate&&Un,kn=()=>Mn,he=(me,q)=>{const fe=q.findIndex(nt=>nt.c===me);fe>-1&&q.splice(fe,1)},ze=(me,q)=>((q?.oneTimeCallback?tt:rt).push({c:me,o:q}),je),Gt=()=>{if(zt)Mn.forEach(me=>{me.cancel()}),Mn.length=0;else{const me=ye.slice();(0,c.r)(()=>{me.forEach(q=>{d(q,"animation-name"),d(q,"animation-duration"),d(q,"animation-timing-function"),d(q,"animation-iteration-count"),d(q,"animation-delay"),d(q,"animation-play-state"),d(q,"animation-fill-mode"),d(q,"animation-direction")})})}},dn=()=>{ht.forEach(me=>{me?.parentNode&&me.parentNode.removeChild(me)}),ht.length=0},Nt=()=>void 0!==V?V:K?K.getFill():"both",He=()=>void 0!==Re?Re:void 0!==G?G:K?K.getDirection():"normal",vt=()=>ct?"linear":void 0!==L?L:K?K.getEasing():"linear",pt=()=>Oe?0:void 0!==Qe?Qe:void 0!==D?D:K?K.getDuration():0,an=()=>void 0!==N?N:K?K.getIterations():1,Ln=()=>void 0!==$e?$e:void 0!==w?w:K?K.getDelay():0,Vn=()=>{0!==Ge&&(Ge--,0===Ge&&((()=>{xr(),Yt.forEach(mt=>mt()),Zt.forEach(mt=>mt());const me=Be?1:0,q=J,fe=be,nt=ce;ye.forEach(mt=>{const Et=mt.classList;q.forEach(Ut=>Et.add(Ut)),fe.forEach(Ut=>Et.remove(Ut));for(const Ut in nt)nt.hasOwnProperty(Ut)&&o(mt,Ut,nt[Ut])}),Qe=void 0,Re=void 0,$e=void 0,rt.forEach(mt=>mt.c(me,je)),tt.forEach(mt=>mt.c(me,je)),tt.length=0,Me=!0,Be&&(_e=!0),Be=!0})(),K&&K.animationFinish()))},qn=(me=!0)=>{dn();const q=(_=>(_.forEach(w=>{for(const D in w)if(w.hasOwnProperty(D)){const L=w[D];if("easing"===D)w["animation-timing-function"]=L,delete w[D];else{const N=i(D);N!==D&&(w[N]=L,delete w[D])}}}),_))(R);ye.forEach(fe=>{if(q.length>0){const nt=((_=[])=>_.map(w=>{const D=w.offset,L=[];for(const N in w)w.hasOwnProperty(N)&&"offset"!==N&&L.push(`${N}: ${w[N]};`);return`${100*D}% { ${L.join(" ")} }`}).join(" "))(q);Se=void 0!==_?_:(_=>{let w=p.indexOf(_);return w<0&&(w=p.push(_)-1),`ion-animation-${w}`})(nt);const mt=((_,w,D)=>{var L;const N=(_=>{const w=void 0!==_.getRootNode?_.getRootNode():_;return w.head||w})(D),V=e(D),G=N.querySelector("#"+_);if(G)return G;const R=(null!==(L=D.ownerDocument)&&void 0!==L?L:document).createElement("style");return R.id=_,R.textContent=`@${V}keyframes ${_} { ${w} } @${V}keyframes ${_}-alt { ${w} }`,N.appendChild(R),R})(Se,nt,fe);ht.push(mt),o(fe,"animation-duration",`${pt()}ms`),o(fe,"animation-timing-function",vt()),o(fe,"animation-delay",`${Ln()}ms`),o(fe,"animation-fill-mode",Nt()),o(fe,"animation-direction",He());const Et=an()===1/0?"infinite":an().toString();o(fe,"animation-iteration-count",Et),o(fe,"animation-play-state","paused"),me&&o(fe,"animation-name",`${mt.id}-alt`),(0,c.r)(()=>{o(fe,"animation-name",mt.id||null)})}})},ii=(me=!0)=>{(()=>{Ft.forEach(nt=>nt()),nn.forEach(nt=>nt());const me=k,q=A,fe=ie;ye.forEach(nt=>{const mt=nt.classList;me.forEach(Et=>mt.add(Et)),q.forEach(Et=>mt.remove(Et));for(const Et in fe)fe.hasOwnProperty(Et)&&o(nt,Et,fe[Et])})})(),R.length>0&&(zt?(ye.forEach(me=>{const q=me.animate(R,{id:we,delay:Ln(),duration:pt(),easing:vt(),iterations:an(),fill:Nt(),direction:He()});q.pause(),Mn.push(q)}),Mn.length>0&&(Mn[0].onfinish=()=>{Vn()})):qn(me)),H=!0},Fr=me=>{if(me=Math.min(Math.max(me,0),.9999),zt)Mn.forEach(q=>{q.currentTime=q.effect.getComputedTiming().delay+pt()*me,q.pause()});else{const q=`-${pt()*me}ms`;ye.forEach(fe=>{R.length>0&&(o(fe,"animation-delay",q),o(fe,"animation-play-state","paused"))})}},at=me=>{Mn.forEach(q=>{q.effect.updateTiming({delay:Ln(),duration:pt(),easing:vt(),iterations:an(),fill:Nt(),direction:He()})}),void 0!==me&&Fr(me)},xt=(me=!0,q)=>{(0,c.r)(()=>{ye.forEach(fe=>{o(fe,"animation-name",Se||null),o(fe,"animation-duration",`${pt()}ms`),o(fe,"animation-timing-function",vt()),o(fe,"animation-delay",void 0!==q?`-${q*pt()}ms`:`${Ln()}ms`),o(fe,"animation-fill-mode",Nt()||null),o(fe,"animation-direction",He()||null);const nt=an()===1/0?"infinite":an().toString();o(fe,"animation-iteration-count",nt),me&&o(fe,"animation-name",`${Se}-alt`),(0,c.r)(()=>{o(fe,"animation-name",Se||null)})})})},Dt=(me=!1,q=!0,fe)=>(me&&Te.forEach(nt=>{nt.update(me,q,fe)}),zt?at(fe):xt(q,fe),je),Dn=()=>{H&&(zt?Mn.forEach(me=>{me.pause()}):ye.forEach(me=>{o(me,"animation-play-state","paused")}),re=!0)},Xn=()=>{ke=void 0,Vn()},xr=()=>{ke&&clearTimeout(ke)},un=me=>new Promise(q=>{me?.sync&&(Oe=!0,ze(()=>Oe=!1,{oneTimeCallback:!0})),H||ii(),_e&&(zt?(Fr(0),at()):xt(),_e=!1),Me&&(Ge=Te.length+1,Me=!1);const fe=()=>{he(nt,tt),q()},nt=()=>{he(fe,wt),q()};ze(nt,{oneTimeCallback:!0}),((me,q)=>{wt.push({c:me,o:{oneTimeCallback:!0}})})(fe),Te.forEach(mt=>{mt.play()}),zt?(Mn.forEach(me=>{me.play()}),(0===R.length||0===ye.length)&&Vn()):(()=>{if(xr(),(0,c.r)(()=>{ye.forEach(me=>{R.length>0&&o(me,"animation-play-state","running")})}),0===R.length||0===ye.length)Vn();else{const me=Ln()||0,q=pt()||0,fe=an()||1;isFinite(fe)&&(ke=setTimeout(Xn,me+q*fe+100)),((_,w)=>{let D;const L={passive:!0},V=G=>{_===G.target&&(D&&D(),xr(),(0,c.r)(()=>{ye.forEach(me=>{d(me,"animation-duration"),d(me,"animation-delay"),d(me,"animation-play-state")}),(0,c.r)(Vn)}))};_&&(_.addEventListener("webkitAnimationEnd",V,L),_.addEventListener("animationend",V,L),D=()=>{_.removeEventListener("webkitAnimationEnd",V,L),_.removeEventListener("animationend",V,L)})})(ye[0])}})(),re=!1}),F=(me,q)=>{const fe=R[0];return void 0===fe||void 0!==fe.offset&&0!==fe.offset?R=[{offset:0,[me]:q},...R]:fe[me]=q,je};return je={parentAnimation:K,elements:ye,childAnimations:Te,id:we,animationFinish:Vn,from:F,to:(me,q)=>{const fe=R[R.length-1];return void 0===fe||void 0!==fe.offset&&1!==fe.offset?R=[...R,{offset:1,[me]:q}]:fe[me]=q,je},fromTo:(me,q,fe)=>F(me,q).to(me,fe),parent:me=>(K=me,je),play:un,pause:()=>(Te.forEach(me=>{me.pause()}),Dn(),je),stop:()=>{Te.forEach(me=>{me.stop()}),H&&(Gt(),H=!1),ct=!1,Oe=!1,Me=!0,Re=void 0,Qe=void 0,$e=void 0,Ge=0,_e=!1,Be=!0,re=!1,wt.forEach(me=>me.c(0,je)),wt.length=0},destroy:me=>(Te.forEach(q=>{q.destroy(me)}),(me=>{Gt(),me&&dn()})(me),ye.length=0,Te.length=0,R.length=0,rt.length=0,tt.length=0,H=!1,Me=!0,je),keyframes:me=>{const q=R!==me;return R=me,q&&(me=>{zt?kn().forEach(q=>{const fe=q.effect;if(fe.setKeyframes)fe.setKeyframes(me);else{const nt=new KeyframeEffect(fe.target,me,fe.getTiming());q.effect=nt}}):qn()})(R),je},addAnimation:me=>{if(null!=me)if(Array.isArray(me))for(const q of me)q.parent(je),Te.push(q);else me.parent(je),Te.push(me);return je},addElement:me=>{if(null!=me)if(1===me.nodeType)ye.push(me);else if(me.length>=0)for(let q=0;q(V=me,Dt(!0),je),direction:me=>(G=me,Dt(!0),je),iterations:me=>(N=me,Dt(!0),je),duration:me=>(!zt&&0===me&&(me=1),D=me,Dt(!0),je),easing:me=>(L=me,Dt(!0),je),delay:me=>(w=me,Dt(!0),je),getWebAnimations:kn,getKeyframes:()=>R,getFill:Nt,getDirection:He,getDelay:Ln,getIterations:an,getEasing:vt,getDuration:pt,afterAddRead:me=>(Yt.push(me),je),afterAddWrite:me=>(Zt.push(me),je),afterClearStyles:(me=[])=>{for(const q of me)ce[q]="";return je},afterStyles:(me={})=>(ce=me,je),afterRemoveClass:me=>(be=f(be,me),je),afterAddClass:me=>(J=f(J,me),je),beforeAddRead:me=>(Ft.push(me),je),beforeAddWrite:me=>(nn.push(me),je),beforeClearStyles:(me=[])=>{for(const q of me)ie[q]="";return je},beforeStyles:(me={})=>(ie=me,je),beforeRemoveClass:me=>(A=f(A,me),je),beforeAddClass:me=>(k=f(k,me),je),onFinish:ze,isRunning:()=>0!==Ge&&!re,progressStart:(me=!1,q)=>(Te.forEach(fe=>{fe.progressStart(me,q)}),Dn(),ct=me,H||ii(),Dt(!1,!0,q),je),progressStep:me=>(Te.forEach(q=>{q.progressStep(me)}),Fr(me),je),progressEnd:(me,q,fe)=>(ct=!1,Te.forEach(nt=>{nt.progressEnd(me,q,fe)}),void 0!==fe&&(Qe=fe),_e=!1,Be=!0,0===me?(Re="reverse"===He()?"normal":"reverse","reverse"===Re&&(Be=!1),zt?(Dt(),Fr(1-q)):($e=(1-q)*pt()*-1,Dt(!1,!1))):1===me&&(zt?(Dt(),Fr(q)):($e=q*pt()*-1,Dt(!1,!1))),void 0!==me&&!K&&un(),je)}}},59637:(pe,m,s)=>{"use strict";s.d(m,{E:()=>M,I:()=>o,a:()=>n,s:()=>d});const n=p=>{try{if(p instanceof o)return p.value;if(!l()||"string"!=typeof p||""===p)return p;if(p.includes("onload="))return"";const E=document.createDocumentFragment(),S=document.createElement("div");E.appendChild(S),S.innerHTML=p,e.forEach(_=>{const w=E.querySelectorAll(_);for(let D=w.length-1;D>=0;D--){const L=w[D];L.parentNode?L.parentNode.removeChild(L):E.removeChild(L);const N=u(L);for(let V=0;V{if(p.nodeType&&1!==p.nodeType)return;if(typeof NamedNodeMap<"u"&&!(p.attributes instanceof NamedNodeMap))return void p.remove();for(let S=p.attributes.length-1;S>=0;S--){const y=p.attributes.item(S),f=y.name;if(!i.includes(f.toLowerCase())){p.removeAttribute(f);continue}const C=y.value,_=p[f];(null!=C&&C.toLowerCase().includes("javascript:")||null!=_&&_.toLowerCase().includes("javascript:"))&&p.removeAttribute(f)}const E=u(p);for(let S=0;Snull!=p.children?p.children:p.childNodes,l=()=>{var p;const E=window,S=null===(p=E?.Ionic)||void 0===p?void 0:p.config;return!S||(S.get?S.get("sanitizerEnabled",!0):!0===S.sanitizerEnabled||void 0===S.sanitizerEnabled)},i=["class","id","href","src","name","slot"],e=["script","style","iframe","meta","link","object","embed"];class o{constructor(E){this.value=E}}const d=p=>{const E=window,S=E.Ionic;if(!S||!S.config||"Object"===S.config.constructor.name)return E.Ionic=E.Ionic||{},E.Ionic.config=Object.assign(Object.assign({},E.Ionic.config),p),E.Ionic.config},M=!1},86944:(pe,m,s)=>{"use strict";s.d(m,{g:()=>n});const n=(e,o,d,v,M)=>u(e[1],o[1],d[1],v[1],M).map(p=>c(e[0],o[0],d[0],v[0],p)),c=(e,o,d,v,M)=>M*(3*o*Math.pow(M-1,2)+M*(-3*d*M+3*d+v*M))-e*Math.pow(M-1,3),u=(e,o,d,v,M)=>i((v-=M)-3*(d-=M)+3*(o-=M)-(e-=M),3*d-6*o+3*e,3*o-3*e,e).filter(E=>E>=0&&E<=1),i=(e,o,d,v)=>{if(0===e)return((e,o,d)=>{const v=o*o-4*e*d;return v<0?[]:[(-o+Math.sqrt(v))/(2*e),(-o-Math.sqrt(v))/(2*e)]})(o,d,v);const M=(3*(d/=e)-(o/=e)*o)/3,p=(2*o*o*o-9*o*d+27*(v/=e))/27;if(0===M)return[Math.pow(-p,1/3)];if(0===p)return[Math.sqrt(-M),-Math.sqrt(-M)];const E=Math.pow(p/2,2)+Math.pow(M/3,3);if(0===E)return[Math.pow(p/2,.5)-o/3];if(E>0)return[Math.pow(-p/2+Math.sqrt(E),1/3)-Math.pow(p/2+Math.sqrt(E),1/3)-o/3];const S=Math.sqrt(Math.pow(-M/3,3)),y=Math.acos(-p/(2*Math.sqrt(Math.pow(-M/3,3)))),f=2*Math.pow(S,1/3);return[f*Math.cos(y/3)-o/3,f*Math.cos((y+2*Math.PI)/3)-o/3,f*Math.cos((y+4*Math.PI)/3)-o/3]}},10495:(pe,m,s)=>{"use strict";s.d(m,{C:()=>i,a:()=>u,d:()=>l});var n=s(1528),c=s(46384);const u=function(){var e=(0,n.c)(function*(o,d,v,M,p,E){var S;if(o)return o.attachViewToDom(d,v,p,M);if(!(E||"string"==typeof v||v instanceof HTMLElement))throw new Error("framework delegate is missing");const y="string"==typeof v?null===(S=d.ownerDocument)||void 0===S?void 0:S.createElement(v):v;return M&&M.forEach(f=>y.classList.add(f)),p&&Object.assign(y,p),d.appendChild(y),yield new Promise(f=>(0,c.c)(y,f)),y});return function(d,v,M,p,E,S){return e.apply(this,arguments)}}(),l=(e,o)=>{if(o){if(e)return e.removeViewFromDom(o.parentElement,o);o.remove()}return Promise.resolve()},i=()=>{let e,o;return{attachViewToDom:function(){var M=(0,n.c)(function*(p,E,S={},y=[]){var f,C;let _;if(e=p,E){const D="string"==typeof E?null===(f=e.ownerDocument)||void 0===f?void 0:f.createElement(E):E;y.forEach(L=>D.classList.add(L)),Object.assign(D,S),e.appendChild(D),_=D,yield new Promise(L=>(0,c.c)(D,L))}else if(e.children.length>0&&("ION-MODAL"===e.tagName||"ION-POPOVER"===e.tagName)&&!(_=e.children[0]).classList.contains("ion-delegate-host")){const L=null===(C=e.ownerDocument)||void 0===C?void 0:C.createElement("div");L.classList.add("ion-delegate-host"),y.forEach(N=>L.classList.add(N)),L.append(...e.children),e.appendChild(L),_=L}const w=document.querySelector("ion-app")||document.body;return o=document.createComment("ionic teleport"),e.parentNode.insertBefore(o,e),w.appendChild(e),_??e});return function(E,S){return M.apply(this,arguments)}}(),removeViewFromDom:()=>(e&&o&&(o.parentNode.insertBefore(e,o),o.remove()),Promise.resolve())}}},66560:(pe,m,s)=>{"use strict";s.d(m,{G:()=>i});class c{constructor(o,d,v,M,p){this.id=d,this.name=v,this.disableScroll=p,this.priority=1e6*M+d,this.ctrl=o}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 o=this.ctrl.capture(this.name,this.id,this.priority);return o&&this.disableScroll&&this.ctrl.disableScroll(this.id),o}release(){this.ctrl&&(this.ctrl.release(this.id),this.disableScroll&&this.ctrl.enableScroll(this.id))}destroy(){this.release(),this.ctrl=void 0}}class u{constructor(o,d,v,M){this.id=d,this.disable=v,this.disableScroll=M,this.ctrl=o}block(){if(this.ctrl){if(this.disable)for(const o of this.disable)this.ctrl.disableGesture(o,this.id);this.disableScroll&&this.ctrl.disableScroll(this.id)}}unblock(){if(this.ctrl){if(this.disable)for(const o of this.disable)this.ctrl.enableGesture(o,this.id);this.disableScroll&&this.ctrl.enableScroll(this.id)}}destroy(){this.unblock(),this.ctrl=void 0}}const l="backdrop-no-scroll",i=new class n{constructor(){this.gestureId=0,this.requestedStart=new Map,this.disabledGestures=new Map,this.disabledScroll=new Set}createGesture(o){var d;return new c(this,this.newID(),o.name,null!==(d=o.priority)&&void 0!==d?d:0,!!o.disableScroll)}createBlocker(o={}){return new u(this,this.newID(),o.disable,!!o.disableScroll)}start(o,d,v){return this.canStart(o)?(this.requestedStart.set(d,v),!0):(this.requestedStart.delete(d),!1)}capture(o,d,v){if(!this.start(o,d,v))return!1;const M=this.requestedStart;let p=-1e4;if(M.forEach(E=>{p=Math.max(p,E)}),p===v){this.capturedId=d,M.clear();const E=new CustomEvent("ionGestureCaptured",{detail:{gestureName:o}});return document.dispatchEvent(E),!0}return M.delete(d),!1}release(o){this.requestedStart.delete(o),this.capturedId===o&&(this.capturedId=void 0)}disableGesture(o,d){let v=this.disabledGestures.get(o);void 0===v&&(v=new Set,this.disabledGestures.set(o,v)),v.add(d)}enableGesture(o,d){const v=this.disabledGestures.get(o);void 0!==v&&v.delete(d)}disableScroll(o){this.disabledScroll.add(o),1===this.disabledScroll.size&&document.body.classList.add(l)}enableScroll(o){this.disabledScroll.delete(o),0===this.disabledScroll.size&&document.body.classList.remove(l)}canStart(o){return!(void 0!==this.capturedId||this.isDisabled(o))}isCaptured(){return void 0!==this.capturedId}isScrollDisabled(){return this.disabledScroll.size>0}isDisabled(o){const d=this.disabledGestures.get(o);return!!(d&&d.size>0)}newID(){return this.gestureId++,this.gestureId}}},72784:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{MENU_BACK_BUTTON_PRIORITY:()=>v,OVERLAY_BACK_BUTTON_PRIORITY:()=>d,blockHardwareBackButton:()=>e,shoudUseCloseWatcher:()=>i,startHardwareBackButton:()=>o});var n=s(1528),c=s(14829),u=s(88523);s(62992);const i=()=>u.c.get("experimentalCloseWatcher",!1)&&void 0!==c.w&&"CloseWatcher"in c.w,e=()=>{document.addEventListener("backbutton",()=>{})},o=()=>{const M=document;let p=!1;const E=()=>{if(p)return;let S=0,y=[];const f=new CustomEvent("ionBackButton",{bubbles:!1,detail:{register(w,D){y.push({priority:w,handler:D,id:S++})}}});M.dispatchEvent(f);const C=function(){var w=(0,n.c)(function*(D){try{if(D?.handler){const L=D.handler(_);null!=L&&(yield L)}}catch(L){console.error(L)}});return function(L){return w.apply(this,arguments)}}(),_=()=>{if(y.length>0){let w={priority:Number.MIN_SAFE_INTEGER,handler:()=>{},id:-1};y.forEach(D=>{D.priority>=w.priority&&(w=D)}),p=!0,y=y.filter(D=>D.id!==w.id),C(w).then(()=>p=!1)}};_()};if(i()){let S;const y=()=>{S?.destroy(),S=new c.w.CloseWatcher,S.onclose=()=>{E(),y()}};y()}else M.addEventListener("backbutton",E)},d=100,v=99},46384:(pe,m,s)=>{"use strict";s.d(m,{a:()=>d,b:()=>v,c:()=>u,d:()=>C,e:()=>f,f:()=>y,g:()=>M,h:()=>S,i:()=>o,j:()=>V,k:()=>i,l:()=>_,m:()=>l,n:()=>E,o:()=>w,p:()=>N,q:()=>G,r:()=>p,s:()=>R,t:()=>n,u:()=>D,v:()=>L});const n=(k,A=0)=>new Promise(H=>{c(k,A,H)}),c=(k,A=0,H)=>{let K,ie;const J={passive:!0},ce=()=>{K&&K()},Ge=ct=>{(void 0===ct||k===ct.target)&&(ce(),H(ct))};return k&&(k.addEventListener("webkitTransitionEnd",Ge,J),k.addEventListener("transitionend",Ge,J),ie=setTimeout(Ge,A+500),K=()=>{void 0!==ie&&(clearTimeout(ie),ie=void 0),k.removeEventListener("webkitTransitionEnd",Ge,J),k.removeEventListener("transitionend",Ge,J)}),ce},u=(k,A)=>{k.componentOnReady?k.componentOnReady().then(H=>A(H)):p(()=>A(k))},l=k=>void 0!==k.componentOnReady,i=(k,A=[])=>{const H={};return A.forEach(K=>{k.hasAttribute(K)&&(null!==k.getAttribute(K)&&(H[K]=k.getAttribute(K)),k.removeAttribute(K))}),H},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"],o=(k,A)=>{let H=e;return A&&A.length>0&&(H=H.filter(K=>!A.includes(K))),i(k,H)},d=(k,A,H,K)=>{var ie;if(typeof window<"u"){const J=window,be=null===(ie=J?.Ionic)||void 0===ie?void 0:ie.config;if(be){const ce=be.get("_ael");if(ce)return ce(k,A,H,K);if(be._ael)return be._ael(k,A,H,K)}}return k.addEventListener(A,H,K)},v=(k,A,H,K)=>{var ie;if(typeof window<"u"){const J=window,be=null===(ie=J?.Ionic)||void 0===ie?void 0:ie.config;if(be){const ce=be.get("_rel");if(ce)return ce(k,A,H,K);if(be._rel)return be._rel(k,A,H,K)}}return k.removeEventListener(A,H,K)},M=(k,A=k)=>k.shadowRoot||A,p=k=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(k):"function"==typeof requestAnimationFrame?requestAnimationFrame(k):setTimeout(k),E=k=>!!k.shadowRoot&&!!k.attachShadow,S=k=>{const A=k.closest("ion-item");return A?A.querySelector("ion-label"):null},y=k=>{if(k.focus(),k.classList.contains("ion-focusable")){const A=k.closest("ion-app");A&&A.setFocus([k])}},f=(k,A)=>{let H;const K=k.getAttribute("aria-labelledby"),ie=k.id;let J=null!==K&&""!==K.trim()?K:A+"-lbl",be=null!==K&&""!==K.trim()?document.getElementById(K):S(k);return be?(null===K&&(be.id=J),H=be.textContent,be.setAttribute("aria-hidden","true")):""!==ie.trim()&&(be=document.querySelector(`label[for="${ie}"]`),be&&(""!==be.id?J=be.id:be.id=J=`${ie}-lbl`,H=be.textContent)),{label:be,labelId:J,labelText:H}},C=(k,A,H,K,ie)=>{if(k||E(A)){let J=A.querySelector("input.aux-input");J||(J=A.ownerDocument.createElement("input"),J.type="hidden",J.classList.add("aux-input"),A.appendChild(J)),J.disabled=ie,J.name=H,J.value=K||""}},_=(k,A,H)=>Math.max(k,Math.min(A,H)),w=(k,A)=>{if(!k){const H="ASSERT: "+A;throw console.error(H),new Error(H)}},D=k=>k.timeStamp||Date.now(),L=k=>{if(k){const A=k.changedTouches;if(A&&A.length>0){const H=A[0];return{x:H.clientX,y:H.clientY}}if(void 0!==k.pageX)return{x:k.pageX,y:k.pageY}}return{x:0,y:0}},N=k=>{const A="rtl"===document.dir;switch(k){case"start":return A;case"end":return!A;default:throw new Error(`"${k}" is not a valid value for [side]. Use "start" or "end" instead.`)}},V=(k,A)=>{const H=k._original||k;return{_original:k,emit:G(H.emit.bind(H),A)}},G=(k,A=0)=>{let H;return(...K)=>{clearTimeout(H),H=setTimeout(k,A,...K)}},R=(k,A)=>{if(k??(k={}),A??(A={}),k===A)return!0;const H=Object.keys(k);if(H.length!==Object.keys(A).length)return!1;for(const K of H)if(!(K in A)||k[K]!==A[K])return!1;return!0}},62528:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{GESTURE_CONTROLLER:()=>n.G,createGesture:()=>v});var n=s(66560);const c=(S,y,f,C)=>{const _=u(S)?{capture:!!C.capture,passive:!!C.passive}:!!C.capture;let w,D;return S.__zone_symbol__addEventListener?(w="__zone_symbol__addEventListener",D="__zone_symbol__removeEventListener"):(w="addEventListener",D="removeEventListener"),S[w](y,f,_),()=>{S[D](y,f,_)}},u=S=>{if(void 0===l)try{const y=Object.defineProperty({},"passive",{get:()=>{l=!0}});S.addEventListener("optsTest",()=>{},y)}catch{l=!1}return!!l};let l;const o=S=>S instanceof Document?S:S.ownerDocument,v=S=>{let y=!1,f=!1,C=!0,_=!1;const w=Object.assign({disableScroll:!1,direction:"x",gesturePriority:0,passive:!0,maxAngle:40,threshold:10},S),D=w.canStart,L=w.onWillStart,N=w.onStart,V=w.onEnd,G=w.notCaptured,R=w.onMove,k=w.threshold,A=w.passive,H=w.blurOnStart,K={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},ie=((S,y,f)=>{const C=f*(Math.PI/180),_="x"===S,w=Math.cos(C),D=y*y;let L=0,N=0,V=!1,G=0;return{start(R,k){L=R,N=k,G=0,V=!0},detect(R,k){if(!V)return!1;const A=R-L,H=k-N,K=A*A+H*H;if(Kw?1:J<-w?-1:0,V=!1,!0},isGesture:()=>0!==G,getDirection:()=>G}})(w.direction,w.threshold,w.maxAngle),J=n.G.createGesture({name:S.gestureName,priority:S.gesturePriority,disableScroll:S.disableScroll}),Ge=()=>{y&&(_=!1,R&&R(K))},ct=()=>!!J.capture()&&(y=!0,C=!1,K.startX=K.currentX,K.startY=K.currentY,K.startTime=K.currentTime,L?L(K).then(ke):ke(),!0),ke=()=>{H&&(()=>{if(typeof document<"u"){const _e=document.activeElement;_e?.blur&&_e.blur()}})(),N&&N(K),C=!0},Re=()=>{y=!1,f=!1,_=!1,C=!0,J.release()},Qe=_e=>{const Me=y,Se=C;if(Re(),Se){if(M(K,_e),Me)return void(V&&V(K));G&&G(K)}},$e=((S,y,f,C,_)=>{let w,D,L,N,V,G,R,k=0;const A=Oe=>{k=Date.now()+2e3,y(Oe)&&(!D&&f&&(D=c(S,"touchmove",f,_)),L||(L=c(Oe.target,"touchend",K,_)),N||(N=c(Oe.target,"touchcancel",K,_)))},H=Oe=>{k>Date.now()||y(Oe)&&(!G&&f&&(G=c(o(S),"mousemove",f,_)),R||(R=c(o(S),"mouseup",ie,_)))},K=Oe=>{J(),C&&C(Oe)},ie=Oe=>{be(),C&&C(Oe)},J=()=>{D&&D(),L&&L(),N&&N(),D=L=N=void 0},be=()=>{G&&G(),R&&R(),G=R=void 0},ce=()=>{J(),be()},Ge=(Oe=!0)=>{Oe?(w||(w=c(S,"touchstart",A,_)),V||(V=c(S,"mousedown",H,_))):(w&&w(),V&&V(),w=V=void 0,ce())};return{enable:Ge,stop:ce,destroy:()=>{Ge(!1),C=f=y=void 0}}})(w.el,_e=>{const Me=E(_e);return!(f||!C||(p(_e,K),K.startX=K.currentX,K.startY=K.currentY,K.startTime=K.currentTime=Me,K.velocityX=K.velocityY=K.deltaX=K.deltaY=0,K.event=_e,D&&!1===D(K))||(J.release(),!J.start()))&&(f=!0,0===k?ct():(ie.start(K.startX,K.startY),!0))},_e=>{y?!_&&C&&(_=!0,M(K,_e),requestAnimationFrame(Ge)):(M(K,_e),ie.detect(K.currentX,K.currentY)&&(!ie.isGesture()||!ct())&&Be())},Qe,{capture:!1,passive:A}),Be=()=>{Re(),$e.stop(),G&&G(K)};return{enable(_e=!0){_e||(y&&Qe(void 0),Re()),$e.enable(_e)},destroy(){J.destroy(),$e.destroy()}}},M=(S,y)=>{if(!y)return;const f=S.currentX,C=S.currentY,_=S.currentTime;p(y,S);const w=S.currentX,D=S.currentY,N=(S.currentTime=E(y))-_;if(N>0&&N<100){const G=(D-C)/N;S.velocityX=(w-f)/N*.7+.3*S.velocityX,S.velocityY=.7*G+.3*S.velocityY}S.deltaX=w-S.startX,S.deltaY=D-S.startY,S.event=y},p=(S,y)=>{let f=0,C=0;if(S){const _=S.changedTouches;if(_&&_.length>0){const w=_[0];f=w.clientX,C=w.clientY}else void 0!==S.pageX&&(f=S.pageX,C=S.pageY)}y.currentX=f,y.currentY=C},E=S=>S.timeStamp||Date.now()},76256:(pe,m,s)=>{"use strict";s.d(m,{b:()=>e,c:()=>o,d:()=>d,e:()=>k,g:()=>K,l:()=>G,s:()=>A,t:()=>p,w:()=>R});var n=s(1528),c=s(62992),u=s(46384);const e="ionViewWillLeave",o="ionViewDidLeave",d="ionViewWillUnload",p=ie=>new Promise((J,be)=>{(0,c.w)(()=>{E(ie),S(ie).then(ce=>{ce.animation&&ce.animation.destroy(),y(ie),J(ce)},ce=>{y(ie),be(ce)})})}),E=ie=>{const J=ie.enteringEl,be=ie.leavingEl;H(J,be,ie.direction),ie.showGoBack?J.classList.add("can-go-back"):J.classList.remove("can-go-back"),A(J,!1),J.style.setProperty("pointer-events","none"),be&&(A(be,!1),be.style.setProperty("pointer-events","none"))},S=function(){var ie=(0,n.c)(function*(J){const be=yield f(J);return be&&c.B.isBrowser?C(be,J):_(J)});return function(be){return ie.apply(this,arguments)}}(),y=ie=>{const J=ie.enteringEl,be=ie.leavingEl;J.classList.remove("ion-page-invisible"),J.style.removeProperty("pointer-events"),void 0!==be&&(be.classList.remove("ion-page-invisible"),be.style.removeProperty("pointer-events"))},f=function(){var ie=(0,n.c)(function*(J){return J.leavingEl&&J.animated&&0!==J.duration?J.animationBuilder?J.animationBuilder:"ios"===J.mode?(yield Promise.resolve().then(s.bind(s,68512))).iosTransitionAnimation:(yield Promise.resolve().then(s.bind(s,96556))).mdTransitionAnimation:void 0});return function(be){return ie.apply(this,arguments)}}(),C=function(){var ie=(0,n.c)(function*(J,be){yield w(be,!0);const ce=J(be.baseEl,be);N(be.enteringEl,be.leavingEl);const Ge=yield L(ce,be);return be.progressCallback&&be.progressCallback(void 0),Ge&&V(be.enteringEl,be.leavingEl),{hasCompleted:Ge,animation:ce}});return function(be,ce){return ie.apply(this,arguments)}}(),_=function(){var ie=(0,n.c)(function*(J){const be=J.enteringEl,ce=J.leavingEl;return yield w(J,!1),N(be,ce),V(be,ce),{hasCompleted:!0}});return function(be){return ie.apply(this,arguments)}}(),w=function(){var ie=(0,n.c)(function*(J,be){(void 0!==J.deepWait?J.deepWait:be)&&(yield Promise.all([k(J.enteringEl),k(J.leavingEl)])),yield D(J.viewIsReady,J.enteringEl)});return function(be,ce){return ie.apply(this,arguments)}}(),D=function(){var ie=(0,n.c)(function*(J,be){J&&(yield J(be))});return function(be,ce){return ie.apply(this,arguments)}}(),L=(ie,J)=>{const be=J.progressCallback,ce=new Promise(Ge=>{ie.onFinish(ct=>Ge(1===ct))});return be?(ie.progressStart(!0),be(ie)):ie.play(),ce},N=(ie,J)=>{G(J,e),G(ie,"ionViewWillEnter")},V=(ie,J)=>{G(ie,"ionViewDidEnter"),G(J,o)},G=(ie,J)=>{if(ie){const be=new CustomEvent(J,{bubbles:!1,cancelable:!1});ie.dispatchEvent(be)}},R=()=>new Promise(ie=>(0,u.r)(()=>(0,u.r)(()=>ie()))),k=function(){var ie=(0,n.c)(function*(J){const be=J;if(be){if(null!=be.componentOnReady){if(null!=(yield be.componentOnReady()))return}else if(null!=be.__registerHost)return void(yield new Promise(Ge=>(0,u.r)(Ge)));yield Promise.all(Array.from(be.children).map(k))}});return function(be){return ie.apply(this,arguments)}}(),A=(ie,J)=>{J?(ie.setAttribute("aria-hidden","true"),ie.classList.add("ion-page-hidden")):(ie.hidden=!1,ie.removeAttribute("aria-hidden"),ie.classList.remove("ion-page-hidden"))},H=(ie,J,be)=>{void 0!==ie&&(ie.style.zIndex="back"===be?"99":"101"),void 0!==J&&(J.style.zIndex="100")},K=ie=>ie.classList.contains("ion-page")?ie:ie.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")||ie},62992:(pe,m,s)=>{"use strict";s.d(m,{B:()=>E,H:()=>ct,a:()=>sr,b:()=>ur,c:()=>Se,d:()=>rt,e:()=>De,f:()=>we,g:()=>je,h:()=>ce,i:()=>Nt,j:()=>S,r:()=>qn,w:()=>me});var n=s(1528);let l,i,e,o=!1,d=!1,v=!1,M=!1,p=!1;const E={isDev:!1,isBrowser:!0,isServer:!1,isTesting:!1},S=q=>{const fe=new URL(q,Dn.$resourcesUrl$);return fe.origin!==gn.location.origin?fe.href:fe.pathname},L="s-id",N="sty-id",V="c-id",R="slot-fb{display:contents}slot-fb[hidden]{display:none}",k="http://www.w3.org/1999/xlink",A={},J=q=>"object"==(q=typeof q)||"function"===q;function be(q){var fe,nt,mt;return null!==(mt=null===(nt=null===(fe=q.head)||void 0===fe?void 0:fe.querySelector('meta[name="csp-nonce"]'))||void 0===nt?void 0:nt.getAttribute("content"))&&void 0!==mt?mt:void 0}const ce=(q,fe,...nt)=>{let mt=null,Et=null,Ut=null,tn=!1,pn=!1;const vn=[],bn=In=>{for(let Bn=0;BnIn[Bn]).join(" "))}}if("function"==typeof q)return q(null===fe?{}:fe,vn,ke);const fn=Ge(q,null);return fn.$attrs$=fe,vn.length>0&&(fn.$children$=vn),fn.$key$=Et,fn.$name$=Ut,fn},Ge=(q,fe)=>({$flags$:0,$tag$:q,$text$:fe,$elm$:null,$children$:null,$attrs$:null,$key$:null,$name$:null}),ct={},ke={forEach:(q,fe)=>q.map(Re).forEach(fe),map:(q,fe)=>q.map(Re).map(fe).map(Qe)},Re=q=>({vattrs:q.$attrs$,vchildren:q.$children$,vkey:q.$key$,vname:q.$name$,vtag:q.$tag$,vtext:q.$text$}),Qe=q=>{if("function"==typeof q.vtag){const nt=Object.assign({},q.vattrs);return q.vkey&&(nt.key=q.vkey),q.vname&&(nt.name=q.vname),ce(q.vtag,nt,...q.vchildren||[])}const fe=Ge(q.vtag,q.vtext);return fe.$attrs$=q.vattrs,fe.$children$=q.vchildren,fe.$key$=q.vkey,fe.$name$=q.vname,fe},Be=(q,fe,nt,mt,Et,Ut,tn)=>{let pn,vn,bn,fn;if(1===Ut.nodeType){for(pn=Ut.getAttribute(V),pn&&(vn=pn.split("."),(vn[0]===tn||"0"===vn[0])&&(bn={$flags$:0,$hostId$:vn[0],$nodeId$:vn[1],$depth$:vn[2],$index$:vn[3],$tag$:Ut.tagName.toLowerCase(),$elm$:Ut,$attrs$:null,$children$:null,$key$:null,$name$:null,$text$:null},fe.push(bn),Ut.removeAttribute(V),q.$children$||(q.$children$=[]),q.$children$[bn.$index$]=bn,q=bn,mt&&"0"===bn.$depth$&&(mt[bn.$index$]=bn.$elm$))),fn=Ut.childNodes.length-1;fn>=0;fn--)Be(q,fe,nt,mt,Et,Ut.childNodes[fn],tn);if(Ut.shadowRoot)for(fn=Ut.shadowRoot.childNodes.length-1;fn>=0;fn--)Be(q,fe,nt,mt,Et,Ut.shadowRoot.childNodes[fn],tn)}else if(8===Ut.nodeType)vn=Ut.nodeValue.split("."),(vn[1]===tn||"0"===vn[1])&&(pn=vn[0],bn={$flags$:0,$hostId$:vn[1],$nodeId$:vn[2],$depth$:vn[3],$index$:vn[4],$elm$:Ut,$attrs$:null,$children$:null,$key$:null,$name$:null,$tag$:null,$text$:null},"t"===pn?(bn.$elm$=Ut.nextSibling,bn.$elm$&&3===bn.$elm$.nodeType&&(bn.$text$=bn.$elm$.textContent,fe.push(bn),Ut.remove(),q.$children$||(q.$children$=[]),q.$children$[bn.$index$]=bn,mt&&"0"===bn.$depth$&&(mt[bn.$index$]=bn.$elm$))):bn.$hostId$===tn&&("s"===pn?(bn.$tag$="slot",Ut["s-sn"]=vn[5]?bn.$name$=vn[5]:"",Ut["s-sr"]=!0,mt&&(bn.$elm$=wn.createElement(bn.$tag$),bn.$name$&&bn.$elm$.setAttribute("name",bn.$name$),Ut.parentNode.insertBefore(bn.$elm$,Ut),Ut.remove(),"0"===bn.$depth$&&(mt[bn.$index$]=bn.$elm$)),nt.push(bn),q.$children$||(q.$children$=[]),q.$children$[bn.$index$]=bn):"r"===pn&&(mt?Ut.remove():(Et["s-cr"]=Ut,Ut["s-cn"]=!0))));else if(q&&"style"===q.$tag$){const In=Ge(null,Ut.textContent);In.$elm$=Ut,In.$index$="0",q.$children$=[In]}},_e=(q,fe)=>{if(1===q.nodeType){let nt=0;for(;ntsn.push(q),je=q=>Vn(q).$modeName$,we=q=>Vn(q).$hostElement$,rt=(q,fe,nt)=>{const mt=we(q);return{emit:Et=>tt(mt,fe,{bubbles:!!(4&nt),composed:!!(2&nt),cancelable:!!(1&nt),detail:Et})}},tt=(q,fe,nt)=>{const mt=Dn.ce(fe,nt);return q.dispatchEvent(mt),mt},wt=new WeakMap,ye=(q,fe,nt)=>{let mt=Dt.get(q);Vr&&nt?(mt=mt||new CSSStyleSheet,"string"==typeof mt?mt=fe:mt.replaceSync(fe)):mt=fe,Dt.set(q,mt)},Te=(q,fe,nt)=>{var mt;const Et=Ft(fe,nt),Ut=Dt.get(Et);if(q=11===q.nodeType?q:wn,Ut)if("string"==typeof Ut){let pn,tn=wt.get(q=q.head||q);if(tn||wt.set(q,tn=new Set),!tn.has(Et)){if(q.host&&(pn=q.querySelector(`[${N}="${Et}"]`)))pn.innerHTML=Ut;else{pn=wn.createElement("style"),pn.innerHTML=Ut;const vn=null!==(mt=Dn.$nonce$)&&void 0!==mt?mt:be(wn);null!=vn&&pn.setAttribute("nonce",vn),q.insertBefore(pn,q.querySelector("link"))}4&fe.$flags$&&(pn.innerHTML+=R),tn&&tn.add(Et)}}else q.adoptedStyleSheets.includes(Ut)||(q.adoptedStyleSheets=[...q.adoptedStyleSheets,Ut]);return Et},Ft=(q,fe)=>"sc-"+(fe&&32&q.$flags$?q.$tagName$+"-"+fe:q.$tagName$),nn=q=>q.replace(/\/\*!@([^\/]+)\*\/[^\{]+\{/g,"$1{"),Yt=(q,fe,nt,mt,Et,Ut)=>{if(nt!==mt){let tn=ii(q,fe),pn=fe.toLowerCase();if("class"===fe){const vn=q.classList,bn=Mn(nt),fn=Mn(mt);vn.remove(...bn.filter(In=>In&&!fn.includes(In))),vn.add(...fn.filter(In=>In&&!bn.includes(In)))}else if("style"===fe){for(const vn in nt)(!mt||null==mt[vn])&&(vn.includes("-")?q.style.removeProperty(vn):q.style[vn]="");for(const vn in mt)(!nt||mt[vn]!==nt[vn])&&(vn.includes("-")?q.style.setProperty(vn,mt[vn]):q.style[vn]=mt[vn])}else if("key"!==fe)if("ref"===fe)mt&&mt(q);else if(tn||"o"!==fe[0]||"n"!==fe[1]){const vn=J(mt);if((tn||vn&&null!==mt)&&!Et)try{if(q.tagName.includes("-"))q[fe]=mt;else{const fn=mt??"";"list"===fe?tn=!1:(null==nt||q[fe]!=fn)&&(q[fe]=fn)}}catch{}let bn=!1;pn!==(pn=pn.replace(/^xlink\:?/,""))&&(fe=pn,bn=!0),null==mt||!1===mt?(!1!==mt||""===q.getAttribute(fe))&&(bn?q.removeAttributeNS(k,fe):q.removeAttribute(fe)):(!tn||4&Ut||Et)&&!vn&&(mt=!0===mt?"":mt,bn?q.setAttributeNS(k,fe,mt):q.setAttribute(fe,mt))}else if(fe="-"===fe[2]?fe.slice(3):ii(gn,pn)?pn.slice(2):pn[2]+fe.slice(3),nt||mt){const vn=fe.endsWith(Un);fe=fe.replace(zt,""),nt&&Dn.rel(q,fe,nt,vn),mt&&Dn.ael(q,fe,mt,vn)}}},Zt=/\s/,Mn=q=>q?q.split(Zt):[],Un="Capture",zt=new RegExp(Un+"$"),Hn=(q,fe,nt,mt)=>{const Et=11===fe.$elm$.nodeType&&fe.$elm$.host?fe.$elm$.host:fe.$elm$,Ut=q&&q.$attrs$||A,tn=fe.$attrs$||A;for(mt in Ut)mt in tn||Yt(Et,mt,Ut[mt],void 0,nt,fe.$flags$);for(mt in tn)Yt(Et,mt,Ut[mt],tn[mt],nt,fe.$flags$)},kn=(q,fe,nt,mt)=>{const Et=fe.$children$[nt];let tn,pn,vn,Ut=0;if(o||(v=!0,"slot"===Et.$tag$&&(l&&mt.classList.add(l+"-s"),Et.$flags$|=Et.$children$?2:1)),null!==Et.$text$)tn=Et.$elm$=wn.createTextNode(Et.$text$);else if(1&Et.$flags$)tn=Et.$elm$=wn.createTextNode("");else{if(M||(M="svg"===Et.$tag$),tn=Et.$elm$=wn.createElementNS(M?"http://www.w3.org/2000/svg":"http://www.w3.org/1999/xhtml",2&Et.$flags$?"slot-fb":Et.$tag$),M&&"foreignObject"===Et.$tag$&&(M=!1),Hn(null,Et,M),(q=>null!=q)(l)&&tn["s-si"]!==l&&tn.classList.add(tn["s-si"]=l),Et.$children$)for(Ut=0;Ut{Dn.$flags$|=1;const nt=q.childNodes;for(let mt=nt.length-1;mt>=0;mt--){const Et=nt[mt];Et["s-hn"]!==e&&Et["s-ol"]&&(ze(Et).insertBefore(Et,We(Et)),Et["s-ol"].remove(),Et["s-ol"]=void 0,Et["s-sh"]=void 0,v=!0),fe&&ln(Et,fe)}Dn.$flags$&=-2},ft=(q,fe,nt,mt,Et,Ut)=>{let pn,tn=q["s-cr"]&&q["s-cr"].parentNode||q;for(tn.shadowRoot&&tn.tagName===e&&(tn=tn.shadowRoot);Et<=Ut;++Et)mt[Et]&&(pn=kn(null,nt,Et,q),pn&&(mt[Et].$elm$=pn,tn.insertBefore(pn,We(fe))))},Pe=(q,fe,nt)=>{for(let mt=fe;mt<=nt;++mt){const Et=q[mt];if(Et){const Ut=Et.$elm$;br(Et),Ut&&(d=!0,Ut["s-ol"]?Ut["s-ol"].remove():ln(Ut,!0),Ut.remove())}}},he=(q,fe,nt=!1)=>q.$tag$===fe.$tag$&&("slot"===q.$tag$?q.$name$===fe.$name$:!!nt||q.$key$===fe.$key$),We=q=>q&&q["s-ol"]||q,ze=q=>(q["s-ol"]?q["s-ol"]:q).parentNode,gt=(q,fe,nt=!1)=>{const mt=fe.$elm$=q.$elm$,Et=q.$children$,Ut=fe.$children$,tn=fe.$tag$,pn=fe.$text$;let vn;null===pn?(M="svg"===tn||"foreignObject"!==tn&&M,"slot"===tn&&!o||Hn(q,fe,M),null!==Et&&null!==Ut?((q,fe,nt,mt,Et=!1)=>{let Lr,ti,Ut=0,tn=0,pn=0,vn=0,bn=fe.length-1,fn=fe[0],In=fe[bn],Bn=mt.length-1,_r=mt[0],hr=mt[Bn];for(;Ut<=bn&&tn<=Bn;)if(null==fn)fn=fe[++Ut];else if(null==In)In=fe[--bn];else if(null==_r)_r=mt[++tn];else if(null==hr)hr=mt[--Bn];else if(he(fn,_r,Et))gt(fn,_r,Et),fn=fe[++Ut],_r=mt[++tn];else if(he(In,hr,Et))gt(In,hr,Et),In=fe[--bn],hr=mt[--Bn];else if(he(fn,hr,Et))("slot"===fn.$tag$||"slot"===hr.$tag$)&&ln(fn.$elm$.parentNode,!1),gt(fn,hr,Et),q.insertBefore(fn.$elm$,In.$elm$.nextSibling),fn=fe[++Ut],hr=mt[--Bn];else if(he(In,_r,Et))("slot"===fn.$tag$||"slot"===hr.$tag$)&&ln(In.$elm$.parentNode,!1),gt(In,_r,Et),q.insertBefore(In.$elm$,fn.$elm$),In=fe[--bn],_r=mt[++tn];else{for(pn=-1,vn=Ut;vn<=bn;++vn)if(fe[vn]&&null!==fe[vn].$key$&&fe[vn].$key$===_r.$key$){pn=vn;break}pn>=0?(ti=fe[pn],ti.$tag$!==_r.$tag$?Lr=kn(fe&&fe[tn],nt,pn,q):(gt(ti,_r,Et),fe[pn]=void 0,Lr=ti.$elm$),_r=mt[++tn]):(Lr=kn(fe&&fe[tn],nt,tn,q),_r=mt[++tn]),Lr&&ze(fn.$elm$).insertBefore(Lr,We(fn.$elm$))}Ut>bn?ft(q,null==mt[Bn+1]?null:mt[Bn+1].$elm$,nt,mt,tn,Bn):tn>Bn&&Pe(fe,Ut,bn)})(mt,Et,fe,Ut,nt):null!==Ut?(null!==q.$text$&&(mt.textContent=""),ft(mt,null,fe,Ut,0,Ut.length-1)):null!==Et&&Pe(Et,0,Et.length-1),M&&"svg"===tn&&(M=!1)):(vn=mt["s-cr"])?vn.parentNode.textContent=pn:q.$text$!==pn&&(mt.data=pn)},Gt=q=>{const fe=q.childNodes;for(const nt of fe)if(1===nt.nodeType){if(nt["s-sr"]){const mt=nt["s-sn"];nt.hidden=!1;for(const Et of fe)if(Et!==nt)if(Et["s-hn"]!==nt["s-hn"]||""!==mt){if(1===Et.nodeType&&(mt===Et.getAttribute("slot")||mt===Et["s-sn"])){nt.hidden=!0;break}}else if(1===Et.nodeType||3===Et.nodeType&&""!==Et.textContent.trim()){nt.hidden=!0;break}}Gt(nt)}},dn=[],$n=q=>{let fe,nt,mt;for(const Et of q.childNodes){if(Et["s-sr"]&&(fe=Et["s-cr"])&&fe.parentNode){nt=fe.parentNode.childNodes;const Ut=Et["s-sn"];for(mt=nt.length-1;mt>=0;mt--)if(fe=nt[mt],!fe["s-cn"]&&!fe["s-nr"]&&fe["s-hn"]!==Et["s-hn"])if(tr(fe,Ut)){let tn=dn.find(pn=>pn.$nodeToRelocate$===fe);d=!0,fe["s-sn"]=fe["s-sn"]||Ut,tn?(tn.$nodeToRelocate$["s-sh"]=Et["s-hn"],tn.$slotRefNode$=Et):(fe["s-sh"]=Et["s-hn"],dn.push({$slotRefNode$:Et,$nodeToRelocate$:fe})),fe["s-sr"]&&dn.map(pn=>{tr(pn.$nodeToRelocate$,fe["s-sn"])&&(tn=dn.find(vn=>vn.$nodeToRelocate$===fe),tn&&!pn.$slotRefNode$&&(pn.$slotRefNode$=tn.$slotRefNode$))})}else dn.some(tn=>tn.$nodeToRelocate$===fe)||dn.push({$nodeToRelocate$:fe})}1===Et.nodeType&&$n(Et)}},tr=(q,fe)=>1===q.nodeType?null===q.getAttribute("slot")&&""===fe||q.getAttribute("slot")===fe:q["s-sn"]===fe||""===fe,br=q=>{q.$attrs$&&q.$attrs$.ref&&q.$attrs$.ref(null),q.$children$&&q.$children$.map(br)},fi=(q,fe)=>{fe&&!q.$onRenderResolve$&&fe["s-p"]&&fe["s-p"].push(new Promise(nt=>q.$onRenderResolve$=nt))},Cr=(q,fe)=>{if(q.$flags$|=16,!(4&q.$flags$))return fi(q,q.$ancestorComponent$),me(()=>jr(q,fe));q.$flags$|=512},jr=(q,fe)=>{const mt=q.$lazyInstance$;let Et;return fe&&(q.$flags$|=256,q.$queuedListeners$&&(q.$queuedListeners$.map(([Ut,tn])=>vt(mt,Ut,tn)),q.$queuedListeners$=void 0),Et=vt(mt,"componentWillLoad")),Et=Yn(Et,()=>vt(mt,"componentWillRender")),Yn(Et,()=>en(q,mt,fe))},Yn=(q,fe)=>It(q)?q.then(fe):fe(),It=q=>q instanceof Promise||q&&q.then&&"function"==typeof q.then,en=function(){var q=(0,n.c)(function*(fe,nt,mt){var Et;const Ut=fe.$hostElement$,pn=Ut["s-rc"];mt&&(q=>{const fe=q.$cmpMeta$,nt=q.$hostElement$,mt=fe.$flags$,Ut=Te(nt.shadowRoot?nt.shadowRoot:nt.getRootNode(),fe,q.$modeName$);10&mt&&(nt["s-sc"]=Ut,nt.classList.add(Ut+"-h"),2&mt&&nt.classList.add(Ut+"-s"))})(fe);Ct(fe,nt,Ut,mt),pn&&(pn.map(bn=>bn()),Ut["s-rc"]=void 0);{const bn=null!==(Et=Ut["s-p"])&&void 0!==Et?Et:[],fn=()=>qe(fe);0===bn.length?fn():(Promise.all(bn).then(fn),fe.$flags$|=4,bn.length=0)}});return function(nt,mt,Et){return q.apply(this,arguments)}}(),Ct=(q,fe,nt,mt)=>{try{fe=fe.render&&fe.render(),q.$flags$&=-17,q.$flags$|=2,((q,fe,nt=!1)=>{var mt,Et,Ut,tn;const pn=q.$hostElement$,vn=q.$cmpMeta$,bn=q.$vnode$||Ge(null,null),fn=(q=>q&&q.$tag$===ct)(fe)?fe:ce(null,null,fe);if(e=pn.tagName,vn.$attrsToReflect$&&(fn.$attrs$=fn.$attrs$||{},vn.$attrsToReflect$.map(([In,Bn])=>fn.$attrs$[Bn]=pn[In])),nt&&fn.$attrs$)for(const In of Object.keys(fn.$attrs$))pn.hasAttribute(In)&&!["key","ref","style","class"].includes(In)&&(fn.$attrs$[In]=pn[In]);if(fn.$tag$=null,fn.$flags$|=4,q.$vnode$=fn,fn.$elm$=bn.$elm$=pn.shadowRoot||pn,l=pn["s-sc"],o=0!=(1&vn.$flags$),i=pn["s-cr"],d=!1,gt(bn,fn,nt),Dn.$flags$|=1,v){$n(fn.$elm$);for(const In of dn){const Bn=In.$nodeToRelocate$;if(!Bn["s-ol"]){const _r=wn.createTextNode("");_r["s-nr"]=Bn,Bn.parentNode.insertBefore(Bn["s-ol"]=_r,Bn)}}for(const In of dn){const Bn=In.$nodeToRelocate$,_r=In.$slotRefNode$;if(_r){const hr=_r.parentNode;let Lr=_r.nextSibling;{let ti=null===(mt=Bn["s-ol"])||void 0===mt?void 0:mt.previousSibling;for(;ti;){let st=null!==(Et=ti["s-nr"])&&void 0!==Et?Et:null;if(st&&st["s-sn"]===Bn["s-sn"]&&hr===st.parentNode&&(st=st.nextSibling,!st||!st["s-nr"])){Lr=st;break}ti=ti.previousSibling}}(!Lr&&hr!==Bn.parentNode||Bn.nextSibling!==Lr)&&Bn!==Lr&&(!Bn["s-hn"]&&Bn["s-ol"]&&(Bn["s-hn"]=Bn["s-ol"].parentNode.nodeName),hr.insertBefore(Bn,Lr),1===Bn.nodeType&&(Bn.hidden=null!==(Ut=Bn["s-ih"])&&void 0!==Ut&&Ut))}else 1===Bn.nodeType&&(nt&&(Bn["s-ih"]=null!==(tn=Bn.hidden)&&void 0!==tn&&tn),Bn.hidden=!0)}}d&&Gt(fn.$elm$),Dn.$flags$&=-2,dn.length=0,i=void 0})(q,fe,mt)}catch(Et){Fr(Et,q.$hostElement$)}return null},qe=q=>{const nt=q.$hostElement$,Et=q.$lazyInstance$,Ut=q.$ancestorComponent$;vt(Et,"componentDidRender"),64&q.$flags$?vt(Et,"componentDidUpdate"):(q.$flags$|=64,pt(nt),vt(Et,"componentDidLoad"),q.$onReadyResolve$(nt),Ut||He()),q.$onInstanceResolve$(nt),q.$onRenderResolve$&&(q.$onRenderResolve$(),q.$onRenderResolve$=void 0),512&q.$flags$&&Q(()=>Cr(q,!1)),q.$flags$&=-517},Nt=q=>{{const fe=Vn(q),nt=fe.$hostElement$.isConnected;return nt&&2==(18&fe.$flags$)&&Cr(fe,!1),nt}},He=q=>{pt(wn.documentElement),Q(()=>tt(gn,"appload",{detail:{namespace:"ionic"}}))},vt=(q,fe,nt)=>{if(q&&q[fe])try{return q[fe](nt)}catch(mt){Fr(mt)}},pt=q=>q.classList.add("hydrated"),Vt=(q,fe,nt)=>{var mt;const Et=q.prototype;if(fe.$members$){q.watchers&&(fe.$watchers$=q.watchers);const Ut=Object.entries(fe.$members$);if(Ut.map(([tn,[pn]])=>{31&pn||2&nt&&32&pn?Object.defineProperty(Et,tn,{get(){return((q,fe)=>Vn(this).$instanceValues$.get(fe))(0,tn)},set(vn){((q,fe,nt,mt)=>{const Et=Vn(q),Ut=Et.$hostElement$,tn=Et.$instanceValues$.get(fe),pn=Et.$flags$,vn=Et.$lazyInstance$;nt=((q,fe)=>null==q||J(q)?q:4&fe?"false"!==q&&(""===q||!!q):2&fe?parseFloat(q):1&fe?String(q):q)(nt,mt.$members$[fe][0]);const bn=Number.isNaN(tn)&&Number.isNaN(nt);if((!(8&pn)||void 0===tn)&&nt!==tn&&!bn&&(Et.$instanceValues$.set(fe,nt),vn)){if(mt.$watchers$&&128&pn){const In=mt.$watchers$[fe];In&&In.map(Bn=>{try{vn[Bn](nt,tn,fe)}catch(_r){Fr(_r,Ut)}})}2==(18&pn)&&Cr(Et,!1)}})(this,tn,vn,fe)},configurable:!0,enumerable:!0}):1&nt&&64&pn&&Object.defineProperty(Et,tn,{value(...vn){var bn;const fn=Vn(this);return null===(bn=fn?.$onInstancePromise$)||void 0===bn?void 0:bn.then(()=>{var In;return null===(In=fn.$lazyInstance$)||void 0===In?void 0:In[tn](...vn)})}})}),1&nt){const tn=new Map;Et.attributeChangedCallback=function(pn,vn,bn){Dn.jmp(()=>{var fn;const In=tn.get(pn);if(this.hasOwnProperty(In))bn=this[In],delete this[In];else{if(Et.hasOwnProperty(In)&&"number"==typeof this[In]&&this[In]==bn)return;if(null==In){const Bn=Vn(this),_r=Bn?.$flags$;if(_r&&!(8&_r)&&128&_r&&bn!==vn){const hr=Bn.$lazyInstance$,Lr=null===(fn=fe.$watchers$)||void 0===fn?void 0:fn[pn];Lr?.forEach(ti=>{null!=hr[ti]&&hr[ti].call(hr,bn,vn,pn)})}return}}this[In]=(null!==bn||"boolean"!=typeof this[In])&&bn})},q.observedAttributes=Array.from(new Set([...Object.keys(null!==(mt=fe.$watchers$)&&void 0!==mt?mt:{}),...Ut.filter(([pn,vn])=>15&vn[0]).map(([pn,vn])=>{var bn;const fn=vn[1]||pn;return tn.set(fn,pn),512&vn[0]&&(null===(bn=fe.$attrsToReflect$)||void 0===bn||bn.push([pn,fn])),fn})]))}}return q},Sn=function(){var q=(0,n.c)(function*(fe,nt,mt,Et){let Ut;if(!(32&nt.$flags$)){nt.$flags$|=32;{if(Ut=xt(mt),Ut.then){const bn=()=>{};Ut=yield Ut,bn()}Ut.isProxied||(mt.$watchers$=Ut.watchers,Vt(Ut,mt,2),Ut.isProxied=!0);const vn=()=>{};nt.$flags$|=8;try{new Ut(nt)}catch(bn){Fr(bn)}nt.$flags$&=-9,nt.$flags$|=128,vn(),xe(nt.$lazyInstance$)}if(Ut.style){let vn=Ut.style;"string"!=typeof vn&&(vn=vn[nt.$modeName$=(q=>sn.map(fe=>fe(q)).find(fe=>!!fe))(fe)]);const bn=Ft(mt,nt.$modeName$);if(!Dt.has(bn)){const fn=()=>{};ye(bn,vn,!!(1&mt.$flags$)),fn()}}}const tn=nt.$ancestorComponent$,pn=()=>Cr(nt,!0);tn&&tn["s-rc"]?tn["s-rc"].push(pn):pn()});return function(nt,mt,Et,Ut){return q.apply(this,arguments)}}(),xe=q=>{vt(q,"connectedCallback")},Pt=q=>{const fe=q["s-cr"]=wn.createComment("");fe["s-cn"]=!0,q.insertBefore(fe,q.firstChild)},jt=q=>{vt(q,"disconnectedCallback")},ar=function(){var q=(0,n.c)(function*(fe){if(!(1&Dn.$flags$)){const nt=Vn(fe);nt.$rmListeners$&&(nt.$rmListeners$.map(mt=>mt()),nt.$rmListeners$=void 0),nt?.$lazyInstance$?jt(nt.$lazyInstance$):nt?.$onReadyPromise$&&nt.$onReadyPromise$.then(()=>jt(nt.$lazyInstance$))}});return function(nt){return q.apply(this,arguments)}}(),ur=(q,fe={})=>{var nt;const Et=[],Ut=fe.exclude||[],tn=gn.customElements,pn=wn.head,vn=pn.querySelector("meta[charset]"),bn=wn.createElement("style"),fn=[],In=wn.querySelectorAll(`[${N}]`);let Bn,_r=!0,hr=0;for(Object.assign(Dn,fe),Dn.$resourcesUrl$=new URL(fe.resourcesUrl||"./",wn.baseURI).href,Dn.$flags$|=2;hr{ti[1].map(st=>{var co;const Ri={$flags$:st[0],$tagName$:st[1],$members$:st[2],$listeners$:st[3]};4&Ri.$flags$&&(Lr=!0),Ri.$members$=st[2],Ri.$listeners$=st[3],Ri.$attrsToReflect$=[],Ri.$watchers$=null!==(co=st[4])&&void 0!==co?co:{};const Ur=Ri.$tagName$,xn=class extends HTMLElement{constructor(Jn){super(Jn),dr(Jn=this,Ri),1&Ri.$flags$&&Jn.attachShadow({mode:"open",delegatesFocus:!!(16&Ri.$flags$)})}connectedCallback(){Bn&&(clearTimeout(Bn),Bn=null),_r?fn.push(this):Dn.jmp(()=>(q=>{if(!(1&Dn.$flags$)){const fe=Vn(q),nt=fe.$cmpMeta$,mt=()=>{};if(1&fe.$flags$)Tr(q,fe,nt.$listeners$),fe?.$lazyInstance$?xe(fe.$lazyInstance$):fe?.$onReadyPromise$&&fe.$onReadyPromise$.then(()=>xe(fe.$lazyInstance$));else{let Et;if(fe.$flags$|=1,Et=q.getAttribute(L),Et){if(1&nt.$flags$){const Ut=Te(q.shadowRoot,nt,q.getAttribute("s-mode"));q.classList.remove(Ut+"-h",Ut+"-s")}((q,fe,nt,mt)=>{const Ut=q.shadowRoot,tn=[],vn=Ut?[]:null,bn=mt.$vnode$=Ge(fe,null);Dn.$orgLocNodes$||_e(wn.body,Dn.$orgLocNodes$=new Map),q[L]=nt,q.removeAttribute(L),Be(bn,tn,[],vn,q,q,nt),tn.map(fn=>{const In=fn.$hostId$+"."+fn.$nodeId$,Bn=Dn.$orgLocNodes$.get(In),_r=fn.$elm$;Bn&&Xn&&""===Bn["s-en"]&&Bn.parentNode.insertBefore(_r,Bn.nextSibling),Ut||(_r["s-hn"]=fe,Bn&&(_r["s-ol"]=Bn,_r["s-ol"]["s-nr"]=_r)),Dn.$orgLocNodes$.delete(In)}),Ut&&vn.map(fn=>{fn&&Ut.appendChild(fn)})})(q,nt.$tagName$,Et,fe)}Et||12&nt.$flags$&&Pt(q);{let Ut=q;for(;Ut=Ut.parentNode||Ut.host;)if(1===Ut.nodeType&&Ut.hasAttribute("s-id")&&Ut["s-p"]||Ut["s-p"]){fi(fe,fe.$ancestorComponent$=Ut);break}}nt.$members$&&Object.entries(nt.$members$).map(([Ut,[tn]])=>{if(31&tn&&q.hasOwnProperty(Ut)){const pn=q[Ut];delete q[Ut],q[Ut]=pn}}),Sn(q,fe,nt)}mt()}})(this))}disconnectedCallback(){Dn.jmp(()=>ar(this))}componentOnReady(){return Vn(this).$onReadyPromise$}};Ri.$lazyBundleId$=ti[0],!Ut.includes(Ur)&&!tn.get(Ur)&&(Et.push(Ur),tn.define(Ur,Vt(xn,Ri,1)))})}),Et.length>0&&(Lr&&(bn.innerHTML+=R),bn.innerHTML+=Et+"{visibility:hidden}.hydrated{visibility:inherit}",bn.innerHTML.length)){bn.setAttribute("data-styles","");const ti=null!==(nt=Dn.$nonce$)&&void 0!==nt?nt:be(wn);null!=ti&&bn.setAttribute("nonce",ti),pn.insertBefore(bn,vn?vn.nextSibling:pn.firstChild)}_r=!1,fn.length?fn.map(ti=>ti.connectedCallback()):Dn.jmp(()=>Bn=setTimeout(He,30))},Tr=(q,fe,nt,mt)=>{nt&&nt.map(([Et,Ut,tn])=>{const pn=nr(q,Et),vn=lr(fe,tn),bn=Nr(Et);Dn.ael(pn,Ut,vn,bn),(fe.$rmListeners$=fe.$rmListeners$||[]).push(()=>Dn.rel(pn,Ut,vn,bn))})},lr=(q,fe)=>nt=>{try{256&q.$flags$?q.$lazyInstance$[fe](nt):(q.$queuedListeners$=q.$queuedListeners$||[]).push([fe,nt])}catch(mt){Fr(mt)}},nr=(q,fe)=>4&fe?wn:8&fe?gn:16&fe?wn.body:q,Nr=q=>xr?{passive:0!=(1&q),capture:0!=(2&q)}:0!=(2&q),rn=new WeakMap,Vn=q=>rn.get(q),qn=(q,fe)=>rn.set(fe.$lazyInstance$=q,fe),dr=(q,fe)=>{const nt={$flags$:0,$hostElement$:q,$cmpMeta$:fe,$instanceValues$:new Map};return nt.$onInstancePromise$=new Promise(mt=>nt.$onInstanceResolve$=mt),nt.$onReadyPromise$=new Promise(mt=>nt.$onReadyResolve$=mt),q["s-p"]=[],q["s-rc"]=[],Tr(q,nt,fe.$listeners$),rn.set(q,nt)},ii=(q,fe)=>fe in q,Fr=(q,fe)=>(0,console.error)(q,fe),at=new Map,xt=(q,fe,nt)=>{const mt=q.$tagName$.replace(/-/g,"_"),Et=q.$lazyBundleId$,Ut=at.get(Et);return Ut?Ut[mt]:s(21480)(`./${Et}.entry.js`).then(tn=>(at.set(Et,tn),tn[mt]),Fr)},Dt=new Map,sn=[],gn=typeof window<"u"?window:{},wn=gn.document||{head:{}},Dn={$flags$:0,$resourcesUrl$:"",jmp:q=>q(),raf:q=>requestAnimationFrame(q),ael:(q,fe,nt,mt)=>q.addEventListener(fe,nt,mt),rel:(q,fe,nt,mt)=>q.removeEventListener(fe,nt,mt),ce:(q,fe)=>new CustomEvent(q,fe)},sr=q=>{Object.assign(Dn,q)},Xn=!0,xr=(()=>{let q=!1;try{wn.addEventListener("e",null,Object.defineProperty({},"passive",{get(){q=!0}}))}catch{}return q})(),Vr=(()=>{try{return new CSSStyleSheet,"function"==typeof(new CSSStyleSheet).replaceSync}catch{}return!1})(),Ir=[],Er=[],un=(q,fe)=>nt=>{q.push(nt),p||(p=!0,fe&&4&Dn.$flags$?Q(F):Dn.raf(F))},x=q=>{for(let fe=0;fe{x(Ir),x(Er),(p=Ir.length>0)&&Dn.raf(F)},Q=q=>Promise.resolve(void 0).then(q),De=un(Ir,!1),me=un(Er,!0)},52032:(pe,m,s)=>{"use strict";s.d(m,{a:()=>c,b:()=>u,p:()=>n});const n=(l,...i)=>console.warn(`[Ionic Warning]: ${l}`,...i),c=(l,...i)=>console.error(`[Ionic Error]: ${l}`,...i),u=(l,...i)=>console.error(`<${l.tagName.toLowerCase()}> must be used inside ${i.join(" or ")}.`)},14829:(pe,m,s)=>{"use strict";s.d(m,{d:()=>c,w:()=>n});const n=typeof window<"u"?window:void 0,c=typeof document<"u"?document:void 0},43452:(pe,m,s)=>{"use strict";s.d(m,{m:()=>S});var n=s(1528),c=s(14829),u=s(72784),l=s(52032),i=s(46384),e=s(88523),o=s(30388);const d=y=>(0,o.c)().duration(y?400:300),v=y=>{let f,C;const _=y.width+8,w=(0,o.c)(),D=(0,o.c)();y.isEndSide?(f=_+"px",C="0px"):(f=-_+"px",C="0px"),w.addElement(y.menuInnerEl).fromTo("transform",`translateX(${f})`,`translateX(${C})`);const N="ios"===(0,e.b)(y),V=N?.2:.25;return D.addElement(y.backdropEl).fromTo("opacity",.01,V),d(N).addAnimation([w,D])},M=y=>{let f,C;const _=(0,e.b)(y),w=y.width;y.isEndSide?(f=-w+"px",C=w+"px"):(f=w+"px",C=-w+"px");const D=(0,o.c)().addElement(y.menuInnerEl).fromTo("transform",`translateX(${C})`,"translateX(0px)"),L=(0,o.c)().addElement(y.contentEl).fromTo("transform","translateX(0px)",`translateX(${f})`),N=(0,o.c)().addElement(y.backdropEl).fromTo("opacity",.01,.32);return d("ios"===_).addAnimation([D,L,N])},p=y=>{const f=(0,e.b)(y),C=y.width*(y.isEndSide?-1:1)+"px",_=(0,o.c)().addElement(y.contentEl).fromTo("transform","translateX(0px)",`translateX(${C})`);return d("ios"===f).addAnimation(_)},S=(()=>{const y=new Map,f=[],C=function(){var Re=(0,n.c)(function*(Qe){const $e=yield G(Qe,!0);return!!$e&&$e.open()});return function($e){return Re.apply(this,arguments)}}(),_=function(){var Re=(0,n.c)(function*(Qe){const $e=yield void 0!==Qe?G(Qe,!0):R();return void 0!==$e&&$e.close()});return function($e){return Re.apply(this,arguments)}}(),w=function(){var Re=(0,n.c)(function*(Qe){const $e=yield G(Qe,!0);return!!$e&&$e.toggle()});return function($e){return Re.apply(this,arguments)}}(),D=function(){var Re=(0,n.c)(function*(Qe,$e){const Be=yield G($e);return Be&&(Be.disabled=!Qe),Be});return function($e,Be){return Re.apply(this,arguments)}}(),L=function(){var Re=(0,n.c)(function*(Qe,$e){const Be=yield G($e);return Be&&(Be.swipeGesture=Qe),Be});return function($e,Be){return Re.apply(this,arguments)}}(),N=function(){var Re=(0,n.c)(function*(Qe){if(null!=Qe){const $e=yield G(Qe);return void 0!==$e&&$e.isOpen()}return void 0!==(yield R())});return function($e){return Re.apply(this,arguments)}}(),V=function(){var Re=(0,n.c)(function*(Qe){const $e=yield G(Qe);return!!$e&&!$e.disabled});return function($e){return Re.apply(this,arguments)}}(),G=function(){var Re=(0,n.c)(function*(Qe,$e=!1){if(yield ke(),"start"===Qe||"end"===Qe){const _e=f.filter(Se=>Se.side===Qe&&!Se.disabled);if(_e.length>=1)return _e.length>1&&$e&&(0,l.p)(`menuController queried for a menu on the "${Qe}" 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(Se=>Se.el)),_e[0].el;const Me=f.filter(Se=>Se.side===Qe);if(Me.length>=1)return Me.length>1&&$e&&(0,l.p)(`menuController queried for a menu on the "${Qe}" 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(Se=>Se.el)),Me[0].el}else if(null!=Qe)return Oe(_e=>_e.menuId===Qe);return Oe(_e=>!_e.disabled)||(f.length>0?f[0].el:void 0)});return function($e){return Re.apply(this,arguments)}}(),R=function(){var Re=(0,n.c)(function*(){return yield ke(),ce()});return function(){return Re.apply(this,arguments)}}(),k=function(){var Re=(0,n.c)(function*(){return yield ke(),Ge()});return function(){return Re.apply(this,arguments)}}(),A=function(){var Re=(0,n.c)(function*(){return yield ke(),ct()});return function(){return Re.apply(this,arguments)}}(),H=(Re,Qe)=>{y.set(Re,Qe)},J=function(){var Re=(0,n.c)(function*(Qe,$e,Be){if(ct())return!1;if($e){const _e=yield R();_e&&Qe.el!==_e&&(yield _e.setOpen(!1,!1))}return Qe._setOpen($e,Be)});return function($e,Be,_e){return Re.apply(this,arguments)}}(),ce=()=>Oe(Re=>Re._isOpen),Ge=()=>f.map(Re=>Re.el),ct=()=>f.some(Re=>Re.isAnimating),Oe=Re=>{const Qe=f.find(Re);if(void 0!==Qe)return Qe.el},ke=()=>Promise.all(Array.from(document.querySelectorAll("ion-menu")).map(Re=>new Promise(Qe=>(0,i.c)(Re,Qe))));return H("reveal",p),H("push",M),H("overlay",v),null==c.d||c.d.addEventListener("ionBackButton",Re=>{const Qe=ce();Qe&&Re.detail.register(u.MENU_BACK_BUTTON_PRIORITY,()=>Qe.close())}),{registerAnimation:H,get:G,getMenus:k,getOpen:R,isEnabled:V,swipeGesture:L,isAnimating:A,isOpen:N,enable:D,toggle:w,close:_,open:C,_getOpenSync:ce,_createAnimation:(Re,Qe)=>{const $e=y.get(Re);if(!$e)throw new Error("animation not registered");return $e(Qe)},_register:Re=>{f.indexOf(Re)<0&&f.push(Re)},_unregister:Re=>{const Qe=f.indexOf(Re);Qe>-1&&f.splice(Qe,1)},_setOpen:J}})()},88523:(pe,m,s)=>{"use strict";s.d(m,{a:()=>p,b:()=>Ge,c:()=>u,g:()=>M,i:()=>ct});var n=s(62992);class c{constructor(){this.m=new Map}reset(ke){this.m=new Map(Object.entries(ke))}get(ke,Re){const Qe=this.m.get(ke);return void 0!==Qe?Qe:Re}getBoolean(ke,Re=!1){const Qe=this.m.get(ke);return void 0===Qe?Re:"string"==typeof Qe?"true"===Qe:!!Qe}getNumber(ke,Re){const Qe=parseFloat(this.m.get(ke));return isNaN(Qe)?void 0!==Re?Re:NaN:Qe}set(ke,Re){this.m.set(ke,Re)}}const u=new c,d="ionic:",v="ionic-persist-config",M=Oe=>E(Oe),p=(Oe,ke)=>("string"==typeof Oe&&(ke=Oe,Oe=void 0),M(Oe).includes(ke)),E=(Oe=window)=>{if(typeof Oe>"u")return[];Oe.Ionic=Oe.Ionic||{};let ke=Oe.Ionic.platforms;return null==ke&&(ke=Oe.Ionic.platforms=S(Oe),ke.forEach(Re=>Oe.document.documentElement.classList.add(`plt-${Re}`))),ke},S=Oe=>{const ke=u.get("platform");return Object.keys(be).filter(Re=>{const Qe=ke?.[Re];return"function"==typeof Qe?Qe(Oe):be[Re](Oe)})},f=Oe=>!!(ie(Oe,/iPad/i)||ie(Oe,/Macintosh/i)&&V(Oe)),w=Oe=>ie(Oe,/android|sink/i),V=Oe=>J(Oe,"(any-pointer:coarse)"),R=Oe=>k(Oe)||A(Oe),k=Oe=>!!(Oe.cordova||Oe.phonegap||Oe.PhoneGap),A=Oe=>{const ke=Oe.Capacitor;return!!ke?.isNative},ie=(Oe,ke)=>ke.test(Oe.navigator.userAgent),J=(Oe,ke)=>{var Re;return null===(Re=Oe.matchMedia)||void 0===Re?void 0:Re.call(Oe,ke).matches},be={ipad:f,iphone:Oe=>ie(Oe,/iPhone/i),ios:Oe=>ie(Oe,/iPhone|iPod/i)||f(Oe),android:w,phablet:Oe=>{const ke=Oe.innerWidth,Re=Oe.innerHeight,Qe=Math.min(ke,Re),$e=Math.max(ke,Re);return Qe>390&&Qe<520&&$e>620&&$e<800},tablet:Oe=>{const ke=Oe.innerWidth,Re=Oe.innerHeight,Qe=Math.min(ke,Re),$e=Math.max(ke,Re);return f(Oe)||(Oe=>w(Oe)&&!ie(Oe,/mobile/i))(Oe)||Qe>460&&Qe<820&&$e>780&&$e<1400},cordova:k,capacitor:A,electron:Oe=>ie(Oe,/electron/i),pwa:Oe=>{var ke;return!!(null!==(ke=Oe.matchMedia)&&void 0!==ke&&ke.call(Oe,"(display-mode: standalone)").matches||Oe.navigator.standalone)},mobile:V,mobileweb:Oe=>V(Oe)&&!R(Oe),desktop:Oe=>!V(Oe),hybrid:R};let ce;const Ge=Oe=>Oe&&(0,n.g)(Oe)||ce,ct=(Oe={})=>{if(typeof window>"u")return;const ke=window.document,Re=window,Qe=Re.Ionic=Re.Ionic||{},$e={};Oe._ael&&($e.ael=Oe._ael),Oe._rel&&($e.rel=Oe._rel),Oe._ce&&($e.ce=Oe._ce),(0,n.a)($e);const Be=Object.assign(Object.assign(Object.assign(Object.assign(Object.assign({},(Oe=>{try{const ke=Oe.sessionStorage.getItem(v);return null!==ke?JSON.parse(ke):{}}catch{return{}}})(Re)),{persistConfig:!1}),Qe.config),(Oe=>{const ke={};return Oe.location.search.slice(1).split("&").map(Re=>Re.split("=")).map(([Re,Qe])=>[decodeURIComponent(Re),decodeURIComponent(Qe)]).filter(([Re])=>((Oe,ke)=>Oe.substr(0,ke.length)===ke)(Re,d)).map(([Re,Qe])=>[Re.slice(6),Qe]).forEach(([Re,Qe])=>{ke[Re]=Qe}),ke})(Re)),Oe);u.reset(Be),u.getBoolean("persistConfig")&&((Oe,ke)=>{try{Oe.sessionStorage.setItem(v,JSON.stringify(ke))}catch{return}})(Re,Be),E(Re),Qe.config=u,Qe.mode=ce=u.get("mode",ke.documentElement.getAttribute("mode")||(p(Re,"ios")?"ios":"md")),u.set("mode",ce),ke.documentElement.setAttribute("mode",ce),ke.documentElement.classList.add(ce),u.getBoolean("_testing")&&u.set("animated",!1);const _e=Se=>{var je;return null===(je=Se.tagName)||void 0===je?void 0:je.startsWith("ION-")},Me=Se=>["ios","md"].includes(Se);(0,n.c)(Se=>{for(;Se;){const je=Se.mode||Se.getAttribute("mode");if(je){if(Me(je))return je;_e(Se)&&console.warn('Invalid ionic mode: "'+je+'", expected: "ios" or "md"')}Se=Se.parentElement}return ce})}},68512:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{iosTransitionAnimation:()=>S,shadow:()=>o});var n=s(30388),c=s(76256);s(14829),s(62992);const e=f=>document.querySelector(`${f}.ion-cloned-element`),o=f=>f.shadowRoot||f,d=f=>{const C="ION-TABS"===f.tagName?f:f.querySelector("ion-tabs"),_="ion-content ion-header:not(.header-collapse-condense-inactive) ion-title.title-large";if(null!=C){const w=C.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");return null!=w?w.querySelector(_):null}return f.querySelector(_)},v=(f,C)=>{const _="ION-TABS"===f.tagName?f:f.querySelector("ion-tabs");let w=[];if(null!=_){const D=_.querySelector("ion-tab:not(.tab-hidden), .ion-page:not(.ion-page-hidden)");null!=D&&(w=D.querySelectorAll("ion-buttons"))}else w=f.querySelectorAll("ion-buttons");for(const D of w){const L=D.closest("ion-header"),N=L&&!L.classList.contains("header-collapse-condense-inactive"),V=D.querySelector("ion-back-button"),G=D.classList.contains("buttons-collapse");if(null!==V&&("start"===D.slot||""===D.slot)&&(G&&N&&C||!G))return V}return null},p=(f,C,_,w,D,L,N,V,G)=>{var R,k;const A=C?`calc(100% - ${D.right+4}px)`:D.left-4+"px",H=C?"right":"left",K=C?"left":"right",ie=C?"right":"left",J=(null===(R=L.textContent)||void 0===R?void 0:R.trim())===(null===(k=V.textContent)||void 0===k?void 0:k.trim()),ce=(G.height-y)/N.height,Ge=J?`scale(${G.width/N.width}, ${ce})`:`scale(${ce})`,ct="scale(1)",ke=o(w).querySelector("ion-icon").getBoundingClientRect(),Re=C?ke.width/2-(ke.right-D.right)+"px":D.left-ke.width/2+"px",Qe=C?`-${window.innerWidth-D.right}px`:`${D.left}px`,$e=`${G.top}px`,Be=`${D.top}px`,Se=_?[{offset:0,transform:`translate3d(${Qe}, ${Be}, 0)`},{offset:1,transform:`translate3d(${Re}, ${$e}, 0)`}]:[{offset:0,transform:`translate3d(${Re}, ${$e}, 0)`},{offset:1,transform:`translate3d(${Qe}, ${Be}, 0)`}],we=_?[{offset:0,opacity:1,transform:ct},{offset:1,opacity:0,transform:Ge}]:[{offset:0,opacity:0,transform:Ge},{offset:1,opacity:1,transform:ct}],wt=_?[{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)"}],ye=(0,n.c)(),Te=(0,n.c)(),ht=(0,n.c)(),Ft=e("ion-back-button"),nn=o(Ft).querySelector(".button-text"),Yt=o(Ft).querySelector("ion-icon");Ft.text=w.text,Ft.mode=w.mode,Ft.icon=w.icon,Ft.color=w.color,Ft.disabled=w.disabled,Ft.style.setProperty("display","block"),Ft.style.setProperty("position","fixed"),Te.addElement(Yt),ye.addElement(nn),ht.addElement(Ft),ht.beforeStyles({position:"absolute",top:"0px",[ie]:"0px"}).keyframes(Se),ye.beforeStyles({"transform-origin":`${H} top`}).beforeAddWrite(()=>{w.style.setProperty("display","none"),Ft.style.setProperty(H,A)}).afterAddWrite(()=>{w.style.setProperty("display",""),Ft.style.setProperty("display","none"),Ft.style.removeProperty(H)}).keyframes(we),Te.beforeStyles({"transform-origin":`${K} center`}).keyframes(wt),f.addAnimation([ye,Te,ht])},E=(f,C,_,w,D,L,N,V)=>{var G,R;const k=C?"right":"left",A=C?`calc(100% - ${D.right}px)`:`${D.left}px`,K=`${D.top}px`,J=C?`-${window.innerWidth-V.right-8}px`:V.x-8+"px",ce=V.y-2+"px",Ge=(null===(G=N.textContent)||void 0===G?void 0:G.trim())===(null===(R=w.textContent)||void 0===R?void 0:R.trim()),Oe=V.height/(L.height-y),ke="scale(1)",Re=Ge?`scale(${V.width/L.width}, ${Oe})`:`scale(${Oe})`,Be=_?[{offset:0,opacity:0,transform:`translate3d(${J}, ${ce}, 0) ${Re}`},{offset:.1,opacity:0},{offset:1,opacity:1,transform:`translate3d(0px, ${K}, 0) ${ke}`}]:[{offset:0,opacity:.99,transform:`translate3d(0px, ${K}, 0) ${ke}`},{offset:.6,opacity:0},{offset:1,opacity:0,transform:`translate3d(${J}, ${ce}, 0) ${Re}`}],_e=e("ion-title"),Me=(0,n.c)();_e.innerText=w.innerText,_e.size=w.size,_e.color=w.color,Me.addElement(_e),Me.beforeStyles({"transform-origin":`${k} top`,height:`${D.height}px`,display:"",position:"relative",[k]:A}).beforeAddWrite(()=>{w.style.setProperty("opacity","0")}).afterAddWrite(()=>{w.style.setProperty("opacity",""),_e.style.setProperty("display","none")}).keyframes(Be),f.addAnimation(Me)},S=(f,C)=>{var _;try{const w="cubic-bezier(0.32,0.72,0,1)",D="opacity",L="transform",N="0%",G="rtl"===f.ownerDocument.dir,R=G?"-99.5%":"99.5%",k=G?"33%":"-33%",A=C.enteringEl,H=C.leavingEl,K="back"===C.direction,ie=A.querySelector(":scope > ion-content"),J=A.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *"),be=A.querySelectorAll(":scope > ion-header > ion-toolbar"),ce=(0,n.c)(),Ge=(0,n.c)();if(ce.addElement(A).duration((null!==(_=C.duration)&&void 0!==_?_:0)||540).easing(C.easing||w).fill("both").beforeRemoveClass("ion-page-invisible"),H&&null!=f){const Re=(0,n.c)();Re.addElement(f),ce.addAnimation(Re)}if(ie||0!==be.length||0!==J.length?(Ge.addElement(ie),Ge.addElement(J)):Ge.addElement(A.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),ce.addAnimation(Ge),K?Ge.beforeClearStyles([D]).fromTo("transform",`translateX(${k})`,`translateX(${N})`).fromTo(D,.8,1):Ge.beforeClearStyles([D]).fromTo("transform",`translateX(${R})`,`translateX(${N})`),ie){const Re=o(ie).querySelector(".transition-effect");if(Re){const Qe=Re.querySelector(".transition-cover"),$e=Re.querySelector(".transition-shadow"),Be=(0,n.c)(),_e=(0,n.c)(),Me=(0,n.c)();Be.addElement(Re).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),_e.addElement(Qe).beforeClearStyles([D]).fromTo(D,0,.1),Me.addElement($e).beforeClearStyles([D]).fromTo(D,.03,.7),Be.addAnimation([_e,Me]),Ge.addAnimation([Be])}}const ct=A.querySelector("ion-header.header-collapse-condense"),{forward:Oe,backward:ke}=((f,C,_,w,D)=>{const L=v(w,_),N=d(D),V=d(w),G=v(D,_),R=null!==L&&null!==N&&!_,k=null!==V&&null!==G&&_;if(R){const A=N.getBoundingClientRect(),H=L.getBoundingClientRect(),K=o(L).querySelector(".button-text"),ie=K.getBoundingClientRect(),be=o(N).querySelector(".toolbar-title").getBoundingClientRect();E(f,C,_,N,A,be,K,ie),p(f,C,_,L,H,K,ie,N,be)}else if(k){const A=V.getBoundingClientRect(),H=G.getBoundingClientRect(),K=o(G).querySelector(".button-text"),ie=K.getBoundingClientRect(),be=o(V).querySelector(".toolbar-title").getBoundingClientRect();E(f,C,_,V,A,be,K,ie),p(f,C,_,G,H,K,ie,V,be)}return{forward:R,backward:k}})(ce,G,K,A,H);if(be.forEach(Re=>{const Qe=(0,n.c)();Qe.addElement(Re),ce.addAnimation(Qe);const $e=(0,n.c)();$e.addElement(Re.querySelector("ion-title"));const Be=(0,n.c)(),_e=Array.from(Re.querySelectorAll("ion-buttons,[menuToggle]")),Me=Re.closest("ion-header"),Se=Me?.classList.contains("header-collapse-condense-inactive");let je;je=_e.filter(K?wt=>{const ye=wt.classList.contains("buttons-collapse");return ye&&!Se||!ye}:wt=>!wt.classList.contains("buttons-collapse")),Be.addElement(je);const re=(0,n.c)();re.addElement(Re.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])"));const we=(0,n.c)();we.addElement(o(Re).querySelector(".toolbar-background"));const rt=(0,n.c)(),tt=Re.querySelector("ion-back-button");if(tt&&rt.addElement(tt),Qe.addAnimation([$e,Be,re,we,rt]),Be.fromTo(D,.01,1),re.fromTo(D,.01,1),K)Se||$e.fromTo("transform",`translateX(${k})`,`translateX(${N})`).fromTo(D,.01,1),re.fromTo("transform",`translateX(${k})`,`translateX(${N})`),rt.fromTo(D,.01,1);else if(ct||$e.fromTo("transform",`translateX(${R})`,`translateX(${N})`).fromTo(D,.01,1),re.fromTo("transform",`translateX(${R})`,`translateX(${N})`),we.beforeClearStyles([D,"transform"]),Me?.translucent?we.fromTo("transform",G?"translateX(-100%)":"translateX(100%)","translateX(0px)"):we.fromTo(D,.01,"var(--opacity)"),Oe||rt.fromTo(D,.01,1),tt&&!Oe){const ye=(0,n.c)();ye.addElement(o(tt).querySelector(".button-text")).fromTo("transform",G?"translateX(-100px)":"translateX(100px)","translateX(0px)"),Qe.addAnimation(ye)}}),H){const Re=(0,n.c)(),Qe=H.querySelector(":scope > ion-content"),$e=H.querySelectorAll(":scope > ion-header > ion-toolbar"),Be=H.querySelectorAll(":scope > ion-header > *:not(ion-toolbar), :scope > ion-footer > *");if(Qe||0!==$e.length||0!==Be.length?(Re.addElement(Qe),Re.addElement(Be)):Re.addElement(H.querySelector(":scope > .ion-page, :scope > ion-nav, :scope > ion-tabs")),ce.addAnimation(Re),K){Re.beforeClearStyles([D]).fromTo("transform",`translateX(${N})`,G?"translateX(-100%)":"translateX(100%)");const _e=(0,c.g)(H);ce.afterAddWrite(()=>{"normal"===ce.getDirection()&&_e.style.setProperty("display","none")})}else Re.fromTo("transform",`translateX(${N})`,`translateX(${k})`).fromTo(D,1,.8);if(Qe){const _e=o(Qe).querySelector(".transition-effect");if(_e){const Me=_e.querySelector(".transition-cover"),Se=_e.querySelector(".transition-shadow"),je=(0,n.c)(),re=(0,n.c)(),we=(0,n.c)();je.addElement(_e).beforeStyles({opacity:"1",display:"block"}).afterStyles({opacity:"",display:""}),re.addElement(Me).beforeClearStyles([D]).fromTo(D,.1,0),we.addElement(Se).beforeClearStyles([D]).fromTo(D,.7,.03),je.addAnimation([re,we]),Re.addAnimation([je])}}$e.forEach(_e=>{const Me=(0,n.c)();Me.addElement(_e);const Se=(0,n.c)();Se.addElement(_e.querySelector("ion-title"));const je=(0,n.c)(),re=_e.querySelectorAll("ion-buttons,[menuToggle]"),we=_e.closest("ion-header"),rt=we?.classList.contains("header-collapse-condense-inactive"),tt=Array.from(re).filter(nn=>{const Yt=nn.classList.contains("buttons-collapse");return Yt&&!rt||!Yt});je.addElement(tt);const wt=(0,n.c)(),ye=_e.querySelectorAll(":scope > *:not(ion-title):not(ion-buttons):not([menuToggle])");ye.length>0&&wt.addElement(ye);const Te=(0,n.c)();Te.addElement(o(_e).querySelector(".toolbar-background"));const ht=(0,n.c)(),Ft=_e.querySelector("ion-back-button");if(Ft&&ht.addElement(Ft),Me.addAnimation([Se,je,wt,ht,Te]),ce.addAnimation(Me),ht.fromTo(D,.99,0),je.fromTo(D,.99,0),wt.fromTo(D,.99,0),K){if(rt||Se.fromTo("transform",`translateX(${N})`,G?"translateX(-100%)":"translateX(100%)").fromTo(D,.99,0),wt.fromTo("transform",`translateX(${N})`,G?"translateX(-100%)":"translateX(100%)"),Te.beforeClearStyles([D,"transform"]),we?.translucent?Te.fromTo("transform","translateX(0px)",G?"translateX(-100%)":"translateX(100%)"):Te.fromTo(D,"var(--opacity)",0),Ft&&!ke){const Yt=(0,n.c)();Yt.addElement(o(Ft).querySelector(".button-text")).fromTo("transform",`translateX(${N})`,`translateX(${(G?-124:124)+"px"})`),Me.addAnimation(Yt)}}else rt||Se.fromTo("transform",`translateX(${N})`,`translateX(${k})`).fromTo(D,.99,0).afterClearStyles([L,D]),wt.fromTo("transform",`translateX(${N})`,`translateX(${k})`).afterClearStyles([L,D]),ht.afterClearStyles([D]),Se.afterClearStyles([D]),je.afterClearStyles([D])})}return ce}catch(w){throw w}},y=10},96556:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{mdTransitionAnimation:()=>i});var n=s(30388),c=s(76256);s(14829),s(62992);const i=(e,o)=>{var d,v,M;const p="40px",S="back"===o.direction,f=o.leavingEl,C=(0,c.g)(o.enteringEl),_=C.querySelector("ion-toolbar"),w=(0,n.c)();if(w.addElement(C).fill("both").beforeRemoveClass("ion-page-invisible"),S?w.duration((null!==(d=o.duration)&&void 0!==d?d:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)"):w.duration((null!==(v=o.duration)&&void 0!==v?v:0)||280).easing("cubic-bezier(0.36,0.66,0.04,1)").fromTo("transform",`translateY(${p})`,"translateY(0px)").fromTo("opacity",.01,1),_){const D=(0,n.c)();D.addElement(_),w.addAnimation(D)}if(f&&S){w.duration((null!==(M=o.duration)&&void 0!==M?M:0)||200).easing("cubic-bezier(0.47,0,0.745,0.715)");const D=(0,n.c)();D.addElement((0,c.g)(f)).onFinish(L=>{1===L&&D.elements.length>0&&D.elements[0].style.setProperty("display","none")}).fromTo("transform","translateY(0px)",`translateY(${p})`).fromTo("opacity",1,0),w.addAnimation(D)}return w}},63816:(pe,m,s)=>{"use strict";s.d(m,{B:()=>je,G:()=>re,O:()=>we,a:()=>E,b:()=>S,c:()=>_,d:()=>rt,e:()=>tt,f:()=>ct,g:()=>ke,h:()=>$e,i:()=>_e,j:()=>D,k:()=>L,l:()=>y,m:()=>f,n:()=>R,o:()=>ce,p:()=>C,s:()=>Se,t:()=>w});var n=s(1528),c=s(14829),u=s(72784),l=s(88523),i=s(10495),e=s(46384),o=s(52032);let d=0,v=0;const M=new WeakMap,p=wt=>({create:ye=>N(wt,ye),dismiss:(ye,Te,ht)=>ie(document,ye,Te,wt,ht),getTop:()=>(0,n.c)(function*(){return ce(document,wt)})()}),E=p("ion-alert"),S=p("ion-action-sheet"),y=p("ion-loading"),f=p("ion-modal"),C=p("ion-picker"),_=p("ion-popover"),w=p("ion-toast"),D=wt=>{typeof document<"u"&&K(document);const ye=d++;wt.overlayIndex=ye},L=wt=>(wt.hasAttribute("id")||(wt.id="ion-overlay-"+ ++v),wt.id),N=(wt,ye)=>typeof window<"u"&&typeof window.customElements<"u"?window.customElements.whenDefined(wt).then(()=>{const Te=document.createElement(wt);return Te.classList.add("overlay-hidden"),Object.assign(Te,Object.assign(Object.assign({},ye),{hasController:!0})),Re(document).appendChild(Te),new Promise(ht=>(0,e.c)(Te,ht))}):Promise.resolve(),V='[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])',R=(wt,ye)=>{const Te=wt.querySelector(V);A(Te,ye)},k=(wt,ye)=>{const Te=Array.from(wt.querySelectorAll(V));A(Te.length>0?Te[Te.length-1]:null,ye)},A=(wt,ye)=>{let Te=wt;const ht=wt?.shadowRoot;ht&&(Te=ht.querySelector(V)||wt),Te?(0,e.f)(Te):ye.focus()},K=wt=>{0===d&&(d=1,wt.addEventListener("focus",ye=>{((wt,ye)=>{const Te=ce(ye,"ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover"),ht=wt.target;Te&&ht&&!Te.classList.contains("ion-disable-focus-trap")&&(Te.shadowRoot?(()=>{if(Te.contains(ht))Te.lastFocus=ht;else if("ION-TOAST"===ht.tagName)A(Te.lastFocus,Te);else{const Yt=Te.lastFocus;R(Te,Te),Yt===ye.activeElement&&k(Te,Te),Te.lastFocus=ye.activeElement}})():(()=>{if(Te===ht)Te.lastFocus=void 0;else if("ION-TOAST"===ht.tagName)A(Te.lastFocus,Te);else{const Yt=(0,e.g)(Te);if(!Yt.contains(ht))return;const Zt=Yt.querySelector(".ion-overlay-wrapper");if(!Zt)return;if(Zt.contains(ht)||ht===Yt.querySelector("ion-backdrop"))Te.lastFocus=ht;else{const Mn=Te.lastFocus;R(Zt,Te),Mn===ye.activeElement&&k(Zt,Te),Te.lastFocus=ye.activeElement}}})())})(ye,wt)},!0),wt.addEventListener("ionBackButton",ye=>{const Te=ce(wt);Te?.backdropDismiss&&ye.detail.register(u.OVERLAY_BACK_BUTTON_PRIORITY,()=>{Te.dismiss(void 0,je)})}),(0,u.shoudUseCloseWatcher)()||wt.addEventListener("keydown",ye=>{if("Escape"===ye.key){const Te=ce(wt);Te?.backdropDismiss&&Te.dismiss(void 0,je)}}))},ie=(wt,ye,Te,ht,Ft)=>{const nn=ce(wt,ht,Ft);return nn?nn.dismiss(ye,Te):Promise.reject("overlay does not exist")},be=(wt,ye)=>((wt,ye)=>(void 0===ye&&(ye="ion-alert,ion-action-sheet,ion-loading,ion-modal,ion-picker,ion-popover,ion-toast"),Array.from(wt.querySelectorAll(ye)).filter(Te=>Te.overlayIndex>0)))(wt,ye).filter(Te=>!(wt=>wt.classList.contains("overlay-hidden"))(Te)),ce=(wt,ye,Te)=>{const ht=be(wt,ye);return void 0===Te?ht[ht.length-1]:ht.find(Ft=>Ft.id===Te)},Ge=(wt=!1)=>{const Te=Re(document).querySelector("ion-router-outlet, ion-nav, #ion-view-container-root");Te&&(wt?Te.setAttribute("aria-hidden","true"):Te.removeAttribute("aria-hidden"))},ct=function(){var wt=(0,n.c)(function*(ye,Te,ht,Ft,nn){var Yt,Zt;if(ye.presented)return;Ge(!0),void 0!==c.d&&be(c.d).forEach(kn=>kn.setAttribute("aria-hidden","true")),ye.presented=!0,ye.willPresent.emit(),null===(Yt=ye.willPresentShorthand)||void 0===Yt||Yt.emit();const Mn=(0,l.b)(ye),Un=ye.enterAnimation?ye.enterAnimation:l.c.get(Te,"ios"===Mn?ht:Ft);(yield Qe(ye,Un,ye.el,nn))&&(ye.didPresent.emit(),null===(Zt=ye.didPresentShorthand)||void 0===Zt||Zt.emit()),"ION-TOAST"!==ye.el.tagName&&Oe(ye.el),ye.keyboardClose&&(null===document.activeElement||!ye.el.contains(document.activeElement))&&ye.el.focus(),ye.el.removeAttribute("aria-hidden")});return function(Te,ht,Ft,nn,Yt){return wt.apply(this,arguments)}}(),Oe=function(){var wt=(0,n.c)(function*(ye){let Te=document.activeElement;if(!Te)return;const ht=Te?.shadowRoot;ht&&(Te=ht.querySelector(V)||Te),yield ye.onDidDismiss(),(null===document.activeElement||document.activeElement===document.body)&&Te.focus()});return function(Te){return wt.apply(this,arguments)}}(),ke=function(){var wt=(0,n.c)(function*(ye,Te,ht,Ft,nn,Yt,Zt){var Mn,Un,zt;if(!ye.presented)return!1;void 0!==c.d&&1===be(c.d).length&&Ge(!1),ye.presented=!1;try{ye.el.style.setProperty("pointer-events","none"),ye.willDismiss.emit({data:Te,role:ht}),null===(Mn=ye.willDismissShorthand)||void 0===Mn||Mn.emit({data:Te,role:ht});const Hn=(0,l.b)(ye),kn=ye.leaveAnimation?ye.leaveAnimation:l.c.get(Ft,"ios"===Hn?nn:Yt);ht!==re&&(yield Qe(ye,kn,ye.el,Zt)),ye.didDismiss.emit({data:Te,role:ht}),null===(Un=ye.didDismissShorthand)||void 0===Un||Un.emit({data:Te,role:ht}),(M.get(ye)||[]).forEach(ft=>ft.destroy()),M.delete(ye),ye.el.classList.add("overlay-hidden"),ye.el.style.removeProperty("pointer-events"),void 0!==ye.el.lastFocus&&(ye.el.lastFocus=void 0)}catch(Hn){console.error(Hn)}return ye.el.remove(),void 0!==c.d&&(null===(zt=ce(c.d))||void 0===zt||zt.removeAttribute("aria-hidden")),!0});return function(Te,ht,Ft,nn,Yt,Zt,Mn){return wt.apply(this,arguments)}}(),Re=wt=>wt.querySelector("ion-app")||wt.body,Qe=function(){var wt=(0,n.c)(function*(ye,Te,ht,Ft){ht.classList.remove("overlay-hidden");const Yt=Te(ye.el,Ft);(!ye.animated||!l.c.getBoolean("animated",!0))&&Yt.duration(0),ye.keyboardClose&&Yt.beforeAddWrite(()=>{const Mn=ht.ownerDocument.activeElement;Mn?.matches("input,ion-input, ion-textarea")&&Mn.blur()});const Zt=M.get(ye)||[];return M.set(ye,[...Zt,Yt]),yield Yt.play(),!0});return function(Te,ht,Ft,nn){return wt.apply(this,arguments)}}(),$e=(wt,ye)=>{let Te;const ht=new Promise(Ft=>Te=Ft);return Be(wt,ye,Ft=>{Te(Ft.detail)}),ht},Be=(wt,ye,Te)=>{const ht=Ft=>{(0,e.b)(wt,ye,ht),Te(Ft)};(0,e.a)(wt,ye,ht)},_e=wt=>"cancel"===wt||wt===je,Me=wt=>wt(),Se=(wt,ye)=>{if("function"==typeof wt)return l.c.get("_zoneGate",Me)(()=>{try{return wt(ye)}catch(ht){throw ht}})},je="backdrop",re="gesture",we=39,rt=wt=>{let Te,ye=!1;const ht=(0,i.C)(),Ft=(Zt=!1)=>{if(Te&&!Zt)return{delegate:Te,inline:ye};const{el:Mn,hasController:Un,delegate:zt}=wt;return ye=null!==Mn.parentNode&&!Un,Te=ye?zt||ht:zt,{inline:ye,delegate:Te}};return{attachViewToDom:function(){var Zt=(0,n.c)(function*(Mn){const{delegate:Un}=Ft(!0);if(Un)return yield Un.attachViewToDom(wt.el,Mn);const{hasController:zt}=wt;if(zt&&void 0!==Mn)throw new Error("framework delegate is missing");return null});return function(Un){return Zt.apply(this,arguments)}}(),removeViewFromDom:()=>{const{delegate:Zt}=Ft();Zt&&void 0!==wt.el&&Zt.removeViewFromDom(wt.el.parentElement,wt.el)}}},tt=()=>{let wt;const ye=()=>{wt&&(wt(),wt=void 0)};return{addClickListener:(ht,Ft)=>{ye();const nn=void 0!==Ft?document.getElementById(Ft):null;nn?wt=((Zt,Mn)=>{const Un=()=>{Mn.present()};return Zt.addEventListener("click",Un),()=>{Zt.removeEventListener("click",Un)}})(nn,ht):(0,o.p)(`A trigger element with the ID "${Ft}" was not found in the DOM. The trigger element must be in the DOM when the "trigger" property is set on an overlay component.`,ht)},removeClickListener:ye}}},45256:(pe,m,s)=>{"use strict";s.d(m,{c:()=>u,g:()=>i,h:()=>c,o:()=>o});var n=s(1528);const c=(d,v)=>null!==v.closest(d),u=(d,v)=>"string"==typeof d&&d.length>0?Object.assign({"ion-color":!0,[`ion-color-${d}`]:!0},v):v,i=d=>{const v={};return(d=>void 0!==d?(Array.isArray(d)?d:d.split(" ")).filter(M=>null!=M).map(M=>M.trim()).filter(M=>""!==M):[])(d).forEach(M=>v[M]=!0),v},e=/^[a-z][a-z0-9+\-.]*:/,o=function(){var d=(0,n.c)(function*(v,M,p,E){if(null!=v&&"#"!==v[0]&&!e.test(v)){const S=document.querySelector("ion-router");if(S)return M?.preventDefault(),S.push(v,p,E)}return!1});return function(M,p,E,S){return d.apply(this,arguments)}}()},57140:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{AuthenticationHandler:()=>k,AuthenticationHandlerOptions:()=>V,BatchRequestContent:()=>u,BatchResponseContent:()=>l,ChaosHandler:()=>$e,ChaosHandlerOptions:()=>ke,ChaosStrategy:()=>Oe,Client:()=>ft,CustomAuthenticationProvider:()=>Yt,FeatureUsageFlag:()=>G,FileUpload:()=>tt,GraphClientError:()=>d,GraphError:()=>Zt,GraphRequest:()=>Un,HTTPMessageHandler:()=>A,LargeFileUploadTask:()=>rt,MiddlewareFactory:()=>ct,OneDriveLargeFileUploadTask:()=>ht,PageIterator:()=>nn,Range:()=>re,RedirectHandler:()=>J,RedirectHandlerOptions:()=>ie,ResponseType:()=>Be,RetryHandler:()=>K,RetryHandlerOptions:()=>H,StreamUpload:()=>Ft,TelemetryHandler:()=>ce,TelemetryHandlerOptions:()=>R,UploadResult:()=>we,getValidRangeSize:()=>Te});var n=s(81316),c=function(Pe){return Pe.GET="GET",Pe.PATCH="PATCH",Pe.POST="POST",Pe.PUT="PUT",Pe.DELETE="DELETE",Pe}(c||{});let u=(()=>{class Pe{static validateDependencies(he){if(0===he.size){const Gt=new Error("Empty requests map, Please provide at least one request.");throw Gt.name="Empty Requests Error",Gt}return(Gt=>{const dn=Gt.entries();let $n=dn.next();for(;!$n.done;){const tr=$n.value[1];if(void 0!==tr.dependsOn&&tr.dependsOn.length>0)return!1;$n=dn.next()}return!0})(he)||(Gt=>{const dn=Gt.entries();let $n=dn.next();const tr=$n.value[1];if(void 0!==tr.dependsOn&&tr.dependsOn.length>0)return!1;let br=$n;for($n=dn.next();!$n.done;){const or=$n.value[1];if(void 0===or.dependsOn||1!==or.dependsOn.length||or.dependsOn[0]!==br.value[1].id)return!1;br=$n,$n=dn.next()}return!0})(he)||(Gt=>{const dn=Gt.entries();let $n=dn.next();const tr=$n.value[1];let br;if(void 0===tr.dependsOn||0===tr.dependsOn.length)br=tr.id;else{if(1!==tr.dependsOn.length)return!1;{const or=tr.dependsOn[0];if(or===tr.id||!Gt.has(or))return!1;br=or}}for($n=dn.next();!$n.done;){const or=$n.value[1];if((void 0===or.dependsOn||0===or.dependsOn.length)&&br!==or.id||void 0!==or.dependsOn&&0!==or.dependsOn.length&&(1===or.dependsOn.length&&(or.id===br||or.dependsOn[0]!==br)||or.dependsOn.length>1))return!1;$n=dn.next()}return!0})(he)}static getRequestData(he){return(0,n.__awaiter)(this,void 0,void 0,function*(){const We={url:""},ze=new RegExp("^https?://");We.url=ze.test(he.url)?"/"+he.url.split(/.*?\/\/.*?\//)[1]:he.url,We.method=he.method;const gt={};return he.headers.forEach((Gt,dn)=>{gt[dn]=Gt}),Object.keys(gt).length&&(We.headers=gt),(he.method===c.PATCH||he.method===c.POST||he.method===c.PUT)&&(We.body=yield Pe.getRequestBody(he)),We})}static getRequestBody(he){return(0,n.__awaiter)(this,void 0,void 0,function*(){let ze,We=!1;try{ze=yield he.clone().json(),We=!0}catch{}if(!We)try{if(typeof Blob<"u"){const gt=yield he.blob(),Gt=new FileReader;ze=yield new Promise(dn=>{Gt.addEventListener("load",()=>{const $n=Gt.result,br=new RegExp("^s*data:(.+?/.+?(;.+?=.+?)*)?(;base64)?,(.*)s*$").exec($n);dn(br[4])},!1),Gt.readAsDataURL(gt)})}else typeof Buffer<"u"&&(ze=(yield he.buffer()).toString("base64"));We=!0}catch{}return ze})}constructor(he){if(this.requests=new Map,typeof he<"u"){const We=Pe.requestLimit;if(he.length>We){const ze=new Error(`Maximum requests limit exceeded, Max allowed number of requests are ${We}`);throw ze.name="Limit Exceeded Error",ze}for(const ze of he)this.addRequest(ze)}}addRequest(he){const We=Pe.requestLimit;if(""===he.id){const ze=new Error("Id for a request is empty, Please provide an unique id");throw ze.name="Empty Id For Request",ze}if(this.requests.size===We){const ze=new Error(`Maximum requests limit exceeded, Max allowed number of requests are ${We}`);throw ze.name="Limit Exceeded Error",ze}if(this.requests.has(he.id)){const ze=new Error(`Adding request with duplicate id ${he.id}, Make the id of the requests unique`);throw ze.name="Duplicate RequestId Error",ze}return this.requests.set(he.id,he),he.id}removeRequest(he){const We=this.requests.delete(he),ze=this.requests.entries();let gt=ze.next();for(;!gt.done;){const Gt=gt.value[1].dependsOn;if(typeof Gt<"u"){const dn=Gt.indexOf(he);-1!==dn&&Gt.splice(dn,1),0===Gt.length&&delete gt.value[1].dependsOn}gt=ze.next()}return We}getContent(){return(0,n.__awaiter)(this,void 0,void 0,function*(){const he=[],We={requests:he},ze=this.requests.entries();let gt=ze.next();if(gt.done){const Gt=new Error("No requests added yet, Please add at least one request.");throw Gt.name="Empty Payload",Gt}if(!Pe.validateDependencies(this.requests)){const Gt=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 Gt.name="Invalid Dependency",Gt}for(;!gt.done;){const Gt=gt.value[1],dn=yield Pe.getRequestData(Gt.request);if(void 0!==dn.body&&(void 0===dn.headers||void 0===dn.headers["content-type"])){const $n=new Error(`Content-type header is not mentioned for request #${Gt.id}, For request having body, Content-type header should be mentioned`);throw $n.name="Invalid Content-type header",$n}dn.id=Gt.id,void 0!==Gt.dependsOn&&Gt.dependsOn.length>0&&(dn.dependsOn=Gt.dependsOn),he.push(dn),gt=ze.next()}return We.requests=he,We})}addDependency(he,We){if(!this.requests.has(he)){const ze=new Error(`Dependent ${he} does not exists, Please check the id`);throw ze.name="Invalid Dependent",ze}if(typeof We<"u"&&!this.requests.has(We)){const ze=new Error(`Dependency ${We} does not exists, Please check the id`);throw ze.name="Invalid Dependency",ze}if(typeof We<"u"){const ze=this.requests.get(he);if(void 0===ze.dependsOn&&(ze.dependsOn=[]),-1!==ze.dependsOn.indexOf(We)){const gt=new Error(`Dependency ${We} is already added for the request ${he}`);throw gt.name="Duplicate Dependency",gt}ze.dependsOn.push(We)}else{const ze=this.requests.entries();let gt,Gt=ze.next();for(;!Gt.done&&Gt.value[1].id!==he;)gt=Gt,Gt=ze.next();if(!(typeof gt<"u")){const dn=new Error(`Can't add dependency ${We}, There is only a dependent request in the batch`);throw dn.name="Invalid Dependency Addition",dn}{const dn=gt.value[0];if(void 0===Gt.value[1].dependsOn&&(Gt.value[1].dependsOn=[]),-1!==Gt.value[1].dependsOn.indexOf(dn)){const $n=new Error(`Dependency ${dn} is already added for the request ${he}`);throw $n.name="Duplicate Dependency",$n}Gt.value[1].dependsOn.push(dn)}}}removeDependency(he,We){const ze=this.requests.get(he);if(typeof ze>"u"||void 0===ze.dependsOn||0===ze.dependsOn.length)return!1;if(typeof We<"u"){const gt=ze.dependsOn.indexOf(We);return-1!==gt&&(ze.dependsOn.splice(gt,1),!0)}return delete ze.dependsOn,!0}}return Pe.requestLimit=20,Pe})();class l{constructor(le){this.responses=new Map,this.update(le)}createResponseObject(le){const he=le.body,We={};if(We.status=le.status,void 0!==le.statusText&&(We.statusText=le.statusText),We.headers=le.headers,void 0!==We.headers&&void 0!==We.headers["Content-Type"]&&"application/json"===We.headers["Content-Type"].split(";")[0]){const ze=JSON.stringify(he);return new Response(ze,We)}return new Response(he,We)}update(le){this.nextLink=le["@odata.nextLink"];const he=le.responses;for(let We=0,ze=he.length;We{const le=Pe&&Pe.constructor&&Pe.constructor.name;if("Buffer"===le||"Blob"===le||"File"===le||"FormData"===le||"string"==typeof Pe)return Pe;if("ArrayBuffer"===le)Pe=Buffer.from(Pe);else if("Int8Array"===le||"Int16Array"===le||"Int32Array"===le||"Uint8Array"===le||"Uint16Array"===le||"Uint32Array"===le||"Uint8ClampedArray"===le||"Float32Array"===le||"Float64Array"===le||"DataView"===le)Pe=Buffer.from(Pe.buffer);else try{Pe=JSON.stringify(Pe)}catch{throw new Error("Unable to stringify the content")}return Pe},E=Pe=>y(Pe),S=(Pe,le)=>(le.forEach(he=>f(he)),y(Pe,le)),y=(Pe,le=o)=>{if(-1!==(Pe=Pe.toLowerCase()).indexOf("https://")){const he=(Pe=Pe.replace("https://","")).indexOf(":"),We=Pe.indexOf("/");let ze="";if(-1!==We)return-1!==he&&he{if(-1!==Pe.indexOf("/"))throw new d("Please add only hosts or hostnames to the CustomHosts config. If the url is `http://example.com:3000/`, host is `example:3000`")};class C{constructor(le=[]){this.middlewareOptions=new Map;for(const he of le)this.middlewareOptions.set(he.constructor,he)}getMiddlewareOptions(le){return this.middlewareOptions.get(le)}setMiddlewareOptions(le,he){this.middlewareOptions.set(le,he)}}const _=()=>{let Pe="";for(let le=0;le<32;le++)(8===le||12===le||16===le||20===le)&&(Pe+="-"),Pe+=Math.floor(16*Math.random()).toString(16);return Pe},w=(Pe,le,he)=>{let We=null;if(typeof Request<"u"&&Pe instanceof Request)We=Pe.headers.get(he);else if(typeof le<"u"&&void 0!==le.headers)if(typeof Headers<"u"&&le.headers instanceof Headers)We=le.headers.get(he);else if(le.headers instanceof Array){const ze=le.headers;for(let gt=0,Gt=ze.length;gt{if(typeof Request<"u"&&Pe instanceof Request)Pe.headers.set(he,We);else if(typeof le<"u")if(void 0===le.headers)le.headers=new Headers({[he]:We});else if(typeof Headers<"u"&&le.headers instanceof Headers)le.headers.set(he,We);else if(le.headers instanceof Array){let ze=0;const gt=le.headers.length;for(;ze{typeof Request<"u"&&Pe instanceof Request?Pe.headers.append(he,We):typeof le<"u"&&(void 0===le.headers?le.headers=new Headers({[he]:We}):typeof Headers<"u"&&le.headers instanceof Headers?le.headers.append(he,We):le.headers instanceof Array?le.headers.push([he,We]):void 0===le.headers?le.headers={[he]:We}:void 0===le.headers[he]?le.headers[he]=We:le.headers[he]+=`, ${We}`)};class V{constructor(le,he){this.authenticationProvider=le,this.authenticationProviderOptions=he}}var G=function(Pe){return Pe[Pe.NONE=0]="NONE",Pe[Pe.REDIRECT_HANDLER_ENABLED=1]="REDIRECT_HANDLER_ENABLED",Pe[Pe.RETRY_HANDLER_ENABLED=2]="RETRY_HANDLER_ENABLED",Pe[Pe.AUTHENTICATION_HANDLER_ENABLED=4]="AUTHENTICATION_HANDLER_ENABLED",Pe}(G||{});class R{constructor(){this.featureUsage=G.NONE}static updateFeatureUsageFlag(le,he){let We;le.middlewareControl instanceof C?We=le.middlewareControl.getMiddlewareOptions(R):le.middlewareControl=new C,typeof We>"u"&&(We=new R,le.middlewareControl.setMiddlewareOptions(R,We)),We.setFeatureUsage(he)}setFeatureUsage(le){this.featureUsage=this.featureUsage|le}getFeatureUsage(){return this.featureUsage.toString(16)}}let k=(()=>{class Pe{constructor(he){this.authenticationProvider=he}execute(he){return(0,n.__awaiter)(this,void 0,void 0,function*(){const We="string"==typeof he.request?he.request:he.request.url;if(E(We)||he.customHosts&&S(We,he.customHosts)){let ze,gt,Gt;he.middlewareControl instanceof C&&(ze=he.middlewareControl.getMiddlewareOptions(V)),ze&&(gt=ze.authenticationProvider,Gt=ze.authenticationProviderOptions),gt||(gt=this.authenticationProvider);const $n=`Bearer ${yield gt.getAccessToken(Gt)}`;L(he.request,he.options,Pe.AUTHORIZATION_HEADER,$n),R.updateFeatureUsageFlag(he,G.AUTHENTICATION_HANDLER_ENABLED)}else he.options.headers&&delete he.options.headers[Pe.AUTHORIZATION_HEADER];return yield this.nextMiddleware.execute(he)})}setNext(he){this.nextMiddleware=he}}return Pe.AUTHORIZATION_HEADER="Authorization",Pe})();class A{execute(le){return(0,n.__awaiter)(this,void 0,void 0,function*(){le.response=yield fetch(le.request,le.options)})}}let H=(()=>{class Pe{constructor(he=Pe.DEFAULT_DELAY,We=Pe.DEFAULT_MAX_RETRIES,ze=Pe.defaultShouldRetry){if(he>Pe.MAX_DELAY&&We>Pe.MAX_MAX_RETRIES){const gt=new Error(`Delay and MaxRetries should not be more than ${Pe.MAX_DELAY} and ${Pe.MAX_MAX_RETRIES}`);throw gt.name="MaxLimitExceeded",gt}if(he>Pe.MAX_DELAY){const gt=new Error(`Delay should not be more than ${Pe.MAX_DELAY}`);throw gt.name="MaxLimitExceeded",gt}if(We>Pe.MAX_MAX_RETRIES){const gt=new Error(`MaxRetries should not be more than ${Pe.MAX_MAX_RETRIES}`);throw gt.name="MaxLimitExceeded",gt}if(he<0&&We<0){const gt=new Error("Delay and MaxRetries should not be negative");throw gt.name="MinExpectationNotMet",gt}if(he<0){const gt=new Error("Delay should not be negative");throw gt.name="MinExpectationNotMet",gt}if(We<0){const gt=new Error("MaxRetries should not be negative");throw gt.name="MinExpectationNotMet",gt}this.delay=Math.min(he,Pe.MAX_DELAY),this.maxRetries=Math.min(We,Pe.MAX_MAX_RETRIES),this.shouldRetry=ze}getMaxDelay(){return Pe.MAX_DELAY}}return Pe.DEFAULT_DELAY=3,Pe.DEFAULT_MAX_RETRIES=3,Pe.MAX_DELAY=180,Pe.MAX_MAX_RETRIES=10,Pe.defaultShouldRetry=()=>!0,Pe})(),K=(()=>{class Pe{constructor(he=new H){this.options=he}isRetry(he){return-1!==Pe.RETRY_STATUS_CODES.indexOf(he.status)}isBuffered(he,We){const ze="string"==typeof he?We.method:he.method;return!((ze===c.PUT||ze===c.PATCH||ze===c.POST)&&"application/octet-stream"===w(he,We,"Content-Type"))}getDelay(he,We,ze){const gt=()=>Number(Math.random().toFixed(3)),Gt=void 0!==he.headers?he.headers.get(Pe.RETRY_AFTER_HEADER):null;let dn;return dn=null!==Gt?Number.isNaN(Number(Gt))?Math.round((new Date(Gt).getTime()-Date.now())/1e3):Number(Gt):We>=2?this.getExponentialBackOffTime(We)+ze+gt():ze+gt(),Math.min(dn,this.options.getMaxDelay()+gt())}getExponentialBackOffTime(he){return Math.round(.5*(Math.pow(2,he)-1))}sleep(he){return(0,n.__awaiter)(this,void 0,void 0,function*(){const We=1e3*he;return new Promise(ze=>setTimeout(ze,We))})}getOptions(he){let We;return he.middlewareControl instanceof C&&(We=he.middlewareControl.getMiddlewareOptions(this.options.constructor)),typeof We>"u"&&(We=Object.assign(new H,this.options)),We}executeWithRetry(he,We,ze){return(0,n.__awaiter)(this,void 0,void 0,function*(){if(yield this.nextMiddleware.execute(he),We{class Pe{constructor(he=Pe.DEFAULT_MAX_REDIRECTS,We=Pe.defaultShouldRedirect){if(he>Pe.MAX_MAX_REDIRECTS){const ze=new Error(`MaxRedirects should not be more than ${Pe.MAX_MAX_REDIRECTS}`);throw ze.name="MaxLimitExceeded",ze}if(he<0){const ze=new Error("MaxRedirects should not be negative");throw ze.name="MinExpectationNotMet",ze}this.maxRedirects=he,this.shouldRedirect=We}}return Pe.DEFAULT_MAX_REDIRECTS=5,Pe.MAX_MAX_REDIRECTS=20,Pe.defaultShouldRedirect=()=>!0,Pe})(),J=(()=>{class Pe{constructor(he=new ie){this.options=he}isRedirect(he){return-1!==Pe.REDIRECT_STATUS_CODES.indexOf(he.status)}hasLocationHeader(he){return he.headers.has(Pe.LOCATION_HEADER)}getLocationHeader(he){return he.headers.get(Pe.LOCATION_HEADER)}isRelativeURL(he){return-1===he.indexOf("://")}shouldDropAuthorizationHeader(he,We){const ze=/^[A-Za-z].+?:\/\/.+?(?=\/|$)/,gt=ze.exec(he);let Gt,dn;null!==gt&&(Gt=gt[0]);const $n=ze.exec(We);return null!==$n&&(dn=$n[0]),typeof Gt<"u"&&typeof dn<"u"&&Gt!==dn}updateRequestUrl(he,We){return(0,n.__awaiter)(this,void 0,void 0,function*(){We.request="string"==typeof We.request?he:yield((Pe,le)=>(0,n.__awaiter)(void 0,void 0,void 0,function*(){const he=le.headers.get("Content-Type")?yield le.blob():yield Promise.resolve(void 0),{method:We,headers:ze,referrer:gt,referrerPolicy:Gt,mode:dn,credentials:$n,cache:tr,redirect:br,integrity:or,keepalive:fi,signal:Cr}=le;return new Request(Pe,{method:We,headers:ze,body:he,referrer:gt,referrerPolicy:Gt,mode:dn,credentials:$n,cache:tr,redirect:br,integrity:or,keepalive:fi,signal:Cr})}))(he,We.request)})}getOptions(he){let We;return he.middlewareControl instanceof C&&(We=he.middlewareControl.getMiddlewareOptions(ie)),typeof We>"u"&&(We=Object.assign(new ie,this.options)),We}executeWithRedirect(he,We,ze){return(0,n.__awaiter)(this,void 0,void 0,function*(){yield this.nextMiddleware.execute(he);const gt=he.response;if(We{class Pe{execute(he){return(0,n.__awaiter)(this,void 0,void 0,function*(){const We="string"==typeof he.request?he.request:he.request.url;if(E(We)||he.customHosts&&S(We,he.customHosts)){let ze=w(he.request,he.options,Pe.CLIENT_REQUEST_ID_HEADER);ze||(ze=_(),D(he.request,he.options,Pe.CLIENT_REQUEST_ID_HEADER,ze));let Gt,gt=`${Pe.PRODUCT_NAME}/3.0.7`;if(he.middlewareControl instanceof C&&(Gt=he.middlewareControl.getMiddlewareOptions(R)),Gt){const dn=Gt.getFeatureUsage();gt+=` (${Pe.FEATURE_USAGE_STRING}=${dn})`}L(he.request,he.options,Pe.SDK_VERSION_HEADER,gt)}else delete he.options.headers[Pe.CLIENT_REQUEST_ID_HEADER],delete he.options.headers[Pe.SDK_VERSION_HEADER];return yield this.nextMiddleware.execute(he)})}setNext(he){this.nextMiddleware=he}}return Pe.CLIENT_REQUEST_ID_HEADER="client-request-id",Pe.SDK_VERSION_HEADER="SdkVersion",Pe.PRODUCT_NAME="graph-js",Pe.FEATURE_USAGE_STRING="featureUsage",Pe})();class ct{static getDefaultMiddlewareChain(le){const he=[],We=new k(le),ze=new K(new H),gt=new ce,Gt=new A;if(he.push(We),he.push(ze),"object"==typeof process){const dn=new J(new ie);he.push(dn)}return he.push(gt),he.push(Gt),he}}var Oe=function(Pe){return Pe[Pe.MANUAL=0]="MANUAL",Pe[Pe.RANDOM=1]="RANDOM",Pe}(Oe||{});class ke{constructor(le=Oe.RANDOM,he="Some error Happened",We,ze,gt,Gt){if(this.chaosStrategy=le,this.statusCode=We,this.statusMessage=he,this.chaosPercentage=void 0!==ze?ze:10,this.responseBody=gt,this.headers=Gt,this.chaosPercentage>100)throw new Error("Error Pecentage can not be more than 100")}}const Re={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]},Qe={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 $e{constructor(le=new ke,he){this.options=le,this.manualMap=he}createResponseHeaders(le,he,We){const ze=le.headers?new Headers(le.headers):new Headers;return ze.append("Cache-Control","no-store"),ze.append("request-id",he),ze.append("client-request-id",he),ze.append("x-ms-ags-diagnostic",""),ze.append("Date",We),ze.append("Strict-Transport-Security",""),429===le.statusCode&&ze.append("retry-after","3"),ze}createResponseBody(le,he,We){if(le.responseBody)return le.responseBody;let ze;return ze=le.statusCode>=400?{error:{code:Qe[le.statusCode],message:le.statusMessage,innerError:{"request-id":he,date:We}}}:{},ze}createResponse(le,he){const We=he.request,ze=_(),gt=new Date,Gt=this.createResponseHeaders(le,ze,gt.toString()),dn=this.createResponseBody(le,ze,gt.toString()),$n={url:We,status:le.statusCode,statusText:le.statusMessage,headers:Gt};he.response=new Response("string"==typeof dn?dn:JSON.stringify(dn),$n)}sendRequest(le,he){return(0,n.__awaiter)(this,void 0,void 0,function*(){this.setStatusCode(le,he.request,he.options.method),le.chaosStrategy===Oe.MANUAL&&!this.nextMiddleware||Math.floor(100*Math.random()){new RegExp(Gt+"$").test(ze)&&void 0!==this.manualMap.get(Gt).get(We)&&(le.statusCode=this.manualMap.get(Gt).get(We))})}}else le.statusCode=this.getRandomStatusCode(We)}getOptions(le){let he;return le.middlewareControl instanceof C&&(he=le.middlewareControl.getMiddlewareOptions(ke)),typeof he>"u"&&(he=Object.assign(new ke,this.options)),he}execute(le){return(0,n.__awaiter)(this,void 0,void 0,function*(){const he=this.getOptions(le);return yield this.sendRequest(he,le)})}setNext(le){this.nextMiddleware=le}}var Be=function(Pe){return Pe.ARRAYBUFFER="arraybuffer",Pe.BLOB="blob",Pe.DOCUMENT="document",Pe.JSON="json",Pe.RAW="raw",Pe.STREAM="stream",Pe.TEXT="text",Pe}(Be||{}),_e=function(Pe){return Pe.TEXT_HTML="text/html",Pe.TEXT_XML="text/xml",Pe.APPLICATION_XML="application/xml",Pe.APPLICATION_XHTML="application/xhtml+xml",Pe}(_e||{}),Me=function(Pe){return Pe.TEXT_PLAIN="text/plain",Pe.APPLICATION_JSON="application/json",Pe}(Me||{}),Se=function(Pe){return Pe.DOCUMENT="^(text\\/(html|xml))|(application\\/(xml|xhtml\\+xml))$",Pe.IMAGE="^image\\/.+",Pe}(Se||{});class je{static parseDocumentResponse(le,he){return typeof DOMParser<"u"?new Promise((We,ze)=>{le.text().then(gt=>{try{const dn=(new DOMParser).parseFromString(gt,he);We(dn)}catch(Gt){ze(Gt)}})}):Promise.resolve(le.body)}static convertResponse(le,he){return(0,n.__awaiter)(this,void 0,void 0,function*(){if(204===le.status)return Promise.resolve();let We;const ze=le.headers.get("Content-type");switch(he){case Be.ARRAYBUFFER:We=yield le.arrayBuffer();break;case Be.BLOB:We=yield le.blob();break;case Be.DOCUMENT:We=yield je.parseDocumentResponse(le,_e.TEXT_XML);break;case Be.JSON:We=yield le.json();break;case Be.STREAM:We=yield Promise.resolve(le.body);break;case Be.TEXT:We=yield le.text();break;default:if(null!==ze){const gt=ze.split(";")[0];We=new RegExp(Se.DOCUMENT).test(gt)?yield je.parseDocumentResponse(le,gt):new RegExp(Se.IMAGE).test(gt)?le.blob():gt===Me.TEXT_PLAIN?yield le.text():gt===Me.APPLICATION_JSON?yield le.json():Promise.resolve(le.body)}else We=Promise.resolve(le.body)}return We})}static getResponse(le,he,We){return(0,n.__awaiter)(this,void 0,void 0,function*(){if(he===Be.RAW)return Promise.resolve(le);{const ze=yield je.convertResponse(le,he);if(!le.ok)throw ze;if("function"!=typeof We)return ze;We(null,ze)}})}}class re{constructor(le=-1,he=-1){this.minValue=le,this.maxValue=he}}class we{get location(){return this._location}set location(le){this._location=le}get responseBody(){return this._responseBody}set responseBody(le){this._responseBody=le}constructor(le,he){this._location=he,this._responseBody=le}static CreateUploadResult(le,he){return new we(le,he.get("location"))}}class rt{static createUploadSession(le,he,We,ze={}){return(0,n.__awaiter)(this,void 0,void 0,function*(){const gt=yield le.api(he).headers(ze).post(We);return{url:gt.uploadUrl,expiry:new Date(gt.expirationDateTime),isCancelled:!1}})}constructor(le,he,We,ze={}){if(this.DEFAULT_FILE_SIZE=5242880,this.client=le,!he.sliceFile)throw new d("Please pass the FileUpload object, StreamUpload object or any custom implementation of the FileObject interface");this.file=he,this.file=he,ze.rangeSize||(ze.rangeSize=this.DEFAULT_FILE_SIZE),this.options=ze,this.uploadSession=We,this.nextRange=new re(0,this.options.rangeSize-1)}parseRange(le){const he=le[0];if(typeof he>"u"||""===he)return new re;const We=he.split("-"),ze=parseInt(We[0],10);let gt=parseInt(We[1],10);return Number.isNaN(gt)&&(gt=this.file.size-1),new re(ze,gt)}updateTaskStatus(le){this.uploadSession.expiry=new Date(le.expirationDateTime),this.nextRange=this.parseRange(le.nextExpectedRanges)}getNextRange(){if(-1===this.nextRange.minValue)return this.nextRange;const le=this.nextRange.minValue;let he=le+this.options.rangeSize-1;return he>=this.file.size&&(he=this.file.size-1),new re(le,he)}sliceFile(le){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(le.minValue,le.maxValue+1);throw new d("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 le=this.options&&this.options.uploadEventHandlers;for(;!this.uploadSession.isCancelled;){const he=this.getNextRange();if(-1===he.maxValue){const dn=new Error("Task with which you are trying to upload is already completed, Please check for your uploaded file");throw dn.name="Invalid Session",dn}const We=yield this.file.sliceFile(he),ze=yield this.uploadSliceGetRawResponse(We,he,this.file.size);if(!ze)throw new d("Something went wrong! Large file upload slice response is null.");const gt=yield je.getResponse(ze);if(201===ze.status||200===ze.status&>.id)return this.reportProgress(le,he),we.CreateUploadResult(gt,ze.headers);this.updateTaskStatus({expirationDateTime:gt.expirationDateTime||gt.ExpirationDateTime,nextExpectedRanges:gt.NextExpectedRanges||gt.nextExpectedRanges}),this.reportProgress(le,he)}})}reportProgress(le,he){le&&le.progress&&le.progress(he,le.extraCallbackParam)}uploadSlice(le,he,We){return(0,n.__awaiter)(this,void 0,void 0,function*(){return yield this.client.api(this.uploadSession.url).headers({"Content-Length":""+(he.maxValue-he.minValue+1),"Content-Range":`bytes ${he.minValue}-${he.maxValue}/${We}`,"Content-Type":"application/octet-stream"}).put(le)})}uploadSliceGetRawResponse(le,he,We){return(0,n.__awaiter)(this,void 0,void 0,function*(){return yield this.client.api(this.uploadSession.url).headers({"Content-Length":""+(he.maxValue-he.minValue+1),"Content-Range":`bytes ${he.minValue}-${he.maxValue}/${We}`,"Content-Type":"application/octet-stream"}).responseType(Be.RAW).put(le)})}cancel(){return(0,n.__awaiter)(this,void 0,void 0,function*(){const le=yield this.client.api(this.uploadSession.url).responseType(Be.RAW).delete();return 204===le.status&&(this.uploadSession.isCancelled=!0),le})}getStatus(){return(0,n.__awaiter)(this,void 0,void 0,function*(){const le=yield this.client.api(this.uploadSession.url).get();return this.updateTaskStatus(le),le})}resume(){return(0,n.__awaiter)(this,void 0,void 0,function*(){return yield this.getStatus(),yield this.upload()})}getUploadSession(){return this.uploadSession}}class tt{constructor(le,he,We){if(this.content=le,this.name=he,this.size=We,!le||!he||!We)throw new d("Please provide the upload content, name of the file and size of the file")}sliceFile(le){return this.content.slice(le.minValue,le.maxValue+1)}}const Te=(Pe=5242880)=>(Pe>62914560&&(Pe=62914560),(Pe=>(Pe>327680&&(Pe=320*Math.floor(Pe/327680)*1024),Pe))(Pe));let ht=(()=>{class Pe extends rt{static constructCreateSessionUrl(he,We=Pe.DEFAULT_UPLOAD_PATH){return he=he.trim(),""===(We=We.trim())&&(We="/"),"/"!==We[0]&&(We=`/${We}`),"/"!==We[We.length-1]&&(We=`${We}/`),`/me/drive/root:${We.split("/").map(ze=>encodeURIComponent(ze)).join("/")}${encodeURIComponent(he)}:/createUploadSession`}static getFileInfo(he,We){let ze,gt;return typeof Blob<"u"&&he instanceof Blob?(ze=new File([he],We),gt=ze.size):typeof File<"u"&&he instanceof File?(ze=he,gt=ze.size):typeof Uint8Array<"u"&&he instanceof Uint8Array&&(gt=he.byteLength,ze=he.buffer.slice(he.byteOffset,he.byteOffset+he.byteLength)),{content:ze,size:gt}}static create(he,We,ze){return(0,n.__awaiter)(this,void 0,void 0,function*(){if(!he||!We||!ze)throw new d("Please provide the Graph client instance, file object and OneDriveLargeFileUploadOptions value");const gt=ze.fileName,Gt=Pe.getFileInfo(We,gt),dn=new tt(Gt.content,gt,Gt.size);return this.createTaskWithFileObject(he,dn,ze)})}static createTaskWithFileObject(he,We,ze){return(0,n.__awaiter)(this,void 0,void 0,function*(){if(!he||!We||!ze)throw new d("Please provide the Graph client instance, FileObject interface implementation and OneDriveLargeFileUploadOptions value");const gt=ze.uploadSessionURL?ze.uploadSessionURL:Pe.constructCreateSessionUrl(ze.fileName,ze.path),Gt={fileName:ze.fileName,fileDescription:ze.fileDescription,conflictBehavior:ze.conflictBehavior},dn=yield Pe.createUploadSession(he,gt,Gt),$n=Te(ze.rangeSize);return new Pe(he,We,dn,{rangeSize:$n,uploadEventHandlers:ze.uploadEventHandlers})})}static createUploadSession(he,We,ze){const gt=Object.create(null,{createUploadSession:{get:()=>super.createUploadSession}});return(0,n.__awaiter)(this,void 0,void 0,function*(){return gt.createUploadSession.call(this,he,We,{item:{"@microsoft.graph.conflictBehavior":ze?.conflictBehavior||"rename",name:ze?.fileName,description:ze?.fileDescription}})})}constructor(he,We,ze,gt){super(he,We,ze,gt)}commit(he,We="rename"){return(0,n.__awaiter)(this,void 0,void 0,function*(){const ze={name:this.file.name,"@microsoft.graph.conflictBehavior":We,"@microsoft.graph.sourceUrl":this.uploadSession.url};return yield this.client.api(he).put(ze)})}}return Pe.DEFAULT_UPLOAD_PATH="/",Pe})();class Ft{constructor(le,he,We){if(this.content=le,this.name=he,this.size=We,!le||!he||!We)throw new d("Please provide the Readable Stream content, name of the file and size of the file")}sliceFile(le){return(0,n.__awaiter)(this,void 0,void 0,function*(){let he=le.maxValue-le.minValue+1;const We=[];if(this.previousSlice){if(le.minValue=he?this.content.read(he):yield this.readNBytesFromStream(he));const ze=Buffer.concat(We);return this.previousSlice={fileSlice:ze,range:le},ze})}readNBytesFromStream(le){return new Promise((he,We)=>{const ze=[];let gt=le,Gt=0;this.content.on("end",()=>{if(gt>0)return We(new d("Stream ended before reading required range size"))}),this.content.on("readable",()=>{let dn;for(;Gt0&&(gt=le-Gt);return Gt===le?he(Buffer.concat(ze)):this.content&&this.content.readable?void 0:We(new d("Error encountered while reading the stream during the upload"))})})}}class nn{constructor(le,he,We,ze){this.client=le,this.collection=he.value,this.nextLink=he["@odata.nextLink"],this.deltaLink=he["@odata.deltaLink"],this.callback=We,this.cursor=0,this.complete=!1,this.requestOptions=ze}iterationHelper(){if(void 0===this.collection)return!1;let le=!0;for(;le&&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 Yt{constructor(le){this.provider=le}getAccessToken(){return(0,n.__awaiter)(this,void 0,void 0,function*(){return new Promise((le,he)=>{this.provider((We,ze)=>(0,n.__awaiter)(this,void 0,void 0,function*(){if(ze)le(ze);else{We||(We=new d("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 gt=yield d.setGraphClientError(We);he(gt)}}))})})}}class Zt extends Error{constructor(le=-1,he,We){super(he||We&&We.message),Object.setPrototypeOf(this,Zt.prototype),this.statusCode=le,this.code=null,this.requestId=null,this.date=new Date,this.body=null,this.stack=We?We.stack:this.stack}}class Mn{static constructError(le,he,We){const ze=new Zt(he,"",le);return void 0!==le.name&&(ze.code=le.name),ze.body=le.toString(),ze.date=new Date,ze.headers=We?.headers,ze}static constructErrorFromResponse(le,he,We){const ze=le.error,gt=new Zt(he,ze.message);return gt.code=ze.code,void 0!==ze.innerError&&(gt.requestId=ze.innerError["request-id"],gt.date=new Date(ze.innerError.date)),gt.body=JSON.stringify(ze),gt.headers=We?.headers,gt}static getError(le=null,he=-1,We,ze){return(0,n.__awaiter)(this,void 0,void 0,function*(){let gt;if(le&&le.error?gt=Mn.constructErrorFromResponse(le,he,ze):le instanceof Error?gt=Mn.constructError(le,he,ze):(gt=new Zt(he),gt.body=le),"function"!=typeof We)return gt;We(gt,null)})}}class Un{constructor(le,he,We){this.parsePath=ze=>{if(-1!==ze.indexOf("https://")){const Gt=(ze=ze.replace("https://","")).indexOf("/");-1!==Gt&&(this.urlComponents.host="https://"+ze.substring(0,Gt),ze=ze.substring(Gt+1,ze.length));const dn=ze.indexOf("/");-1!==dn&&(this.urlComponents.version=ze.substring(0,dn),ze=ze.substring(dn+1,ze.length))}"/"===ze.charAt(0)&&(ze=ze.substr(1));const gt=ze.indexOf("?");if(-1===gt)this.urlComponents.path=ze;else{this.urlComponents.path=ze.substr(0,gt);const Gt=ze.substring(gt+1,ze.length).split("&");for(const dn of Gt)this.parseQueryParameter(dn)}},this.httpClient=le,this.config=he,this.urlComponents={host:this.config.baseUrl,version:this.config.defaultVersion,oDataQueryParams:{},otherURLQueryParams:{},otherURLQueryOptions:[]},this._headers={},this._options={},this._middlewareOptions=[],this.parsePath(We)}addCsvQueryParameter(le,he,We){this.urlComponents.oDataQueryParams[le]=this.urlComponents.oDataQueryParams[le]?this.urlComponents.oDataQueryParams[le]+",":"";let ze=[];We.length>1&&"string"==typeof he?ze=Array.prototype.slice.call(We):"string"==typeof he?ze.push(he):ze=ze.concat(he),this.urlComponents.oDataQueryParams[le]+=ze.join(",")}buildFullUrl(){const le=(Pe=>{const le=gt=>gt.replace(/\/+$/,""),he=gt=>gt.replace(/^\/+/,"");return Array.prototype.slice.call([this.urlComponents.host,this.urlComponents.version,this.urlComponents.path]).reduce((gt,Gt)=>[le(gt),he(Gt)].join("/"))})()+this.createQueryString();return this.config.debugLogging&&console.log(le),le}createQueryString(){const le=this.urlComponents,he=[];if(0!==Object.keys(le.oDataQueryParams).length)for(const We in le.oDataQueryParams)Object.prototype.hasOwnProperty.call(le.oDataQueryParams,We)&&he.push(We+"="+le.oDataQueryParams[We]);if(0!==Object.keys(le.otherURLQueryParams).length)for(const We in le.otherURLQueryParams)Object.prototype.hasOwnProperty.call(le.otherURLQueryParams,We)&&he.push(We+"="+le.otherURLQueryParams[We]);if(0!==le.otherURLQueryOptions.length)for(const We of le.otherURLQueryOptions)he.push(We);return he.length>0?"?"+he.join("&"):""}parseQueryParameter(le){if("string"==typeof le)if("?"===le.charAt(0)&&(le=le.substring(1)),-1!==le.indexOf("&")){const he=le.split("&");for(const We of he)this.parseQueryParamenterString(We)}else this.parseQueryParamenterString(le);else if(le.constructor===Object)for(const he in le)Object.prototype.hasOwnProperty.call(le,he)&&this.setURLComponentsQueryParamater(he,le[he]);return this}parseQueryParamenterString(le){if(this.isValidQueryKeyValuePair(le)){const he=le.indexOf("="),We=le.substring(0,he),ze=le.substring(he+1);this.setURLComponentsQueryParamater(We,ze)}else this.urlComponents.otherURLQueryOptions.push(le)}setURLComponentsQueryParamater(le,he){if(-1!==v.indexOf(le)){const We=this.urlComponents.oDataQueryParams[le];this.urlComponents.oDataQueryParams[le]=!We||"$expand"!==le&&"$select"!==le&&"$orderby"!==le?he:We+","+he}else this.urlComponents.otherURLQueryParams[le]=he}isValidQueryKeyValuePair(le){const he=le.indexOf("=");return!(-1===he||-1!==le.indexOf("(")&&le.indexOf("(")1?this.parseMiddleWareArray(le):this.middleware=le[0]}parseMiddleWareArray(le){le.forEach((he,We)=>{We{if(typeof Promise>"u"&&typeof fetch>"u"){const Pe=new Error("Library cannot function without Promise and fetch. So, please provide polyfill for them.");throw Pe.name="PolyFillNotAvailable",Pe}if(typeof Promise>"u"){const Pe=new Error("Library cannot function without Promise. So, please provide polyfill for it.");throw Pe.name="PolyFillNotAvailable",Pe}if(typeof fetch>"u"){const Pe=new Error("Library cannot function without fetch. So, please provide polyfill for it.");throw Pe.name="PolyFillNotAvailable",Pe}})();for(const We in le)Object.prototype.hasOwnProperty.call(le,We)&&(this.config[We]=le[We]);let he;if(void 0!==le.authProvider&&void 0!==le.middleware){const We=new Error;throw We.name="AmbiguityInInitialization",We.message="Unable to Create Client, Please provide either authentication provider for default middleware chain or custom middleware chain not both",We}if(void 0!==le.authProvider)he=kn.createWithAuthenticationProvider(le.authProvider);else{if(void 0===le.middleware){const We=new Error;throw We.name="InvalidMiddlewareChain",We.message="Unable to Create Client, Please provide either authentication provider for default middleware chain or custom middleware chain",We}he=new zt(...[].concat(le.middleware))}this.httpClient=he}api(le){return new Un(this.httpClient,this.config,le)}}},80484:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.AppRoutingModule=void 0;const n=s(81316),c=s(53076),u=n.__importStar(s(54496)),i=(n.__importStar(s(53076)),[{path:"FiStandortelistePage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(s(96012))).then(o=>o.FiStandortelistePageModule)},{path:"FiMitarbeiterlistePage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(s(99988))).then(o=>o.FIMitarbeiterlistePageModule)},{path:"PageNeu",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(s(31735))).then(o=>o.FIMitarbeiterlisteNeuPageModule)},{path:"",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(s(27735))).then(o=>o.CommonHomePageModule)},{path:"HomePage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(s(27735))).then(o=>o.CommonHomePageModule)},{path:"WartungPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(s(87848))).then(o=>o.CommonWartungPageModule)},{path:"EinstellungenPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(s(66068))).then(o=>o.CommonEinstellungenPageModule)},{path:"UrlaubPlanungPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(s(74484))).then(o=>o.CommonUrlaubsplanungPageModule)},{path:"UrlaubUebersichtPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(s(19204))).then(o=>o.CommonUrlaubsuebersichtPageModule)},{path:"UrlaubsgesamtuebersichtPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(s(98348))).then(o=>o.CommonUrlaubsgesamtuebersichtPageModule)},{path:"UrlaubFreigabenPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(s(5884))).then(o=>o.CommonUrlaubFreigabenPageModule)},{path:"UrlaubEinstellungenPage",loadChildren:()=>Promise.resolve().then(()=>n.__importStar(s(53964))).then(o=>o.CommonUrlaubEinstellungenPageModule)}]);m.AppRoutingModule=(()=>{class o{static \u0275fac=function(M){return new(M||o)};static \u0275mod=u.\u0275\u0275defineNgModule({type:o});static \u0275inj=u.\u0275\u0275defineInjector({imports:[c.RouterModule.forRoot(i,{preloadingStrategy:c.PreloadAllModules,useHash:!1}),c.RouterModule]})}return o})()},86108:(pe,m,s)=>{"use strict";var n=s(1196).default;Object.defineProperty(m,"__esModule",{value:!0}),m.AppComponent=void 0;const c=s(81316),u=s(80103),l=s(21112),i=c.__importStar(s(17964)),e=c.__importStar(s(54496)),o=c.__importStar(s(92512)),d=c.__importStar(s(7992)),v=c.__importStar(s(59460)),M=c.__importStar(s(97092)),p=c.__importStar(s(14652)),E=c.__importStar(s(19668)),S=c.__importStar(s(29743)),y=c.__importStar(s(23476)),f=c.__importStar(s(22848)),C=c.__importStar(s(15024)),_=c.__importStar(s(58864)),w=c.__importStar(s(9544)),D=c.__importStar(s(8608)),L=c.__importStar(s(96140)),N=c.__importStar(s(34388));m.AppComponent=(()=>{class G{platform;Pool;Menuservice;AuthService;changeDetector;Basics;Tools;Const;authService;msalBroadcastService;MitarbeiterDB;MitarbeitersettingsDB;StandortDB;UrlaubDB;GraphService;AppeinstellungenDB;Debug;Destroying=new u.Subject;Zoomfaktor;Settingssubscription;constructor(k,A,H,K,ie,J,be,ce,Ge,ct,Oe,ke,Re,Qe,$e,Be,_e){this.platform=k,this.Pool=A,this.Menuservice=H,this.AuthService=K,this.changeDetector=ie,this.Basics=J,this.Tools=be,this.Const=ce,this.authService=Ge,this.msalBroadcastService=ct,this.MitarbeiterDB=Oe,this.MitarbeitersettingsDB=ke,this.StandortDB=Re,this.UrlaubDB=Qe,this.GraphService=$e,this.AppeinstellungenDB=Be,this.Debug=_e;try{this.Zoomfaktor=100,this.Settingssubscription=null}catch(Me){this.Debug.ShowErrorMessage(Me.message,"App Component","constructor",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Destroying.next(void 0),this.Destroying.complete(),this.StandortDB.FinishService(),this.MitarbeiterDB.FinishService(),this.Settingssubscription.unsubscribe(),this.Settingssubscription=null}catch(k){this.Debug.ShowErrorMessage(k.message,"App Component","OnDestroy",this.Debug.Typen.Component)}}ngOnInit(){try{if(this.Settingssubscription=this.Pool.MitarbeitersettingsChanged.subscribe(()=>{this.Zoomfaktor=this.Pool.Mitarbeitersettings.Zoomfaktor}),this.AuthService.SecurityEnabled)try{this.authService.initialize().subscribe(()=>{this.msalBroadcastService.inProgress$.pipe((0,u.filter)(k=>(this.Debug.ShowMessage("Interaction Status: "+k,"App Component","StartApp",this.Debug.Typen.Component),k===l.InteractionStatus.None)),(0,u.takeUntil)(this.Destroying)).subscribe(k=>{this.Debug.ShowMessage("Interaction Status: "+k,"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()})}catch(k){this.AuthService.UnsetActiveUser(),this.Debug.ShowErrorMessage(k,"App Component","OnInit",this.Debug.Typen.Component)}else this.StartApp()}catch(k){this.Debug.ShowErrorMessage(k.message,"App Component","OnInit",this.Debug.Typen.Component)}}StartApp(){var k=this;return n(function*(){try{let A,H;if(k.Debug.ShowMessage("Start App","App Component","StartApp",k.Debug.Typen.Component),yield k.platform.ready(),yield k.AuthService.SetActiveUser(),k.Basics.Contentbreite=k.platform.width(),k.Basics.Contenthoehe=k.platform.height(),null!==k.AuthService.ActiveUser){k.AuthService.SetShowLoginStatus(),k.Debug.ShowMessage("Benutzer ist angemeldet: "+k.AuthService.ActiveUser.username,"App Component","StartApp",k.Debug.Typen.Component),k.Pool.ShowProgress=!0,k.Pool.MaxProgressValue=8,k.Pool.CurrentProgressValue=0;try{!0===k.AuthService.SecurityEnabled&&(k.Pool.ProgressMessage="Lade eigene Daten",yield k.GraphService.GetOwnUserinfo(),k.Pool.CurrentProgressValue++),!0===k.AuthService.SecurityEnabled&&(k.Pool.ProgressMessage="Lade eigens Bild",yield k.GraphService.GetOwnUserimage(),k.Pool.CurrentProgressValue++),k.Pool.ProgressMessage="Lade Change Log",yield k.Pool.ReadChangelogliste(),k.Pool.CurrentProgressValue++,k.Pool.ProgressMessage="Lade Standortliste",yield k.Pool.ReadStandorteliste(),k.Pool.CurrentProgressValue++,k.Pool.ProgressMessage="Lade aktuelle Mitarbeiterliste",yield k.Pool.ReadMitarbeiterliste(),k.Pool.CurrentProgressValue++,k.Pool.ProgressMessage="Lade Positionenliste",yield k.Pool.ReadMitarbeiterpositionenliste(),k.Pool.CurrentProgressValue++,k.Pool.ProgressMessage="Aktuallisiere Mitarbeiterliste";let K=yield k.GraphService.GetAllUsers();k.Pool.CurrentProgressValue++,k.Pool.ProgressMessage="Lade Bundesl\xe4nder",yield k.UrlaubDB.ReadRegionen("DE"),k.Pool.CurrentProgressValue++,k.Pool.ProgressMessage="Lade Ferien Deutschland",yield k.UrlaubDB.ReadFerien("DE"),k.Pool.CurrentProgressValue++,k.Pool.ProgressMessage="Lade Ferien Bulgarien",yield k.UrlaubDB.ReadFerien("BG"),k.Pool.CurrentProgressValue++,k.Pool.ProgressMessage="Lade Appp Einstellungen",yield k.AppeinstellungenDB.ReadAppeinstellungen();for(let ie of K)A=i.find(k.Pool.Mitarbeiterliste,J=>J.UserID===ie.id),i.isUndefined(A)&&(console.log("Mitarbeiter wurde nicht gefunden:"),console.log(ie),-1===ie.mail.toLowerCase().indexOf("admin")&&(A=k.MitarbeiterDB.ConvertGraphuserToMitarbeiter(ie),console.log("Neuer Mitrabeiter:"),console.log(A),yield k.MitarbeiterDB.AddMitarbeiter(A)))}catch{console.log("error.message")}!1===k.MitarbeiterDB.CheckMitarbeiterExists(k.GraphService.Graphuser.mail)?(k.Debug.ShowMessage("Mitarbeiter neu eingetragen.","App Component","StartApp",k.Debug.Typen.Component),A=k.MitarbeiterDB.ConvertGraphuserToMitarbeiter(k.GraphService.Graphuser),null!==A.Email&&(A=yield k.MitarbeiterDB.AddMitarbeiter(A))):(k.Debug.ShowMessage("Mitarbeiter ist bereits eingetragen.","App Component","StartApp",k.Debug.Typen.Component),A=i.find(k.Pool.Mitarbeiterliste,{UserID:k.GraphService.Graphuser.id})),k.Pool.Mitarbeiterdaten=k.Pool.InitMitarbeiter(A),k.Pool.CheckMitarbeiterdaten(),k.UrlaubDB.SetMitarbeiter(k.Pool.Mitarbeiterdaten),k.Pool.ProgressMessage="Lade Feiertage Deutschland",yield k.UrlaubDB.ReadFeiertage("DE"),k.Pool.CurrentProgressValue++,k.Pool.ProgressMessage="Lade Feiertage Bulgarien",yield k.UrlaubDB.ReadFeiertage("BG"),k.Pool.CurrentProgressValue++,k.Pool.ProgressMessage="Lade Einstellungen",yield k.Pool.ReadSettingsliste(),k.Pool.CurrentProgressValue++,k.Pool.ProgressMessage="Syncronisiere Gesamtprojektliste",k.Pool.Mitarbeitersettings=k.Pool.InitMitarbeitersettings(),k.Pool.ProgressMessage="Aktualisiere Mitarbeitereinstellungen",yield k.MitarbeitersettingsDB.SaveMitarbeitersettings(),k.Pool.CurrentProgressValue++,k.Zoomfaktor=k.Pool.Mitarbeitersettings.Zoomfaktor,k.Pool.MitarbeitersettingsChanged.emit(),null===k.Pool.Mitarbeiterdaten.SettingsID&&(k.Pool.Mitarbeiterdaten.SettingsID=k.Pool.Mitarbeitersettings._id,yield k.MitarbeiterDB.UpdateMitarbeiter(k.Pool.Mitarbeiterdaten)),k.MitarbeiterDB.InitService(),k.StandortDB.InitService(),k.Pool.ShowProgress=!1,H=!0===k.Pool.Mitarbeiterdaten.Planeradministrator?"PageNeu":!0===k.Pool.Appeinstellungen.Wartungsmodus?k.Const.Pages.WartungPage:k.Const.Pages.UrlaubPlanungPage,k.Pool.ProjektdatenLoaded=!0,k.SetProjekteMenuebereich(H),k.Tools.SetRootPage(H).then(()=>{k.Pool.LoadingAllDataFinished.emit()})}else k.AuthService.SetShowLoginStatus(),k.Debug.ShowMessage("Benutzer ist nicht angemeldet","App Component","StartApp",k.Debug.Typen.Component)}catch(A){k.Debug.ShowErrorMessage(A.message,"App Component","StartApp",k.Debug.Typen.Component)}})()}SetProjekteMenuebereich(k){try{switch(k){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.UrlaubsgesamtuebersichtPage:this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Urlaubsplanung,this.Menuservice.UrlaubMenuebereich=this.Menuservice.UrlaubMenuebereiche.Gesamtplanung;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(k){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(A){this.Debug.ShowErrorMessage(A,"App Component","function",this.Debug.Typen.Component)}}ngAfterContentChecked(){this.changeDetector.detectChanges()}static \u0275fac=function(A){return new(A||G)(e.\u0275\u0275directiveInject(o.Platform),e.\u0275\u0275directiveInject(d.DatabasePoolService),e.\u0275\u0275directiveInject(v.MenueService),e.\u0275\u0275directiveInject(M.DatabaseAuthenticationService),e.\u0275\u0275directiveInject(e.ChangeDetectorRef),e.\u0275\u0275directiveInject(p.BasicsProvider),e.\u0275\u0275directiveInject(E.ToolsProvider),e.\u0275\u0275directiveInject(S.ConstProvider),e.\u0275\u0275directiveInject(y.MsalService),e.\u0275\u0275directiveInject(y.MsalBroadcastService),e.\u0275\u0275directiveInject(f.DatabaseMitarbeiterService),e.\u0275\u0275directiveInject(C.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(_.DatabaseStandorteService),e.\u0275\u0275directiveInject(w.DatabaseUrlaubService),e.\u0275\u0275directiveInject(D.Graphservice),e.\u0275\u0275directiveInject(L.DatabaseAppeinstellungenService),e.\u0275\u0275directiveInject(N.DebugProvider))};static \u0275cmp=e.\u0275\u0275defineComponent({type:G,selectors:[["app-root"]],decls:3,vars:2,consts:[["Outlet",""]],template:function(A,H){1&A&&(e.\u0275\u0275elementStart(0,"ion-app"),e.\u0275\u0275element(1,"ion-router-outlet",null,0),e.\u0275\u0275elementEnd()),2&A&&(e.\u0275\u0275advance(),e.\u0275\u0275styleProp("zoom",H.Zoomfaktor,"%"))},dependencies:[o.IonApp,o.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 G})()},5204:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.AppModule=m.MSALInstanceFactory=void 0;const n=s(81316),c=s(14476),u=s(92512),l=s(86108),i=s(80484),e=s(19668),o=s(34388),d=s(29743),v=s(14652),M=s(33940),p=s(59460),E=s(21052),S=s(44556),y=s(97048),f=s(23476),C=s(21112),_=s(36716),w=s(57848),D=s(91368),L=n.__importStar(s(54496)),V=(n.__importStar(s(92512)),!1===_.environment.production?"http://localhost:4200":"https://polite-cliff-084832d03.4.azurestaticapps.net"),R=!1===_.environment.production&&!1===_.environment.useonlinedb?"http://localhost:80":"bae-urlaubsplaner-docker.azurewebsites.net",ie=window.navigator.userAgent.indexOf("MSIE ")>-1||window.navigator.userAgent.indexOf("Trident/")>-1,J=(Oe,ke)=>{console.log(ke)};m.MSALInstanceFactory=()=>new C.PublicClientApplication({auth:{clientId:"e85e5489-e9fd-4d10-b6aa-37be3ce084b6",authority:"https://login.microsoftonline.com/8870822d-b5ee-4a63-b4ea-7147f0ee753d",redirectUri:V},cache:{cacheLocation:C.BrowserCacheLocation.LocalStorage,storeAuthStateInCookie:ie},system:{loggerOptions:{loggerCallback:J,logLevel:C.LogLevel.Error,piiLoggingEnabled:!1}}});const ce=()=>{const Oe=new Map;return Oe.set("https://graph.microsoft.com/v1.0/me",["user.read"]),Oe.set(R,["api://0caad6ac-8087-46ce-99ca-690c083121a8/database_access"]),{interactionType:C.InteractionType.Redirect,protectedResourceMap:Oe}},Ge=()=>({interactionType:C.InteractionType.Redirect,authRequest:{scopes:["User.Read","offline_access","openid","profile","email","Mail.Send","User.ReadBasic.All"]}});m.AppModule=(()=>{class Oe{static \u0275fac=function(Qe){return new(Qe||Oe)};static \u0275mod=L.\u0275\u0275defineNgModule({type:Oe,bootstrap:[l.AppComponent,f.MsalRedirectComponent]});static \u0275inj=L.\u0275\u0275defineInjector({providers:[{provide:y.HTTP_INTERCEPTORS,useClass:f.MsalInterceptor,multi:!0},{provide:f.MSAL_INSTANCE,useFactory:m.MSALInstanceFactory},{provide:f.MSAL_GUARD_CONFIG,useFactory:Ge},{provide:f.MSAL_INTERCEPTOR_CONFIG,useFactory:ce},{provide:D.LocationStrategy,useClass:D.HashLocationStrategy},f.MsalService,f.MsalGuard,f.MsalBroadcastService,e.ToolsProvider,o.DebugProvider,d.ConstProvider,v.BasicsProvider,p.MenueService,M.LoadingAnimationService,E.DisplayService],imports:[c.BrowserModule,u.IonicModule.forRoot({innerHTMLTemplatesEnabled:!0}),i.AppRoutingModule,S.BrowserAnimationsModule,y.HttpClientModule,f.MsalModule,w.FontAwesomeModule]})}return Oe})()},64168:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.FiChangelogEditorComponent=void 0;const n=s(81316),c=s(54496),u=n.__importStar(s(78776)),l=n.__importDefault(s(35908)),i=n.__importStar(s(54496)),e=n.__importStar(s(34388)),o=n.__importStar(s(21052)),d=n.__importStar(s(29743)),v=n.__importStar(s(19668)),M=n.__importStar(s(51708)),p=n.__importStar(s(91368)),E=n.__importStar(s(92512)),S=n.__importStar(s(38056)),y=n.__importStar(s(90212)),f=n.__importStar(s(25856)),C=n.__importStar(s(29856));function _(L,N){if(1&L){const V=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table")(3,"tr")(4,"td")(5,"checkbox-clon",16),i.\u0275\u0275listener("CheckChanged",function(R){i.\u0275\u0275restoreView(V);const k=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(k.CanDeleteCheckedChanged(R))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275element(6,"td",17),i.\u0275\u0275elementStart(7,"td")(8,"ion-button",18),i.\u0275\u0275listener("click",function(){i.\u0275\u0275restoreView(V);const R=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(R.DeleteButtonClicked())}),i.\u0275\u0275element(9,"ion-icon",19),i.\u0275\u0275elementStart(10,"ion-text"),i.\u0275\u0275text(11,"Eintrag l\xf6schen"),i.\u0275\u0275elementEnd()()()()()()()}if(2&L){const V=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",V.CanDelete),i.\u0275\u0275advance(3),i.\u0275\u0275property("disabled",!V.CanDelete)}}function w(L,N){if(1&L){const V=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"ion-grid")(1,"ion-row")(2,"ion-col")(3,"input-clone",12),i.\u0275\u0275twoWayListener("ValueChange",function(R){i.\u0275\u0275restoreView(V);const k=i.\u0275\u0275nextContext();return i.\u0275\u0275twoWayBindingSet(k.DB.CurrentChangelog.Version,R)||(k.DB.CurrentChangelog.Version=R),i.\u0275\u0275resetView(R)}),i.\u0275\u0275listener("TextChanged",function(R){i.\u0275\u0275restoreView(V);const k=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(k.TextChanged(R))}),i.\u0275\u0275elementEnd()()(),i.\u0275\u0275elementStart(4,"ion-row")(5,"ion-col")(6,"input-clone",13),i.\u0275\u0275twoWayListener("ValueChange",function(R){i.\u0275\u0275restoreView(V);const k=i.\u0275\u0275nextContext();return i.\u0275\u0275twoWayBindingSet(k.DB.CurrentChangelog.Beschreibung,R)||(k.DB.CurrentChangelog.Beschreibung=R),i.\u0275\u0275resetView(R)}),i.\u0275\u0275listener("TextChanged",function(R){i.\u0275\u0275restoreView(V);const k=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(k.TextChanged(R))}),i.\u0275\u0275elementEnd()()(),i.\u0275\u0275elementStart(7,"ion-row")(8,"ion-col"),i.\u0275\u0275element(9,"input-clone",14),i.\u0275\u0275elementEnd(),i.\u0275\u0275element(10,"ion-col"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(11,"ion-row")(12,"ion-col",15),i.\u0275\u0275element(13,"br")(14,"br"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275template(15,_,12,2,"ion-row",6),i.\u0275\u0275elementEnd()}if(2&L){const V=i.\u0275\u0275nextContext();i.\u0275\u0275advance(3),i.\u0275\u0275twoWayProperty("Value",V.DB.CurrentChangelog.Version),i.\u0275\u0275property("Required",!1)("MaxLength",100),i.\u0275\u0275advance(3),i.\u0275\u0275twoWayProperty("Value",V.DB.CurrentChangelog.Beschreibung),i.\u0275\u0275property("Required",!0)("MinLength",3)("MaxLength",200),i.\u0275\u0275advance(3),i.\u0275\u0275property("Value",V.GetDatum())("Enabled",!1),i.\u0275\u0275advance(6),i.\u0275\u0275property("ngIf",null!==V.DB.CurrentChangelog._id)}}m.FiChangelogEditorComponent=(()=>{class L{Debug;Displayservice;Const;Tools;DB;Valid;CanDelete;JoiShema;ValidChange=new c.EventEmitter;CancelClickedEvent=new c.EventEmitter;OkClickedEvent=new c.EventEmitter;DeleteClickedEvent=new c.EventEmitter;Titel;Iconname;Dialogbreite;Dialoghoehe;PositionY;ZIndex;constructor(V,G,R,k,A){this.Debug=V,this.Displayservice=G,this.Const=R,this.Tools=k,this.DB=A;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(H){this.Debug.ShowErrorMessage(H.message,"Changelog Editor","constructor",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Displayservice.RemoveDialog(this.Displayservice.Dialognamen.Changelogeditor)}catch(V){this.Debug.ShowErrorMessage(V.message,"Changelog Editor","OnDestroy",this.Debug.Typen.Component)}}SetupValidation(){try{this.JoiShema=u.object({Beschreibung:u.string().required().max(100)}).options({stripUnknown:!0})}catch(V){this.Debug.ShowErrorMessage(V.message,"Changelog Editor","SetupValidation",this.Debug.Typen.Component)}}ngOnInit(){try{this.SetupValidation(),this.Displayservice.AddDialog(this.Displayservice.Dialognamen.Changelogeditor,this.ZIndex)}catch(V){this.Debug.ShowErrorMessage(V.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(V){this.Debug.ShowErrorMessage(V.message,"Changelog Editor","ValidateInput",this.Debug.Typen.Component)}}TextChanged(V){try{this.ValidateInput()}catch(G){this.Debug.ShowErrorMessage(G.message,"Changelog Editor","TextChanged",this.Debug.Typen.Component)}}ngAfterViewInit(){try{this.ValidateInput()}catch(V){this.Debug.ShowErrorMessage(V.message,"Changelog Editor","AfterViewInit",this.Debug.Typen.Component)}}CancelButtonClicked(){this.CancelClickedEvent.emit()}DeleteButtonClicked(){try{this.CanDelete&&this.DB.DeleteChangelog().then(()=>{this.DeleteClickedEvent.emit()}).catch(V=>{this.Tools.ShowHinweisDialog(V.error.message)})}catch(V){this.Debug.ShowErrorMessage(V.message,"Changelog Editor","DeleteButtonClicked",this.Debug.Typen.Component)}}OkButtonClicked(){try{null===this.DB.CurrentChangelog._id?this.DB.AddChangelog().then(V=>{this.OkClickedEvent.emit()}).catch(V=>{this.Tools.ShowHinweisDialog(V.error)}):this.DB.UpdateChangelog().then(()=>{this.OkClickedEvent.emit()}).catch(V=>{this.Tools.ShowHinweisDialog(V.error.message)})}catch(V){this.Debug.ShowErrorMessage(V.message,"Changelog Editor","OkButtonClicked",this.Debug.Typen.Component)}}ContentClicked(V){V.preventDefault(),V.stopPropagation()}CanDeleteCheckedChanged(V){try{this.CanDelete=V.status}catch(G){this.Debug.ShowErrorMessage(G.message,"Changelog Editor","CanDeleteCheckedChanged",this.Debug.Typen.Component)}}GetDatum(){try{return(0,l.default)(this.DB.CurrentChangelog.Zeitstempel).format("DD.MM.YYYY")}catch(V){this.Debug.ShowErrorMessage(V,"Changelog Editor","GetDatum",this.Debug.Typen.Component)}}static \u0275fac=function(G){return new(G||L)(i.\u0275\u0275directiveInject(e.DebugProvider),i.\u0275\u0275directiveInject(o.DisplayService),i.\u0275\u0275directiveInject(d.ConstProvider),i.\u0275\u0275directiveInject(v.ToolsProvider),i.\u0275\u0275directiveInject(M.DatabaseChangelogService))};static \u0275cmp=i.\u0275\u0275defineComponent({type:L,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(G,R){1&G&&(i.\u0275\u0275elementStart(0,"div",0)(1,"div",1),i.\u0275\u0275listener("click",function(A){return R.ContentClicked(A)}),i.\u0275\u0275elementStart(2,"div",2),i.\u0275\u0275listener("click",function(A){return R.ContentClicked(A)}),i.\u0275\u0275elementStart(3,"ion-header")(4,"page-header")(5,"table",3)(6,"tr")(7,"td"),i.\u0275\u0275element(8,"ion-icon",4),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(9,"td"),i.\u0275\u0275text(10),i.\u0275\u0275elementEnd()()()()(),i.\u0275\u0275elementStart(11,"ion-content")(12,"div",5),i.\u0275\u0275template(13,w,16,10,"ion-grid",6),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(14,"ion-footer")(15,"page-footer")(16,"table",7)(17,"tr")(18,"td")(19,"div",8),i.\u0275\u0275listener("click",function(){return R.CancelButtonClicked()}),i.\u0275\u0275element(20,"ion-icon",9),i.\u0275\u0275elementEnd()(),i.\u0275\u0275element(21,"td",10),i.\u0275\u0275elementStart(22,"td")(23,"div",8),i.\u0275\u0275listener("click",function(){return!0===R.Valid?R.OkButtonClicked():null}),i.\u0275\u0275element(24,"ion-icon",11),i.\u0275\u0275elementEnd()()()()()()()()()),2&G&&(i.\u0275\u0275styleProp("z-index",R.ZIndex),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("background",R.Displayservice.ShowOpacity(R.Displayservice.Dialognamen.Changelogeditor)?"rgba(0, 0, 0, 0.5)":"none"),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("width",R.Dialogbreite,"px")("height",R.Dialoghoehe,"px")("top",R.PositionY,"px"),i.\u0275\u0275advance(6),i.\u0275\u0275property("name",R.Iconname),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("color","white"),i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate(R.Titel),i.\u0275\u0275advance(3),i.\u0275\u0275property("ngIf",R.DB.CurrentChangelog),i.\u0275\u0275advance(11),i.\u0275\u0275property("color",!0===R.Valid?"weiss":"grau"))},dependencies:[p.NgIf,E.IonButton,E.IonCol,E.IonContent,E.IonFooter,E.IonGrid,E.IonHeader,E.IonIcon,E.IonRow,E.IonText,S.InputCloneComponent,y.PageHeaderComponent,f.CheckboxClonComponent,C.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 L})()},12095:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.FiChangelogEditorModule=void 0;const n=s(81316),c=s(92512),u=s(91368),l=s(33780),i=s(61540),e=s(6512),o=s(70216),d=s(7388),v=s(90520),M=n.__importStar(s(54496));m.FiChangelogEditorModule=(()=>{class E{static \u0275fac=function(f){return new(f||E)};static \u0275mod=M.\u0275\u0275defineNgModule({type:E});static \u0275inj=M.\u0275\u0275defineInjector({imports:[u.CommonModule,c.IonicModule,l.InputCloneModule,i.InputCloneKeeperModule,e.AbstandElementFixedModule,o.PageHeaderModule,d.CheckboxClonModule,v.PageFooterModule]})}return E})()},80887:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.FiMitarbeiterAuswahlComponent=void 0;const n=s(81316),c=s(54496),u=n.__importStar(s(17964)),l=n.__importStar(s(54496)),i=n.__importStar(s(14652)),e=n.__importStar(s(34388)),o=n.__importStar(s(19668)),d=n.__importStar(s(58864)),v=n.__importStar(s(29743)),M=n.__importStar(s(9544)),p=n.__importStar(s(21052)),E=n.__importStar(s(7992)),S=["SmallAlphabet"];function y(V,G){if(1&V&&(l.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col",24)(2,"ion-text",31)(3,"b"),l.\u0275\u0275text(4),l.\u0275\u0275elementEnd()()()()),2&V){const R=l.\u0275\u0275nextContext().index,k=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(4),l.\u0275\u0275textInterpolate(k.Mitarbeiterbuchstabenliste[R])}}function f(V,G){if(1&V&&(l.\u0275\u0275elementStart(0,"td"),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&V){const R=l.\u0275\u0275nextContext(2).$implicit;l.\u0275\u0275advance(),l.\u0275\u0275textInterpolate3(" ",R.Name," ",R.Vorname," / ",R.Kuerzel," ")}}function C(V,G){if(1&V&&(l.\u0275\u0275elementStart(0,"td")(1,"span"),l.\u0275\u0275text(2),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(3,"span",34),l.\u0275\u0275text(4),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(5,"span"),l.\u0275\u0275text(6),l.\u0275\u0275elementEnd(),l.\u0275\u0275text(7),l.\u0275\u0275elementEnd()),2&V){const R=l.\u0275\u0275nextContext(2).$implicit;l.\u0275\u0275advance(2),l.\u0275\u0275textInterpolate(R.Text_A),l.\u0275\u0275advance(2),l.\u0275\u0275textInterpolate(R.Text_B),l.\u0275\u0275advance(2),l.\u0275\u0275textInterpolate(R.Text_C),l.\u0275\u0275advance(),l.\u0275\u0275textInterpolate1(" / ",R.Kuerzel," ")}}function _(V,G){if(1&V){const R=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"table",32)(1,"tr")(2,"td")(3,"checkbox-clon",33),l.\u0275\u0275listener("CheckChanged",function(A){l.\u0275\u0275restoreView(R);const H=l.\u0275\u0275nextContext(3);return l.\u0275\u0275resetView(H.CheckedChanged(A))}),l.\u0275\u0275elementEnd()(),l.\u0275\u0275template(4,f,2,3,"td",11)(5,C,8,4,"td",11),l.\u0275\u0275elementEnd()()}if(2&V){const R=l.\u0275\u0275nextContext(),k=R.index,A=R.$implicit;l.\u0275\u0275advance(3),l.\u0275\u0275property("Index",k)("Checked",A.Selected),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",!A.Filtered),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",A.Filtered)}}function w(V,G){if(1&V){const R=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"ion-item",22),l.\u0275\u0275listener("click",function(){const H=l.\u0275\u0275restoreView(R).$implicit,K=l.\u0275\u0275nextContext(2);return l.\u0275\u0275resetView(K.MitrabeiterButtonClicked(H))}),l.\u0275\u0275elementStart(1,"ion-grid",23),l.\u0275\u0275template(2,y,5,1,"ion-row",11),l.\u0275\u0275elementStart(3,"ion-row")(4,"ion-col",24)(5,"div",25)(6,"table",16)(7,"tr")(8,"td"),l.\u0275\u0275template(9,_,6,4,"table",26),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(10,"tr")(11,"td")(12,"table",27)(13,"tr"),l.\u0275\u0275element(14,"td",28),l.\u0275\u0275elementStart(15,"td",29),l.\u0275\u0275text(16,"Standort:"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(17,"td"),l.\u0275\u0275text(18),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(19,"td",30),l.\u0275\u0275elementEnd()()()()()()()()()()}if(2&V){const R=G.$implicit,k=G.index,A=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(2),l.\u0275\u0275property("ngIf",""!==A.Mitarbeiterbuchstabenliste[k]),l.\u0275\u0275advance(7),l.\u0275\u0275property("ngIf",null!==R),l.\u0275\u0275advance(9),l.\u0275\u0275textInterpolate(A.DBStandort.GetStandort(R.StandortID))}}function D(V,G){if(1&V&&(l.\u0275\u0275elementStart(0,"ion-list"),l.\u0275\u0275template(1,w,20,3,"ion-item",21),l.\u0275\u0275elementEnd()),2&V){const R=l.\u0275\u0275nextContext();l.\u0275\u0275advance(),l.\u0275\u0275property("ngForOf",R.Anzeigeliste)}}function L(V,G){1&V&&(l.\u0275\u0275elementStart(0,"div",35),l.\u0275\u0275text(1," keine Eintr\xe4ge unter diesem Filter vorhanden "),l.\u0275\u0275elementEnd())}m.FiMitarbeiterAuswahlComponent=(()=>{class V{Basics;Debug;Tools;DBStandort;Const;DBUrlaub;Displayservice;Pool;Alphabetcomponent;Titel;Iconname;AuswahlIDliste;Multiselect;Dialogbreite;ZIndex;OnlyProjektmitarbeiter;BlockCurrentMitarbeiter;OkClickedEvent=new c.EventEmitter;CancelClickedEvent=new c.EventEmitter;StandortfilterClickedEvent=new c.EventEmitter;Anzeigeliste;Mitarbeiterbuchstabenliste;Standardalphabet;Mitarbeiteralphabet;Mitarbeiteralphabetauswahl;Alphapetbreite;Lastletter;Mitarbeiterfiltertext;Mitarbeiterliste;FilterSubscription;PositionY;AuswahlIDListeSicherung;constructor(R,k,A,H,K,ie,J,be){this.Basics=R,this.Debug=k,this.Tools=A,this.DBStandort=H,this.Const=K,this.DBUrlaub=ie,this.Displayservice=J,this.Pool=be;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,this.BlockCurrentMitarbeiter=!1}catch(ce){this.Debug.ShowErrorMessage(ce.message,"Mitarbeiter Auswahl","constructor",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Displayservice.RemoveDialog(this.Displayservice.Dialognamen.Mitarbeiterauswahl),this.FilterSubscription.unsubscribe()}catch(R){this.Debug.ShowErrorMessage(R.message,"Mitarbeiter Auswahl","OnDestroy",this.Debug.Typen.Component)}}InitTitel(){}ngOnInit(){try{this.AuswahlIDListeSicherung=u.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(R){this.Debug.ShowErrorMessage(R.message,"Mitarbeiter Auswahl","function",this.Debug.Typen.Component)}}PrepareDaten(){try{let R,k,A,H,K,ie,J,be,ce,Ge,ct,Oe;if(null!==this.Pool.Mitarbeiterliste){if(this.Lastletter="",this.Mitarbeiterliste=[],this.OnlyProjektmitarbeiter||(this.Mitarbeiterliste=u.cloneDeep(this.Pool.Mitarbeiterliste)),R=u.cloneDeep(this.Mitarbeiterliste),R=u.filter(R,ke=>!1===ke.Archiviert),R.sort((ke,Re)=>ke.NameRe.Name?1:0),this.BlockCurrentMitarbeiter&&null!==this.DBUrlaub.CurrentMitarbeiter&&(R=u.filter(R,ke=>ke._id!==this.DBUrlaub.CurrentMitarbeiter._id)),null!==this.DBStandort.CurrentStandortfilter){k=u.cloneDeep(R),R=[];for(let ke of k)ke.StandortID===this.DBStandort.CurrentStandortfilter._id&&R.push(ke)}if(R.length>6){this.Mitarbeiteralphabet=["Alle"];for(let ke of R)A=ke.Name.substring(0,1).toUpperCase(),-1===this.Mitarbeiteralphabet.indexOf(A)&&this.Mitarbeiteralphabet.push(A)}else this.Mitarbeiteralphabet=this.Standardalphabet;if("Alle"!==this.Mitarbeiteralphabetauswahl){k=u.cloneDeep(R),R=[];for(let ke of k)A=ke.Name.substring(0,1).toUpperCase(),A="\xc4"===A?"A":A,A="\xd6"===A?"O":A,A="\xdc"===A?"U":A,this.Mitarbeiteralphabetauswahl===A&&R.push(ke)}if(""!==this.Mitarbeiterfiltertext){k=u.cloneDeep(R),R=[];for(let ke of k)Ge=this.Mitarbeiterfiltertext.toLowerCase(),ct=ke.Name.toLowerCase(),ce=ct.indexOf(Ge),-1!==ce&&(H=ke.Name.length,be=Ge.length,K=ke.Name.substr(0,ce),ie=ke.Name.substr(ce,be),be=H-be-ce,J=ke.Name.substr(H-be,be),ke.Filtered=!0,ke.Text_A=K,ke.Text_B=ie,ke.Text_C=J,R.push(ke))}this.Mitarbeiterbuchstabenliste=[];for(let ke of R)this.Mitarbeiterbuchstabenliste.push(this.GetMitarbeiterAlphabetbuchstabe(ke));for(Oe of R)Oe.Selected=!1;for(let ke of this.AuswahlIDliste)Oe=u.find(R,{_id:ke}),u.isUndefined(Oe)||(Oe.Selected=!0);this.Anzeigeliste=u.cloneDeep(R)}}catch(R){this.Debug.ShowErrorMessage(R.message,"Mitarbeiter Auswahl","PrepareDaten",this.Debug.Typen.Component)}}GetMitarbeiterAlphabetbuchstabe(R){try{let k=R.Name.substring(0,1).toUpperCase();return k!==this.Lastletter?(this.Lastletter=k,k):""}catch(k){this.Debug.ShowErrorMessage(k.message,"Mitarbeiter Auswahl","GetMitarbeiterAlphabetbuchstabe",this.Debug.Typen.Component)}}MitrabeiterButtonClicked(R){}AlphabetClicked(R){try{this.Mitarbeiterfiltertext="",this.Mitarbeiteralphabetauswahl=R,this.PrepareDaten()}catch(k){this.Debug.ShowErrorMessage(k.message,"Mitarbeiter Auswahl","AlphabetClicked",this.Debug.Typen.Component)}}CheckedChanged(R){try{let k;if(!1===this.Multiselect){for(k of this.Mitarbeiterliste)k.Selected=!1;for(k of this.Anzeigeliste)k.Selected=!1}k=u.find(this.Mitarbeiterliste,{_id:this.Anzeigeliste[R.index]._id}),u.isUndefined(k)||(k.Selected=R.status,!0===R.status?this.AuswahlIDliste.push(k._id):this.AuswahlIDliste=u.filter(this.AuswahlIDliste,A=>A!==k._id)),this.Anzeigeliste[R.index].Selected=R.status}catch(k){this.Debug.ShowErrorMessage(k.message,"Mitarbeiter Auswahl","CheckedChanged",this.Debug.Typen.Component)}}CancelButtonClicked(){this.CancelClickedEvent.emit();try{this.AuswahlIDliste=u.cloneDeep(this.AuswahlIDListeSicherung)}catch(R){this.Debug.ShowErrorMessage(R.message,"Mitarbeiter Auswahl","CancelButtonClicked",this.Debug.Typen.Component)}}OkButtonClicked(){this.OkClickedEvent.emit(this.AuswahlIDliste)}ContentClicked(R){R.preventDefault(),R.stopPropagation()}StandortfilterButtonClicked(){try{this.StandortfilterClickedEvent.emit()}catch(R){this.Debug.ShowErrorMessage(R.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(R){this.Debug.ShowErrorMessage(R.message,"Mitarbeiter Auswahl","GetStandortfiller",this.Debug.Typen.Component)}}static \u0275fac=function(k){return new(k||V)(l.\u0275\u0275directiveInject(i.BasicsProvider),l.\u0275\u0275directiveInject(e.DebugProvider),l.\u0275\u0275directiveInject(o.ToolsProvider),l.\u0275\u0275directiveInject(d.DatabaseStandorteService),l.\u0275\u0275directiveInject(v.ConstProvider),l.\u0275\u0275directiveInject(M.DatabaseUrlaubService),l.\u0275\u0275directiveInject(p.DisplayService),l.\u0275\u0275directiveInject(E.DatabasePoolService))};static \u0275cmp=l.\u0275\u0275defineComponent({type:V,selectors:[["fi-mitarbeiter-auswahl"]],viewQuery:function(k,A){if(1&k&&l.\u0275\u0275viewQuery(S,7),2&k){let H;l.\u0275\u0275queryRefresh(H=l.\u0275\u0275loadQuery())&&(A.Alphabetcomponent=H.first)}},inputs:{Titel:"Titel",Iconname:"Iconname",AuswahlIDliste:"AuswahlIDliste",Multiselect:"Multiselect",Dialogbreite:"Dialogbreite",ZIndex:"ZIndex",OnlyProjektmitarbeiter:"OnlyProjektmitarbeiter",BlockCurrentMitarbeiter:"BlockCurrentMitarbeiter"},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(k,A){1&k&&(l.\u0275\u0275elementStart(0,"div",0)(1,"div",1),l.\u0275\u0275listener("click",function(K){return A.ContentClicked(K)}),l.\u0275\u0275elementStart(2,"div",2),l.\u0275\u0275listener("click",function(K){return A.ContentClicked(K)}),l.\u0275\u0275elementStart(3,"ion-header")(4,"page-header")(5,"table",3)(6,"tr"),l.\u0275\u0275element(7,"td",4),l.\u0275\u0275elementStart(8,"td"),l.\u0275\u0275element(9,"ion-icon",5),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(10,"td"),l.\u0275\u0275text(11),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(12,"tr")(13,"td",6)(14,"ion-button",7),l.\u0275\u0275listener("click",function(){return A.StandortfilterButtonClicked()}),l.\u0275\u0275element(15,"ion-icon",8),l.\u0275\u0275text(16),l.\u0275\u0275elementEnd()()()()()(),l.\u0275\u0275elementStart(17,"ion-content")(18,"div",9)(19,"div",10),l.\u0275\u0275template(20,D,2,1,"ion-list",11)(21,L,2,0,"div",12),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(22,"div",13)(23,"alphabet-relative",14,15),l.\u0275\u0275listener("AlphabetClicked",function(K){return A.AlphabetClicked(K)}),l.\u0275\u0275elementEnd()()()(),l.\u0275\u0275elementStart(25,"ion-footer")(26,"page-footer")(27,"table",16)(28,"tr")(29,"td")(30,"div",17),l.\u0275\u0275listener("click",function(){return A.CancelButtonClicked()}),l.\u0275\u0275element(31,"ion-icon",18),l.\u0275\u0275elementEnd()(),l.\u0275\u0275element(32,"td",19),l.\u0275\u0275elementStart(33,"td")(34,"div",17),l.\u0275\u0275listener("click",function(){return A.OkButtonClicked()}),l.\u0275\u0275element(35,"ion-icon",20),l.\u0275\u0275elementEnd()()()()()()()()()),2&k&&(l.\u0275\u0275styleProp("z-index",A.ZIndex),l.\u0275\u0275advance(),l.\u0275\u0275styleProp("background",A.Displayservice.ShowOpacity(A.Displayservice.Dialognamen.Mitarbeiterauswahl)?"rgba(0, 0, 0, 0.5)":"none"),l.\u0275\u0275advance(),l.\u0275\u0275styleProp("width",A.Dialogbreite,"px")("bottom",A.PositionY,"px")("top",A.PositionY,"px"),l.\u0275\u0275advance(7),l.\u0275\u0275property("name",A.Iconname),l.\u0275\u0275advance(),l.\u0275\u0275styleProp("color","white"),l.\u0275\u0275advance(),l.\u0275\u0275textInterpolate(A.Titel),l.\u0275\u0275advance(5),l.\u0275\u0275textInterpolate1(" ",A.GetStandortfiller()," "),l.\u0275\u0275advance(4),l.\u0275\u0275property("ngIf",A.Mitarbeiterliste&&A.Anzeigeliste.length>0),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",A.Mitarbeiterliste&&0===A.Anzeigeliste.length),l.\u0275\u0275advance(2),l.\u0275\u0275property("Buchstabenliste",A.Mitarbeiteralphabet)("Breite",A.Alphapetbreite)("Auswahl",A.Mitarbeiteralphabetauswahl))},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 V})()},26668:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.FiMitarbeiterAuswahlModule=void 0;const n=s(81316),c=s(92512),u=s(91368),l=s(33780),i=s(61540),e=s(6512),o=s(7388),d=s(80887),v=s(87143),M=s(72160),p=s(70216),E=s(90520),S=n.__importStar(s(54496)),y=n.__importStar(s(91368)),f=n.__importStar(s(92512)),C=n.__importStar(s(25856)),_=n.__importStar(s(1215)),w=n.__importStar(s(90212)),D=n.__importStar(s(29856));m.FiMitarbeiterAuswahlModule=(()=>{class N{static \u0275fac=function(R){return new(R||N)};static \u0275mod=S.\u0275\u0275defineNgModule({type:N});static \u0275inj=S.\u0275\u0275defineInjector({imports:[u.CommonModule,c.IonicModule,l.InputCloneModule,i.InputCloneKeeperModule,e.AbstandElementFixedModule,o.CheckboxClonModule,v.AlphabetModule,M.AlphabetRelativeModule,p.PageHeaderModule,E.PageFooterModule]})}return N})(),S.\u0275\u0275setComponentScope(d.FiMitarbeiterAuswahlComponent,[y.NgForOf,y.NgIf,f.IonButton,f.IonCol,f.IonContent,f.IonFooter,f.IonGrid,f.IonHeader,f.IonIcon,f.IonItem,f.IonList,f.IonRow,f.IonText,C.CheckboxClonComponent,_.AlphabetRelativeComponent,w.PageHeaderComponent,D.PageFooterComponent],[])},82384:(pe,m,s)=>{"use strict";var n=s(1196).default;Object.defineProperty(m,"__esModule",{value:!0}),m.FiMitarbeiterEditorComponent=void 0;const c=s(81316),u=s(54496),l=c.__importStar(s(78776)),i=c.__importStar(s(17964)),e=c.__importStar(s(54496)),o=c.__importStar(s(34388)),d=c.__importStar(s(19668)),v=c.__importStar(s(7992)),M=c.__importStar(s(29743)),p=c.__importStar(s(14652)),E=c.__importStar(s(21052)),S=c.__importStar(s(58864)),y=c.__importStar(s(9544)),f=c.__importStar(s(22848));function C(J,be){if(1&J){const ce=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table",31)(3,"tr")(4,"td")(5,"checkbox-clon",32),e.\u0275\u0275listener("CheckChanged",function(ct){e.\u0275\u0275restoreView(ce);const Oe=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(Oe.PlaneradministratorCheckboxChanged(ct))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7,"Administrator"),e.\u0275\u0275elementEnd()()()()()}if(2&J){const ce=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(5),e.\u0275\u0275property("Enabled",!0===ce.Pool.Mitarbeiterdaten.Planeradministrator)("Checked",ce.DB.CurrentMitarbeiter.Planeradministrator)}}function _(J,be){if(1&J&&(e.\u0275\u0275elementStart(0,"td",37),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&J){const ce=be.$implicit;e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(ce.Ort)}}function w(J,be){if(1&J){const ce=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td",38)(1,"checkbox-clon",39),e.\u0275\u0275listener("CheckChanged",function(ct){e.\u0275\u0275restoreView(ce);const Oe=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView(Oe.UrlaubsfreigabeChanged(ct))}),e.\u0275\u0275elementEnd()()}if(2&J){const ce=be.$implicit,Ge=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(),e.\u0275\u0275property("Enabled",Ge.DB.CurrentMitarbeiter.Urlaubsfreigaben)("Value",ce._id)("Checked",Ge.UrlaubsfreigabeChecked(ce._id))}}function D(J,be){if(1&J){const ce=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td",38)(1,"checkbox-clon",39),e.\u0275\u0275listener("CheckChanged",function(ct){e.\u0275\u0275restoreView(ce);const Oe=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView(Oe.HomeofficefreigabeChanged(ct))}),e.\u0275\u0275elementEnd()()}if(2&J){const ce=be.$implicit,Ge=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(),e.\u0275\u0275property("Enabled",Ge.DB.CurrentMitarbeiter.Homeofficefreigaben)("Value",ce._id)("Checked",Ge.HomeofficefreigabeChecked(ce._id))}}function L(J,be){if(1&J){const ce=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table",33),e.\u0275\u0275element(3,"td",34),e.\u0275\u0275template(4,_,2,1,"td",35),e.\u0275\u0275elementStart(5,"tr")(6,"td")(7,"checkbox-clon",32),e.\u0275\u0275listener("CheckChanged",function(ct){e.\u0275\u0275restoreView(ce);const Oe=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(Oe.UrlaubsfreigabenCheckboxChanged(ct))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(8,"td"),e.\u0275\u0275text(9,"Urlaub Freigaben"),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(10,w,2,3,"td",36),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"tr")(12,"td")(13,"checkbox-clon",32),e.\u0275\u0275listener("CheckChanged",function(ct){e.\u0275\u0275restoreView(ce);const Oe=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(Oe.HomeofficefreigabenCheckboxChanged(ct))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(14,"td"),e.\u0275\u0275text(15,"Homeoffice Freigaben"),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(16,D,2,3,"td",36),e.\u0275\u0275elementEnd()()()()}if(2&J){const ce=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",ce.Pool.Standorteliste),e.\u0275\u0275advance(3),e.\u0275\u0275property("Enabled",!0===ce.Pool.Mitarbeiterdaten.Planeradministrator)("Checked",ce.DB.CurrentMitarbeiter.Urlaubsfreigaben),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngForOf",ce.Pool.Standorteliste),e.\u0275\u0275advance(3),e.\u0275\u0275property("Enabled",!0===ce.Pool.Mitarbeiterdaten.Planeradministrator)("Checked",ce.DB.CurrentMitarbeiter.Homeofficefreigaben),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngForOf",ce.Pool.Standorteliste)}}function N(J,be){if(1&J){const ce=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table")(3,"tr")(4,"td")(5,"checkbox-clon",40),e.\u0275\u0275listener("CheckChanged",function(ct){e.\u0275\u0275restoreView(ce);const Oe=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(Oe.ArchivierenCheckboxChanged(ct))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(6,"td",41),e.\u0275\u0275elementStart(7,"td"),e.\u0275\u0275text(8,"Eintrag archivieren"),e.\u0275\u0275elementEnd()()()()()}if(2&J){const ce=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(5),e.\u0275\u0275property("Checked",ce.DB.CurrentMitarbeiter.Archiviert)}}function V(J,be){if(1&J){const ce=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ion-grid")(1,"ion-row")(2,"ion-col")(3,"ion-text",18)(4,"b"),e.\u0275\u0275text(5,"Mitarbeiter"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(6,"ion-row")(7,"ion-col",19)(8,"button-value",20),e.\u0275\u0275listener("ButtonClicked",function(){e.\u0275\u0275restoreView(ce);const ct=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ct.AnredeClickedEvent.emit())}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(9,"ion-row")(10,"ion-col",21)(11,"input-clone",22),e.\u0275\u0275twoWayListener("ValueChange",function(ct){e.\u0275\u0275restoreView(ce);const Oe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275twoWayBindingSet(Oe.DB.CurrentMitarbeiter.Vorname,ct)||(Oe.DB.CurrentMitarbeiter.Vorname=ct),e.\u0275\u0275resetView(ct)}),e.\u0275\u0275listener("TextChanged",function(ct){e.\u0275\u0275restoreView(ce);const Oe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Oe.TextChanged(ct))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(12,"ion-col",21)(13,"input-clone",23),e.\u0275\u0275twoWayListener("ValueChange",function(ct){e.\u0275\u0275restoreView(ce);const Oe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275twoWayBindingSet(Oe.DB.CurrentMitarbeiter.Name,ct)||(Oe.DB.CurrentMitarbeiter.Name=ct),e.\u0275\u0275resetView(ct)}),e.\u0275\u0275listener("TextChanged",function(ct){e.\u0275\u0275restoreView(ce);const Oe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Oe.TextChanged(ct))}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(14,"ion-row")(15,"ion-col",21)(16,"input-clone",24),e.\u0275\u0275twoWayListener("ValueChange",function(ct){e.\u0275\u0275restoreView(ce);const Oe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275twoWayBindingSet(Oe.DB.CurrentMitarbeiter.Kuerzel,ct)||(Oe.DB.CurrentMitarbeiter.Kuerzel=ct),e.\u0275\u0275resetView(ct)}),e.\u0275\u0275listener("TextChanged",function(ct){e.\u0275\u0275restoreView(ce);const Oe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Oe.TextChanged(ct))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(17,"ion-col",21)(18,"input-clone",25),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(ce);const ct=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ct.PositionClicked())}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(19,"ion-row")(20,"ion-col",21)(21,"input-clone",26),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(ce);const ct=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ct.StandortClicked())})("TextChanged",function(ct){e.\u0275\u0275restoreView(ce);const Oe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Oe.TextChanged(ct))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(22,"ion-col",21),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(23,"ion-row")(24,"ion-col",21)(25,"input-clone",27),e.\u0275\u0275twoWayListener("ValueChange",function(ct){e.\u0275\u0275restoreView(ce);const Oe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275twoWayBindingSet(Oe.DB.CurrentMitarbeiter.Email,ct)||(Oe.DB.CurrentMitarbeiter.Email=ct),e.\u0275\u0275resetView(ct)}),e.\u0275\u0275listener("TextChanged",function(ct){e.\u0275\u0275restoreView(ce);const Oe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Oe.TextChanged(ct))}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(26,"ion-row")(27,"ion-col")(28,"ion-text",18)(29,"b"),e.\u0275\u0275text(30,"Kontakt"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(31,"ion-row")(32,"ion-col",21)(33,"input-clone",28),e.\u0275\u0275twoWayListener("ValueChange",function(ct){e.\u0275\u0275restoreView(ce);const Oe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275twoWayBindingSet(Oe.DB.CurrentMitarbeiter.Telefon,ct)||(Oe.DB.CurrentMitarbeiter.Telefon=ct),e.\u0275\u0275resetView(ct)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(34,"ion-col",21)(35,"input-clone",29),e.\u0275\u0275twoWayListener("ValueChange",function(ct){e.\u0275\u0275restoreView(ce);const Oe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275twoWayBindingSet(Oe.DB.CurrentMitarbeiter.Mobil,ct)||(Oe.DB.CurrentMitarbeiter.Mobil=ct),e.\u0275\u0275resetView(ct)}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(36,"ion-row"),e.\u0275\u0275element(37,"ion-col",30),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(38,"ion-row")(39,"ion-col")(40,"ion-text",18)(41,"b"),e.\u0275\u0275text(42,"Urlaub"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(43,"ion-row")(44,"ion-col",19)(45,"button-value",20),e.\u0275\u0275listener("ButtonClicked",function(){e.\u0275\u0275restoreView(ce);const ct=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ct.UrlaubClickedEvent.emit())}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(46,"ion-row")(47,"ion-col",19)(48,"button-value",20),e.\u0275\u0275listener("ButtonClicked",function(){e.\u0275\u0275restoreView(ce);const ct=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ct.ResturlaubEvent.emit())}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275template(49,C,8,2,"ion-row",12)(50,L,17,7,"ion-row",12),e.\u0275\u0275elementStart(51,"ion-row"),e.\u0275\u0275element(52,"ion-col",30),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(53,"ion-row")(54,"ion-col")(55,"ion-text",18)(56,"b"),e.\u0275\u0275text(57,"Sonstiges"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275template(58,N,9,1,"ion-row",12),e.\u0275\u0275elementEnd()}if(2&J){const ce=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(8),e.\u0275\u0275property("Buttontext","Anrede")("Wert_A",ce.GetAnrede()),e.\u0275\u0275advance(2),e.\u0275\u0275property("size",ce.Tools.GetButtonvalueSize()),e.\u0275\u0275advance(),e.\u0275\u0275twoWayProperty("Value",ce.DB.CurrentMitarbeiter.Vorname),e.\u0275\u0275property("Required",!0)("MaxLength",100),e.\u0275\u0275advance(),e.\u0275\u0275property("size",ce.Tools.GetButtonvalueSize()),e.\u0275\u0275advance(),e.\u0275\u0275twoWayProperty("Value",ce.DB.CurrentMitarbeiter.Name),e.\u0275\u0275property("Required",!0)("MaxLength",100),e.\u0275\u0275advance(2),e.\u0275\u0275property("size",ce.Tools.GetButtonvalueSize()),e.\u0275\u0275advance(),e.\u0275\u0275twoWayProperty("Value",ce.DB.CurrentMitarbeiter.Kuerzel),e.\u0275\u0275property("Required",!0)("MinLength",3)("MaxLength",10),e.\u0275\u0275advance(),e.\u0275\u0275property("size",ce.Tools.GetButtonvalueSize()),e.\u0275\u0275advance(),e.\u0275\u0275property("Enabled",!1)("Clickable",!0)("Value",ce.DB.GetPositionsbezeichnung(ce.DB.CurrentMitarbeiter.PositionID))("DisabledColor","gray"),e.\u0275\u0275advance(2),e.\u0275\u0275property("size",ce.Tools.GetButtonvalueSize()),e.\u0275\u0275advance(),e.\u0275\u0275property("Enabled",!1)("Clickable",!0)("DisabledColor",""!==ce.DB.CurrentMitarbeiter.StandortID?ce.Basics.Farben.Burnicklgrau:ce.Basics.Farben.Orange)("Value",ce.StandortDB.GetStandort(ce.DB.CurrentMitarbeiter.StandortID)),e.\u0275\u0275advance(),e.\u0275\u0275property("size",ce.Tools.GetButtonvalueSize()),e.\u0275\u0275advance(2),e.\u0275\u0275property("size",ce.Tools.GetButtonvalueSize()),e.\u0275\u0275advance(),e.\u0275\u0275property("Inputtype","email")("Required",!0)("MinHeight",30),e.\u0275\u0275twoWayProperty("Value",ce.DB.CurrentMitarbeiter.Email),e.\u0275\u0275property("Enabled",ce.EmailinputEnabled),e.\u0275\u0275advance(7),e.\u0275\u0275property("size",ce.Tools.GetButtonvalueSize()),e.\u0275\u0275advance(),e.\u0275\u0275twoWayProperty("Value",ce.DB.CurrentMitarbeiter.Telefon),e.\u0275\u0275advance(),e.\u0275\u0275property("size",ce.Tools.GetButtonvalueSize()),e.\u0275\u0275advance(),e.\u0275\u0275twoWayProperty("Value",ce.DB.CurrentMitarbeiter.Mobil),e.\u0275\u0275advance(10),e.\u0275\u0275property("Buttontext","Urlaubstage")("Wert_A",1!==ce.DB.CurrentMitarbeiter.Urlaub?ce.DB.CurrentMitarbeiter.Urlaub+" Tage":"1 Tag"),e.\u0275\u0275advance(3),e.\u0275\u0275property("Buttontext","Resturlaub")("Wert_A",1!==ce.DB.CurrentMitarbeiter.Resturlaub?ce.DB.CurrentMitarbeiter.Resturlaub+" Tage":"1 Tag"),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",null!==ce.DB.CurrentMitarbeiter._id&&null!==ce.Pool.Mitarbeiterdaten),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",null!==ce.DB.CurrentMitarbeiter._id&&null!==ce.Pool.Mitarbeiterdaten),e.\u0275\u0275advance(8),e.\u0275\u0275property("ngIf",null!==ce.DB.CurrentMitarbeiter._id)}}function G(J,be){if(1&J&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,V,59,43,"ion-grid",12),e.\u0275\u0275elementContainerEnd()),2&J){const ce=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",ce.DB.CurrentMitarbeiter)}}function R(J,be){if(1&J){const ce=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ion-item",46),e.\u0275\u0275listener("click",function(){const Oe=e.\u0275\u0275restoreView(ce).$implicit,ke=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ke.PositionButtonClicked(Oe))}),e.\u0275\u0275elementStart(1,"table",31)(2,"tr")(3,"td")(4,"div",47),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()()()()()}if(2&J){const ce=be.$implicit;e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate(ce.Bezeichnung)}}function k(J,be){if(1&J){const ce=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"ion-button",48),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(ce);const ct=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ct.NeuePositionButtonClicked())}),e.\u0275\u0275text(3,"Neue Position eintragen"),e.\u0275\u0275elementEnd()()()}}function A(J,be){if(1&J){const ce=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td",49)(2,"input-clone",50),e.\u0275\u0275twoWayListener("ValueChange",function(ct){e.\u0275\u0275restoreView(ce);const Oe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275twoWayBindingSet(Oe.DB.CurrentPosition.Bezeichnung,ct)||(Oe.DB.CurrentPosition.Bezeichnung=ct),e.\u0275\u0275resetView(ct)}),e.\u0275\u0275listener("TextChanged",function(ct){e.\u0275\u0275restoreView(ce);const Oe=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Oe.NewPositionTextChanged(ct))}),e.\u0275\u0275elementEnd()()()}if(2&J){const ce=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275twoWayProperty("Value",ce.DB.CurrentPosition.Bezeichnung),e.\u0275\u0275property("Required",!0)("MaxLength",200)("Titel",ce.AddNewPosition?"Neue Position":"Position bearbeiten")}}function H(J,be){if(1&J){const ce=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"table",31)(3,"tr")(4,"td")(5,"ion-button",51),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(ce);const ct=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ct.PositionCancelButtonClicked())}),e.\u0275\u0275element(6,"ion-icon",52),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(7,"td")(8,"ion-button",53),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(ce);const ct=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ct.PositionOkButtonClicked())}),e.\u0275\u0275element(9,"ion-icon",54),e.\u0275\u0275elementEnd()()()()()()}}function K(J,be){if(1&J&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"div",42)(2,"div",43)(3,"ion-list"),e.\u0275\u0275template(4,R,6,1,"ion-item",44),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(5,"div",45)(6,"table",31),e.\u0275\u0275template(7,k,4,0,"tr",12)(8,A,3,4,"tr",12)(9,H,10,0,"tr",12),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementContainerEnd()),2&J){const ce=e.\u0275\u0275nextContext();e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",ce.Pool.Mitarbeiterpositionenliste),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",!1===ce.AddNewPosition&&!1===ce.EditPosition),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===ce.AddNewPosition||!0===ce.EditPosition),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",ce.AddNewPosition||!0===ce.EditPosition)}}m.FiMitarbeiterEditorComponent=(()=>{class J{Debug;Tools;Pool;Const;Basics;Displayservice;StandortDB;UrlaubDB;DB;Valid;ValidChanged=new u.EventEmitter;StandortClickedEvent=new u.EventEmitter;AnredeClickedEvent=new u.EventEmitter;UrlaubClickedEvent=new u.EventEmitter;PositionClickedEvent=new u.EventEmitter;CancelClickedEvent=new u.EventEmitter;OkClickedEvent=new u.EventEmitter;ErrorEvent=new u.EventEmitter;ResturlaubEvent=new u.EventEmitter;Titel;Iconname;Dialogbreite;ZIndex;SkipOkButtonAction;EmailinputEnabled;DeleteEnabled;Teamsliste;JoiShema;ErrorMessage;PositionY;Bereich;AddNewPosition;EditPosition;Bereiche={Allgemein:"Allgemein",Positionen:"Positionen"};constructor(ce,Ge,ct,Oe,ke,Re,Qe,$e,Be){this.Debug=ce,this.Tools=Ge,this.Pool=ct,this.Const=Oe,this.Basics=ke,this.Displayservice=Re,this.StandortDB=Qe,this.UrlaubDB=$e,this.DB=Be;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,this.AddNewPosition=!1,this.EditPosition=!1,this.Bereich=this.Bereiche.Allgemein}catch(_e){this.Debug.ShowErrorMessage(_e.message,"Mitarbeiter Editor","constructor",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Displayservice.RemoveDialog(this.Displayservice.Dialognamen.Mitarbeitereditor)}catch(ce){this.Debug.ShowErrorMessage(ce.message,"Mitarbeiter Editor","OnDestroy",this.Debug.Typen.Component)}}ResetEditor(){try{this.DeleteEnabled=!1}catch(ce){this.Debug.ShowErrorMessage(ce.message,"Mitarbeiter Editor","ResetEditor",this.Debug.Typen.Component)}}ngOnInit(){try{this.SetupValidation(),this.Displayservice.AddDialog(this.Displayservice.Dialognamen.Mitarbeitereditor,this.ZIndex)}catch(ce){this.Debug.ShowErrorMessage(ce.message,"Mitarbeiter Editor","OnInit",this.Debug.Typen.Component)}}SetupValidation(){try{this.JoiShema=l.object({Name:l.string().required().max(100),Vorname:l.string().required().max(100),Kuerzel:l.string().required().min(3).max(10),Email:l.string().required().max(255).email({tlds:{allow:!1}}).required()}).options({stripUnknown:!0})}catch(ce){this.Debug.ShowErrorMessage(ce.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),this.ValidChanged.emit(this.Valid)}catch(ce){this.Debug.ShowErrorMessage(ce.message,"Mitarbeiter Editor","ValidateInput",this.Debug.Typen.Component)}}TextChanged(ce){try{this.ValidateInput()}catch(Ge){this.Debug.ShowErrorMessage(Ge.message,"Mitarbeiter Editor","TextChanged",this.Debug.Typen.Component)}}ngAfterViewInit(){try{this.ValidateInput()}catch(ce){this.Debug.ShowErrorMessage(ce.message,"Mitarbeiter Editor","AfterViewInit",this.Debug.Typen.Component)}}StandortClicked(){try{this.StandortClickedEvent.emit()}catch(ce){this.Debug.ShowErrorMessage(ce.message,"Mitarbeiter Editor","StandortClicked",this.Debug.Typen.Component)}}LoeschenCheckboxChanged(ce){try{this.DeleteEnabled=ce.status}catch(Ge){this.Debug.ShowErrorMessage(Ge.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(ce=>{this.Debug.ShowErrorMessage(ce,"Mitarbeiter Editor","OkButtonClicked / AddMitarbeiter",this.Debug.Typen.Component)}):this.DB.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.ResetEditor(),this.OkClickedEvent.emit()}).catch(ce=>{this.Debug.ShowErrorMessage(ce,"Mitarbeiter Editor","OkButtonClicked / UpdateMitarbeiter",this.Debug.Typen.Component)})}ContentClicked(ce){ce.preventDefault(),ce.stopPropagation()}ArchivierenCheckboxChanged(ce){try{this.DB.CurrentMitarbeiter.Archiviert=ce.status}catch(Ge){this.Debug.ShowErrorMessage(Ge,"Mitarbeiter Editor","ArchivierenCheckboxChanged",this.Debug.Typen.Component)}}HomeofficefreigabenCheckboxChanged(ce){try{this.DB.CurrentMitarbeiter.Homeofficefreigaben=ce.status,!1===ce.status&&(this.DB.CurrentMitarbeiter.Homeofficefreigabestandorte=[])}catch(Ge){this.Debug.ShowErrorMessage(Ge,"Mitarbeiter Editor","HomeofficefreigabenCheckboxChanged",this.Debug.Typen.Component)}}PlaneradministratorCheckboxChanged(ce){try{this.DB.CurrentMitarbeiter.Planeradministrator=ce.status}catch(Ge){this.Debug.ShowErrorMessage(Ge,"Mitarbeiter Editor","PlaneradministratorCheckboxChanged",this.Debug.Typen.Component)}}UrlaubsfreigabenCheckboxChanged(ce){try{this.DB.CurrentMitarbeiter.Urlaubsfreigaben=ce.status,!1===ce.status&&(this.DB.CurrentMitarbeiter.Urlaubsfreigabeorte=[])}catch(Ge){this.Debug.ShowErrorMessage(Ge,"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(ce){this.Debug.ShowErrorMessage(ce,"Mitarbeiter Editor","function",this.Debug.Typen.Component)}}UrlaubsfreigabeChecked(ce){try{return-1!==i.indexOf(this.DB.CurrentMitarbeiter.Urlaubsfreigabeorte,ce)}catch(Ge){this.Debug.ShowErrorMessage(Ge,"Mitarbeiter Editor","UrlaubsfreigabeChecked",this.Debug.Typen.Page)}}UrlaubsfreigabeChanged(ce){try{!0===ce.status?this.DB.CurrentMitarbeiter.Urlaubsfreigabeorte.push(ce.value):this.DB.CurrentMitarbeiter.Urlaubsfreigabeorte=i.filter(this.DB.CurrentMitarbeiter.Urlaubsfreigabeorte,Ge=>Ge!==ce.value)}catch(Ge){this.Debug.ShowErrorMessage(Ge,"Mitarbeiter Editor","UrlaubsfreigabeChanged",this.Debug.Typen.Component)}}HomeofficefreigabeChanged(ce){try{!0===ce.status?this.DB.CurrentMitarbeiter.Homeofficefreigabestandorte.push(ce.value):this.DB.CurrentMitarbeiter.Homeofficefreigabestandorte=i.filter(this.DB.CurrentMitarbeiter.Homeofficefreigabestandorte,Ge=>Ge!==ce.value)}catch(Ge){this.Debug.ShowErrorMessage(Ge,"Mitarbeiter Editor","HomeofficefreigabeChanged",this.Debug.Typen.Component)}}HomeofficefreigabeChecked(ce){try{return-1!==i.indexOf(this.DB.CurrentMitarbeiter.Homeofficefreigabestandorte,ce)}catch(Ge){this.Debug.ShowErrorMessage(Ge,"Mitarbeiter Editor","HomeofficefreigabeChecked",this.Debug.Typen.Component)}}AllgemeinMenuButtonClicked(){try{this.Bereich=this.Bereiche.Allgemein}catch(ce){this.Debug.ShowErrorMessage(ce,"Mitarbeiter Editor","AllgemeinMenuButtonClicked",this.Debug.Typen.Component)}}PositionenMenuButtonClicked(){try{this.Bereich=this.Bereiche.Positionen}catch(ce){this.Debug.ShowErrorMessage(ce,"Mitarbeiter Editor","PositionenMenuButtonClicked",this.Debug.Typen.Component)}}NeuePositionButtonClicked(){try{this.AddNewPosition=!0,this.DB.CurrentPosition=this.DB.GetEmptyMitarbeiterposition()}catch(ce){this.Debug.ShowErrorMessage(ce,"Mitarbeiter Editor","NeuePositionButtonClicked",this.Debug.Typen.Component)}}NewPositionTextChanged(ce){try{this.DB.CurrentPosition.Bezeichnung=ce.Text}catch(Ge){this.Debug.ShowErrorMessage(Ge,"Mitarbeiter Editor","NewPositionTextChanged",this.Debug.Typen.Component)}}PositionOkButtonClicked(){var ce=this;return n(function*(){try{ce.AddNewPosition&&(yield ce.DB.AddMitarbeiterposition(ce.DB.CurrentPosition),ce.AddNewPosition=!1,ce.DB.CurrentPosition=null),ce.EditPosition&&(yield ce.DB.UpdateMitarbeiterposition(ce.DB.CurrentPosition),ce.EditPosition=!1,ce.DB.CurrentPosition=null)}catch(Ge){ce.Debug.ShowErrorMessage(Ge,"Mitarbeiter Editor","PositionOkButtonClicked",ce.Debug.Typen.Component)}})()}PositionCancelButtonClicked(){try{this.AddNewPosition&&(this.AddNewPosition=!1,this.DB.CurrentPosition=null),this.EditPosition&&(this.EditPosition=!1,this.DB.CurrentPosition=null)}catch(ce){this.Debug.ShowErrorMessage(ce,"Mitarbeiter Editor","PositionCancelButtonClicked",this.Debug.Typen.Component)}}PositionButtonClicked(ce){try{!this.EditPosition&&!this.AddNewPosition&&(this.DB.CurrentPosition=i.cloneDeep(ce),this.EditPosition=!0)}catch(Ge){this.Debug.ShowErrorMessage(Ge,"Mitarbeiter Editor","PositionButtonClicked",this.Debug.Typen.Component)}}PositionClicked(){try{this.PositionClickedEvent.emit()}catch(ce){this.Debug.ShowErrorMessage(ce,"Mitarbeiter Editor","PositionClicked",this.Debug.Typen.Component)}}static \u0275fac=function(Ge){return new(Ge||J)(e.\u0275\u0275directiveInject(o.DebugProvider),e.\u0275\u0275directiveInject(d.ToolsProvider),e.\u0275\u0275directiveInject(v.DatabasePoolService),e.\u0275\u0275directiveInject(M.ConstProvider),e.\u0275\u0275directiveInject(p.BasicsProvider),e.\u0275\u0275directiveInject(E.DisplayService),e.\u0275\u0275directiveInject(S.DatabaseStandorteService),e.\u0275\u0275directiveInject(y.DatabaseUrlaubService),e.\u0275\u0275directiveInject(f.DatabaseMitarbeiterService))};static \u0275cmp=e.\u0275\u0275defineComponent({type:J,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",PositionClickedEvent:"PositionClickedEvent",CancelClickedEvent:"CancelClickedEvent",OkClickedEvent:"OkClickedEvent",ErrorEvent:"ErrorEvent",ResturlaubEvent:"ResturlaubEvent"},decls:45,vars:25,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"],["align","center",1,"trennertdclass"],[1,"trennerdivclass"],[1,"menubuttonclass",3,"click"],["name","reader-outline",3,"color"],[2,"width","20px"],["name","briefcase-outline",3,"color"],[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","Position",3,"Enabled","Clickable","Value","DisabledColor","click"],["Titel","Standort",3,"Enabled","Clickable","DisabledColor","Value","click","TextChanged"],["Titel","Email",3,"Inputtype","Required","MinHeight","Value","Enabled","ValueChange","TextChanged"],["Titel","Telefon",3,"Value","ValueChange"],["Titel","Mobil",3,"Value","ValueChange"],["size","12"],[1,"paddingtable"],[3,"Enabled","Checked","CheckChanged"],["border","1",1,"paddingtable"],["colspan","2"],["style","width: 100px; text-align: center",4,"ngFor","ngForOf"],["align","center",4,"ngFor","ngForOf"],[2,"width","100px","text-align","center"],["align","center"],[3,"Enabled","Value","Checked","CheckChanged"],[3,"Checked","CheckChanged"],[2,"width","6px"],[1,"keeperdivclass"],[1,"poslisteclass"],["class","ion-text-wrap","class","ion-no-padding",3,"click",4,"ngFor","ngForOf"],[1,"poseditorclass"],[1,"ion-no-padding",3,"click"],[1,"positionclass"],["color","grau","size","small",3,"click"],[2,"width","400px"],[3,"Value","Required","MaxLength","Titel","ValueChange","TextChanged"],["color","rot","size","small",3,"click"],["name","close-outline"],["color","gruen","size","small",3,"click"],["name","checkmark-outline"]],template:function(Ge,ct){1&Ge&&(e.\u0275\u0275elementStart(0,"div",0)(1,"div",1),e.\u0275\u0275listener("click",function(ke){return ct.ContentClicked(ke)}),e.\u0275\u0275elementStart(2,"div",2),e.\u0275\u0275listener("click",function(ke){return ct.ContentClicked(ke)}),e.\u0275\u0275elementStart(3,"ion-header")(4,"page-header")(5,"table",3)(6,"tr")(7,"td"),e.\u0275\u0275element(8,"ion-icon",4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(9,"td"),e.\u0275\u0275text(10),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(11,"td",5),e.\u0275\u0275element(12,"div",6),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(13,"td")(14,"div",7),e.\u0275\u0275listener("click",function(){return ct.AllgemeinMenuButtonClicked()}),e.\u0275\u0275elementStart(15,"table",3)(16,"tr")(17,"td"),e.\u0275\u0275element(18,"ion-icon",8),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(19,"td"),e.\u0275\u0275text(20,"Allgemein"),e.\u0275\u0275elementEnd()()()()(),e.\u0275\u0275element(21,"td",9),e.\u0275\u0275elementStart(22,"td")(23,"div",7),e.\u0275\u0275listener("click",function(){return ct.PositionenMenuButtonClicked()}),e.\u0275\u0275elementStart(24,"table",3)(25,"tr")(26,"td"),e.\u0275\u0275element(27,"ion-icon",10),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(28,"td"),e.\u0275\u0275text(29,"Positionen"),e.\u0275\u0275elementEnd()()()()()()()()(),e.\u0275\u0275elementStart(30,"ion-content")(31,"div",11),e.\u0275\u0275template(32,G,2,1,"ng-container",12)(33,K,10,4,"ng-container",12),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(34,"ion-footer")(35,"page-footer")(36,"table",13)(37,"tr")(38,"td")(39,"div",14),e.\u0275\u0275listener("click",function(){return ct.CancelButtonClicked()}),e.\u0275\u0275element(40,"ion-icon",15),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(41,"td",16),e.\u0275\u0275elementStart(42,"td")(43,"div",14),e.\u0275\u0275listener("click",function(){return!0===ct.Valid?ct.OkButtonClicked():null}),e.\u0275\u0275element(44,"ion-icon",17),e.\u0275\u0275elementEnd()()()()()()()()()),2&Ge&&(e.\u0275\u0275styleProp("z-index",ct.ZIndex),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("background",ct.Displayservice.ShowOpacity(ct.Displayservice.Dialognamen.Mitarbeitereditor)?"rgba(0, 0, 0, 0.5)":"none"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("width",ct.Dialogbreite,"px")("top",ct.PositionY,"px")("bottom",ct.PositionY,"px")("top",ct.PositionY,"px"),e.\u0275\u0275advance(6),e.\u0275\u0275property("name",ct.Iconname),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color","white"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(ct.Titel),e.\u0275\u0275advance(8),e.\u0275\u0275property("color",ct.Bereich===ct.Bereiche.Allgemein?"schwarz":"weiss"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",ct.Bereich===ct.Bereiche.Allgemein?"#000000":"white"),e.\u0275\u0275advance(8),e.\u0275\u0275property("color",ct.Bereich===ct.Bereiche.Positionen?"schwarz":"weiss"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",ct.Bereich===ct.Bereiche.Positionen?"#000000":"white"),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngIf",ct.Bereich===ct.Bereiche.Allgemein),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",ct.Bereich===ct.Bereiche.Positionen),e.\u0275\u0275advance(11),e.\u0275\u0275property("color",!0===ct.Valid?"weiss":"grau"))},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}.menubuttonclass[_ngcontent-%COMP%]{cursor:pointer}.trennertdclass[_ngcontent-%COMP%]{width:30px}.positionclass[_ngcontent-%COMP%]{background:#fff;height:30px;width:300px}.positionclass[_ngcontent-%COMP%]:hover{background:silver}.keeperdivclass[_ngcontent-%COMP%]{display:flex;flex-direction:row;position:relative;width:100%;height:100%}.poslisteclass[_ngcontent-%COMP%]{height:100%;width:65%;overflow:auto}.poseditorclass[_ngcontent-%COMP%]{height:100%;width:35%;overflow:auto;border-left:2px solid #444444}"]})}return J})()},27328:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.FiMitarbeiterEditorModule=void 0;const n=s(81316),c=s(92512),u=s(91368),l=s(82384),i=s(33780),e=s(61540),o=s(6512),d=s(7388),v=s(70216),M=s(90520),p=s(72284),E=n.__importStar(s(54496)),S=n.__importStar(s(91368)),y=n.__importStar(s(92512)),f=n.__importStar(s(38056)),C=n.__importStar(s(25856)),_=n.__importStar(s(90212)),w=n.__importStar(s(29856)),D=n.__importStar(s(13228));m.FiMitarbeiterEditorModule=(()=>{class N{static \u0275fac=function(R){return new(R||N)};static \u0275mod=E.\u0275\u0275defineNgModule({type:N});static \u0275inj=E.\u0275\u0275defineInjector({imports:[u.CommonModule,c.IonicModule,i.InputCloneModule,e.InputCloneKeeperModule,o.AbstandElementFixedModule,d.CheckboxClonModule,v.PageHeaderModule,M.PageFooterModule,p.ButtonValueModule]})}return N})(),E.\u0275\u0275setComponentScope(l.FiMitarbeiterEditorComponent,[S.NgForOf,S.NgIf,y.IonButton,y.IonCol,y.IonContent,y.IonFooter,y.IonGrid,y.IonHeader,y.IonIcon,y.IonItem,y.IonList,y.IonRow,y.IonText,f.InputCloneComponent,C.CheckboxClonComponent,_.PageHeaderComponent,w.PageFooterComponent,D.ButtonValueComponent],[])},41656:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.FiStandortEditorComponent=void 0;const n=s(81316),c=s(54496),u=n.__importStar(s(78776)),l=n.__importStar(s(17964)),i=n.__importStar(s(54496)),e=n.__importStar(s(34388)),o=n.__importStar(s(21052)),d=n.__importStar(s(29743)),v=n.__importStar(s(19668)),M=n.__importStar(s(7992)),p=n.__importStar(s(9544)),E=n.__importStar(s(22848)),S=n.__importStar(s(58864)),y=n.__importStar(s(91368)),f=n.__importStar(s(92512)),C=n.__importStar(s(38056)),_=n.__importStar(s(90212)),w=n.__importStar(s(25856)),D=n.__importStar(s(29856)),L=n.__importStar(s(13228));function N(K,ie){if(1&K){const J=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"ion-col",18)(1,"button-value",19),i.\u0275\u0275listener("ButtonClicked",function(){i.\u0275\u0275restoreView(J);const ce=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(ce.BundeslandClickedEvent.emit())}),i.\u0275\u0275elementEnd()()}if(2&K){const J=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(),i.\u0275\u0275property("Buttontext","Bundesland")("Wert_A",J.GetBundesland())}}function V(K,ie){if(1&K){const J=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col",18)(2,"button-value",19),i.\u0275\u0275listener("ButtonClicked",function(){i.\u0275\u0275restoreView(J);const ce=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(ce.KonfessionClickedEvent.emit())}),i.\u0275\u0275elementEnd()()()}if(2&K){const J=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(2),i.\u0275\u0275property("Buttontext","Konfession")("Wert_A",J.GetKonfession())}}function G(K,ie){if(1&K){const J=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",28),i.\u0275\u0275listener("CheckChanged",function(ce){const ct=i.\u0275\u0275restoreView(J).$implicit,Oe=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(Oe.UrlaubsfreigabeCheckChanged(ce,ct._id))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(3,"td",29),i.\u0275\u0275text(4),i.\u0275\u0275elementEnd()()}if(2&K){const J=ie.$implicit,be=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(2),i.\u0275\u0275property("Enabled",be.Pool.Mitarbeiterdaten.Planeradministrator)("Value",J._id)("Checked",be.UrlaubsfreigabeChecked(J._id)),i.\u0275\u0275advance(2),i.\u0275\u0275textInterpolate2("",J.Vorname," ",J.Name,"")}}function R(K,ie){if(1&K){const J=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",28),i.\u0275\u0275listener("CheckChanged",function(ce){const ct=i.\u0275\u0275restoreView(J).$implicit,Oe=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(Oe.HomeofficefreigabeCheckChanged(ce,ct._id))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(3,"td",29),i.\u0275\u0275text(4),i.\u0275\u0275elementEnd()()}if(2&K){const J=ie.$implicit,be=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(2),i.\u0275\u0275property("Enabled",be.Pool.Mitarbeiterdaten.Planeradministrator)("Value",J._id)("Checked",be.HomeofficefreigabeChecked(J._id)),i.\u0275\u0275advance(2),i.\u0275\u0275textInterpolate2("",J.Vorname," ",J.Name,"")}}function k(K,ie){if(1&K){const J=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table")(3,"tr")(4,"td")(5,"checkbox-clon",30),i.\u0275\u0275listener("CheckChanged",function(ce){i.\u0275\u0275restoreView(J);const Ge=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(Ge.CanDeleteCheckedChanged(ce))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275element(6,"td",31),i.\u0275\u0275elementStart(7,"td")(8,"ion-button",32),i.\u0275\u0275listener("click",function(){i.\u0275\u0275restoreView(J);const ce=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(ce.DeleteButtonClicked())}),i.\u0275\u0275element(9,"ion-icon",33),i.\u0275\u0275elementStart(10,"ion-text"),i.\u0275\u0275text(11,"Eintrag l\xf6schen"),i.\u0275\u0275elementEnd()()()()()()()}if(2&K){const J=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",J.CanDelete),i.\u0275\u0275advance(3),i.\u0275\u0275property("disabled",!J.CanDelete)}}function A(K,ie){if(1&K){const J=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"ion-grid")(1,"ion-row")(2,"ion-col")(3,"ion-text",12)(4,"b"),i.\u0275\u0275text(5,"Allgemein"),i.\u0275\u0275elementEnd()()()(),i.\u0275\u0275elementStart(6,"ion-row")(7,"ion-col")(8,"input-clone",13),i.\u0275\u0275twoWayListener("ValueChange",function(ce){i.\u0275\u0275restoreView(J);const Ge=i.\u0275\u0275nextContext();return i.\u0275\u0275twoWayBindingSet(Ge.DB.CurrentStandort.Standort,ce)||(Ge.DB.CurrentStandort.Standort=ce),i.\u0275\u0275resetView(ce)}),i.\u0275\u0275listener("TextChanged",function(ce){i.\u0275\u0275restoreView(J);const Ge=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(Ge.TextChanged(ce))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(9,"ion-col")(10,"input-clone",14),i.\u0275\u0275twoWayListener("ValueChange",function(ce){i.\u0275\u0275restoreView(J);const Ge=i.\u0275\u0275nextContext();return i.\u0275\u0275twoWayBindingSet(Ge.DB.CurrentStandort.Kuerzel,ce)||(Ge.DB.CurrentStandort.Kuerzel=ce),i.\u0275\u0275resetView(ce)}),i.\u0275\u0275listener("TextChanged",function(ce){i.\u0275\u0275restoreView(J);const Ge=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(Ge.TextChanged(ce))}),i.\u0275\u0275elementEnd()()(),i.\u0275\u0275elementStart(11,"ion-row")(12,"ion-col")(13,"input-clone",15),i.\u0275\u0275twoWayListener("ValueChange",function(ce){i.\u0275\u0275restoreView(J);const Ge=i.\u0275\u0275nextContext();return i.\u0275\u0275twoWayBindingSet(Ge.DB.CurrentStandort.Strasse,ce)||(Ge.DB.CurrentStandort.Strasse=ce),i.\u0275\u0275resetView(ce)}),i.\u0275\u0275listener("TextChanged",function(ce){i.\u0275\u0275restoreView(J);const Ge=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(Ge.TextChanged(ce))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275element(14,"ion-col"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(15,"ion-row")(16,"ion-col")(17,"input-clone",16),i.\u0275\u0275twoWayListener("ValueChange",function(ce){i.\u0275\u0275restoreView(J);const Ge=i.\u0275\u0275nextContext();return i.\u0275\u0275twoWayBindingSet(Ge.DB.CurrentStandort.PLZ,ce)||(Ge.DB.CurrentStandort.PLZ=ce),i.\u0275\u0275resetView(ce)}),i.\u0275\u0275listener("TextChanged",function(ce){i.\u0275\u0275restoreView(J);const Ge=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(Ge.TextChanged(ce))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(18,"ion-col")(19,"input-clone",17),i.\u0275\u0275twoWayListener("ValueChange",function(ce){i.\u0275\u0275restoreView(J);const Ge=i.\u0275\u0275nextContext();return i.\u0275\u0275twoWayBindingSet(Ge.DB.CurrentStandort.Ort,ce)||(Ge.DB.CurrentStandort.Ort=ce),i.\u0275\u0275resetView(ce)}),i.\u0275\u0275listener("TextChanged",function(ce){i.\u0275\u0275restoreView(J);const Ge=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(Ge.TextChanged(ce))}),i.\u0275\u0275elementEnd()()(),i.\u0275\u0275elementStart(20,"ion-row")(21,"ion-col",18)(22,"button-value",19),i.\u0275\u0275listener("ButtonClicked",function(){i.\u0275\u0275restoreView(J);const ce=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(ce.LandClickedEvent.emit())}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275template(23,N,2,2,"ion-col",20),i.\u0275\u0275elementEnd(),i.\u0275\u0275template(24,V,3,2,"ion-row",6),i.\u0275\u0275elementStart(25,"ion-row")(26,"ion-col")(27,"ion-text",12)(28,"b"),i.\u0275\u0275text(29,"Kontakt"),i.\u0275\u0275elementEnd()()()(),i.\u0275\u0275elementStart(30,"ion-row")(31,"ion-col")(32,"input-clone",21),i.\u0275\u0275twoWayListener("ValueChange",function(ce){i.\u0275\u0275restoreView(J);const Ge=i.\u0275\u0275nextContext();return i.\u0275\u0275twoWayBindingSet(Ge.DB.CurrentStandort.Telefon,ce)||(Ge.DB.CurrentStandort.Telefon=ce),i.\u0275\u0275resetView(ce)}),i.\u0275\u0275listener("TextChanged",function(ce){i.\u0275\u0275restoreView(J);const Ge=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(Ge.TextChanged(ce))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(33,"ion-col")(34,"input-clone",22),i.\u0275\u0275twoWayListener("ValueChange",function(ce){i.\u0275\u0275restoreView(J);const Ge=i.\u0275\u0275nextContext();return i.\u0275\u0275twoWayBindingSet(Ge.DB.CurrentStandort.Email,ce)||(Ge.DB.CurrentStandort.Email=ce),i.\u0275\u0275resetView(ce)}),i.\u0275\u0275listener("TextChanged",function(ce){i.\u0275\u0275restoreView(J);const Ge=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(Ge.TextChanged(ce))}),i.\u0275\u0275elementEnd()()(),i.\u0275\u0275elementStart(35,"ion-row")(36,"ion-col")(37,"ion-text",12)(38,"b"),i.\u0275\u0275text(39,"Urlaub + Homeoffice"),i.\u0275\u0275elementEnd()()()(),i.\u0275\u0275elementStart(40,"ion-row")(41,"ion-col")(42,"table",23)(43,"tr")(44,"td"),i.\u0275\u0275text(45,"Berechtigte Mitarbeiter/innen die die Homeoffice- und Urlaubsanfragen f\xfcr diesen Standort erhalten:"),i.\u0275\u0275elementEnd()()()()(),i.\u0275\u0275elementStart(46,"ion-row")(47,"ion-col")(48,"table",3)(49,"tr")(50,"td"),i.\u0275\u0275element(51,"ion-icon",24),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(52,"td",25),i.\u0275\u0275text(53,"Urlaubsfreigaben"),i.\u0275\u0275elementEnd()()()(),i.\u0275\u0275elementStart(54,"ion-col")(55,"table",3)(56,"tr")(57,"td"),i.\u0275\u0275element(58,"ion-icon",26),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(59,"td",25),i.\u0275\u0275text(60,"Homeofficefreigaben"),i.\u0275\u0275elementEnd()()()()(),i.\u0275\u0275elementStart(61,"ion-row")(62,"ion-col")(63,"table",3),i.\u0275\u0275template(64,G,5,5,"tr",27),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(65,"ion-col")(66,"table",3),i.\u0275\u0275template(67,R,5,5,"tr",27),i.\u0275\u0275elementEnd()()(),i.\u0275\u0275template(68,k,12,2,"ion-row",6),i.\u0275\u0275elementEnd()}if(2&K){const J=i.\u0275\u0275nextContext();i.\u0275\u0275advance(8),i.\u0275\u0275twoWayProperty("Value",J.DB.CurrentStandort.Standort),i.\u0275\u0275property("Required",!0)("MaxLength",100),i.\u0275\u0275advance(2),i.\u0275\u0275twoWayProperty("Value",J.DB.CurrentStandort.Kuerzel),i.\u0275\u0275property("Required",!0)("MinLength",3)("MaxLength",10),i.\u0275\u0275advance(3),i.\u0275\u0275twoWayProperty("Value",J.DB.CurrentStandort.Strasse),i.\u0275\u0275property("Required",!0)("MaxLength",100),i.\u0275\u0275advance(4),i.\u0275\u0275property("Required",!0)("MinLength",4)("MaxLength",5),i.\u0275\u0275twoWayProperty("Value",J.DB.CurrentStandort.PLZ),i.\u0275\u0275advance(2),i.\u0275\u0275property("Required",!0)("MaxLength",100),i.\u0275\u0275twoWayProperty("Value",J.DB.CurrentStandort.Ort),i.\u0275\u0275advance(3),i.\u0275\u0275property("Buttontext","Land")("Wert_A",J.GetLand()),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf","DE"===J.DB.CurrentStandort.Land),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf","DE"===J.DB.CurrentStandort.Land),i.\u0275\u0275advance(8),i.\u0275\u0275twoWayProperty("Value",J.DB.CurrentStandort.Telefon),i.\u0275\u0275advance(2),i.\u0275\u0275property("MaxLength",255)("Required",!0),i.\u0275\u0275twoWayProperty("Value",J.DB.CurrentStandort.Email),i.\u0275\u0275advance(30),i.\u0275\u0275property("ngForOf",J.DBMitarbeiter.GetUrlausbsfreigeberliste(J.DB.CurrentStandort._id)),i.\u0275\u0275advance(3),i.\u0275\u0275property("ngForOf",J.DBMitarbeiter.GetHomeofficefreigeberliste(J.DB.CurrentStandort._id)),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",null!==J.DB.CurrentStandort._id)}}m.FiStandortEditorComponent=(()=>{class K{Debug;Displayservice;Const;Tools;Pool;DBUrlaub;DBMitarbeiter;DB;Valid;CanDelete;JoiShema;ValidChange=new c.EventEmitter;CancelClickedEvent=new c.EventEmitter;OkClickedEvent=new c.EventEmitter;DeleteClickedEvent=new c.EventEmitter;LandClickedEvent=new c.EventEmitter;BundeslandClickedEvent=new c.EventEmitter;KonfessionClickedEvent=new c.EventEmitter;Titel;Iconname;Dialogbreite;Dialoghoehe;PositionY;ZIndex;constructor(J,be,ce,Ge,ct,Oe,ke,Re){this.Debug=J,this.Displayservice=be,this.Const=ce,this.Tools=Ge,this.Pool=ct,this.DBUrlaub=Oe,this.DBMitarbeiter=ke,this.DB=Re;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(Qe){this.Debug.ShowErrorMessage(Qe.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=u.object({Standort:u.string().required().max(100),Kuerzel:u.string().required().min(3).max(10),Strasse:u.string().required().max(100),Ort:u.string().required().max(100),PLZ:u.string().required().min(4).max(5),Email:u.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(be){this.Debug.ShowErrorMessage(be.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(be){this.Debug.ShowErrorMessage(be.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=l.find(this.DBUrlaub.Regionenliste,{isoCode:this.DB.CurrentStandort.Bundesland}),l.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)}}UrlaubsfreigabeChecked(J){try{return-1!==this.DB.CurrentStandort.Urlaubfreigabepersonen.indexOf(J)}catch(be){this.Debug.ShowErrorMessage(be,"Standort Editor","UrlaubsfreigabeChecked",this.Debug.Typen.Component)}}HomeofficefreigabeChecked(J){try{return-1!==this.DB.CurrentStandort.Homeofficefreigabepersonen.indexOf(J)}catch(be){this.Debug.ShowErrorMessage(be,"Standort Editor","HomeofficefreigabeChecked",this.Debug.Typen.Component)}}UrlaubsfreigabeCheckChanged(J,be){try{!0===J.status?this.DB.CurrentStandort.Urlaubfreigabepersonen.push(be):this.DB.CurrentStandort.Urlaubfreigabepersonen=l.filter(this.DB.CurrentStandort.Urlaubfreigabepersonen,ce=>be!==ce)}catch(ce){this.Debug.ShowErrorMessage(ce,"Standort Editor","UrlaubsfreigabeCheckChanged",this.Debug.Typen.Component)}}HomeofficefreigabeCheckChanged(J,be){try{!0===J.status?this.DB.CurrentStandort.Homeofficefreigabepersonen.push(be):this.DB.CurrentStandort.Homeofficefreigabepersonen=l.filter(this.DB.CurrentStandort.Homeofficefreigabepersonen,ce=>be!==ce)}catch(ce){this.Debug.ShowErrorMessage(ce,"Standort Editor","HomeofficefreigabeCheckChanged",this.Debug.Typen.Component)}}static \u0275fac=function(be){return new(be||K)(i.\u0275\u0275directiveInject(e.DebugProvider),i.\u0275\u0275directiveInject(o.DisplayService),i.\u0275\u0275directiveInject(d.ConstProvider),i.\u0275\u0275directiveInject(v.ToolsProvider),i.\u0275\u0275directiveInject(M.DatabasePoolService),i.\u0275\u0275directiveInject(p.DatabaseUrlaubService),i.\u0275\u0275directiveInject(E.DatabaseMitarbeiterService),i.\u0275\u0275directiveInject(S.DatabaseStandorteService))};static \u0275cmp=i.\u0275\u0275defineComponent({type:K,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"],["color","baeblau"],["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"],["Titel","Telefon","Inputtype","text",3,"Value","ValueChange","TextChanged"],["Titel","Email","Inputtype","email",3,"MaxLength","Required","Value","ValueChange","TextChanged"],[1,"paddingtable"],["name","sunny","color","orange",2,"font-size","20px"],[2,"font-size","90%","font-weight","bold"],["name","home","color","blau",2,"font-size","20px"],[4,"ngFor","ngForOf"],[3,"Enabled","Value","Checked","CheckChanged"],[2,"font-size","100%","color","#444444"],[3,"Checked","CheckChanged"],[2,"width","6px"],["size","small","color","rot",3,"disabled","click"],["name","trash-outline",2,"font-size","20px"]],template:function(be,ce){1&be&&(i.\u0275\u0275elementStart(0,"div",0)(1,"div",1),i.\u0275\u0275listener("click",function(ct){return ce.ContentClicked(ct)}),i.\u0275\u0275elementStart(2,"div",2),i.\u0275\u0275listener("click",function(ct){return ce.ContentClicked(ct)}),i.\u0275\u0275elementStart(3,"ion-header")(4,"page-header")(5,"table",3)(6,"tr")(7,"td"),i.\u0275\u0275element(8,"ion-icon",4),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(9,"td"),i.\u0275\u0275text(10),i.\u0275\u0275elementEnd()()()()(),i.\u0275\u0275elementStart(11,"ion-content")(12,"div",5),i.\u0275\u0275template(13,A,69,28,"ion-grid",6),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(14,"ion-footer")(15,"page-footer")(16,"table",7)(17,"tr")(18,"td")(19,"div",8),i.\u0275\u0275listener("click",function(){return ce.CancelButtonClicked()}),i.\u0275\u0275element(20,"ion-icon",9),i.\u0275\u0275elementEnd()(),i.\u0275\u0275element(21,"td",10),i.\u0275\u0275elementStart(22,"td")(23,"div",8),i.\u0275\u0275listener("click",function(){return!0===ce.Valid?ce.OkButtonClicked():null}),i.\u0275\u0275element(24,"ion-icon",11),i.\u0275\u0275elementEnd()()()()()()()()()),2&be&&(i.\u0275\u0275styleProp("z-index",ce.ZIndex),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("background",ce.Displayservice.ShowOpacity(ce.Displayservice.Dialognamen.Standorteditor)?"rgba(0, 0, 0, 0.5)":"none"),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("width",ce.Dialogbreite,"px")("height",ce.Dialoghoehe,"px")("top",ce.PositionY,"px"),i.\u0275\u0275advance(6),i.\u0275\u0275property("name",ce.Iconname),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("color","white"),i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate(ce.Titel),i.\u0275\u0275advance(3),i.\u0275\u0275property("ngIf",ce.DB.CurrentStandort&&null!==ce.Pool.Mitarbeiterdaten),i.\u0275\u0275advance(11),i.\u0275\u0275property("color",!0===ce.Valid?"weiss":"grau"))},dependencies:[y.NgForOf,y.NgIf,f.IonButton,f.IonCol,f.IonContent,f.IonFooter,f.IonGrid,f.IonHeader,f.IonIcon,f.IonRow,f.IonText,C.InputCloneComponent,_.PageHeaderComponent,w.CheckboxClonComponent,D.PageFooterComponent,L.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 K})()},79664:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.FiStandortEditorModule=void 0;const n=s(81316),c=s(92512),u=s(91368),l=s(33780),i=s(61540),e=s(6512),o=s(70216),d=s(7388),v=s(90520),M=s(72284),p=n.__importStar(s(54496));m.FiStandortEditorModule=(()=>{class S{static \u0275fac=function(C){return new(C||S)};static \u0275mod=p.\u0275\u0275defineNgModule({type:S});static \u0275inj=p.\u0275\u0275defineInjector({imports:[u.CommonModule,c.IonicModule,l.InputCloneModule,i.InputCloneKeeperModule,e.AbstandElementFixedModule,o.PageHeaderModule,d.CheckboxClonModule,v.PageFooterModule,M.ButtonValueModule]})}return S})()},73088:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.AbstandElementFixedComponent=void 0;const c=s(81316).__importStar(s(54496));m.AbstandElementFixedComponent=(()=>{class l{constructor(){}ngOnInit(){}static \u0275fac=function(o){return new(o||l)};static \u0275cmp=c.\u0275\u0275defineComponent({type:l,selectors:[["abstand-element-fixed"]],decls:1,vars:0,consts:[[2,"height","400px","width","100%"]],template:function(o,d){1&o&&c.\u0275\u0275element(0,"div",0)}})}return l})()},6512:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.AbstandElementFixedModule=void 0;const n=s(81316),c=s(92512),u=s(91368),l=n.__importStar(s(54496));m.AbstandElementFixedModule=(()=>{class e{static \u0275fac=function(v){return new(v||e)};static \u0275mod=l.\u0275\u0275defineNgModule({type:e});static \u0275inj=l.\u0275\u0275defineInjector({imports:[u.CommonModule,c.IonicModule]})}return e})()},72160:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.AlphabetRelativeModule=void 0;const n=s(81316),c=s(92512),u=s(91368),l=n.__importStar(s(54496));m.AlphabetRelativeModule=(()=>{class e{static \u0275fac=function(v){return new(v||e)};static \u0275mod=l.\u0275\u0275defineNgModule({type:e});static \u0275inj=l.\u0275\u0275defineInjector({imports:[u.CommonModule,c.IonicModule]})}return e})()},1215:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.AlphabetRelativeComponent=void 0;const n=s(81316),c=s(54496),u=n.__importStar(s(54496)),l=n.__importStar(s(34388)),i=n.__importStar(s(14652)),e=n.__importStar(s(29743)),o=n.__importStar(s(19668)),d=n.__importStar(s(91368)),v=n.__importStar(s(92512)),M=["ImageKeeperDiv"];function p(S,y){if(1&S){const f=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"div",2),u.\u0275\u0275listener("click",function(){const w=u.\u0275\u0275restoreView(f).$implicit,D=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(D.AlphabetClickedHandler(w))}),u.\u0275\u0275elementStart(1,"ion-badge",3),u.\u0275\u0275text(2),u.\u0275\u0275elementEnd()()}if(2&S){const f=y.$implicit,C=u.\u0275\u0275nextContext();u.\u0275\u0275advance(),u.\u0275\u0275styleProp("color",C.Basics.Farben.BAEBlau)("border-color",f===C.Auswahl?C.Basics.Farben.BAEBlau:C.Basics.Farben.BAEHellgrau),u.\u0275\u0275advance(),u.\u0275\u0275textInterpolate1(" ",f," ")}}m.AlphabetRelativeComponent=(()=>{class S{Debug;Basics;Const;Tools;Breite;Auswahl="";Buchstabenliste=[];AlphabetClicked=new c.EventEmitter;ZusatzbuttonClicked=new c.EventEmitter;ImageKeeperDiv;Style;Filterliste;constructor(f,C,_,w){this.Debug=f,this.Basics=C,this.Const=_,this.Tools=w;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(D){this.Debug.ShowErrorMessage(D.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(C){this.Debug.ShowErrorMessage(C.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 C;C=f.Buchstabenliste,typeof C<"u"&&this.SetFilterliste(),C=f.Breite,typeof C<"u"&&this.InitScreen()}catch(C){this.Debug.ShowErrorMessage(C.message,"Alphabet","ngOnChanges",this.Debug.Typen.Component)}}static \u0275fac=function(C){return new(C||S)(u.\u0275\u0275directiveInject(l.DebugProvider),u.\u0275\u0275directiveInject(i.BasicsProvider),u.\u0275\u0275directiveInject(e.ConstProvider),u.\u0275\u0275directiveInject(o.ToolsProvider))};static \u0275cmp=u.\u0275\u0275defineComponent({type:S,selectors:[["alphabet-relative"]],viewQuery:function(C,_){if(1&C&&u.\u0275\u0275viewQuery(M,7),2&C){let w;u.\u0275\u0275queryRefresh(w=u.\u0275\u0275loadQuery())&&(_.ImageKeeperDiv=w.first)}},inputs:{Breite:"Breite",Auswahl:"Auswahl",Buchstabenliste:"Buchstabenliste"},outputs:{AlphabetClicked:"AlphabetClicked",ZusatzbuttonClicked:"ZusatzbuttonClicked"},features:[u.\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(C,_){1&C&&(u.\u0275\u0275elementStart(0,"div",0),u.\u0275\u0275template(1,p,3,5,"div",1),u.\u0275\u0275elementEnd()),2&C&&(u.\u0275\u0275property("ngStyle",_.Style),u.\u0275\u0275advance(),u.\u0275\u0275property("ngForOf",_.Filterliste))},dependencies:[d.NgForOf,d.NgStyle,v.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 S})()},87143:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.AlphabetModule=void 0;const n=s(81316),c=s(92512),u=s(91368),l=n.__importStar(s(54496));m.AlphabetModule=(()=>{class e{static \u0275fac=function(v){return new(v||e)};static \u0275mod=l.\u0275\u0275defineNgModule({type:e});static \u0275inj=l.\u0275\u0275defineInjector({imports:[u.CommonModule,c.IonicModule]})}return e})()},99031:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.AlphabetComponent=void 0;const n=s(81316),c=s(54496),u=n.__importStar(s(54496)),l=n.__importStar(s(34388)),i=n.__importStar(s(14652)),e=n.__importStar(s(29743)),o=n.__importStar(s(19668)),d=n.__importStar(s(91368)),v=n.__importStar(s(92512)),M=["ImageKeeperDiv"];function p(S,y){if(1&S){const f=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"div",2),u.\u0275\u0275listener("click",function(){const w=u.\u0275\u0275restoreView(f).$implicit,D=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(D.AlphabetClickedHandler(w))}),u.\u0275\u0275elementStart(1,"ion-badge",3),u.\u0275\u0275text(2),u.\u0275\u0275elementEnd()()}if(2&S){const f=y.$implicit,C=u.\u0275\u0275nextContext();u.\u0275\u0275advance(),u.\u0275\u0275styleProp("color","#2190df")("border-color",f===C.Auswahl?"#2190df":C.Basics.Farben.BAEHellgrau),u.\u0275\u0275advance(),u.\u0275\u0275textInterpolate1(" ",f," ")}}m.AlphabetComponent=(()=>{class S{Debug;Basics;Const;Tools;Breite;Auswahl="";Buchstabenliste=[];PageHeader=null;PageFooter=null;AlphabetClicked=new c.EventEmitter;ZusatzbuttonClicked=new c.EventEmitter;ImageKeeperDiv;Style;Filterliste;constructor(f,C,_,w){this.Debug=f,this.Basics=C,this.Const=_,this.Tools=w;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(D){this.Debug.ShowErrorMessage(D.message,"Alphabet","Constructor",this.Debug.Typen.Component)}}InitScreen(){try{let f=0,C=0;typeof this.PageHeader<"u"&&null!==this.PageHeader&&(f=this.PageHeader.PageHeaderDiv.nativeElement.clientHeight),typeof this.PageFooter<"u"&&null!==this.PageFooter&&(C=this.PageFooter.PageFooterFrameDiv.nativeElement.clientHeight),this.Style={width:this.Breite+"px",top:f+"px",bottom:C+"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(C){this.Debug.ShowErrorMessage(C.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 C;C=f.Buchstabenliste,typeof C<"u"&&this.SetFilterliste()}catch(C){this.Debug.ShowErrorMessage(C.message,"Alphabet","ngOnChanges",this.Debug.Typen.Component)}}static \u0275fac=function(C){return new(C||S)(u.\u0275\u0275directiveInject(l.DebugProvider),u.\u0275\u0275directiveInject(i.BasicsProvider),u.\u0275\u0275directiveInject(e.ConstProvider),u.\u0275\u0275directiveInject(o.ToolsProvider))};static \u0275cmp=u.\u0275\u0275defineComponent({type:S,selectors:[["alphabet"]],viewQuery:function(C,_){if(1&C&&u.\u0275\u0275viewQuery(M,7),2&C){let w;u.\u0275\u0275queryRefresh(w=u.\u0275\u0275loadQuery())&&(_.ImageKeeperDiv=w.first)}},inputs:{Breite:"Breite",Auswahl:"Auswahl",Buchstabenliste:"Buchstabenliste",PageHeader:"PageHeader",PageFooter:"PageFooter"},outputs:{AlphabetClicked:"AlphabetClicked",ZusatzbuttonClicked:"ZusatzbuttonClicked"},features:[u.\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(C,_){1&C&&(u.\u0275\u0275elementStart(0,"div",0),u.\u0275\u0275template(1,p,3,5,"div",1),u.\u0275\u0275elementEnd()),2&C&&(u.\u0275\u0275property("ngStyle",_.Style),u.\u0275\u0275advance(),u.\u0275\u0275property("ngForOf",_.Filterliste))},dependencies:[d.NgForOf,d.NgStyle,v.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 S})()},10272:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.AuswahlDialogModule=void 0;const n=s(81316),c=s(92512),u=s(56584),l=s(91368),i=s(44716),e=s(70216),o=s(90520),d=s(84104),v=n.__importStar(s(54496)),M=n.__importStar(s(92512)),p=n.__importStar(s(91368)),E=n.__importStar(s(90212)),S=n.__importStar(s(29856)),y=n.__importStar(s(66144));m.AuswahlDialogModule=(()=>{class C{static \u0275fac=function(D){return new(D||C)};static \u0275mod=v.\u0275\u0275defineNgModule({type:C});static \u0275inj=v.\u0275\u0275defineInjector({imports:[c.IonicModule,l.CommonModule,i.FormsModule,e.PageHeaderModule,o.PageFooterModule,d.SafePipeModule]})}return C})(),v.\u0275\u0275setComponentScope(u.AuswahlDialogComponent,[M.IonContent,M.IonFooter,M.IonHeader,M.IonIcon,M.IonRadio,M.IonRadioGroup,M.RadioValueAccessor,M.SelectValueAccessor,p.NgForOf,E.PageHeaderComponent,S.PageFooterComponent],[y.SafePipe])},56584:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.AuswahlDialogComponent=void 0;const n=s(81316),c=s(54496),u=n.__importStar(s(17964)),l=n.__importStar(s(54496)),i=n.__importStar(s(19668)),e=n.__importStar(s(14652)),o=n.__importStar(s(34388)),d=n.__importStar(s(21052)),v=n.__importStar(s(29743)),M=["MySelection"];function p(S,y){if(1&S&&(l.\u0275\u0275elementStart(0,"tr")(1,"td"),l.\u0275\u0275element(2,"ion-radio",15),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(3,"td",16),l.\u0275\u0275pipe(4,"safe"),l.\u0275\u0275element(5,"td",17),l.\u0275\u0275pipe(6,"safe"),l.\u0275\u0275elementEnd()),2&S){const f=y.$implicit;l.\u0275\u0275advance(2),l.\u0275\u0275property("value",f.Index),l.\u0275\u0275advance(),l.\u0275\u0275property("innerHTML",l.\u0275\u0275pipeBind2(4,3,f.FirstColumn,"html"),l.\u0275\u0275sanitizeHtml),l.\u0275\u0275advance(2),l.\u0275\u0275property("innerHTML",l.\u0275\u0275pipeBind2(6,6,f.SecoundColumn,"html"),l.\u0275\u0275sanitizeHtml)}}m.AuswahlDialogComponent=(()=>{class S{Tools;Basics;Debug;Displayservice;Const;MySelection;Titel="Testtitel";Auswahlliste;Auswahlindex;Iconname;Dialogbreite;PositionY;ZIndex;IndexChanged=new c.EventEmitter;OkClickedEvent=new c.EventEmitter;CancelClickedEvent=new c.EventEmitter;constructor(f,C,_,w,D){this.Tools=f,this.Basics=C,this.Debug=_,this.Displayservice=w,this.Const=D;try{this.Auswahlliste=[{Index:0,FirstColumn:"",SecoundColumn:"",Data:null}],this.Auswahlindex=0,this.ZIndex=4e3}catch(L){this.Debug.ShowErrorMessage(L.message,"Auswahl Dialog","constructor",this.Debug.Typen.Component)}}ngOnDestroy(){try{this.Displayservice.RemoveDialog(this.Displayservice.Dialognamen.Auswahldialog)}catch(f){this.Debug.ShowErrorMessage(f.message,"Auswahl Dialog","OnDestroy",this.Debug.Typen.Component)}}ngOnInit(){try{this.Displayservice.AddDialog(this.Displayservice.Dialognamen.Auswahldialog,this.ZIndex)}catch(f){this.Debug.ShowErrorMessage(f.message,"Auswahl Dialog","OnInit",this.Debug.Typen.Component)}}Setup(f,C,_){try{this.Titel=f,this.Auswahlliste=C,this.Auswahlindex=_}catch(w){this.Debug.ShowErrorMessage(w.message,"Auswahl Dialog","Setup",this.Debug.Typen.Page)}}Open(f,C){try{typeof f<"u"&&!0===f&&(this.Auswahlindex=typeof C<"u"?C:-1),this.MySelection.open()}catch(_){this.Debug.ShowErrorMessage(_.message,"Auswahl Dialog","Open",this.Debug.Typen.Component)}}ngOnChanges(f){}IndexChangedHandler(f){try{let C;C=""===f.detail.value||isNaN(f.detail.value)?-1:f.detail.value,this.Auswahlindex=C}catch(C){this.Debug.ShowErrorMessage(C.message,"Auswahl Dialog","IndexChanged",this.Debug.Typen.Component)}}CancelButtonClicked(){this.CancelClickedEvent.emit()}OkButtonClicked(){u.isUndefined(this.Auswahlliste[this.Auswahlindex])?this.OkClickedEvent.emit(null):this.OkClickedEvent.emit(this.Auswahlliste[this.Auswahlindex].Data)}ContentClicked(f){f.preventDefault(),f.stopPropagation()}static \u0275fac=function(C){return new(C||S)(l.\u0275\u0275directiveInject(i.ToolsProvider),l.\u0275\u0275directiveInject(e.BasicsProvider),l.\u0275\u0275directiveInject(o.DebugProvider),l.\u0275\u0275directiveInject(d.DisplayService),l.\u0275\u0275directiveInject(v.ConstProvider))};static \u0275cmp=l.\u0275\u0275defineComponent({type:S,selectors:[["auswahl-dialog"]],viewQuery:function(C,_){if(1&C&&l.\u0275\u0275viewQuery(M,7),2&C){let w;l.\u0275\u0275queryRefresh(w=l.\u0275\u0275loadQuery())&&(_.MySelection=w.first)}},inputs:{Titel:"Titel",Auswahlliste:"Auswahlliste",Auswahlindex:"Auswahlindex",Iconname:"Iconname",Dialogbreite:"Dialogbreite",PositionY:"PositionY",ZIndex:"ZIndex"},outputs:{IndexChanged:"IndexChanged",OkClickedEvent:"OkClickedEvent",CancelClickedEvent:"CancelClickedEvent"},features:[l.\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(C,_){1&C&&(l.\u0275\u0275elementStart(0,"div",0)(1,"div",1),l.\u0275\u0275listener("click",function(D){return _.ContentClicked(D)}),l.\u0275\u0275elementStart(2,"div",2),l.\u0275\u0275listener("click",function(D){return _.ContentClicked(D)}),l.\u0275\u0275elementStart(3,"ion-header")(4,"page-header")(5,"table",3)(6,"tr")(7,"td"),l.\u0275\u0275element(8,"ion-icon",4),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(9,"td"),l.\u0275\u0275text(10),l.\u0275\u0275elementEnd()()()()(),l.\u0275\u0275elementStart(11,"ion-content")(12,"div",5)(13,"ion-radio-group",6),l.\u0275\u0275listener("ionChange",function(D){return _.IndexChangedHandler(D)}),l.\u0275\u0275elementStart(14,"table",7)(15,"tr"),l.\u0275\u0275element(16,"td",8),l.\u0275\u0275elementEnd(),l.\u0275\u0275template(17,p,7,9,"tr",9),l.\u0275\u0275elementStart(18,"tr"),l.\u0275\u0275element(19,"td",8),l.\u0275\u0275elementEnd()()()()(),l.\u0275\u0275elementStart(20,"ion-footer")(21,"page-footer")(22,"table",10)(23,"tr")(24,"td")(25,"div",11),l.\u0275\u0275listener("click",function(){return _.CancelButtonClicked()}),l.\u0275\u0275element(26,"ion-icon",12),l.\u0275\u0275elementEnd()(),l.\u0275\u0275element(27,"td",13),l.\u0275\u0275elementStart(28,"td")(29,"div",11),l.\u0275\u0275listener("click",function(){return _.OkButtonClicked()}),l.\u0275\u0275element(30,"ion-icon",14),l.\u0275\u0275elementEnd()()()()()()()()()),2&C&&(l.\u0275\u0275styleProp("z-index",_.ZIndex),l.\u0275\u0275advance(),l.\u0275\u0275styleProp("background",!0===_.Displayservice.ShowOpacity(_.Displayservice.Dialognamen.Auswahldialog)?"rgba(0, 0, 0, 0.5)":"none"),l.\u0275\u0275advance(),l.\u0275\u0275styleProp("width",_.Dialogbreite,"px")("bottom",_.PositionY,"px")("top",_.PositionY,"px"),l.\u0275\u0275advance(6),l.\u0275\u0275property("name",_.Iconname),l.\u0275\u0275advance(),l.\u0275\u0275styleProp("color","white"),l.\u0275\u0275advance(),l.\u0275\u0275textInterpolate(_.Titel),l.\u0275\u0275advance(3),l.\u0275\u0275property("value",_.Auswahlindex),l.\u0275\u0275advance(4),l.\u0275\u0275property("ngForOf",_.Auswahlliste))},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 S})()},22844:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.ButtonValueDateModule=void 0;const n=s(81316),c=s(92512),u=s(91368),l=n.__importStar(s(54496));m.ButtonValueDateModule=(()=>{class e{static \u0275fac=function(v){return new(v||e)};static \u0275mod=l.\u0275\u0275defineNgModule({type:e});static \u0275inj=l.\u0275\u0275defineInjector({imports:[c.IonicModule,u.CommonModule]})}return e})()},72284:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.ButtonValueModule=void 0;const n=s(81316),c=s(92512),u=s(91368),l=n.__importStar(s(54496));m.ButtonValueModule=(()=>{class e{static \u0275fac=function(v){return new(v||e)};static \u0275mod=l.\u0275\u0275defineNgModule({type:e});static \u0275inj=l.\u0275\u0275defineInjector({imports:[u.CommonModule,c.IonicModule]})}return e})()},13228:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.ButtonValueComponent=void 0;const n=s(81316),c=s(54496),u=n.__importStar(s(54496)),l=n.__importStar(s(14652)),i=n.__importStar(s(34388)),e=n.__importStar(s(19668)),o=n.__importStar(s(29743)),d=n.__importStar(s(91368)),v=n.__importStar(s(92512));function M(S,y){if(1&S&&(u.\u0275\u0275elementStart(0,"table",10)(1,"tr"),u.\u0275\u0275element(2,"td",11),u.\u0275\u0275elementEnd()()),2&S){const f=u.\u0275\u0275nextContext();u.\u0275\u0275advance(2),u.\u0275\u0275property("innerHTML",f.Wert_A_String,u.\u0275\u0275sanitizeHtml)}}function p(S,y){if(1&S&&(u.\u0275\u0275elementStart(0,"table",12)(1,"tr"),u.\u0275\u0275element(2,"td",11),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(3,"tr"),u.\u0275\u0275element(4,"td",13),u.\u0275\u0275elementEnd()()),2&S){const f=u.\u0275\u0275nextContext();u.\u0275\u0275advance(2),u.\u0275\u0275property("innerHTML",f.Wert_A_String,u.\u0275\u0275sanitizeHtml),u.\u0275\u0275advance(2),u.\u0275\u0275property("innerHTML",f.Wert_B,u.\u0275\u0275sanitizeHtml)}}m.ButtonValueComponent=(()=>{class S{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 c.EventEmitter;DisabledButtonClicked=new c.EventEmitter;RGB;Wert_A_String;constructor(f,C,_,w){this.Basics=f,this.Debug=C,this.Tools=_,this.Const=w;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(D){this.Debug.ShowErrorMessage(D.message,"Button Value","Constructor",this.Debug.Typen.Component)}}ngOnInit(){}ngOnChanges(f){try{let C=f.Buttoncolor,_=f.Wert_A;typeof C<"u"&&(C.firstChange||(this.RGB=this.Tools.HexToRGB(C.currentValue))),typeof _<"u"&&typeof _.currentValue<"u"&&"string"==typeof _.currentValue&&(this.Wert_A_String=_.currentValue)}catch(C){this.Debug.ShowErrorMessage(C.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(C){return new(C||S)(u.\u0275\u0275directiveInject(l.BasicsProvider),u.\u0275\u0275directiveInject(i.DebugProvider),u.\u0275\u0275directiveInject(e.ToolsProvider),u.\u0275\u0275directiveInject(o.ConstProvider))};static \u0275cmp=u.\u0275\u0275defineComponent({type:S,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:[u.\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(C,_){1&C&&(u.\u0275\u0275elementStart(0,"div",0),u.\u0275\u0275listener("click",function(){return _.ButtonClickedHandler()}),u.\u0275\u0275elementStart(1,"div",1)(2,"div",2)(3,"table",3)(4,"tr")(5,"td",4)(6,"ion-text",5),u.\u0275\u0275text(7),u.\u0275\u0275elementEnd()()()()()(),u.\u0275\u0275elementStart(8,"div",6)(9,"div",7),u.\u0275\u0275template(10,M,3,1,"table",8)(11,p,5,2,"table",9),u.\u0275\u0275elementEnd()()()),2&C&&(u.\u0275\u0275styleProp("background",_.Enabled?_.Buttoncolor:_.Basics.Farben.ButtongrauDisabled),u.\u0275\u0275advance(),u.\u0275\u0275styleProp("width",_.Linkebreite,"%"),u.\u0275\u0275advance(6),u.\u0275\u0275textInterpolate(_.Buttontext),u.\u0275\u0275advance(),u.\u0275\u0275styleProp("width",_.Rechtebreite,"%"),u.\u0275\u0275advance(),u.\u0275\u0275styleProp("background",_.Buttonvaluecolor),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",""===_.Wert_B),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",""!==_.Wert_B))},dependencies:[d.NgIf,v.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 S})()},25856:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.CheckboxClonComponent=void 0;const n=s(81316),c=s(54496),u=n.__importStar(s(54496)),l=n.__importStar(s(14652)),i=n.__importStar(s(19668)),e=n.__importStar(s(34388));m.CheckboxClonComponent=(()=>{class d{Basics;Tools;Debug;Checked=!1;Enabled=!0;CanUnselect=!0;Index=-1;Background="white";Value=null;CheckChanged=new c.EventEmitter;ImgSource;constructor(M,p,E){this.Basics=M,this.Tools=p,this.Debug=E;try{this.ImgSource=this.Basics.Svgpath+"hacken.svg"}catch(S){this.Debug.ShowErrorMessage(S.message,"Checkbox","constructor",this.Debug.Typen.Component)}}PrepareData(){try{this.Background=!1===this.Enabled?"#B2BABB":"white"}catch(M){this.Debug.ShowErrorMessage(M,"Checkbox","PrepareData",this.Debug.Typen.Component)}}ngOnInit(){try{this.PrepareData()}catch(M){this.Debug.ShowErrorMessage(M,"Checkbox","ngOnInit",this.Debug.Typen.Component)}}DivClickedHnadler(M){try{M.stopPropagation(),M.preventDefault(),(this.Enabled&&!0===this.CanUnselect||this.Enabled&&!1===this.CanUnselect&&!1===this.Checked)&&this.CheckChanged.emit({status:!this.Checked,index:this.Index,event:M,value:this.Value})}catch(p){this.Debug.ShowErrorMessage(p.message,"Checkbox","DivClickedHnadler",this.Debug.Typen.Component)}}ngOnChanges(M){try{let p;p=M.Enabled,typeof p<"u"&&this.PrepareData()}catch(p){this.Debug.ShowErrorMessage(p.message,"Alphabet","ngOnChanges",this.Debug.Typen.Component)}}static \u0275fac=function(p){return new(p||d)(u.\u0275\u0275directiveInject(l.BasicsProvider),u.\u0275\u0275directiveInject(i.ToolsProvider),u.\u0275\u0275directiveInject(e.DebugProvider))};static \u0275cmp=u.\u0275\u0275defineComponent({type:d,selectors:[["checkbox-clon"]],inputs:{Checked:"Checked",Enabled:"Enabled",CanUnselect:"CanUnselect",Index:"Index",Background:"Background",Value:"Value"},outputs:{CheckChanged:"CheckChanged"},features:[u.\u0275\u0275NgOnChangesFeature],decls:2,vars:4,consts:[[1,"keeperdivclass",3,"click"],[2,"width","18px","height","18px",3,"hidden","src"]],template:function(p,E){1&p&&(u.\u0275\u0275elementStart(0,"div",0),u.\u0275\u0275listener("click",function(y){return E.DivClickedHnadler(y)}),u.\u0275\u0275element(1,"img",1),u.\u0275\u0275elementEnd()),2&p&&(u.\u0275\u0275styleProp("background",E.Background),u.\u0275\u0275advance(),u.\u0275\u0275property("hidden",!E.Checked)("src",E.ImgSource,u.\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 d})()},7388:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.CheckboxClonModule=void 0;const n=s(81316),c=s(92512),u=s(91368),l=n.__importStar(s(54496));m.CheckboxClonModule=(()=>{class e{static \u0275fac=function(v){return new(v||e)};static \u0275mod=l.\u0275\u0275defineNgModule({type:e});static \u0275inj=l.\u0275\u0275defineInjector({imports:[u.CommonModule,c.IonicModule]})}return e})()},61540:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.InputCloneKeeperModule=void 0;const n=s(81316),c=s(92512),u=s(91368),l=n.__importStar(s(54496));m.InputCloneKeeperModule=(()=>{class e{static \u0275fac=function(v){return new(v||e)};static \u0275mod=l.\u0275\u0275defineNgModule({type:e});static \u0275inj=l.\u0275\u0275defineInjector({imports:[u.CommonModule,c.IonicModule]})}return e})()},38056:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.InputCloneComponent=void 0;const n=s(81316),c=s(54496),u=n.__importStar(s(78776)),l=n.__importStar(s(54496)),i=n.__importStar(s(34388)),e=n.__importStar(s(14652)),o=n.__importStar(s(19668)),d=n.__importStar(s(91368)),v=n.__importStar(s(92512));function M(N,V){1&N&&l.\u0275\u0275element(0,"td")}function p(N,V){if(1&N&&(l.\u0275\u0275elementStart(0,"tr")(1,"td",4),l.\u0275\u0275text(2),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(3,"td",5),l.\u0275\u0275element(4,"ion-icon",6),l.\u0275\u0275elementEnd(),l.\u0275\u0275template(5,M,1,0,"td",3),l.\u0275\u0275elementEnd()),2&N){const G=l.\u0275\u0275nextContext();l.\u0275\u0275styleProp("color",G.Titelcolor),l.\u0275\u0275advance(2),l.\u0275\u0275textInterpolate(G.Titel),l.\u0275\u0275advance(),l.\u0275\u0275property("hidden",!1===G.Clickable),l.\u0275\u0275advance(2),l.\u0275\u0275property("ngIf",null!==G.Einheit)}}function E(N,V){if(1&N){const G=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"ion-input",10),l.\u0275\u0275listener("ionInput",function(k){l.\u0275\u0275restoreView(G);const A=l.\u0275\u0275nextContext(2);return l.\u0275\u0275resetView(A.TextChangedHandler(k))}),l.\u0275\u0275elementEnd()}if(2&N){const G=l.\u0275\u0275nextContext(2);l.\u0275\u0275styleProp("font-size",G.Textsize,"px"),l.\u0275\u0275property("inputmode",G.Inputtype)("label",G.Titel)("debounce",G.Debouncetime)("value",G.Value)("color",G.Textcolor)}}function S(N,V){if(1&N&&(l.\u0275\u0275elementStart(0,"ion-label"),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&N){const G=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(),l.\u0275\u0275textInterpolate(G.Value)}}function y(N,V){if(1&N&&(l.\u0275\u0275elementStart(0,"td",11),l.\u0275\u0275text(1),l.\u0275\u0275elementEnd()),2&N){const G=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(),l.\u0275\u0275textInterpolate(G.Einheit)}}function f(N,V){if(1&N&&(l.\u0275\u0275elementStart(0,"tr")(1,"td",7),l.\u0275\u0275template(2,E,1,7,"ion-input",8)(3,S,2,1,"ion-label",3),l.\u0275\u0275elementEnd(),l.\u0275\u0275template(4,y,2,1,"td",9),l.\u0275\u0275elementEnd()),2&N){const G=l.\u0275\u0275nextContext();l.\u0275\u0275advance(2),l.\u0275\u0275property("ngIf",!0===G.Enabled),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",!1===G.Enabled),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",null!==G.Einheit)}}function C(N,V){if(1&N){const G=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"ion-textarea",15),l.\u0275\u0275listener("ionChange",function(k){l.\u0275\u0275restoreView(G);const A=l.\u0275\u0275nextContext(2);return l.\u0275\u0275resetView(A.TextChangedHandler(k))}),l.\u0275\u0275elementEnd()}if(2&N){const G=l.\u0275\u0275nextContext(2);l.\u0275\u0275property("label",G.Titel)("debounce",G.Debouncetime)("value",G.Value)("rows",G.Lines)}}function _(N,V){if(1&N&&l.\u0275\u0275element(0,"div",16),2&N){const G=l.\u0275\u0275nextContext(2);l.\u0275\u0275styleProp("height",18*G.Lines,"px"),l.\u0275\u0275property("innerHTML",G.Tools.FormatLinebreaks(G.Value),l.\u0275\u0275sanitizeHtml)}}function w(N,V){1&N&&l.\u0275\u0275element(0,"td")}function D(N,V){if(1&N&&(l.\u0275\u0275elementStart(0,"tr")(1,"td",12),l.\u0275\u0275template(2,C,1,4,"ion-textarea",13)(3,_,1,3,"div",14),l.\u0275\u0275elementEnd(),l.\u0275\u0275template(4,w,1,0,"td",3),l.\u0275\u0275elementEnd()),2&N){const G=l.\u0275\u0275nextContext();l.\u0275\u0275advance(2),l.\u0275\u0275property("ngIf",!0===G.Enabled),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",!1===G.Enabled),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",null!==G.Einheit)}}m.InputCloneComponent=(()=>{class N{Debug;Basics;Tools;Titel;Titelcolor;Value;Debouncetime;ValueChange=new c.EventEmitter;MinLength;MaxLength;Enabled;Clickable;MinHeight;Inputtype;Required;Lines;DisabledColor;OkBorderColor;ParseToFloat;Textcolor;Textsize;Einheit;TextChanged=new c.EventEmitter;RequiredBorder;DisabledBorder;Valid;JoiShema;OkBorder;constructor(G,R,k){this.Debug=G,this.Basics=R,this.Tools=k;try{let A=1;this.OkBorderColor=this.Basics.Farben.Burnicklgrau,this.DisabledColor=this.Basics.Farben.Blau,this.OkBorder=A+"px solid "+this.OkBorderColor,this.RequiredBorder=A+"px solid "+this.Basics.Farben.Orange,this.DisabledBorder=A+"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(A){this.Debug.ShowErrorMessage(A.message,"Input Clone","constructor",this.Debug.Typen.Component)}}ngAfterViewInit(){}ngOnInit(){try{let R;"text"===this.Inputtype||"email"===this.Inputtype?(R=u.string(),"email"===this.Inputtype&&(R=R.email({tlds:{allow:!1}}))):R=u.number(),this.MinLength>0&&(R=R.min(this.MinLength)),this.MaxLength>0&&(R=R.max(this.MaxLength)),R=!0===this.Required?R.required():R.allow(""),this.JoiShema=u.object({Text:R}).options({stripUnknown:!0}),this.Valid=this.CheckValid(this.Value)}catch(G){this.Debug.ShowErrorMessage(G.message,"Input Clone","ngOnInit",this.Debug.Typen.Component)}}CheckValid(G){try{let R,k;return this.JoiShema?(R=this.JoiShema.validate({Text:G}),R.error?(k=!1,this.Debug.ShowErrorMessage(R.error.message,"Input Clone","CheckValid",this.Debug.Typen.Component)):k=!0):k=!1,k}catch(R){this.Debug.ShowErrorMessage(R.message,"Input Clone","CheckValid",this.Debug.Typen.Component)}}TextChangedHandler(G){try{let R="text"===this.Inputtype||"email"===this.Inputtype?G.detail.value:this.ParseToFloat?parseFloat(G.detail.value):parseInt(G.detail.value);!0===this.Enabled&&(typeof R>"u"&&(R=""),this.Valid=this.CheckValid(R),this.ValueChange.emit(R),this.TextChanged.emit({Titel:this.Titel,Text:R,Valid:this.Valid})),G.stopPropagation(),G.preventDefault()}catch(R){this.Debug.ShowErrorMessage(R.message,"Input Clone","TextChangedHandler",this.Debug.Typen.Component)}}ngOnChanges(G){try{let R=1,k=G.Value;typeof k<"u"&&(this.Valid=this.CheckValid(k.currentValue),this.TextChanged.emit({Titel:this.Titel,Text:k.currentValue,Valid:this.Valid})),this.DisabledBorder=R+"px solid "+this.DisabledColor,this.OkBorder=R+"px solid "+this.OkBorderColor}catch(R){this.Debug.ShowErrorMessage(R.message,"Input Clone","ngOnChanges",this.Debug.Typen.Component)}}static \u0275fac=function(R){return new(R||N)(l.\u0275\u0275directiveInject(i.DebugProvider),l.\u0275\u0275directiveInject(e.BasicsProvider),l.\u0275\u0275directiveInject(o.ToolsProvider))};static \u0275cmp=l.\u0275\u0275defineComponent({type:N,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:[l.\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(R,k){1&R&&(l.\u0275\u0275elementStart(0,"div",0)(1,"table",1),l.\u0275\u0275template(2,p,6,5,"tr",2)(3,f,5,3,"tr",3)(4,D,5,3,"tr",3),l.\u0275\u0275elementEnd()()),2&R&&(l.\u0275\u0275styleProp("cursor",!0===k.Clickable?"pointer":"default")("min-height",k.MinHeight,"px")("border",!0===k.Enabled?!0===k.Valid?k.OkBorder:k.RequiredBorder:k.DisabledBorder),l.\u0275\u0275advance(2),l.\u0275\u0275property("ngIf",null!==k.Titel&&""!==k.Titel&&!1===k.Enabled),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",1===k.Lines),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",1!==k.Lines))},dependencies:[d.NgIf,v.IonIcon,v.IonInput,v.IonLabel,v.IonTextarea,v.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 N})()},33780:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.InputCloneModule=void 0;const n=s(81316),c=s(92512),u=s(91368),l=n.__importStar(s(54496));m.InputCloneModule=(()=>{class e{static \u0275fac=function(v){return new(v||e)};static \u0275mod=l.\u0275\u0275defineNgModule({type:e});static \u0275inj=l.\u0275\u0275defineInjector({imports:[u.CommonModule,c.IonicModule]})}return e})()},90520:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.PageFooterModule=void 0;const n=s(81316),c=s(92512),u=s(91368),l=n.__importStar(s(54496));m.PageFooterModule=(()=>{class e{static \u0275fac=function(v){return new(v||e)};static \u0275mod=l.\u0275\u0275defineNgModule({type:e});static \u0275inj=l.\u0275\u0275defineInjector({imports:[c.IonicModule,u.CommonModule]})}return e})()},29856:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.PageFooterComponent=void 0;const n=s(81316),c=s(54496),u=n.__importStar(s(54496)),l=n.__importStar(s(29743)),i=n.__importStar(s(34388)),e=n.__importStar(s(14652)),o=["PageFooterFrameDiv"],d=["*"];m.PageFooterComponent=(()=>{class M{Const;Debug;Basics;PageFooterFrameDiv;MaxFooterhoehe;constructor(E,S,y){this.Const=E,this.Debug=S,this.Basics=y}ngOnInit(){}InitMaximalhoehe(){try{return this.MaxFooterhoehe=this.PageFooterFrameDiv.nativeElement.clientHeight,this.MaxFooterhoehe}catch(E){this.Debug.ShowErrorMessage(E.message,"Page Footer","InitMaximalhoehe",this.Debug.Typen.Component)}}static \u0275fac=function(S){return new(S||M)(u.\u0275\u0275directiveInject(l.ConstProvider),u.\u0275\u0275directiveInject(i.DebugProvider),u.\u0275\u0275directiveInject(e.BasicsProvider))};static \u0275cmp=u.\u0275\u0275defineComponent({type:M,selectors:[["page-footer"]],viewQuery:function(S,y){if(1&S&&u.\u0275\u0275viewQuery(o,7,c.ElementRef),2&S){let f;u.\u0275\u0275queryRefresh(f=u.\u0275\u0275loadQuery())&&(y.PageFooterFrameDiv=f.first)}},ngContentSelectors:d,decls:3,vars:0,consts:[[1,"keeperclass"],["PageFooterFrameDiv",""]],template:function(S,y){1&S&&(u.\u0275\u0275projectionDef(),u.\u0275\u0275elementStart(0,"div",0,1),u.\u0275\u0275projection(2),u.\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 M})()},89300:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.PageHeaderCenterModule=void 0;const n=s(81316),c=s(92512),u=s(91368),l=n.__importStar(s(54496));m.PageHeaderCenterModule=(()=>{class e{static \u0275fac=function(v){return new(v||e)};static \u0275mod=l.\u0275\u0275defineNgModule({type:e});static \u0275inj=l.\u0275\u0275defineInjector({imports:[u.CommonModule,c.IonicModule]})}return e})()},63792:(pe,m,s)=>{"use strict";var n=s(1196).default;Object.defineProperty(m,"__esModule",{value:!0}),m.PageHeaderMenuComponent=void 0;const c=s(81316),u=s(54496),l=c.__importDefault(s(35908)),i=c.__importStar(s(54496)),e=c.__importStar(s(34388)),o=c.__importStar(s(14652)),d=c.__importStar(s(29743)),v=c.__importStar(s(22848)),M=c.__importStar(s(15024)),p=c.__importStar(s(48044)),E=c.__importStar(s(58864)),S=c.__importStar(s(9544)),y=c.__importStar(s(8608)),f=c.__importStar(s(97092)),C=c.__importStar(s(7992)),_=c.__importStar(s(59460)),w=c.__importStar(s(91368)),D=c.__importStar(s(92512)),L=["Suchleiste"],N=["Suchleiste2"],V=["ion-searchbar"];function G(Se,je){if(1&Se){const re=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275elementStart(1,"td")(2,"div",5),i.\u0275\u0275listener("mouseenter",function(){i.\u0275\u0275restoreView(re);const rt=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(rt.HomeMouseOver=!0)})("mouseleave",function(){i.\u0275\u0275restoreView(re);const rt=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(rt.HomeMouseOver=!1)})("click",function(){i.\u0275\u0275restoreView(re);const rt=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(rt.MainMenueButtonClicked(rt.Menuservice.MainMenuebereiche.Home))}),i.\u0275\u0275elementStart(3,"table",6)(4,"tr")(5,"td"),i.\u0275\u0275element(6,"ion-icon",7),i.\u0275\u0275elementEnd()()()()(),i.\u0275\u0275elementStart(7,"td",8),i.\u0275\u0275element(8,"div"),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementContainerEnd()}if(2&Se){const re=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(6),i.\u0275\u0275property("color",re.HomeMouseOver?re.Basics.Ionicfarben.Schwarz:re.Basics.Ionicfarben.Weiss),i.\u0275\u0275advance(2),i.\u0275\u0275classMap(re.Menuservice.MainMenuebereich===re.Menuservice.MainMenuebereiche.Projekte?"trennerbigdivclass":"trennerdivclass")}}function R(Se,je){if(1&Se){const re=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275element(1,"td",15),i.\u0275\u0275elementStart(2,"td")(3,"div",12),i.\u0275\u0275listener("click",function(){i.\u0275\u0275restoreView(re);const rt=i.\u0275\u0275nextContext(3);return i.\u0275\u0275resetView(rt.UrlaubMenueButtonClicked(rt.Menuservice.UrlaubMenuebereiche.Gesamtplanung))}),i.\u0275\u0275elementStart(4,"table",6)(5,"tr")(6,"td"),i.\u0275\u0275element(7,"ion-icon",22),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(8,"td"),i.\u0275\u0275text(9,"Gesamtplanung"),i.\u0275\u0275elementEnd()()()()(),i.\u0275\u0275elementContainerEnd()}if(2&Se){const re=i.\u0275\u0275nextContext(3);i.\u0275\u0275advance(7),i.\u0275\u0275property("color",re.GetUrlaubMenueIconcolor(re.Menuservice.UrlaubMenuebereiche.Gesamtplanung)),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("color",re.GetUrlaubMenueFontcolor(re.Menuservice.UrlaubMenuebereiche.Gesamtplanung))}}function k(Se,je){if(1&Se&&(i.\u0275\u0275elementStart(0,"td")(1,"ion-badge",23),i.\u0275\u0275text(2),i.\u0275\u0275elementEnd()()),2&Se){const re=i.\u0275\u0275nextContext(3);i.\u0275\u0275advance(2),i.\u0275\u0275textInterpolate((re.DBUrlaub.Urlaubsanfragenanzahl+re.DBUrlaub.Homeofficeanfragenanzahl).toString())}}function A(Se,je){1&Se&&(i.\u0275\u0275elementStart(0,"td"),i.\u0275\u0275element(1,"img",24),i.\u0275\u0275elementEnd())}function H(Se,je){if(1&Se){const re=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"td")(1,"ion-button",27),i.\u0275\u0275listener("click",function(){i.\u0275\u0275restoreView(re);const rt=i.\u0275\u0275nextContext(4);return i.\u0275\u0275resetView(rt.UrlaubMitarbeiterMeClicked.emit())}),i.\u0275\u0275element(2,"ion-icon",28),i.\u0275\u0275elementEnd()()}}function K(Se,je){if(1&Se){const re=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"td",25)(1,"table")(2,"tr")(3,"td")(4,"ion-button",26),i.\u0275\u0275listener("click",function(){i.\u0275\u0275restoreView(re);const rt=i.\u0275\u0275nextContext(3);return i.\u0275\u0275resetView(rt.UrlaubMitarbeiterClicked.emit())}),i.\u0275\u0275text(5),i.\u0275\u0275elementEnd()(),i.\u0275\u0275template(6,H,3,0,"td",0),i.\u0275\u0275elementEnd()()()}if(2&Se){const re=i.\u0275\u0275nextContext(3);i.\u0275\u0275advance(5),i.\u0275\u0275textInterpolate(null!==re.DBUrlaub.CurrentMitarbeiter?re.DBUrlaub.CurrentMitarbeiter.Vorname+" "+re.DBUrlaub.CurrentMitarbeiter.Name:"unbekannt"),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",null!==re.DBUrlaub.CurrentMitarbeiter&&re.DBUrlaub.CurrentMitarbeiter._id!==re.Pool.Mitarbeiterdaten._id)}}function ie(Se,je){if(1&Se){const re=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"td")(1,"table")(2,"tr")(3,"td")(4,"div",5),i.\u0275\u0275listener("mouseenter",function(){i.\u0275\u0275restoreView(re);const rt=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(rt.LogoutMouseOver=!0)})("mouseleave",function(){i.\u0275\u0275restoreView(re);const rt=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(rt.LogoutMouseOver=!1)})("click",function(){i.\u0275\u0275restoreView(re);const rt=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(rt.LogoutButtonClicked())}),i.\u0275\u0275elementStart(5,"table",6)(6,"tr")(7,"td"),i.\u0275\u0275element(8,"ion-icon",9),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(9,"td"),i.\u0275\u0275text(10,"Abmelden"),i.\u0275\u0275elementEnd()()()()(),i.\u0275\u0275element(11,"td",3),i.\u0275\u0275elementStart(12,"td",8),i.\u0275\u0275element(13,"div",10),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(14,"td")(15,"div",5),i.\u0275\u0275listener("mouseenter",function(){i.\u0275\u0275restoreView(re);const rt=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(rt.JahrMouseOver=!0)})("mouseleave",function(){i.\u0275\u0275restoreView(re);const rt=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(rt.JahrMouseOver=!1)})("click",function(){i.\u0275\u0275restoreView(re);const rt=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(rt.JahrButtonClicked.emit())}),i.\u0275\u0275elementStart(16,"table",6)(17,"tr")(18,"td"),i.\u0275\u0275element(19,"ion-icon",11),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(20,"td"),i.\u0275\u0275text(21),i.\u0275\u0275elementEnd()()()()(),i.\u0275\u0275element(22,"td",3),i.\u0275\u0275elementStart(23,"td",8),i.\u0275\u0275element(24,"div",10),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(25,"td")(26,"div",12),i.\u0275\u0275listener("click",function(){i.\u0275\u0275restoreView(re);const rt=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(rt.UrlaubMenueButtonClicked(rt.Menuservice.UrlaubMenuebereiche.Planung))}),i.\u0275\u0275elementStart(27,"table",6)(28,"tr")(29,"td"),i.\u0275\u0275element(30,"ion-icon",13),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(31,"td",14),i.\u0275\u0275text(32,"Planung"),i.\u0275\u0275elementEnd()()()()(),i.\u0275\u0275element(33,"td",15),i.\u0275\u0275elementStart(34,"td")(35,"div",12),i.\u0275\u0275listener("click",function(){i.\u0275\u0275restoreView(re);const rt=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(rt.UrlaubMenueButtonClicked(rt.Menuservice.UrlaubMenuebereiche.Uebersicht))}),i.\u0275\u0275elementStart(36,"table",6)(37,"tr")(38,"td"),i.\u0275\u0275element(39,"ion-icon",16),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(40,"td"),i.\u0275\u0275text(41,"\xdcbersicht"),i.\u0275\u0275elementEnd()()()()(),i.\u0275\u0275template(42,R,10,3,"ng-container",0),i.\u0275\u0275element(43,"td",15),i.\u0275\u0275elementStart(44,"td")(45,"div",12),i.\u0275\u0275listener("click",function(){i.\u0275\u0275restoreView(re);const rt=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(rt.UrlaubMenueButtonClicked(rt.Menuservice.UrlaubMenuebereiche.Freigaben))}),i.\u0275\u0275elementStart(46,"table",6)(47,"tr")(48,"td"),i.\u0275\u0275element(49,"ion-icon",17),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(50,"td"),i.\u0275\u0275text(51,"Anfragen"),i.\u0275\u0275elementEnd(),i.\u0275\u0275template(52,k,3,1,"td",0),i.\u0275\u0275elementEnd()()()(),i.\u0275\u0275element(53,"td",15),i.\u0275\u0275elementStart(54,"td")(55,"div",12),i.\u0275\u0275listener("click",function(){i.\u0275\u0275restoreView(re);const rt=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(rt.UrlaubMenueButtonClicked(rt.Menuservice.UrlaubMenuebereiche.Einstellungen))}),i.\u0275\u0275elementStart(56,"table",6)(57,"tr")(58,"td"),i.\u0275\u0275element(59,"ion-icon",18),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(60,"td"),i.\u0275\u0275text(61,"Einstellungen"),i.\u0275\u0275elementEnd()()()()(),i.\u0275\u0275template(62,A,2,0,"td",0),i.\u0275\u0275element(63,"td",19),i.\u0275\u0275template(64,K,7,2,"td",20),i.\u0275\u0275element(65,"td",21),i.\u0275\u0275elementEnd()()()}if(2&Se){const re=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(4),i.\u0275\u0275styleProp("cursor",re.LogoutMouseOver?"pointer":"default"),i.\u0275\u0275advance(4),i.\u0275\u0275property("color",re.LogoutMouseOver?re.Basics.Ionicfarben.Schwarz:re.Basics.Ionicfarben.Weiss),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("color",re.LogoutMouseOver?"#000000":"white"),i.\u0275\u0275advance(6),i.\u0275\u0275styleProp("cursor",re.JahrMouseOver?"pointer":"default"),i.\u0275\u0275advance(4),i.\u0275\u0275property("color",re.JahrMouseOver?re.Basics.Ionicfarben.Schwarz:re.Basics.Ionicfarben.Weiss),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("color",re.JahrMouseOver?"#000000":"white"),i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate1("Jahr ",re.DBUrlaub.CurrentJahr,""),i.\u0275\u0275advance(9),i.\u0275\u0275property("color",re.GetUrlaubMenueIconcolor(re.Menuservice.UrlaubMenuebereiche.Planung)),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("color",re.GetUrlaubMenueFontcolor(re.Menuservice.UrlaubMenuebereiche.Planung)),i.\u0275\u0275advance(8),i.\u0275\u0275property("color",re.GetUrlaubMenueIconcolor(re.Menuservice.UrlaubMenuebereiche.Uebersicht)),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("color",re.GetUrlaubMenueFontcolor(re.Menuservice.UrlaubMenuebereiche.Uebersicht)),i.\u0275\u0275advance(2),i.\u0275\u0275property("ngIf",!0===re.Pool.Mitarbeiterdaten.Urlaubsfreigaben||!0===re.Pool.Mitarbeiterdaten.Homeofficefreigaben||re.Pool.Mitarbeiterdaten.Planeradministrator),i.\u0275\u0275advance(7),i.\u0275\u0275property("color",re.GetUrlaubMenueIconcolor(re.Menuservice.UrlaubMenuebereiche.Freigaben)),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("color",re.GetUrlaubMenueFontcolor(re.Menuservice.UrlaubMenuebereiche.Freigaben)),i.\u0275\u0275advance(2),i.\u0275\u0275property("ngIf",re.DBUrlaub.Urlaubsanfragenanzahl>0||re.DBUrlaub.Homeofficeanfragenanzahl>0),i.\u0275\u0275advance(7),i.\u0275\u0275property("color",re.GetUrlaubMenueIconcolor(re.Menuservice.UrlaubMenuebereiche.Einstellungen)),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("color",re.GetUrlaubMenueFontcolor(re.Menuservice.UrlaubMenuebereiche.Einstellungen)),i.\u0275\u0275advance(2),i.\u0275\u0275property("ngIf",!1===re.DBUrlaub.CorrectSetup),i.\u0275\u0275advance(2),i.\u0275\u0275property("ngIf",null!==re.Pool.Mitarbeiterdaten&&!0===re.Pool.Mitarbeiterdaten.Planeradministrator)}}function J(Se,je){if(1&Se){const re=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"td")(1,"div",5),i.\u0275\u0275listener("mouseenter",function(){i.\u0275\u0275restoreView(re);const rt=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(rt.BackMouseOver=!0)})("mouseleave",function(){i.\u0275\u0275restoreView(re);const rt=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(rt.BackMouseOver=!1)})("click",function(){i.\u0275\u0275restoreView(re);const rt=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(rt.BackButtonClicked())}),i.\u0275\u0275elementStart(2,"table",6)(3,"tr")(4,"td"),i.\u0275\u0275element(5,"ion-icon",29),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(6,"td"),i.\u0275\u0275text(7,"Zur\xfcck"),i.\u0275\u0275elementEnd()()()()()}if(2&Se){const re=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(),i.\u0275\u0275styleProp("cursor",re.BackMouseOver?"pointer":"default"),i.\u0275\u0275advance(4),i.\u0275\u0275property("color",re.BackMouseOver?re.Basics.Ionicfarben.BAEBlau:re.Basics.Ionicfarben.Weiss),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("color",re.BackMouseOver?"#000000":"white")}}function be(Se,je){1&Se&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275element(1,"td",15),i.\u0275\u0275elementStart(2,"td"),i.\u0275\u0275element(3,"ion-searchbar",30,31),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementContainerEnd())}function ce(Se,je){if(1&Se){const re=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275element(1,"td",15),i.\u0275\u0275elementStart(2,"td")(3,"div",32),i.\u0275\u0275listener("click",function(){i.\u0275\u0275restoreView(re);const rt=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(rt.StandortButtonClicked())}),i.\u0275\u0275elementStart(4,"table",6)(5,"tr")(6,"td"),i.\u0275\u0275element(7,"ion-icon",33),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(8,"td",34),i.\u0275\u0275text(9),i.\u0275\u0275elementEnd()()()()(),i.\u0275\u0275elementContainerEnd()}if(2&Se){const re=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(9),i.\u0275\u0275textInterpolate(re.DBStandort.GetStandortfiller())}}function Ge(Se,je){if(1&Se&&(i.\u0275\u0275elementStart(0,"table")(1,"tr")(2,"td"),i.\u0275\u0275element(3,"img",36),i.\u0275\u0275elementEnd(),i.\u0275\u0275element(4,"td",3),i.\u0275\u0275elementEnd()()),2&Se){const re=i.\u0275\u0275nextContext(3);i.\u0275\u0275advance(3),i.\u0275\u0275property("src",re.GraphService.UserimageSRC,i.\u0275\u0275sanitizeUrl)}}function ct(Se,je){if(1&Se&&(i.\u0275\u0275elementStart(0,"div",37),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()),2&Se){const re=i.\u0275\u0275nextContext(3);i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate1(" ",null!==re.Pool.Mitarbeiterdaten?re.Pool.Mitarbeiterdaten.Kuerzel:"---"," ")}}function Oe(Se,je){if(1&Se&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275template(1,Ge,5,1,"table",0)(2,ct,2,1,"div",35),i.\u0275\u0275elementContainerEnd()),2&Se){const re=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",null!==re.GraphService.UserimageSRC),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",null===re.GraphService.UserimageSRC)}}function ke(Se,je){if(1&Se&&i.\u0275\u0275element(0,"td",44),2&Se){const re=i.\u0275\u0275nextContext(3);i.\u0275\u0275styleProp("width",re.Timelinebreite,"px")}}function Re(Se,je){if(1&Se&&i.\u0275\u0275element(0,"td",44),2&Se){const re=i.\u0275\u0275nextContext(3);i.\u0275\u0275styleProp("width",re.Timelinebreite,"px")}}function Qe(Se,je){if(1&Se&&i.\u0275\u0275element(0,"td",44),2&Se){const re=i.\u0275\u0275nextContext(3);i.\u0275\u0275styleProp("width",re.Timelinebreite,"px")}}function $e(Se,je){if(1&Se&&i.\u0275\u0275element(0,"td",44),2&Se){const re=i.\u0275\u0275nextContext(3);i.\u0275\u0275styleProp("width",re.Timelinebreite,"px")}}function Be(Se,je){if(1&Se&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275elementStart(1,"tr")(2,"td",38),i.\u0275\u0275element(3,"div",39),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(4,"tr")(5,"td",40)(6,"table")(7,"tr")(8,"td")(9,"div",41),i.\u0275\u0275text(10),i.\u0275\u0275elementEnd()(),i.\u0275\u0275template(11,ke,1,2,"td",42),i.\u0275\u0275element(12,"td",43),i.\u0275\u0275elementStart(13,"td")(14,"div",41),i.\u0275\u0275text(15),i.\u0275\u0275elementEnd()(),i.\u0275\u0275template(16,Re,1,2,"td",42),i.\u0275\u0275element(17,"td",43),i.\u0275\u0275elementStart(18,"td")(19,"div",41),i.\u0275\u0275text(20),i.\u0275\u0275elementEnd()(),i.\u0275\u0275template(21,Qe,1,2,"td",42),i.\u0275\u0275element(22,"td",43),i.\u0275\u0275elementStart(23,"td")(24,"div",41),i.\u0275\u0275text(25),i.\u0275\u0275elementEnd()(),i.\u0275\u0275template(26,$e,1,2,"td",42),i.\u0275\u0275element(27,"td",43),i.\u0275\u0275elementStart(28,"td")(29,"div",41),i.\u0275\u0275text(30),i.\u0275\u0275elementEnd()()()()()(),i.\u0275\u0275elementContainerEnd()),2&Se){const re=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(8),i.\u0275\u0275styleProp("width",re.Tagbreite,"px"),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("height",re.Wochentaghoehe,"px"),i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate3("Montag ",re.Timelineindex," ",re.GetDatumtext("Montag")," ",re.DBMitarbeiter.GetMeinewocheStunden("Montag"),""),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",0===re.Timelineindex),i.\u0275\u0275advance(2),i.\u0275\u0275styleProp("width",re.Tagbreite,"px"),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("height",re.Wochentaghoehe,"px"),i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate2("Dienstag ",re.GetDatumtext("Dienstag")," ",re.DBMitarbeiter.GetMeinewocheStunden("Dienstag"),""),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",1===re.Timelineindex),i.\u0275\u0275advance(2),i.\u0275\u0275styleProp("width",re.Tagbreite,"px"),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("height",re.Wochentaghoehe,"px"),i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate2("Mittwoch ",re.GetDatumtext("Mittwoch")," ",re.DBMitarbeiter.GetMeinewocheStunden("Mittwoch"),""),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",2===re.Timelineindex),i.\u0275\u0275advance(2),i.\u0275\u0275styleProp("width",re.Tagbreite,"px"),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("height",re.Wochentaghoehe,"px"),i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate2("Donnerstag ",re.GetDatumtext("Donnerstag")," ",re.DBMitarbeiter.GetMeinewocheStunden("Donnerstag"),""),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",3===re.Timelineindex),i.\u0275\u0275advance(2),i.\u0275\u0275styleProp("width",re.Tagbreite,"px"),i.\u0275\u0275advance(),i.\u0275\u0275styleProp("height",re.Wochentaghoehe,"px"),i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate2("Freitag ",re.GetDatumtext("Freitag")," ",re.DBMitarbeiter.GetMeinewocheStunden("Freitag"),"")}}function _e(Se,je){if(1&Se&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275elementStart(1,"table",1)(2,"tr")(3,"td",2)(4,"table")(5,"tr"),i.\u0275\u0275element(6,"td",3),i.\u0275\u0275template(7,G,9,3,"ng-container",0)(8,ie,66,27,"td",0)(9,J,8,5,"td",0)(10,be,5,0,"ng-container",0)(11,ce,10,1,"ng-container",0),i.\u0275\u0275elementEnd()()(),i.\u0275\u0275elementStart(12,"td",4),i.\u0275\u0275template(13,Oe,3,2,"ng-container",0),i.\u0275\u0275elementEnd()(),i.\u0275\u0275template(14,Be,31,35,"ng-container",0),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementContainerEnd()),2&Se){const re=i.\u0275\u0275nextContext();i.\u0275\u0275advance(7),i.\u0275\u0275property("ngIf",null!==re.Pool.Mitarbeiterdaten&&re.Pool.Mitarbeiterdaten.Planeradministrator),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",re.Menuservice.MainMenuebereich===re.Menuservice.MainMenuebereiche.Urlaubsplanung),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",re.Menuservice.MainMenuebereich===re.Menuservice.MainMenuebereiche.Email),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",re.ShowSuchleiste),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",re.ShowSandortfilter),i.\u0275\u0275advance(2),i.\u0275\u0275property("ngIf",!1===re.AuthService.ShowLogin),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",re.Menuservice.MainMenuebereich===re.Menuservice.MainMenuebereiche.Projekte&&re.Menuservice.ProjekteMenuebereich===re.Menuservice.ProjekteMenuebereiche.Aufgabenliste&&re.Menuservice.Aufgabenlisteansicht===re.Menuservice.Aufgabenlisteansichten.Meine_Woche)}}m.PageHeaderMenuComponent=(()=>{class Se{Debug;Basics;Const;DBMitarbeiter;DBMitarbeitersettings;Auswahlservice;DBStandort;DBUrlaub;GraphService;AuthService;Pool;Menuservice;Suchleiste;Suchleiste2;Sucheiste3;ShowSandortfilter;ShowSuchleiste;Filterorigin;ShowStandorttitle;ShowMitarbeitertitle;ShowProjektetitle;ShowFavoritentitle;SendFestlegungenEnabled;Timelineindex;SucheChanged=new u.EventEmitter;StandortfilterClicked=new u.EventEmitter;ZeitspanneFilterClicked=new u.EventEmitter;LeistungsphaseFilterClicked=new u.EventEmitter;FilterChanged=new u.EventEmitter;ShowProjektauswahlEvent=new u.EventEmitter;ShowProjektfilesEvent=new u.EventEmitter;LOPListeZeitspanneEvent=new u.EventEmitter;ShowOpenFestlegungOnlyEvent=new u.EventEmitter;SendFestlegungenClicked=new u.EventEmitter;ShowUngelesenOnlyChanged=new u.EventEmitter;ProjektsortierungChanged=new u.EventEmitter;EmailDatumChanged=new u.EventEmitter;PlanungsmatrixLeistungsphaseClicked=new u.EventEmitter;ShowLOPListeInfoeintraegeChanged=new u.EventEmitter;ExpandFestlegungeEvent=new u.EventEmitter;UrlaubMitarbeiterClicked=new u.EventEmitter;UrlaubMitarbeiterMeClicked=new u.EventEmitter;JahrButtonClicked=new u.EventEmitter;SuchleisteInputSubscription;Suchleiste2InputSubscription;SuchleisteClearSubscription;Suchleiste2ClearSubscription;FavoritenSubscription;Inputtimer;Projektauswahlbreite;Wochentaghoehe;Tagbreite;HomeMouseOver;EmailMouseOver;FilesMouseOver;ShowOpenFestlegungOnly;BackMouseOver;Timelinebreite;LogoutMouseOver;JahrMouseOver;constructor(re,we,rt,tt,wt,ye,Te,ht,Ft,nn,Yt,Zt){this.Debug=re,this.Basics=we,this.Const=rt,this.DBMitarbeiter=tt,this.DBMitarbeitersettings=wt,this.Auswahlservice=ye,this.DBStandort=Te,this.DBUrlaub=ht,this.GraphService=Ft,this.AuthService=nn,this.Pool=Yt,this.Menuservice=Zt;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.JahrMouseOver=!1,this.Timelineindex=0}catch(Mn){this.Debug.ShowErrorMessage(Mn.message,"Page Header Menu","consturctor",this.Debug.Typen.Component)}}LogoutButtonClicked(){try{this.Pool.ProjektdatenLoaded=!1,this.AuthService.Logout()}catch(re){this.Debug.ShowErrorMessage(re.message,"Page Header Menu","LogoutButtonClicked",this.Debug.Typen.Component)}}ngOnDestroy(){}BackButtonClicked(){try{this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Projekte,this.Menuservice.SetCurrentPage()}catch(re){this.Debug.ShowErrorMessage(re,"Page Header Menu","BackButtonClicked",this.Debug.Typen.Component)}}ngOnInit(){try{this.Projektauswahlbreite=this.Basics.Contentbreite-630}catch(re){this.Debug.ShowErrorMessage(re.message,"Page Header Menu","OnInit",this.Debug.Typen.Component)}}ngAfterViewInit(){var re=this;return n(function*(){try{re.Tagbreite=(re.Basics.Contentbreite-4-re.Timelinebreite)/5}catch(we){re.Debug.ShowErrorMessage(we.message,"Page Header Menu","ngAfterViewInit",re.Debug.Typen.Component)}})()}MainMenueButtonClicked(re){try{this.Menuservice.MainMenuebereich=re,this.Menuservice.SetCurrentPage()}catch(we){this.Debug.ShowErrorMessage(we.message,"Page Header Menu","MainMenueButtonClicked",this.Debug.Typen.Component)}}FirmaMenueButtonClicked(re){try{this.Menuservice.FirmaMenuebereich=re,this.Menuservice.SetCurrentPage()}catch(we){this.Debug.ShowErrorMessage(we.message,"Page Header Menu","FirmaMenueButtonClicked",this.Debug.Typen.Component)}}ProjekteMenueButtonClicked(re){try{this.Menuservice.ProjekteMenuebereich=re,this.Menuservice.ProjekteMenuebereich===this.Menuservice.ProjekteMenuebereiche.Aufgabenliste&&(this.Menuservice.Aufgabenlisteansicht=this.Menuservice.Aufgabenlisteansichten.Projekt),this.Menuservice.SetCurrentPage()}catch(we){this.Debug.ShowErrorMessage(we.message,"Page Header Menu","ProjekteMenueButtonClicked",this.Debug.Typen.Component)}}UrlaubMenueButtonClicked(re){try{this.Menuservice.UrlaubMenuebereich=re,this.Menuservice.UrlaubMenuebereich===this.Menuservice.ProjekteMenuebereiche.Aufgabenliste&&(this.Menuservice.Aufgabenlisteansicht=this.Menuservice.Aufgabenlisteansichten.Projekt),this.Menuservice.SetCurrentPage()}catch(we){this.Debug.ShowErrorMessage(we.message,"Page Header Menu","ProjekteMenueButtonClicked",this.Debug.Typen.Component)}}GetProjekteMenueIconcolor(re){try{return re===this.Menuservice.ProjekteMenuebereich?"schwarz":"weiss"}catch(we){this.Debug.ShowErrorMessage(we.message,"Page Header Menu","GetProjekteMenueIconcolor",this.Debug.Typen.Component)}}GetProjekteMenueFontcolor(re){try{return re===this.Menuservice.ProjekteMenuebereich?"#000000":"white"}catch(we){this.Debug.ShowErrorMessage(we.message,"Page Header Menu","GetProjekteMenueIconcolor",this.Debug.Typen.Component)}}GetUrlaubMenueIconcolor(re){try{return re===this.Menuservice.UrlaubMenuebereich?"schwarz":"weiss"}catch(we){this.Debug.ShowErrorMessage(we.message,"Page Header Menu","GetUrlaubMenueIconcolor",this.Debug.Typen.Component)}}GetUrlaubMenueFontcolor(re){try{return re===this.Menuservice.UrlaubMenuebereich?"#000000":"white"}catch(we){this.Debug.ShowErrorMessage(we.message,"Page Header Menu","GetUrlaubMenueFontcolor",this.Debug.Typen.Component)}}StandortButtonClicked(){try{this.StandortfilterClicked.emit()}catch(re){this.Debug.ShowErrorMessage(re.message,"Page Header Menu","StandortButtonClicked",this.Debug.Typen.Component)}}ZeitspaneClickedHandler(re){try{this.ZeitspanneFilterClicked.emit(re)}catch(we){this.Debug.ShowErrorMessage(we.message,"Page Header Menu","ZeitspaneClickedHandler",this.Debug.Typen.Component)}}LeistungsphaseClickedHandler(){try{this.LeistungsphaseFilterClicked.emit()}catch(re){this.Debug.ShowErrorMessage(re.message,"Page Header Menu","LeistungsphaseClickedHandler",this.Debug.Typen.Component)}}StatusFilterShowFaelligOnlyChanged(re){}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(re){this.Debug.ShowErrorMessage(re.message,"Page Header Menu","GetZeitfilterButtontext",this.Debug.Typen.Component)}}GetZeitfilterButtonwert(){try{let re,we,rt="";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?(re=(0,l.default)(this.Pool.Mitarbeitersettings.AufgabenTerminfilterStartwert),re.format("DD.MM.YYYY")):"Unbekannt";case this.Const.Faelligkeitsterminfiltervarianten.Bis_zum_Zeitpunkt:return null!==this.Pool.Mitarbeitersettings.AufgabenTerminfilterEndewert?(we=(0,l.default)(this.Pool.Mitarbeitersettings.AufgabenTerminfilterEndewert),we.format("DD.MM.YYYY")):"Unbekannt";case this.Const.Faelligkeitsterminfiltervarianten.Zeitspanne:return null!==this.Pool.Mitarbeitersettings.AufgabenTerminfilterStartwert?(re=(0,l.default)(this.Pool.Mitarbeitersettings.AufgabenTerminfilterStartwert),rt+=re.format("DD.MM.YYYY")):rt+="Unbekannt",rt+=" - ",null!==this.Pool.Mitarbeitersettings.AufgabenTerminfilterEndewert?(we=(0,l.default)(this.Pool.Mitarbeitersettings.AufgabenTerminfilterEndewert),rt+=we.format("DD.MM.YYYY")):rt+="Unbekannt",rt;case this.Const.Faelligkeitsterminfiltervarianten.Nur_diesen_Monat:case this.Const.Faelligkeitsterminfiltervarianten.Nur_diese_Woche:return"Unbekannt";default:return"kein Filter"}}}catch(re){this.Debug.ShowErrorMessage(re.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(re){this.Debug.ShowErrorMessage(re,"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(re){this.Debug.ShowErrorMessage(re,"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(re){this.Debug.ShowErrorMessage(re,"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(re){this.Debug.ShowErrorMessage(re,"Page Header Menu","ProjektClicked",this.Debug.Typen.Component)}}ProjektfilesClicked(){try{this.GraphService.FilebrowserModus=this.GraphService.FilebrowserModusvarianten.Current_Projekt,this.ShowProjektfilesEvent.emit()}catch(re){this.Debug.ShowErrorMessage(re,"Page Header Menu","ProjektfilesClicked",this.Debug.Typen.Component)}}ShowOpenFestlegungOnlyChanged(re){try{this.ShowOpenFestlegungOnly=re.status,this.ShowOpenFestlegungOnlyEvent.emit(re.status)}catch(we){this.Debug.ShowErrorMessage(we,"Page Header Menu","ShowOpenFestlegungOnlyChanged",this.Debug.Typen.Component)}}GetDatumtext(re){try{let rt=(0,l.default)().locale("de").clone().startOf("isoWeek");switch(re){case"Montag":return rt.format("DD.MM.");case"Dienstag":return rt.clone().add(1,"day").format("DD.MM.");case"Mittwoch":return rt.clone().add(2,"day").format("DD.MM.");case"Donnerstag":return rt.clone().add(3,"day").format("DD.MM.");case"Freitag":return rt.clone().add(4,"day").format("DD.MM.")}return""}catch(we){this.Debug.ShowErrorMessage(we,"Page Header Menu","GetDatumtext",this.Debug.Typen.Component)}}static \u0275fac=function(we){return new(we||Se)(i.\u0275\u0275directiveInject(e.DebugProvider),i.\u0275\u0275directiveInject(o.BasicsProvider),i.\u0275\u0275directiveInject(d.ConstProvider),i.\u0275\u0275directiveInject(v.DatabaseMitarbeiterService),i.\u0275\u0275directiveInject(M.DatabaseMitarbeitersettingsService),i.\u0275\u0275directiveInject(p.AuswahlDialogService),i.\u0275\u0275directiveInject(E.DatabaseStandorteService),i.\u0275\u0275directiveInject(S.DatabaseUrlaubService),i.\u0275\u0275directiveInject(y.Graphservice),i.\u0275\u0275directiveInject(f.DatabaseAuthenticationService),i.\u0275\u0275directiveInject(C.DatabasePoolService),i.\u0275\u0275directiveInject(_.MenueService))};static \u0275cmp=i.\u0275\u0275defineComponent({type:Se,selectors:[["page-header-menu"]],viewQuery:function(we,rt){if(1&we&&(i.\u0275\u0275viewQuery(L,5),i.\u0275\u0275viewQuery(N,5),i.\u0275\u0275viewQuery(V,5)),2&we){let tt;i.\u0275\u0275queryRefresh(tt=i.\u0275\u0275loadQuery())&&(rt.Suchleiste=tt.first),i.\u0275\u0275queryRefresh(tt=i.\u0275\u0275loadQuery())&&(rt.Suchleiste2=tt.first),i.\u0275\u0275queryRefresh(tt=i.\u0275\u0275loadQuery())&&(rt.Sucheiste3=tt)}},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",UrlaubMitarbeiterMeClicked:"UrlaubMitarbeiterMeClicked",JahrButtonClicked:"JahrButtonClicked"},decls:1,vars:1,consts:[[4,"ngIf"],[2,"width","100%"],[2,"width","auto"],[2,"width","10px"],[2,"width","50px"],[1,"menubuttonclass",3,"mouseenter","mouseleave","click"],[1,"paddingsmalltable"],["name","home-outline",2,"font-size","16px",3,"color"],["align","center",1,"trennertdclass"],["name","log-out-outline",2,"font-size","18px",3,"color"],[1,"trennerdivclass"],["name","sunny-outline",2,"font-size","18px",3,"color"],[1,"menubuttonclass",3,"click"],["name","create-outline",2,"font-size","16px",3,"color"],[2,"white-space","nowrap"],[2,"width","20px"],["name","calendar-outline",2,"font-size","16px",3,"color"],["name","thumbs-up-outline",2,"font-size","16px",3,"color"],["name","settings-outline",2,"font-size","16px",3,"color"],[2,"width","60px"],["style","font-size: 90%; color: white;",4,"ngIf"],[2,"width","120px"],["name","apps-outline",2,"font-size","16px",3,"color"],["color","rot"],["src","assets/svgs/alert.svg",2,"width","24px"],[2,"font-size","90%","color","white"],["size","small","color","grau",3,"click"],["size","small","color","grau","slot","icon-only",3,"click"],["name","person-circle-outline"],["name","arrow-back-circle-outline",2,"font-size","16px",3,"color"],["placeholder","Suche"],["Suchleiste",""],[1,"menufilterbuttonclass",3,"click"],["name","funnel-outline","color","weiss",2,"font-size","16px"],[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(we,rt){1&we&&i.\u0275\u0275template(0,_e,15,7,"ng-container",0),2&we&&i.\u0275\u0275property("ngIf",null!==rt.AuthService.ActiveUser)},dependencies:[w.NgIf,D.IonBadge,D.IonButton,D.IonIcon,D.IonSearchbar,D.TextValueAccessor],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 Se})()},6168:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.PageHeaderMenuModule=void 0;const n=s(81316),c=s(92512),u=s(91368),l=s(72284),i=s(7388),e=s(22844),o=n.__importStar(s(54496));m.PageHeaderMenuModule=(()=>{class v{static \u0275fac=function(E){return new(E||v)};static \u0275mod=o.\u0275\u0275defineNgModule({type:v});static \u0275inj=o.\u0275\u0275defineInjector({imports:[u.CommonModule,c.IonicModule,l.ButtonValueModule,i.CheckboxClonModule,e.ButtonValueDateModule]})}return v})()},70216:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.PageHeaderModule=void 0;const n=s(81316),c=s(92512),u=s(91368),l=n.__importStar(s(54496));m.PageHeaderModule=(()=>{class e{static \u0275fac=function(v){return new(v||e)};static \u0275mod=l.\u0275\u0275defineNgModule({type:e});static \u0275inj=l.\u0275\u0275defineInjector({imports:[u.CommonModule,c.IonicModule]})}return e})()},90212:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.PageHeaderComponent=void 0;const n=s(81316),c=s(54496),u=n.__importStar(s(54496)),l=n.__importStar(s(34388)),i=n.__importStar(s(14652)),e=n.__importStar(s(7992)),o=n.__importStar(s(29743)),d=n.__importStar(s(91368)),v=n.__importStar(s(92512)),M=["PageHeaderDiv"];function p(y,f){if(1&y&&(u.\u0275\u0275elementStart(0,"div",3)(1,"table",4)(2,"tr")(3,"td")(4,"div",5),u.\u0275\u0275text(5),u.\u0275\u0275elementEnd()()(),u.\u0275\u0275elementStart(6,"tr")(7,"td")(8,"div",6)(9,"table",7)(10,"tr")(11,"td",8),u.\u0275\u0275text(12),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(13,"tr")(14,"td"),u.\u0275\u0275element(15,"ion-progress-bar",9),u.\u0275\u0275elementEnd()()()()()(),u.\u0275\u0275elementStart(16,"tr")(17,"td"),u.\u0275\u0275element(18,"div",10),u.\u0275\u0275elementEnd()()()()),2&y){const C=u.\u0275\u0275nextContext();u.\u0275\u0275advance(5),u.\u0275\u0275textInterpolate1(" ",C.ProgressMessage," "),u.\u0275\u0275advance(7),u.\u0275\u0275textInterpolate1(" ",C.Pool.ProgressMessage," "),u.\u0275\u0275advance(3),u.\u0275\u0275property("value",C.Pool.CurrentProgressValue/C.Pool.MaxProgressValue)}}const E=["*"];m.PageHeaderComponent=(()=>{class y{Debug;Basics;Pool;Const;PageHeaderDiv;ProgressMessage;constructor(C,_,w,D){this.Debug=C,this.Basics=_,this.Pool=w,this.Const=D;try{this.ProgressMessage="Stammdaten werden geladen werden geladen"}catch(L){this.Debug.ShowErrorMessage(L.message,"Page Header","Construktor",this.Debug.Typen.Component)}}ngOnInit(){}static \u0275fac=function(_){return new(_||y)(u.\u0275\u0275directiveInject(l.DebugProvider),u.\u0275\u0275directiveInject(i.BasicsProvider),u.\u0275\u0275directiveInject(e.DatabasePoolService),u.\u0275\u0275directiveInject(o.ConstProvider))};static \u0275cmp=u.\u0275\u0275defineComponent({type:y,selectors:[["page-header"]],viewQuery:function(_,w){if(1&_&&u.\u0275\u0275viewQuery(M,7,c.ElementRef),2&_){let D;u.\u0275\u0275queryRefresh(D=u.\u0275\u0275loadQuery())&&(w.PageHeaderDiv=D.first)}},inputs:{ProgressMessage:"ProgressMessage"},ngContentSelectors:E,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(_,w){1&_&&(u.\u0275\u0275projectionDef(),u.\u0275\u0275elementStart(0,"div",0,1),u.\u0275\u0275projection(2),u.\u0275\u0275template(3,p,19,3,"div",2),u.\u0275\u0275elementEnd()),2&_&&(u.\u0275\u0275advance(3),u.\u0275\u0275property("ngIf",w.Pool.ShowProgress))},dependencies:[d.NgIf,v.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 y})()},54588:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.PageModalKeepermodule=void 0;const n=s(81316),c=s(92512),u=s(91368),l=s(70216),i=n.__importStar(s(54496));m.PageModalKeepermodule=(()=>{class o{static \u0275fac=function(M){return new(M||o)};static \u0275mod=i.\u0275\u0275defineNgModule({type:o});static \u0275inj=i.\u0275\u0275defineInjector({imports:[u.CommonModule,c.IonicModule,l.PageHeaderModule]})}return o})()},6232:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.UrlausplanungKalenderModule=void 0;const n=s(81316),c=s(92512),u=s(91368),l=s(44716),i=s(90520),e=s(89300),o=n.__importStar(s(54496));m.UrlausplanungKalenderModule=(()=>{class v{static \u0275fac=function(E){return new(E||v)};static \u0275mod=o.\u0275\u0275defineNgModule({type:v});static \u0275inj=o.\u0275\u0275defineInjector({imports:[u.CommonModule,c.IonicModule,l.ReactiveFormsModule,l.FormsModule,i.PageFooterModule,e.PageHeaderCenterModule]})}return v})()},77440:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.UrlaubsplanungKalenderComponent=void 0;const n=s(81316),c=s(54496),u=n.__importDefault(s(35908));s(94091);const l=n.__importStar(s(17964)),i=n.__importStar(s(54496)),e=n.__importStar(s(34388)),o=n.__importStar(s(14652)),d=n.__importStar(s(7992)),v=n.__importStar(s(21052)),M=n.__importStar(s(9544)),p=n.__importStar(s(19668)),E=n.__importStar(s(29743)),S=n.__importStar(s(91368)),y=n.__importStar(s(92512));function f(tt,wt){1&tt&&i.\u0275\u0275element(0,"div",12)}function C(tt,wt){1&tt&&i.\u0275\u0275element(0,"div",12)}function _(tt,wt){1&tt&&i.\u0275\u0275element(0,"div",12)}function w(tt,wt){1&tt&&i.\u0275\u0275element(0,"div",12)}function D(tt,wt){1&tt&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275element(1,"div",12),i.\u0275\u0275elementContainerEnd())}function L(tt,wt){1&tt&&i.\u0275\u0275element(0,"div",17)}function N(tt,wt){1&tt&&i.\u0275\u0275element(0,"div",17)}function V(tt,wt){1&tt&&i.\u0275\u0275element(0,"div",17)}function G(tt,wt){1&tt&&i.\u0275\u0275element(0,"div",17)}function R(tt,wt){1&tt&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275element(1,"div",17),i.\u0275\u0275elementContainerEnd())}const k=()=>[];function A(tt,wt){if(1&tt&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275elementStart(1,"div",5)(2,"div",15),i.\u0275\u0275text(3),i.\u0275\u0275elementEnd(),i.\u0275\u0275template(4,L,1,0,"div",16)(5,N,1,0,"div",16)(6,V,1,0,"div",16)(7,G,1,0,"div",16)(8,R,2,0,"ng-container",7),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementContainerEnd()),2&tt){const ye=i.\u0275\u0275nextContext().$implicit,Te=i.\u0275\u0275nextContext(),ht=Te.$implicit,Ft=Te.index,nn=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(3),i.\u0275\u0275textInterpolate(ye.Tagnummer),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",nn.DB.ShowFerientage_DE),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",nn.DB.ShowFerientage_BG),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",nn.DB.ShowFeiertage_DE),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",nn.DB.ShowFeiertage_BG),i.\u0275\u0275advance(),i.\u0275\u0275property("ngForOf",i.\u0275\u0275pureFunction0(6,k).constructor(nn.GetMaxExternUrlaubseintraege(ht[Ft].Kalenderwoche)))}}function H(tt,wt){1&tt&&(i.\u0275\u0275elementStart(0,"tr")(1,"td",20),i.\u0275\u0275text(2,"H"),i.\u0275\u0275elementEnd()())}function K(tt,wt){1&tt&&(i.\u0275\u0275elementStart(0,"tr")(1,"td",20),i.\u0275\u0275text(2,"HO"),i.\u0275\u0275elementEnd()())}function ie(tt,wt){1&tt&&i.\u0275\u0275element(0,"ion-icon",25)}function J(tt,wt){if(1&tt){const ye=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"div",23),i.\u0275\u0275listener("mouseenter",function(){i.\u0275\u0275restoreView(ye);const ht=i.\u0275\u0275nextContext(3).$implicit,Ft=i.\u0275\u0275nextContext(3);return i.\u0275\u0275resetView(Ft.FerientagMouseOverEvent(ht,"DE"))})("mouseleave",function(){i.\u0275\u0275restoreView(ye);const ht=i.\u0275\u0275nextContext(6);return i.\u0275\u0275resetView(ht.FerientagCrossedEvent.emit({Name:"",Laendercode:""}))}),i.\u0275\u0275template(1,ie,1,0,"ion-icon",24),i.\u0275\u0275elementEnd()}if(2&tt){const ye=i.\u0275\u0275nextContext(3).$implicit,Te=i.\u0275\u0275nextContext(3);i.\u0275\u0275styleProp("background",ye.IsFerientag_DE?Te.DB.Ferienfarbe_DE:ye.Background),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",ye.IsFerientag_DE)}}function be(tt,wt){1&tt&&i.\u0275\u0275element(0,"ion-icon",27)}function ce(tt,wt){if(1&tt){const ye=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"div",23),i.\u0275\u0275listener("mouseenter",function(){i.\u0275\u0275restoreView(ye);const ht=i.\u0275\u0275nextContext(3).$implicit,Ft=i.\u0275\u0275nextContext(3);return i.\u0275\u0275resetView(Ft.FerientagMouseOverEvent(ht,"BG"))})("mouseleave",function(){i.\u0275\u0275restoreView(ye);const ht=i.\u0275\u0275nextContext(6);return i.\u0275\u0275resetView(ht.FerientagCrossedEvent.emit({Name:"",Laendercode:""}))}),i.\u0275\u0275template(1,be,1,0,"ion-icon",26),i.\u0275\u0275elementEnd()}if(2&tt){const ye=i.\u0275\u0275nextContext(3).$implicit,Te=i.\u0275\u0275nextContext(3);i.\u0275\u0275styleProp("background",ye.IsFerientag_BG?Te.DB.Ferienfarbe_BG:ye.Background),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",ye.IsFerientag_BG)}}function Ge(tt,wt){1&tt&&i.\u0275\u0275element(0,"ion-icon",30)}function ct(tt,wt){if(1&tt){const ye=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"div",28),i.\u0275\u0275listener("mouseenter",function(){i.\u0275\u0275restoreView(ye);const ht=i.\u0275\u0275nextContext(3).$implicit,Ft=i.\u0275\u0275nextContext(3);return i.\u0275\u0275resetView(Ft.FeietragMouseOverEvent(ht,"DE"))})("mouseleave",function(){i.\u0275\u0275restoreView(ye);const ht=i.\u0275\u0275nextContext(6);return i.\u0275\u0275resetView(ht.FeiertagCrossedEvent.emit({Name:"",Laendercode:""}))}),i.\u0275\u0275template(1,Ge,1,0,"ion-icon",29),i.\u0275\u0275elementEnd()}if(2&tt){const ye=i.\u0275\u0275nextContext(3).$implicit,Te=i.\u0275\u0275nextContext(3);i.\u0275\u0275styleProp("background",ye.IsFeiertag_DE?Te.DB.Feiertagefarbe_DE:ye.Background),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",ye.IsFeiertag_DE)}}function Oe(tt,wt){1&tt&&i.\u0275\u0275element(0,"ion-icon",32)}function ke(tt,wt){if(1&tt){const ye=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"div",28),i.\u0275\u0275listener("mouseenter",function(){i.\u0275\u0275restoreView(ye);const ht=i.\u0275\u0275nextContext(3).$implicit,Ft=i.\u0275\u0275nextContext(3);return i.\u0275\u0275resetView(Ft.FeietragMouseOverEvent(ht,"BG"))})("mouseleave",function(){i.\u0275\u0275restoreView(ye);const ht=i.\u0275\u0275nextContext(6);return i.\u0275\u0275resetView(ht.FeiertagCrossedEvent.emit({Name:"",Laendercode:""}))}),i.\u0275\u0275template(1,Oe,1,0,"ion-icon",31),i.\u0275\u0275elementEnd()}if(2&tt){const ye=i.\u0275\u0275nextContext(3).$implicit,Te=i.\u0275\u0275nextContext(3);i.\u0275\u0275styleProp("background",ye.IsFeiertag_BG?Te.DB.Feiertagefarbe_BG:ye.Background),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",ye.IsFeiertag_BG)}}function Re(tt,wt){if(1&tt){const ye=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"div",35),i.\u0275\u0275listener("click",function(ht){i.\u0275\u0275restoreView(ye);const Ft=i.\u0275\u0275nextContext(2).$implicit,nn=i.\u0275\u0275nextContext(3).index,Yt=i.\u0275\u0275nextContext().index,Zt=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(Zt.ExternUrlaubstagClicked(ht,Ft[Yt][nn].MitarbeiterID))}),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()}if(2&tt){const ye=i.\u0275\u0275nextContext(2).$implicit,Te=i.\u0275\u0275nextContext(3).index,ht=i.\u0275\u0275nextContext().index;i.\u0275\u0275styleProp("background",ye[ht][Te].Background),i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate1(" ",ye[ht][Te].Kuerzel," ")}}function Qe(tt,wt){if(1&tt&&(i.\u0275\u0275elementStart(0,"div",36),i.\u0275\u0275text(1),i.\u0275\u0275elementEnd()),2&tt){const ye=i.\u0275\u0275nextContext(2).$implicit,Te=i.\u0275\u0275nextContext(3).index,ht=i.\u0275\u0275nextContext().index;i.\u0275\u0275styleProp("background",ye[ht][Te].Background),i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate1(" ",ye[ht][Te].Kuerzel," | HO ")}}function $e(tt,wt){if(1&tt&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275template(1,Re,2,3,"div",33)(2,Qe,2,3,"div",34),i.\u0275\u0275elementContainerEnd()),2&tt){const ye=i.\u0275\u0275nextContext().$implicit,Te=i.\u0275\u0275nextContext(3).index,ht=i.\u0275\u0275nextContext().index,Ft=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",ye[ht][Te].IsUrlaub),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",ye[ht][Te].IsHomeoffice&&Ft.Pool.Mitarbeitersettings.ShowHomeoffice)}}function Be(tt,wt){if(1&tt&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275template(1,$e,3,2,"ng-container",14),i.\u0275\u0275elementContainerEnd()),2&tt){const ye=wt.$implicit,Te=i.\u0275\u0275nextContext(3).index,ht=i.\u0275\u0275nextContext().index,Ft=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",!Ft.lodash.isUndefined(ye[ht])&&!Ft.lodash.isUndefined(ye[ht][Te]))}}function _e(tt,wt){if(1&tt){const ye=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275elementStart(1,"div",18),i.\u0275\u0275listener("click",function(ht){i.\u0275\u0275restoreView(ye);const Ft=i.\u0275\u0275nextContext(2),nn=Ft.$implicit,Yt=Ft.index,Zt=i.\u0275\u0275nextContext().index,Mn=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(Mn.TagClicked(ht,nn,Zt,Yt))}),i.\u0275\u0275elementStart(2,"div",19)(3,"table")(4,"tr")(5,"td",20),i.\u0275\u0275text(6),i.\u0275\u0275elementEnd()(),i.\u0275\u0275template(7,H,3,0,"tr",14)(8,K,3,0,"tr",14),i.\u0275\u0275elementEnd()(),i.\u0275\u0275template(9,J,2,3,"div",21)(10,ce,2,3,"div",21)(11,ct,2,3,"div",22)(12,ke,2,3,"div",22)(13,Be,2,1,"ng-container",7),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementContainerEnd()}if(2&tt){const ye=i.\u0275\u0275nextContext(2).$implicit,Te=i.\u0275\u0275nextContext(3);i.\u0275\u0275advance(2),i.\u0275\u0275styleProp("background",Te.GetTagBackground(ye))("color",ye.Color),i.\u0275\u0275advance(4),i.\u0275\u0275textInterpolate(ye.Tagnummer),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",ye.IsHalberUrlaubstag),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",ye.IsHomeoffice&&Te.Pool.Mitarbeitersettings.ShowHomeoffice),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",Te.DB.ShowFerientage_DE),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",Te.DB.ShowFerientage_BG),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",Te.DB.ShowFeiertage_DE),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",Te.DB.ShowFeiertage_BG),i.\u0275\u0275advance(),i.\u0275\u0275property("ngForOf",Te.KalendertageExternliste)}}function Me(tt,wt){if(1&tt&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275text(1),i.\u0275\u0275elementContainerEnd()),2&tt){const ye=i.\u0275\u0275nextContext(2).$implicit;i.\u0275\u0275advance(),i.\u0275\u0275textInterpolate1(" ",ye.Tagnummer," ")}}function Se(tt,wt){if(1&tt&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275template(1,_e,14,12,"ng-container",14)(2,Me,2,1,"ng-container",14),i.\u0275\u0275elementContainerEnd()),2&tt){const ye=i.\u0275\u0275nextContext().$implicit,Te=i.\u0275\u0275nextContext(3);i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",!0===ye.Hauptmonat&&null!==Te.Pool.Mitarbeitersettings),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",!1===ye.Hauptmonat)}}function je(tt,wt){if(1&tt&&(i.\u0275\u0275elementStart(0,"td",13),i.\u0275\u0275template(1,A,9,7,"ng-container",14)(2,Se,3,2,"ng-container",14),i.\u0275\u0275elementEnd()),2&tt){const Te=wt.index;i.\u0275\u0275styleProp("color",!0===wt.$implicit.Hauptmonat?"black":"darkgray"),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",Te>=5),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",Te<5)}}function re(tt,wt){if(1&tt&&(i.\u0275\u0275elementStart(0,"tr")(1,"td",8)(2,"div",5)(3,"div",9),i.\u0275\u0275text(4),i.\u0275\u0275elementEnd(),i.\u0275\u0275template(5,f,1,0,"div",10)(6,C,1,0,"div",10)(7,_,1,0,"div",10)(8,w,1,0,"div",10)(9,D,2,0,"ng-container",7),i.\u0275\u0275elementEnd()(),i.\u0275\u0275template(10,je,3,4,"td",11),i.\u0275\u0275elementEnd()),2&tt){const ye=wt.$implicit,Te=wt.index,ht=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(4),i.\u0275\u0275textInterpolate(ye[Te].Kalenderwoche),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",ht.DB.ShowFerientage_DE),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",ht.DB.ShowFerientage_BG),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",ht.DB.ShowFeiertage_DE),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",ht.DB.ShowFeiertage_BG),i.\u0275\u0275advance(),i.\u0275\u0275property("ngForOf",i.\u0275\u0275pureFunction0(7,k).constructor(ht.GetMaxExternUrlaubseintraege(ye[Te].Kalenderwoche))),i.\u0275\u0275advance(),i.\u0275\u0275property("ngForOf",ye)}}function we(tt,wt){if(1&tt&&(i.\u0275\u0275elementStart(0,"div",1)(1,"table",2)(2,"tr")(3,"td",3),i.\u0275\u0275text(4),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(5,"tr")(6,"td",4)(7,"div",5)(8,"div",6),i.\u0275\u0275text(9,"KW"),i.\u0275\u0275elementEnd()()(),i.\u0275\u0275elementStart(10,"td",4)(11,"div",5)(12,"div",6),i.\u0275\u0275text(13,"Mo"),i.\u0275\u0275elementEnd()()(),i.\u0275\u0275elementStart(14,"td",4)(15,"div",5)(16,"div",6),i.\u0275\u0275text(17,"Di"),i.\u0275\u0275elementEnd()()(),i.\u0275\u0275elementStart(18,"td",4)(19,"div",5)(20,"div",6),i.\u0275\u0275text(21,"Mi"),i.\u0275\u0275elementEnd()()(),i.\u0275\u0275elementStart(22,"td",4)(23,"div",5)(24,"div",6),i.\u0275\u0275text(25,"Do"),i.\u0275\u0275elementEnd()()(),i.\u0275\u0275elementStart(26,"td",4)(27,"div",5)(28,"div",6),i.\u0275\u0275text(29,"Fr"),i.\u0275\u0275elementEnd()()(),i.\u0275\u0275elementStart(30,"td",4)(31,"div",5)(32,"div",6),i.\u0275\u0275text(33,"Sa"),i.\u0275\u0275elementEnd()()(),i.\u0275\u0275elementStart(34,"td",4)(35,"div",5)(36,"div",6),i.\u0275\u0275text(37,"So"),i.\u0275\u0275elementEnd()()()(),i.\u0275\u0275template(38,re,11,8,"tr",7),i.\u0275\u0275elementEnd()()),2&tt){const ye=i.\u0275\u0275nextContext();i.\u0275\u0275advance(4),i.\u0275\u0275textInterpolate1(" ",ye.GetMonatname()," "),i.\u0275\u0275advance(34),i.\u0275\u0275property("ngForOf",ye.Kalendertageliste)}}m.UrlaubsplanungKalenderComponent=(()=>{class tt{Debug;Basics;Pool;Displayservice;DB;Tools;Const;ShowProtokollpunkte;Iconname;Dialogbreite;Dialoghoehe;PositionY;ZIndex;Monatindex;Jahr;AddUrlaubRunning;AddHomeofficerunning;AddHalberUrlaubstagRunning;ShowYear;FeiertagCrossedEvent=new c.EventEmitter;FerientagCrossedEvent=new c.EventEmitter;AddUrlaubFinishedEvent=new c.EventEmitter;AddHomeofficeFinishedEvent=new c.EventEmitter;ExternUrlaubstagClickedEvent=new c.EventEmitter;Kalendertageliste;KalendertageExternliste;DataSubscription;MonateSubscription;Monatname;ExterneUrlaubSubscription;UrlaubStatusSubscription;HomeofficeStatusSubscription;ExterneHomeofficeSubscription;CurrentTagindex;CurrentWochenindex;CancelUrlaubSubscription;UpdateKalenderSubscription;constructor(ye,Te,ht,Ft,nn,Yt,Zt){this.Debug=ye,this.Basics=Te,this.Pool=ht,this.Displayservice=Ft,this.DB=nn,this.Tools=Yt,this.Const=Zt;try{this.Dialogbreite=300,this.Dialoghoehe=400,this.Jahr=2023,this.ShowProtokollpunkte=!0,this.Kalendertageliste=[],this.KalendertageExternliste=[],this.Monatname="none",this.AddUrlaubRunning=!1,this.AddHomeofficerunning=!1,this.Monatindex=0,this.ShowYear=!1,this.CurrentWochenindex=null,this.CurrentTagindex=null,this.Monatname=this.DB.Monateliste[this.Monatindex],this.DataSubscription=null,this.MonateSubscription=null,this.ExterneUrlaubSubscription=null,this.UrlaubStatusSubscription=null,this.HomeofficeStatusSubscription=null,this.ExterneHomeofficeSubscription=null,this.CancelUrlaubSubscription=null}catch(Mn){this.Debug.ShowErrorMessage(Mn.message,"Urlaubsplanung Kalender","Construktor",this.Debug.Typen.Component)}}ngOnChanges(ye){try{let ht=ye.AddHomeofficerunning;l.isUndefined(ye.Monatindex)||this.PrepareData(),l.isUndefined(ht)||!1===ht.firstChange&&!1===ht.previousValue&&!0===ht.currentValue&&(this.DB.CurrentHomeofficecounter=0)}catch(Te){this.Debug.ShowErrorMessage(Te,"Urlaubsplanung Kalender","ngOnChanges",this.Debug.Typen.Component)}}PrepareData(){try{let ye,Te,ht,Ft,nn,Zt,Mn,Un,zt,Hn,kn,ln,ft,Yt=this.Monatindex+1;this.Monatname=this.DB.Monateliste[this.Monatindex],Yt=Yt<10?"0"+Yt.toString():Yt.toString(),ye=(0,u.default)(this.Jahr.toString()+"-"+Yt,"YYYY-MM").daysInMonth(),Te=ye;let Pe=(0,u.default)().set({date:1,month:this.Monatindex,year:this.Jahr,hour:8,minute:0}).locale("de"),le=(0,u.default)().set({date:ye,month:this.Monatindex,year:this.Jahr,hour:8,minute:0}).locale("de");ht=Pe.isoWeekday(),Ft=ht-1,Te+=Ft,Mn=Pe.clone().subtract(Ft,"day"),zt=Mn.clone(),ht=le.isoWeekday(),Ft=7-ht,Te+=Ft,nn=Te/7,kn=zt.clone(),this.Kalendertageliste=[];for(let he=0;he{this.PrepareData()}),this.MonateSubscription=this.DB.PlanungsmonateChanged.subscribe(()=>{this.PrepareData()}),this.ExterneUrlaubSubscription=this.DB.ExterneUrlaubeChanged.subscribe(()=>{this.PrepareData()}),this.ExterneHomeofficeSubscription=this.DB.ExterneHomeofficeChanged.subscribe(()=>{this.PrepareData()}),this.UrlaubStatusSubscription=this.DB.UrlaubStatusChanged.subscribe(()=>{this.PrepareData()}),this.HomeofficeStatusSubscription=this.DB.HomeofficeStatusChanged.subscribe(()=>{this.PrepareData()}),this.CancelUrlaubSubscription=this.DB.AddUrlaubCancelEvent.subscribe(()=>{this.CancelUrlaub()}),this.UpdateKalenderSubscription=this.DB.UpdateKalenderRequestEvent.subscribe(()=>{this.PrepareData()})}catch(ye){this.Debug.ShowErrorMessage(ye.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,this.HomeofficeStatusSubscription.unsubscribe(),this.HomeofficeStatusSubscription=null,this.ExterneHomeofficeSubscription.unsubscribe(),this.ExterneHomeofficeSubscription=null,this.CancelUrlaubSubscription.unsubscribe(),this.CancelUrlaubSubscription=null,this.UpdateKalenderSubscription.unsubscribe(),this.UpdateKalenderSubscription=null}catch(ye){this.Debug.ShowErrorMessage(ye.message,"Urlaubsplanung Kalender","ngOnDestroy",this.Debug.Typen.Component)}}FeietragMouseOverEvent(ye,Te){try{let ht="",Ft=(0,u.default)(ye.Tagstempel).locale("DE"===Te?"de":"en");(ye.IsFeiertag_DE||ye.IsFeiertag_BG)&&("DE"===Te&&ye.IsFeiertag_DE?(ht=ye.Feiertagname_DE+" / "+Ft.format("D. MMMM YYYY"),this.FeiertagCrossedEvent.emit({Name:ht,Laendercode:Te})):"BG"===Te&&ye.IsFeiertag_BG&&(ht=ye.Feiertagname_BG+" / "+Ft.format("D. MMMM YYYY"),this.FeiertagCrossedEvent.emit({Name:ht,Laendercode:Te})))}catch(ht){this.Debug.ShowErrorMessage(ht,"Urlaubsplanung Kalender","FeietragMouseOverEvent",this.Debug.Typen.Component)}}FerientagMouseOverEvent(ye,Te){try{this.FerientagCrossedEvent.emit({Name:"DE"===Te?ye.Ferienname_DE:ye.Ferienname_BG,Laendercode:Te})}catch(ht){this.Debug.ShowErrorMessage(ht,"Urlaubsplanung Kalender","FerientagMouseOverEvent",this.Debug.Typen.Component)}}TagClicked(ye,Te,ht,Ft){try{let nn,Yt,Zt,Mn,Hn,ft,Pe,Un=0,zt="DE"===this.DB.Laendercode?Te.IsFeiertag_DE:Te.IsFeiertag_BG,kn=Te.IsUrlaub&&null===this.DB.CurrentUrlaubzeitspanne,ln=Te.IsHomeoffice,le=(0,u.default)();if(ye.stopPropagation(),ye.preventDefault(),this.CurrentTagindex=Ft,this.CurrentWochenindex=ht,this.AddUrlaubRunning)if(!1===zt&&!1===ln&&!1===kn)if(null===this.DB.CurrentUrlaubzeitspanne)this.DB.CurrentUrlaubzeitspanne=this.DB.GetEmptyUrlaubszeitspanne(),this.DB.CurrentUrlaubzeitspanne.Startstempel=Te.Tagstempel,this.DB.CurrentUrlaubzeitspanne.Startstring=Te.Datumstring,Te.Background=this.DB.Urlaubsfaben.Geplant,Te.IsUrlaub=!0,Te.Color="white";else if(Zt=(0,u.default)(this.DB.CurrentUrlaubzeitspanne.Startstempel),ft=Zt.isoWeekday()-1,Pe=Ft,nn=(0,u.default)(Te.Tagstempel),!0===nn.isSameOrAfter(Zt,"day")&&nn.isSame(Zt,"week")){this.DB.CurrentUrlaubzeitspanne.Endestempel=Te.Tagstempel,this.DB.CurrentUrlaubzeitspanne.Endestring=Te.Datumstring,nn.isSameOrBefore(le)&&(this.DB.CurrentUrlaubzeitspanne.Status=this.DB.Urlaubstatusvarianten.Genehmigt,this.DB.CurrentUrlaubzeitspanne.FreigabeanfrageSended=!0,this.DB.CurrentUrlaubzeitspanne.FreigabeantwortSended=!0,this.DB.CurrentUrlaubzeitspanne.FreigabeantwortOfficeSended=!0,this.DB.CurrentUrlaubzeitspanne.Planungmeldung="Der Urlaub befand sich zum Tage der Eintragung am "+le.format("DD.MM.YYYY")+" in der Vergangenheit.");for(let he=ft;he<=Pe;he++)Mn=this.Kalendertageliste[ht][he],zt="DE"===this.DB.Laendercode?Mn.IsFeiertag_DE:Mn.IsFeiertag_BG,!1===zt&&(Mn.Background=this.DB.Urlaubsfaben.Geplant,Mn.IsUrlaub=!0,Mn.Color="white",Un++);this.DB.CurrentUrlaubzeitspanne.Tageanzahl=Un,Hn=this.DB.CountResturlaub(),Hn-Un>=0?this.AddUrlaubFinishedEvent.emit(!0):(this.Tools.ShowHinweisDialog("Du hast nur noch "+Hn+" Tage Resturlaub."),this.DB.CurrentUrlaubzeitspanne=null,window.setTimeout(()=>{for(let he=ft;he0)for(let nn=0;nnFt&&(Ft=ht.length));return Ft}catch(Te){this.Debug.ShowErrorMessage(Te,"Urlaubsplanung Kalender","GetMaxExternUrlaubseintraege",this.Debug.Typen.Component)}}ExternUrlaubstagClicked(ye,Te){try{ye.preventDefault(),ye.stopPropagation(),this.ExternUrlaubstagClickedEvent.emit(Te)}catch(ht){this.Debug.ShowErrorMessage(ht,"Urlaubsplanung Kalender","ExternUrlaubstagClicked",this.Debug.Typen.Component)}}static \u0275fac=function(Te){return new(Te||tt)(i.\u0275\u0275directiveInject(e.DebugProvider),i.\u0275\u0275directiveInject(o.BasicsProvider),i.\u0275\u0275directiveInject(d.DatabasePoolService),i.\u0275\u0275directiveInject(v.DisplayService),i.\u0275\u0275directiveInject(M.DatabaseUrlaubService),i.\u0275\u0275directiveInject(p.ToolsProvider),i.\u0275\u0275directiveInject(E.ConstProvider))};static \u0275cmp=i.\u0275\u0275defineComponent({type:tt,selectors:[["urlaubsplanung-kalender"]],inputs:{ShowProtokollpunkte:"ShowProtokollpunkte",Iconname:"Iconname",Dialogbreite:"Dialogbreite",Dialoghoehe:"Dialoghoehe",PositionY:"PositionY",ZIndex:"ZIndex",Monatindex:"Monatindex",Jahr:"Jahr",AddUrlaubRunning:"AddUrlaubRunning",AddHomeofficerunning:"AddHomeofficerunning",AddHalberUrlaubstagRunning:"AddHalberUrlaubstagRunning",ShowYear:"ShowYear"},outputs:{FeiertagCrossedEvent:"FeiertagCrossedEvent",FerientagCrossedEvent:"FerientagCrossedEvent",AddUrlaubFinishedEvent:"AddUrlaubFinishedEvent",AddHomeofficeFinishedEvent:"AddHomeofficeFinishedEvent",ExternUrlaubstagClickedEvent:"ExternUrlaubstagClickedEvent"},features:[i.\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"],["valign","top"],[1,"kwinfodivclass"],["class","taginfospacedivclass",4,"ngIf"],["align","center","valign","top",3,"color",4,"ngFor","ngForOf"],[1,"taginfospacedivclass"],["align","center","valign","top"],[4,"ngIf"],[1,"wochenendedivclass"],["class","wochenendespacedivclass",4,"ngIf"],[1,"wochenendespacedivclass"],[1,"tagrahmenclass",3,"click"],[1,"tagdivclass"],[2,"text-align","center"],["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","click",4,"ngIf"],["class","tagexterndivclass",3,"background",4,"ngIf"],[1,"tagexterndivclass",3,"click"],[1,"tagexterndivclass"]],template:function(Te,ht){1&Te&&i.\u0275\u0275template(0,we,39,2,"div",0),2&Te&&i.\u0275\u0275property("ngIf",null!==ht.Pool.Mitarbeitersettings)},dependencies:[S.NgForOf,S.NgIf,y.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%;height: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:26px;color:#307ac1}.kwinfodivclass[_ngcontent-%COMP%]{font-weight:700;width:100%;display:flex;justify-content:center;align-items:center;height:30px;color:#307ac1}.taginfospacedivclass[_ngcontent-%COMP%]{color:red;height:20px;width:100%}.wochenendedivclass[_ngcontent-%COMP%]{font-weight:700;color:#fff;width:100%;display:flex;justify-content:center;align-items:center;height:30px;background:#34495e}.wochenendespacedivclass[_ngcontent-%COMP%]{background:#34495e;height:20px;width:100%}.tagdivclass[_ngcontent-%COMP%]{cursor:pointer;font-weight:700;color:#000;width:100%;height:30px;display:flex;justify-content:center;align-items:center}.tagexterndivclass[_ngcontent-%COMP%]{border-top:1px solid red;cursor:pointer;color:#fff;font-size:80%;font-weight:700;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 tt})()},66068:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.CommonEinstellungenPageModule=void 0;const n=s(81316),c=s(91368),u=s(92512),l=s(44716),i=s(42764),e=s(70216),o=s(53076),d=s(6168),v=s(90520),M=s(7388),p=s(72284),E=s(10272),S=s(84104),y=n.__importStar(s(54496)),C=(n.__importStar(s(53076)),[{path:"",component:i.CommonEinstellungenPage}]);m.CommonEinstellungenPageModule=(()=>{class w{static \u0275fac=function(N){return new(N||w)};static \u0275mod=y.\u0275\u0275defineNgModule({type:w});static \u0275inj=y.\u0275\u0275defineInjector({imports:[c.CommonModule,l.FormsModule,u.IonicModule,e.PageHeaderModule,o.RouterModule.forChild(C),d.PageHeaderMenuModule,v.PageFooterModule,M.CheckboxClonModule,p.ButtonValueModule,E.AuswahlDialogModule,S.SafePipeModule]})}return w})()},42764:(pe,m,s)=>{"use strict";var n=s(1196).default;Object.defineProperty(m,"__esModule",{value:!0}),m.CommonEinstellungenPage=void 0;const c=s(81316),u=c.__importDefault(s(35908)),l=c.__importStar(s(17964)),i=c.__importStar(s(54496)),e=c.__importStar(s(7992)),o=c.__importStar(s(29743)),d=c.__importStar(s(14652)),v=c.__importStar(s(19668)),M=c.__importStar(s(9544)),p=c.__importStar(s(96140)),E=c.__importStar(s(34388)),S=c.__importStar(s(91368)),y=c.__importStar(s(92512)),f=c.__importStar(s(90212)),C=c.__importStar(s(63792)),_=c.__importStar(s(29856)),w=c.__importStar(s(25856));function D(K,ie){1&K&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275elementStart(1,"tr")(2,"td",14),i.\u0275\u0275text(3,"keine"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementContainerEnd())}function L(K,ie){if(1&K){const J=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"tr")(1,"td",18),i.\u0275\u0275text(2),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(3,"td"),i.\u0275\u0275text(4),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(5,"td")(6,"checkbox-clon",19),i.\u0275\u0275listener("CheckChanged",function(ce){i.\u0275\u0275restoreView(J);const Ge=i.\u0275\u0275nextContext(3);return i.\u0275\u0275resetView(Ge.VertreterCheckedChanged(ce))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(7,"td"),i.\u0275\u0275element(8,"div",20),i.\u0275\u0275elementEnd()()}if(2&K){const J=ie.$implicit,be=ie.index;i.\u0275\u0275advance(2),i.\u0275\u0275textInterpolate2("",J.Vorname," ",J.Name,""),i.\u0275\u0275advance(2),i.\u0275\u0275textInterpolate(J.Vertretungenanfragenanzahl),i.\u0275\u0275advance(2),i.\u0275\u0275property("Index",be)("Checked",J.Selected),i.\u0275\u0275advance(2),i.\u0275\u0275styleProp("background",J.UrlaubanfrageReminderSended?"#006400":"silver")}}function N(K,ie){if(1&K&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275template(1,L,9,7,"tr",17),i.\u0275\u0275elementContainerEnd()),2&K){const J=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(),i.\u0275\u0275property("ngForOf",J.Vertreterliste)}}function V(K,ie){1&K&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275elementStart(1,"tr")(2,"td",14),i.\u0275\u0275text(3,"keine"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementContainerEnd())}function G(K,ie){if(1&K){const J=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"tr")(1,"td",18),i.\u0275\u0275text(2),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(3,"td"),i.\u0275\u0275text(4),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(5,"td")(6,"checkbox-clon",19),i.\u0275\u0275listener("CheckChanged",function(ce){i.\u0275\u0275restoreView(J);const Ge=i.\u0275\u0275nextContext(3);return i.\u0275\u0275resetView(Ge.FreigberCheckedChanged(ce))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(7,"td"),i.\u0275\u0275element(8,"div",20),i.\u0275\u0275elementEnd()()}if(2&K){const J=ie.$implicit,be=ie.index;i.\u0275\u0275advance(2),i.\u0275\u0275textInterpolate2("",J.Vorname," ",J.Name,""),i.\u0275\u0275advance(2),i.\u0275\u0275textInterpolate(J.Freigabenanfragenanzahl),i.\u0275\u0275advance(2),i.\u0275\u0275property("Index",be)("Checked",J.Selected),i.\u0275\u0275advance(2),i.\u0275\u0275styleProp("background",J.UrlaubanfrageReminderSended?"#006400":"silver")}}function R(K,ie){if(1&K&&(i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275template(1,G,9,7,"tr",17),i.\u0275\u0275elementContainerEnd()),2&K){const J=i.\u0275\u0275nextContext(2);i.\u0275\u0275advance(),i.\u0275\u0275property("ngForOf",J.Freigeberliste)}}function k(K,ie){if(1&K){const J=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementContainerStart(0),i.\u0275\u0275elementStart(1,"tr"),i.\u0275\u0275element(2,"td",16),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(3,"tr")(4,"td")(5,"ion-button",21),i.\u0275\u0275listener("click",function(){i.\u0275\u0275restoreView(J);const ce=i.\u0275\u0275nextContext(2);return i.\u0275\u0275resetView(ce.SendUrlaubReminderMail())}),i.\u0275\u0275text(6,"Erinnerung versenden"),i.\u0275\u0275elementEnd()()(),i.\u0275\u0275elementContainerEnd()}}function A(K,ie){if(1&K){const J=i.\u0275\u0275getCurrentView();i.\u0275\u0275elementStart(0,"ion-content")(1,"table",4)(2,"tr")(3,"td",5)(4,"table",6)(5,"tr")(6,"td",7)(7,"ion-text",8)(8,"b"),i.\u0275\u0275text(9,"Einstellungen Allgemein"),i.\u0275\u0275elementEnd()()()(),i.\u0275\u0275elementStart(10,"tr")(11,"td",9)(12,"checkbox-clon",10),i.\u0275\u0275listener("CheckChanged",function(ce){i.\u0275\u0275restoreView(J);const Ge=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(Ge.DebugNoExternalEmaillCheckedChanged(ce))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(13,"td"),i.\u0275\u0275text(14,"nur Testemails senden / keine BAE Emailadressen verwenden"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(15,"tr")(16,"td",9)(17,"checkbox-clon",10),i.\u0275\u0275listener("CheckChanged",function(ce){i.\u0275\u0275restoreView(J);const Ge=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(Ge.ShowHomescreeninfosChanged(ce))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(18,"td"),i.\u0275\u0275text(19,"Zeige Homescreen Infos"),i.\u0275\u0275elementEnd()()(),i.\u0275\u0275element(20,"br"),i.\u0275\u0275elementStart(21,"table",6)(22,"tr")(23,"td",7)(24,"ion-text",8)(25,"b"),i.\u0275\u0275text(26,"Startseite bei Administratoren"),i.\u0275\u0275elementEnd()()()(),i.\u0275\u0275elementStart(27,"ion-radio-group",11),i.\u0275\u0275listener("ionChange",function(ce){i.\u0275\u0275restoreView(J);const Ge=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(Ge.StartseiteChangedHandler(ce))}),i.\u0275\u0275elementStart(28,"tr")(29,"td"),i.\u0275\u0275element(30,"ion-radio",12),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(31,"td"),i.\u0275\u0275text(32,"Home"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(33,"tr")(34,"td"),i.\u0275\u0275element(35,"ion-radio",12),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(36,"td"),i.\u0275\u0275text(37,"Standorte"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(38,"tr")(39,"td"),i.\u0275\u0275element(40,"ion-radio",12),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(41,"td"),i.\u0275\u0275text(42,"Mitarbeiter"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(43,"tr")(44,"td"),i.\u0275\u0275element(45,"ion-radio",12),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(46,"td"),i.\u0275\u0275text(47,"Einstellungen"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(48,"tr")(49,"td"),i.\u0275\u0275element(50,"ion-radio",12),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(51,"td"),i.\u0275\u0275text(52,"Urlaub Planung"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(53,"tr")(54,"td"),i.\u0275\u0275element(55,"ion-radio",12),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(56,"td"),i.\u0275\u0275text(57,"Urlaub \xdcbersicht"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(58,"tr")(59,"td"),i.\u0275\u0275element(60,"ion-radio",12),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(61,"td"),i.\u0275\u0275text(62,"Urlaub Gesamt\xfcbersicht"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(63,"tr")(64,"td"),i.\u0275\u0275element(65,"ion-radio",12),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(66,"td"),i.\u0275\u0275text(67,"Urlaub Freigaben"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(68,"tr")(69,"td"),i.\u0275\u0275element(70,"ion-radio",12),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(71,"td"),i.\u0275\u0275text(72,"Urlaub Einstellungen"),i.\u0275\u0275elementEnd()()()(),i.\u0275\u0275element(73,"br"),i.\u0275\u0275elementStart(74,"table",6)(75,"tr")(76,"td",7)(77,"ion-text",8)(78,"b"),i.\u0275\u0275text(79,"Wartungsmodus"),i.\u0275\u0275elementEnd()()()(),i.\u0275\u0275elementStart(80,"tr")(81,"td")(82,"checkbox-clon",10),i.\u0275\u0275listener("CheckChanged",function(ce){i.\u0275\u0275restoreView(J);const Ge=i.\u0275\u0275nextContext();return i.\u0275\u0275resetView(Ge.WartungsmodusCheckChanged(ce))}),i.\u0275\u0275elementEnd()(),i.\u0275\u0275elementStart(83,"td"),i.\u0275\u0275text(84,"Watungsmodus f\xfcr Standardnutzer aktivieren"),i.\u0275\u0275elementEnd()()()(),i.\u0275\u0275elementStart(85,"td",9)(86,"table",13)(87,"tr")(88,"td",14)(89,"ion-text",8)(90,"b"),i.\u0275\u0275text(91,"Urlaubsplanung"),i.\u0275\u0275elementEnd()()()(),i.\u0275\u0275elementStart(92,"tr")(93,"td",15),i.\u0275\u0275text(94,"Vertreteranfragen an:"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275template(95,D,4,0,"ng-container",2)(96,N,2,1,"ng-container",2),i.\u0275\u0275elementStart(97,"tr"),i.\u0275\u0275element(98,"td",16),i.\u0275\u0275elementEnd(),i.\u0275\u0275elementStart(99,"tr")(100,"td",15),i.\u0275\u0275text(101,"Freigabeanfragen an:"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275template(102,V,4,0,"ng-container",2)(103,R,2,1,"ng-container",2)(104,k,7,0,"ng-container",2),i.\u0275\u0275elementEnd()()()()()}if(2&K){const J=i.\u0275\u0275nextContext();i.\u0275\u0275advance(12),i.\u0275\u0275property("Checked",J.Pool.Appeinstellungen.DebugNoExternalEmail),i.\u0275\u0275advance(5),i.\u0275\u0275property("Checked",J.Pool.Appeinstellungen.ShowHomeScreenInfos),i.\u0275\u0275advance(10),i.\u0275\u0275property("value",J.Pool.Appeinstellungen.AdminStartseite),i.\u0275\u0275advance(3),i.\u0275\u0275property("value",J.Const.Pages.HomePage),i.\u0275\u0275advance(5),i.\u0275\u0275property("value",J.Const.Pages.FiStandortelistePage),i.\u0275\u0275advance(5),i.\u0275\u0275property("value",J.Const.Pages.FiMitarbeiterlistePage),i.\u0275\u0275advance(5),i.\u0275\u0275property("value",J.Const.Pages.EinstellungenPage),i.\u0275\u0275advance(5),i.\u0275\u0275property("value",J.Const.Pages.UrlaubPlanungPage),i.\u0275\u0275advance(5),i.\u0275\u0275property("value",J.Const.Pages.UrlaubUebersichtPage),i.\u0275\u0275advance(5),i.\u0275\u0275property("value",J.Const.Pages.UrlaubsgesamtuebersichtPage),i.\u0275\u0275advance(5),i.\u0275\u0275property("value",J.Const.Pages.UrlaubFreigabenPage),i.\u0275\u0275advance(5),i.\u0275\u0275property("value",J.Const.Pages.UrlaubEinstellungenPage),i.\u0275\u0275advance(12),i.\u0275\u0275property("Checked",J.Pool.Appeinstellungen.Wartungsmodus),i.\u0275\u0275advance(13),i.\u0275\u0275property("ngIf",0===J.Vertreterliste.length),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",0!==J.Vertreterliste.length),i.\u0275\u0275advance(6),i.\u0275\u0275property("ngIf",0===J.Freigeberliste.length),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",0!==J.Freigeberliste.length),i.\u0275\u0275advance(),i.\u0275\u0275property("ngIf",J.Vertreterliste.length>0||J.Freigeberliste.length>0)}}m.CommonEinstellungenPage=(()=>{class K{Pool;Const;Basics;Tools;DBUrlaub;DB;Debug;DataSubscription;Vertreterliste;Freigeberliste;ShowAuswahl;Auswahlindex;Auswahltitel;Auswahlliste;constructor(J,be,ce,Ge,ct,Oe,ke){this.Pool=J,this.Const=be,this.Basics=ce,this.Tools=Ge,this.DBUrlaub=ct,this.DB=Oe,this.Debug=ke;try{this.DataSubscription=null,this.Vertreterliste=[],this.Freigeberliste=[],this.ShowAuswahl=!1,this.Auswahlliste=[{Index:0,FirstColumn:"",SecoundColumn:"",Data:null}],this.Auswahlindex=0,this.Auswahltitel=""}catch(Re){this.Debug.ShowErrorMessage(Re.message,"Einstellungen","constructor",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.DataSubscription.unsubscribe(),this.DataSubscription=null}catch(J){this.Debug.ShowErrorMessage(J,"Einstellungen","OnDestroy",this.Debug.Typen.Page)}}ngOnInit(){try{this.DataSubscription=this.Pool.LoadingAllDataFinished.subscribe(()=>{this.PrepareData()}),this.PrepareData()}catch(J){this.Debug.ShowErrorMessage(J,"Einstellungen","OnInit",this.Debug.Typen.Page)}}DebugNoExternalEmaillCheckedChanged(J){try{this.Pool.Appeinstellungen.DebugNoExternalEmail=J.status,this.DB.SaveAppeinstellungen()}catch(be){this.Debug.ShowErrorMessage(be,"Einstellungen","DebugNoExternalEmaillCheckedChanged",this.Debug.Typen.Page)}}ShowHomescreeninfosChanged(J){try{this.Pool.Appeinstellungen.ShowHomeScreenInfos=J.status,this.DB.SaveAppeinstellungen()}catch(be){this.Debug.ShowErrorMessage(be,"Einstellungen","ShowHomescreeninfosChanged",this.Debug.Typen.Page)}}StartseiteChangedHandler(J){var be=this;return n(function*(){try{be.Pool.Appeinstellungen.AdminStartseite=J.detail.value,yield be.DB.SaveAppeinstellungen(),be.Tools.ShowHinweisDialog("App wird neu gestartet....."),window.setTimeout(()=>{location.replace(be.Pool.ApplicationURL)},500)}catch(ce){be.Debug.ShowErrorMessage(ce,"Einstellungen","StartseiteChangedHandler",be.Debug.Typen.Page)}})()}WartungsmodusCheckChanged(J){try{this.Pool.Appeinstellungen.Wartungsmodus=J.status,this.DB.SaveAppeinstellungen()}catch(be){this.Debug.ShowErrorMessage(be,"Einstellungen","WartungsmodusCheckChanged",this.Debug.Typen.Page)}}PrepareData(){try{let J,be,Ge,ct,Oe,ke,Re,ce=(0,u.default)().year();for(be of(this.Vertreterliste=[],this.Freigeberliste=[],this.Pool.Mitarbeiterliste))if(Ge=l.find(be.Urlaubsliste,Qe=>Qe.Jahr===ce),!1===l.isUndefined(Ge))for(ct of Ge.Urlaubzeitspannen)switch(ct.Status){case this.DBUrlaub.Urlaubstatusvarianten.Vertreteranfrage:for(let Qe of ct.Vertretungskonversationliste)ke=l.cloneDeep(l.find(this.Pool.Mitarbeiterliste,{_id:Qe.VertreterID})),J=l.find(this.Vertreterliste,{_id:Qe.VertreterID}),l.isUndefined(J)?(ke.Vertretungenanfragenanzahl=1,ke.Selected=!1,ke.UrlaubanfrageReminderSended=!1,this.Vertreterliste.push(ke)):J.Vertretungenanfragenanzahl++;break;case this.DBUrlaub.Urlaubstatusvarianten.Vertreterfreigabe:if(Oe=l.find(this.Pool.Standorteliste,{_id:be.StandortID}),!1===l.isUndefined(Oe))for(let Qe of Oe.Urlaubfreigabepersonen)Re=l.cloneDeep(l.find(this.Pool.Mitarbeiterliste,{_id:Qe})),J=l.find(this.Freigeberliste,{_id:Qe}),!0===l.isUndefined(J)?(Re.Freigabenanfragenanzahl=1,Re.Selected=!1,Re.UrlaubanfrageReminderSended=!1,this.Freigeberliste.push(Re)):J.Freigabenanfragenanzahl++}}catch(J){this.Debug.ShowErrorMessage(J,"Einstellungen","PrepareData",this.Debug.Typen.Page)}}FreigberCheckedChanged(J){try{this.Freigeberliste[J.index].Selected=J.status}catch(be){this.Debug.ShowErrorMessage(be,"Einstellungen","FreigberCheckedChanged",this.Debug.Typen.Page)}}VertreterCheckedChanged(J){try{this.Vertreterliste[J.index].Selected=J.status}catch(be){this.Debug.ShowErrorMessage(be,"Einstellungen","VertreterCheckedChanged",this.Debug.Typen.Page)}}SendUrlaubReminderMail(){var J=this;return n(function*(){try{for(let be of J.Vertreterliste)be.Selected&&(yield J.DBUrlaub.SendVertreterreminder(be),be.UrlaubanfrageReminderSended=!0,be.Selected=!1);for(let be of J.Freigeberliste)be.Selected&&(yield J.DBUrlaub.SendFreigabereminder(be),be.UrlaubanfrageReminderSended=!0,be.Selected=!1)}catch(be){J.Debug.ShowErrorMessage(be,"Einstellungen","SendUrlaubReminderMail",J.Debug.Typen.Page)}})()}static \u0275fac=function(be){return new(be||K)(i.\u0275\u0275directiveInject(e.DatabasePoolService),i.\u0275\u0275directiveInject(o.ConstProvider),i.\u0275\u0275directiveInject(d.BasicsProvider),i.\u0275\u0275directiveInject(v.ToolsProvider),i.\u0275\u0275directiveInject(M.DatabaseUrlaubService),i.\u0275\u0275directiveInject(p.DatabaseAppeinstellungenService),i.\u0275\u0275directiveInject(E.DebugProvider))};static \u0275cmp=i.\u0275\u0275defineComponent({type:K,selectors:[["common-einstellungen-page"]],decls:8,vars:1,consts:[[1,"ion-no-border"],["PageHeader",""],[4,"ngIf"],["PageFooter",""],[2,"width","100%"],["valign","top",2,"width","400px"],[1,"paddingtable"],["colspan","2"],["color","baeblau"],["valign","top",2,"width","auto"],[3,"Checked","CheckChanged"],[3,"value","ionChange"],[3,"value"],[1,"paddingsmalltable"],["colspan","10"],["colspan","10",2,"font-weight","bold"],["colspan","10",2,"height","30px"],[4,"ngFor","ngForOf"],[2,"width","160px"],[3,"Index","Checked","CheckChanged"],[1,"sendmailcircle"],["size","small","color","burnicklbraun",3,"click"]],template:function(be,ce){1&be&&(i.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1),i.\u0275\u0275element(3,"page-header-menu"),i.\u0275\u0275elementEnd()(),i.\u0275\u0275template(4,A,105,18,"ion-content",2),i.\u0275\u0275elementStart(5,"ion-footer"),i.\u0275\u0275element(6,"page-footer",null,3),i.\u0275\u0275elementEnd()),2&be&&(i.\u0275\u0275advance(4),i.\u0275\u0275property("ngIf",null!==ce.Pool.Appeinstellungen))},dependencies:[S.NgForOf,S.NgIf,y.IonButton,y.IonContent,y.IonFooter,y.IonHeader,y.IonRadio,y.IonRadioGroup,y.IonText,y.RadioValueAccessor,y.SelectValueAccessor,f.PageHeaderComponent,C.PageHeaderMenuComponent,_.PageFooterComponent,w.CheckboxClonComponent],styles:["#container[_ngcontent-%COMP%]{text-align:center;position:absolute;left:0;right:0;top:50%;transform:translateY(-50%)}.sendmailcircle[_ngcontent-%COMP%]{width:12px;height:12px;border-radius: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 K})()},27735:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.CommonHomePageModule=void 0;const n=s(81316),c=s(91368),u=s(44716),l=s(53076),i=s(92512),e=s(45884),o=s(70216),d=s(6512),v=s(90520),M=s(12095),p=n.__importStar(s(54496)),S=(n.__importStar(s(53076)),[{path:"",component:e.CommonHomePage}]);m.CommonHomePageModule=(()=>{class f{static \u0275fac=function(w){return new(w||f)};static \u0275mod=p.\u0275\u0275defineNgModule({type:f});static \u0275inj=p.\u0275\u0275defineInjector({imports:[c.CommonModule,u.FormsModule,i.IonicModule,l.RouterModule.forChild(S),o.PageHeaderModule,d.AbstandElementFixedModule,u.ReactiveFormsModule,v.PageFooterModule,M.FiChangelogEditorModule]})}return f})()},45884:(pe,m,s)=>{"use strict";var n=s(1196).default;Object.defineProperty(m,"__esModule",{value:!0}),m.CommonHomePage=void 0;const c=s(81316),u=c.__importStar(s(17964)),l=c.__importDefault(s(35908)),i=s(80103),e=s(21112),o=s(36716),d=c.__importStar(s(54496)),v=c.__importStar(s(14652)),M=c.__importStar(s(34388)),p=c.__importStar(s(19668)),E=c.__importStar(s(29743)),S=c.__importStar(s(7992)),y=c.__importStar(s(23476)),f=c.__importStar(s(8608)),C=c.__importStar(s(51708)),_=c.__importStar(s(97092)),w=c.__importStar(s(34636)),D=c.__importStar(s(59460)),L=c.__importStar(s(91368)),N=c.__importStar(s(92512)),V=c.__importStar(s(90212)),G=c.__importStar(s(29856)),R=c.__importStar(s(64168));function k($e,Be){if(1&$e&&(d.\u0275\u0275elementStart(0,"table")(1,"tr")(2,"td"),d.\u0275\u0275element(3,"img",14),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(4,"td",7),d.\u0275\u0275elementEnd()()),2&$e){const _e=d.\u0275\u0275nextContext(3);d.\u0275\u0275advance(3),d.\u0275\u0275property("src",_e.GraphService.UserimageSRC,d.\u0275\u0275sanitizeUrl)}}function A($e,Be){if(1&$e&&(d.\u0275\u0275elementStart(0,"div",15),d.\u0275\u0275text(1),d.\u0275\u0275elementEnd()),2&$e){const _e=d.\u0275\u0275nextContext(3);d.\u0275\u0275styleProp("background",_e.Basics.Farben.Grau),d.\u0275\u0275advance(),d.\u0275\u0275textInterpolate1(" ",null!==_e.Pool.Mitarbeiterdaten?_e.Pool.Mitarbeiterdaten.Kuerzel:"---"," ")}}function H($e,Be){if(1&$e&&(d.\u0275\u0275elementContainerStart(0),d.\u0275\u0275template(1,k,5,1,"table",2)(2,A,2,3,"div",13),d.\u0275\u0275elementContainerEnd()),2&$e){const _e=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",null!==_e.GraphService.UserimageSRC),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",null===_e.GraphService.UserimageSRC)}}function K($e,Be){if(1&$e){const _e=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementContainerStart(0),d.\u0275\u0275elementStart(1,"table",5)(2,"tr")(3,"td",6)(4,"table")(5,"tr"),d.\u0275\u0275element(6,"td",7),d.\u0275\u0275elementStart(7,"td")(8,"div",8),d.\u0275\u0275listener("mouseenter",function(){d.\u0275\u0275restoreView(_e);const Se=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(Se.LogoutMouseOver=!0)})("mouseleave",function(){d.\u0275\u0275restoreView(_e);const Se=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(Se.LogoutMouseOver=!1)})("click",function(){d.\u0275\u0275restoreView(_e);const Se=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(Se.LogoutButtonClicked())}),d.\u0275\u0275elementStart(9,"table",9)(10,"tr")(11,"td"),d.\u0275\u0275element(12,"ion-icon",10),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(13,"td"),d.\u0275\u0275text(14,"Abmelden"),d.\u0275\u0275elementEnd()()()()(),d.\u0275\u0275element(15,"td",7),d.\u0275\u0275elementStart(16,"td")(17,"div",8),d.\u0275\u0275listener("mouseenter",function(){d.\u0275\u0275restoreView(_e);const Se=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(Se.EinstellungenMouseOver=!0)})("mouseleave",function(){d.\u0275\u0275restoreView(_e);const Se=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(Se.EinstellungenMouseOver=!1)})("click",function(){d.\u0275\u0275restoreView(_e);const Se=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(Se.EinstellungenButtonClicked())}),d.\u0275\u0275elementStart(18,"table",9)(19,"tr")(20,"td"),d.\u0275\u0275element(21,"ion-icon",11),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(22,"td"),d.\u0275\u0275text(23,"Einstellungen"),d.\u0275\u0275elementEnd()()()()()()()(),d.\u0275\u0275elementStart(24,"td",12),d.\u0275\u0275template(25,H,3,2,"ng-container",2),d.\u0275\u0275elementEnd()()(),d.\u0275\u0275elementContainerEnd()}if(2&$e){const _e=d.\u0275\u0275nextContext();d.\u0275\u0275advance(8),d.\u0275\u0275styleProp("cursor",_e.LogoutMouseOver?"pointer":"default"),d.\u0275\u0275advance(4),d.\u0275\u0275property("color",_e.LogoutMouseOver?_e.Basics.Ionicfarben.Schwarz:_e.Basics.Ionicfarben.Weiss),d.\u0275\u0275advance(),d.\u0275\u0275styleProp("color",_e.LogoutMouseOver?"#000000":"white"),d.\u0275\u0275advance(4),d.\u0275\u0275styleProp("cursor",_e.EinstellungenMouseOver?"pointer":"default"),d.\u0275\u0275advance(4),d.\u0275\u0275property("color",_e.EinstellungenMouseOver?_e.Basics.Ionicfarben.Schwarz:_e.Basics.Ionicfarben.Weiss),d.\u0275\u0275advance(),d.\u0275\u0275styleProp("color",_e.EinstellungenMouseOver?"#000000":"white"),d.\u0275\u0275advance(3),d.\u0275\u0275property("ngIf",!1===_e.AuthService.ShowLogin)}}function ie($e,Be){if(1&$e){const _e=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"div",39),d.\u0275\u0275listener("click",function(){const je=d.\u0275\u0275restoreView(_e).$implicit,re=d.\u0275\u0275nextContext(3);return d.\u0275\u0275resetView(re.ChangelogClicked(je))}),d.\u0275\u0275text(3),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(4,"td")(5,"div",39),d.\u0275\u0275listener("click",function(){const je=d.\u0275\u0275restoreView(_e).$implicit,re=d.\u0275\u0275nextContext(3);return d.\u0275\u0275resetView(re.ChangelogClicked(je))}),d.\u0275\u0275text(6),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(7,"td")(8,"div",39),d.\u0275\u0275listener("click",function(){const je=d.\u0275\u0275restoreView(_e).$implicit,re=d.\u0275\u0275nextContext(3);return d.\u0275\u0275resetView(re.ChangelogClicked(je))}),d.\u0275\u0275text(9),d.\u0275\u0275elementEnd()()()}if(2&$e){const _e=Be.$implicit,Me=d.\u0275\u0275nextContext(3);d.\u0275\u0275advance(3),d.\u0275\u0275textInterpolate(Me.GetDatum(_e.Zeitstempel)),d.\u0275\u0275advance(3),d.\u0275\u0275textInterpolate(_e.Version),d.\u0275\u0275advance(3),d.\u0275\u0275textInterpolate(_e.Beschreibung)}}function J($e,Be){if(1&$e){const _e=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"div",31)(1,"table",32)(2,"tr")(3,"td",33),d.\u0275\u0275text(4,"Change Log"),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(5,"tr",34)(6,"td"),d.\u0275\u0275text(7,"Datum"),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(8,"td"),d.\u0275\u0275text(9,"Version"),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(10,"td"),d.\u0275\u0275text(11,"Beschreibung"),d.\u0275\u0275elementEnd()(),d.\u0275\u0275template(12,ie,10,3,"tr",35),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(13,"ion-button",36),d.\u0275\u0275listener("click",function(){d.\u0275\u0275restoreView(_e);const Se=d.\u0275\u0275nextContext(2);return d.\u0275\u0275resetView(Se.AddChangelogClicked())}),d.\u0275\u0275element(14,"ion-icon",37),d.\u0275\u0275elementStart(15,"ion-text",38),d.\u0275\u0275text(16,"Neuer Eintrag"),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(17,"table",32)(18,"tr")(19,"td")(20,"b"),d.\u0275\u0275text(21,"Build:"),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(22,"td"),d.\u0275\u0275text(23),d.\u0275\u0275elementEnd()()()()}if(2&$e){const _e=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(3),d.\u0275\u0275styleProp("color",_e.Basics.Farben.BAEBlau),d.\u0275\u0275advance(9),d.\u0275\u0275property("ngForOf",_e.Pool.Changlogliste),d.\u0275\u0275advance(),d.\u0275\u0275property("color","grau"),d.\u0275\u0275advance(10),d.\u0275\u0275textInterpolate(_e.Basics.AppBuild)}}function be($e,Be){1&$e&&(d.\u0275\u0275elementContainerStart(0),d.\u0275\u0275elementStart(1,"div",50),d.\u0275\u0275element(2,"img",51),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementContainerEnd())}function ce($e,Be){1&$e&&(d.\u0275\u0275elementContainerStart(0),d.\u0275\u0275elementStart(1,"div",50),d.\u0275\u0275element(2,"img",51),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementContainerEnd())}function Ge($e,Be){if(1&$e){const _e=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"table")(1,"tr")(2,"td")(3,"div",40),d.\u0275\u0275listener("click",function(){d.\u0275\u0275restoreView(_e);const Se=d.\u0275\u0275nextContext(3);return d.\u0275\u0275resetView(Se.StandorteButtonClicked())})("mouseenter",function(){d.\u0275\u0275restoreView(_e);const Se=d.\u0275\u0275nextContext(3);return d.\u0275\u0275resetView(Se.StandortMouseOver=!0)})("mouseleave",function(){d.\u0275\u0275restoreView(_e);const Se=d.\u0275\u0275nextContext(3);return d.\u0275\u0275resetView(Se.StandortMouseOver=!1)}),d.\u0275\u0275elementStart(4,"table")(5,"tr")(6,"td",21),d.\u0275\u0275element(7,"ion-icon",41),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(8,"tr")(9,"td",28)(10,"table")(11,"tr")(12,"td",42),d.\u0275\u0275text(13),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(14,"td",43),d.\u0275\u0275elementStart(15,"td")(16,"ion-text",44),d.\u0275\u0275text(17,"Standorte"),d.\u0275\u0275elementEnd()()()()()()()()(),d.\u0275\u0275elementStart(18,"td"),d.\u0275\u0275element(19,"div",45),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(20,"td")(21,"div",40),d.\u0275\u0275listener("click",function(){d.\u0275\u0275restoreView(_e);const Se=d.\u0275\u0275nextContext(3);return d.\u0275\u0275resetView(Se.MitarbeiterButtonClicked())})("mouseenter",function(){d.\u0275\u0275restoreView(_e);const Se=d.\u0275\u0275nextContext(3);return d.\u0275\u0275resetView(Se.MitarbeiterMouseOver=!0)})("mouseleave",function(){d.\u0275\u0275restoreView(_e);const Se=d.\u0275\u0275nextContext(3);return d.\u0275\u0275resetView(Se.MitarbeiterMouseOver=!1)}),d.\u0275\u0275elementStart(22,"table")(23,"tr")(24,"td",21)(25,"div",46)(26,"div",47),d.\u0275\u0275element(27,"ion-icon",48),d.\u0275\u0275elementEnd(),d.\u0275\u0275template(28,be,3,0,"ng-container",2),d.\u0275\u0275elementEnd()()(),d.\u0275\u0275elementStart(29,"tr")(30,"td",28)(31,"table")(32,"tr")(33,"td",42),d.\u0275\u0275text(34),d.\u0275\u0275elementEnd(),d.\u0275\u0275element(35,"td",43),d.\u0275\u0275elementStart(36,"td",28)(37,"ion-text",44),d.\u0275\u0275text(38,"Mitarbeiter"),d.\u0275\u0275elementEnd()()()()()()()()(),d.\u0275\u0275elementStart(39,"td"),d.\u0275\u0275element(40,"div",45),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(41,"td")(42,"div",40),d.\u0275\u0275listener("click",function(){d.\u0275\u0275restoreView(_e);const Se=d.\u0275\u0275nextContext(3);return d.\u0275\u0275resetView(Se.MitarbeiterNeuButtonClicked())})("mouseenter",function(){d.\u0275\u0275restoreView(_e);const Se=d.\u0275\u0275nextContext(3);return d.\u0275\u0275resetView(Se.MitarbeiterMouseOver=!0)})("mouseleave",function(){d.\u0275\u0275restoreView(_e);const Se=d.\u0275\u0275nextContext(3);return d.\u0275\u0275resetView(Se.MitarbeiterMouseOver=!1)}),d.\u0275\u0275elementStart(43,"table")(44,"tr")(45,"td",21)(46,"div",49)(47,"div",47),d.\u0275\u0275element(48,"ion-icon",48),d.\u0275\u0275elementEnd(),d.\u0275\u0275template(49,ce,3,0,"ng-container",2),d.\u0275\u0275elementEnd()()(),d.\u0275\u0275elementStart(50,"tr")(51,"td",28)(52,"table")(53,"tr")(54,"td",28)(55,"ion-text",44),d.\u0275\u0275text(56,"Neu"),d.\u0275\u0275elementEnd()()()()()()()()()()()}if(2&$e){const _e=d.\u0275\u0275nextContext(3);d.\u0275\u0275advance(7),d.\u0275\u0275property("color",_e.StandortMouseOver?_e.Basics.Ionicfarben.BAEBlau:_e.Basics.Ionicfarben.BurnicklGrau),d.\u0275\u0275advance(5),d.\u0275\u0275styleProp("color",_e.Basics.Farben.BAEBlau),d.\u0275\u0275advance(),d.\u0275\u0275textInterpolate1(" ",_e.Pool.Standorteliste.length," "),d.\u0275\u0275advance(3),d.\u0275\u0275property("color",_e.Basics.Ionicfarben.Grau),d.\u0275\u0275advance(3),d.\u0275\u0275styleProp("background",_e.Basics.Farben.Grau),d.\u0275\u0275advance(8),d.\u0275\u0275property("color",_e.MitarbeiterMouseOver?_e.Basics.Ionicfarben.BAEBlau:_e.Basics.Ionicfarben.BurnicklGrau),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",null!==_e.Pool.Mitarbeiterdaten&&!1===_e.CheckAllMitarbeiterdaten()),d.\u0275\u0275advance(5),d.\u0275\u0275styleProp("color",_e.Basics.Farben.BAEBlau),d.\u0275\u0275advance(),d.\u0275\u0275textInterpolate1(" ",_e.CountMitarbeiter()," "),d.\u0275\u0275advance(3),d.\u0275\u0275property("color",_e.Basics.Ionicfarben.Grau),d.\u0275\u0275advance(3),d.\u0275\u0275styleProp("background",_e.Basics.Farben.Grau),d.\u0275\u0275advance(8),d.\u0275\u0275property("color",_e.MitarbeiterMouseOver?_e.Basics.Ionicfarben.BAEBlau:_e.Basics.Ionicfarben.BurnicklGrau),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",null!==_e.Pool.Mitarbeiterdaten&&!1===_e.CheckAllMitarbeiterdaten()),d.\u0275\u0275advance(6),d.\u0275\u0275property("color",_e.Basics.Ionicfarben.Grau)}}function ct($e,Be){if(1&$e&&(d.\u0275\u0275elementStart(0,"table",5)(1,"tr")(2,"td",21),d.\u0275\u0275template(3,Ge,57,18,"table",2),d.\u0275\u0275elementEnd()()()),2&$e){const _e=d.\u0275\u0275nextContext(2);d.\u0275\u0275advance(3),d.\u0275\u0275property("ngIf",null!==_e.Pool.Mitarbeiterdaten&&!0===_e.Pool.Mitarbeiterdaten.Planeradministrator)}}function Oe($e,Be){if(1&$e){const _e=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementContainerStart(0),d.\u0275\u0275template(1,J,24,5,"div",16),d.\u0275\u0275elementStart(2,"div",17)(3,"div",18)(4,"ion-grid")(5,"ion-row")(6,"ion-col",19),d.\u0275\u0275element(7,"div",20),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(8,"ion-row")(9,"ion-col")(10,"table",5)(11,"tr")(12,"td",21),d.\u0275\u0275element(13,"img",22),d.\u0275\u0275elementEnd()()()()(),d.\u0275\u0275elementStart(14,"ion-row")(15,"ion-col",19),d.\u0275\u0275element(16,"div",23),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(17,"ion-row")(18,"ion-col")(19,"div",24),d.\u0275\u0275template(20,ct,4,1,"table",25),d.\u0275\u0275elementEnd()()(),d.\u0275\u0275elementStart(21,"ion-row")(22,"ion-col",19),d.\u0275\u0275element(23,"div",20),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(24,"ion-row")(25,"ion-col",19),d.\u0275\u0275element(26,"div",20),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(27,"ion-row")(28,"ion-col")(29,"table",5)(30,"tr")(31,"td",21)(32,"table")(33,"tr")(34,"td")(35,"div",26),d.\u0275\u0275listener("click",function(){d.\u0275\u0275restoreView(_e);const Se=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(Se.PlanerButtonClicked())}),d.\u0275\u0275elementStart(36,"table",5)(37,"tr")(38,"td",21),d.\u0275\u0275element(39,"ion-icon",27),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(40,"tr")(41,"td",28)(42,"ion-text",29),d.\u0275\u0275text(43,"Urlaub - Homeoffice - Planer"),d.\u0275\u0275elementEnd()()(),d.\u0275\u0275elementStart(44,"tr")(45,"td",30),d.\u0275\u0275text(46),d.\u0275\u0275elementEnd()()()()()()()()()()()()()()(),d.\u0275\u0275elementContainerEnd()}if(2&$e){const _e=d.\u0275\u0275nextContext();d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",_e.Pool.Appeinstellungen.ShowHomeScreenInfos),d.\u0275\u0275advance(19),d.\u0275\u0275property("ngIf",!1===_e.Pool.ShowProgress),d.\u0275\u0275advance(19),d.\u0275\u0275property("color",_e.Basics.Ionicfarben.BAEBlau),d.\u0275\u0275advance(3),d.\u0275\u0275property("color",_e.Basics.Ionicfarben.Grau),d.\u0275\u0275advance(4),d.\u0275\u0275textInterpolate2(" Version: ",_e.Basics.AppVersionName," / ",_e.Basics.AppVersionDatum," ")}}function ke($e,Be){if(1&$e){const _e=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementContainerStart(0),d.\u0275\u0275elementStart(1,"div",52)(2,"ion-grid")(3,"ion-row")(4,"ion-col",19),d.\u0275\u0275element(5,"div",53),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(6,"ion-row")(7,"ion-col")(8,"table",5)(9,"tr")(10,"td",21),d.\u0275\u0275element(11,"img",22),d.\u0275\u0275elementEnd()()()()(),d.\u0275\u0275elementStart(12,"ion-row")(13,"ion-col"),d.\u0275\u0275element(14,"div",23),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(15,"ion-row")(16,"ion-col",19)(17,"table",5)(18,"tr")(19,"td",21)(20,"div",54)(21,"table",5)(22,"tr")(23,"td",21),d.\u0275\u0275element(24,"ion-icon",27),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(25,"tr")(26,"td",28)(27,"ion-text",29),d.\u0275\u0275text(28,"Urlaub - Homeoffice - Planer"),d.\u0275\u0275elementEnd()()(),d.\u0275\u0275elementStart(29,"tr")(30,"td",30),d.\u0275\u0275text(31),d.\u0275\u0275elementEnd()()()()()()()()(),d.\u0275\u0275elementStart(32,"ion-row")(33,"ion-col")(34,"table",5)(35,"tr")(36,"td",55)(37,"ion-button",56),d.\u0275\u0275listener("click",function(){d.\u0275\u0275restoreView(_e);const Se=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(Se.LoginButtonClicked())}),d.\u0275\u0275text(38,"Login"),d.\u0275\u0275elementEnd()()()()()()()(),d.\u0275\u0275elementContainerEnd()}if(2&$e){const _e=d.\u0275\u0275nextContext();d.\u0275\u0275advance(24),d.\u0275\u0275property("color",_e.Basics.Ionicfarben.BAEBlau),d.\u0275\u0275advance(3),d.\u0275\u0275property("color",_e.Basics.Ionicfarben.Grau),d.\u0275\u0275advance(4),d.\u0275\u0275textInterpolate2(" Version: ",_e.Basics.AppVersionName," / ",_e.Basics.AppVersionDatum," "),d.\u0275\u0275advance(6),d.\u0275\u0275property("color",_e.Basics.Ionicfarben.BAEBlau)}}function Re($e,Be){if(1&$e){const _e=d.\u0275\u0275getCurrentView();d.\u0275\u0275elementStart(0,"fi-changelog-editor",57),d.\u0275\u0275listener("OkClickedEvent",function(){d.\u0275\u0275restoreView(_e);const Se=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(Se.ShowChangelogEditor=!1)})("CancelClickedEvent",function(){d.\u0275\u0275restoreView(_e);const Se=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(Se.ShowChangelogEditor=!1)})("DeleteClickedEvent",function(){d.\u0275\u0275restoreView(_e);const Se=d.\u0275\u0275nextContext();return d.\u0275\u0275resetView(Se.ShowChangelogEditor=!1)}),d.\u0275\u0275elementEnd()}}m.CommonHomePage=(()=>{class $e{Basics;Debug;Tools;Const;Pool;authService;msalBroadcastService;GraphService;DBChangelog;AuthService;Security;Menuservice;Title;StandortMouseOver;MitarbeiterMouseOver;ProjekteMouseOver;FavoritenMouseOver;LogoutMouseOver;DebugMouseOver;EinstellungenMouseOver;PlayMouseOver;BackgroundimageURL;Backgroundinterval;ShowChangelogEditor;ChangelogSubscription;ProgressMessage;ReloadMouseOver;UrlaubMouseOver;constructor(_e,Me,Se,je,re,we,rt,tt,wt,ye,Te,ht){this.Basics=_e,this.Debug=Me,this.Tools=Se,this.Const=je,this.Pool=re,this.authService=we,this.msalBroadcastService=rt,this.GraphService=tt,this.DBChangelog=wt,this.AuthService=ye,this.Security=Te,this.Menuservice=ht;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/"+u.random(1,36,!1).toString()+".jpg",this.Backgroundinterval=null,this.ShowChangelogEditor=!1,this.ChangelogSubscription=null,this.ProgressMessage="",this.ReloadMouseOver=!1,this.UrlaubMouseOver=!1}catch(Ft){this.Debug.ShowErrorMessage(Ft.message,"Home","constructor",this.Debug.Typen.Page)}}ngOnInit(){try{this.Security.CheckSecurity(),this.ChangelogSubscription=this.Pool.ChangeloglisteChanged.subscribe(()=>{this.PrepareDaten()}),this.msalBroadcastService.msalSubject$.pipe((0,i.filter)(_e=>_e.eventType===e.EventType.LOGIN_SUCCESS)).subscribe(_e=>{const Me=_e.payload;this.authService.instance.setActiveAccount(Me.account),this.AuthService.ActiveUser=Me.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)}}MitarbeiterNeuButtonClicked(){try{this.Tools.SetRootPage("PageNeu")}catch(_e){this.Debug.ShowErrorMessage(_e.message,"Home","MitarbeiterNeuButtonClicked",this.Debug.Typen.Page)}}PlanerButtonClicked(){try{this.Menuservice.MainMenuebereich=this.Menuservice.MainMenuebereiche.Urlaubsplanung,this.Menuservice.UrlaubMenuebereich=this.Menuservice.UrlaubMenuebereiche.Planung,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,l.default)(_e).format("DD.MM.YYYY")}catch(Me){this.Debug.ShowErrorMessage(Me,"Home","GetDatum",this.Debug.Typen.Page)}}ChangelogClicked(_e){try{this.DBChangelog.CurrentChangelog=u.cloneDeep(_e),this.ShowChangelogEditor=!0}catch(Me){this.Debug.ShowErrorMessage(Me,"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,l.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 u.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=o.environment;CheckAllMitarbeiterdaten(){try{let _e=!0;for(let Me of this.Pool.Mitarbeiterliste)!1===Me.Archiviert&&(""===Me.Kuerzel||""===Me.StandortID)&&(_e=!1);return _e}catch(_e){this.Debug.ShowErrorMessage(_e,"Home","CheckAllMitarbeiterdaten",this.Debug.Typen.Page)}}static \u0275fac=function(Me){return new(Me||$e)(d.\u0275\u0275directiveInject(v.BasicsProvider),d.\u0275\u0275directiveInject(M.DebugProvider),d.\u0275\u0275directiveInject(p.ToolsProvider),d.\u0275\u0275directiveInject(E.ConstProvider),d.\u0275\u0275directiveInject(S.DatabasePoolService),d.\u0275\u0275directiveInject(y.MsalService),d.\u0275\u0275directiveInject(y.MsalBroadcastService),d.\u0275\u0275directiveInject(f.Graphservice),d.\u0275\u0275directiveInject(C.DatabaseChangelogService),d.\u0275\u0275directiveInject(_.DatabaseAuthenticationService),d.\u0275\u0275directiveInject(w.SecurityService),d.\u0275\u0275directiveInject(D.MenueService))};static \u0275cmp=d.\u0275\u0275defineComponent({type:$e,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"],["name","settings-outline",3,"color"],["align","right","valign","middle",2,"width","50%"],["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/group_logo.png",2,"height","100px"],[2,"height","40px"],[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"],[2,"height","90px","width","100px","background","red","position","relative"],[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(Me,Se){1&Me&&(d.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1),d.\u0275\u0275template(3,K,26,11,"ng-container",2),d.\u0275\u0275elementEnd()(),d.\u0275\u0275elementStart(4,"ion-content"),d.\u0275\u0275template(5,Oe,47,6,"ng-container",2)(6,ke,39,5,"ng-container",2),d.\u0275\u0275elementEnd(),d.\u0275\u0275elementStart(7,"ion-footer"),d.\u0275\u0275element(8,"page-footer",null,3),d.\u0275\u0275elementEnd(),d.\u0275\u0275template(10,Re,1,0,"fi-changelog-editor",4)),2&Me&&(d.\u0275\u0275advance(3),d.\u0275\u0275property("ngIf",!1===Se.AuthService.ShowLogin),d.\u0275\u0275advance(2),d.\u0275\u0275property("ngIf",!1===Se.AuthService.ShowLogin&&null!==Se.Pool.Appeinstellungen),d.\u0275\u0275advance(),d.\u0275\u0275property("ngIf",!0===Se.AuthService.ShowLogin),d.\u0275\u0275advance(4),d.\u0275\u0275property("ngIf",Se.ShowChangelogEditor))},dependencies:[L.NgForOf,L.NgIf,N.IonButton,N.IonCol,N.IonContent,N.IonFooter,N.IonGrid,N.IonHeader,N.IonIcon,N.IonRow,N.IonText,V.PageHeaderComponent,G.PageFooterComponent,R.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:360px;height:220px;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 $e})()},53964:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.CommonUrlaubEinstellungenPageModule=void 0;const n=s(81316),c=s(91368),u=s(92512),l=s(44716),i=s(79444),e=s(70216),o=s(53076),d=s(6168),v=s(90520),M=s(6232),p=s(72284),E=s(10272),S=s(7388),y=s(27328),f=s(26668),C=n.__importStar(s(54496)),w=(n.__importStar(s(53076)),[{path:"",component:i.CommonUrlaubEinstellungenPage}]);m.CommonUrlaubEinstellungenPageModule=(()=>{class L{static \u0275fac=function(G){return new(G||L)};static \u0275mod=C.\u0275\u0275defineNgModule({type:L});static \u0275inj=C.\u0275\u0275defineInjector({imports:[c.CommonModule,l.FormsModule,u.IonicModule,e.PageHeaderModule,o.RouterModule.forChild(w),d.PageHeaderMenuModule,v.PageFooterModule,M.UrlausplanungKalenderModule,p.ButtonValueModule,E.AuswahlDialogModule,S.CheckboxClonModule,y.FiMitarbeiterEditorModule,f.FiMitarbeiterAuswahlModule]})}return L})()},79444:(pe,m,s)=>{"use strict";var n=s(1196).default;Object.defineProperty(m,"__esModule",{value:!0}),m.CommonUrlaubEinstellungenPage=void 0;const c=s(81316),u=c.__importStar(s(17964)),l=c.__importDefault(s(35908)),i=s(17964),e=c.__importStar(s(54496)),o=c.__importStar(s(14652)),d=c.__importStar(s(7992)),v=c.__importStar(s(9544)),M=c.__importStar(s(22848)),p=c.__importStar(s(29743)),E=c.__importStar(s(58864)),S=c.__importStar(s(15024)),y=c.__importStar(s(48044)),f=c.__importStar(s(33940)),C=c.__importStar(s(19668)),_=c.__importStar(s(34388)),w=c.__importStar(s(91368)),D=c.__importStar(s(92512)),L=c.__importStar(s(90212)),N=c.__importStar(s(63792)),V=c.__importStar(s(29856)),G=c.__importStar(s(56584)),R=c.__importStar(s(25856)),k=c.__importStar(s(80887)),A=["PageHeader"],H=["PageFooter"];function K(Me,Se){if(1&Me&&(e.\u0275\u0275elementStart(0,"tr")(1,"td",11),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()),2&Me){const je=Se.$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(je.Vorname+" "+je.Name)}}function ie(Me,Se){if(1&Me&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,K,3,1,"tr",14),e.\u0275\u0275elementContainerEnd()),2&Me){const je=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",je.Projektbeteiligteliste)}}function J(Me,Se){1&Me&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td"),e.\u0275\u0275element(3,"img",17),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(4,"td"),e.\u0275\u0275text(5," Bitte w\xe4hle hier alle Personen aus mit denen du regelm\xe4\xdfig zusammenarbeitest,"),e.\u0275\u0275element(6,"br"),e.\u0275\u0275text(7," oder Personen die eventuell deine Urlaubsvertretung \xfcbernehmen k\xf6nnen."),e.\u0275\u0275element(8,"br"),e.\u0275\u0275text(9," Durch diese Auswahl kannst du die Urlaubsplanung der ausgew\xe4hlen Kolleginen und Kollegen einsehen. "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd())}function be(Me,Se){1&Me&&(e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275element(2,"img",17),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4," F\xfcr dich sind keine Personen f\xfcr deine Urlaubsfreigaben eingetragen. Bitte wende dich an das Office. "),e.\u0275\u0275elementEnd()())}function ce(Me,Se){if(1&Me&&(e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()),2&Me){const je=Se.$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(je.Vorname+" "+je.Name)}}function Ge(Me,Se){1&Me&&(e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275element(2,"img",17),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td"),e.\u0275\u0275text(4," F\xfcr dich sind keine Personen f\xfcr deine Homeofficefreigaben eingetragen. Bitte wende dich an das Office. "),e.\u0275\u0275elementEnd()())}function ct(Me,Se){if(1&Me&&(e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()),2&Me){const je=Se.$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(je.Vorname+" "+je.Name)}}function Oe(Me,Se){if(1&Me){const je=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",18),e.\u0275\u0275listener("CheckChanged",function(we){const tt=e.\u0275\u0275restoreView(je).$implicit,wt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(wt.FerienBlockedChanged(we,tt.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&Me){const je=Se.$implicit,re=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275property("Checked",re.CheckFerienBlocker(je.Anfangstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(re.GetDatum(je.Anfangstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(re.GetDatum(je.Endestempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(je.Name)}}function ke(Me,Se){if(1&Me){const je=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",18),e.\u0275\u0275listener("CheckChanged",function(we){const tt=e.\u0275\u0275restoreView(je).$implicit,wt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(wt.FeiertagBlockedChanged(we,tt.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&Me){const je=Se.$implicit,re=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275property("Checked",re.CheckFeiertagBlocker(je.Anfangstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(re.GetDatum(je.Anfangstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(re.GetDatum(je.Endestempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(je.Name)}}function Re(Me,Se){if(1&Me){const je=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ion-grid")(1,"ion-row")(2,"ion-col",8)(3,"ion-text",9)(4,"b"),e.\u0275\u0275text(5,"Projekt beteiligte Mitarbeiter/innen"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(6,"ion-row")(7,"ion-col",8)(8,"table",10),e.\u0275\u0275template(9,ie,2,1,"ng-container",3)(10,J,10,0,"ng-container",3),e.\u0275\u0275elementStart(11,"tr")(12,"td",11)(13,"ion-button",12),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(je);const we=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(we.MitarbeiterAuswahlClicked())}),e.\u0275\u0275text(14,"Mitarbeiter/innen ausw\xe4hlen"),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(15,"ion-row")(16,"ion-col")(17,"ion-text",9)(18,"b"),e.\u0275\u0275text(19,"Urlaubsfreigaben"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(20,"ion-row")(21,"ion-col",13)(22,"table",10),e.\u0275\u0275template(23,be,5,0,"tr",3)(24,ce,3,1,"tr",14),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(25,"ion-row")(26,"ion-col")(27,"ion-text",9)(28,"b"),e.\u0275\u0275text(29,"Homeofficefreigaben"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(30,"ion-row")(31,"ion-col",13)(32,"table",10),e.\u0275\u0275template(33,Ge,5,0,"tr",3)(34,ct,3,1,"tr",14),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(35,"ion-row")(36,"ion-col",15)(37,"ion-text",9)(38,"b"),e.\u0275\u0275text(39,"Schulferien"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(40,"ion-col",15)(41,"ion-text",9)(42,"b"),e.\u0275\u0275text(43,"Feiertage"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(44,"ion-row")(45,"ion-col",15)(46,"table",10)(47,"tr",16),e.\u0275\u0275element(48,"td"),e.\u0275\u0275elementStart(49,"td"),e.\u0275\u0275text(50,"Von"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(51,"td"),e.\u0275\u0275text(52,"Bis"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(53,"td"),e.\u0275\u0275text(54,"Name"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(55,Oe,9,4,"tr",14),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(56,"ion-col",15)(57,"table",10)(58,"tr",16),e.\u0275\u0275element(59,"td"),e.\u0275\u0275elementStart(60,"td"),e.\u0275\u0275text(61,"Von"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(62,"td"),e.\u0275\u0275text(63,"Bis"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(64,"td"),e.\u0275\u0275text(65,"Name"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(66,ke,9,4,"tr",14),e.\u0275\u0275elementEnd()()()()}if(2&Me){const je=e.\u0275\u0275nextContext();e.\u0275\u0275advance(9),e.\u0275\u0275property("ngIf",je.Projektbeteiligteliste.length>0),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0===je.Projektbeteiligteliste.length),e.\u0275\u0275advance(13),e.\u0275\u0275property("ngIf",0===je.Urlaubsfreigeberliste.length),e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",je.Urlaubsfreigeberliste),e.\u0275\u0275advance(9),e.\u0275\u0275property("ngIf",0===je.Homeofficefreigeberliste.length),e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",je.Homeofficefreigeberliste),e.\u0275\u0275advance(21),e.\u0275\u0275property("ngForOf",je.Ferienliste),e.\u0275\u0275advance(11),e.\u0275\u0275property("ngForOf",je.Feiertageliste)}}function Qe(Me,Se){if(1&Me){const je=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"auswahl-dialog",19),e.\u0275\u0275listener("OkClickedEvent",function(we){e.\u0275\u0275restoreView(je);const rt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(rt.AuswahlOkButtonClicked(we))})("CancelClickedEvent",function(){e.\u0275\u0275restoreView(je);const we=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(we.ShowAuswahl=!1)}),e.\u0275\u0275elementEnd()}if(2&Me){const je=e.\u0275\u0275nextContext();e.\u0275\u0275property("Auswahlliste",je.Auswahlliste)("Auswahlindex",je.Auswahlindex)("ZIndex",5e3)("Dialogbreite",400)("PositionY",100)("Titel",je.Auswahltitel)("Iconname","")}}function $e(Me,Se){if(1&Me){const je=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"fi-mitarbeiter-auswahl",20),e.\u0275\u0275listener("CancelClickedEvent",function(){e.\u0275\u0275restoreView(je);const we=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(we.ShowMitarbeiterauswahl=!1)})("OkClickedEvent",function(we){e.\u0275\u0275restoreView(je);const rt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(rt.MitarbeiterauswahlOkButtonClicked(we))})("StandortfilterClickedEvent",function(){e.\u0275\u0275restoreView(je);const we=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(we.MitarebiterStandortfilterClickedHandler())}),e.\u0275\u0275elementEnd()}if(2&Me){const je=e.\u0275\u0275nextContext();e.\u0275\u0275property("Titel",je.MitarbeiterauswahlTitel)("Dialogbreite",600)("ZIndex",4e3)("Multiselect",je.MitarbeiterMultiselect)("AuswahlIDliste",je.AuswahlIDliste)("OnlyProjektmitarbeiter",!1)}}function Be(Me,Se){if(1&Me){const je=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"fi-mitarbeiter-auswahl",21),e.\u0275\u0275listener("CancelClickedEvent",function(){e.\u0275\u0275restoreView(je);const we=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(we.ShowMitarbeiterauswahl=!1)})("OkClickedEvent",function(we){e.\u0275\u0275restoreView(je);const rt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(rt.MitarbeiterauswahlOkButtonClicked(we))})("StandortfilterClickedEvent",function(){e.\u0275\u0275restoreView(je);const we=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(we.MitarebiterStandortfilterClickedHandler())}),e.\u0275\u0275elementEnd()}if(2&Me){const je=e.\u0275\u0275nextContext();e.\u0275\u0275property("Titel",je.MitarbeiterauswahlTitel)("BlockCurrentMitarbeiter",je.BlockCurrentMitarbeiter)("Dialogbreite",600)("ZIndex",4e3)("Multiselect",je.MitarbeiterMultiselect)("OnlyProjektmitarbeiter",!1)("AuswahlIDliste",je.AuswahlIDliste)}}m.CommonUrlaubEinstellungenPage=(()=>{class Me{Basics;Pool;DB;DBMitarbeiter;Const;DBStandort;DBMitarbeiterstettings;Auswahlservice;Loadinganimation;Tools;Debug;PageHeader;PageFooter;Auswahlliste;Auswahlindex;Auswahltitel;ShowAuswahl;Auswahlhoehe;Auswahldialogorigin;ShowMitarbeiterauswahl;BlockCurrentMitarbeiter;AuswahlIDliste;MitarbeiterauswahlTitel;Projektbeteiligteliste;Urlaubsfreigeberliste;Homeofficefreigeberliste;MitarbeiterMultiselect;Ferienliste;Feiertageliste;DataSubscription;constructor(je,re,we,rt,tt,wt,ye,Te,ht,Ft,nn){this.Basics=je,this.Pool=re,this.DB=we,this.DBMitarbeiter=rt,this.Const=tt,this.DBStandort=wt,this.DBMitarbeiterstettings=ye,this.Auswahlservice=Te,this.Loadinganimation=ht,this.Tools=Ft,this.Debug=nn;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=[],this.Urlaubsfreigeberliste=[],this.Homeofficefreigeberliste=[],this.BlockCurrentMitarbeiter=!1}catch(Yt){this.Debug.ShowErrorMessage(Yt.message,"Urlaub Einstellungen Page","constructor",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.DataSubscription.unsubscribe(),this.DataSubscription=null}catch(je){this.Debug.ShowErrorMessage(je,"Urlaub Einstellungen Page","OnDestroy",this.Debug.Typen.Page)}}ionViewDidEnter(){try{this.Basics.MeassureInnercontent(this.PageHeader,this.PageFooter)}catch(je){this.Debug.ShowErrorMessage(je.message,"Urlaub Einstellungen Page","ionViewDidEnter",this.Debug.Typen.Page)}}ngOnInit(){try{this.DataSubscription=this.Pool.LoadingAllDataFinished.subscribe(()=>{this.PrepareData()}),this.PrepareData()}catch(je){this.Debug.ShowErrorMessage(je,"Urlaub Einstellungen Page","OnInit",this.Debug.Typen.Page)}}PrepareData(){try{let je,re;this.DB.Init(),this.DB.CheckSetup(),this.DB.CountAnfragenanzahlen(),this.Projektbeteiligteliste=[];for(let we of this.DB.CurrentUrlaub.Projektbeteiligteliste)je=this.DBMitarbeiter.GetMitarbeiterByID(we.MitarbeiterID),null!==je&&this.Projektbeteiligteliste.push(je);this.Projektbeteiligteliste.sort((we,rt)=>we.Namert.Name?1:0),re=u.find(this.Pool.Standorteliste,{_id:this.DB.CurrentMitarbeiter.StandortID}),this.Urlaubsfreigeberliste=[];for(let we of re.Urlaubfreigabepersonen)je=u.find(this.Pool.Mitarbeiterliste,{_id:we}),u.isUndefined(je)||this.Urlaubsfreigeberliste.push(je);this.Urlaubsfreigeberliste.sort((we,rt)=>we.Namert.Name?1:0),this.Homeofficefreigeberliste=[];for(let we of re.Homeofficefreigabepersonen)je=u.find(this.Pool.Mitarbeiterliste,{_id:we}),u.isUndefined(je)||this.Homeofficefreigeberliste.push(je);this.Homeofficefreigeberliste.sort((we,rt)=>we.Namert.Name?1:0),this.Ferienliste=[],u.isUndefined(this.DB.Ferienliste[this.DB.Laendercode])||(this.Ferienliste=u.cloneDeep(this.DB.Ferienliste[this.DB.Laendercode])),this.Feiertageliste=[],u.isUndefined(this.DB.Feiertageliste[this.DB.Laendercode])||(this.Feiertageliste=u.cloneDeep(this.DB.Feiertageliste[this.DB.Laendercode]))}catch(je){this.Debug.ShowErrorMessage(je,"Urlaub Einstellungen Page","PrepareData",this.Debug.Typen.Page)}}MitarbeiterauswahlOkButtonClicked(je){try{let re,we,rt;switch(this.Auswahldialogorigin){case this.Auswahlservice.Auswahloriginvarianten.UrlaubEinstellungen_Projektbeteiligte_Auswahl:this.DB.CurrentUrlaub.Projektbeteiligteliste=u.filter(this.DB.CurrentUrlaub.Projektbeteiligteliste,tt=>-1!==je.indexOf(tt.MitarbeiterID));for(let tt of je)re=u.find(this.DB.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:tt}),u.isUndefined(re)&&this.DB.CurrentUrlaub.Projektbeteiligteliste.push({MitarbeiterID:tt,Display:!1});rt=u.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.CurrentUrlaub.Jahr}),this.DB.CurrentMitarbeiter.Urlaubsliste[rt]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.PrepareData()});break;case this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln:we=u.find(this.Pool.Mitarbeiterliste,{_id:je[0]}),this.DB.CurrentMitarbeiter=we,this.PrepareData()}this.ShowMitarbeiterauswahl=!1}catch(re){this.Debug.ShowErrorMessage(re.message,"Urlaub Einstellungen Page","MitarbeiterauswahlOkButtonClicked",this.Debug.Typen.Page)}}MitarebiterStandortfilterClickedHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.UrlaubEinstellungen_Standort_Filter;let je=0;this.ShowAuswahl=!0,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:je,FirstColumn:"kein Filter",SecoundColumn:"",Data:null}),je++;for(let re of this.Pool.Standorteliste)this.Auswahlliste.push({Index:je,FirstColumn:re.Kuerzel,SecoundColumn:re.Standort,Data:re}),je++;this.Auswahlindex=null!==this.DBStandort.CurrentStandortfilter?u.findIndex(this.Pool.Standorteliste,{_id:this.DBStandort.CurrentStandortfilter._id}):0}catch(je){this.Debug.ShowErrorMessage(je.message,"Urlaub Einstellungen Page","MitarebiterStandortfilterClickedHandler",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(je){var re=this;return n(function*(){try{switch(re.Auswahldialogorigin){case"Urlaub":re.DB.CurrentMitarbeiter.Urlaub=je,re.DBMitarbeiter.UpdateMitarbeiterUrlaub(re.DB.CurrentMitarbeiter);break;case re.Auswahlservice.Auswahloriginvarianten.UrlaubEinstellungen_Standort_Filter:re.DBStandort.CurrentStandortfilter=(0,i.cloneDeep)(je),re.Pool.Mitarbeitersettings.StandortFilter=null!==je?je._id:re.Const.NONE,re.DBMitarbeiterstettings.UpdateMitarbeitersettings(re.Pool.Mitarbeitersettings,null).then(()=>{re.PrepareData(),re.DBStandort.StandortfilterChanged.emit()});break;case re.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Jahr_Aendern:re.DB.CurrentJahr=je,yield re.Loadinganimation.ShowLoadingAnimation("Hinweis","Daten werden geladen"),yield re.DB.ReadFeiertage("DE"),yield re.DB.ReadFeiertage("BG"),yield re.DB.ReadFerien("DE"),yield re.DB.ReadFerien("BG"),yield re.Loadinganimation.HideLoadingAnimation(!0)}re.ShowAuswahl=!1,re.PrepareData()}catch(we){re.Debug.ShowErrorMessage(we.message,"Urlaub Einstellungen Page","AuswahlOkButtonClicked",re.Debug.Typen.Page)}})()}MitarbeiterAuswahlClicked(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.UrlaubEinstellungen_Projektbeteiligte_Auswahl,this.MitarbeiterauswahlTitel="Mitarbeiter/innen ausw\xe4hlen",this.ShowMitarbeiterauswahl=!0,this.BlockCurrentMitarbeiter=!0,this.AuswahlIDliste=[],this.MitarbeiterMultiselect=!0;for(let je of this.DB.CurrentUrlaub.Projektbeteiligteliste)this.AuswahlIDliste.push(je.MitarbeiterID)}catch(je){this.Debug.ShowErrorMessage(je,"Urlaub Einstellungen Page","MitarbeiterWechselnClicked",this.Debug.Typen.Page)}}GetDatum(je){try{return(0,l.default)(je).format("DD.MM.YYYY")}catch(re){this.Debug.ShowErrorMessage(re,"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=u.findIndex(this.Auswahlliste,je=>je.Data===this.DB.CurrentMitarbeiter.Urlaub),this.ShowAuswahl=!0}catch(je){this.Debug.ShowErrorMessage(je,"Urlaub Einstellungen Page","ResturlaubClickedEvent",this.Debug.Typen.Page)}}CheckFerienBlocker(je){try{return-1===this.DB.CurrentUrlaub.Ferienblockerliste.indexOf(je)}catch(re){this.Debug.ShowErrorMessage(re,"Urlaub Einstellungen Page","CheckFerienBlocker",this.Debug.Typen.Page)}}FerienBlockedChanged(je,re){try{let we;!1===je.status?this.DB.CurrentUrlaub.Ferienblockerliste.push(re):this.DB.CurrentUrlaub.Ferienblockerliste=u.filter(this.DB.CurrentUrlaub.Ferienblockerliste,rt=>rt!==re),we=u.find(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.CurrentUrlaub.Jahr}),u.isUndefined(we)||(we.Ferienblockerliste=this.DB.CurrentUrlaub.Ferienblockerliste,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter))}catch(we){this.Debug.ShowErrorMessage(we,"Urlaub Einstellungen Page","FereinBlockedChanged",this.Debug.Typen.Page)}}CheckFeiertagBlocker(je){try{return-1===this.DB.CurrentUrlaub.Feiertageblockerliste.indexOf(je)}catch(re){this.Debug.ShowErrorMessage(re,"Urlaub Einstellungen Page","CheckFeiertagBlocker",this.Debug.Typen.Page)}}FeiertagBlockedChanged(je,re){try{let we;!1===je.status?this.DB.CurrentUrlaub.Feiertageblockerliste.push(re):this.DB.CurrentUrlaub.Feiertageblockerliste=u.filter(this.DB.CurrentUrlaub.Feiertageblockerliste,rt=>rt!==re),we=u.find(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.CurrentUrlaub.Jahr}),u.isUndefined(we)||(we.Feiertageblockerliste=this.DB.CurrentUrlaub.Feiertageblockerliste,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter))}catch(we){this.Debug.ShowErrorMessage(we,"Urlaub Einstellungen Page","FereinBlockedChanged",this.Debug.Typen.Page)}}MitarbeiterWechselnClicked(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln,this.ShowMitarbeiterauswahl=!0,this.BlockCurrentMitarbeiter=!1,this.AuswahlIDliste=[]}catch(je){this.Debug.ShowErrorMessage(je,"Urlaub Einstellungen Page","MitarbeiterWechselnClicked",this.Debug.Typen.Page)}}UrlaubMitarbeiterMeClickedHandler(){try{this.DB.CurrentMitarbeiter=this.Pool.Mitarbeiterdaten,this.PrepareData()}catch(je){this.Debug.ShowErrorMessage(je,"Urlaub Einstellungen Page","UrlaubMitarbeiterMeClickedHandler",this.Debug.Typen.Page)}}JahrButtonClickedHandler(){try{let je=0,we=this.DB.Jahr+1;this.Auswahltitel="Jahr wechseln",this.Auswahlliste=[],this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Jahr_Aendern;for(let rt=this.DB.Startjahr;rt<=we;rt++)this.Auswahlliste.push({Index:je++,FirstColumn:rt.toString(),SecoundColumn:"",Data:rt});this.ShowAuswahl=!0,this.Auswahlindex=u.findIndex(this.Auswahlliste,{Data:this.DB.CurrentJahr})}catch(je){this.Debug.ShowErrorMessage(je,"Einstellungen","JahrButtonClickedHandler",this.Debug.Typen.Page)}}static \u0275fac=function(re){return new(re||Me)(e.\u0275\u0275directiveInject(o.BasicsProvider),e.\u0275\u0275directiveInject(d.DatabasePoolService),e.\u0275\u0275directiveInject(v.DatabaseUrlaubService),e.\u0275\u0275directiveInject(M.DatabaseMitarbeiterService),e.\u0275\u0275directiveInject(p.ConstProvider),e.\u0275\u0275directiveInject(E.DatabaseStandorteService),e.\u0275\u0275directiveInject(S.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(y.AuswahlDialogService),e.\u0275\u0275directiveInject(f.LoadingAnimationService),e.\u0275\u0275directiveInject(C.ToolsProvider),e.\u0275\u0275directiveInject(_.DebugProvider))};static \u0275cmp=e.\u0275\u0275defineComponent({type:Me,selectors:[["common-urlaub-einstellungen-page"]],viewQuery:function(re,we){if(1&re&&(e.\u0275\u0275viewQuery(A,5),e.\u0275\u0275viewQuery(H,5)),2&re){let rt;e.\u0275\u0275queryRefresh(rt=e.\u0275\u0275loadQuery())&&(we.PageHeader=rt.first),e.\u0275\u0275queryRefresh(rt=e.\u0275\u0275loadQuery())&&(we.PageFooter=rt.first)}},decls:12,vars:4,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"UrlaubMitarbeiterClicked","UrlaubMitarbeiterMeClicked","JahrButtonClicked"],[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","BlockCurrentMitarbeiter","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent",4,"ngIf"],["size","12"],["color","baeblau",2,"font-size","120%"],[1,"paddingtable"],["colspan","2"],["size","small","color","grau",3,"click"],["size","6"],[4,"ngFor","ngForOf"],["size","3"],[2,"font-weight","bold"],["src","assets/svgs/alert.svg",2,"width","24px"],[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","BlockCurrentMitarbeiter","Dialogbreite","ZIndex","Multiselect","OnlyProjektmitarbeiter","AuswahlIDliste","CancelClickedEvent","OkClickedEvent","StandortfilterClickedEvent"]],template:function(re,we){1&re&&(e.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),e.\u0275\u0275listener("UrlaubMitarbeiterClicked",function(){return we.MitarbeiterWechselnClicked()})("UrlaubMitarbeiterMeClicked",function(){return we.UrlaubMitarbeiterMeClickedHandler()})("JahrButtonClicked",function(){return we.JahrButtonClickedHandler()}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(4,"ion-content"),e.\u0275\u0275template(5,Re,67,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,Qe,1,7,"auswahl-dialog",5)(10,$e,1,6,"fi-mitarbeiter-auswahl",6)(11,Be,1,7,"fi-mitarbeiter-auswahl",7)),2&re&&(e.\u0275\u0275advance(5),e.\u0275\u0275property("ngIf",null!==we.DB.CurrentUrlaub),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngIf",we.ShowAuswahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",we.ShowMitarbeiterauswahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",we.ShowMitarbeiterauswahl))},dependencies:[w.NgForOf,w.NgIf,D.IonButton,D.IonCol,D.IonContent,D.IonFooter,D.IonGrid,D.IonHeader,D.IonRow,D.IonText,L.PageHeaderComponent,N.PageHeaderMenuComponent,V.PageFooterComponent,G.AuswahlDialogComponent,R.CheckboxClonComponent,k.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 Me})()},5884:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.CommonUrlaubFreigabenPageModule=void 0;const n=s(81316),c=s(91368),u=s(92512),l=s(44716),i=s(76052),e=s(70216),o=s(53076),d=s(6168),v=s(90520),M=s(6232),p=s(72284),E=s(10272),S=s(7388),y=s(27328),f=s(26668),C=s(6512),_=n.__importStar(s(54496)),D=(n.__importStar(s(53076)),[{path:"",component:i.CommonUrlaubFreigabenPage}]);m.CommonUrlaubFreigabenPageModule=(()=>{class N{static \u0275fac=function(R){return new(R||N)};static \u0275mod=_.\u0275\u0275defineNgModule({type:N});static \u0275inj=_.\u0275\u0275defineInjector({imports:[c.CommonModule,l.FormsModule,u.IonicModule,e.PageHeaderModule,o.RouterModule.forChild(D),d.PageHeaderMenuModule,v.PageFooterModule,M.UrlausplanungKalenderModule,p.ButtonValueModule,E.AuswahlDialogModule,S.CheckboxClonModule,y.FiMitarbeiterEditorModule,f.FiMitarbeiterAuswahlModule,C.AbstandElementFixedModule]})}return N})()},76052:(pe,m,s)=>{"use strict";var n=s(1196).default;Object.defineProperty(m,"__esModule",{value:!0}),m.CommonUrlaubFreigabenPage=void 0;const c=s(81316),u=c.__importStar(s(17964)),l=c.__importDefault(s(35908)),i=s(17964),e=s(36716),o=c.__importStar(s(54496)),d=c.__importStar(s(33940)),v=c.__importStar(s(14652)),M=c.__importStar(s(15024)),p=c.__importStar(s(7992)),E=c.__importStar(s(9544)),S=c.__importStar(s(22848)),y=c.__importStar(s(29743)),f=c.__importStar(s(58864)),C=c.__importStar(s(48044)),_=c.__importStar(s(34388)),w=c.__importStar(s(91368)),D=c.__importStar(s(92512)),L=c.__importStar(s(90212)),N=c.__importStar(s(63792)),V=c.__importStar(s(29856)),G=c.__importStar(s(77440)),R=c.__importStar(s(56584)),k=c.__importStar(s(25856)),A=c.__importStar(s(80887)),H=["PageHeader"],K=["PageFooter"];function ie(qe,Nt){if(1&qe&&(o.\u0275\u0275elementStart(0,"div",31)(1,"table",32)(2,"tr")(3,"td"),o.\u0275\u0275text(4,"Vertretungsanfragen"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(5,"td"),o.\u0275\u0275text(6),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(7,"tr")(8,"td"),o.\u0275\u0275text(9,"Vertretungsantwortenanzahl"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(10,"td"),o.\u0275\u0275text(11),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(12,"tr")(13,"td"),o.\u0275\u0275text(14,"Urlaubsfreigabenanfragenanzahl"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(15,"td"),o.\u0275\u0275text(16),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(17,"tr")(18,"td"),o.\u0275\u0275text(19,"Freigabenantwortenanzahl"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(20,"td"),o.\u0275\u0275text(21),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(22,"tr")(23,"td"),o.\u0275\u0275text(24,"Homeofficeanfragenanzahl"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(25,"td"),o.\u0275\u0275text(26),o.\u0275\u0275elementEnd()()()()),2&qe){const He=o.\u0275\u0275nextContext();o.\u0275\u0275advance(6),o.\u0275\u0275textInterpolate(He.DB.Vertretungsanfragenanzahl),o.\u0275\u0275advance(5),o.\u0275\u0275textInterpolate(He.DB.Vertretungsantwortenanzahl),o.\u0275\u0275advance(5),o.\u0275\u0275textInterpolate(He.DB.Freigabenanfragenanzahl),o.\u0275\u0275advance(5),o.\u0275\u0275textInterpolate(He.DB.Freigabenantwortenanzahl),o.\u0275\u0275advance(5),o.\u0275\u0275textInterpolate(He.DB.Homeofficeanfragenanzahl)}}function J(qe,Nt){if(1&qe){const He=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"td")(1,"div",10),o.\u0275\u0275listener("click",function(){const an=o.\u0275\u0275restoreView(He).index,Ln=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(Ln.MonatButtonClicked(an))}),o.\u0275\u0275text(2),o.\u0275\u0275elementEnd()()}if(2&qe){const He=Nt.$implicit,vt=Nt.index,pt=o.\u0275\u0275nextContext();o.\u0275\u0275advance(),o.\u0275\u0275styleProp("color",pt.GetMonatButtonColor(vt)),o.\u0275\u0275advance(),o.\u0275\u0275textInterpolate(He)}}function be(qe,Nt){1&qe&&o.\u0275\u0275element(0,"div",45)}function ce(qe,Nt){if(1&qe){const He=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275elementStart(1,"ion-radio-group",46),o.\u0275\u0275listener("ionChange",function(pt){o.\u0275\u0275restoreView(He);const an=o.\u0275\u0275nextContext(3).$implicit,Ln=o.\u0275\u0275nextContext(4).$implicit,Vt=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(Vt.VerteretungStatusChangedHandler(pt,an,Ln._id))}),o.\u0275\u0275elementStart(2,"table",47)(3,"tr")(4,"td"),o.\u0275\u0275element(5,"ion-radio",48),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(6,"td",49),o.\u0275\u0275text(7,"Vertretung annehmen"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(8,"td"),o.\u0275\u0275element(9,"ion-radio",48),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(10,"td",50),o.\u0275\u0275text(11,"Vertretung ablehnen"),o.\u0275\u0275elementEnd()()()(),o.\u0275\u0275elementContainerEnd()}if(2&qe){const He=o.\u0275\u0275nextContext(3).$implicit,vt=o.\u0275\u0275nextContext(5);o.\u0275\u0275advance(),o.\u0275\u0275property("value",vt.DB.GetVertretungkonversation(vt.DB.CurrentMitarbeiter,He).Status),o.\u0275\u0275advance(4),o.\u0275\u0275property("value",vt.DB.Urlaubstatusvarianten.Vertreterfreigabe),o.\u0275\u0275advance(4),o.\u0275\u0275property("value",vt.DB.Urlaubstatusvarianten.Vertreterablehnung)}}function Ge(qe,Nt){if(1&qe&&(o.\u0275\u0275elementStart(0,"td",49),o.\u0275\u0275text(1," Vertretung angenommen"),o.\u0275\u0275element(2,"br"),o.\u0275\u0275text(3),o.\u0275\u0275elementEnd()),2&qe){const He=o.\u0275\u0275nextContext(4).$implicit,vt=o.\u0275\u0275nextContext(5);o.\u0275\u0275advance(3),o.\u0275\u0275textInterpolate2(" vor ",vt.DB.GetVertretungsanwortAge(He).toFixed(0)," ",1===vt.DB.GetVertretungsanwortAge(He)?"Minute":"Minuten"," ")}}function ct(qe,Nt){if(1&qe&&(o.\u0275\u0275elementStart(0,"td",50),o.\u0275\u0275text(1," Vertretung abgelehnt"),o.\u0275\u0275element(2,"br"),o.\u0275\u0275text(3),o.\u0275\u0275elementEnd()),2&qe){const He=o.\u0275\u0275nextContext(4).$implicit,vt=o.\u0275\u0275nextContext(5);o.\u0275\u0275advance(3),o.\u0275\u0275textInterpolate2(" vor ",vt.DB.GetVertretungsanwortAge(He).toFixed(0)," ",1===vt.DB.GetVertretungsanwortAge(He)?"Minute":"Minuten"," ")}}function Oe(qe,Nt){if(1&qe&&(o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275elementStart(1,"table",47)(2,"tr"),o.\u0275\u0275template(3,Ge,4,2,"td",51)(4,ct,4,2,"td",52),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementContainerEnd()),2&qe){const He=o.\u0275\u0275nextContext(3).$implicit,vt=o.\u0275\u0275nextContext(5);o.\u0275\u0275advance(3),o.\u0275\u0275property("ngIf",vt.DB.GetVertretungkonversation(vt.DB.CurrentMitarbeiter,He).Status===vt.DB.Urlaubstatusvarianten.Vertreterfreigabe),o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",vt.DB.GetVertretungkonversation(vt.DB.CurrentMitarbeiter,He).Status===vt.DB.Urlaubstatusvarianten.Vertreterablehnung)}}function ke(qe,Nt){if(1&qe){const He=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"tr")(1,"td"),o.\u0275\u0275text(2),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(3,"td"),o.\u0275\u0275text(4),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(5,"td",39),o.\u0275\u0275text(6),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(7,"td"),o.\u0275\u0275template(8,be,1,0,"div",40),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(9,"td",8),o.\u0275\u0275element(10,"div",41),o.\u0275\u0275elementEnd(),o.\u0275\u0275element(11,"td",42),o.\u0275\u0275elementStart(12,"td")(13,"ion-button",43),o.\u0275\u0275listener("click",function(){o.\u0275\u0275restoreView(He);const pt=o.\u0275\u0275nextContext(2).$implicit,an=o.\u0275\u0275nextContext(4).$implicit,Ln=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(Ln.UrlaubSuchen(pt,an))}),o.\u0275\u0275element(14,"ion-icon",44),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(15,"td"),o.\u0275\u0275template(16,ce,12,3,"ng-container",21)(17,Oe,5,2,"ng-container",21),o.\u0275\u0275elementEnd()()}if(2&qe){const He=o.\u0275\u0275nextContext(2).$implicit,vt=o.\u0275\u0275nextContext(4).$implicit,pt=o.\u0275\u0275nextContext();o.\u0275\u0275advance(2),o.\u0275\u0275textInterpolate(pt.GetDatumlangtext(He.Startstempel)),o.\u0275\u0275advance(2),o.\u0275\u0275textInterpolate(pt.GetDatumlangtext(He.Endestempel)),o.\u0275\u0275advance(2),o.\u0275\u0275textInterpolate(He.Tageanzahl),o.\u0275\u0275advance(2),o.\u0275\u0275property("ngIf",!0===He.Betriebsurlaub),o.\u0275\u0275advance(2),o.\u0275\u0275styleProp("background",pt.DB.GetUrlaubStatuscolorByKonversation(He)),o.\u0275\u0275advance(),o.\u0275\u0275property("innerHTML",pt.GetPlanungmeldung(He,vt),o.\u0275\u0275sanitizeHtml),o.\u0275\u0275advance(5),o.\u0275\u0275property("ngIf",!1===pt.DB.GetVertretungkonversation(pt.DB.CurrentMitarbeiter,He).VertreterantwortSended),o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",!0===pt.DB.GetVertretungkonversation(pt.DB.CurrentMitarbeiter,He).VertreterantwortSended)}}function Re(qe,Nt){if(1&qe&&(o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275template(1,ke,18,9,"tr",21),o.\u0275\u0275elementContainerEnd()),2&qe){const He=o.\u0275\u0275nextContext().$implicit,vt=o.\u0275\u0275nextContext(5);o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",!0===vt.DB.CheckVertretungsanwortAge(He)&&vt.DB.CheckMitarbeiterIsVertretung(vt.DB.CurrentMitarbeiter,He)&&(He.Status===vt.DB.Urlaubstatusvarianten.Vertreteranfrage||He.Status===vt.DB.Urlaubstatusvarianten.Vertreterfreigabe||He.Status===vt.DB.Urlaubstatusvarianten.Vertreterablehnung))}}function Qe(qe,Nt){if(1&qe&&(o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275template(1,Re,2,1,"ng-container",21),o.\u0275\u0275elementContainerEnd()),2&qe){const He=Nt.$implicit,vt=o.\u0275\u0275nextContext(5);o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",null!==vt.DB.GetVertretungkonversation(vt.DB.CurrentMitarbeiter,He))}}function $e(qe,Nt){1&qe&&(o.\u0275\u0275elementStart(0,"tr")(1,"td",53),o.\u0275\u0275text(2," Bitte Person f\xfcr Urlaubsfreigaben festlegen "),o.\u0275\u0275elementEnd()())}function Be(qe,Nt){if(1&qe){const He=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275template(1,Qe,2,1,"ng-container",12),o.\u0275\u0275elementStart(2,"tr")(3,"td",37)(4,"ion-button",38),o.\u0275\u0275listener("click",function(){o.\u0275\u0275restoreView(He);const pt=o.\u0275\u0275nextContext().$implicit,an=o.\u0275\u0275nextContext(2).$implicit,Ln=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(Ln.SendVertretungUpdate(an,pt))}),o.\u0275\u0275text(5,"Aktualisierung senden"),o.\u0275\u0275elementEnd()()(),o.\u0275\u0275template(6,$e,3,0,"tr",21),o.\u0275\u0275elementContainerEnd()}if(2&qe){const He=o.\u0275\u0275nextContext().$implicit,vt=o.\u0275\u0275nextContext(2).$implicit,pt=o.\u0275\u0275nextContext();o.\u0275\u0275advance(),o.\u0275\u0275property("ngForOf",He.Urlaubzeitspannen),o.\u0275\u0275advance(3),o.\u0275\u0275property("disabled",!1===pt.CheckVertretungUpdateButtonEnabled(vt,He)),o.\u0275\u0275advance(2),o.\u0275\u0275property("ngIf",0===pt.DB.CountUrlaubsvertretungen(vt))}}function _e(qe,Nt){if(1&qe&&(o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275template(1,Be,7,3,"ng-container",21),o.\u0275\u0275elementContainerEnd()),2&qe){const He=Nt.$implicit,vt=o.\u0275\u0275nextContext(3);o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",He.Jahr===vt.DB.CurrentJahr)}}function Me(qe,Nt){if(1&qe&&(o.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table",19)(3,"tr")(4,"td",8)(5,"table",32)(6,"tr")(7,"td",33),o.\u0275\u0275text(8,"Von"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(9,"td",33),o.\u0275\u0275text(10,"Bis"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(11,"td",34),o.\u0275\u0275text(12,"Tage"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(13,"td",34),o.\u0275\u0275text(14,"BU"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(15,"td",33),o.\u0275\u0275text(16,"Status"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(17,"td",35),o.\u0275\u0275text(18,"Statusmeldung"),o.\u0275\u0275elementEnd(),o.\u0275\u0275element(19,"td"),o.\u0275\u0275elementStart(20,"td",36),o.\u0275\u0275text(21,"Anfrage beantworten"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275template(22,_e,2,1,"ng-container",12),o.\u0275\u0275elementEnd()()(),o.\u0275\u0275elementStart(23,"tr"),o.\u0275\u0275element(24,"td"),o.\u0275\u0275elementEnd()()()()),2&qe){const He=o.\u0275\u0275nextContext().$implicit;o.\u0275\u0275advance(22),o.\u0275\u0275property("ngForOf",He.Urlaubsliste)}}function Se(qe,Nt){if(1&qe&&(o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col")(3,"table",19)(4,"tr")(5,"td",8),o.\u0275\u0275text(6),o.\u0275\u0275elementEnd()()()()(),o.\u0275\u0275template(7,Me,25,1,"ion-row",21),o.\u0275\u0275elementContainerEnd()),2&qe){const He=Nt.$implicit,vt=o.\u0275\u0275nextContext();o.\u0275\u0275advance(6),o.\u0275\u0275textInterpolate1(" ",He.Vorname+" "+He.Name," "),o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",0!==vt.DB.Vertretungsanfragenanzahl||0!==vt.DB.Vertretungsantwortenanzahl)}}function je(qe,Nt){1&qe&&(o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col")(3,"table",6)(4,"tr")(5,"td",54),o.\u0275\u0275text(6," Keine Vertretungsanfragen vorhanden "),o.\u0275\u0275elementEnd()()()()(),o.\u0275\u0275elementContainerEnd())}function re(qe,Nt){1&qe&&(o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col"),o.\u0275\u0275element(3,"div",55),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementContainerEnd())}function we(qe,Nt){1&qe&&o.\u0275\u0275element(0,"div",45)}function rt(qe,Nt){if(1&qe&&(o.\u0275\u0275elementStart(0,"tr")(1,"td"),o.\u0275\u0275text(2),o.\u0275\u0275elementEnd()()),2&qe){const He=Nt.$implicit,vt=o.\u0275\u0275nextContext(8);o.\u0275\u0275advance(2),o.\u0275\u0275textInterpolate(vt.GetStellvertretername(He))}}function tt(qe,Nt){if(1&qe&&(o.\u0275\u0275elementStart(0,"table",66),o.\u0275\u0275template(1,rt,3,1,"tr",12),o.\u0275\u0275elementEnd()),2&qe){const He=o.\u0275\u0275nextContext(2).$implicit;o.\u0275\u0275advance(),o.\u0275\u0275property("ngForOf",He.UrlaubsvertreterIDListe)}}function wt(qe,Nt){if(1&qe){const He=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275elementStart(1,"ion-radio-group",46),o.\u0275\u0275listener("ionChange",function(pt){o.\u0275\u0275restoreView(He);const an=o.\u0275\u0275nextContext(2).$implicit,Ln=o.\u0275\u0275nextContext(4).$implicit,Vt=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(Vt.FreigabeStatusChangedHandler(pt,an,Ln._id))}),o.\u0275\u0275elementStart(2,"table",67)(3,"tr")(4,"td",68),o.\u0275\u0275element(5,"ion-radio",48),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(6,"td",49),o.\u0275\u0275text(7,"Urlaub"),o.\u0275\u0275element(8,"br"),o.\u0275\u0275text(9,"genehmigen"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(10,"td",68),o.\u0275\u0275element(11,"ion-radio",48),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(12,"td",50),o.\u0275\u0275text(13,"Urlaub"),o.\u0275\u0275element(14,"br"),o.\u0275\u0275text(15,"ablehnen"),o.\u0275\u0275elementEnd()()()(),o.\u0275\u0275elementContainerEnd()}if(2&qe){const He=o.\u0275\u0275nextContext(2).$implicit,vt=o.\u0275\u0275nextContext(5);o.\u0275\u0275advance(),o.\u0275\u0275property("value",He.Status),o.\u0275\u0275advance(4),o.\u0275\u0275property("value",vt.DB.Urlaubstatusvarianten.Genehmigt),o.\u0275\u0275advance(6),o.\u0275\u0275property("value",vt.DB.Urlaubstatusvarianten.Abgelehnt)}}function ye(qe,Nt){1&qe&&(o.\u0275\u0275elementStart(0,"td",49),o.\u0275\u0275text(1,"Urlaub genehmigt"),o.\u0275\u0275elementEnd())}function Te(qe,Nt){1&qe&&(o.\u0275\u0275elementStart(0,"td",50),o.\u0275\u0275text(1,"Urlaub abgelehnt"),o.\u0275\u0275elementEnd())}function ht(qe,Nt){if(1&qe&&(o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275elementStart(1,"table",67)(2,"tr"),o.\u0275\u0275template(3,ye,2,0,"td",51)(4,Te,2,0,"td",52),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementContainerEnd()),2&qe){const He=o.\u0275\u0275nextContext(2).$implicit,vt=o.\u0275\u0275nextContext(5);o.\u0275\u0275advance(3),o.\u0275\u0275property("ngIf",He.Status===vt.DB.Urlaubstatusvarianten.Genehmigt),o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",He.Status===vt.DB.Urlaubstatusvarianten.Abgelehnt)}}function Ft(qe,Nt){if(1&qe){const He=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"tr")(1,"td"),o.\u0275\u0275text(2),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(3,"td"),o.\u0275\u0275text(4),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(5,"td",39),o.\u0275\u0275text(6),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(7,"td"),o.\u0275\u0275template(8,we,1,0,"div",40),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(9,"td"),o.\u0275\u0275template(10,tt,2,1,"table",62),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(11,"td",8),o.\u0275\u0275element(12,"div",63),o.\u0275\u0275elementEnd(),o.\u0275\u0275element(13,"td",64),o.\u0275\u0275elementStart(14,"td")(15,"ion-button",65),o.\u0275\u0275listener("click",function(){o.\u0275\u0275restoreView(He);const pt=o.\u0275\u0275nextContext().$implicit,an=o.\u0275\u0275nextContext(4).$implicit,Ln=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(Ln.UrlaubSuchen(pt,an))}),o.\u0275\u0275element(16,"ion-icon",44),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(17,"td"),o.\u0275\u0275template(18,wt,16,3,"ng-container",21)(19,ht,5,2,"ng-container",21),o.\u0275\u0275elementEnd()()}if(2&qe){const He=o.\u0275\u0275nextContext().$implicit,vt=o.\u0275\u0275nextContext(5);o.\u0275\u0275advance(2),o.\u0275\u0275textInterpolate(vt.GetDatumlangtext(He.Startstempel)),o.\u0275\u0275advance(2),o.\u0275\u0275textInterpolate(vt.GetDatumlangtext(He.Endestempel)),o.\u0275\u0275advance(2),o.\u0275\u0275textInterpolate(He.Tageanzahl),o.\u0275\u0275advance(2),o.\u0275\u0275property("ngIf",!0===He.Betriebsurlaub),o.\u0275\u0275advance(2),o.\u0275\u0275property("ngIf",0!==He.UrlaubsvertreterIDListe.length),o.\u0275\u0275advance(2),o.\u0275\u0275styleProp("background",vt.DB.GetUrlaubStatuscolor(He)),o.\u0275\u0275advance(),o.\u0275\u0275property("innerHTML",He.Status===vt.DB.Urlaubstatusvarianten.Vertreterfreigabe?He.Planungmeldung:He.Freigabemeldung,o.\u0275\u0275sanitizeHtml),o.\u0275\u0275advance(2),o.\u0275\u0275property("disabled",He.Status===vt.DB.Urlaubstatusvarianten.Abgelehnt),o.\u0275\u0275advance(3),o.\u0275\u0275property("ngIf",!1===He.FreigabeantwortSended),o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",!0===He.FreigabeantwortSended)}}function nn(qe,Nt){if(1&qe&&(o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275template(1,Ft,20,11,"tr",21),o.\u0275\u0275elementContainerEnd()),2&qe){const He=Nt.$implicit,vt=o.\u0275\u0275nextContext(5);o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",!0===vt.DB.CheckUrlaubFreigabeanwortAge(He)&&(He.Status===vt.DB.Urlaubstatusvarianten.Vertreterfreigabe||He.Status===vt.DB.Urlaubstatusvarianten.Genehmigt||He.Status===vt.DB.Urlaubstatusvarianten.Abgelehnt))}}function Yt(qe,Nt){if(1&qe){const He=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275template(1,nn,2,1,"ng-container",12),o.\u0275\u0275elementStart(2,"tr")(3,"td",57)(4,"table",58)(5,"tr")(6,"td",59),o.\u0275\u0275text(7,"BU = Betriebsurlaub"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(8,"td",60)(9,"ion-button",38),o.\u0275\u0275listener("click",function(){o.\u0275\u0275restoreView(He);const pt=o.\u0275\u0275nextContext().$implicit,an=o.\u0275\u0275nextContext(2).$implicit,Ln=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(Ln.SendFreigabeUpdate(an,pt))}),o.\u0275\u0275text(10,"Aktualisierung senden"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275element(11,"td",61),o.\u0275\u0275elementEnd()()()(),o.\u0275\u0275elementContainerEnd()}if(2&qe){const He=o.\u0275\u0275nextContext().$implicit,vt=o.\u0275\u0275nextContext(2).$implicit,pt=o.\u0275\u0275nextContext();o.\u0275\u0275advance(),o.\u0275\u0275property("ngForOf",He.Urlaubzeitspannen),o.\u0275\u0275advance(8),o.\u0275\u0275property("disabled",!1===pt.CheckFreigabeUpdateButtonEnabled(vt,He))}}function Zt(qe,Nt){if(1&qe&&(o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275template(1,Yt,12,2,"ng-container",21),o.\u0275\u0275elementContainerEnd()),2&qe){const He=Nt.$implicit,vt=o.\u0275\u0275nextContext(2).$implicit,pt=o.\u0275\u0275nextContext();o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",He.Jahr===pt.DB.CurrentJahr&&!0===pt.DB.CheckUrlaubsfreigeberAvailable(vt))}}function Mn(qe,Nt){if(1&qe&&(o.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table",19)(3,"tr")(4,"td",8)(5,"table",32)(6,"tr")(7,"td",33),o.\u0275\u0275text(8,"Von"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(9,"td",33),o.\u0275\u0275text(10,"Bis"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(11,"td",34),o.\u0275\u0275text(12,"Tage"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(13,"td",34),o.\u0275\u0275text(14,"BU"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(15,"td",33),o.\u0275\u0275text(16,"Vertretungen"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(17,"td",33),o.\u0275\u0275text(18,"Status"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(19,"td",56),o.\u0275\u0275text(20,"Statusmeldung"),o.\u0275\u0275elementEnd(),o.\u0275\u0275element(21,"td"),o.\u0275\u0275elementStart(22,"td",36),o.\u0275\u0275text(23,"Anfrage beantworten"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275template(24,Zt,2,1,"ng-container",12),o.\u0275\u0275elementEnd()()()()()()),2&qe){const He=o.\u0275\u0275nextContext().$implicit;o.\u0275\u0275advance(24),o.\u0275\u0275property("ngForOf",He.Urlaubsliste)}}function Un(qe,Nt){if(1&qe&&(o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col")(3,"table",19)(4,"tr")(5,"td",8),o.\u0275\u0275text(6),o.\u0275\u0275elementEnd()()()()(),o.\u0275\u0275template(7,Mn,25,1,"ion-row",21),o.\u0275\u0275elementContainerEnd()),2&qe){const He=Nt.$implicit,vt=o.\u0275\u0275nextContext();o.\u0275\u0275advance(6),o.\u0275\u0275textInterpolate1(" ",He.Vorname+" "+He.Name," "),o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",vt.DB.Freigabenanfragenanzahl>0||vt.DB.Freigabenantwortenanzahl>0)}}function zt(qe,Nt){1&qe&&(o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col")(3,"table",6)(4,"tr")(5,"td",54),o.\u0275\u0275text(6," Keine Freigabeanfragen vorhanden "),o.\u0275\u0275elementEnd()()()()(),o.\u0275\u0275elementContainerEnd())}function Hn(qe,Nt){if(1&qe){const He=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"tr"),o.\u0275\u0275element(1,"td",69),o.\u0275\u0275elementStart(2,"td",8)(3,"ion-button",70),o.\u0275\u0275listener("click",function(){o.\u0275\u0275restoreView(He);const pt=o.\u0275\u0275nextContext(2).$implicit,an=o.\u0275\u0275nextContext(3);return o.\u0275\u0275resetView(an.HomeofficeGenehmigeAll(pt))}),o.\u0275\u0275element(4,"ion-icon",71),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(5,"td",8)(6,"ion-button",72),o.\u0275\u0275listener("click",function(){o.\u0275\u0275restoreView(He);const pt=o.\u0275\u0275nextContext(2).$implicit,an=o.\u0275\u0275nextContext(3);return o.\u0275\u0275resetView(an.HomeofficeAblehnenAll(pt))}),o.\u0275\u0275element(7,"ion-icon",73),o.\u0275\u0275elementEnd()()()}}function kn(qe,Nt){if(1&qe&&o.\u0275\u0275element(0,"ion-radio",48),2&qe){const He=o.\u0275\u0275nextContext(7);o.\u0275\u0275property("value",He.DB.Homeofficestatusvarianten.Genehmigt)}}function ln(qe,Nt){1&qe&&(o.\u0275\u0275elementStart(0,"span"),o.\u0275\u0275element(1,"div",79),o.\u0275\u0275elementEnd())}function ft(qe,Nt){if(1&qe&&o.\u0275\u0275element(0,"ion-radio",48),2&qe){const He=o.\u0275\u0275nextContext(7);o.\u0275\u0275property("value",He.DB.Homeofficestatusvarianten.Abgelehnt)}}function Pe(qe,Nt){1&qe&&(o.\u0275\u0275elementStart(0,"span"),o.\u0275\u0275element(1,"div",80),o.\u0275\u0275elementEnd())}function le(qe,Nt){if(1&qe){const He=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275elementStart(1,"tr")(2,"td"),o.\u0275\u0275text(3),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(4,"td",8)(5,"div",74),o.\u0275\u0275text(6),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(7,"td")(8,"ion-button",43),o.\u0275\u0275listener("click",function(){o.\u0275\u0275restoreView(He);const pt=o.\u0275\u0275nextContext().$implicit,an=o.\u0275\u0275nextContext(5);return o.\u0275\u0275resetView(an.HomeofficeSuchen(pt))}),o.\u0275\u0275element(9,"ion-icon",44),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(10,"td",75)(11,"ion-radio-group",46),o.\u0275\u0275listener("ionChange",function(pt){o.\u0275\u0275restoreView(He);const an=o.\u0275\u0275nextContext().$implicit,Ln=o.\u0275\u0275nextContext(2).$implicit,Vt=o.\u0275\u0275nextContext(3);return o.\u0275\u0275resetView(Vt.HomeofficeStatusChanged(pt,an,Ln))}),o.\u0275\u0275elementStart(12,"table",58)(13,"tr",76)(14,"td",77),o.\u0275\u0275template(15,kn,1,1,"ion-radio",78)(16,ln,2,0,"span",21),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(17,"td",77),o.\u0275\u0275template(18,ft,1,1,"ion-radio",78)(19,Pe,2,0,"span",21),o.\u0275\u0275elementEnd()()()()()(),o.\u0275\u0275elementContainerEnd()}if(2&qe){const He=o.\u0275\u0275nextContext().$implicit,vt=o.\u0275\u0275nextContext(4).$implicit,pt=o.\u0275\u0275nextContext();o.\u0275\u0275advance(3),o.\u0275\u0275textInterpolate(He.Startstring),o.\u0275\u0275advance(2),o.\u0275\u0275styleProp("background",pt.DB.GetHomeofficeStatuscolor(He.Status)),o.\u0275\u0275advance(),o.\u0275\u0275textInterpolate1(" ",vt.Kuerzel," | HO "),o.\u0275\u0275advance(5),o.\u0275\u0275property("value",He.Status),o.\u0275\u0275advance(4),o.\u0275\u0275property("ngIf",!1===He.FreigabeantwortSended),o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",!0===He.FreigabeantwortSended&&He.Status===pt.DB.Homeofficestatusvarianten.Genehmigt),o.\u0275\u0275advance(2),o.\u0275\u0275property("ngIf",!1===He.FreigabeantwortSended),o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",!0===He.FreigabeantwortSended&&He.Status===pt.DB.Homeofficestatusvarianten.Abgelehnt)}}function he(qe,Nt){if(1&qe&&(o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275template(1,le,20,9,"ng-container",21),o.\u0275\u0275elementContainerEnd()),2&qe){const He=Nt.$implicit,vt=o.\u0275\u0275nextContext(5);o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",!0===vt.DB.CheckHomeofficeFreigabeanwortAge(He)&&(He.Status===vt.DB.Homeofficestatusvarianten.Freigabeanfrage||He.Status===vt.DB.Homeofficestatusvarianten.Genehmigt||He.Status===vt.DB.Homeofficestatusvarianten.Abgelehnt))}}function We(qe,Nt){if(1&qe){const He=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"tr")(1,"td",81)(2,"ion-button",38),o.\u0275\u0275listener("click",function(){o.\u0275\u0275restoreView(He);const pt=o.\u0275\u0275nextContext(2).$implicit,an=o.\u0275\u0275nextContext(2).$implicit,Ln=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(Ln.SendHomeofficeUpdate(pt,an))}),o.\u0275\u0275text(3,"Aktualisierung senden"),o.\u0275\u0275elementEnd()()()}if(2&qe){const He=o.\u0275\u0275nextContext(2).$implicit,vt=o.\u0275\u0275nextContext(3);o.\u0275\u0275advance(2),o.\u0275\u0275property("disabled",!1===vt.CheckHomeofficeUpdateButtonEnabled(He))}}function ze(qe,Nt){if(1&qe&&(o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275template(1,Hn,8,0,"tr",21)(2,he,2,1,"ng-container",12)(3,We,4,1,"tr",21),o.\u0275\u0275elementContainerEnd()),2&qe){const He=o.\u0275\u0275nextContext().$implicit,vt=o.\u0275\u0275nextContext(3);o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",vt.CheckHasAnfragen(He)),o.\u0275\u0275advance(),o.\u0275\u0275property("ngForOf",He.Homeofficezeitspannen),o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",!0===vt.CheckHasAnfragen(He))}}function gt(qe,Nt){if(1&qe&&(o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275template(1,ze,4,3,"ng-container",21),o.\u0275\u0275elementContainerEnd()),2&qe){const He=Nt.$implicit,vt=o.\u0275\u0275nextContext(2).$implicit,pt=o.\u0275\u0275nextContext();o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",He.Jahr===pt.DB.CurrentJahr&&!0===pt.DB.CheckHomeofficefreigeberAvailable(vt))}}function Gt(qe,Nt){if(1&qe&&(o.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col")(2,"table",19)(3,"tr")(4,"td",8)(5,"table",32)(6,"tr")(7,"td",33),o.\u0275\u0275text(8,"Datum"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(9,"td",33),o.\u0275\u0275text(10,"Status"),o.\u0275\u0275elementEnd(),o.\u0275\u0275element(11,"td"),o.\u0275\u0275elementStart(12,"td",33),o.\u0275\u0275text(13,"Genehmigt"),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(14,"td",33),o.\u0275\u0275text(15,"Abgelehnt"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275template(16,gt,2,1,"ng-container",12),o.\u0275\u0275elementEnd()()()()()()),2&qe){const He=o.\u0275\u0275nextContext().$implicit;o.\u0275\u0275advance(16),o.\u0275\u0275property("ngForOf",He.Urlaubsliste)}}function dn(qe,Nt){if(1&qe&&(o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col")(3,"table",19)(4,"tr")(5,"td",8),o.\u0275\u0275text(6),o.\u0275\u0275elementEnd()()()()(),o.\u0275\u0275template(7,Gt,17,1,"ion-row",21),o.\u0275\u0275elementContainerEnd()),2&qe){const He=Nt.$implicit,vt=o.\u0275\u0275nextContext();o.\u0275\u0275advance(6),o.\u0275\u0275textInterpolate1(" ",He.Vorname+" "+He.Name," "),o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",vt.DB.Homeofficeanfragenanzahl>0||vt.DB.Homeofficantwortenanzahl>0)}}function $n(qe,Nt){1&qe&&(o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275elementStart(1,"ion-row")(2,"ion-col")(3,"table",6)(4,"tr")(5,"td",54),o.\u0275\u0275text(6," Keine Homeofficeanfragen vorhanden "),o.\u0275\u0275elementEnd()()()()(),o.\u0275\u0275elementContainerEnd())}function tr(qe,Nt){if(1&qe){const He=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementContainerStart(0),o.\u0275\u0275elementStart(1,"tr")(2,"td")(3,"checkbox-clon",82),o.\u0275\u0275listener("CheckChanged",function(pt){o.\u0275\u0275restoreView(He);const an=o.\u0275\u0275nextContext(2);return o.\u0275\u0275resetView(an.AnsichtFeiertageCheckChanged(pt,"DE"))}),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(4,"td")(5,"div",63),o.\u0275\u0275element(6,"ion-icon",86),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(7,"td"),o.\u0275\u0275text(8,"Feiertage Deutschland"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(9,"tr")(10,"td")(11,"checkbox-clon",82),o.\u0275\u0275listener("CheckChanged",function(pt){o.\u0275\u0275restoreView(He);const an=o.\u0275\u0275nextContext(2);return o.\u0275\u0275resetView(an.AnsichtFerientageCheckChanged(pt,"DE"))}),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(12,"td")(13,"div",63),o.\u0275\u0275element(14,"ion-icon",87),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(15,"td"),o.\u0275\u0275text(16,"Schulferien Deutschland"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementContainerEnd()}if(2&qe){const He=o.\u0275\u0275nextContext(2);o.\u0275\u0275advance(3),o.\u0275\u0275property("Checked",He.DB.ShowFeiertage_DE),o.\u0275\u0275advance(2),o.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Feiertage_DE),o.\u0275\u0275advance(6),o.\u0275\u0275property("Checked",He.DB.ShowFerientage_DE),o.\u0275\u0275advance(2),o.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Ferien_DE)}}function br(qe,Nt){if(1&qe){const He=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",88),o.\u0275\u0275listener("CheckChanged",function(pt){const an=o.\u0275\u0275restoreView(He),Ln=an.$implicit,Vt=an.index,Sn=o.\u0275\u0275nextContext(2);return o.\u0275\u0275resetView(Sn.DisplayExternCheckChanged(pt,Ln,Vt))}),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(3,"td")(4,"div",89),o.\u0275\u0275text(5),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(6,"td"),o.\u0275\u0275text(7),o.\u0275\u0275elementEnd()()}if(2&qe){const He=Nt.$implicit,vt=o.\u0275\u0275nextContext(2);o.\u0275\u0275advance(2),o.\u0275\u0275property("Checked",vt.DB.CheckDisplayExternenUrlaub(He.MitarbeiterIDExtern))("Enabled",He.Urlaubzeitspannen.length>0),o.\u0275\u0275advance(3),o.\u0275\u0275textInterpolate(He.NameKuerzel),o.\u0275\u0275advance(2),o.\u0275\u0275textInterpolate2("",He.NameExtern," ",He.Text,"")}}function or(qe,Nt){if(1&qe){const He=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"table",15),o.\u0275\u0275template(1,tr,17,6,"ng-container",21),o.\u0275\u0275elementContainerStart(2),o.\u0275\u0275elementStart(3,"tr")(4,"td")(5,"checkbox-clon",82),o.\u0275\u0275listener("CheckChanged",function(pt){o.\u0275\u0275restoreView(He);const an=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(an.AnsichtFeiertageCheckChanged(pt,"BG"))}),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(6,"td")(7,"div",63),o.\u0275\u0275element(8,"ion-icon",83),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(9,"td"),o.\u0275\u0275text(10,"Feiertage Bulgarien"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(11,"tr")(12,"td")(13,"checkbox-clon",82),o.\u0275\u0275listener("CheckChanged",function(pt){o.\u0275\u0275restoreView(He);const an=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(an.AnsichtFerientageCheckChanged(pt,"BG"))}),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(14,"td")(15,"div",63),o.\u0275\u0275element(16,"ion-icon",84),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(17,"td"),o.\u0275\u0275text(18,"Schulferien Bulgarien"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementContainerEnd(),o.\u0275\u0275elementStart(19,"tr"),o.\u0275\u0275element(20,"td"),o.\u0275\u0275elementStart(21,"td"),o.\u0275\u0275element(22,"div",63),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(23,"td"),o.\u0275\u0275text(24,"geplanter Urlaub"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(25,"tr"),o.\u0275\u0275element(26,"td"),o.\u0275\u0275elementStart(27,"td"),o.\u0275\u0275element(28,"div",63),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(29,"td"),o.\u0275\u0275text(30,"Vertretung angefragt"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(31,"tr"),o.\u0275\u0275element(32,"td"),o.\u0275\u0275elementStart(33,"td"),o.\u0275\u0275element(34,"div",63),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(35,"td"),o.\u0275\u0275text(36,"Genehmigungsanfrage Urlaub"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(37,"tr"),o.\u0275\u0275element(38,"td"),o.\u0275\u0275elementStart(39,"td"),o.\u0275\u0275element(40,"div",63),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(41,"td"),o.\u0275\u0275text(42,"Vertretung wurde abgelehnt"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(43,"tr"),o.\u0275\u0275element(44,"td"),o.\u0275\u0275elementStart(45,"td"),o.\u0275\u0275element(46,"div",63),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(47,"td"),o.\u0275\u0275text(48,"Genehmigter Urlaub"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(49,"tr"),o.\u0275\u0275element(50,"td"),o.\u0275\u0275elementStart(51,"td"),o.\u0275\u0275element(52,"div",63),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(53,"td"),o.\u0275\u0275text(54,"Abgelehnter Urlaub"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(55,"tr"),o.\u0275\u0275element(56,"td"),o.\u0275\u0275elementStart(57,"td")(58,"div",63),o.\u0275\u0275text(59,"HO"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(60,"td"),o.\u0275\u0275text(61,"geplantes Homeoffice"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275element(62,"tr"),o.\u0275\u0275elementStart(63,"tr"),o.\u0275\u0275element(64,"td"),o.\u0275\u0275elementStart(65,"td")(66,"div",63),o.\u0275\u0275text(67,"HO"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(68,"td"),o.\u0275\u0275text(69,"Homeoffice angefragt"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(70,"tr"),o.\u0275\u0275element(71,"td"),o.\u0275\u0275elementStart(72,"td")(73,"div",63),o.\u0275\u0275text(74,"HO"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(75,"td"),o.\u0275\u0275text(76,"Homeoffice genehmigt"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(77,"tr"),o.\u0275\u0275element(78,"td"),o.\u0275\u0275elementStart(79,"td")(80,"div",63),o.\u0275\u0275text(81,"HO"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(82,"td"),o.\u0275\u0275text(83,"Homeoffice abgelehnt"),o.\u0275\u0275elementEnd()(),o.\u0275\u0275template(84,br,8,5,"tr",12),o.\u0275\u0275elementStart(85,"tr"),o.\u0275\u0275element(86,"td",85),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(87,"tr")(88,"td")(89,"checkbox-clon",82),o.\u0275\u0275listener("CheckChanged",function(pt){o.\u0275\u0275restoreView(He);const an=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(an.ShowHomeofficeChanged(pt))}),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(90,"td",75),o.\u0275\u0275text(91,"Homeoffice Eintr\xe4ge anzeigen"),o.\u0275\u0275elementEnd()()()}if(2&qe){const He=o.\u0275\u0275nextContext();o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf","DE"===He.DB.Laendercode),o.\u0275\u0275advance(4),o.\u0275\u0275property("Checked",He.DB.ShowFeiertage_BG),o.\u0275\u0275advance(2),o.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Feiertage_BG),o.\u0275\u0275advance(6),o.\u0275\u0275property("Checked",He.DB.ShowFerientage_BG),o.\u0275\u0275advance(2),o.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Ferien_BG),o.\u0275\u0275advance(7),o.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Geplant),o.\u0275\u0275advance(6),o.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Vertreteranfrage),o.\u0275\u0275advance(6),o.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Vertreterfreigabe),o.\u0275\u0275advance(6),o.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Vertreterablehnung),o.\u0275\u0275advance(6),o.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Genehmigt),o.\u0275\u0275advance(6),o.\u0275\u0275styleProp("background",He.DB.Urlaubsfaben.Abgelehnt),o.\u0275\u0275advance(6),o.\u0275\u0275styleProp("background",He.DB.Homeofficefarben.Geplant),o.\u0275\u0275advance(8),o.\u0275\u0275styleProp("background",He.DB.Homeofficefarben.Freigabeanfrage),o.\u0275\u0275advance(7),o.\u0275\u0275styleProp("background",He.DB.Homeofficefarben.Genehmigt),o.\u0275\u0275advance(7),o.\u0275\u0275styleProp("background",He.DB.Homeofficefarben.Abgelehnt),o.\u0275\u0275advance(4),o.\u0275\u0275property("ngForOf",He.DB.UrlaublisteExtern),o.\u0275\u0275advance(5),o.\u0275\u0275property("Checked",He.Pool.Mitarbeitersettings.ShowHomeoffice)}}function fi(qe,Nt){if(1&qe&&(o.\u0275\u0275elementStart(0,"td"),o.\u0275\u0275element(1,"img",94),o.\u0275\u0275elementEnd()),2&qe){const He=o.\u0275\u0275nextContext(2);o.\u0275\u0275advance(),o.\u0275\u0275property("src",He.Flagsource,o.\u0275\u0275sanitizeUrl)}}function Cr(qe,Nt){if(1&qe&&(o.\u0275\u0275elementStart(0,"td",95),o.\u0275\u0275text(1),o.\u0275\u0275elementEnd()),2&qe){const He=o.\u0275\u0275nextContext(2);o.\u0275\u0275advance(),o.\u0275\u0275textInterpolate(He.Message)}}function jr(qe,Nt){1&qe&&(o.\u0275\u0275elementStart(0,"div",96),o.\u0275\u0275text(1,"Keine externen Email senden"),o.\u0275\u0275elementEnd())}function Yn(qe,Nt){if(1&qe&&(o.\u0275\u0275elementStart(0,"table",6)(1,"tr")(2,"td",90)(3,"table",15)(4,"tr"),o.\u0275\u0275template(5,fi,2,1,"td",21)(6,Cr,2,1,"td",91),o.\u0275\u0275elementEnd()()(),o.\u0275\u0275elementStart(7,"td",92),o.\u0275\u0275template(8,jr,2,0,"div",93),o.\u0275\u0275elementEnd()()()),2&qe){const He=o.\u0275\u0275nextContext();o.\u0275\u0275advance(5),o.\u0275\u0275property("ngIf",""!==He.Flagsource),o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",""!==He.Message),o.\u0275\u0275advance(2),o.\u0275\u0275property("ngIf",He.Pool.Appeinstellungen.DebugNoExternalEmail)}}function It(qe,Nt){if(1&qe){const He=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"auswahl-dialog",97),o.\u0275\u0275listener("OkClickedEvent",function(pt){o.\u0275\u0275restoreView(He);const an=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(an.AuswahlOkButtonClicked(pt))})("CancelClickedEvent",function(){o.\u0275\u0275restoreView(He);const pt=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(pt.ShowAuswahl=!1)}),o.\u0275\u0275elementEnd()}if(2&qe){const He=o.\u0275\u0275nextContext();o.\u0275\u0275property("Auswahlliste",He.Auswahlliste)("Auswahlindex",He.Auswahlindex)("ZIndex",5e3)("Dialogbreite",400)("PositionY",100)("Titel",He.Auswahltitel)("Iconname","")}}function en(qe,Nt){if(1&qe){const He=o.\u0275\u0275getCurrentView();o.\u0275\u0275elementStart(0,"fi-mitarbeiter-auswahl",98),o.\u0275\u0275listener("CancelClickedEvent",function(){o.\u0275\u0275restoreView(He);const pt=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(pt.ShowMitarbeiterauswahl=!1)})("OkClickedEvent",function(pt){o.\u0275\u0275restoreView(He);const an=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(an.MitarbeiterauswahlOkButtonClicked(pt))})("StandortfilterClickedEvent",function(){o.\u0275\u0275restoreView(He);const pt=o.\u0275\u0275nextContext();return o.\u0275\u0275resetView(pt.MitarebiterStandortfilterClickedHandler())}),o.\u0275\u0275elementEnd()}if(2&qe){const He=o.\u0275\u0275nextContext();o.\u0275\u0275property("Titel",He.MitarbeiterauswahlTitel)("Dialogbreite",600)("ZIndex",4e3)("Multiselect",!1)("OnlyProjektmitarbeiter",!1)("AuswahlIDliste",He.AuswahlIDliste)}}m.CommonUrlaubFreigabenPage=(()=>{class qe{Loadinganimation;Basics;DBMitarbeitersettings;Pool;DB;DBMitarbeiter;Const;DBStandort;DBMitarbeiterstettings;Auswahlservice;Debug;PageHeader;PageFooter;environment=e.environment;Auswahlliste;Auswahlindex;Auswahltitel;ShowAuswahl;Auswahldialogorigin;DataSubscription;ShowMitarbeiterauswahl;AuswahlIDliste;MitarbeiterauswahlTitel;MitarbeiterMultiselect;Message;Flagsource;LegendeVisible;Legendehoehe;Legendebreite;constructor(He,vt,pt,an,Ln,Vt,Sn,xe,_t,Pt,jt){this.Loadinganimation=He,this.Basics=vt,this.DBMitarbeitersettings=pt,this.Pool=an,this.DB=Ln,this.DBMitarbeiter=Vt,this.Const=Sn,this.DBStandort=xe,this.DBMitarbeiterstettings=_t,this.Auswahlservice=Pt,this.Debug=jt;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(ar){this.Debug.ShowErrorMessage(ar.message,"Urlaub Freigaben Page","constructor",this.Debug.Typen.Page)}}ngOnDestroy(){try{let He;for(let vt of this.DB.Homeofficefreigabenliste){He=u.find(vt.Urlaubsliste,{Jahr:this.DB.CurrentUrlaub.Jahr});for(let pt of He.Homeofficezeitspannen)!1===pt.FreigabeantwortSended&&(pt.Status=this.DB.Homeofficestatusvarianten.Freigabeanfrage);vt._id===this.DB.CurrentMitarbeiter._id&&He.Jahr===this.DB.CurrentUrlaub.Jahr&&(this.DB.CurrentUrlaub=He),this.DB.CountAnfragenanzahlen()}}catch(He){this.Debug.ShowErrorMessage(He,"Urlaub Freigaben 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(He){this.Debug.ShowErrorMessage(He,"Urlaub Freigaben Page","OnInit",this.Debug.Typen.Page)}}PrepareData(){var He=this;return n(function*(){try{He.DB.Init(),He.DB.CheckSetup(),He.DB.SetPlanungsmonate(),He.DB.CountAnfragenanzahlen(),He.DB.UpdateKalenderRequestEvent.emit()}catch(vt){He.Debug.ShowErrorMessage(vt,"Urlaub Freigaben Page","PrepareData",He.Debug.Typen.Page)}})()}GetDatumlangtext(He){try{return(0,l.default)(He).locale("de").format("DD. MMMM YYYY")}catch(vt){this.Debug.ShowErrorMessage(vt,"Urlaub Freigaben Page","GetDatumlangtext",this.Debug.Typen.Page)}}UrlaubMitarbeiterMeClickedHandler(){try{this.DB.CurrentMitarbeiter=this.Pool.Mitarbeiterdaten,this.PrepareData()}catch(He){this.Debug.ShowErrorMessage(He,"Urlaub Freigaben Page","UrlaubMitarbeiterMeClickedHandler",this.Debug.Typen.Page)}}MitarbeiterauswahlOkButtonClicked(He){try{let vt;this.Auswahldialogorigin===this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln&&(vt=u.find(this.Pool.Mitarbeiterliste,{_id:He[0]}),this.DB.CurrentMitarbeiter=vt,this.PrepareData()),this.ShowMitarbeiterauswahl=!1}catch(vt){this.Debug.ShowErrorMessage(vt.message,"Urlaub Freigaben Page","MitarbeiterauswahlOkButtonClicked",this.Debug.Typen.Page)}}MitarebiterStandortfilterClickedHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.UrlaubAnfargen_Standort_Filter;let He=0;this.ShowAuswahl=!0,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:He,FirstColumn:"kein Filter",SecoundColumn:"",Data:null}),He++;for(let vt of this.Pool.Standorteliste)this.Auswahlliste.push({Index:He,FirstColumn:vt.Kuerzel,SecoundColumn:vt.Standort,Data:vt}),He++;this.Auswahlindex=null!==this.DBStandort.CurrentStandortfilter?u.findIndex(this.Pool.Standorteliste,{_id:this.DBStandort.CurrentStandortfilter._id}):0}catch(He){this.Debug.ShowErrorMessage(He.message,"Urlaub Freigaben Page","MitarebiterStandortfilterClickedHandler",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(He){var vt=this;return n(function*(){try{switch(vt.Auswahldialogorigin){case vt.Auswahlservice.Auswahloriginvarianten.UrlaubAnfargen_Standort_Filter:vt.DBStandort.CurrentStandortfilter=(0,i.cloneDeep)(He),vt.Pool.Mitarbeitersettings.StandortFilter=null!==He?He._id:vt.Const.NONE,vt.DBMitarbeitersettings.UpdateMitarbeitersettings(vt.Pool.Mitarbeitersettings,null).then(()=>{vt.ShowAuswahl=!1,vt.PrepareData(),vt.DBStandort.StandortfilterChanged.emit()});break;case vt.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Jahr_Aendern:vt.DB.CurrentJahr=He,vt.ShowAuswahl=!1,yield vt.Loadinganimation.ShowLoadingAnimation("Hinweis","Daten werden geladen"),yield vt.DB.ReadFeiertage("DE"),yield vt.DB.ReadFeiertage("BG"),yield vt.DB.ReadFerien("DE"),yield vt.DB.ReadFerien("BG"),yield vt.Loadinganimation.HideLoadingAnimation(!0),vt.PrepareData()}}catch(pt){vt.Debug.ShowErrorMessage(pt.message,"Urlaub Freigaben Page","AuswahlOkButtonClicked",vt.Debug.Typen.Page)}})()}MitarbeiterWechselnClicked(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln,this.ShowMitarbeiterauswahl=!0,this.AuswahlIDliste=[]}catch(He){this.Debug.ShowErrorMessage(He,"Urlaubsplanung Page","MitarbeiterWechselnClicked",this.Debug.Typen.Page)}}GetDatum(He){try{return(0,l.default)(He).format("DD.MM.YYYY")}catch(vt){this.Debug.ShowErrorMessage(vt,"Urlaub Freigaben Page","GetDatum",this.Debug.Typen.Page)}}VerteretungStatusChangedHandler(He,vt,pt){try{let an=u.findIndex(vt.Vertretungskonversationliste,{VertreterID:this.DB.CurrentMitarbeiter._id});vt.Vertretungskonversationliste[an].Status=He.detail.value}catch(an){this.Debug.ShowErrorMessage(an,"Urlaub Freigaben Page","VerteretungStatusChangedHandler",this.Debug.Typen.Page)}}FreigabeStatusChangedHandler(He,vt,pt){try{vt.Status=He.detail.value}catch(an){this.Debug.ShowErrorMessage(an,"Urlaub Freigaben Page","FreigabeStatusChangedHandler",this.Debug.Typen.Page)}}CheckVertretungUpdateButtonEnabled(He,vt){try{let Ln,pt=!1,an=u.find(this.Pool.Standorteliste,{_id:He.StandortID});for(let Vt of vt.Urlaubzeitspannen)Ln=u.find(Vt.Vertretungskonversationliste,{VertreterID:this.DB.CurrentMitarbeiter._id}),u.isUndefined(Ln)||an.Urlaubfreigabepersonen.length>0&&!1===Ln.VertreterantwortSended&&(Ln.Status===this.DB.Urlaubstatusvarianten.Vertreterablehnung||Ln.Status===this.DB.Urlaubstatusvarianten.Vertreterfreigabe)&&(pt=!0);return pt}catch(pt){this.Debug.ShowErrorMessage(pt,"Urlaub Freigaben Page","CheckVertretungUpdateButtonEnabled",this.Debug.Typen.Page)}}UrlaubSuchen(He,vt){try{let pt=(0,l.default)(He.Startstempel);this.DB.CurrentMonatindex=pt.month(),this.DB.SetPlanungsmonate()}catch(pt){this.Debug.ShowErrorMessage(pt,"Urlaub Freigaben Page","UrlaubSuchen",this.Debug.Typen.Page)}}CheckFreigabeUpdateButtonEnabled(He,vt){try{let pt=!1;for(let an of vt.Urlaubzeitspannen)u.isUndefined(an.FreigabeantwortSended)&&(an.FreigabeantwortSended=!1),!1===an.FreigabeantwortSended&&(an.Status===this.DB.Urlaubstatusvarianten.Genehmigt||an.Status===this.DB.Urlaubstatusvarianten.Abgelehnt)&&(pt=!0);return pt}catch(pt){this.Debug.ShowErrorMessage(pt,"Urlaub Freigaben Page","CheckFreigabeUpdateButtonEnabled",this.Debug.Typen.Page)}}SendVertretungUpdate(He,vt){var pt=this;return n(function*(){try{yield pt.DB.UpdateVertreterantworten(He,vt),yield pt.PrepareData(),pt.DB.ExterneUrlaubeChanged.emit()}catch(an){pt.Debug.ShowErrorMessage(an,"Urlaub Freigaben Page","SendVertretungUpdate",pt.Debug.Typen.Page)}})()}FerientagCrossedEventHandler(He){try{this.Message=He.Name,""!==He.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===He.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(vt){this.Debug.ShowErrorMessage(vt,"Urlaub Freigaben Page","FerientagCrossedEventHandler",this.Debug.Typen.Page)}}DisplayExternCheckChanged(He,vt,pt){try{let an=u.find(this.DB.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:vt.MitarbeiterIDExtern});u.isUndefined(an)||(an.Display=He.status);let Ln=u.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.CurrentJahr});this.DB.CurrentMitarbeiter.Urlaubsliste[Ln]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.DB.ExterneUrlaubeChanged.emit()})}catch(an){this.Debug.ShowErrorMessage(an,"Urlaub Freigaben Page","DisplayExternCheckChanged",this.Debug.Typen.Page)}}DisplayMeinenUrlaubCheckChanged(He){try{this.Pool.Mitarbeitersettings.UrlaubShowMeinenUrlaub=He.status,this.DBMitarbeiterstettings.UpdateMitarbeitersettings(this.Pool.Mitarbeitersettings,null).then(()=>{this.DB.ExterneUrlaubeChanged.emit()})}catch(vt){this.Debug.ShowErrorMessage(vt,"Urlaub Freigaben Page","DisplayMeinenUrlaubCheckChanged",this.Debug.Typen.Page)}}MonatBackButtonClicked(){try{this.DB.CurrentMonatindex>0&&(this.DB.CurrentMonatindex--,this.DB.SetPlanungsmonate())}catch(He){this.Debug.ShowErrorMessage(He,"Urlaub Freigaben Page","MonatBackButtonClicked",this.Debug.Typen.Page)}}MonatForwardButtonClicked(){try{this.DB.CurrentMonatindex<11&&(this.DB.CurrentMonatindex++,this.DB.SetPlanungsmonate())}catch(He){this.Debug.ShowErrorMessage(He,"Urlaub Freigaben Page","MonatForwardButtonClicked",this.Debug.Typen.Page)}}FeiertagCrossedEventHandler(He){try{this.Message=He.Name,""!==He.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===He.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(vt){this.Debug.ShowErrorMessage(vt,"Urlaub Freigaben Page","FeiertagCrossedEventHandler",this.Debug.Typen.Page)}}MonatButtonClicked(He){try{this.DB.CurrentMonatindex=He,this.DB.SetPlanungsmonate()}catch(vt){this.Debug.ShowErrorMessage(vt,"Urlaub Freigaben Page","MonatButtonClicked",this.Debug.Typen.Page)}}GetMonatButtonColor(He){try{if(this.DB.CurrentMonatindex===He)return"orange"}catch(vt){this.Debug.ShowErrorMessage(vt,"Urlaub Freigaben Page","GetMonatButtonColor",this.Debug.Typen.Page)}}AnsichtFerientageCheckChanged(He,vt){try{switch(vt){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFerien_DE=He.status,this.DB.ShowFerientage_DE=He.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFerien_BG=He.status,this.DB.ShowFerientage_BG=He.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(pt){this.Debug.ShowErrorMessage(pt,"Urlaub Freigaben Page","AnsichtFerientageCheckChanged",this.Debug.Typen.Page)}}AnsichtFeiertageCheckChanged(He,vt){try{switch(vt){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_DE=He.status,this.DB.ShowFeiertage_DE=He.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_BG=He.status,this.DB.ShowFeiertage_BG=He.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(pt){this.Debug.ShowErrorMessage(pt,"Urlaub Freigaben Page","AnsichtFeiertageCheckChanged",this.Debug.Typen.Page)}}GetStellvertretername(He){try{let vt=u.find(this.Pool.Mitarbeiterliste,{_id:He});return u.isUndefined(vt)?"unbekannt":vt.Vorname+" "+vt.Name}catch(vt){this.Debug.ShowErrorMessage(vt,"Urlaub Freigaben Page","GetStellvertretername",this.Debug.Typen.Page)}}SendFreigabeUpdate(He,vt){var pt=this;return n(function*(){try{yield pt.DB.UpdateFreigabenantworten(He,vt),yield pt.PrepareData(),pt.DB.ExterneUrlaubeChanged.emit()}catch(an){pt.Debug.ShowErrorMessage(an,"Urlaub Freigaben Page","SendFreigabeUpdate",pt.Debug.Typen.Page)}})()}HomeofficeStatusChanged(He,vt,pt){try{vt.Status=He.detail.value}catch(an){this.Debug.ShowErrorMessage(an,"Urlaub Freigaben Page","HomeofficeStatusChanged",this.Debug.Typen.Page)}}HomeofficeGenehmigeAll(He){try{for(let vt of He.Homeofficezeitspannen)!1===vt.FreigabeantwortSended&&(vt.Status=this.DB.Homeofficestatusvarianten.Genehmigt)}catch(vt){this.Debug.ShowErrorMessage(vt,"Urlaub Freigaben Page","HomeofficeGenehmigeAll",this.Debug.Typen.Page)}}HomeofficeAblehnenAll(He){try{for(let vt of He.Homeofficezeitspannen)!1===vt.FreigabeantwortSended&&(vt.Status=this.DB.Homeofficestatusvarianten.Abgelehnt)}catch(vt){this.Debug.ShowErrorMessage(vt,"Urlaub Freigaben Page","HomeofficeAblehnenAll",this.Debug.Typen.Page)}}SendHomeofficeUpdate(He,vt){var pt=this;return n(function*(){try{yield pt.DB.SendHomeofficeFreigabeantworten(vt,He),yield pt.PrepareData(),pt.DB.ExterneHomeofficeChanged.emit()}catch(an){pt.Debug.ShowErrorMessage(an,"Urlaub Freigaben Page","SendHomeofficeUpdate",pt.Debug.Typen.Page)}})()}CheckHomeofficeUpdateButtonEnabled(He){try{let vt=!1;for(let pt of He.Homeofficezeitspannen)!1===pt.FreigabeantwortSended&&(pt.Status===this.DB.Homeofficestatusvarianten.Abgelehnt||pt.Status===this.DB.Homeofficestatusvarianten.Genehmigt)&&(vt=!0);return vt}catch(vt){this.Debug.ShowErrorMessage(vt,"Urlaub Freigaben Page","CheckHomeofficeUpdateButtonEnabled",this.Debug.Typen.Page)}}GetPlanungmeldung(He,vt){try{let pt,an,Ln;switch(He.Status){case this.DB.Urlaubstatusvarianten.Vertreteranfrage:Ln=u.find(He.Vertretungskonversationliste,{VertreterID:this.DB.CurrentMitarbeiter._id}),an=u.isUndefined(Ln)?(0,l.default)():(0,l.default)(Ln.Vertretunganfragezeitstempel),pt="Vertretungsanfrage von "+vt.Vorname+" "+vt.Name+" vom "+an.format("DD.MM.YYYY");break;case this.DB.Urlaubstatusvarianten.Vertreterablehnung:Ln=u.find(He.Vertretungskonversationliste,{VertreterID:this.DB.CurrentMitarbeiter._id}),an=u.isUndefined(Ln)?(0,l.default)():(0,l.default)(Ln.Vertretungantwortzeitstempel),pt="Vertretungsanfrage von "+vt.Vorname+" "+vt.Name+" wurde am "+an.format("DD.MM.YYYY")+" abgelehnt";break;case this.DB.Urlaubstatusvarianten.Vertreterfreigabe:Ln=u.find(He.Vertretungskonversationliste,{VertreterID:this.DB.CurrentMitarbeiter._id}),an=u.isUndefined(Ln)?(0,l.default)():(0,l.default)(Ln.Vertretungantwortzeitstempel),pt="Vertretungsanfrage von "+vt.Vorname+" "+vt.Name+" wurde am "+an.format("DD.MM.YYYY")+" zugestimmt."}return pt}catch(pt){this.Debug.ShowErrorMessage(pt,"Urlaubsplanung Page","GetPlanungmeldung",this.Debug.Typen.Page)}}CheckHasAnfragen(He){try{let vt=!1;for(let pt of He.Homeofficezeitspannen)!1===pt.FreigabeantwortSended&&(vt=!0);return vt}catch(vt){this.Debug.ShowErrorMessage(vt,"Urlaub Freigaben Page","CheckHasAnfragen",this.Debug.Typen.Page)}}HomeofficeSuchen(He){try{let vt=(0,l.default)(He.Startstempel);this.DB.CurrentMonatindex=vt.month(),this.DB.SetPlanungsmonate()}catch(vt){this.Debug.ShowErrorMessage(vt,"Urlaub Freigaben Page","HomeofficeSuchen",this.Debug.Typen.Page)}}ExternUrlaubstagClickedEventHandler(He){try{let vt=u.find(this.Pool.Mitarbeiterliste,{_id:He});!1===u.isUndefined(vt)&&(this.DB.CurrentMitarbeiter=vt,this.PrepareData())}catch(vt){this.Debug.ShowErrorMessage(vt,"Urlaub Freigaben Page","ExternUrlaubstagClickedEventHandler",this.Debug.Typen.Page)}}ShowHomeofficeChanged(He){try{this.Pool.Mitarbeitersettings.ShowHomeoffice=He.status,this.DBMitarbeitersettings.UpdateMitarbeitersettings(this.Pool.Mitarbeitersettings,null).then(()=>{this.DB.UpdateKalenderRequestEvent.emit()})}catch(vt){this.Debug.ShowErrorMessage(vt,"Urlaub Freigaben Page","ShowHomeofficeChanged",this.Debug.Typen.Page)}}JahrButtonClickedHandler(){try{let He=0,pt=this.DB.Jahr+1;this.Auswahltitel="Jahr wechseln",this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Jahr_Aendern,this.Auswahlliste=[];for(let an=this.DB.Startjahr;an<=pt;an++)this.Auswahlliste.push({Index:He++,FirstColumn:an.toString(),SecoundColumn:"",Data:an});this.ShowAuswahl=!0,this.Auswahlindex=u.findIndex(this.Auswahlliste,{Data:this.DB.CurrentJahr})}catch(He){this.Debug.ShowErrorMessage(He,"Urlaub Freigaben Page","JahrButtonClickedHandler",this.Debug.Typen.Page)}}static \u0275fac=function(vt){return new(vt||qe)(o.\u0275\u0275directiveInject(d.LoadingAnimationService),o.\u0275\u0275directiveInject(v.BasicsProvider),o.\u0275\u0275directiveInject(M.DatabaseMitarbeitersettingsService),o.\u0275\u0275directiveInject(p.DatabasePoolService),o.\u0275\u0275directiveInject(E.DatabaseUrlaubService),o.\u0275\u0275directiveInject(S.DatabaseMitarbeiterService),o.\u0275\u0275directiveInject(y.ConstProvider),o.\u0275\u0275directiveInject(f.DatabaseStandorteService),o.\u0275\u0275directiveInject(M.DatabaseMitarbeitersettingsService),o.\u0275\u0275directiveInject(C.AuswahlDialogService),o.\u0275\u0275directiveInject(_.DebugProvider))};static \u0275cmp=o.\u0275\u0275defineComponent({type:qe,selectors:[["common-urlaub-freigaben-page"]],viewQuery:function(vt,pt){if(1&vt&&(o.\u0275\u0275viewQuery(H,5),o.\u0275\u0275viewQuery(K,5)),2&vt){let an;o.\u0275\u0275queryRefresh(an=o.\u0275\u0275loadQuery())&&(pt.PageHeader=an.first),o.\u0275\u0275queryRefresh(an=o.\u0275\u0275loadQuery())&&(pt.PageFooter=an.first)}},decls:75,vars:32,consts:[["xmlns","http://www.w3.org/1999/html",1,"ion-no-border"],["PageHeader",""],[3,"UrlaubMitarbeiterClicked","UrlaubMitarbeiterMeClicked","JahrButtonClicked"],[1,"contentkeeperdivclass"],[1,"contentdivclass"],["style","position: absolute; padding: 4px; background: white; bottom: 0px;",4,"ngIf"],[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","ExternUrlaubstagClickedEvent","FeiertagCrossedEvent","FerientagCrossedEvent"],[3,"Jahr","ShowYear","Monatindex","AddUrlaubRunning","ExternUrlaubstagClickedEvent","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",""],["style","width: 100%;",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"],[2,"position","absolute","padding","4px","background","white","bottom","0px"],[1,"docinnertable"],[2,"font-weight","bold"],[2,"font-weight","bold","text-align","center"],[2,"font-weight","bold","min-width","600px"],[2,"font-weight","bold","width","300px"],["colspan","8","align","center"],["size","small",3,"disabled","click"],[2,"text-align","center"],["style","width: 20px; height: 20px; background: #307ac1; border-radius: 100%",4,"ngIf"],[1,"legendenewdivclass"],[3,"innerHTML"],["size","small","color","grau",3,"click"],["name","search","slot","icon-only",2,"font-size","16px"],[2,"width","20px","height","20px","background","#307ac1","border-radius","100%"],[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"],[2,"font-weight","bold","min-width","500px"],["colspan","9","align","center"],[1,"nobordertable",2,"width","100%"],[2,"width","33%","font-size","80%"],["align","center",2,"width","33%"],[2,"width","33%"],["class","nobordersmalltable",4,"ngIf"],[1,"legendedivclass"],[2,"overflow-wrap","break-word","width","500px",3,"innerHTML"],["size","small","color","grau",3,"disabled","click"],[1,"nobordersmalltable"],["width","100%",1,"nobordertable"],[2,"width","30px"],["colspan","3"],["color","gruen","size","small",3,"click"],["name","checkmark-outline"],["color","rot","size","small",3,"click"],["name","close-outline"],[1,"legendebreitdivclass"],["colspan","2"],[2,"height","32px"],["align","center",2,"width","50%"],[3,"value",4,"ngIf"],[2,"border-radius","50%","width","12px","height","12px","background","green"],[2,"border-radius","50%","width","12px","height","12px","background","red"],["colspan","5","align","center"],[3,"Checked","CheckChanged"],["name","flag-outline","color","gelb",2,"font-size","18px"],["name","school-outline","color","gelb",2,"font-size","18px"],["colspan","3",2,"height","20px"],["name","flag-outline","color","weiss",2,"font-size","18px"],["name","school-outline","color","weiss",2,"font-size","18px"],[3,"Checked","Enabled","CheckChanged"],[1,"legendeexterndivclass"],["align","left",2,"width","50%"],["style","height: 40px; font-size: 110%; font-weight: bold; color: white; text-align: left",4,"ngIf"],[2,"width","50%"],["style","padding: 6px; text-align: center; border-radius: 4px; background: red; color: white; font-weight: bold; width: 400px;",4,"ngIf"],[3,"src"],[2,"height","40px","font-size","110%","font-weight","bold","color","white","text-align","left"],[2,"padding","6px","text-align","center","border-radius","4px","background","red","color","white","font-weight","bold","width","400px"],[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(vt,pt){1&vt&&(o.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),o.\u0275\u0275listener("UrlaubMitarbeiterClicked",function(){return pt.MitarbeiterWechselnClicked()})("UrlaubMitarbeiterMeClicked",function(){return pt.UrlaubMitarbeiterMeClickedHandler()})("JahrButtonClicked",function(){return pt.JahrButtonClickedHandler()}),o.\u0275\u0275elementEnd()()(),o.\u0275\u0275elementStart(4,"ion-content")(5,"div",3)(6,"div",4),o.\u0275\u0275template(7,ie,27,5,"div",5),o.\u0275\u0275elementStart(8,"table",6)(9,"tr"),o.\u0275\u0275element(10,"td",7),o.\u0275\u0275elementEnd(),o.\u0275\u0275elementStart(11,"tr")(12,"td",8)(13,"table",9)(14,"tr")(15,"td")(16,"div",10),o.\u0275\u0275listener("click",function(){return pt.MonatBackButtonClicked()}),o.\u0275\u0275element(17,"ion-icon",11),o.\u0275\u0275elementEnd()(),o.\u0275\u0275template(18,J,3,3,"td",12),o.\u0275\u0275elementStart(19,"td")(20,"div",10),o.\u0275\u0275listener("click",function(){return pt.MonatForwardButtonClicked()}),o.\u0275\u0275element(21,"ion-icon",13),o.\u0275\u0275elementEnd()()()()()(),o.\u0275\u0275elementStart(22,"tr")(23,"td",14)(24,"table",15)(25,"tr")(26,"td",16)(27,"urlaubsplanung-kalender",17),o.\u0275\u0275listener("ExternUrlaubstagClickedEvent",function(Ln){return pt.ExternUrlaubstagClickedEventHandler(Ln)})("FeiertagCrossedEvent",function(Ln){return pt.FeiertagCrossedEventHandler(Ln)})("FerientagCrossedEvent",function(Ln){return pt.FerientagCrossedEventHandler(Ln)}),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(28,"td",16)(29,"urlaubsplanung-kalender",18),o.\u0275\u0275listener("ExternUrlaubstagClickedEvent",function(Ln){return pt.ExternUrlaubstagClickedEventHandler(Ln)})("FeiertagCrossedEvent",function(Ln){return pt.FeiertagCrossedEventHandler(Ln)})("FerientagCrossedEvent",function(Ln){return pt.FerientagCrossedEventHandler(Ln)}),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(30,"td",16)(31,"urlaubsplanung-kalender",17),o.\u0275\u0275listener("ExternUrlaubstagClickedEvent",function(Ln){return pt.ExternUrlaubstagClickedEventHandler(Ln)})("FeiertagCrossedEvent",function(Ln){return pt.FeiertagCrossedEventHandler(Ln)})("FerientagCrossedEvent",function(Ln){return pt.FerientagCrossedEventHandler(Ln)}),o.\u0275\u0275elementEnd()()()()()()(),o.\u0275\u0275elementStart(32,"ion-grid")(33,"ion-row")(34,"ion-col")(35,"table",19)(36,"tr")(37,"td",8)(38,"ion-text",20),o.\u0275\u0275text(39,"Vertretungsanfragen"),o.\u0275\u0275elementEnd()()()()()(),o.\u0275\u0275template(40,Se,8,2,"ng-container",12)(41,je,7,0,"ng-container",21)(42,re,4,0,"ng-container",21),o.\u0275\u0275elementStart(43,"ion-row")(44,"ion-col")(45,"table",19)(46,"tr")(47,"td",8)(48,"ion-text",20),o.\u0275\u0275text(49,"Urlaubsfreigaben"),o.\u0275\u0275elementEnd()()()()()(),o.\u0275\u0275template(50,Un,8,2,"ng-container",12)(51,zt,7,0,"ng-container",21),o.\u0275\u0275elementStart(52,"ion-row")(53,"ion-col")(54,"table",19)(55,"tr")(56,"td",8)(57,"ion-text",20),o.\u0275\u0275text(58,"Homeofficefreigaben"),o.\u0275\u0275elementEnd()()()()()(),o.\u0275\u0275template(59,dn,8,2,"ng-container",12)(60,$n,7,0,"ng-container",21),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(61,"div",22)(62,"table")(63,"tr")(64,"td")(65,"div",23),o.\u0275\u0275listener("click",function(){return pt.LegendeVisible=!pt.LegendeVisible}),o.\u0275\u0275element(66,"ion-icon",24),o.\u0275\u0275elementEnd()(),o.\u0275\u0275elementStart(67,"td",25),o.\u0275\u0275template(68,or,92,29,"table",26),o.\u0275\u0275elementEnd()()()()()(),o.\u0275\u0275elementStart(69,"ion-footer")(70,"page-footer",null,27),o.\u0275\u0275template(72,Yn,9,3,"table",28),o.\u0275\u0275elementEnd()(),o.\u0275\u0275template(73,It,1,7,"auswahl-dialog",29)(74,en,1,6,"fi-mitarbeiter-auswahl",30)),2&vt&&(o.\u0275\u0275advance(7),o.\u0275\u0275property("ngIf",!1===pt.environment.production),o.\u0275\u0275advance(11),o.\u0275\u0275property("ngForOf",pt.DB.Monateliste),o.\u0275\u0275advance(9),o.\u0275\u0275property("Jahr",pt.DB.CurrentJahr)("Monatindex",pt.DB.FirstMonatIndex)("AddUrlaubRunning",!1),o.\u0275\u0275advance(2),o.\u0275\u0275property("Jahr",pt.DB.CurrentJahr)("ShowYear",!0)("Monatindex",pt.DB.CurrentMonatindex)("AddUrlaubRunning",!1),o.\u0275\u0275advance(2),o.\u0275\u0275property("Jahr",pt.DB.CurrentJahr)("Monatindex",pt.DB.LastMonatIndex)("AddUrlaubRunning",!1),o.\u0275\u0275advance(9),o.\u0275\u0275property("ngForOf",pt.DB.Vertretrungliste),o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",0===pt.DB.Vertretungsanfragenanzahl&&0===pt.DB.Vertretungsantwortenanzahl),o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",0!==pt.DB.Vertretungsanfragenanzahl||0!==pt.DB.Vertretungsantwortenanzahl),o.\u0275\u0275advance(8),o.\u0275\u0275property("ngForOf",pt.DB.Urlaubfreigabenliste),o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",0===pt.DB.Freigabenanfragenanzahl&&0===pt.DB.Freigabenantwortenanzahl),o.\u0275\u0275advance(8),o.\u0275\u0275property("ngForOf",pt.DB.Homeofficefreigabenliste),o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",0===pt.DB.Homeofficeanfragenanzahl&&0===pt.DB.Homeofficantwortenanzahl),o.\u0275\u0275advance(),o.\u0275\u0275styleProp("height",pt.Legendehoehe,"px")("width",pt.Legendebreite,"px")("right",pt.LegendeVisible?0:-(pt.Legendebreite-14),"px"),o.\u0275\u0275advance(4),o.\u0275\u0275styleProp("height",pt.Legendehoehe,"px"),o.\u0275\u0275advance(),o.\u0275\u0275property("name",pt.LegendeVisible?"caret-forward-outline":"caret-back-outline"),o.\u0275\u0275advance(2),o.\u0275\u0275property("ngIf",null!==pt.Pool.Mitarbeitersettings),o.\u0275\u0275advance(4),o.\u0275\u0275property("ngIf",null!==pt.Pool.Appeinstellungen),o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",pt.ShowAuswahl),o.\u0275\u0275advance(),o.\u0275\u0275property("ngIf",pt.ShowMitarbeiterauswahl))},dependencies:[w.NgForOf,w.NgIf,D.IonButton,D.IonCol,D.IonContent,D.IonFooter,D.IonGrid,D.IonHeader,D.IonIcon,D.IonRadio,D.IonRadioGroup,D.IonRow,D.IonText,D.RadioValueAccessor,D.SelectValueAccessor,L.PageHeaderComponent,N.PageHeaderMenuComponent,V.PageFooterComponent,G.UrlaubsplanungKalenderComponent,R.AuswahlDialogComponent,k.CheckboxClonComponent,A.FiMitarbeiterAuswahlComponent],styles:[".contentkeeperdivclass[_ngcontent-%COMP%]{position:relative;width:100%;height:100%}.contentdivclass[_ngcontent-%COMP%]{position:absolute;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;font-size:80%;color:#fff;width:36px;border:1px solid #444444;height:24px;display:flex;justify-content:center;align-items:center}.legendenewdivclass[_ngcontent-%COMP%]{width:36px;height:24px;display:flex;flex-direction:row}.legendeinnerdivclass[_ngcontent-%COMP%]{color:#fff;font-size:90%;width:50%;height:24px;display:flex;justify-content:center;align-items:center}.legendebreitdivclass[_ngcontent-%COMP%]{font-weight:700;font-size:80%;color:#fff;width:60px;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})()},98348:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.CommonUrlaubsgesamtuebersichtPageModule=void 0;const n=s(81316),c=s(91368),u=s(92512),l=s(44716),i=s(26372),e=s(70216),o=s(53076),d=s(6168),v=s(90520),M=s(6232),p=s(72284),E=s(10272),S=s(7388),y=s(27328),f=s(26668),C=n.__importStar(s(54496)),w=(n.__importStar(s(53076)),n.__importStar(s(91368))),D=n.__importStar(s(92512)),L=n.__importStar(s(90212)),N=n.__importStar(s(63792)),V=n.__importStar(s(29856)),G=n.__importStar(s(56584)),R=n.__importStar(s(25856)),k=n.__importStar(s(80887)),A=[{path:"",component:i.CommonUrlaubGesamtuebersichtPage}];m.CommonUrlaubsgesamtuebersichtPageModule=(()=>{class K{static \u0275fac=function(be){return new(be||K)};static \u0275mod=C.\u0275\u0275defineNgModule({type:K});static \u0275inj=C.\u0275\u0275defineInjector({imports:[c.CommonModule,l.FormsModule,u.IonicModule,e.PageHeaderModule,o.RouterModule.forChild(A),d.PageHeaderMenuModule,v.PageFooterModule,M.UrlausplanungKalenderModule,p.ButtonValueModule,E.AuswahlDialogModule,S.CheckboxClonModule,y.FiMitarbeiterEditorModule,f.FiMitarbeiterAuswahlModule]})}return K})(),C.\u0275\u0275setComponentScope(i.CommonUrlaubGesamtuebersichtPage,function(){return[w.NgForOf,w.NgIf,D.IonContent,D.IonFooter,D.IonHeader,D.IonIcon,D.IonText,L.PageHeaderComponent,N.PageHeaderMenuComponent,V.PageFooterComponent,G.AuswahlDialogComponent,R.CheckboxClonComponent,k.FiMitarbeiterAuswahlComponent]},[])},26372:(pe,m,s)=>{"use strict";var n=s(1196).default;Object.defineProperty(m,"__esModule",{value:!0}),m.CommonUrlaubGesamtuebersichtPage=void 0;const c=s(81316),u=c.__importStar(s(17964)),l=c.__importDefault(s(35908)),i=s(17964),e=c.__importStar(s(54496)),o=c.__importStar(s(33940)),d=c.__importStar(s(14652)),v=c.__importStar(s(7992)),M=c.__importStar(s(9544)),p=c.__importStar(s(29743)),E=c.__importStar(s(15024)),S=c.__importStar(s(58864)),y=c.__importStar(s(48044)),f=c.__importStar(s(34388)),C=["PageHeader"],_=["PageFooter"];function w(Ge,ct){if(1&Ge){const Oe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td")(1,"div",9),e.\u0275\u0275listener("click",function(){const Qe=e.\u0275\u0275restoreView(Oe).index,$e=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView($e.MonatButtonClicked(Qe))}),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()}if(2&Ge){const Oe=ct.$implicit,ke=ct.index,Re=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",Re.GetMonatButtonColor(ke)),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(Oe)}}function D(Ge,ct){if(1&Ge&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"td",33)(2,"b"),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&Ge){const Oe=ct.$implicit;e.\u0275\u0275advance(),e.\u0275\u0275property("colSpan",Oe.Tageanzahl),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate1("KW ",Oe.Nummer,"")}}function L(Ge,ct){if(1&Ge&&(e.\u0275\u0275elementStart(0,"td",34)(1,"ion-text",35)(2,"b"),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd()()()),2&Ge){const Oe=ct.$implicit;e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(Oe.Tag)}}function N(Ge,ct){if(1&Ge&&(e.\u0275\u0275elementStart(0,"td",36)(1,"ion-text",37)(2,"b"),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd()()()),2&Ge){const Oe=ct.$implicit,ke=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("color",Oe.Hauptmonat?ke.Basics.Ionicfarben.Schwarz:ke.Basics.Ionicfarben.Silber),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(Oe.Tagnummer)}}function V(Ge,ct){if(1&Ge&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"div",43),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()),2&Ge){const Oe=e.\u0275\u0275nextContext().$implicit,ke=e.\u0275\u0275nextContext().$implicit,Re=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275styleProp("background",Re.DB.GetUrlaubStatuscolor(Re.DB.CheckIsUrlaubstag(ke,Oe))),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1(" ",ke.Kuerzel," ")}}function G(Ge,ct){if(1&Ge&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"div",44),e.\u0275\u0275text(2),e.\u0275\u0275element(3,"br"),e.\u0275\u0275text(4,"HO "),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()),2&Ge){const Oe=e.\u0275\u0275nextContext().$implicit,ke=e.\u0275\u0275nextContext().$implicit,Re=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275styleProp("background",Re.DB.GetHomeofficeStatuscolor(Re.DB.CheckIsHomeofficetag(ke,Oe).Status)),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1(" ",ke.Kuerzel,"")}}function R(Ge,ct){if(1&Ge&&(e.\u0275\u0275elementStart(0,"td",41),e.\u0275\u0275template(1,V,3,3,"ng-container",42)(2,G,5,3,"ng-container",42),e.\u0275\u0275elementEnd()),2&Ge){const Oe=ct.$implicit,ke=e.\u0275\u0275nextContext().$implicit,Re=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",null!==Re.DB.CheckIsUrlaubstag(ke,Oe)),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",null!==Re.DB.CheckIsHomeofficetag(ke,Oe))}}function k(Ge,ct){if(1&Ge&&(e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(3,R,3,2,"td",40),e.\u0275\u0275elementEnd()),2&Ge){const Oe=ct.$implicit,ke=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate2("",Oe.Vorname," ",Oe.Name,""),e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",ke.Kalendertageliste)}}function A(Ge,ct){if(1&Ge&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td",38)(3,"b"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(5,"td",39),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(6,k,4,3,"tr",11),e.\u0275\u0275elementContainerEnd()),2&Ge){const Oe=ct.$implicit,ke=e.\u0275\u0275nextContext();e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate(Oe.Standort),e.\u0275\u0275advance(),e.\u0275\u0275property("colSpan",ke.Tagesumme),e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",ke.Mitrbeiterliste[Oe._id])}}function H(Ge,ct){if(1&Ge){const Oe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"checkbox-clon",28),e.\u0275\u0275listener("CheckChanged",function(Re){e.\u0275\u0275restoreView(Oe);const Qe=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(Qe.MitarbeiterCheckChanged(Re))}),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(2,"td"),e.\u0275\u0275text(3),e.\u0275\u0275elementEnd()()}if(2&Ge){const Oe=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(),e.\u0275\u0275property("Value",Oe._id)("Checked",Oe.ShowInGesamtuebersicht),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate2("",Oe.Vorname," ",Oe.Name,"")}}function K(Ge,ct){if(1&Ge&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,H,4,4,"tr",42),e.\u0275\u0275elementContainerEnd()),2&Ge){const Oe=ct.$implicit,ke=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Oe.StandortID===ke._id&&!1===Oe.Archiviert)}}function ie(Ge,ct){if(1&Ge){const Oe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td")(3,"checkbox-clon",28),e.\u0275\u0275listener("CheckChanged",function(Re){e.\u0275\u0275restoreView(Oe);const Qe=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Qe.StandortCheckChanged(Re))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(4,"td")(5,"ion-text",26)(6,"b"),e.\u0275\u0275text(7),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(8,"tr"),e.\u0275\u0275element(9,"td"),e.\u0275\u0275elementStart(10,"td")(11,"table",24),e.\u0275\u0275template(12,K,2,1,"ng-container",11),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementContainerEnd()}if(2&Ge){const Oe=ct.$implicit,ke=e.\u0275\u0275nextContext();e.\u0275\u0275advance(3),e.\u0275\u0275property("Value",Oe._id)("Checked",Oe.ShowInGesamtuebersicht),e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate(Oe.Standort),e.\u0275\u0275advance(5),e.\u0275\u0275property("ngForOf",ke.Pool.Mitarbeiterliste)}}function J(Ge,ct){if(1&Ge){const Oe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"auswahl-dialog",45),e.\u0275\u0275listener("OkClickedEvent",function(Re){e.\u0275\u0275restoreView(Oe);const Qe=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Qe.AuswahlOkButtonClicked(Re))})("CancelClickedEvent",function(){e.\u0275\u0275restoreView(Oe);const Re=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Re.ShowAuswahl=!1)}),e.\u0275\u0275elementEnd()}if(2&Ge){const Oe=e.\u0275\u0275nextContext();e.\u0275\u0275property("Auswahlliste",Oe.Auswahlliste)("Auswahlindex",Oe.Auswahlindex)("ZIndex",5e3)("Dialogbreite",400)("PositionY",100)("Titel",Oe.Auswahltitel)("Iconname","")}}function be(Ge,ct){if(1&Ge){const Oe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"fi-mitarbeiter-auswahl",46),e.\u0275\u0275listener("CancelClickedEvent",function(){e.\u0275\u0275restoreView(Oe);const Re=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Re.ShowMitarbeiterauswahl=!1)})("OkClickedEvent",function(Re){e.\u0275\u0275restoreView(Oe);const Qe=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Qe.MitarbeiterauswahlOkButtonClicked(Re))})("StandortfilterClickedEvent",function(){e.\u0275\u0275restoreView(Oe);const Re=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Re.MitarebiterStandortfilterClickedHandler())}),e.\u0275\u0275elementEnd()}if(2&Ge){const Oe=e.\u0275\u0275nextContext();e.\u0275\u0275property("Titel",Oe.MitarbeiterauswahlTitel)("Dialogbreite",600)("ZIndex",4e3)("Multiselect",!1)("OnlyProjektmitarbeiter",!1)("AuswahlIDliste",Oe.AuswahlIDliste)}}m.CommonUrlaubGesamtuebersichtPage=(()=>{class Ge{Loadinganimation;Basics;Pool;DB;Const;DBMitarbeitersettings;DBStandort;Auswahlservice;Debug;PageHeader;PageFooter;Ansichtenvarinaten={Gesamtjahr:"Gesamtjahr",HalbjahrEins:"HalbjahrEins",HalbjahrZwei:"HalbjahrZwei"};Ansichtvariante;Message;Auswahldialogorigin;DataSubscription;AuswahlIDliste;ShowMitarbeiterauswahl;LegendeVisible;Legendehoehe;Legendebreite;Flagsource;Standortliste;Mitrbeiterliste;Kalendertageliste;Kalenderwochenliste;Monatname;Tagesumme;Auswahlindex;Auswahltitel;Auswahlliste;ShowAuswahl;MitarbeiterauswahlTitel;Headerhoehe;Contenthoehe;constructor(Oe,ke,Re,Qe,$e,Be,_e,Me,Se){this.Loadinganimation=Oe,this.Basics=ke,this.Pool=Re,this.DB=Qe,this.Const=$e,this.DBMitarbeitersettings=Be,this.DBStandort=_e,this.Auswahlservice=Me,this.Debug=Se;try{this.DataSubscription=null,this.Message="",this.MitarbeiterauswahlTitel="",this.Auswahldialogorigin=this.Const.NONE,this.AuswahlIDliste=[],this.Auswahlliste=[{Index:0,FirstColumn:"",SecoundColumn:"",Data:null}],this.Auswahlindex=0,this.Auswahltitel="",this.ShowMitarbeiterauswahl=!1,this.LegendeVisible=!1,this.Legendehoehe=0,this.Legendebreite=0,this.Flagsource="",this.Ansichtvariante=this.Ansichtenvarinaten.Gesamtjahr,this.Standortliste=[],this.Mitrbeiterliste=[],this.Kalendertageliste=[],this.Kalenderwochenliste=[],this.Mitrbeiterliste=[],this.Headerhoehe=0,this.Contenthoehe=0,this.Tagesumme=0}catch(je){this.Debug.ShowErrorMessage(je.message,"Urlaubsuebersicht Page","constructor",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(Oe){var ke=this;return n(function*(){try{switch(ke.Auswahldialogorigin){case ke.Auswahlservice.Auswahloriginvarianten.UrlaubPlanung_Standort_Filter:ke.DBStandort.CurrentStandortfilter=(0,i.cloneDeep)(Oe),ke.Pool.Mitarbeitersettings.StandortFilter=null!==Oe?Oe._id:ke.Const.NONE,ke.DBMitarbeitersettings.UpdateMitarbeitersettings(ke.Pool.Mitarbeitersettings,null).then(()=>{ke.ShowAuswahl=!1,ke.DBStandort.StandortfilterChanged.emit()});break;case ke.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Jahr_Aendern:ke.DB.CurrentJahr=Oe,ke.ShowAuswahl=!1,yield ke.Loadinganimation.ShowLoadingAnimation("Hinweis","Daten werden geladen"),yield ke.DB.ReadFeiertage("DE"),yield ke.DB.ReadFeiertage("BG"),yield ke.DB.ReadFerien("DE"),yield ke.DB.ReadFerien("BG"),yield ke.Loadinganimation.HideLoadingAnimation(!0),ke.PrepareData()}}catch(Re){ke.Debug.ShowErrorMessage(Re.message,"Urlaubsplanung Page","AuswahlOkButtonClicked",ke.Debug.Typen.Page)}})()}MitarbeiterWechselnClicked(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln,this.ShowMitarbeiterauswahl=!0,this.AuswahlIDliste=[]}catch(Oe){this.Debug.ShowErrorMessage(Oe,"Urlaubsuebersicht Page","MitarbeiterWechselnClicked",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.DataSubscription.unsubscribe(),this.DataSubscription=null}catch(Oe){this.Debug.ShowErrorMessage(Oe,"Urlaubsuebersicht Page","OnDestroy",this.Debug.Typen.Page)}}MitarbeiterauswahlOkButtonClicked(Oe){try{let ke;this.Auswahldialogorigin===this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln&&(ke=u.find(this.Pool.Mitarbeiterliste,{_id:Oe[0]}),this.DB.CurrentMitarbeiter=ke,this.PrepareData(),this.DB.PlanungsmonateChanged.emit()),this.ShowMitarbeiterauswahl=!1}catch(ke){this.Debug.ShowErrorMessage(ke.message,"Urlaubsuebersicht Page","MitarbeiterauswahlOkButtonClicked",this.Debug.Typen.Page)}}MitarebiterStandortfilterClickedHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.UrlaubPlanung_Standort_Filter;let Oe=0;this.ShowAuswahl=!0,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:Oe,FirstColumn:"kein Filter",SecoundColumn:"",Data:null}),Oe++;for(let ke of this.Pool.Standorteliste)this.Auswahlliste.push({Index:Oe,FirstColumn:ke.Kuerzel,SecoundColumn:ke.Standort,Data:ke}),Oe++;this.Auswahlindex=null!==this.DBStandort.CurrentStandortfilter?u.findIndex(this.Pool.Standorteliste,{_id:this.DBStandort.CurrentStandortfilter._id}):0}catch(Oe){this.Debug.ShowErrorMessage(Oe.message,"Urlaubsplanung Page","MitarebiterStandortfilterClickedHandler",this.Debug.Typen.Page)}}ngOnInit(){try{this.Ansichtvariante=(0,l.default)().locale("de").month()+1<=6?this.Ansichtenvarinaten.HalbjahrEins:this.Ansichtenvarinaten.HalbjahrZwei,this.DataSubscription=this.Pool.LoadingAllDataFinished.subscribe(()=>{this.PrepareData()}),this.PrepareData()}catch(Oe){this.Debug.ShowErrorMessage(Oe,"Urlaubsuebersicht Page","OnInit",this.Debug.Typen.Page)}}PrepareData(){var Oe=this;return n(function*(){try{let ke,Re,Qe,Be,_e,Me,Se,je,re,$e=Oe.DB.CurrentMonatindex+1;Oe.DB.Init(),Oe.DB.CheckSetup(),Oe.DB.CountAnfragenanzahlen(),Oe.Monatname=Oe.DB.Monateliste[Oe.DB.CurrentMonatindex],$e=$e<10?"0"+$e.toString():$e.toString(),ke=(0,l.default)(Oe.DB.CurrentJahr.toString()+"-"+$e,"YYYY-MM").daysInMonth(),Oe.Tagesumme=ke;let we=(0,l.default)().set({date:1,month:Oe.DB.CurrentMonatindex,year:Oe.DB.CurrentJahr,hour:8,minute:0}).locale("de"),rt=(0,l.default)().set({date:ke,month:Oe.DB.CurrentMonatindex,year:Oe.DB.CurrentJahr,hour:8,minute:0}).locale("de");Re=we.isoWeekday(),Qe=Re-1,Oe.Tagesumme=Oe.Tagesumme+Qe,_e=we.clone().subtract(Qe,"day"),je=_e.clone(),Re=rt.isoWeekday(),Qe=7-Re,Oe.Tagesumme=Oe.Tagesumme+Qe,re={Nummer:je.isoWeek(),Tageanzahl:0},Oe.Kalendertageliste=[],Oe.Kalenderwochenliste=[];for(let tt=0;ttMe._id===wt._id),u.isUndefined(Se)&&(Oe.Standortliste.push(Me),Oe.Mitrbeiterliste[Me._id]=[]),Oe.Mitrbeiterliste[Me._id].push(tt)))}catch(ke){Oe.Debug.ShowErrorMessage(ke,"Urlaubsuebersicht Page","PrepareData",Oe.Debug.Typen.Page)}})()}ionViewDidEnter(){try{this.Basics.MeassureInnercontent(this.PageHeader,this.PageFooter),this.Legendebreite=320,this.Legendehoehe=this.Basics.InnerContenthoehe,this.Headerhoehe=160,this.Contenthoehe=this.Basics.InnerContenthoehe-this.Headerhoehe}catch(Oe){this.Debug.ShowErrorMessage(Oe.message,"Urlaubsuebersicht Page","ionViewDidEnter",this.Debug.Typen.Page)}}StandortCheckChanged(Oe){try{let ke=u.find(this.Pool.Standorteliste,{_id:Oe.value});ke.ShowInGesamtuebersicht=Oe.status;for(let Re of this.Pool.Mitarbeiterliste)Re.StandortID===ke._id&&(Re.ShowInGesamtuebersicht=Oe.status);this.PrepareData()}catch(ke){this.Debug.ShowErrorMessage(ke,"Urlaubsuebersicht Page","StandortCheckChanged",this.Debug.Typen.Page)}}MitarbeiterCheckChanged(Oe){try{u.find(this.Pool.Mitarbeiterliste,{_id:Oe.value}).ShowInGesamtuebersicht=Oe.status,this.PrepareData()}catch(ke){this.Debug.ShowErrorMessage(ke,"Urlaubsuebersicht Page","MitarbeiterCheckChanged",this.Debug.Typen.Page)}}MonatBackButtonClicked(){try{this.DB.CurrentMonatindex>0&&(this.DB.CurrentMonatindex--,this.PrepareData())}catch(Oe){this.Debug.ShowErrorMessage(Oe,"Urlaubsuebersicht Page","MonatBackButtonClicked",this.Debug.Typen.Page)}}GetMonatButtonColor(Oe){try{if(this.DB.CurrentMonatindex===Oe)return"orange"}catch(ke){this.Debug.ShowErrorMessage(ke,"Urlaubsuebersicht Page","GetMonatButtonColor",this.Debug.Typen.Page)}}MonatForwardButtonClicked(){try{this.DB.CurrentMonatindex<11&&(this.DB.CurrentMonatindex++,this.PrepareData())}catch(Oe){this.Debug.ShowErrorMessage(Oe,"Urlaubsuebersicht Page","MonatForwardButtonClicked",this.Debug.Typen.Page)}}MonatButtonClicked(Oe){try{this.DB.CurrentMonatindex=Oe,this.PrepareData()}catch(ke){this.Debug.ShowErrorMessage(ke,"Urlaubsuebersicht Page","MonatButtonClicked",this.Debug.Typen.Page)}}SettingsCheckedChanged(Oe){try{switch(Oe.value){case this.DB.Urlaubstatusvarianten.Geplant:this.DB.GesamtuebersichtSetting.ShowGeplant=Oe.status;break;case this.DB.Urlaubstatusvarianten.Vertreteranfrage:this.DB.GesamtuebersichtSetting.ShowVertreteranfragen=Oe.status;break;case this.DB.Urlaubstatusvarianten.Vertreterfreigabe:this.DB.GesamtuebersichtSetting.ShowVertreterfreigaben=Oe.status;break;case this.DB.Urlaubstatusvarianten.Vertreterablehnung:this.DB.GesamtuebersichtSetting.ShowVertreterablehnungen=Oe.status;break;case this.DB.Urlaubstatusvarianten.Genehmigt:this.DB.GesamtuebersichtSetting.ShowUrlaubsgenehmigungen=Oe.status;break;case this.DB.Urlaubstatusvarianten.Abgelehnt:this.DB.GesamtuebersichtSetting.ShowUrlaubsablehnungen=Oe.status}}catch(ke){this.Debug.ShowErrorMessage(ke,"Urlaubsuebersicht Page","SettingsCheckedChanged",this.Debug.Typen.Page)}}SettingsHomeofficeCheckedChanged(Oe){try{switch(Oe.value){case this.DB.Homeofficestatusvarianten.Geplant:this.DB.GesamtuebersichtSetting.ShowHomeofficeGeplant=Oe.status;break;case this.DB.Homeofficestatusvarianten.Freigabeanfrage:this.DB.GesamtuebersichtSetting.ShowHomeofficeAnfrage=Oe.status;break;case this.DB.Homeofficestatusvarianten.Genehmigt:this.DB.GesamtuebersichtSetting.ShowHomeofficeGenehmigt=Oe.status}}catch(ke){this.Debug.ShowErrorMessage(ke,"Urlaubsuebersicht Page","SettingsHomeofficeCheckedChanged",this.Debug.Typen.Page)}}UrlaubMitarbeiterMeClickedHandler(){try{this.DB.CurrentMitarbeiter=this.Pool.Mitarbeiterdaten,this.PrepareData()}catch(Oe){this.Debug.ShowErrorMessage(Oe,"Urlaubsuebersicht Page","UrlaubMitarbeiterMeClickedHandler",this.Debug.Typen.Page)}}JahrButtonClickedHandler(){try{let Oe=0,Re=this.DB.Jahr+1;this.Auswahltitel="Jahr wechseln",this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Jahr_Aendern,this.Auswahlliste=[];for(let Qe=this.DB.Startjahr;Qe<=Re;Qe++)this.Auswahlliste.push({Index:Oe++,FirstColumn:Qe.toString(),SecoundColumn:"",Data:Qe});this.ShowAuswahl=!0,this.Auswahlindex=u.findIndex(this.Auswahlliste,{Data:this.DB.CurrentJahr})}catch(Oe){this.Debug.ShowErrorMessage(Oe,"Urlaubsuebersicht Page","JahrButtonClickedHandler",this.Debug.Typen.Page)}}static \u0275fac=function(ke){return new(ke||Ge)(e.\u0275\u0275directiveInject(o.LoadingAnimationService),e.\u0275\u0275directiveInject(d.BasicsProvider),e.\u0275\u0275directiveInject(v.DatabasePoolService),e.\u0275\u0275directiveInject(M.DatabaseUrlaubService),e.\u0275\u0275directiveInject(p.ConstProvider),e.\u0275\u0275directiveInject(E.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(S.DatabaseStandorteService),e.\u0275\u0275directiveInject(y.AuswahlDialogService),e.\u0275\u0275directiveInject(f.DebugProvider))};static \u0275cmp=e.\u0275\u0275defineComponent({type:Ge,selectors:[["common-urlaub-gesamtuebersicht-page"]],viewQuery:function(ke,Re){if(1&ke&&(e.\u0275\u0275viewQuery(C,5),e.\u0275\u0275viewQuery(_,5)),2&ke){let Qe;e.\u0275\u0275queryRefresh(Qe=e.\u0275\u0275loadQuery())&&(Re.PageHeader=Qe.first),e.\u0275\u0275queryRefresh(Qe=e.\u0275\u0275loadQuery())&&(Re.PageFooter=Qe.first)}},decls:145,vars:66,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"UrlaubMitarbeiterClicked","UrlaubMitarbeiterMeClicked","JahrButtonClicked"],[1,"contentdivclass"],[2,"height","100%","position","absolute","overflow","scroll"],[1,"headerdivclass"],[2,"width","100%"],["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"],[2,"height","10px"],[1,"docinnertable"],["align","center",2,"height","40px","font-size","120%",3,"colSpan"],["rowspan","3",2,"width","200px"],["style","width: 48px;","align","center",4,"ngFor","ngForOf"],["style","width: 40px;","align","center",4,"ngFor","ngForOf"],[1,"innercontentdivclass"],[1,"legendekeeperdivclass"],[1,"legendebuttonclass",3,"click"],["color","weiss",3,"name"],[2,"width","100%","overflow","auto"],[1,"paddingtable"],["colspan","4"],["color","schwarz"],[2,"width","32px"],[3,"Value","Checked","CheckChanged"],[1,"legendedivclass"],["PageFooter",""],[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"],[2,"text-align","center",3,"colSpan"],["align","center",2,"width","48px"],["color","baeblau"],["align","center",2,"width","40px"],[3,"color"],[2,"width","200px"],[3,"colSpan"],["style","width: 48px; height: 30px;","align","center",4,"ngFor","ngForOf"],["align","center",2,"width","48px","height","30px"],[4,"ngIf"],[1,"urlaubclass"],[1,"homeofficeclass"],[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(ke,Re){1&ke&&(e.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),e.\u0275\u0275listener("UrlaubMitarbeiterClicked",function(){return Re.MitarbeiterWechselnClicked()})("UrlaubMitarbeiterMeClicked",function(){return Re.UrlaubMitarbeiterMeClickedHandler()})("JahrButtonClicked",function(){return Re.JahrButtonClickedHandler()}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(4,"ion-content")(5,"div",3)(6,"div",4)(7,"div",5)(8,"table",6)(9,"tr")(10,"td",7)(11,"table",8)(12,"tr")(13,"td")(14,"div",9),e.\u0275\u0275listener("click",function(){return Re.MonatBackButtonClicked()}),e.\u0275\u0275element(15,"ion-icon",10),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(16,w,3,3,"td",11),e.\u0275\u0275elementStart(17,"td")(18,"div",9),e.\u0275\u0275listener("click",function(){return Re.MonatForwardButtonClicked()}),e.\u0275\u0275element(19,"ion-icon",12),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(20,"tr"),e.\u0275\u0275element(21,"td",13),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(22,"tr")(23,"td",7)(24,"table",14)(25,"tr")(26,"td",15)(27,"b"),e.\u0275\u0275text(28),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(29,"tr"),e.\u0275\u0275element(30,"td",16),e.\u0275\u0275template(31,D,4,2,"ng-container",11),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(32,"tr"),e.\u0275\u0275template(33,L,4,1,"td",17),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(34,"tr"),e.\u0275\u0275template(35,N,4,2,"td",18),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(36,"div",19)(37,"table",6)(38,"tr")(39,"td",7)(40,"table",14),e.\u0275\u0275template(41,A,7,3,"ng-container",11),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275element(42,"br")(43,"br")(44,"br")(45,"br")(46,"br"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(47,"div",20)(48,"div",21),e.\u0275\u0275listener("click",function(){return Re.LegendeVisible=!Re.LegendeVisible}),e.\u0275\u0275element(49,"ion-icon",22),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(50,"div",23)(51,"table",24)(52,"tr")(53,"td",25)(54,"ion-text",26)(55,"b"),e.\u0275\u0275text(56,"Allgemein"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(57,"tr"),e.\u0275\u0275element(58,"td",27),e.\u0275\u0275elementStart(59,"td")(60,"checkbox-clon",28),e.\u0275\u0275listener("CheckChanged",function($e){return Re.SettingsCheckedChanged($e)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(61,"td"),e.\u0275\u0275element(62,"div",29),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(63,"td"),e.\u0275\u0275text(64,"geplanter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(65,"tr"),e.\u0275\u0275element(66,"td"),e.\u0275\u0275elementStart(67,"td")(68,"checkbox-clon",28),e.\u0275\u0275listener("CheckChanged",function($e){return Re.SettingsCheckedChanged($e)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(69,"td"),e.\u0275\u0275element(70,"div",29),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(71,"td"),e.\u0275\u0275text(72,"Vertretung angefragt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(73,"tr"),e.\u0275\u0275element(74,"td"),e.\u0275\u0275elementStart(75,"td")(76,"checkbox-clon",28),e.\u0275\u0275listener("CheckChanged",function($e){return Re.SettingsCheckedChanged($e)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(77,"td"),e.\u0275\u0275element(78,"div",29),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(79,"td"),e.\u0275\u0275text(80,"Urlaub mit Vertreterfreigabe"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(81,"tr"),e.\u0275\u0275element(82,"td"),e.\u0275\u0275elementStart(83,"td")(84,"checkbox-clon",28),e.\u0275\u0275listener("CheckChanged",function($e){return Re.SettingsCheckedChanged($e)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(85,"td"),e.\u0275\u0275element(86,"div",29),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(87,"td"),e.\u0275\u0275text(88,"Vertretung wurde abgelehnt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(89,"tr"),e.\u0275\u0275element(90,"td"),e.\u0275\u0275elementStart(91,"td")(92,"checkbox-clon",28),e.\u0275\u0275listener("CheckChanged",function($e){return Re.SettingsCheckedChanged($e)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(93,"td"),e.\u0275\u0275element(94,"div",29),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(95,"td"),e.\u0275\u0275text(96,"Genehmigter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(97,"tr"),e.\u0275\u0275element(98,"td"),e.\u0275\u0275elementStart(99,"td")(100,"checkbox-clon",28),e.\u0275\u0275listener("CheckChanged",function($e){return Re.SettingsCheckedChanged($e)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(101,"td"),e.\u0275\u0275element(102,"div",29),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(103,"td"),e.\u0275\u0275text(104,"Abgelehnter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(105,"tr"),e.\u0275\u0275element(106,"td"),e.\u0275\u0275elementStart(107,"td")(108,"checkbox-clon",28),e.\u0275\u0275listener("CheckChanged",function($e){return Re.SettingsHomeofficeCheckedChanged($e)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(109,"td")(110,"div",29),e.\u0275\u0275text(111,"HO"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(112,"td"),e.\u0275\u0275text(113,"Homeoffice geplant"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(114,"tr"),e.\u0275\u0275element(115,"td"),e.\u0275\u0275elementStart(116,"td")(117,"checkbox-clon",28),e.\u0275\u0275listener("CheckChanged",function($e){return Re.SettingsHomeofficeCheckedChanged($e)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(118,"td")(119,"div",29),e.\u0275\u0275text(120,"HO"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(121,"td"),e.\u0275\u0275text(122,"Homeoffice Anfrage"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(123,"tr"),e.\u0275\u0275element(124,"td"),e.\u0275\u0275elementStart(125,"td")(126,"checkbox-clon",28),e.\u0275\u0275listener("CheckChanged",function($e){return Re.SettingsHomeofficeCheckedChanged($e)}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(127,"td")(128,"div",29),e.\u0275\u0275text(129,"HO"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(130,"td"),e.\u0275\u0275text(131,"Homeoffice genehmigt"),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(132,"table",24),e.\u0275\u0275template(133,ie,13,4,"ng-container",11),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(134,"br")(135,"br")(136,"br")(137,"br")(138,"br")(139,"br"),e.\u0275\u0275elementEnd()()()(),e.\u0275\u0275elementStart(140,"ion-footer"),e.\u0275\u0275element(141,"page-footer",null,30),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(143,J,1,7,"auswahl-dialog",31)(144,be,1,6,"fi-mitarbeiter-auswahl",32)),2&ke&&(e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("width",Re.Basics.Contentbreite,"px"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",Re.Headerhoehe,"px"),e.\u0275\u0275advance(9),e.\u0275\u0275property("ngForOf",Re.DB.Monateliste),e.\u0275\u0275advance(10),e.\u0275\u0275property("colSpan",Re.Tagesumme+1),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate2("",Re.Monatname," ",Re.DB.CurrentJahr,""),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngForOf",Re.Kalenderwochenliste),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngForOf",Re.Kalendertageliste),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngForOf",Re.Kalendertageliste),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("top",Re.Headerhoehe,"px")("height",Re.Contenthoehe,"px"),e.\u0275\u0275advance(5),e.\u0275\u0275property("ngForOf",Re.Standortliste),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("height",Re.Legendehoehe,"px")("width",Re.Legendebreite,"px")("right",Re.LegendeVisible?0:-(Re.Legendebreite-14),"px"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",Re.Legendehoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275property("name",Re.LegendeVisible?"caret-forward-outline":"caret-back-outline"),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",Re.Legendehoehe,"px"),e.\u0275\u0275advance(10),e.\u0275\u0275property("Value",Re.DB.Urlaubstatusvarianten.Geplant)("Checked",Re.DB.GesamtuebersichtSetting.ShowGeplant),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Re.DB.Urlaubsfaben.Geplant),e.\u0275\u0275advance(6),e.\u0275\u0275property("Value",Re.DB.Urlaubstatusvarianten.Vertreteranfrage)("Checked",Re.DB.GesamtuebersichtSetting.ShowVertreteranfragen),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Re.DB.Urlaubsfaben.Vertreteranfrage),e.\u0275\u0275advance(6),e.\u0275\u0275property("Value",Re.DB.Urlaubstatusvarianten.Vertreterfreigabe)("Checked",Re.DB.GesamtuebersichtSetting.ShowVertreterfreigaben),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Re.DB.Urlaubsfaben.Vertreterfreigabe),e.\u0275\u0275advance(6),e.\u0275\u0275property("Value",Re.DB.Urlaubstatusvarianten.Vertreterablehnung)("Checked",Re.DB.GesamtuebersichtSetting.ShowVertreterablehnungen),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Re.DB.Urlaubsfaben.Vertreterablehnung),e.\u0275\u0275advance(6),e.\u0275\u0275property("Value",Re.DB.Urlaubstatusvarianten.Genehmigt)("Checked",Re.DB.GesamtuebersichtSetting.ShowUrlaubsgenehmigungen),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Re.DB.Urlaubsfaben.Genehmigt),e.\u0275\u0275advance(6),e.\u0275\u0275property("Value",Re.DB.Urlaubstatusvarianten.Abgelehnt)("Checked",Re.DB.GesamtuebersichtSetting.ShowUrlaubsablehnungen),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Re.DB.Urlaubsfaben.Abgelehnt),e.\u0275\u0275advance(6),e.\u0275\u0275property("Value",Re.DB.Homeofficestatusvarianten.Geplant)("Checked",Re.DB.GesamtuebersichtSetting.ShowHomeofficeGeplant),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Re.DB.Homeofficefarben.Geplant),e.\u0275\u0275advance(7),e.\u0275\u0275property("Value",Re.DB.Homeofficestatusvarianten.Freigabeanfrage)("Checked",Re.DB.GesamtuebersichtSetting.ShowHomeofficeAnfrage),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Re.DB.Homeofficefarben.Freigabeanfrage),e.\u0275\u0275advance(7),e.\u0275\u0275property("Value",Re.DB.Homeofficestatusvarianten.Genehmigt)("Checked",Re.DB.GesamtuebersichtSetting.ShowHomeofficeGenehmigt),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",Re.DB.Homeofficefarben.Genehmigt),e.\u0275\u0275advance(5),e.\u0275\u0275property("ngForOf",Re.Pool.Standorteliste),e.\u0275\u0275advance(10),e.\u0275\u0275property("ngIf",Re.ShowAuswahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Re.ShowMitarbeiterauswahl))},styles:[".contentdivclass[_ngcontent-%COMP%]{position:relative;width:100%;height:100%;z-index:10;overflow:visible}.legendebuttonclass[_ngcontent-%COMP%]{width:14px;background:#307ac1;display:flex;justify-content:center;align-items:center;cursor:pointer}.legendekeeperdivclass[_ngcontent-%COMP%]{position:absolute;background:silver;right:0;top:0;bottom:0;z-index:20;overflow:visible;display:flex;flex-direction:row}.headerdivclass[_ngcontent-%COMP%]{position:absolute;left:0;top:0;width:100%}.innercontentdivclass[_ngcontent-%COMP%]{position:absolute;left:0;width:100%;overflow:auto}.urlaubclass[_ngcontent-%COMP%]{width:38px;height:20px;color:#fff;display:flex;justify-content:center;align-items:center;font-size:80%}.homeofficeclass[_ngcontent-%COMP%]{width:38px;height:36px;color:#fff;display:flex;justify-content:center;align-items:center;font-size:80%}.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}.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%]:hover{color:#fff;background:#307ac1}"]})}return Ge})()},74484:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.CommonUrlaubsplanungPageModule=void 0;const n=s(81316),c=s(91368),u=s(92512),l=s(44716),i=s(75908),e=s(70216),o=s(53076),d=s(6168),v=s(90520),M=s(6232),p=s(72284),E=s(10272),S=s(7388),y=s(27328),f=s(26668),C=n.__importStar(s(54496)),w=(n.__importStar(s(53076)),[{path:"",component:i.CommonUrlaubPlanungPage}]);m.CommonUrlaubsplanungPageModule=(()=>{class L{static \u0275fac=function(G){return new(G||L)};static \u0275mod=C.\u0275\u0275defineNgModule({type:L});static \u0275inj=C.\u0275\u0275defineInjector({imports:[c.CommonModule,l.FormsModule,u.IonicModule,e.PageHeaderModule,o.RouterModule.forChild(w),d.PageHeaderMenuModule,v.PageFooterModule,M.UrlausplanungKalenderModule,p.ButtonValueModule,E.AuswahlDialogModule,S.CheckboxClonModule,y.FiMitarbeiterEditorModule,f.FiMitarbeiterAuswahlModule]})}return L})()},75908:(pe,m,s)=>{"use strict";var n=s(1196).default;Object.defineProperty(m,"__esModule",{value:!0}),m.CommonUrlaubPlanungPage=void 0;const c=s(81316),u=c.__importStar(s(17964)),l=c.__importDefault(s(35908)),i=s(17964),e=c.__importStar(s(54496)),o=c.__importStar(s(33940)),d=c.__importStar(s(14652)),v=c.__importStar(s(15024)),M=c.__importStar(s(7992)),p=c.__importStar(s(9544)),E=c.__importStar(s(22848)),S=c.__importStar(s(29743)),y=c.__importStar(s(58864)),f=c.__importStar(s(48044)),C=c.__importStar(s(19668)),_=c.__importStar(s(34388)),w=c.__importStar(s(91368)),D=c.__importStar(s(92512)),L=c.__importStar(s(90212)),N=c.__importStar(s(63792)),V=c.__importStar(s(29856)),G=c.__importStar(s(77440)),R=c.__importStar(s(56584)),k=c.__importStar(s(25856)),A=c.__importStar(s(80887)),H=["PageHeader"],K=["PageFooter"];function ie(Vt,Sn){if(1&Vt){const xe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td")(1,"div",14),e.\u0275\u0275listener("click",function(){const jt=e.\u0275\u0275restoreView(xe).index,ar=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(ar.MonatButtonClicked(jt))}),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()}if(2&Vt){const xe=Sn.$implicit,_t=Sn.index,Pt=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275styleProp("color",Pt.GetMonatButtonColor(_t)),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(xe)}}function J(Vt,Sn){if(1&Vt){const xe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td",12)(2,"table",13)(3,"tr")(4,"td",12)(5,"ion-button",30),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(xe);const Pt=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(Pt.AddUrlaub())}),e.\u0275\u0275text(6,"Urlaubszeitspanne eintragen"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(7,"td",12)(8,"ion-button",30),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(xe);const Pt=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(Pt.AddHalbenUrlaubstag())}),e.\u0275\u0275text(9,"Halben Urlaubstag eintragen"),e.\u0275\u0275elementEnd()()()()()()}if(2&Vt){const xe=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(5),e.\u0275\u0275property("disabled",xe.DB.CountResturlaub()<=0),e.\u0275\u0275advance(3),e.\u0275\u0275property("disabled",xe.DB.CountResturlaub()<=0)}}function be(Vt,Sn){if(1&Vt){const xe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td",12)(2,"table",13)(3,"tr")(4,"td")(5,"div",31),e.\u0275\u0275text(6," Bitte Datum f\xfcr den halben Urlaubstag ausw\xe4hlen "),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(7,"td")(8,"div",32),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(xe);const Pt=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(Pt.CancelDatumClicked())}),e.\u0275\u0275element(9,"ion-icon",33),e.\u0275\u0275elementEnd()()()()()()}}function ce(Vt,Sn){if(1&Vt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"td",34),e.\u0275\u0275text(2,"bis zum"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(3,"td")(4,"div",31),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&Vt){const xe=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1(" ",null!==xe.DB.CurrentUrlaubzeitspanne&&null!==xe.DB.CurrentUrlaubzeitspanne.Endestempel?xe.DB.CurrentUrlaubzeitspanne.Endestempel:"Bitte Endedatum im Kalender oben anklicken"," ")}}function Ge(Vt,Sn){if(1&Vt){const xe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td",12)(2,"table",13)(3,"tr")(4,"td")(5,"div",31),e.\u0275\u0275text(6),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(7,ce,6,1,"ng-container",23),e.\u0275\u0275elementStart(8,"td")(9,"div",32),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(xe);const Pt=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(Pt.CancelDatumClicked())}),e.\u0275\u0275element(10,"ion-icon",33),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275element(11,"tr"),e.\u0275\u0275elementEnd()()()}if(2&Vt){const xe=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(6),e.\u0275\u0275textInterpolate1(" ",null!==xe.DB.CurrentUrlaubzeitspanne&&null!==xe.DB.CurrentUrlaubzeitspanne.Startstempel?xe.DB.CurrentUrlaubzeitspanne.Startstring:"Bitte Startdatum im Kalender oben anklicken"," "),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",null!==xe.DB.CurrentUrlaubzeitspanne&&null!==xe.DB.CurrentUrlaubzeitspanne.Startstempel)}}function ct(Vt,Sn){if(1&Vt&&(e.\u0275\u0275elementStart(0,"tr")(1,"td",12)(2,"table",35)(3,"tr")(4,"td",36),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()()()()()),2&Vt){const xe=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate1("Momentan ist noch kein Urlaub eingetragen. Du hast ",xe.DB.CountResturlaub()," Urlaubstage.")}}function Oe(Vt,Sn){if(1&Vt){const xe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"checkbox-clon",57),e.\u0275\u0275listener("CheckChanged",function(Pt){e.\u0275\u0275restoreView(xe);const jt=e.\u0275\u0275nextContext().$implicit,ar=e.\u0275\u0275nextContext(5);return e.\u0275\u0275resetView(ar.BetriebsurlaubCheckedChanged(Pt,jt))}),e.\u0275\u0275elementEnd()}if(2&Vt){const xe=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275property("Checked",xe.Betriebsurlaub)}}function ke(Vt,Sn){1&Vt&&e.\u0275\u0275element(0,"div",58)}function Re(Vt,Sn){1&Vt&&(e.\u0275\u0275elementStart(0,"span"),e.\u0275\u0275text(1," FESTLEGEN "),e.\u0275\u0275elementEnd())}function Qe(Vt,Sn){if(1&Vt&&(e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()),2&Vt){const xe=Sn.$implicit,_t=e.\u0275\u0275nextContext(8);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(_t.GetStellvertretername(xe))}}function $e(Vt,Sn){if(1&Vt&&(e.\u0275\u0275elementStart(0,"table",61),e.\u0275\u0275template(1,Qe,3,1,"tr",16),e.\u0275\u0275elementEnd()),2&Vt){const xe=e.\u0275\u0275nextContext(2).$implicit;e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",xe.UrlaubsvertreterIDListe)}}function Be(Vt,Sn){if(1&Vt){const xe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"div",59),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(xe);const Pt=e.\u0275\u0275nextContext().$implicit,jt=e.\u0275\u0275nextContext(5);return e.\u0275\u0275resetView(jt.StellvertreterFestlegenClicked(Pt))}),e.\u0275\u0275template(2,Re,2,0,"span",23)(3,$e,2,1,"table",60),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()}if(2&Vt){const xe=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",0===xe.UrlaubsvertreterIDListe.length),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0!==xe.UrlaubsvertreterIDListe.length)}}function _e(Vt,Sn){if(1&Vt&&(e.\u0275\u0275elementStart(0,"tr")(1,"td"),e.\u0275\u0275text(2),e.\u0275\u0275elementEnd()()),2&Vt){const xe=Sn.$implicit,_t=e.\u0275\u0275nextContext(8);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(_t.GetStellvertretername(xe))}}function Me(Vt,Sn){if(1&Vt&&(e.\u0275\u0275elementStart(0,"table",61),e.\u0275\u0275template(1,_e,3,1,"tr",16),e.\u0275\u0275elementEnd()),2&Vt){const xe=e.\u0275\u0275nextContext(2).$implicit;e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",xe.UrlaubsvertreterIDListe)}}function Se(Vt,Sn){if(1&Vt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,Me,2,1,"table",60),e.\u0275\u0275elementContainerEnd()),2&Vt){const xe=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0!==xe.UrlaubsvertreterIDListe.length)}}function je(Vt,Sn){if(1&Vt){const xe=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\u0275template(8,Oe,1,1,"checkbox-clon",49)(9,ke,1,0,"div",50),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"td"),e.\u0275\u0275template(11,Be,4,2,"ng-container",23)(12,Se,2,1,"ng-container",23),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(13,"td",12)(14,"div",51),e.\u0275\u0275listener("click",function(){const jt=e.\u0275\u0275restoreView(xe).$implicit,ar=e.\u0275\u0275nextContext(5);return e.\u0275\u0275resetView(ar.StatusClickedHandler(jt))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(15,"td",52),e.\u0275\u0275elementStart(16,"td")(17,"ion-button",53),e.\u0275\u0275listener("click",function(){const jt=e.\u0275\u0275restoreView(xe).$implicit,ar=e.\u0275\u0275nextContext(5);return e.\u0275\u0275resetView(ar.UrlaubSuchen(jt))}),e.\u0275\u0275element(18,"ion-icon",54),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(19,"td")(20,"ion-button",55),e.\u0275\u0275listener("click",function(){const jt=e.\u0275\u0275restoreView(xe).$implicit,ar=e.\u0275\u0275nextContext(5);return e.\u0275\u0275resetView(ar.UrlaubLoeschen(jt))}),e.\u0275\u0275element(21,"ion-icon",56),e.\u0275\u0275elementEnd()()()}if(2&Vt){const xe=Sn.$implicit,_t=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(_t.GetDatum(xe.Startstempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(_t.GetDatum(xe.Endestempel)),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate(xe.Tageanzahl),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",xe.Status===_t.DB.Urlaubstatusvarianten.Geplant),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===xe.Betriebsurlaub&&xe.Status===_t.DB.Urlaubstatusvarianten.Vertreterfreigabe),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",(xe.Status===_t.DB.Urlaubstatusvarianten.Geplant||!0===_t.DB.CheckVertretungIsAbgelehnt(xe))&&!1===xe.Betriebsurlaub),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",xe.Status!==_t.DB.Urlaubstatusvarianten.Geplant&&!1===_t.DB.CheckVertretungIsAbgelehnt(xe)),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("cursor",!0===_t.Pool.Mitarbeiterdaten.Planeradministrator||!0===_t.Pool.Mitarbeiterdaten.Urlaubsfreigaben?"pointer":"default")("background",_t.DB.GetUrlaubStatuscolor(xe)),e.\u0275\u0275advance(),e.\u0275\u0275property("innerHTML",_t.GetPlanungmeldung(xe),e.\u0275\u0275sanitizeHtml),e.\u0275\u0275advance(5),e.\u0275\u0275property("disabled",!1===_t.CheckUrlaubLoschenEnabled(xe))}}function re(Vt,Sn){if(1&Vt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275template(1,je,22,13,"tr",16),e.\u0275\u0275elementContainerEnd()),2&Vt){const xe=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(),e.\u0275\u0275property("ngForOf",xe.DB.CurrentUrlaub.Urlaubzeitspannen)}}function we(Vt,Sn){1&Vt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr"),e.\u0275\u0275element(2,"td",62),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd())}function rt(Vt,Sn){if(1&Vt){const xe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td",12)(2,"table",37)(3,"tr")(4,"td",38),e.\u0275\u0275text(5,"Von"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td",38),e.\u0275\u0275text(7,"Bis"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(8,"td",39),e.\u0275\u0275text(9,"Tage"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(10,"td",39),e.\u0275\u0275text(11,"BU"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(12,"td",40),e.\u0275\u0275text(13,"Stellvertretung"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(14,"td",38),e.\u0275\u0275text(15,"Status"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(16,"td",41),e.\u0275\u0275text(17,"Statusmeldung"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(18,re,2,1,"ng-container",23)(19,we,3,0,"ng-container",23),e.\u0275\u0275elementStart(20,"tr")(21,"td",42),e.\u0275\u0275text(22,"Resturlaub"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(23,"td",36),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,"table",45)(29,"tr")(30,"td",46),e.\u0275\u0275text(31,"BU = Betriebsurlaub"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(32,"td",47)(33,"ion-button",30),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(xe);const Pt=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(Pt.DB.UpdateVertreteranfragen())}),e.\u0275\u0275text(34,"Aktualisierung senden"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(35,"td",48),e.\u0275\u0275elementEnd()()()()()()()}if(2&Vt){const xe=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(18),e.\u0275\u0275property("ngIf",xe.DB.CurrentUrlaub.Urlaubzeitspannen.length>0),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0===xe.DB.CurrentUrlaub.Urlaubzeitspannen.length),e.\u0275\u0275advance(5),e.\u0275\u0275textInterpolate(xe.DB.CountResturlaub()),e.\u0275\u0275advance(9),e.\u0275\u0275property("disabled",!1===xe.CheckUrlaubUpdatesAvailable())}}function tt(Vt,Sn){if(1&Vt){const xe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td",12)(2,"table",13)(3,"tr")(4,"td",12)(5,"ion-button",30),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(xe);const Pt=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(Pt.AddHomeofficeStart())}),e.\u0275\u0275text(6,"Homeoffice eintragen"),e.\u0275\u0275elementEnd()()()()()()}if(2&Vt){const xe=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(5),e.\u0275\u0275property("disabled",xe.DB.CountHomeoffice()<=0)}}function wt(Vt,Sn){1&Vt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275text(1," Bitte Tage einzeln klicken um Homeoffice einzutragen. "),e.\u0275\u0275elementContainerEnd())}function ye(Vt,Sn){if(1&Vt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275text(1),e.\u0275\u0275elementContainerEnd()),2&Vt){const xe=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate2(" ",xe.DB.CurrentHomeofficecounter," Homeoffice ",1===xe.DB.CurrentHomeofficecounter?"Tag":"Tage"," ")}}function Te(Vt,Sn){if(1&Vt){const xe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"table",13)(3,"tr")(4,"td")(5,"div",31),e.\u0275\u0275template(6,wt,2,0,"ng-container",23)(7,ye,2,2,"ng-container",23),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(8,"td",12)(9,"div",63),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(xe);const Pt=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(Pt.SaveHomeofficeEventHandler())}),e.\u0275\u0275elementStart(10,"table")(11,"tr")(12,"td",64)(13,"b"),e.\u0275\u0275text(14,"Fertig"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(15,"td"),e.\u0275\u0275element(16,"ion-icon",65),e.\u0275\u0275elementEnd()()()()()()()()()}if(2&Vt){const xe=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(6),e.\u0275\u0275property("ngIf",0===xe.DB.CurrentHomeofficecounter),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",0!==xe.DB.CurrentHomeofficecounter)}}function ht(Vt,Sn){1&Vt&&(e.\u0275\u0275elementStart(0,"tr")(1,"td",12)(2,"table",35)(3,"tr")(4,"td",36),e.\u0275\u0275text(5,"Momentan ist noch kein Homeoffice eingetragen."),e.\u0275\u0275elementEnd()()()()())}function Ft(Vt,Sn){if(1&Vt){const xe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td")(1,"checkbox-clon",57),e.\u0275\u0275listener("CheckChanged",function(Pt){e.\u0275\u0275restoreView(xe);const jt=e.\u0275\u0275nextContext().$implicit,ar=e.\u0275\u0275nextContext(7);return e.\u0275\u0275resetView(ar.ZeitspanneCheckChanged(Pt,jt))}),e.\u0275\u0275elementEnd()()}if(2&Vt){const xe=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(),e.\u0275\u0275property("Checked",xe.Checked)}}function nn(Vt,Sn){1&Vt&&(e.\u0275\u0275elementStart(0,"td"),e.\u0275\u0275text(1,"|"),e.\u0275\u0275elementEnd())}function Yt(Vt,Sn){if(1&Vt&&(e.\u0275\u0275elementStart(0,"div",77)(1,"table",78)(2,"tr")(3,"td"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(5,Ft,2,1,"td",23)(6,nn,2,0,"td",23),e.\u0275\u0275elementEnd()()()),2&Vt){const xe=Sn.$implicit,_t=Sn.index,Pt=e.\u0275\u0275nextContext(2).$implicit,jt=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate(xe.Startstring),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===jt.Pool.Mitarbeiterdaten.Homeofficefreigaben),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",_t0)}}function Un(Vt,Sn){if(1&Vt){const xe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ion-button",55),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(xe);const Pt=e.\u0275\u0275nextContext(5);return e.\u0275\u0275resetView(Pt.DB.HomeofficeLoeschen(Pt.DB.Homeofficestatusvarianten.Genehmigt))}),e.\u0275\u0275element(1,"ion-icon",56),e.\u0275\u0275elementEnd()}if(2&Vt){const xe=e.\u0275\u0275nextContext(5);e.\u0275\u0275property("disabled",!1===xe.CheckHomeofficeLoschenEnabled(xe.DB.Homeofficestatusvarianten.Genehmigt))}}function zt(Vt,Sn){if(1&Vt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td")(3,"table",45),e.\u0275\u0275template(4,Mn,2,1,"ng-container",16),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(5,"td",12)(6,"div",70),e.\u0275\u0275text(7,"HO"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(8,"td"),e.\u0275\u0275template(9,Un,2,1,"ion-button",71),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&Vt){const xe=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",xe.DB.GetHomeofficezeitspannenByStataus(xe.DB.Homeofficestatusvarianten.Genehmigt)),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",xe.DB.GetHomeofficeStatuscolor(xe.DB.Homeofficestatusvarianten.Genehmigt)),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",!0===xe.Pool.Mitarbeiterdaten.Homeofficefreigaben)}}function Hn(Vt,Sn){1&Vt&&(e.\u0275\u0275elementStart(0,"td"),e.\u0275\u0275text(1,"|"),e.\u0275\u0275elementEnd())}function kn(Vt,Sn){if(1&Vt){const xe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",77)(1,"table",78)(2,"tr")(3,"td"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"td")(6,"checkbox-clon",57),e.\u0275\u0275listener("CheckChanged",function(Pt){const ar=e.\u0275\u0275restoreView(xe).$implicit,ur=e.\u0275\u0275nextContext(7);return e.\u0275\u0275resetView(ur.ZeitspanneCheckChanged(Pt,ar))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(7,Hn,2,0,"td",23),e.\u0275\u0275elementEnd()()()}if(2&Vt){const xe=Sn.$implicit,_t=Sn.index,Pt=e.\u0275\u0275nextContext(2).$implicit;e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate(xe.Startstring),e.\u0275\u0275advance(2),e.\u0275\u0275property("Checked",xe.Checked),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",_t0)}}function Pe(Vt,Sn){if(1&Vt){const xe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td")(3,"table",45),e.\u0275\u0275template(4,ft,2,1,"ng-container",16),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(5,"td",12)(6,"div",70),e.\u0275\u0275text(7,"HO"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(8,"td")(9,"ion-button",55),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(xe);const Pt=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView(Pt.DB.HomeofficeLoeschen(Pt.DB.Homeofficestatusvarianten.Abgelehnt))}),e.\u0275\u0275element(10,"ion-icon",56),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementContainerEnd()}if(2&Vt){const xe=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",xe.DB.GetHomeofficezeitspannenByStataus(xe.DB.Homeofficestatusvarianten.Abgelehnt)),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",xe.DB.GetHomeofficeStatuscolor(xe.DB.Homeofficestatusvarianten.Abgelehnt)),e.\u0275\u0275advance(3),e.\u0275\u0275property("disabled",!1===xe.CheckHomeofficeLoschenEnabled(xe.DB.Homeofficestatusvarianten.Abgelehnt))}}function le(Vt,Sn){if(1&Vt){const xe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td")(1,"checkbox-clon",57),e.\u0275\u0275listener("CheckChanged",function(Pt){e.\u0275\u0275restoreView(xe);const jt=e.\u0275\u0275nextContext().$implicit,ar=e.\u0275\u0275nextContext(7);return e.\u0275\u0275resetView(ar.ZeitspanneCheckChanged(Pt,jt))}),e.\u0275\u0275elementEnd()()}if(2&Vt){const xe=e.\u0275\u0275nextContext().$implicit;e.\u0275\u0275advance(),e.\u0275\u0275property("Checked",xe.Checked)}}function he(Vt,Sn){1&Vt&&(e.\u0275\u0275elementStart(0,"td"),e.\u0275\u0275text(1,"|"),e.\u0275\u0275elementEnd())}function We(Vt,Sn){if(1&Vt&&(e.\u0275\u0275elementStart(0,"div",77)(1,"table",78)(2,"tr")(3,"td"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(5,le,2,1,"td",23)(6,he,2,0,"td",23),e.\u0275\u0275elementEnd()()()),2&Vt){const xe=Sn.$implicit,_t=Sn.index,Pt=e.\u0275\u0275nextContext(2).$implicit,jt=e.\u0275\u0275nextContext(5);e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate(xe.Startstring),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===jt.Pool.Mitarbeiterdaten.Homeofficefreigaben),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",_t0)}}function Gt(Vt,Sn){if(1&Vt){const xe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"ion-button",55),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(xe);const Pt=e.\u0275\u0275nextContext(5);return e.\u0275\u0275resetView(Pt.DB.HomeofficeLoeschen(Pt.DB.Homeofficestatusvarianten.Freigabeanfrage))}),e.\u0275\u0275element(1,"ion-icon",56),e.\u0275\u0275elementEnd()}if(2&Vt){const xe=e.\u0275\u0275nextContext(5);e.\u0275\u0275property("disabled",!1===xe.CheckHomeofficeLoschenEnabled(xe.DB.Homeofficestatusvarianten.Freigabeanfrage))}}function dn(Vt,Sn){if(1&Vt&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td")(3,"table",45),e.\u0275\u0275template(4,gt,2,1,"ng-container",16),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(5,"td",12)(6,"div",70),e.\u0275\u0275text(7,"HO"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(8,"td"),e.\u0275\u0275template(9,Gt,2,1,"ion-button",71),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&Vt){const xe=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",xe.DB.GetHomeofficezeitspannenByStataus(xe.DB.Homeofficestatusvarianten.Freigabeanfrage)),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",xe.DB.GetHomeofficeStatuscolor(xe.DB.Homeofficestatusvarianten.Freigabeanfrage)),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",!0===xe.Pool.Mitarbeiterdaten.Homeofficefreigaben)}}function $n(Vt,Sn){1&Vt&&(e.\u0275\u0275elementStart(0,"td"),e.\u0275\u0275text(1,"|"),e.\u0275\u0275elementEnd())}function tr(Vt,Sn){if(1&Vt){const xe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",77)(1,"table",78)(2,"tr")(3,"td"),e.\u0275\u0275text(4),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"td")(6,"checkbox-clon",57),e.\u0275\u0275listener("CheckChanged",function(Pt){const ar=e.\u0275\u0275restoreView(xe).$implicit,ur=e.\u0275\u0275nextContext(7);return e.\u0275\u0275resetView(ur.ZeitspanneCheckChanged(Pt,ar))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(7,$n,2,0,"td",23),e.\u0275\u0275elementEnd()()()}if(2&Vt){const xe=Sn.$implicit,_t=Sn.index,Pt=e.\u0275\u0275nextContext(2).$implicit;e.\u0275\u0275advance(4),e.\u0275\u0275textInterpolate(xe.Startstring),e.\u0275\u0275advance(2),e.\u0275\u0275property("Checked",xe.Checked),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",_t0)}}function fi(Vt,Sn){if(1&Vt){const xe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td")(3,"table",45),e.\u0275\u0275template(4,or,2,1,"ng-container",16),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(5,"td",12)(6,"div",70),e.\u0275\u0275text(7,"HO"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(8,"td")(9,"ion-button",55),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(xe);const Pt=e.\u0275\u0275nextContext(4);return e.\u0275\u0275resetView(Pt.DB.HomeofficeLoeschen(Pt.DB.Homeofficestatusvarianten.Geplant))}),e.\u0275\u0275element(10,"ion-icon",56),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementContainerEnd()}if(2&Vt){const xe=e.\u0275\u0275nextContext(4);e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",xe.DB.GetHomeofficezeitspannenByStataus(xe.DB.Homeofficestatusvarianten.Geplant)),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",xe.DB.GetHomeofficeStatuscolor(xe.DB.Homeofficestatusvarianten.Geplant)),e.\u0275\u0275advance(3),e.\u0275\u0275property("disabled",!1===xe.CheckHomeofficeLoschenEnabled(xe.DB.Homeofficestatusvarianten.Geplant))}}function Cr(Vt,Sn){if(1&Vt){const xe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td",12)(2,"table",66)(3,"tr")(4,"td",67),e.\u0275\u0275text(5,"Tage"),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"td",39),e.\u0275\u0275text(7,"Status"),e.\u0275\u0275elementEnd(),e.\u0275\u0275element(8,"td",68),e.\u0275\u0275elementEnd(),e.\u0275\u0275template(9,zt,10,4,"ng-container",23)(10,Pe,11,4,"ng-container",23)(11,dn,10,4,"ng-container",23)(12,fi,11,4,"ng-container",23),e.\u0275\u0275elementStart(13,"tr")(14,"td",69)(15,"ion-button",30),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(xe);const Pt=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(Pt.DB.UpdateHomeofficefreigabeanfragen())}),e.\u0275\u0275text(16,"Aktualisierung senden"),e.\u0275\u0275elementEnd()()()()()()}if(2&Vt){const xe=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(9),e.\u0275\u0275property("ngIf",xe.DB.CountHomeGenehmigt()>0),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",xe.DB.CountHomeAbgelehnt()>0),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",xe.DB.CountHomeFreigbeanfragen()>0),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",xe.DB.CountHomeGeplant()>0),e.\u0275\u0275advance(3),e.\u0275\u0275property("disabled",!1===xe.CheckHomeofficeUpdatesAvailable())}}function jr(Vt,Sn){if(1&Vt&&(e.\u0275\u0275elementStart(0,"tr")(1,"td",27)(2,"table",10)(3,"tr")(4,"td",29)(5,"table"),e.\u0275\u0275template(6,J,10,2,"tr",23)(7,be,10,0,"tr",23)(8,Ge,12,2,"tr",23)(9,ct,6,1,"tr",23)(10,rt,36,4,"tr",23),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(11,"td",29)(12,"table"),e.\u0275\u0275template(13,tt,7,1,"tr",23)(14,Te,17,2,"tr",23)(15,ht,6,0,"tr",23)(16,Cr,17,5,"tr",23),e.\u0275\u0275elementEnd()()()()()()),2&Vt){const xe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(6),e.\u0275\u0275property("ngIf",!1===xe.AddUrlaubRunning&&!1===xe.AddHalberUrlaubstagRunning&&!1===xe.AddHomeofficeRunning),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===xe.AddHalberUrlaubstagRunning),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===xe.AddUrlaubRunning),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!1===xe.AddHomeofficeRunning&&!1===xe.AddUrlaubRunning&&0===xe.DB.CurrentUrlaub.Urlaubzeitspannen.length),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!1===xe.AddUrlaubRunning&&!1===xe.AddHomeofficeRunning&&xe.DB.CurrentUrlaub.Urlaubzeitspannen.length>0),e.\u0275\u0275advance(3),e.\u0275\u0275property("ngIf",!1===xe.AddUrlaubRunning&&!1===xe.AddHomeofficeRunning),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!0===xe.AddHomeofficeRunning),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!1===xe.AddHomeofficeRunning&&!1===xe.AddUrlaubRunning&&0===xe.DB.CurrentUrlaub.Homeofficezeitspannen.length),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",!1===xe.AddUrlaubRunning&&!1===xe.AddHomeofficeRunning&&xe.DB.CurrentUrlaub.Homeofficezeitspannen.length>0)}}function Yn(Vt,Sn){if(1&Vt){const xe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td")(3,"checkbox-clon",57),e.\u0275\u0275listener("CheckChanged",function(Pt){e.\u0275\u0275restoreView(xe);const jt=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(jt.AnsichtFeiertageCheckChanged(Pt,"DE"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(4,"td")(5,"div",70),e.\u0275\u0275element(6,"ion-icon",83),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",57),e.\u0275\u0275listener("CheckChanged",function(Pt){e.\u0275\u0275restoreView(xe);const jt=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(jt.AnsichtFerientageCheckChanged(Pt,"DE"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(12,"td")(13,"div",70),e.\u0275\u0275element(14,"ion-icon",84),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(15,"td"),e.\u0275\u0275text(16,"Schulferien Deutschland"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()}if(2&Vt){const xe=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(3),e.\u0275\u0275property("Checked",xe.DB.ShowFeiertage_DE),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",xe.DB.Urlaubsfaben.Feiertage_DE),e.\u0275\u0275advance(6),e.\u0275\u0275property("Checked",xe.DB.ShowFerientage_DE),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",xe.DB.Urlaubsfaben.Ferien_DE)}}function It(Vt,Sn){if(1&Vt){const xe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",85),e.\u0275\u0275listener("CheckChanged",function(Pt){const jt=e.\u0275\u0275restoreView(xe),ar=jt.$implicit,ur=jt.index,Tr=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(Tr.DisplayExternCheckChanged(Pt,ar,ur))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(3,"td")(4,"div",86),e.\u0275\u0275text(5),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td"),e.\u0275\u0275text(7),e.\u0275\u0275elementEnd()()}if(2&Vt){const xe=Sn.$implicit,_t=e.\u0275\u0275nextContext(3);e.\u0275\u0275advance(2),e.\u0275\u0275property("Checked",_t.DB.CheckDisplayExternenUrlaub(xe.MitarbeiterIDExtern))("Enabled",xe.Urlaubzeitspannen.length>0),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(xe.NameKuerzel),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate2("",xe.NameExtern," ",xe.Text,"")}}function en(Vt,Sn){if(1&Vt){const xe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"table",19),e.\u0275\u0275template(1,Yn,17,6,"ng-container",23),e.\u0275\u0275elementContainerStart(2),e.\u0275\u0275elementStart(3,"tr")(4,"td")(5,"checkbox-clon",57),e.\u0275\u0275listener("CheckChanged",function(Pt){e.\u0275\u0275restoreView(xe);const jt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(jt.AnsichtFeiertageCheckChanged(Pt,"BG"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(6,"td")(7,"div",70),e.\u0275\u0275element(8,"ion-icon",79),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",57),e.\u0275\u0275listener("CheckChanged",function(Pt){e.\u0275\u0275restoreView(xe);const jt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(jt.AnsichtFerientageCheckChanged(Pt,"BG"))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(14,"td")(15,"div",70),e.\u0275\u0275element(16,"ion-icon",80),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",70),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",70),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",70),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(35,"td"),e.\u0275\u0275text(36,"Genehmigungsanfrage Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(37,"tr"),e.\u0275\u0275element(38,"td"),e.\u0275\u0275elementStart(39,"td"),e.\u0275\u0275element(40,"div",70),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",70),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",70),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(53,"td"),e.\u0275\u0275text(54,"Abgelehnter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(55,"tr"),e.\u0275\u0275element(56,"td"),e.\u0275\u0275elementStart(57,"td")(58,"div",70),e.\u0275\u0275text(59,"HO"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(60,"td"),e.\u0275\u0275text(61,"geplantes Homeoffice"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(62,"tr"),e.\u0275\u0275elementStart(63,"tr"),e.\u0275\u0275element(64,"td"),e.\u0275\u0275elementStart(65,"td")(66,"div",70),e.\u0275\u0275text(67,"HO"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(68,"td"),e.\u0275\u0275text(69,"Homeoffice angefragt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(70,"tr"),e.\u0275\u0275element(71,"td"),e.\u0275\u0275elementStart(72,"td")(73,"div",70),e.\u0275\u0275text(74,"HO"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(75,"td"),e.\u0275\u0275text(76,"Homeoffice genehmigt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(77,"tr"),e.\u0275\u0275element(78,"td"),e.\u0275\u0275elementStart(79,"td")(80,"div",70),e.\u0275\u0275text(81,"HO"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(82,"td"),e.\u0275\u0275text(83,"Homeoffice abgelehnt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(84,It,8,5,"tr",16),e.\u0275\u0275elementStart(85,"tr"),e.\u0275\u0275element(86,"td",81),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(87,"tr")(88,"td")(89,"checkbox-clon",57),e.\u0275\u0275listener("CheckChanged",function(Pt){e.\u0275\u0275restoreView(xe);const jt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(jt.ShowHomeofficeChanged(Pt))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(90,"td",82),e.\u0275\u0275text(91,"Homeoffice Eintr\xe4ge anzeigen"),e.\u0275\u0275elementEnd()()()}if(2&Vt){const xe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf","DE"===xe.DB.Laendercode),e.\u0275\u0275advance(4),e.\u0275\u0275property("Checked",xe.DB.ShowFeiertage_BG),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",xe.DB.Urlaubsfaben.Feiertage_BG),e.\u0275\u0275advance(6),e.\u0275\u0275property("Checked",xe.DB.ShowFerientage_BG),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",xe.DB.Urlaubsfaben.Ferien_BG),e.\u0275\u0275advance(7),e.\u0275\u0275styleProp("background",xe.DB.Urlaubsfaben.Geplant),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",xe.DB.Urlaubsfaben.Vertreteranfrage),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",xe.DB.Urlaubsfaben.Vertreterfreigabe),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",xe.DB.Urlaubsfaben.Vertreterablehnung),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",xe.DB.Urlaubsfaben.Genehmigt),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",xe.DB.Urlaubsfaben.Abgelehnt),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",xe.DB.Homeofficefarben.Geplant),e.\u0275\u0275advance(8),e.\u0275\u0275styleProp("background",xe.DB.Homeofficefarben.Freigabeanfrage),e.\u0275\u0275advance(7),e.\u0275\u0275styleProp("background",xe.DB.Homeofficefarben.Genehmigt),e.\u0275\u0275advance(7),e.\u0275\u0275styleProp("background",xe.DB.Homeofficefarben.Abgelehnt),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",xe.DB.UrlaublisteExtern),e.\u0275\u0275advance(5),e.\u0275\u0275property("Checked",xe.Pool.Mitarbeitersettings.ShowHomeoffice)}}function Ct(Vt,Sn){if(1&Vt){const xe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"div",8)(1,"div",9)(2,"table",10)(3,"tr"),e.\u0275\u0275element(4,"td",11),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(5,"tr")(6,"td",12)(7,"table",13)(8,"tr")(9,"td")(10,"div",14),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(xe);const Pt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Pt.MonatBackButtonClicked())}),e.\u0275\u0275element(11,"ion-icon",15),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(12,ie,3,3,"td",16),e.\u0275\u0275elementStart(13,"td")(14,"div",14),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(xe);const Pt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Pt.MonatForwardButtonClicked())}),e.\u0275\u0275element(15,"ion-icon",17),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275elementStart(16,"tr")(17,"td",18)(18,"table",19)(19,"tr")(20,"td",20)(21,"urlaubsplanung-kalender",21),e.\u0275\u0275listener("ExternUrlaubstagClickedEvent",function(Pt){e.\u0275\u0275restoreView(xe);const jt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(jt.ExternUrlaubstagClickedEventHandler(Pt))})("AddUrlaubFinishedEvent",function(){e.\u0275\u0275restoreView(xe);const Pt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Pt.AddUrlaubFinishedHandler())})("AddHomeofficeFinishedEvent",function(){e.\u0275\u0275restoreView(xe);const Pt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Pt.AddHomeofficeFinishedHandler())})("FeiertagCrossedEvent",function(Pt){e.\u0275\u0275restoreView(xe);const jt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(jt.FeiertagCrossedEventHandler(Pt))})("FerientagCrossedEvent",function(Pt){e.\u0275\u0275restoreView(xe);const jt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(jt.FerientagCrossedEventHandler(Pt))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(22,"td",20)(23,"urlaubsplanung-kalender",22),e.\u0275\u0275listener("ExternUrlaubstagClickedEvent",function(Pt){e.\u0275\u0275restoreView(xe);const jt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(jt.ExternUrlaubstagClickedEventHandler(Pt))})("AddUrlaubFinishedEvent",function(){e.\u0275\u0275restoreView(xe);const Pt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Pt.AddUrlaubFinishedHandler())})("AddHomeofficeFinishedEvent",function(){e.\u0275\u0275restoreView(xe);const Pt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Pt.AddHomeofficeFinishedHandler())})("FeiertagCrossedEvent",function(Pt){e.\u0275\u0275restoreView(xe);const jt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(jt.FeiertagCrossedEventHandler(Pt))})("FerientagCrossedEvent",function(Pt){e.\u0275\u0275restoreView(xe);const jt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(jt.FerientagCrossedEventHandler(Pt))}),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(24,"td",20)(25,"urlaubsplanung-kalender",21),e.\u0275\u0275listener("ExternUrlaubstagClickedEvent",function(Pt){e.\u0275\u0275restoreView(xe);const jt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(jt.ExternUrlaubstagClickedEventHandler(Pt))})("AddUrlaubFinishedEvent",function(){e.\u0275\u0275restoreView(xe);const Pt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Pt.AddUrlaubFinishedHandler())})("AddHomeofficeFinishedEvent",function(){e.\u0275\u0275restoreView(xe);const Pt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Pt.AddHomeofficeFinishedHandler())})("FeiertagCrossedEvent",function(Pt){e.\u0275\u0275restoreView(xe);const jt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(jt.FeiertagCrossedEventHandler(Pt))})("FerientagCrossedEvent",function(Pt){e.\u0275\u0275restoreView(xe);const jt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(jt.FerientagCrossedEventHandler(Pt))}),e.\u0275\u0275elementEnd()()()()()(),e.\u0275\u0275template(26,jr,17,9,"tr",23),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(27,"div",24)(28,"table")(29,"tr")(30,"td")(31,"div",25),e.\u0275\u0275listener("click",function(){e.\u0275\u0275restoreView(xe);const Pt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Pt.LegendeVisible=!Pt.LegendeVisible)}),e.\u0275\u0275element(32,"ion-icon",26),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(33,"td",27),e.\u0275\u0275template(34,en,92,29,"table",28),e.\u0275\u0275elementEnd()()()()()}if(2&Vt){const xe=e.\u0275\u0275nextContext();e.\u0275\u0275advance(12),e.\u0275\u0275property("ngForOf",xe.DB.Monateliste),e.\u0275\u0275advance(9),e.\u0275\u0275property("Jahr",xe.DB.CurrentJahr)("Monatindex",xe.DB.FirstMonatIndex)("AddUrlaubRunning",xe.AddUrlaubRunning)("AddHomeofficerunning",xe.AddHomeofficeRunning)("AddHalberUrlaubstagRunning",xe.AddHalberUrlaubstagRunning),e.\u0275\u0275advance(2),e.\u0275\u0275property("Jahr",xe.DB.CurrentJahr)("ShowYear",!0)("Monatindex",xe.DB.CurrentMonatindex)("AddUrlaubRunning",xe.AddUrlaubRunning)("AddHomeofficerunning",xe.AddHomeofficeRunning)("AddHalberUrlaubstagRunning",xe.AddHalberUrlaubstagRunning),e.\u0275\u0275advance(2),e.\u0275\u0275property("Jahr",xe.DB.CurrentJahr)("Monatindex",xe.DB.LastMonatIndex)("AddUrlaubRunning",xe.AddUrlaubRunning)("AddHomeofficerunning",xe.AddHomeofficeRunning)("AddHalberUrlaubstagRunning",xe.AddHalberUrlaubstagRunning),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",null!==xe.DB.CurrentUrlaub),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",xe.Legendehoehe,"px")("width",xe.Legendebreite,"px")("right",xe.LegendeVisible?0:-(xe.Legendebreite-14),"px"),e.\u0275\u0275advance(4),e.\u0275\u0275styleProp("height",xe.Legendehoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275property("name",xe.LegendeVisible?"caret-forward-outline":"caret-back-outline"),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",null!==xe.Pool.Mitarbeitersettings)}}function qe(Vt,Sn){if(1&Vt&&(e.\u0275\u0275elementStart(0,"td"),e.\u0275\u0275element(1,"img",91),e.\u0275\u0275elementEnd()),2&Vt){const xe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("src",xe.Flagsource,e.\u0275\u0275sanitizeUrl)}}function Nt(Vt,Sn){if(1&Vt&&(e.\u0275\u0275elementStart(0,"td",92),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&Vt){const xe=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(xe.Message)}}function He(Vt,Sn){1&Vt&&(e.\u0275\u0275elementStart(0,"div",93),e.\u0275\u0275text(1,"Keine externen Email senden"),e.\u0275\u0275elementEnd())}function vt(Vt,Sn){if(1&Vt&&(e.\u0275\u0275elementStart(0,"table",10)(1,"tr")(2,"td",87)(3,"table",19)(4,"tr"),e.\u0275\u0275template(5,qe,2,1,"td",23)(6,Nt,2,1,"td",88),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(7,"td",89),e.\u0275\u0275template(8,He,2,0,"div",90),e.\u0275\u0275elementEnd()()()),2&Vt){const xe=e.\u0275\u0275nextContext();e.\u0275\u0275advance(5),e.\u0275\u0275property("ngIf",""!==xe.Flagsource),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",""!==xe.Message),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",xe.Pool.Appeinstellungen.DebugNoExternalEmail)}}function pt(Vt,Sn){if(1&Vt){const xe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"auswahl-dialog",94),e.\u0275\u0275listener("OkClickedEvent",function(Pt){e.\u0275\u0275restoreView(xe);const jt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(jt.AuswahlOkButtonClicked(Pt))})("CancelClickedEvent",function(){e.\u0275\u0275restoreView(xe);const Pt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Pt.ShowAuswahl=!1)}),e.\u0275\u0275elementEnd()}if(2&Vt){const xe=e.\u0275\u0275nextContext();e.\u0275\u0275property("Auswahlliste",xe.Auswahlliste)("Auswahlindex",xe.Auswahlindex)("ZIndex",5e3)("Dialogbreite",400)("PositionY",100)("Titel",xe.Auswahltitel)("Iconname","")}}function an(Vt,Sn){if(1&Vt){const xe=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"fi-mitarbeiter-auswahl",95),e.\u0275\u0275listener("CancelClickedEvent",function(){e.\u0275\u0275restoreView(xe);const Pt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Pt.ShowMitarbeiterauswahl=!1)})("OkClickedEvent",function(Pt){e.\u0275\u0275restoreView(xe);const jt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(jt.MitarbeiterauswahlOkButtonClicked(Pt))})("StandortfilterClickedEvent",function(){e.\u0275\u0275restoreView(xe);const Pt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(Pt.MitarebiterStandortfilterClickedHandler())}),e.\u0275\u0275elementEnd()}if(2&Vt){const xe=e.\u0275\u0275nextContext();e.\u0275\u0275property("Titel",xe.MitarbeiterauswahlTitel)("Dialogbreite",600)("ZIndex",4e3)("Multiselect",xe.MitarbeiterMultiselect)("OnlyProjektmitarbeiter",!1)("AuswahlIDliste",xe.AuswahlIDliste)}}m.CommonUrlaubPlanungPage=(()=>{class Vt{Loadinganimation;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;AddHalberUrlaubstagRunning;AddHomeofficeRunning;Auswahldialogorigin;DataSubscription;ShowMitarbeiterauswahl;AuswahlIDliste;MitarbeiterauswahlTitel;LegendeVisible;Legendehoehe;Legendebreite;Flagsource;MitarbeiterMultiselect;constructor(xe,_t,Pt,jt,ar,ur,Tr,lr,nr,Nr,Ci){this.Loadinganimation=xe,this.Basics=_t,this.DBMitarbeitersettings=Pt,this.Pool=jt,this.DB=ar,this.DBMitarbeiter=ur,this.Const=Tr,this.DBStandort=lr,this.Auswahlservice=nr,this.Tools=Nr,this.Debug=Ci;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.AddHomeofficeRunning=!1,this.ShowMitarbeiterauswahl=!1,this.AuswahlIDliste=[],this.MitarbeiterauswahlTitel="Mitarbeiter wechseln",this.LegendeVisible=!1,this.Legendehoehe=0,this.Legendebreite=0,this.Flagsource="",this.AddHalberUrlaubstagRunning=!1,this.MitarbeiterMultiselect=!1}catch(rn){this.Debug.ShowErrorMessage(rn.message,"Urlaubsplanung Page","constructor",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.DataSubscription.unsubscribe(),this.DataSubscription=null}catch(xe){this.Debug.ShowErrorMessage(xe,"Urlaubsplanung Page","OnDestroy",this.Debug.Typen.Page)}}ionViewDidEnter(){try{this.Basics.MeassureInnercontent(this.PageHeader,this.PageFooter),this.Legendebreite=400,this.Legendehoehe=this.Basics.InnerContenthoehe}catch(xe){this.Debug.ShowErrorMessage(xe.message,"Urlaub Einstellungen Page","ionViewDidEnter",this.Debug.Typen.Page)}}ngOnInit(){try{this.DataSubscription=this.Pool.LoadingAllDataFinished.subscribe(()=>{this.PrepareData()}),this.PrepareData()}catch(xe){this.Debug.ShowErrorMessage(xe,"Urlaubsplanung Page","OnInit",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(xe){var _t=this;return n(function*(){try{let Pt,jt,ar;switch(_t.Auswahldialogorigin){case _t.Auswahlservice.Auswahloriginvarianten.Urlaubsliste_Bundesland:_t.DB.Bundeslandkuerzel=xe;let ur=_t.DB.Bundeslandkuerzel.substring(0,2);_t.DB.ReadFeiertage(ur).then(()=>{_t.ShowAuswahl=!1,_t.PrepareData()});break;case _t.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Status_Aendern:if(null!==xe&&xe!==_t.DB.CurrentUrlaubzeitspanne.Status)switch(Pt=u.find(_t.DB.CurrentUrlaub.Urlaubzeitspannen,{ZeitspannenID:_t.DB.CurrentUrlaubzeitspanne.ZeitspannenID}),ar=u.find(Pt.Vertretungskonversationliste,{VertreterID:_t.DB.CurrentMitarbeiter._id}),xe){case _t.DB.Urlaubstatusvarianten.Geplant:Pt.Status=xe,Pt.FreigabeanfrageSended=!1,Pt.FreigabeantwortSended=!1,Pt.FreigabeantwortOfficeSended=!1,Pt.Freigabeantwortzeitstempel=null,Pt.FreigabeantwortOfficezeitstempel=null,!1===u.isUndefined(ar)&&(ar.VertreteranfrageSended=!1,ar.VertreterantwortSended=!1,ar.Vertretunganfragezeitstempel=null,ar.Vertretungantwortzeitstempel=null,ar.Vertretungantwortzeitstempel=null),jt=u.findIndex(_t.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:_t.DB.CurrentJahr}),_t.DB.CurrentMitarbeiter.Urlaubsliste[jt]=_t.DB.CurrentUrlaub,yield _t.DBMitarbeiter.UpdateMitarbeiterUrlaub(_t.DB.CurrentMitarbeiter).then(()=>{_t.ShowAuswahl=!1});break;case _t.DB.Urlaubstatusvarianten.Vertreteranfrage:Pt.UrlaubsvertreterIDListe.length>0?(Pt.Status=xe,_t.DB.UpdateVertreteranfragen()):(Pt.Status=_t.DB.Urlaubstatusvarianten.Geplant,jt=u.findIndex(_t.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:_t.DB.CurrentJahr}),_t.DB.CurrentMitarbeiter.Urlaubsliste[jt]=_t.DB.CurrentUrlaub,yield _t.DBMitarbeiter.UpdateMitarbeiterUrlaub(_t.DB.CurrentMitarbeiter).then(()=>{_t.ShowAuswahl=!1}));break;case _t.DB.Urlaubstatusvarianten.Vertreterfreigabe:break;case _t.DB.Urlaubstatusvarianten.Vertreterablehnung:case _t.DB.Urlaubstatusvarianten.Abgelehnt:Pt.Status=xe,jt=u.findIndex(_t.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:_t.DB.CurrentJahr}),_t.DB.CurrentMitarbeiter.Urlaubsliste[jt]=_t.DB.CurrentUrlaub,yield _t.DBMitarbeiter.UpdateMitarbeiterUrlaub(_t.DB.CurrentMitarbeiter).then(()=>{_t.ShowAuswahl=!1});break;case _t.DB.Urlaubstatusvarianten.Genehmigt:Pt.Status=xe,_t.DB.CurrentUrlaub=yield _t.DB.SendOfficeFreigabezusage(_t.DB.CurrentMitarbeiter,_t.Pool.Mitarbeiterdaten,_t.DB.CurrentUrlaub),jt=u.findIndex(_t.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:_t.DB.CurrentJahr}),_t.DB.CurrentMitarbeiter.Urlaubsliste[jt]=_t.DB.CurrentUrlaub,yield _t.DBMitarbeiter.UpdateMitarbeiterUrlaub(_t.DB.CurrentMitarbeiter).then(()=>{_t.ShowAuswahl=!1})}break;case _t.Auswahlservice.Auswahloriginvarianten.UrlaubPlanung_Standort_Filter:_t.DBStandort.CurrentStandortfilter=(0,i.cloneDeep)(xe),_t.Pool.Mitarbeitersettings.StandortFilter=null!==xe?xe._id:_t.Const.NONE,_t.DBMitarbeitersettings.UpdateMitarbeitersettings(_t.Pool.Mitarbeitersettings,null).then(()=>{_t.ShowAuswahl=!1,_t.PrepareData(),_t.DBStandort.StandortfilterChanged.emit()});break;case _t.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Jahr_Aendern:_t.DB.CurrentJahr=xe,_t.ShowAuswahl=!1,yield _t.Loadinganimation.ShowLoadingAnimation("Hinweis","Daten werden geladen"),yield _t.DB.ReadFeiertage("DE"),yield _t.DB.ReadFeiertage("BG"),yield _t.DB.ReadFerien("DE"),yield _t.DB.ReadFerien("BG"),yield _t.Loadinganimation.HideLoadingAnimation(!0),_t.PrepareData()}}catch(Pt){_t.Debug.ShowErrorMessage(Pt.message,"Urlaubsplanung Page","AuswahlOkButtonClicked",_t.Debug.Typen.Page)}})()}PrepareData(){var xe=this;return n(function*(){try{let _t=0;xe.DB.Init(),xe.DB.CheckSetup(),xe.DB.SetPlanungsmonate(),xe.DB.CountAnfragenanzahlen(),xe.DB.UpdateKalenderRequestEvent.emit(),xe.BundeslandAuswahlliste=[];for(let jt of xe.DB.Regionenliste)xe.BundeslandAuswahlliste.push({Index:_t,FirstColumn:jt.Name,SecoundColumn:jt.isoCode,Data:jt.isoCode}),_t++;xe.DB.Bundesland=u.find(xe.BundeslandAuswahlliste,{Data:xe.DB.Bundeslandkuerzel}).FirstColumn}catch(_t){xe.Debug.ShowErrorMessage(_t,"Urlaubsplanung Page","PrepareData",xe.Debug.Typen.Page)}})()}FeiertagCrossedEventHandler(xe){try{this.Message=xe.Name,""!==xe.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===xe.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(_t){this.Debug.ShowErrorMessage(_t,"Urlaubsplanung Page","FeiertagCrossedEventHandler",this.Debug.Typen.Page)}}FerientagCrossedEventHandler(xe){try{this.Message=xe.Name,""!==xe.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===xe.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(_t){this.Debug.ShowErrorMessage(_t,"Urlaubsplanung Page","FerientagCrossedEventHandler",this.Debug.Typen.Page)}}GetDatum(xe){return(0,l.default)(xe).format("DD.MM.YYYY")}AnsichtFerientageCheckChanged(xe,_t){try{switch(_t){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFerien_DE=xe.status,this.DB.ShowFerientage_DE=xe.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFerien_BG=xe.status,this.DB.ShowFerientage_BG=xe.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(Pt){this.Debug.ShowErrorMessage(Pt,"Urlaubsplanung Page","AnsichtFerientageCheckChanged",this.Debug.Typen.Page)}}AnsichtFeiertageCheckChanged(xe,_t){try{switch(_t){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_DE=xe.status,this.DB.ShowFeiertage_DE=xe.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_BG=xe.status,this.DB.ShowFeiertage_BG=xe.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(Pt){this.Debug.ShowErrorMessage(Pt,"Urlaubsplanung Page","AnsichtFeiertageCheckChanged",this.Debug.Typen.Page)}}GetMonatButtonColor(xe){try{if(this.DB.CurrentMonatindex===xe)return"orange"}catch(_t){this.Debug.ShowErrorMessage(_t,"Urlaubsplanung Page","GetMonatButtonColor",this.Debug.Typen.Page)}}MonatButtonClicked(xe){try{this.DB.CurrentMonatindex=xe,this.DB.SetPlanungsmonate()}catch(_t){this.Debug.ShowErrorMessage(_t,"Urlaubsplanung Page","MonatButtonClicked",this.Debug.Typen.Page)}}MonatBackButtonClicked(){try{this.DB.CurrentMonatindex>0&&(this.DB.CurrentMonatindex--,this.DB.SetPlanungsmonate())}catch(xe){this.Debug.ShowErrorMessage(xe,"Urlaubsplanung Page","MonatBackButtonClicked",this.Debug.Typen.Page)}}MonatForwardButtonClicked(){try{this.DB.CurrentMonatindex<11&&(this.DB.CurrentMonatindex++,this.DB.SetPlanungsmonate())}catch(xe){this.Debug.ShowErrorMessage(xe,"Urlaubsplanung Page","MonatForwardButtonClicked",this.Debug.Typen.Page)}}AddUrlaub(){try{this.DB.CurrentUrlaubzeitspanne=null,this.AddUrlaubRunning=!0}catch(xe){this.Debug.ShowErrorMessage(xe,"Urlaubsplanung Page","AddUrlaub",this.Debug.Typen.Page)}}AddHalbenUrlaubstag(){try{this.DB.CurrentUrlaubzeitspanne=null,this.AddHalberUrlaubstagRunning=!0}catch(xe){this.Debug.ShowErrorMessage(xe,"Urlaubsplanung Page","AddHalbenUrlaubstag",this.Debug.Typen.Page)}}AddHomeofficeStart(){try{this.DB.CurrentHomeofficezeitspanne=null,this.AddHomeofficeRunning=!0}catch(xe){this.Debug.ShowErrorMessage(xe,"Urlaubsplanung Page","AddHomeofficeStart",this.Debug.Typen.Page)}}AddUrlaubFinishedHandler(){try{if(this.AddUrlaubRunning=!1,this.AddHalberUrlaubstagRunning=!1,null!==this.DB.CurrentUrlaubzeitspanne){this.DB.CurrentUrlaub.Urlaubzeitspannen.push(this.DB.CurrentUrlaubzeitspanne);let xe=u.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.CurrentJahr});this.DB.CurrentMitarbeiter.Urlaubsliste[xe]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{})}}catch(xe){this.Debug.ShowErrorMessage(xe,"Urlaubsplanung Page","AddUrlaubFinishedHandler",this.Debug.Typen.Page)}}UrlaubLoeschen(xe){try{let _t=u.filter(this.DB.CurrentUrlaub.Urlaubzeitspannen,jt=>jt.ZeitspannenID!==xe.ZeitspannenID);this.DB.CurrentUrlaub=u.find(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.CurrentJahr}),this.DB.CurrentUrlaub.Urlaubzeitspannen=_t;let Pt=u.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.CurrentJahr});this.DB.CurrentMitarbeiter.Urlaubsliste[Pt]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.DB.PlanungsmonateChanged.emit()})}catch(_t){this.Debug.ShowErrorMessage(_t,"Urlaubsplanung Page","UrlaubLoeschen",this.Debug.Typen.Page)}}AnsichtCheckChanged(xe,_t){try{switch(_t){case this.DB.Urlaubstatusvarianten.Geplant:this.Pool.Mitarbeitersettings.UrlaubShowBeantragt=xe.status;break;case this.DB.Urlaubstatusvarianten.Vertreterfreigabe:this.Pool.Mitarbeitersettings.UrlaubShowVertreterfreigabe=xe.status;break;case this.DB.Urlaubstatusvarianten.Genehmigt:this.Pool.Mitarbeitersettings.UrlaubShowGenehmigt=xe.status;break;case this.DB.Urlaubstatusvarianten.Abgelehnt:this.Pool.Mitarbeitersettings.UrlaubShowAbgelehnt=xe.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(Pt){this.Debug.ShowErrorMessage(Pt,"Urlaubsplanung Page","AnsichtCheckChanged",this.Debug.Typen.Page)}}UrlaubSuchen(xe){try{let _t=(0,l.default)(xe.Startstempel);this.DB.CurrentMonatindex=_t.month(),this.DB.SetPlanungsmonate()}catch(_t){this.Debug.ShowErrorMessage(_t,"Urlaubsplanung Page","UrlaubSuchen",this.Debug.Typen.Page)}}GetDatumlangtext(xe){try{return(0,l.default)(xe).locale("de").format("DD. MMMM YYYY")}catch(_t){this.Debug.ShowErrorMessage(_t,"Urlaubsplanung Page","GetDatumlangtext",this.Debug.Typen.Page)}}MitarbeiterauswahlOkButtonClicked(xe){var _t=this;return n(function*(){try{let Pt,jt,ar;switch(_t.Auswahldialogorigin){case _t.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln:Pt=u.find(_t.Pool.Mitarbeiterliste,{_id:xe[0]}),_t.DB.CurrentMitarbeiter=Pt,_t.PrepareData(),_t.DB.PlanungsmonateChanged.emit();break;case _t.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Vertreter_Festlegen:jt=u.find(_t.DB.CurrentUrlaub.Urlaubzeitspannen,{ZeitspannenID:_t.DB.CurrentUrlaubzeitspanne.ZeitspannenID}),jt.UrlaubsvertreterIDListe=xe,jt.Status=_t.DB.Urlaubstatusvarianten.Geplant,jt.FreigabeantwortSended=!1,jt.FreigabeanfrageSended=!1,_t.DB.InitVertreterkonversationen(jt,!0),ar=u.findIndex(_t.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:_t.DB.CurrentJahr}),_t.DB.CurrentMitarbeiter.Urlaubsliste[ar]=_t.DB.CurrentUrlaub,yield _t.DBMitarbeiter.UpdateMitarbeiterUrlaub(_t.DB.CurrentMitarbeiter).then(()=>{_t.DB.CurrentUrlaubzeitspanne.UrlaubsvertreterIDListe=xe})}_t.ShowMitarbeiterauswahl=!1}catch(Pt){_t.Debug.ShowErrorMessage(Pt.message,"Urlaubsplanung Page","MitarbeiterauswahlOkButtonClicked",_t.Debug.Typen.Page)}})()}MitarebiterStandortfilterClickedHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.UrlaubPlanung_Standort_Filter;let xe=0;this.ShowAuswahl=!0,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:xe,FirstColumn:"kein Filter",SecoundColumn:"",Data:null}),xe++;for(let _t of this.Pool.Standorteliste)this.Auswahlliste.push({Index:xe,FirstColumn:_t.Kuerzel,SecoundColumn:_t.Standort,Data:_t}),xe++;this.Auswahlindex=null!==this.DBStandort.CurrentStandortfilter?u.findIndex(this.Pool.Standorteliste,{_id:this.DBStandort.CurrentStandortfilter._id}):0}catch(xe){this.Debug.ShowErrorMessage(xe.message,"Urlaubsplanung Page","MitarebiterStandortfilterClickedHandler",this.Debug.Typen.Page)}}MitarbeiterWechselnClicked(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln,this.ShowMitarbeiterauswahl=!0,this.MitarbeiterMultiselect=!1,this.AuswahlIDliste=[]}catch(xe){this.Debug.ShowErrorMessage(xe,"Urlaubsplanung Page","MitarbeiterWechselnClicked",this.Debug.Typen.Page)}}StellvertreterFestlegenClicked(xe){try{this.DB.CurrentUrlaubzeitspanne=xe,this.MitarbeiterauswahlTitel="Vertretungen festlegen",this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Vertreter_Festlegen,this.ShowMitarbeiterauswahl=!0,this.MitarbeiterMultiselect=!0,this.AuswahlIDliste=this.DB.CurrentUrlaubzeitspanne.UrlaubsvertreterIDListe}catch(_t){this.Debug.ShowErrorMessage(_t,"Urlaubsplanung Page","StellvertreterFestlegenClicked",this.Debug.Typen.Page)}}GetStellvertretername(xe){try{let _t=u.find(this.Pool.Mitarbeiterliste,{_id:xe});return u.isUndefined(_t)?"unbekannt":_t.Vorname+" "+_t.Name}catch(_t){this.Debug.ShowErrorMessage(_t,"Urlaubsplanung Page","GetStellvertretername",this.Debug.Typen.Page)}}DisplayExternCheckChanged(xe,_t,Pt){try{let jt=u.find(this.DB.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:_t.MitarbeiterIDExtern});u.isUndefined(jt)||(jt.Display=xe.status);let ar=u.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.CurrentJahr});this.DB.CurrentMitarbeiter.Urlaubsliste[ar]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.DB.ExterneUrlaubeChanged.emit()})}catch(jt){this.Debug.ShowErrorMessage(jt,"Urlaubsplanung Page","DisplayExternCheckChanged",this.Debug.Typen.Page)}}CheckUrlaubUpdatesAvailable(){try{let xe=!1;if(null!==this.DB.CurrentUrlaub)for(let _t of this.DB.CurrentUrlaub.Urlaubzeitspannen)_t.Status===this.DB.Urlaubstatusvarianten.Geplant&&_t.UrlaubsvertreterIDListe.length>0&&(xe=!0),_t.Status===this.DB.Urlaubstatusvarianten.Geplant&&!0===_t.Betriebsurlaub&&(xe=!0);return xe}catch(xe){this.Debug.ShowErrorMessage(xe,"Urlaubsplanung Page","CheckUrlaubUpdatesAvailable",this.Debug.Typen.Page)}}CheckHomeofficeUpdatesAvailable(){try{let xe=!1,_t=u.find(this.Pool.Standorteliste,{_id:this.DB.CurrentMitarbeiter.StandortID});if(null!==this.DB.CurrentUrlaub)for(let Pt of this.DB.CurrentUrlaub.Homeofficezeitspannen)Pt.Status===this.DB.Urlaubstatusvarianten.Geplant&&_t.Homeofficefreigabepersonen.length>0&&(xe=!0);return xe}catch(xe){this.Debug.ShowErrorMessage(xe,"Urlaubsplanung Page","CheckHomeofficeUpdatesAvailable",this.Debug.Typen.Page)}}CheckUrlaubLoschenEnabled(xe){try{return null!==this.Pool.Mitarbeiterdaten&&!0===this.Pool.Mitarbeiterdaten.Urlaubsfreigaben||xe.Status===this.DB.Urlaubstatusvarianten.Geplant||xe.Status===this.DB.Urlaubstatusvarianten.Abgelehnt||xe.Status===this.DB.Urlaubstatusvarianten.Vertreterablehnung}catch(_t){this.Debug.ShowErrorMessage(_t,"Urlaubsplanung Page","CheckUrlaubLoschenEnabled",this.Debug.Typen.Page)}}CheckHomeofficeLoschenEnabled(xe){try{let _t=!1,Pt=u.filter(this.DB.CurrentUrlaub.Homeofficezeitspannen,{Status:xe});for(let jt of Pt)if(jt.Checked){_t=!0;break}return _t}catch(_t){this.Debug.ShowErrorMessage(_t,"Urlaubsplanung Page","CheckHomeofficeLoschenEnabled",this.Debug.Typen.Page)}}CancelDatumClicked(){try{this.AddUrlaubRunning=!1,this.AddHalberUrlaubstagRunning=!1,this.DB.CurrentUrlaubzeitspanne=null,this.DB.AddUrlaubCancelEvent.emit()}catch(xe){this.Debug.ShowErrorMessage(xe,"Urlaubsplanung Page","CancelDatumClicked",this.Debug.Typen.Page)}}StatusClickedHandler(xe){try{let _t=0;null!==this.Pool.Mitarbeiterdaten&&(!0===this.Pool.Mitarbeiterdaten.Planeradministrator||!0===this.Pool.Mitarbeiterdaten.Urlaubsfreigaben)&&(this.Auswahltitel="Status \xe4ndern",this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Status_Aendern,this.DB.CurrentUrlaubzeitspanne=xe,this.Auswahlliste=[],this.Auswahlliste.push({Index:_t++,FirstColumn:this.DB.Urlaubstatusvarianten.Geplant,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Geplant}),this.Auswahlliste.push({Index:_t++,FirstColumn:this.DB.Urlaubstatusvarianten.Vertreteranfrage,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Vertreteranfrage}),this.Auswahlliste.push({Index:_t++,FirstColumn:this.DB.Urlaubstatusvarianten.Vertreterablehnung,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Vertreterablehnung}),this.Auswahlliste.push({Index:_t++,FirstColumn:this.DB.Urlaubstatusvarianten.Vertreterfreigabe,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Vertreterfreigabe}),this.Auswahlliste.push({Index:_t++,FirstColumn:this.DB.Urlaubstatusvarianten.Abgelehnt,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Abgelehnt}),this.Auswahlliste.push({Index:_t++,FirstColumn:this.DB.Urlaubstatusvarianten.Genehmigt,SecoundColumn:"",Data:this.DB.Urlaubstatusvarianten.Genehmigt}),this.ShowAuswahl=!0,this.Auswahlindex=u.findIndex(this.Auswahlliste,{Data:xe.Status}))}catch(_t){this.Debug.ShowErrorMessage(_t,"Urlaubsplanung Page","StatusClickedHandler",this.Debug.Typen.Page)}}AddHomeofficeFinishedHandler(){try{if(null!==this.DB.CurrentHomeofficezeitspanne){this.DB.CurrentUrlaub.Homeofficezeitspannen.push(this.DB.CurrentHomeofficezeitspanne);let xe=u.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.CurrentJahr});this.DB.CurrentMitarbeiter.Urlaubsliste[xe]=this.DB.CurrentUrlaub}}catch(xe){this.Debug.ShowErrorMessage(xe,"Urlaubsplanung Page","AddHomeofficeFinishedHandler",this.Debug.Typen.Page)}}SaveHomeofficeEventHandler(){try{this.AddHomeofficeRunning=!1,this.DB.CurrentHomeofficezeitspanne=null,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{})}catch(xe){this.Debug.ShowErrorMessage(xe,"Urlaubsplanung Page","SaveHomeofficeEventHandler",this.Debug.Typen.Page)}}ZeitspanneCheckChanged(xe,_t){try{_t.Checked=xe.status}catch(Pt){this.Debug.ShowErrorMessage(Pt,"Urlaubsplanung Page","ZeitspanneCheckChanged",this.Debug.Typen.Page)}}BetriebsurlaubCheckedChanged(xe,_t){try{let Pt,jt=u.find(this.DB.CurrentUrlaub.Urlaubzeitspannen,ur=>ur.ZeitspannenID===_t.ZeitspannenID);Pt=u.find(jt.Vertretungskonversationliste,{VertreterID:this.DB.CurrentMitarbeiter._id}),jt.Betriebsurlaub=xe.status,!1===jt.Betriebsurlaub?(Pt.VertreteranfrageSended=!1,Pt.VertreterantwortSended=!1,jt.Status=this.DB.Urlaubstatusvarianten.Geplant,jt.Planungmeldung=""):(Pt.VertreteranfrageSended=!0,Pt.VertreterantwortSended=!0,jt.Status=this.DB.Urlaubstatusvarianten.Geplant,jt.Planungmeldung="keine Urlaubsvertretung notwendig :-)");let ar=u.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.CurrentJahr});this.DB.CurrentMitarbeiter.Urlaubsliste[ar]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.DB.PlanungsmonateChanged.emit()})}catch(Pt){this.Debug.ShowErrorMessage(Pt,"Urlaubsplanung Page","BetriebsurlaubCheckedChanged",this.Debug.Typen.Page)}}GetPlanungmeldung(xe){try{let _t="",Pt=0;switch(xe.Status){case this.DB.Urlaubstatusvarianten.Geplant:break;case this.DB.Urlaubstatusvarianten.Vertreteranfrage:for(let jt of xe.Vertretungskonversationliste)!0===jt.VertreteranfrageSended&&(_t+=jt.Vertretungmeldung,Pt"));break;case this.DB.Urlaubstatusvarianten.Vertreterfreigabe:_t+=xe.Planungmeldung;break;case this.DB.Urlaubstatusvarianten.Vertreterablehnung:for(let jt of xe.Vertretungskonversationliste)!0===jt.VertreterantwortSended&&(_t+=jt.Vertretungmeldung,Pt"));break;case this.DB.Urlaubstatusvarianten.Genehmigt:_t+=xe.Planungmeldung}return _t}catch(_t){this.Debug.ShowErrorMessage(_t,"Urlaubsplanung Page","GetPlanungmeldung",this.Debug.Typen.Page)}}MitarbeiterMeWechselnClickedHandler(){try{this.DB.CurrentMitarbeiter=this.Pool.Mitarbeiterdaten,this.PrepareData()}catch(xe){this.Debug.ShowErrorMessage(xe,"Urlaubsplanung Page","MitarbeiterMeWechselnClickedHandler",this.Debug.Typen.Page)}}ExternUrlaubstagClickedEventHandler(xe){try{let _t=u.find(this.Pool.Mitarbeiterliste,{_id:xe});!1===u.isUndefined(_t)&&(this.DB.CurrentMitarbeiter=_t,this.PrepareData())}catch(_t){this.Debug.ShowErrorMessage(_t,"Urlaubsplanung Page","ExternUrlaubstagClickedEventHandler",this.Debug.Typen.Page)}}ShowHomeofficeChanged(xe){try{this.Pool.Mitarbeitersettings.ShowHomeoffice=xe.status,this.DBMitarbeitersettings.UpdateMitarbeitersettings(this.Pool.Mitarbeitersettings,null).then(()=>{this.DB.UpdateKalenderRequestEvent.emit()})}catch(_t){this.Debug.ShowErrorMessage(_t,"Urlaubsplanung Page","ShowHomeofficeChanged",this.Debug.Typen.Page)}}JahrButtonClickedHandler(){try{let xe=0,Pt=this.DB.Jahr+1;this.Auswahltitel="Jahr \xe4ndern",this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Jahr_Aendern,this.Auswahlliste=[];for(let jt=this.DB.Startjahr;jt<=Pt;jt++)this.Auswahlliste.push({Index:xe++,FirstColumn:jt.toString(),SecoundColumn:"",Data:jt});this.ShowAuswahl=!0,this.Auswahlindex=u.findIndex(this.Auswahlliste,{Data:this.DB.CurrentJahr})}catch(xe){this.Debug.ShowErrorMessage(xe,"Urlaubsplanung Page","JahrButtonClickedHandler",this.Debug.Typen.Page)}}static \u0275fac=function(_t){return new(_t||Vt)(e.\u0275\u0275directiveInject(o.LoadingAnimationService),e.\u0275\u0275directiveInject(d.BasicsProvider),e.\u0275\u0275directiveInject(v.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(M.DatabasePoolService),e.\u0275\u0275directiveInject(p.DatabaseUrlaubService),e.\u0275\u0275directiveInject(E.DatabaseMitarbeiterService),e.\u0275\u0275directiveInject(S.ConstProvider),e.\u0275\u0275directiveInject(y.DatabaseStandorteService),e.\u0275\u0275directiveInject(f.AuswahlDialogService),e.\u0275\u0275directiveInject(C.ToolsProvider),e.\u0275\u0275directiveInject(_.DebugProvider))};static \u0275cmp=e.\u0275\u0275defineComponent({type:Vt,selectors:[["common-urlaub-planung-page"]],viewQuery:function(_t,Pt){if(1&_t&&(e.\u0275\u0275viewQuery(H,5),e.\u0275\u0275viewQuery(K,5)),2&_t){let jt;e.\u0275\u0275queryRefresh(jt=e.\u0275\u0275loadQuery())&&(Pt.PageHeader=jt.first),e.\u0275\u0275queryRefresh(jt=e.\u0275\u0275loadQuery())&&(Pt.PageFooter=jt.first)}},decls:12,vars:4,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"UrlaubMitarbeiterClicked","UrlaubMitarbeiterMeClicked","JahrButtonClicked"],["class","contentkeeperdivclass",4,"ngIf"],["PageFooter",""],["style","width: 100%;",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,"contentkeeperdivclass"],[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","AddHomeofficerunning","AddHalberUrlaubstagRunning","ExternUrlaubstagClickedEvent","AddUrlaubFinishedEvent","AddHomeofficeFinishedEvent","FeiertagCrossedEvent","FerientagCrossedEvent"],[3,"Jahr","ShowYear","Monatindex","AddUrlaubRunning","AddHomeofficerunning","AddHalberUrlaubstagRunning","ExternUrlaubstagClickedEvent","AddUrlaubFinishedEvent","AddHomeofficeFinishedEvent","FeiertagCrossedEvent","FerientagCrossedEvent"],[4,"ngIf"],[1,"legendekeeperdivclass"],[1,"legendebuttonclass",3,"click"],["color","weiss",3,"name"],["valign","top"],["class","paddingtable",4,"ngIf"],["valign","top","align","center",2,"width","50%","padding","4px"],["size","small",3,"disabled","click"],[1,"datumdivclass"],[1,"datumcanceldivclass",3,"click"],["name","close-outline","color","weiss",2,"font-size","36px"],[2,"width","100px","text-align","center"],[1,"docinnertable",2,"width","520px"],[2,"text-align","center"],[1,"docinnertablesmall"],[2,"font-weight","bold"],[2,"font-weight","bold","text-align","center"],[2,"font-weight","bold","width","200px"],["colspan","3",2,"font-weight","bold"],["colspan","2",2,"text-align","right","font-weight","bold"],["colspan","6"],["align","center","colspan","9"],[1,"nobordertable",2,"width","100%"],[2,"width","33%","font-size","80%"],["align","center",2,"width","33%"],[2,"width","33%"],[3,"Checked","CheckChanged",4,"ngIf"],["style","width: 20px; height: 20px; background: #307ac1; border-radius: 100%",4,"ngIf"],[1,"legendenewdivclass",3,"click"],[2,"width","450px",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"],[3,"Checked","CheckChanged"],[2,"width","20px","height","20px","background","#307ac1","border-radius","100%"],[1,"festlegenbuttondiv",2,"font-size","12px","font-weight","bold",3,"click"],["class","nobordersmalltable",4,"ngIf"],[1,"nobordersmalltable"],["colspan","8"],[1,"datumokdivclass",3,"click"],[2,"color","white","font-size","120%"],["name","checkmark-outline","color","weiss",2,"font-size","36px"],[1,"docinnertable"],[2,"font-weight","bold","text-align","left","width","660px"],[2,"font-weight","bold","text-align","center","width","50px"],["align","center","colspan","8"],[1,"legendedivclass"],["size","small","color","rot",3,"disabled","click",4,"ngIf"],["valign","top",2,"width","70px","font-weight","bold"],[1,"monatlableclass"],[2,"width","auto"],[2,"display","flex","flex-direction","row","flex-wrap","wrap","width","100%","min-height","30px"],["style","width: 114px;",4,"ngFor","ngForOf"],[2,"width","114px"],[1,"nobordertable"],["name","flag-outline","color","gelb",2,"font-size","18px"],["name","school-outline","color","gelb",2,"font-size","18px"],["colspan","3",2,"height","20px"],["colspan","2"],["name","flag-outline","color","weiss",2,"font-size","18px"],["name","school-outline","color","weiss",2,"font-size","18px"],[3,"Checked","Enabled","CheckChanged"],[1,"legendeexterndivclass"],["align","left",2,"width","50%"],["style","height: 40px; font-size: 110%; font-weight: bold; color: white; text-align: left",4,"ngIf"],[2,"width","50%"],["style","padding: 6px; text-align: center; border-radius: 4px; background: red; color: white; font-weight: bold; width: 400px;",4,"ngIf"],[3,"src"],[2,"height","40px","font-size","110%","font-weight","bold","color","white","text-align","left"],[2,"padding","6px","text-align","center","border-radius","4px","background","red","color","white","font-weight","bold","width","400px"],[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(_t,Pt){1&_t&&(e.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),e.\u0275\u0275listener("UrlaubMitarbeiterClicked",function(){return Pt.MitarbeiterWechselnClicked()})("UrlaubMitarbeiterMeClicked",function(){return Pt.MitarbeiterMeWechselnClickedHandler()})("JahrButtonClicked",function(){return Pt.JahrButtonClickedHandler()}),e.\u0275\u0275elementEnd()()(),e.\u0275\u0275elementStart(4,"ion-content"),e.\u0275\u0275template(5,Ct,35,28,"div",3),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementStart(6,"ion-footer")(7,"page-footer",null,4),e.\u0275\u0275template(9,vt,9,3,"table",5),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(10,pt,1,7,"auswahl-dialog",6)(11,an,1,6,"fi-mitarbeiter-auswahl",7)),2&_t&&(e.\u0275\u0275advance(5),e.\u0275\u0275property("ngIf",null!==Pt.Pool.Mitarbeiterdaten),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngIf",null!==Pt.Pool.Appeinstellungen),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Pt.ShowAuswahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",Pt.ShowMitarbeiterauswahl))},dependencies:[w.NgForOf,w.NgIf,D.IonButton,D.IonContent,D.IonFooter,D.IonHeader,D.IonIcon,L.PageHeaderComponent,N.PageHeaderMenuComponent,V.PageFooterComponent,G.UrlaubsplanungKalenderComponent,R.AuswahlDialogComponent,k.CheckboxClonComponent,A.FiMitarbeiterAuswahlComponent],styles:[".festlegenbuttondiv[_ngcontent-%COMP%]{background:#444;border-radius:4px;padding:4px;display:flex;justify-content:center;align-items:center;color:#fff;width:100%;min-height:30px;cursor:pointer}.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}.datumokdivclass[_ngcontent-%COMP%]{width:120px;height:60px;display:flex;justify-content:center;align-items:center;text-align:center;background:green;color:#fff;font-weight:700;border:1px solid #444444;border-radius:4px;cursor:pointer;padding:4px}.contentkeeperdivclass[_ngcontent-%COMP%]{position:relative;width:100%;height:100%}.contentdivclass[_ngcontent-%COMP%]{position:absolute;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-size:90%;font-weight:700;color:#fff;width:36px;height:24px;display:flex;justify-content:center;align-items:center}.legendenewdivclass[_ngcontent-%COMP%]{width:36px;height:24px;display:flex;flex-direction:row}.legendeinnerdivclass[_ngcontent-%COMP%]{color:#fff;font-size:90%;width:50%;height:24px;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}.monatlableclass[_ngcontent-%COMP%]{height:32px;display:flex;justify-content:flex-start;align-items:center}"]})}return Vt})()},19204:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.CommonUrlaubsuebersichtPageModule=void 0;const n=s(81316),c=s(91368),u=s(92512),l=s(44716),i=s(62364),e=s(70216),o=s(53076),d=s(6168),v=s(90520),M=s(6232),p=s(72284),E=s(10272),S=s(7388),y=s(27328),f=s(26668),C=n.__importStar(s(54496)),w=(n.__importStar(s(53076)),[{path:"",component:i.CommonUrlaubUebersichtPage}]);m.CommonUrlaubsuebersichtPageModule=(()=>{class L{static \u0275fac=function(G){return new(G||L)};static \u0275mod=C.\u0275\u0275defineNgModule({type:L});static \u0275inj=C.\u0275\u0275defineInjector({imports:[c.CommonModule,l.FormsModule,u.IonicModule,e.PageHeaderModule,o.RouterModule.forChild(w),d.PageHeaderMenuModule,v.PageFooterModule,M.UrlausplanungKalenderModule,p.ButtonValueModule,E.AuswahlDialogModule,S.CheckboxClonModule,y.FiMitarbeiterEditorModule,f.FiMitarbeiterAuswahlModule]})}return L})()},62364:(pe,m,s)=>{"use strict";var n=s(1196).default;Object.defineProperty(m,"__esModule",{value:!0}),m.CommonUrlaubUebersichtPage=void 0;const c=s(81316),u=c.__importStar(s(17964)),l=c.__importDefault(s(35908)),i=s(17964),e=c.__importStar(s(54496)),o=c.__importStar(s(33940)),d=c.__importStar(s(14652)),v=c.__importStar(s(7992)),M=c.__importStar(s(9544)),p=c.__importStar(s(29743)),E=c.__importStar(s(22848)),S=c.__importStar(s(15024)),y=c.__importStar(s(58864)),f=c.__importStar(s(48044)),C=c.__importStar(s(34388)),_=c.__importStar(s(91368)),w=c.__importStar(s(92512)),D=c.__importStar(s(90212)),L=c.__importStar(s(63792)),N=c.__importStar(s(29856)),V=c.__importStar(s(77440)),G=c.__importStar(s(56584)),R=c.__importStar(s(25856)),k=c.__importStar(s(80887)),A=["PageHeader"],H=["PageFooter"];function K(Se,je){if(1&Se){const re=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td",25)(1,"urlaubsplanung-kalender",26),e.\u0275\u0275listener("FeiertagCrossedEvent",function(rt){e.\u0275\u0275restoreView(re);const tt=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(tt.FeiertagCrossedEventHandler(rt))})("FerientagCrossedEvent",function(rt){e.\u0275\u0275restoreView(re);const tt=e.\u0275\u0275nextContext(3);return e.\u0275\u0275resetView(tt.FerientagCrossedEventHandler(rt))}),e.\u0275\u0275elementEnd()()}if(2&Se){const re=je.index,we=e.\u0275\u0275nextContext().index,rt=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("Jahr",rt.DB.CurrentJahr)("Monatindex",6*we+re)}}function ie(Se,je){if(1&Se&&(e.\u0275\u0275elementStart(0,"tr"),e.\u0275\u0275element(1,"td",23),e.\u0275\u0275template(2,K,2,2,"td",24),e.\u0275\u0275element(3,"td",23),e.\u0275\u0275elementEnd()),2&Se){const re=je.$implicit;e.\u0275\u0275advance(2),e.\u0275\u0275property("ngForOf",re)}}function J(Se,je){if(1&Se&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"table",21),e.\u0275\u0275template(2,ie,4,1,"tr",22),e.\u0275\u0275elementEnd(),e.\u0275\u0275elementContainerEnd()),2&Se){const re=e.\u0275\u0275nextContext();e.\u0275\u0275advance(2),e.\u0275\u0275property("ngForOf",re.Monateliste_Gesamtjahr)}}function be(Se,je){if(1&Se){const re=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td",25)(1,"urlaubsplanung-kalender",26),e.\u0275\u0275listener("FeiertagCrossedEvent",function(rt){e.\u0275\u0275restoreView(re);const tt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(tt.FeiertagCrossedEventHandler(rt))})("FerientagCrossedEvent",function(rt){e.\u0275\u0275restoreView(re);const tt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(tt.FerientagCrossedEventHandler(rt))}),e.\u0275\u0275elementEnd()()}if(2&Se){const re=je.index,we=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("Jahr",we.DB.CurrentJahr)("Monatindex",re)}}function ce(Se,je){if(1&Se&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"table",21)(2,"tr"),e.\u0275\u0275element(3,"td",23),e.\u0275\u0275template(4,be,2,2,"td",24),e.\u0275\u0275element(5,"td",23),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&Se){const re=e.\u0275\u0275nextContext();e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",re.Monateliste_HalbjahrEins)}}function Ge(Se,je){if(1&Se){const re=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"td",25)(1,"urlaubsplanung-kalender",26),e.\u0275\u0275listener("FeiertagCrossedEvent",function(rt){e.\u0275\u0275restoreView(re);const tt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(tt.FeiertagCrossedEventHandler(rt))})("FerientagCrossedEvent",function(rt){e.\u0275\u0275restoreView(re);const tt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(tt.FerientagCrossedEventHandler(rt))}),e.\u0275\u0275elementEnd()()}if(2&Se){const re=je.index,we=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(),e.\u0275\u0275property("Jahr",we.DB.CurrentJahr)("Monatindex",re+6)}}function ct(Se,je){if(1&Se&&(e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"table",21)(2,"tr"),e.\u0275\u0275element(3,"td",23),e.\u0275\u0275template(4,Ge,2,2,"td",24),e.\u0275\u0275element(5,"td",23),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementContainerEnd()),2&Se){const re=e.\u0275\u0275nextContext();e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",re.Monateliste_HalbjahrZwei)}}function Oe(Se,je){if(1&Se){const re=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementContainerStart(0),e.\u0275\u0275elementStart(1,"tr")(2,"td")(3,"checkbox-clon",27),e.\u0275\u0275listener("CheckChanged",function(rt){e.\u0275\u0275restoreView(re);const tt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(tt.AnsichtFeiertageCheckChanged(rt,"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(rt){e.\u0275\u0275restoreView(re);const tt=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(tt.AnsichtFerientageCheckChanged(rt,"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&Se){const re=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(3),e.\u0275\u0275property("Checked",re.DB.ShowFeiertage_DE),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",re.DB.Urlaubsfaben.Feiertage_DE),e.\u0275\u0275advance(6),e.\u0275\u0275property("Checked",re.DB.ShowFerientage_DE),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",re.DB.Urlaubsfaben.Ferien_DE)}}function ke(Se,je){if(1&Se){const re=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"checkbox-clon",33),e.\u0275\u0275listener("CheckChanged",function(rt){const tt=e.\u0275\u0275restoreView(re),wt=tt.$implicit,ye=tt.index,Te=e.\u0275\u0275nextContext(2);return e.\u0275\u0275resetView(Te.DisplayExternCheckChanged(rt,wt,ye))}),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&Se){const re=je.$implicit,we=e.\u0275\u0275nextContext(2);e.\u0275\u0275advance(2),e.\u0275\u0275property("Checked",we.DB.CheckDisplayExternenUrlaub(re.MitarbeiterIDExtern))("Enabled",re.Urlaubzeitspannen.length>0),e.\u0275\u0275advance(3),e.\u0275\u0275textInterpolate(re.NameKuerzel),e.\u0275\u0275advance(2),e.\u0275\u0275textInterpolate2("",re.NameExtern," ",re.Text,"")}}function Re(Se,je){if(1&Se){const re=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"table",17),e.\u0275\u0275template(1,Oe,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(rt){e.\u0275\u0275restoreView(re);const tt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(tt.AnsichtFeiertageCheckChanged(rt,"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(rt){e.\u0275\u0275restoreView(re);const tt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(tt.AnsichtFerientageCheckChanged(rt,"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\u0275elementStart(55,"tr"),e.\u0275\u0275element(56,"td"),e.\u0275\u0275elementStart(57,"td")(58,"div",28),e.\u0275\u0275text(59,"H"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(60,"td"),e.\u0275\u0275text(61,"geplantes Homeoffice"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275element(62,"tr"),e.\u0275\u0275elementStart(63,"tr"),e.\u0275\u0275element(64,"td"),e.\u0275\u0275elementStart(65,"td")(66,"div",28),e.\u0275\u0275text(67,"H"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(68,"td"),e.\u0275\u0275text(69,"Homeoffice Freigabe angefragt"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(70,"tr"),e.\u0275\u0275element(71,"td"),e.\u0275\u0275elementStart(72,"td")(73,"div",28),e.\u0275\u0275text(74,"H"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(75,"td"),e.\u0275\u0275text(76,"Genehmigter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(77,"tr"),e.\u0275\u0275element(78,"td"),e.\u0275\u0275elementStart(79,"td")(80,"div",28),e.\u0275\u0275text(81,"H"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(82,"td"),e.\u0275\u0275text(83,"Abgelehnter Urlaub"),e.\u0275\u0275elementEnd()(),e.\u0275\u0275template(84,ke,8,5,"tr",22),e.\u0275\u0275elementEnd()}if(2&Se){const re=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf","DE"===re.DB.Laendercode),e.\u0275\u0275advance(4),e.\u0275\u0275property("Checked",re.DB.ShowFeiertage_BG),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",re.DB.Urlaubsfaben.Feiertage_BG),e.\u0275\u0275advance(6),e.\u0275\u0275property("Checked",re.DB.ShowFerientage_BG),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("background",re.DB.Urlaubsfaben.Ferien_BG),e.\u0275\u0275advance(7),e.\u0275\u0275styleProp("background",re.DB.Urlaubsfaben.Geplant),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",re.DB.Urlaubsfaben.Vertreteranfrage),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",re.DB.Urlaubsfaben.Vertreterfreigabe),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",re.DB.Urlaubsfaben.Vertreterablehnung),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",re.DB.Urlaubsfaben.Genehmigt),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",re.DB.Urlaubsfaben.Abgelehnt),e.\u0275\u0275advance(6),e.\u0275\u0275styleProp("background",re.DB.Homeofficefarben.Geplant),e.\u0275\u0275advance(8),e.\u0275\u0275styleProp("background",re.DB.Homeofficefarben.Freigabeanfrage),e.\u0275\u0275advance(7),e.\u0275\u0275styleProp("background",re.DB.Homeofficefarben.Genehmigt),e.\u0275\u0275advance(7),e.\u0275\u0275styleProp("background",re.DB.Homeofficefarben.Abgelehnt),e.\u0275\u0275advance(4),e.\u0275\u0275property("ngForOf",re.DB.UrlaublisteExtern)}}function Qe(Se,je){if(1&Se&&(e.\u0275\u0275elementStart(0,"td"),e.\u0275\u0275element(1,"img",35),e.\u0275\u0275elementEnd()),2&Se){const re=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275property("src",re.Flagsource,e.\u0275\u0275sanitizeUrl)}}function $e(Se,je){if(1&Se&&(e.\u0275\u0275elementStart(0,"td",36),e.\u0275\u0275text(1),e.\u0275\u0275elementEnd()),2&Se){const re=e.\u0275\u0275nextContext();e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate(re.Message)}}function Be(Se,je){if(1&Se){const re=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"auswahl-dialog",37),e.\u0275\u0275listener("OkClickedEvent",function(rt){e.\u0275\u0275restoreView(re);const tt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(tt.AuswahlOkButtonClicked(rt))})("CancelClickedEvent",function(){e.\u0275\u0275restoreView(re);const rt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(rt.ShowAuswahl=!1)}),e.\u0275\u0275elementEnd()}if(2&Se){const re=e.\u0275\u0275nextContext();e.\u0275\u0275property("Auswahlliste",re.Auswahlliste)("Auswahlindex",re.Auswahlindex)("ZIndex",5e3)("Dialogbreite",400)("PositionY",100)("Titel",re.Auswahltitel)("Iconname","")}}function _e(Se,je){if(1&Se){const re=e.\u0275\u0275getCurrentView();e.\u0275\u0275elementStart(0,"fi-mitarbeiter-auswahl",38),e.\u0275\u0275listener("CancelClickedEvent",function(){e.\u0275\u0275restoreView(re);const rt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(rt.ShowMitarbeiterauswahl=!1)})("OkClickedEvent",function(rt){e.\u0275\u0275restoreView(re);const tt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(tt.MitarbeiterauswahlOkButtonClicked(rt))})("StandortfilterClickedEvent",function(){e.\u0275\u0275restoreView(re);const rt=e.\u0275\u0275nextContext();return e.\u0275\u0275resetView(rt.MitarebiterStandortfilterClickedHandler())}),e.\u0275\u0275elementEnd()}if(2&Se){const re=e.\u0275\u0275nextContext();e.\u0275\u0275property("Titel",re.MitarbeiterauswahlTitel)("Dialogbreite",600)("ZIndex",4e3)("Multiselect",!1)("OnlyProjektmitarbeiter",!1)("AuswahlIDliste",re.AuswahlIDliste)}}m.CommonUrlaubUebersichtPage=(()=>{class Se{Loadinganimation;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(re,we,rt,tt,wt,ye,Te,ht,Ft,nn){this.Loadinganimation=re,this.Basics=we,this.Pool=rt,this.DB=tt,this.Const=wt,this.DBMitarbeiter=ye,this.DBMitarbeitersettings=Te,this.DBStandort=ht,this.Auswahlservice=Ft,this.Debug=nn;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(Yt){this.Debug.ShowErrorMessage(Yt.message,"Urlaubsuebersicht Page","constructor",this.Debug.Typen.Page)}}MitarbeiterWechselnClicked(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln,this.ShowMitarbeiterauswahl=!0,this.AuswahlIDliste=[]}catch(re){this.Debug.ShowErrorMessage(re,"Urlaubsuebersicht Page","MitarbeiterWechselnClicked",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.DataSubscription.unsubscribe(),this.DataSubscription=null}catch(re){this.Debug.ShowErrorMessage(re,"Urlaubsuebersicht Page","OnDestroy",this.Debug.Typen.Page)}}ionViewDidEnter(){try{this.Basics.MeassureInnercontent(this.PageHeader,this.PageFooter),this.Basics.MeassureInnercontent(this.PageHeader,this.PageFooter),this.Legendebreite=400,this.Legendehoehe=this.Basics.InnerContenthoehe}catch(re){this.Debug.ShowErrorMessage(re.message,"Urlaubsuebersicht Page","ionViewDidEnter",this.Debug.Typen.Page)}}ngOnInit(){try{this.Ansichtvariante=(0,l.default)().locale("de").month()+1<=6?this.Ansichtenvarinaten.HalbjahrEins:this.Ansichtenvarinaten.HalbjahrZwei,this.DataSubscription=this.Pool.LoadingAllDataFinished.subscribe(()=>{this.PrepareData()}),this.PrepareData()}catch(re){this.Debug.ShowErrorMessage(re,"Urlaubsuebersicht Page","OnInit",this.Debug.Typen.Page)}}MitarbeiterauswahlOkButtonClicked(re){try{let we;this.Auswahldialogorigin===this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Mitarbeiter_Wechseln&&(we=u.find(this.Pool.Mitarbeiterliste,{_id:re[0]}),this.DB.CurrentMitarbeiter=we,this.PrepareData()),this.ShowMitarbeiterauswahl=!1}catch(we){this.Debug.ShowErrorMessage(we.message,"Urlaubsplanung Page","MitarbeiterauswahlOkButtonClicked",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(re){var we=this;return n(function*(){try{switch(we.Auswahldialogorigin){case we.Auswahlservice.Auswahloriginvarianten.Urlaubsliste_Bundesland:we.DB.Bundeslandkuerzel=re;let rt=we.DB.Bundeslandkuerzel.substring(0,2);we.DB.ReadFeiertage(rt);break;case we.Auswahlservice.Auswahloriginvarianten.UrlaubUebersicht_Standort_Filter:we.DBStandort.CurrentStandortfilter=(0,i.cloneDeep)(re),we.Pool.Mitarbeitersettings.StandortFilter=null!==re?re._id:we.Const.NONE,we.DBMitarbeitersettings.UpdateMitarbeitersettings(we.Pool.Mitarbeitersettings,null).then(()=>{we.ShowAuswahl=!1,we.DBStandort.StandortfilterChanged.emit()});break;case we.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Jahr_Aendern:we.DB.CurrentJahr=re,yield we.Loadinganimation.ShowLoadingAnimation("Hinweis","Daten werden geladen"),yield we.DB.ReadFeiertage("DE"),yield we.DB.ReadFeiertage("BG"),yield we.DB.ReadFerien("DE"),yield we.DB.ReadFerien("BG"),yield we.Loadinganimation.HideLoadingAnimation(!0)}we.ShowAuswahl=!1,we.PrepareData()}catch(rt){we.Debug.ShowErrorMessage(rt.message,"Urlaubsuebersicht Page","AuswahlOkButtonClicked",we.Debug.Typen.Page)}})()}PrepareData(){var re=this;return n(function*(){try{let we=0;re.DB.Init(),re.DB.CheckSetup(),re.DB.SetPlanungsmonate(),re.DB.CountAnfragenanzahlen(),re.BundeslandAuswahlliste=[];for(let rt of re.DB.Regionenliste)re.BundeslandAuswahlliste.push({Index:we,FirstColumn:rt.Name,SecoundColumn:rt.isoCode,Data:rt.isoCode}),we++;re.DB.Bundesland=u.find(re.BundeslandAuswahlliste,{Data:re.DB.Bundeslandkuerzel}).FirstColumn}catch(we){re.Debug.ShowErrorMessage(we,"Urlaubsuebersicht Page","PrepareData",re.Debug.Typen.Page)}})()}FeiertagCrossedEventHandler(re){try{this.Message=re.Name,""!==re.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===re.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(we){this.Debug.ShowErrorMessage(we,"Urlaubsuebersicht Page","FeiertagCrossedEventHandler",this.Debug.Typen.Page)}}FerientagCrossedEventHandler(re){try{this.Message=re.Name,""!==re.Laendercode?(this.Flagsource="assets/images/",this.Flagsource+="DE"===re.Laendercode?"de.png":"bg.png"):this.Flagsource=""}catch(we){this.Debug.ShowErrorMessage(we,"Urlaubsuebersicht Page","FerientagCrossedEventHandler",this.Debug.Typen.Page)}}GetDatum(re){return(0,l.default)(re).format("DD.MM.YYYY")}MitarebiterStandortfilterClickedHandler(){try{this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.UrlaubUebersicht_Standort_Filter;let re=0;this.ShowAuswahl=!0,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:re,FirstColumn:"kein Filter",SecoundColumn:"",Data:null}),re++;for(let we of this.Pool.Standorteliste)this.Auswahlliste.push({Index:re,FirstColumn:we.Kuerzel,SecoundColumn:we.Standort,Data:we}),re++;this.Auswahlindex=null!==this.DBStandort.CurrentStandortfilter?u.findIndex(this.Pool.Standorteliste,{_id:this.DBStandort.CurrentStandortfilter._id}):0}catch(re){this.Debug.ShowErrorMessage(re.message,"Urlaubsuebersicht Page","MitarebiterStandortfilterClickedHandler",this.Debug.Typen.Page)}}DisplayExternCheckChanged(re,we,rt){try{let tt=u.find(this.DB.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:we.MitarbeiterIDExtern});u.isUndefined(tt)||(tt.Display=re.status);let wt=u.findIndex(this.DB.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.DB.CurrentJahr});this.DB.CurrentMitarbeiter.Urlaubsliste[wt]=this.DB.CurrentUrlaub,this.DBMitarbeiter.UpdateMitarbeiterUrlaub(this.DB.CurrentMitarbeiter).then(()=>{this.DB.ExterneUrlaubeChanged.emit()})}catch(tt){this.Debug.ShowErrorMessage(tt,"Urlaubsuebersicht Page","DisplayExternCheckChanged",this.Debug.Typen.Page)}}AnsichtFeiertageCheckChanged(re,we){try{switch(we){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_DE=re.status,this.DB.ShowFeiertage_DE=re.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFeiertage_BG=re.status,this.DB.ShowFeiertage_BG=re.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(rt){this.Debug.ShowErrorMessage(rt,"Urlaubsuebersicht Page","AnsichtFeiertageCheckChanged",this.Debug.Typen.Page)}}AnsichtFerientageCheckChanged(re,we){try{switch(we){case"DE":this.Pool.Mitarbeitersettings.UrlaubShowFerien_DE=re.status,this.DB.ShowFerientage_DE=re.status;break;case"BG":this.Pool.Mitarbeitersettings.UrlaubShowFerien_BG=re.status,this.DB.ShowFerientage_BG=re.status}this.DBMitarbeitersettings.SaveMitarbeitersettings().then(()=>{})}catch(rt){this.Debug.ShowErrorMessage(rt,"Urlaubsuebersicht Page","AnsichtFerientageCheckChanged",this.Debug.Typen.Page)}}JahrButtonClicked(){try{this.Ansichtvariante=this.Ansichtenvarinaten.Gesamtjahr}catch(re){this.Debug.ShowErrorMessage(re,"Urlaubsuebersicht Page","JahrButtonClicked",this.Debug.Typen.Page)}}HalbjahrEinsButtonClicked(){try{this.Ansichtvariante=this.Ansichtenvarinaten.HalbjahrEins}catch(re){this.Debug.ShowErrorMessage(re,"Urlaubsuebersicht Page","HalbjahrEinsButtonClicked",this.Debug.Typen.Page)}}HalbjahrZweiButtonClicked(){try{this.Ansichtvariante=this.Ansichtenvarinaten.HalbjahrZwei}catch(re){this.Debug.ShowErrorMessage(re,"Urlaubsuebersicht Page","HalbjahrZweiButtonClicked",this.Debug.Typen.Page)}}UrlaubMitarbeiterMeClickedHandler(){try{this.DB.CurrentMitarbeiter=this.Pool.Mitarbeiterdaten,this.PrepareData()}catch(re){this.Debug.ShowErrorMessage(re,"Urlaubsuebersicht Page","UrlaubMitarbeiterMeClickedHandler",this.Debug.Typen.Page)}}JahrButtonClickedHandler(){try{let re=0,rt=this.DB.Jahr+1;this.Auswahltitel="Jahr \xe4ndern",this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Urlaubsplanung_Jahr_Aendern,this.Auswahlliste=[];for(let tt=this.DB.Startjahr;tt<=rt;tt++)this.Auswahlliste.push({Index:re++,FirstColumn:tt.toString(),SecoundColumn:"",Data:tt});this.ShowAuswahl=!0,this.Auswahlindex=u.findIndex(this.Auswahlliste,{Data:this.DB.CurrentJahr})}catch(re){this.Debug.ShowErrorMessage(re,"Urlaubsuebersicht Page","JahrButtonClickedHandler",this.Debug.Typen.Page)}}static \u0275fac=function(we){return new(we||Se)(e.\u0275\u0275directiveInject(o.LoadingAnimationService),e.\u0275\u0275directiveInject(d.BasicsProvider),e.\u0275\u0275directiveInject(v.DatabasePoolService),e.\u0275\u0275directiveInject(M.DatabaseUrlaubService),e.\u0275\u0275directiveInject(p.ConstProvider),e.\u0275\u0275directiveInject(E.DatabaseMitarbeiterService),e.\u0275\u0275directiveInject(S.DatabaseMitarbeitersettingsService),e.\u0275\u0275directiveInject(y.DatabaseStandorteService),e.\u0275\u0275directiveInject(f.AuswahlDialogService),e.\u0275\u0275directiveInject(C.DebugProvider))};static \u0275cmp=e.\u0275\u0275defineComponent({type:Se,selectors:[["common-urlaub-uebersicht-page"]],viewQuery:function(we,rt){if(1&we&&(e.\u0275\u0275viewQuery(A,5),e.\u0275\u0275viewQuery(H,5)),2&we){let tt;e.\u0275\u0275queryRefresh(tt=e.\u0275\u0275loadQuery())&&(rt.PageHeader=tt.first),e.\u0275\u0275queryRefresh(tt=e.\u0275\u0275loadQuery())&&(rt.PageFooter=tt.first)}},decls:45,vars:26,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"UrlaubMitarbeiterClicked","UrlaubMitarbeiterMeClicked","JahrButtonClicked"],[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(we,rt){1&we&&(e.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),e.\u0275\u0275listener("UrlaubMitarbeiterClicked",function(){return rt.MitarbeiterWechselnClicked()})("UrlaubMitarbeiterMeClicked",function(){return rt.UrlaubMitarbeiterMeClickedHandler()})("JahrButtonClicked",function(){return rt.JahrButtonClickedHandler()}),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 rt.JahrButtonClicked()}),e.\u0275\u0275text(15),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(16,"td")(17,"div",8),e.\u0275\u0275listener("click",function(){return rt.HalbjahrEinsButtonClicked()}),e.\u0275\u0275text(18),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(19,"td")(20,"div",8),e.\u0275\u0275listener("click",function(){return rt.HalbjahrZweiButtonClicked()}),e.\u0275\u0275text(21),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275template(22,J,3,1,"ng-container",9)(23,ce,6,1,"ng-container",9)(24,ct,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 rt.LegendeVisible=!rt.LegendeVisible}),e.\u0275\u0275element(30,"ion-icon",12),e.\u0275\u0275elementEnd()(),e.\u0275\u0275elementStart(31,"td",13),e.\u0275\u0275template(32,Re,85,28,"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,Qe,2,1,"td",9)(42,$e,2,1,"td",18),e.\u0275\u0275elementEnd()()()()()()(),e.\u0275\u0275template(43,Be,1,7,"auswahl-dialog",19)(44,_e,1,6,"fi-mitarbeiter-auswahl",20)),2&we&&(e.\u0275\u0275advance(14),e.\u0275\u0275styleProp("color",rt.Ansichtvariante===rt.Ansichtenvarinaten.Gesamtjahr?"orange":"black"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1("Gesamtjahr ",rt.DB.CurrentJahr,""),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("color",rt.Ansichtvariante===rt.Ansichtenvarinaten.HalbjahrEins?"orange":"black"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1("1. Halbjahr ",rt.DB.CurrentJahr,""),e.\u0275\u0275advance(2),e.\u0275\u0275styleProp("color",rt.Ansichtvariante===rt.Ansichtenvarinaten.HalbjahrZwei?"orange":"black"),e.\u0275\u0275advance(),e.\u0275\u0275textInterpolate1("2. Halbjahr ",rt.DB.CurrentJahr,""),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",rt.Ansichtvariante===rt.Ansichtenvarinaten.Gesamtjahr),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",rt.Ansichtvariante===rt.Ansichtenvarinaten.HalbjahrEins),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",rt.Ansichtvariante===rt.Ansichtenvarinaten.HalbjahrZwei),e.\u0275\u0275advance(),e.\u0275\u0275styleProp("height",rt.Legendehoehe,"px")("width",rt.Legendebreite,"px")("right",rt.LegendeVisible?0:-(rt.Legendebreite-14),"px"),e.\u0275\u0275advance(4),e.\u0275\u0275styleProp("height",rt.Legendehoehe,"px"),e.\u0275\u0275advance(),e.\u0275\u0275property("name",rt.LegendeVisible?"caret-forward-outline":"caret-back-outline"),e.\u0275\u0275advance(2),e.\u0275\u0275property("ngIf",null!==rt.Pool.Mitarbeitersettings),e.\u0275\u0275advance(9),e.\u0275\u0275property("ngIf",""!==rt.Flagsource),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",""!==rt.Message),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",rt.ShowAuswahl),e.\u0275\u0275advance(),e.\u0275\u0275property("ngIf",rt.ShowMitarbeiterauswahl))},dependencies:[_.NgForOf,_.NgIf,w.IonContent,w.IonFooter,w.IonHeader,w.IonIcon,D.PageHeaderComponent,L.PageHeaderMenuComponent,N.PageFooterComponent,V.UrlaubsplanungKalenderComponent,G.AuswahlDialogComponent,R.CheckboxClonComponent,k.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 Se})()},87848:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.CommonWartungPageModule=void 0;const n=s(81316),c=s(91368),u=s(92512),l=s(44716),i=s(500),e=s(70216),o=s(53076),d=s(6168),v=s(90520),M=s(7388),p=s(72284),E=s(10272),S=s(84104),y=n.__importStar(s(54496)),C=(n.__importStar(s(53076)),n.__importStar(s(92512))),_=n.__importStar(s(90212)),w=n.__importStar(s(29856)),D=[{path:"",component:i.CommonWartungPage}];m.CommonWartungPageModule=(()=>{class N{static \u0275fac=function(R){return new(R||N)};static \u0275mod=y.\u0275\u0275defineNgModule({type:N});static \u0275inj=y.\u0275\u0275defineInjector({imports:[c.CommonModule,l.FormsModule,u.IonicModule,e.PageHeaderModule,o.RouterModule.forChild(D),d.PageHeaderMenuModule,v.PageFooterModule,M.CheckboxClonModule,p.ButtonValueModule,E.AuswahlDialogModule,S.SafePipeModule]})}return N})(),y.\u0275\u0275setComponentScope(i.CommonWartungPage,function(){return[C.IonContent,C.IonFooter,C.IonHeader,C.IonIcon,C.IonText,_.PageHeaderComponent,w.PageFooterComponent]},[])},500:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.CommonWartungPage=void 0;const n=s(81316),c=n.__importStar(s(54496)),u=n.__importStar(s(7992)),l=n.__importStar(s(29743)),i=n.__importStar(s(14652)),e=n.__importStar(s(34388));m.CommonWartungPage=(()=>{class d{Pool;Const;Basics;Debug;constructor(M,p,E,S){this.Pool=M,this.Const=p,this.Basics=E,this.Debug=S}ngOnDestroy(){}ngOnInit(){}static \u0275fac=function(p){return new(p||d)(c.\u0275\u0275directiveInject(u.DatabasePoolService),c.\u0275\u0275directiveInject(l.ConstProvider),c.\u0275\u0275directiveInject(i.BasicsProvider),c.\u0275\u0275directiveInject(e.DebugProvider))};static \u0275cmp=c.\u0275\u0275defineComponent({type:d,selectors:[["common-wartung-page"]],decls:27,vars:4,consts:[[1,"ion-no-border"],["PageHeader",""],[2,"width","100%"],[2,"height","120px","font-size","200%","text-align","center","font-weight","bold","color","#307ac1"],["align","center"],[1,"buttonbigclass"],["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"],["PageFooter",""]],template:function(p,E){1&p&&(c.\u0275\u0275elementStart(0,"ion-header",0),c.\u0275\u0275element(1,"page-header",null,1),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(3,"ion-content")(4,"table",2)(5,"tr"),c.\u0275\u0275element(6,"td",3),c.\u0275\u0275elementEnd(),c.\u0275\u0275elementStart(7,"tr")(8,"td",4)(9,"div",5)(10,"table",2)(11,"tr")(12,"td",4),c.\u0275\u0275element(13,"ion-icon",6),c.\u0275\u0275elementEnd()(),c.\u0275\u0275elementStart(14,"tr")(15,"td",7)(16,"ion-text",8),c.\u0275\u0275text(17,"Urlaub - Homeoffice - Planer"),c.\u0275\u0275elementEnd()()(),c.\u0275\u0275elementStart(18,"tr")(19,"td",9),c.\u0275\u0275text(20),c.\u0275\u0275elementEnd()()()()()(),c.\u0275\u0275elementStart(21,"tr")(22,"td",3),c.\u0275\u0275text(23,"Die App steht ab Dienstag, den 21.05.24 zu eurer Verf\xfcgung."),c.\u0275\u0275elementEnd()()()(),c.\u0275\u0275elementStart(24,"ion-footer"),c.\u0275\u0275element(25,"page-footer",null,10),c.\u0275\u0275elementEnd()),2&p&&(c.\u0275\u0275advance(13),c.\u0275\u0275property("color",E.Basics.Ionicfarben.BAEBlau),c.\u0275\u0275advance(3),c.\u0275\u0275property("color",E.Basics.Ionicfarben.Grau),c.\u0275\u0275advance(4),c.\u0275\u0275textInterpolate2(" Version: ",E.Basics.AppVersionName," / ",E.Basics.AppVersionDatum," "))},styles:[".buttonbigclass[_ngcontent-%COMP%]{display:flex;justify-content:center;align-items:center;border:2px solid gray;border-radius:10px;width:360px;height:220px;cursor:pointer;background:#fff}"]})}return d})()},99988:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.FIMitarbeiterlistePageModule=void 0;const n=s(81316),c=s(91368),u=s(44716),l=s(53076),i=s(92512),e=s(54780),o=s(70216),d=s(6512),v=s(87143),M=s(90520),p=s(6168),E=s(27328),S=s(10272),y=s(7388),f=n.__importStar(s(54496)),_=(n.__importStar(s(53076)),[{path:"",component:e.FiMitarbeiterlistePage}]);m.FIMitarbeiterlistePageModule=(()=>{class D{static \u0275fac=function(V){return new(V||D)};static \u0275mod=f.\u0275\u0275defineNgModule({type:D});static \u0275inj=f.\u0275\u0275defineInjector({imports:[c.CommonModule,u.FormsModule,u.ReactiveFormsModule,i.IonicModule,l.RouterModule.forChild(_),o.PageHeaderModule,M.PageFooterModule,d.AbstandElementFixedModule,v.AlphabetModule,p.PageHeaderMenuModule,E.FiMitarbeiterEditorModule,S.AuswahlDialogModule,y.CheckboxClonModule]})}return D})()},54780:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.FiMitarbeiterlistePage=void 0;const n=s(81316),c=n.__importStar(s(17964)),u=n.__importStar(s(54496)),l=n.__importStar(s(14652)),i=n.__importStar(s(34388)),e=n.__importStar(s(19668)),o=n.__importStar(s(29743)),d=n.__importStar(s(34636)),v=n.__importStar(s(22848)),M=n.__importStar(s(58864)),p=n.__importStar(s(48044)),E=n.__importStar(s(7992)),S=n.__importStar(s(91368)),y=n.__importStar(s(92512)),f=n.__importStar(s(90212)),C=n.__importStar(s(29856)),_=n.__importStar(s(99031)),w=n.__importStar(s(63792)),D=n.__importStar(s(82384)),L=n.__importStar(s(56584)),N=n.__importStar(s(25856)),V=["Alphabet"],G=["PageHeader"],R=["PageFooter"];function k(Be,_e){if(1&Be&&(u.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col",23)(2,"ion-text",40)(3,"b"),u.\u0275\u0275text(4),u.\u0275\u0275elementEnd()()()()),2&Be){const Me=u.\u0275\u0275nextContext().index,Se=u.\u0275\u0275nextContext(2);u.\u0275\u0275advance(4),u.\u0275\u0275textInterpolate(Se.Mitarbeiterbuchstabenliste[Me])}}function A(Be,_e){1&Be&&(u.\u0275\u0275elementStart(0,"td"),u.\u0275\u0275element(1,"img",43),u.\u0275\u0275elementEnd())}function H(Be,_e){if(1&Be&&(u.\u0275\u0275elementStart(0,"tr")(1,"td"),u.\u0275\u0275element(2,"div",42),u.\u0275\u0275elementEnd(),u.\u0275\u0275template(3,A,2,0,"td",11),u.\u0275\u0275elementStart(4,"td"),u.\u0275\u0275text(5),u.\u0275\u0275elementEnd()()),2&Be){const Me=u.\u0275\u0275nextContext(2).$implicit,Se=u.\u0275\u0275nextContext(2);u.\u0275\u0275advance(2),u.\u0275\u0275styleProp("background",Me.Archiviert?"red":"green"),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",Me.Email===Se.Pool.Mitarbeiterdaten.Email&&""===Me.Kuerzel||""===Me.StandortID),u.\u0275\u0275advance(2),u.\u0275\u0275textInterpolate3(" ",Me.Name," ",Me.Vorname," / ",Me.Kuerzel," ")}}function K(Be,_e){1&Be&&(u.\u0275\u0275elementStart(0,"td"),u.\u0275\u0275element(1,"img",43),u.\u0275\u0275elementEnd())}function ie(Be,_e){if(1&Be&&(u.\u0275\u0275elementStart(0,"tr")(1,"td"),u.\u0275\u0275element(2,"div",42),u.\u0275\u0275elementEnd(),u.\u0275\u0275template(3,K,2,0,"td",11),u.\u0275\u0275elementStart(4,"td")(5,"span"),u.\u0275\u0275text(6),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(7,"span",44),u.\u0275\u0275text(8),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(9,"span"),u.\u0275\u0275text(10),u.\u0275\u0275elementEnd(),u.\u0275\u0275text(11),u.\u0275\u0275elementEnd()()),2&Be){const Me=u.\u0275\u0275nextContext(2).$implicit,Se=u.\u0275\u0275nextContext(2);u.\u0275\u0275advance(2),u.\u0275\u0275styleProp("background",Me.Archiviert?"red":"green"),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",Me.Email===Se.Pool.Mitarbeiterdaten.Email&&""===Me.Kuerzel||""===Me.StandortID),u.\u0275\u0275advance(3),u.\u0275\u0275textInterpolate(Me.Text_A),u.\u0275\u0275advance(2),u.\u0275\u0275textInterpolate(Me.Text_B),u.\u0275\u0275advance(2),u.\u0275\u0275textInterpolate(Me.Text_C),u.\u0275\u0275advance(),u.\u0275\u0275textInterpolate1(" / ",Me.Kuerzel," ")}}function J(Be,_e){if(1&Be&&(u.\u0275\u0275elementStart(0,"table",41),u.\u0275\u0275template(1,H,6,6,"tr",11)(2,ie,12,7,"tr",11),u.\u0275\u0275elementEnd()),2&Be){const Me=u.\u0275\u0275nextContext().$implicit;u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",!Me.Filtered),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",Me.Filtered)}}function be(Be,_e){1&Be&&(u.\u0275\u0275elementStart(0,"table",45)(1,"tr")(2,"td"),u.\u0275\u0275element(3,"ion-icon",46),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(4,"td",47),u.\u0275\u0275text(5,"Administrator"),u.\u0275\u0275elementEnd()()())}function ce(Be,_e){if(1&Be&&(u.\u0275\u0275elementStart(0,"table",45)(1,"tr")(2,"td"),u.\u0275\u0275element(3,"ion-icon",48),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(4,"td",47),u.\u0275\u0275text(5,"Urlaubsfreigaben"),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(6,"tr"),u.\u0275\u0275element(7,"td"),u.\u0275\u0275elementStart(8,"td",49),u.\u0275\u0275text(9),u.\u0275\u0275elementEnd()()()),2&Be){const Me=u.\u0275\u0275nextContext().$implicit,Se=u.\u0275\u0275nextContext(2);u.\u0275\u0275advance(9),u.\u0275\u0275textInterpolate(Se.GetStandortliste(Me.Urlaubsfreigabeorte))}}function Ge(Be,_e){if(1&Be&&(u.\u0275\u0275elementStart(0,"table",45)(1,"tr")(2,"td"),u.\u0275\u0275element(3,"ion-icon",50),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(4,"td",47),u.\u0275\u0275text(5,"Homeofficefreigaben"),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(6,"tr"),u.\u0275\u0275element(7,"td"),u.\u0275\u0275elementStart(8,"td",49),u.\u0275\u0275text(9),u.\u0275\u0275elementEnd()()()),2&Be){const Me=u.\u0275\u0275nextContext().$implicit,Se=u.\u0275\u0275nextContext(2);u.\u0275\u0275advance(9),u.\u0275\u0275textInterpolate(Se.GetStandortliste(Me.Homeofficefreigabestandorte))}}function ct(Be,_e){if(1&Be){const Me=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"ion-item",21),u.\u0275\u0275listener("click",function(){const re=u.\u0275\u0275restoreView(Me).$implicit,we=u.\u0275\u0275nextContext(2);return u.\u0275\u0275resetView(we.MitrabeiterButtonClicked(re))}),u.\u0275\u0275elementStart(1,"ion-grid",22),u.\u0275\u0275template(2,k,5,1,"ion-row",11),u.\u0275\u0275elementStart(3,"ion-row")(4,"ion-col",23)(5,"div",24)(6,"table",14)(7,"tr")(8,"td",25)(9,"table",26)(10,"tr")(11,"td"),u.\u0275\u0275template(12,J,3,2,"table",27),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(13,"tr")(14,"td")(15,"table",28)(16,"tr"),u.\u0275\u0275element(17,"td",29),u.\u0275\u0275elementStart(18,"td",30),u.\u0275\u0275text(19,"Standort:"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(20,"td",31),u.\u0275\u0275text(21),u.\u0275\u0275elementEnd(),u.\u0275\u0275element(22,"td",32),u.\u0275\u0275elementStart(23,"td",33),u.\u0275\u0275text(24,"Email:"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(25,"td",8),u.\u0275\u0275text(26),u.\u0275\u0275elementEnd(),u.\u0275\u0275element(27,"td",32),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(28,"tr"),u.\u0275\u0275element(29,"td",29),u.\u0275\u0275elementStart(30,"td",30),u.\u0275\u0275text(31,"Position:"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(32,"td",31),u.\u0275\u0275text(33),u.\u0275\u0275elementEnd(),u.\u0275\u0275element(34,"td",32)(35,"td",34),u.\u0275\u0275elementEnd()()()()()(),u.\u0275\u0275elementStart(36,"td",35)(37,"table",36)(38,"tr")(39,"td",37),u.\u0275\u0275template(40,be,6,0,"table",38),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(41,"td",37),u.\u0275\u0275template(42,ce,10,1,"table",38),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(43,"td",37),u.\u0275\u0275template(44,Ge,10,1,"table",38),u.\u0275\u0275elementEnd(),u.\u0275\u0275element(45,"td",39),u.\u0275\u0275elementEnd()()()()()()()()()()}if(2&Be){const Me=_e.$implicit,Se=_e.index,je=u.\u0275\u0275nextContext(2);u.\u0275\u0275advance(2),u.\u0275\u0275property("ngIf",""!==je.Mitarbeiterbuchstabenliste[Se]),u.\u0275\u0275advance(10),u.\u0275\u0275property("ngIf",null!==Me&&null!==je.Pool.Mitarbeiterdaten),u.\u0275\u0275advance(9),u.\u0275\u0275textInterpolate(je.DBStandort.GetStandort(Me.StandortID)),u.\u0275\u0275advance(5),u.\u0275\u0275textInterpolate(Me.Email),u.\u0275\u0275advance(7),u.\u0275\u0275textInterpolate(je.DB.GetPositionsbezeichnung(Me.PositionID)),u.\u0275\u0275advance(7),u.\u0275\u0275property("ngIf",Me.Planeradministrator),u.\u0275\u0275advance(2),u.\u0275\u0275property("ngIf",Me.Urlaubsfreigaben),u.\u0275\u0275advance(2),u.\u0275\u0275property("ngIf",Me.Homeofficefreigaben)}}function Oe(Be,_e){if(1&Be&&(u.\u0275\u0275elementStart(0,"ion-list"),u.\u0275\u0275template(1,ct,46,8,"ion-item",20),u.\u0275\u0275elementEnd()),2&Be){const Me=u.\u0275\u0275nextContext();u.\u0275\u0275advance(),u.\u0275\u0275property("ngForOf",Me.Mitarbeiterliste)}}function ke(Be,_e){1&Be&&(u.\u0275\u0275elementStart(0,"table",51)(1,"tr")(2,"td",52),u.\u0275\u0275text(3," keine Mitarbeiter vorhanden "),u.\u0275\u0275elementEnd()()())}function Re(Be,_e){if(1&Be){const Me=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"fi-mitarbeiter-editor",53),u.\u0275\u0275listener("StandortClickedEvent",function(){u.\u0275\u0275restoreView(Me);const je=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(je.StandortClickedHandler())})("CancelClickedEvent",function(){u.\u0275\u0275restoreView(Me);const je=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(je.ShowEditor=!1)})("OkClickedEvent",function(){u.\u0275\u0275restoreView(Me);const je=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(je.ShowEditor=!1)})("ResturlaubEvent",function(){u.\u0275\u0275restoreView(Me);const je=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(je.ResturlaubClicked())})("AnredeClickedEvent",function(){u.\u0275\u0275restoreView(Me);const je=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(je.AnredeClickedEventHandler())})("PositionClickedEvent",function(){u.\u0275\u0275restoreView(Me);const je=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(je.PositionClickedEventHandler())})("UrlaubClickedEvent",function(){u.\u0275\u0275restoreView(Me);const je=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(je.UrlaubClickedEventHandler())}),u.\u0275\u0275elementEnd()}if(2&Be){const Me=u.\u0275\u0275nextContext();u.\u0275\u0275property("Dialogbreite",1280)("Titel",Me.GetDialogTitel())}}function Qe(Be,_e){if(1&Be){const Me=u.\u0275\u0275getCurrentView();u.\u0275\u0275elementStart(0,"auswahl-dialog",54),u.\u0275\u0275listener("OkClickedEvent",function(je){u.\u0275\u0275restoreView(Me);const re=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(re.AuswahlOkButtonClicked(je))})("CancelClickedEvent",function(){u.\u0275\u0275restoreView(Me);const je=u.\u0275\u0275nextContext();return u.\u0275\u0275resetView(je.ShowAuswahl=!1)}),u.\u0275\u0275elementEnd()}if(2&Be){const Me=u.\u0275\u0275nextContext();u.\u0275\u0275property("Auswahlliste",Me.Auswahlliste)("Auswahlindex",Me.Auswahlindex)("Dialogbreite",300)("PositionY",100)("Titel",Me.Auswahltitel)("Iconname",Me.GetDialogTitelicon())}}m.FiMitarbeiterlistePage=(()=>{class Be{Basics;Debug;Tools;Const;Security;DB;DBStandort;Auswahlservice;Pool;Alphabetcomponent;PageHeader;PageFooter;ListeSubscription;Mitarbeiterliste;Mitarbeiteralphabet;Alphapetbreite;Mitarbeiteralphabetauswahl;HideAuswahl;Auswahlliste;Auswahlindex;Auswahltitel;Lastletter;Mitarbeiterbuchstabenliste;Standardalphabet;Zusatzbuttonliste;Mitarbeiterfiltertext;Listenbreite;ShowEditor;ShowAuswahl;Auswahldialogorigin;StandortfilterSubsciption;ShowMeOnly;ShowArchivierte;ShowAktuelle;Freigabefiltervarianten={Keiner:"keiner",Administrator:"Administrator",Urlaubsfreigaben:"Urlaubsfreigaben",Homeofficefreigaben:"Homeofficefreigaben"};Freigabefilter;constructor(Me,Se,je,re,we,rt,tt,wt,ye){this.Basics=Me,this.Debug=Se,this.Tools=je,this.Const=re,this.Security=we,this.DB=rt,this.DBStandort=tt,this.Auswahlservice=wt,this.Pool=ye;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.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,this.Freigabefilter=this.Freigabefiltervarianten.Keiner}catch(Te){this.Debug.ShowErrorMessage(Te.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(Me){this.Debug.ShowErrorMessage(Me.message,"Mitarbeiterliste","OnDestroy",this.Debug.Typen.Page)}}ngOnInit(){try{this.Security.CheckSecurity(),this.ListeSubscription=this.Pool.MitarbeiterlisteChanged.subscribe(()=>{this.PrepareDaten()}),this.StandortfilterSubsciption=this.DBStandort.StandortfilterChanged.subscribe(()=>{this.PrepareDaten()}),this.PrepareDaten()}catch(Me){this.Debug.ShowErrorMessage(Me.message,"Mitarbeiterliste","OnInit",this.Debug.Typen.Page)}}ResetSucheButtonClicked(){try{this.Mitarbeiterfiltertext="",this.Mitarbeiteralphabetauswahl="Alle",this.PrepareDaten()}catch(Me){this.Debug.ShowErrorMessage(Me.message,"Mitarbeiterliste","ResetSucheButtonClicked",this.Debug.Typen.Page)}}ionViewDidEnter(){try{let Me=typeof this.Alphabetcomponent.Breite<"u"?this.Alphabetcomponent.Breite:40;this.Basics.MeassureInnercontent(this.PageHeader,this.PageFooter),this.Listenbreite=this.Basics.Contentbreite-Me-4,this.Alphabetcomponent.InitScreen()}catch(Me){this.Debug.ShowErrorMessage(Me.message,"Mitarbeiterliste","ionViewDidEnter",this.Debug.Typen.Page)}}ionViewDidLeave(){}MitrabeiterButtonClicked(Me){try{this.DB.CurrentMitarbeiter=c.cloneDeep(Me),this.ShowEditor=!0}catch(Se){this.Debug.ShowErrorMessage(Se.message,"Mitarbeiterliste","MitrabeiterButtonClicked",this.Debug.Typen.Page)}}AddMitarbeiterButtonClicked(){try{this.DB.CurrentMitarbeiter=this.DB.GetEmptyMitarbeiter(),this.ShowEditor=!0}catch(Me){this.Debug.ShowErrorMessage(Me.message,"Mitarbeiterliste","AddMitarbeiterButtonClicked",this.Debug.Typen.Page)}}AlphabetClicked(Me){try{this.Mitarbeiterfiltertext="",this.Mitarbeiteralphabetauswahl=Me,this.PrepareDaten()}catch(Se){this.Debug.ShowErrorMessage(Se.message,"Mitarbeiterliste","AlphabetClicked",this.Debug.Typen.Page)}}GetMitarbeiterAlphabetbuchstabe(Me){try{let Se=Me.Name.substring(0,1).toUpperCase();return Se!==this.Lastletter?(this.Lastletter=Se,Se):""}catch(Se){this.Debug.ShowErrorMessage(Se.message,"Mitarbeiterliste","GetMitarbeiterAlphabetbuchstabe",this.Debug.Typen.Page)}}PrepareDaten(){try{let Me,Se,je,re,we,rt,tt,wt,ye,Te,ht,Ft;if(null!==this.Pool.Mitarbeiterliste){if(re=c.cloneDeep(this.Pool.Mitarbeiterliste),this.Lastletter="",re.sort((nn,Yt)=>nn.Name>Yt.Name?-1:nn.Namenn.Archiviert):this.ShowAktuelle?Me=c.filter(Me,nn=>!nn.Archiviert):!1===this.ShowArchivierte&&!1===this.ShowAktuelle&&(Me=[])),this.Freigabefilter!==this.Freigabefiltervarianten.Keiner)switch(this.Freigabefilter){case this.Freigabefiltervarianten.Administrator:Me=c.filter(Me,{Planeradministrator:!0});break;case this.Freigabefiltervarianten.Urlaubsfreigaben:Me=c.filter(Me,{Urlaubsfreigaben:!0});break;case this.Freigabefiltervarianten.Homeofficefreigaben:Me=c.filter(Me,{Homeofficefreigaben:!0})}if(null!==this.DBStandort.CurrentStandortfilter&&(Me=c.filter(Me,nn=>nn.StandortID===this.DBStandort.CurrentStandortfilter._id)),Me.sort((nn,Yt)=>nn.NameYt.Name?1:0),Me.length>6){this.Mitarbeiteralphabet=["Alle"];for(let nn of Me)je=nn.Name.substring(0,1).toUpperCase(),-1===this.Mitarbeiteralphabet.indexOf(je)&&this.Mitarbeiteralphabet.push(je)}else this.Mitarbeiteralphabet=this.Standardalphabet;if("Alle"!==this.Mitarbeiteralphabetauswahl){Se=c.cloneDeep(Me),Me=[];for(let nn of Se)je=nn.Name.substring(0,1).toUpperCase(),je="\xc4"===je?"A":je,je="\xd6"===je?"O":je,je="\xdc"===je?"U":je,this.Mitarbeiteralphabetauswahl===je&&Me.push(nn)}if(""!==this.Mitarbeiterfiltertext){Se=c.cloneDeep(Me),Me=[];for(let nn of Se)ht=this.Mitarbeiterfiltertext.toLowerCase(),Ft=nn.Name.toLowerCase(),Te=Ft.indexOf(ht),-1!==Te&&(we=nn.Name.length,ye=ht.length,rt=nn.Name.substr(0,Te),tt=nn.Name.substr(Te,ye),ye=we-ye-Te,wt=nn.Name.substr(we-ye,ye),nn.Filtered=!0,nn.Text_A=rt,nn.Text_B=tt,nn.Text_C=wt,Me.push(nn))}this.Mitarbeiterbuchstabenliste=[];for(let nn of Me)this.Mitarbeiterbuchstabenliste.push(this.GetMitarbeiterAlphabetbuchstabe(nn));this.Mitarbeiterliste=c.cloneDeep(Me)}}catch(Me){this.Debug.ShowErrorMessage(Me.message,"Mitarbeiterliste","PrepareDaten",this.Debug.Typen.Page)}}GetDialogTitel(){try{return null!==this.DB.CurrentMitarbeiter?null===this.DB.CurrentMitarbeiter._id?"Neuen Mitarbeiter anlegen":"Mitarbeiter bearbeiten":"Unbekannt"}catch(Me){this.Debug.ShowErrorMessage(Me.message,"Mitarbeiterliste","GetDialogTitel",this.Debug.Typen.Page)}}StandortClickedHandler(){try{let Me=0;this.ShowAuswahl=!0,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Standort;for(let Se of this.Pool.Standorteliste)this.Auswahlliste.push({Index:Me,FirstColumn:Se.Kuerzel,SecoundColumn:Se.Ort,Data:Se}),Me++;this.Auswahlindex=c.findIndex(this.Pool.Standorteliste,{_id:this.DB.CurrentMitarbeiter.StandortID})}catch(Me){this.Debug.ShowErrorMessage(Me.message,"Mitarbeiterliste","StandortClickedHandler",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(Me){try{switch(this.Auswahldialogorigin){case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Anrede:this.DB.CurrentMitarbeiter.Anrede=Me;break;case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Urlaub:this.DB.CurrentMitarbeiter.Urlaub=Me;break;case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Standort:this.DB.CurrentMitarbeiter.StandortID=Me._id;break;case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Liste_Position:this.DB.CurrentMitarbeiter.PositionID=Me;break;case"Resturlaub":this.DB.CurrentMitarbeiter.Resturlaub=Me;break;case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Liste_Standortfilter:this.DBStandort.CurrentStandortfilter=Me,this.Pool.Mitarbeitersettings.StandortFilter=null!==Me?Me._id:this.Const.NONE,this.Mitarbeiteralphabetauswahl="Alle",this.DB.UpdateMitarbeiter(this.Pool.Mitarbeiterdaten).then(()=>{this.DBStandort.StandortfilterChanged.emit()}).catch(Se=>{this.Debug.ShowErrorMessage(Se.message,"Mitarbeiterliste","AuswahlOkButtonClicked",this.Debug.Typen.Page)}),this.PrepareDaten()}this.ShowAuswahl=!1}catch(Se){this.Debug.ShowErrorMessage(Se.message,"Mitarbeiterliste","AuswahlOkButtonClicked",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(Me){this.Debug.ShowErrorMessage(Me.message,"Mitarbeiterliste","GetDialogTitelicon",this.Debug.Typen.Page)}}SucheChanged(Me){try{this.Mitarbeiteralphabetauswahl="Alle",this.Mitarbeiterfiltertext=Me,this.PrepareDaten()}catch(Se){this.Debug.ShowErrorMessage(Se.message,"Mitarbeiterliste","SucheChanged",this.Debug.Typen.Page)}}StandortFilterClickedHandler(){try{let Me=0;this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Liste_Standortfilter,this.ShowAuswahl=!0,this.Auswahltitel="Standortfilter festlegen",this.Auswahlliste=[],this.Auswahlliste.push({Index:Me,FirstColumn:"----",SecoundColumn:"kein Filter",Data:null}),Me++;for(let Se of this.Pool.Standorteliste)this.Auswahlliste.push({Index:Me,FirstColumn:Se.Kuerzel,SecoundColumn:Se.Ort,Data:Se}),Me++;null===this.DBStandort.CurrentStandortfilter?this.Auswahlindex=0:(this.Auswahlindex=c.findIndex(this.Pool.Standorteliste,{_id:this.DBStandort.CurrentStandortfilter._id}),this.Auswahlindex++)}catch(Me){this.Debug.ShowErrorMessage(Me.message,"Mitarbeiterliste","StandortFilterClickedHandler",this.Debug.Typen.Page)}}ShowMeCheckedChanged(Me){try{this.ShowMeOnly=Me.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(Se){this.Debug.ShowErrorMessage(Se,"Mitarbeiterliste","ShowMeCheckedChanged",this.Debug.Typen.Page)}}ShowArchivierteChanged(Me){try{this.ShowArchivierte=Me.status,this.PrepareDaten()}catch(Se){this.Debug.ShowErrorMessage(Se,"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=c.findIndex(this.Auswahlliste,{Data:this.DB.CurrentMitarbeiter.Anrede})}catch(Me){this.Debug.ShowErrorMessage(Me,"Mitarbeiterliste","AnredeClickedEventHandler",this.Debug.Typen.Page)}}UrlaubClickedEventHandler(){let Me=0;this.ShowAuswahl=!0,this.Auswahltitel="Urlaubstage festlegen",this.Auswahlliste=[],this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Urlaub;for(let Se=0;Se<=40;Se+=.5)this.Auswahlliste.push({Index:Me,FirstColumn:Se.toFixed(1),SecoundColumn:1===Se?"Tag":"Tage",Data:Se}),Me++;this.Auswahlindex=c.findIndex(this.Auswahlliste,{Data:this.DB.CurrentMitarbeiter.Urlaub})}catch(Me){this.Debug.ShowErrorMessage(Me,"Mitarbeiterliste","UrlaubClickedEventHandler",this.Debug.Typen.Page)}ShowAktuelleChanged(Me){try{this.ShowAktuelle=Me.status,this.PrepareDaten()}catch(Se){this.Debug.ShowErrorMessage(Se,"Mitarbeiterliste","ShowAktuelleChanged",this.Debug.Typen.Page)}}GetStandortliste(Me){try{let Se,je=[],re="",we=0;for(let rt of Me)Se=c.find(this.Pool.Standorteliste,{_id:rt}),c.isUndefined(Se)||je.push(Se);for(Se of(je.sort((rt,tt)=>rt.Orttt.Ort?1:0),je))re+=Se.Ort.substring(0,3).toUpperCase(),weSe.Data===this.DB.CurrentMitarbeiter.Resturlaub),this.ShowAuswahl=!0}catch(Me){this.Debug.ShowErrorMessage(Me,"Mitarbeiterliste","ResturlaubClicked",this.Debug.Typen.Page)}}static \u0275fac=function(Se){return new(Se||Be)(u.\u0275\u0275directiveInject(l.BasicsProvider),u.\u0275\u0275directiveInject(i.DebugProvider),u.\u0275\u0275directiveInject(e.ToolsProvider),u.\u0275\u0275directiveInject(o.ConstProvider),u.\u0275\u0275directiveInject(d.SecurityService),u.\u0275\u0275directiveInject(v.DatabaseMitarbeiterService),u.\u0275\u0275directiveInject(M.DatabaseStandorteService),u.\u0275\u0275directiveInject(p.AuswahlDialogService),u.\u0275\u0275directiveInject(E.DatabasePoolService))};static \u0275cmp=u.\u0275\u0275defineComponent({type:Be,selectors:[["fi-mitarbeiterliste-page"]],viewQuery:function(Se,je){if(1&Se&&(u.\u0275\u0275viewQuery(V,5),u.\u0275\u0275viewQuery(G,5),u.\u0275\u0275viewQuery(R,5)),2&Se){let re;u.\u0275\u0275queryRefresh(re=u.\u0275\u0275loadQuery())&&(je.Alphabetcomponent=re.first),u.\u0275\u0275queryRefresh(re=u.\u0275\u0275loadQuery())&&(je.PageHeader=re.first),u.\u0275\u0275queryRefresh(re=u.\u0275\u0275loadQuery())&&(je.PageFooter=re.first)}},decls:57,vars:21,consts:[[1,"ion-no-border"],["PageHeader",""],[3,"ShowSuchleiste","ShowSandortfilter","ShowMitarbeitertitle","SucheChanged","StandortfilterClicked"],[3,"value","ionChange"],[1,"paddingtable"],[3,"Checked","CheckChanged"],[2,"color","white"],[2,"width","6px"],[2,"width","200px"],[2,"--color","white","--color-checked","white",3,"value"],["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","ResturlaubEvent","AnredeClickedEvent","PositionClickedEvent","UrlaubClickedEvent",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"],[2,"width","70%"],["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","140px"],[2,"width","20px"],[1,"ergonametextclass",2,"width","60px"],["colspan","3"],["align","right",2,"width","auto"],["width","600px"],["valign","top",2,"width","30%"],["class","paddingsmalltable",4,"ngIf"],[2,"width","10%"],["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"],[1,"paddingsmalltable"],["name","shield-half-outline","color","rot",2,"font-size","20px"],[2,"font-size","90%","font-weight","bold"],["name","sunny","color","orange",2,"font-size","20px"],[2,"font-size","80%","color","#444444"],["name","home","color","blau",2,"font-size","20px"],["width","100%",1,"paddingtable"],[2,"height","80px","text-align","center","vertical-align","center"],["Iconname","people-outline",3,"Dialogbreite","Titel","StandortClickedEvent","CancelClickedEvent","OkClickedEvent","ResturlaubEvent","AnredeClickedEvent","PositionClickedEvent","UrlaubClickedEvent"],[3,"Auswahlliste","Auswahlindex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent"]],template:function(Se,je){if(1&Se&&(u.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),u.\u0275\u0275listener("SucheChanged",function(we){return je.SucheChanged(we)})("StandortfilterClicked",function(){return je.StandortFilterClickedHandler()}),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(4,"ion-radio-group",3),u.\u0275\u0275listener("ionChange",function(we){return je.FreigabefilterChanged(we)}),u.\u0275\u0275elementStart(5,"table",4)(6,"tr")(7,"td")(8,"checkbox-clon",5),u.\u0275\u0275listener("CheckChanged",function(we){return je.ShowMeCheckedChanged(we)}),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(9,"td",6),u.\u0275\u0275text(10,"Nur meinen Eintrag anzeigen"),u.\u0275\u0275elementEnd(),u.\u0275\u0275element(11,"td",7),u.\u0275\u0275elementStart(12,"td")(13,"checkbox-clon",5),u.\u0275\u0275listener("CheckChanged",function(we){return je.ShowAktuelleChanged(we)}),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(14,"td",6),u.\u0275\u0275text(15,"Aktuelle Eintr\xe4ge anzeigen"),u.\u0275\u0275elementEnd(),u.\u0275\u0275element(16,"td",7),u.\u0275\u0275elementStart(17,"td")(18,"checkbox-clon",5),u.\u0275\u0275listener("CheckChanged",function(we){return je.ShowArchivierteChanged(we)}),u.\u0275\u0275elementEnd()(),u.\u0275\u0275elementStart(19,"td",6),u.\u0275\u0275text(20,"Archivierte Eintr\xe4ge anzeigen"),u.\u0275\u0275elementEnd(),u.\u0275\u0275element(21,"td",8),u.\u0275\u0275elementStart(22,"td"),u.\u0275\u0275text(23,"Freigabefilter:"),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(24,"td",6),u.\u0275\u0275element(25,"ion-radio",9),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(26,"td"),u.\u0275\u0275text(27,"keiner"),u.\u0275\u0275elementEnd(),u.\u0275\u0275element(28,"td",7),u.\u0275\u0275elementStart(29,"td",6),u.\u0275\u0275element(30,"ion-radio",9),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(31,"td"),u.\u0275\u0275text(32,"Administrator"),u.\u0275\u0275elementEnd(),u.\u0275\u0275element(33,"td",7),u.\u0275\u0275elementStart(34,"td",6),u.\u0275\u0275element(35,"ion-radio",9),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(36,"td"),u.\u0275\u0275text(37,"Urlaubsfreigaben"),u.\u0275\u0275elementEnd(),u.\u0275\u0275element(38,"td",7),u.\u0275\u0275elementStart(39,"td",6),u.\u0275\u0275element(40,"ion-radio",9),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(41,"td"),u.\u0275\u0275text(42,"Homeofficefreigaben"),u.\u0275\u0275elementEnd()()()()()(),u.\u0275\u0275elementStart(43,"ion-content",10),u.\u0275\u0275template(44,Oe,2,1,"ion-list",11)(45,ke,4,0,"table",12),u.\u0275\u0275elementEnd(),u.\u0275\u0275elementStart(46,"ion-footer")(47,"page-footer",null,13)(49,"table",14)(50,"tr")(51,"td",15),u.\u0275\u0275text(52),u.\u0275\u0275elementEnd()()()()(),u.\u0275\u0275template(53,Re,1,2,"fi-mitarbeiter-editor",16)(54,Qe,1,6,"auswahl-dialog",17),u.\u0275\u0275elementStart(55,"alphabet",18,19),u.\u0275\u0275listener("AlphabetClicked",function(we){return je.AlphabetClicked(we)}),u.\u0275\u0275elementEnd()),2&Se){const re=u.\u0275\u0275reference(2),we=u.\u0275\u0275reference(48);u.\u0275\u0275advance(3),u.\u0275\u0275property("ShowSuchleiste",!0)("ShowSandortfilter",!0)("ShowMitarbeitertitle",!0),u.\u0275\u0275advance(),u.\u0275\u0275property("value",je.Freigabefilter),u.\u0275\u0275advance(4),u.\u0275\u0275property("Checked",je.ShowMeOnly),u.\u0275\u0275advance(5),u.\u0275\u0275property("Checked",je.ShowAktuelle),u.\u0275\u0275advance(5),u.\u0275\u0275property("Checked",je.ShowArchivierte),u.\u0275\u0275advance(7),u.\u0275\u0275property("value",je.Freigabefiltervarianten.Keiner),u.\u0275\u0275advance(5),u.\u0275\u0275property("value",je.Freigabefiltervarianten.Administrator),u.\u0275\u0275advance(5),u.\u0275\u0275property("value",je.Freigabefiltervarianten.Urlaubsfreigaben),u.\u0275\u0275advance(5),u.\u0275\u0275property("value",je.Freigabefiltervarianten.Homeofficefreigaben),u.\u0275\u0275advance(4),u.\u0275\u0275property("ngIf",je.Mitarbeiterliste&&je.Mitarbeiterliste.length>0),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",0===je.Mitarbeiterliste.length),u.\u0275\u0275advance(7),u.\u0275\u0275textInterpolate1(" ",je.Mitarbeiterliste.length," Eintr\xe4ge "),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",je.ShowEditor),u.\u0275\u0275advance(),u.\u0275\u0275property("ngIf",je.ShowAuswahl),u.\u0275\u0275advance(),u.\u0275\u0275property("PageHeader",re)("PageFooter",we)("Breite",je.Alphapetbreite)("Buchstabenliste",je.Mitarbeiteralphabet)("Auswahl",je.Mitarbeiteralphabetauswahl)}},dependencies:[S.NgForOf,S.NgIf,y.IonCol,y.IonContent,y.IonFooter,y.IonGrid,y.IonHeader,y.IonIcon,y.IonItem,y.IonList,y.IonRadio,y.IonRadioGroup,y.IonRow,y.IonText,y.RadioValueAccessor,y.SelectValueAccessor,f.PageHeaderComponent,C.PageFooterComponent,_.AlphabetComponent,w.PageHeaderMenuComponent,D.FiMitarbeiterEditorComponent,L.AuswahlDialogComponent,N.CheckboxClonComponent],styles:[".infotable[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:80%;color:#444}.ergonametextclass[_ngcontent-%COMP%]{font-weight:700}"]})}return Be})()},31735:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.FIMitarbeiterlisteNeuPageModule=void 0;const n=s(81316),c=s(91368),u=s(44716),l=s(53076),i=s(92512),e=s(63692),o=s(70216),d=s(6512),v=s(87143),M=s(90520),p=s(6168),E=s(27328),S=s(10272),y=s(7388),f=n.__importStar(s(54496)),_=(n.__importStar(s(53076)),[{path:"",component:e.FiMitarbeiterlisteNeuPage}]);m.FIMitarbeiterlisteNeuPageModule=(()=>{class D{static \u0275fac=function(V){return new(V||D)};static \u0275mod=f.\u0275\u0275defineNgModule({type:D});static \u0275inj=f.\u0275\u0275defineInjector({imports:[c.CommonModule,u.FormsModule,u.ReactiveFormsModule,i.IonicModule,l.RouterModule.forChild(_),o.PageHeaderModule,M.PageFooterModule,d.AbstandElementFixedModule,v.AlphabetModule,p.PageHeaderMenuModule,E.FiMitarbeiterEditorModule,S.AuswahlDialogModule,y.CheckboxClonModule]})}return D})()},63692:(pe,m,s)=>{"use strict";var n=s(1196).default;Object.defineProperty(m,"__esModule",{value:!0}),m.FiMitarbeiterlisteNeuPage=void 0;const c=s(81316),u=c.__importStar(s(17964)),l=c.__importStar(s(54496)),i=c.__importStar(s(14652)),e=c.__importStar(s(34388)),o=c.__importStar(s(19668)),d=c.__importStar(s(29743)),v=c.__importStar(s(34636)),M=c.__importStar(s(22848)),p=c.__importStar(s(58864)),E=c.__importStar(s(48044)),S=c.__importStar(s(59460)),y=c.__importStar(s(7992)),f=c.__importStar(s(91368)),C=c.__importStar(s(92512)),_=c.__importStar(s(90212)),w=c.__importStar(s(29856)),D=c.__importStar(s(73088)),L=c.__importStar(s(99031)),N=c.__importStar(s(82384)),V=c.__importStar(s(56584)),G=c.__importStar(s(25856)),R=["Alphabet"],k=["PageHeader"],A=["PageFooter"];function H(tt,wt){if(1&tt){const ye=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275elementStart(1,"td")(2,"div",18),l.\u0275\u0275listener("click",function(){const Ft=l.\u0275\u0275restoreView(ye).$implicit,nn=l.\u0275\u0275nextContext(2);return l.\u0275\u0275resetView(nn.MenueButtonClicked(Ft.id))}),l.\u0275\u0275text(3),l.\u0275\u0275elementEnd()(),l.\u0275\u0275element(4,"td",1),l.\u0275\u0275elementContainerEnd()}if(2&tt){const ye=wt.$implicit,Te=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(2),l.\u0275\u0275styleProp("background",Te.CurrentMenueID===ye.id?"#7b6a58":"#444444"),l.\u0275\u0275advance(),l.\u0275\u0275textInterpolate(ye.Titel)}}function K(tt,wt){if(1&tt){const ye=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275elementStart(1,"td")(2,"div",12),l.\u0275\u0275listener("mouseenter",function(){l.\u0275\u0275restoreView(ye);const ht=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(ht.HomeMouseOver=!0)})("mouseleave",function(){l.\u0275\u0275restoreView(ye);const ht=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(ht.HomeMouseOver=!1)})("click",function(){l.\u0275\u0275restoreView(ye);const ht=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(ht.MainMenueButtonClicked(ht.Menuservice.MainMenuebereiche.Home))}),l.\u0275\u0275elementStart(3,"table",13)(4,"tr")(5,"td"),l.\u0275\u0275element(6,"ion-icon",14),l.\u0275\u0275elementEnd()()()()(),l.\u0275\u0275elementStart(7,"td",15),l.\u0275\u0275element(8,"div",16),l.\u0275\u0275elementEnd(),l.\u0275\u0275template(9,H,5,3,"ng-container",17),l.\u0275\u0275elementContainerEnd()}if(2&tt){const ye=l.\u0275\u0275nextContext();l.\u0275\u0275advance(6),l.\u0275\u0275property("color",ye.HomeMouseOver?ye.Basics.Ionicfarben.Schwarz:ye.Basics.Ionicfarben.Weiss),l.\u0275\u0275advance(3),l.\u0275\u0275property("ngForOf",ye.Menueliste)}}function ie(tt,wt){if(1&tt){const ye=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"td",20)(1,"table")(2,"tr")(3,"td",22)(4,"div",23)(5,"table")(6,"tr")(7,"td",24),l.\u0275\u0275text(8),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(9,"tr")(10,"td",24),l.\u0275\u0275text(11),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(12,"tr")(13,"td")(14,"div",25),l.\u0275\u0275listener("click",function(){const Ft=l.\u0275\u0275restoreView(ye).$implicit,nn=l.\u0275\u0275nextContext(2);return l.\u0275\u0275resetView(nn.AllUrlaubClicked(Ft))}),l.\u0275\u0275text(15,"Urlaub"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(16,"td")(17,"div",26),l.\u0275\u0275listener("click",function(){const Ft=l.\u0275\u0275restoreView(ye).$implicit,nn=l.\u0275\u0275nextContext(2);return l.\u0275\u0275resetView(nn.AllHomeofficeClicked(Ft))}),l.\u0275\u0275text(18,"Homeoffice"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(19,"td")(20,"div",27),l.\u0275\u0275listener("click",function(){const Ft=l.\u0275\u0275restoreView(ye).$implicit,nn=l.\u0275\u0275nextContext(2);return l.\u0275\u0275resetView(nn.AllUrlaubfreigabeInfomailClicked(Ft))}),l.\u0275\u0275text(21,"Infomail"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275element(22,"td"),l.\u0275\u0275elementEnd()()()()()()()}if(2&tt){const ye=wt.$implicit;l.\u0275\u0275advance(8),l.\u0275\u0275textInterpolate(ye.Vorname),l.\u0275\u0275advance(3),l.\u0275\u0275textInterpolate(ye.Name)}}function J(tt,wt){if(1&tt&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275elementStart(1,"table",19)(2,"tr"),l.\u0275\u0275element(3,"td",20),l.\u0275\u0275template(4,ie,23,2,"td",21),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementContainerEnd()),2&tt){const ye=l.\u0275\u0275nextContext();l.\u0275\u0275advance(4),l.\u0275\u0275property("ngForOf",ye.Freigeberliste)}}function be(tt,wt){if(1&tt&&(l.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"table",34)(3,"tr")(4,"td")(5,"ion-text",35)(6,"b"),l.\u0275\u0275text(7),l.\u0275\u0275elementEnd()()()()()()()),2&tt){const ye=l.\u0275\u0275nextContext().index,Te=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(7),l.\u0275\u0275textInterpolate(Te.Mitarbeiterbuchstabenliste[ye])}}function ce(tt,wt){if(1&tt&&(l.\u0275\u0275elementStart(0,"tr")(1,"td"),l.\u0275\u0275element(2,"div",36),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(3,"td",37),l.\u0275\u0275text(4),l.\u0275\u0275elementEnd()()),2&tt){const ye=l.\u0275\u0275nextContext(2).$implicit;l.\u0275\u0275advance(2),l.\u0275\u0275styleProp("background",ye.Archiviert?"red":"green"),l.\u0275\u0275advance(2),l.\u0275\u0275textInterpolate3(" ",ye.Name," ",ye.Vorname," / ",ye.Kuerzel," ")}}function Ge(tt,wt){if(1&tt&&(l.\u0275\u0275elementStart(0,"table",34),l.\u0275\u0275template(1,ce,5,5,"tr",2),l.\u0275\u0275elementEnd()),2&tt){const ye=l.\u0275\u0275nextContext().$implicit;l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",!ye.Filtered)}}function ct(tt,wt){if(1&tt){const ye=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"div",46)(1,"checkbox-clon",45),l.\u0275\u0275listener("CheckChanged",function(ht){l.\u0275\u0275restoreView(ye);const Ft=l.\u0275\u0275nextContext().$implicit,nn=l.\u0275\u0275nextContext(2).$implicit,Yt=l.\u0275\u0275nextContext(2);return l.\u0275\u0275resetView(Yt.UrlaufsfreigabeChanged(ht,Ft,nn))}),l.\u0275\u0275elementEnd()()}if(2&tt){const ye=l.\u0275\u0275nextContext().$implicit,Te=l.\u0275\u0275nextContext(2).$implicit,ht=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(),l.\u0275\u0275property("Checked",ht.UrlaufsfreigabeIsSet(ye,Te))}}function Oe(tt,wt){if(1&tt){const ye=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"div",47)(1,"checkbox-clon",45),l.\u0275\u0275listener("CheckChanged",function(ht){l.\u0275\u0275restoreView(ye);const Ft=l.\u0275\u0275nextContext().$implicit,nn=l.\u0275\u0275nextContext(2).$implicit,Yt=l.\u0275\u0275nextContext(2);return l.\u0275\u0275resetView(Yt.HomeofficefreigabeChanged(ht,Ft,nn))}),l.\u0275\u0275elementEnd()()}if(2&tt){const ye=l.\u0275\u0275nextContext().$implicit,Te=l.\u0275\u0275nextContext(2).$implicit,ht=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(),l.\u0275\u0275property("Checked",ht.HomeofficefreigabeIsSet(ye,Te))}}function ke(tt,wt){if(1&tt){const ye=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"td",39)(1,"table",6)(2,"tr"),l.\u0275\u0275element(3,"td",40),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(4,"tr")(5,"td",41),l.\u0275\u0275template(6,ct,2,1,"div",42),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(7,"td",41),l.\u0275\u0275template(8,Oe,2,1,"div",43),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(9,"td",41)(10,"div",44)(11,"checkbox-clon",45),l.\u0275\u0275listener("CheckChanged",function(ht){const nn=l.\u0275\u0275restoreView(ye).$implicit,Yt=l.\u0275\u0275nextContext(2).$implicit,Zt=l.\u0275\u0275nextContext(2);return l.\u0275\u0275resetView(Zt.UrlaufsfreigabeinfomailChanged(ht,nn,Yt))}),l.\u0275\u0275elementEnd()()()(),l.\u0275\u0275elementStart(12,"tr"),l.\u0275\u0275element(13,"td",40),l.\u0275\u0275elementEnd()()()}if(2&tt){const ye=wt.$implicit,Te=l.\u0275\u0275nextContext(2).$implicit,ht=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(6),l.\u0275\u0275property("ngIf",ht.CanUrlaubsfreigabe(ye)),l.\u0275\u0275advance(2),l.\u0275\u0275property("ngIf",ht.CanHomeofficefreigabe(ye)),l.\u0275\u0275advance(3),l.\u0275\u0275property("Checked",ht.UrlaufsfreigabeinfomailIsSet(ye,Te))}}function Re(tt,wt){if(1&tt&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275template(1,ke,14,3,"td",38),l.\u0275\u0275elementContainerEnd()),2&tt){const ye=l.\u0275\u0275nextContext(3);l.\u0275\u0275advance(),l.\u0275\u0275property("ngForOf",ye.Freigeberliste)}}function Qe(tt,wt){1&tt&&(l.\u0275\u0275elementStart(0,"table",13)(1,"tr")(2,"td"),l.\u0275\u0275element(3,"ion-icon",52),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(4,"td",53),l.\u0275\u0275text(5,"Administrator"),l.\u0275\u0275elementEnd()()())}function $e(tt,wt){if(1&tt&&(l.\u0275\u0275elementStart(0,"table",13)(1,"tr")(2,"td"),l.\u0275\u0275element(3,"ion-icon",54),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(4,"td",53),l.\u0275\u0275text(5,"Urlaubsfreigaben"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(6,"tr"),l.\u0275\u0275element(7,"td"),l.\u0275\u0275elementStart(8,"td",55),l.\u0275\u0275text(9),l.\u0275\u0275elementEnd()()()),2&tt){const ye=l.\u0275\u0275nextContext(2).$implicit,Te=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(9),l.\u0275\u0275textInterpolate(Te.GetStandortliste(ye.Urlaubsfreigabeorte))}}function Be(tt,wt){if(1&tt&&(l.\u0275\u0275elementStart(0,"table",13)(1,"tr")(2,"td"),l.\u0275\u0275element(3,"ion-icon",56),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(4,"td",53),l.\u0275\u0275text(5,"Homeofficefreigaben"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(6,"tr"),l.\u0275\u0275element(7,"td"),l.\u0275\u0275elementStart(8,"td",55),l.\u0275\u0275text(9),l.\u0275\u0275elementEnd()()()),2&tt){const ye=l.\u0275\u0275nextContext(2).$implicit,Te=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(9),l.\u0275\u0275textInterpolate(Te.GetStandortliste(ye.Homeofficefreigabestandorte))}}function _e(tt,wt){if(1&tt&&(l.\u0275\u0275elementStart(0,"td",48)(1,"table")(2,"tr")(3,"td",49),l.\u0275\u0275template(4,Qe,6,0,"table",50),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(5,"td",49),l.\u0275\u0275template(6,$e,10,1,"table",50),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(7,"td",49),l.\u0275\u0275template(8,Be,10,1,"table",50),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(9,"td",51),l.\u0275\u0275elementEnd()()()),2&tt){const ye=l.\u0275\u0275nextContext().$implicit;l.\u0275\u0275advance(4),l.\u0275\u0275property("ngIf",ye.Planeradministrator),l.\u0275\u0275advance(2),l.\u0275\u0275property("ngIf",ye.Urlaubsfreigaben),l.\u0275\u0275advance(2),l.\u0275\u0275property("ngIf",ye.Homeofficefreigaben)}}function Me(tt,wt){if(1&tt){const ye=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementContainerStart(0,29),l.\u0275\u0275template(1,be,8,1,"tr",2),l.\u0275\u0275elementStart(2,"tr")(3,"td")(4,"table",30)(5,"tr")(6,"td",20)(7,"div",31),l.\u0275\u0275listener("click",function(){const Ft=l.\u0275\u0275restoreView(ye).$implicit,nn=l.\u0275\u0275nextContext(2);return l.\u0275\u0275resetView(nn.MitrabeiterButtonClicked(Ft))}),l.\u0275\u0275template(8,Ge,2,1,"table",32),l.\u0275\u0275elementEnd()(),l.\u0275\u0275template(9,Re,2,1,"ng-container",2)(10,_e,10,3,"td",33),l.\u0275\u0275elementEnd()()()(),l.\u0275\u0275elementContainerEnd()}if(2&tt){const ye=wt.$implicit,Te=wt.index,ht=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",""!==ht.Mitarbeiterbuchstabenliste[Te]),l.\u0275\u0275advance(7),l.\u0275\u0275property("ngIf",null!==ye&&null!==ht.Pool.Mitarbeiterdaten),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf","Berechtigtenliste"!==ht.CurrentMenueID&&"Archiviert"!==ht.CurrentMenueID&&"Unbekannt"!==ht.CurrentMenueID),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf","Berechtigtenliste"===ht.CurrentMenueID)}}function Se(tt,wt){if(1&tt&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275elementStart(1,"table"),l.\u0275\u0275template(2,Me,11,4,"ng-container",28),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementContainerEnd()),2&tt){const ye=l.\u0275\u0275nextContext();l.\u0275\u0275advance(2),l.\u0275\u0275property("ngForOf",ye.Mitarbeiterliste)}}function je(tt,wt){1&tt&&(l.\u0275\u0275elementStart(0,"table",57)(1,"tr")(2,"td",58),l.\u0275\u0275text(3," keine Mitarbeiter vorhanden "),l.\u0275\u0275elementEnd()()())}function re(tt,wt){if(1&tt){const ye=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"fi-mitarbeiter-editor",59),l.\u0275\u0275listener("StandortClickedEvent",function(){l.\u0275\u0275restoreView(ye);const ht=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(ht.StandortClickedHandler())})("CancelClickedEvent",function(){l.\u0275\u0275restoreView(ye);const ht=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(ht.ShowEditor=!1)})("OkClickedEvent",function(){l.\u0275\u0275restoreView(ye);const ht=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(ht.ShowEditor=!1)})("ResturlaubEvent",function(){l.\u0275\u0275restoreView(ye);const ht=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(ht.ResturlaubClicked())})("AnredeClickedEvent",function(){l.\u0275\u0275restoreView(ye);const ht=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(ht.AnredeClickedEventHandler())})("PositionClickedEvent",function(){l.\u0275\u0275restoreView(ye);const ht=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(ht.PositionClickedEventHandler())})("UrlaubClickedEvent",function(){l.\u0275\u0275restoreView(ye);const ht=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(ht.UrlaubClickedEventHandler())}),l.\u0275\u0275elementEnd()}if(2&tt){const ye=l.\u0275\u0275nextContext();l.\u0275\u0275property("Dialogbreite",1280)("Titel",ye.GetDialogTitel())}}function we(tt,wt){if(1&tt){const ye=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"auswahl-dialog",60),l.\u0275\u0275listener("OkClickedEvent",function(ht){l.\u0275\u0275restoreView(ye);const Ft=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Ft.AuswahlOkButtonClicked(ht))})("CancelClickedEvent",function(){l.\u0275\u0275restoreView(ye);const ht=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(ht.ShowAuswahl=!1)}),l.\u0275\u0275elementEnd()}if(2&tt){const ye=l.\u0275\u0275nextContext();l.\u0275\u0275property("Auswahlliste",ye.Auswahlliste)("Auswahlindex",ye.Auswahlindex)("Dialogbreite",300)("PositionY",100)("Titel",ye.Auswahltitel)("Iconname",ye.GetDialogTitelicon())}}m.FiMitarbeiterlisteNeuPage=(()=>{class tt{Basics;Debug;Tools;Const;Security;DB;DBStandort;Auswahlservice;Menuservice;Pool;Alphabetcomponent;PageHeader;PageFooter;ListeSubscription;Mitarbeiterliste;Mitarbeiteralphabet;Alphapetbreite;Mitarbeiteralphabetauswahl;HideAuswahl;Auswahlliste;Auswahlindex;Auswahltitel;Lastletter;Mitarbeiterbuchstabenliste;Standardalphabet;Zusatzbuttonliste;Mitarbeiterfiltertext;Listenbreite;ShowEditor;ShowAuswahl;Auswahldialogorigin;ShowAktuelle;HomeMouseOver;CurrentStandort;Menueliste;CurrentMenueID;Freigabefiltervarianten={Keiner:"keiner",Administrator:"Administrator",Urlaubsfreigaben:"Urlaubsfreigaben",Homeofficefreigaben:"Homeofficefreigaben"};Freigabefilter;Freigeberliste;constructor(ye,Te,ht,Ft,nn,Yt,Zt,Mn,Un,zt){this.Basics=ye,this.Debug=Te,this.Tools=ht,this.Const=Ft,this.Security=nn,this.DB=Yt,this.DBStandort=Zt,this.Auswahlservice=Mn,this.Menuservice=Un,this.Pool=zt;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.ShowAuswahl=!1,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahldialogorigin=this.Const.NONE,this.ListeSubscription=null,this.ShowAktuelle=!0,this.Freigabefilter=this.Freigabefiltervarianten.Keiner,this.HomeMouseOver=!1,this.Menueliste=[],this.Freigeberliste=[]}catch(Hn){this.Debug.ShowErrorMessage(Hn.message,"Mitarbeiterliste","constructor",this.Debug.Typen.Page)}}ngOnDestroy(){try{null!==this.ListeSubscription&&(this.ListeSubscription.unsubscribe(),this.ListeSubscription=null)}catch(ye){this.Debug.ShowErrorMessage(ye.message,"Mitarbeiterliste","OnDestroy",this.Debug.Typen.Page)}}MainMenueButtonClicked(ye){try{this.Menuservice.MainMenuebereich=ye,this.Menuservice.SetCurrentPage()}catch(Te){this.Debug.ShowErrorMessage(Te.message,"Page Header Menu","MainMenueButtonClicked",this.Debug.Typen.Component)}}ngOnInit(){try{this.Security.CheckSecurity(),this.ListeSubscription=this.Pool.MitarbeiterlisteChanged.subscribe(()=>{this.InitMenue(),this.PrepareDaten()}),this.InitMenue(),this.PrepareDaten()}catch(ye){this.Debug.ShowErrorMessage(ye.message,"Mitarbeiterliste","OnInit",this.Debug.Typen.Page)}}ResetSucheButtonClicked(){try{this.Mitarbeiterfiltertext="",this.Mitarbeiteralphabetauswahl="Alle",this.PrepareDaten()}catch(ye){this.Debug.ShowErrorMessage(ye.message,"Mitarbeiterliste","ResetSucheButtonClicked",this.Debug.Typen.Page)}}ionViewDidEnter(){try{let ye=typeof this.Alphabetcomponent.Breite<"u"?this.Alphabetcomponent.Breite:40;this.Basics.MeassureInnercontent(this.PageHeader,this.PageFooter),this.Listenbreite=this.Basics.Contentbreite-ye-4,this.Alphabetcomponent.InitScreen()}catch(ye){this.Debug.ShowErrorMessage(ye.message,"Mitarbeiterliste","ionViewDidEnter",this.Debug.Typen.Page)}}ionViewDidLeave(){}MitrabeiterButtonClicked(ye){try{this.DB.CurrentMitarbeiter=u.cloneDeep(ye),this.ShowEditor=!0}catch(Te){this.Debug.ShowErrorMessage(Te.message,"Mitarbeiterliste","MitrabeiterButtonClicked",this.Debug.Typen.Page)}}AddMitarbeiterButtonClicked(){try{this.DB.CurrentMitarbeiter=this.DB.GetEmptyMitarbeiter(),this.ShowEditor=!0}catch(ye){this.Debug.ShowErrorMessage(ye.message,"Mitarbeiterliste","AddMitarbeiterButtonClicked",this.Debug.Typen.Page)}}AlphabetClicked(ye){try{this.Mitarbeiterfiltertext="",this.Mitarbeiteralphabetauswahl=ye,this.PrepareDaten()}catch(Te){this.Debug.ShowErrorMessage(Te.message,"Mitarbeiterliste","AlphabetClicked",this.Debug.Typen.Page)}}GetMitarbeiterAlphabetbuchstabe(ye){try{let Te=ye.Name.substring(0,1).toUpperCase();return Te!==this.Lastletter?(this.Lastletter=Te,Te):""}catch(Te){this.Debug.ShowErrorMessage(Te.message,"Mitarbeiterliste","GetMitarbeiterAlphabetbuchstabe",this.Debug.Typen.Page)}}InitMenue(){try{let ye=0;this.Menueliste=[];for(let Te of this.Pool.Mitarbeiterliste)(null===Te.StandortID||"none"===Te.StandortID||""===Te.StandortID)&&ye++;ye>0&&this.Menueliste.push({id:"Unbekannt",Titel:"Standort unbekannt"});for(let Te of this.Pool.Standorteliste)this.Menueliste.push({id:Te._id,Titel:Te.Ort});this.CurrentMenueID=ye>0?"Unbekannt":this.Pool.Standorteliste[0]._id,this.Menueliste.push({id:"Archiviert",Titel:"Archivierte Eintr\xe4ge"}),this.Menueliste.push({id:"Berechtigtenliste",Titel:"Berechtigtenliste"})}catch(ye){this.Debug.ShowErrorMessage(ye,"Mitarbeiterliste","InitMenue",this.Debug.Typen.Component)}}PrepareDaten(){try{let ye,Te,ht,Ft,nn,Yt,Zt,Mn,Un,zt,Hn,kn,ft,Pe;if(this.Freigeberliste=[],null!==this.Pool.Mitarbeiterliste){switch(Ft=u.cloneDeep(this.Pool.Mitarbeiterliste),this.Lastletter="",Ft.sort((le,he)=>le.Namehe.Name?1:0),ye=u.cloneDeep(Ft),this.CurrentMenueID){case"Unbekannt":this.CurrentStandort=null,ye=u.filter(ye,le=>(""===le.StandortID||null===le.StandortID||"none"===le.StandortID)&&!1===le.Archiviert);break;case"Archiviert":this.CurrentStandort=null,ye=u.filter(ye,le=>!0===le.Archiviert);break;case"Berechtigtenliste":this.CurrentStandort=null,ye=u.filter(ye,le=>(!0===le.Planeradministrator||!0===le.Urlaubsfreigaben||!0===le.Homeofficefreigaben)&&!1===le.Archiviert);break;default:this.CurrentStandort=u.find(this.Pool.Standorteliste,{_id:this.CurrentMenueID}),ye=u.filter(ye,le=>le.StandortID===this.CurrentMenueID&&!1===le.Archiviert),this.Freigeberliste=[];for(let le of this.CurrentStandort.Urlaubfreigabepersonen)ft=u.find(this.Pool.Mitarbeiterliste,{_id:le}),u.isUndefined(ft)||(Pe=u.find(this.Freigeberliste,{_id:ft._id}),u.isUndefined(Pe)&&this.Freigeberliste.push(ft));this.Freigeberliste.sort((le,he)=>le.Namehe.Name?1:0)}if(ye.length>6){this.Mitarbeiteralphabet=["Alle"];for(let le of ye)ht=le.Name.substring(0,1).toUpperCase(),-1===this.Mitarbeiteralphabet.indexOf(ht)&&this.Mitarbeiteralphabet.push(ht)}else this.Mitarbeiteralphabet=this.Standardalphabet;if("Alle"!==this.Mitarbeiteralphabetauswahl){Te=u.cloneDeep(ye),ye=[];for(let le of Te)ht=le.Name.substring(0,1).toUpperCase(),ht="\xc4"===ht?"A":ht,ht="\xd6"===ht?"O":ht,ht="\xdc"===ht?"U":ht,this.Mitarbeiteralphabetauswahl===ht&&ye.push(le)}if(""!==this.Mitarbeiterfiltertext){Te=u.cloneDeep(ye),ye=[];for(let le of Te)Hn=this.Mitarbeiterfiltertext.toLowerCase(),kn=le.Name.toLowerCase(),zt=kn.indexOf(Hn),-1!==zt&&(nn=le.Name.length,Un=Hn.length,Yt=le.Name.substr(0,zt),Zt=le.Name.substr(zt,Un),Un=nn-Un-zt,Mn=le.Name.substr(nn-Un,Un),le.Filtered=!0,le.Text_A=Yt,le.Text_B=Zt,le.Text_C=Mn,ye.push(le))}this.Mitarbeiterbuchstabenliste=[];for(let le of ye)this.Mitarbeiterbuchstabenliste.push(this.GetMitarbeiterAlphabetbuchstabe(le));this.Mitarbeiterliste=u.cloneDeep(ye)}}catch(ye){this.Debug.ShowErrorMessage(ye.message,"Mitarbeiterliste","PrepareDaten",this.Debug.Typen.Page)}}GetDialogTitel(){try{return null!==this.DB.CurrentMitarbeiter?null===this.DB.CurrentMitarbeiter._id?"Neuen Mitarbeiter anlegen":"Mitarbeiter bearbeiten":"Unbekannt"}catch(ye){this.Debug.ShowErrorMessage(ye.message,"Mitarbeiterliste","GetDialogTitel",this.Debug.Typen.Page)}}StandortClickedHandler(){try{let ye=0;this.ShowAuswahl=!0,this.Auswahltitel="Standort festlegen",this.Auswahlliste=[],this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Standort;for(let Te of this.Pool.Standorteliste)this.Auswahlliste.push({Index:ye,FirstColumn:Te.Kuerzel,SecoundColumn:Te.Ort,Data:Te}),ye++;this.Auswahlindex=u.findIndex(this.Pool.Standorteliste,{_id:this.DB.CurrentMitarbeiter.StandortID})}catch(ye){this.Debug.ShowErrorMessage(ye.message,"Mitarbeiterliste","StandortClickedHandler",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(ye){try{switch(this.Auswahldialogorigin){case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Anrede:this.DB.CurrentMitarbeiter.Anrede=ye;break;case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Urlaub:this.DB.CurrentMitarbeiter.Urlaub=ye;break;case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Standort:this.DB.CurrentMitarbeiter.StandortID=ye._id;break;case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Liste_Position:this.DB.CurrentMitarbeiter.PositionID=ye;break;case"Resturlaub":this.DB.CurrentMitarbeiter.Resturlaub=ye;break;case this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Liste_Standortfilter:this.DBStandort.CurrentStandortfilter=ye,this.Pool.Mitarbeitersettings.StandortFilter=null!==ye?ye._id:this.Const.NONE,this.Mitarbeiteralphabetauswahl="Alle",this.DB.UpdateMitarbeiter(this.Pool.Mitarbeiterdaten).then(()=>{this.DBStandort.StandortfilterChanged.emit()}).catch(Te=>{this.Debug.ShowErrorMessage(Te.message,"Mitarbeiterliste","AuswahlOkButtonClicked",this.Debug.Typen.Page)}),this.PrepareDaten()}this.ShowAuswahl=!1}catch(Te){this.Debug.ShowErrorMessage(Te.message,"Mitarbeiterliste","AuswahlOkButtonClicked",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(ye){this.Debug.ShowErrorMessage(ye.message,"Mitarbeiterliste","GetDialogTitelicon",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=u.findIndex(this.Auswahlliste,{Data:this.DB.CurrentMitarbeiter.Anrede})}catch(ye){this.Debug.ShowErrorMessage(ye,"Mitarbeiterliste","AnredeClickedEventHandler",this.Debug.Typen.Page)}}UrlaubClickedEventHandler(){let ye=0;this.ShowAuswahl=!0,this.Auswahltitel="Urlaubstage festlegen",this.Auswahlliste=[],this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Mitarbeiter_Editor_Urlaub;for(let Te=0;Te<=40;Te+=.5)this.Auswahlliste.push({Index:ye,FirstColumn:Te.toFixed(1),SecoundColumn:1===Te?"Tag":"Tage",Data:Te}),ye++;this.Auswahlindex=u.findIndex(this.Auswahlliste,{Data:this.DB.CurrentMitarbeiter.Urlaub})}catch(ye){this.Debug.ShowErrorMessage(ye,"Mitarbeiterliste","UrlaubClickedEventHandler",this.Debug.Typen.Page)}ShowAktuelleChanged(ye){try{this.ShowAktuelle=ye.status,this.PrepareDaten()}catch(Te){this.Debug.ShowErrorMessage(Te,"Mitarbeiterliste","ShowAktuelleChanged",this.Debug.Typen.Page)}}GetStandortliste(ye){try{let Te,ht=[],Ft="",nn=0;for(let Yt of ye)Te=u.find(this.Pool.Standorteliste,{_id:Yt}),u.isUndefined(Te)||ht.push(Te);for(Te of(ht.sort((Yt,Zt)=>Yt.OrtZt.Ort?1:0),ht))Ft+=Te.Ort.substring(0,3).toUpperCase(),nnTe.Data===this.DB.CurrentMitarbeiter.Resturlaub),this.ShowAuswahl=!0}catch(ye){this.Debug.ShowErrorMessage(ye,"Mitarbeiterliste","ResturlaubClicked",this.Debug.Typen.Page)}}MenueButtonClicked(ye){try{this.CurrentMenueID=ye,this.PrepareDaten()}catch(Te){this.Debug.ShowErrorMessage(Te,"Mitarbeiterliste","MenueButtonClicked",this.Debug.Typen.Page)}}CanUrlaubsfreigabe(ye){try{return null!==this.CurrentStandort&&-1!==this.CurrentStandort.Urlaubfreigabepersonen.indexOf(ye._id)}catch(Te){this.Debug.ShowErrorMessage(Te,"Mitarbeiterliste","CanUrlaubsfreigabe",this.Debug.Typen.Page)}}CanHomeofficefreigabe(ye){try{return null!==this.CurrentStandort&&-1!==this.CurrentStandort.Homeofficefreigabepersonen.indexOf(ye._id)}catch(Te){this.Debug.ShowErrorMessage(Te,"Mitarbeiterliste","CanHomeofficefreigabe",this.Debug.Typen.Page)}}UrlaufsfreigabeIsSet(ye,Te){try{return-1!==Te.Urlaubsfreigeberliste.indexOf(ye._id)}catch(ht){this.Debug.ShowErrorMessage(ht,"Mitarbeiterliste","UrlaufsfreigabeIsSet",this.Debug.Typen.Page)}}UrlaufsfreigabeinfomailIsSet(ye,Te){try{return-1!==Te.Urlaubsfreigabeinfomailliste.indexOf(ye._id)}catch(ht){this.Debug.ShowErrorMessage(ht,"Mitarbeiterliste","UrlaufsfreigabeinfomailIsSet",this.Debug.Typen.Page)}}HomeofficefreigabeIsSet(ye,Te){try{return-1!==Te.Homeofficefreigeberliste.indexOf(ye._id)}catch(ht){this.Debug.ShowErrorMessage(ht,"Mitarbeiterliste","HomeofficefreigabeIsSet",this.Debug.Typen.Page)}}UrlaufsfreigabeChanged(ye,Te,ht){var Ft=this;return n(function*(){try{!0===ye.status?ht.Urlaubsfreigeberliste.push(Te._id):ht.Urlaubsfreigeberliste=u.filter(ht.Urlaubsfreigeberliste,nn=>nn!==Te._id),yield Ft.DB.UpdateMitarbeiter(ht)}catch(nn){Ft.Debug.ShowErrorMessage(nn,"Mitarbeiterliste","UrlaufsfreigabeChanged",Ft.Debug.Typen.Page)}})()}UrlaufsfreigabeinfomailChanged(ye,Te,ht){var Ft=this;return n(function*(){try{!0===ye.status?ht.Urlaubsfreigabeinfomailliste.push(Te._id):ht.Urlaubsfreigabeinfomailliste=u.filter(ht.Urlaubsfreigabeinfomailliste,nn=>nn!==Te._id),yield Ft.DB.UpdateMitarbeiter(ht)}catch(nn){Ft.Debug.ShowErrorMessage(nn,"Mitarbeiterliste","UrlaufsfreigabeinfomailChanged",Ft.Debug.Typen.Page)}})()}HomeofficefreigabeChanged(ye,Te,ht){var Ft=this;return n(function*(){try{!0===ye.status?ht.Homeofficefreigeberliste.push(Te._id):ht.Homeofficefreigeberliste=u.filter(ht.Homeofficefreigeberliste,nn=>nn!==Te._id),yield Ft.DB.UpdateMitarbeiter(ht)}catch(nn){Ft.Debug.ShowErrorMessage(nn,"Mitarbeiterliste","HomeofficefreigabeChanged",Ft.Debug.Typen.Page)}})()}AllUrlaubClicked(ye){var Te=this;return n(function*(){try{Te.Pool.ProgressMessage="Urlaubsfreigaben werden ge\xe4ndert",Te.Pool.ShowProgress=!0,Te.Pool.MaxProgressValue=Te.Mitarbeiterliste.length,Te.Pool.CurrentProgressValue=0;for(let ht of Te.Mitarbeiterliste)-1===ht.Urlaubsfreigeberliste.indexOf(ye._id)?ht.Urlaubsfreigeberliste.push(ye._id):ht.Urlaubsfreigeberliste=u.filter(ht.Urlaubsfreigeberliste,Ft=>Ft!==ye._id),yield Te.DB.UpdateMitarbeiter(ht),Te.Pool.CurrentProgressValue++;Te.Pool.ShowProgress=!1}catch(ht){Te.Debug.ShowErrorMessage(ht,"Mitarbeiterliste","AllUrlaubClicked",Te.Debug.Typen.Page)}})()}AllHomeofficeClicked(ye){var Te=this;return n(function*(){try{Te.Pool.ProgressMessage="Homeofficefreigaben werden ge\xe4ndert",Te.Pool.ShowProgress=!0,Te.Pool.MaxProgressValue=Te.Mitarbeiterliste.length,Te.Pool.CurrentProgressValue=0;for(let ht of Te.Mitarbeiterliste)-1===ht.Homeofficefreigeberliste.indexOf(ye._id)?ht.Homeofficefreigeberliste.push(ye._id):ht.Homeofficefreigeberliste=u.filter(ht.Homeofficefreigeberliste,Ft=>Ft!==ye._id),yield Te.DB.UpdateMitarbeiter(ht),Te.Pool.CurrentProgressValue++;Te.Pool.ShowProgress=!1}catch(ht){Te.Debug.ShowErrorMessage(ht,"Mitarbeiterliste","AllHomeofficeClicked",Te.Debug.Typen.Page)}})()}AllUrlaubfreigabeInfomailClicked(ye){var Te=this;return n(function*(){try{Te.Pool.ProgressMessage="Urlaubfreigaben Infomails werden ge\xe4ndert",Te.Pool.ShowProgress=!0,Te.Pool.MaxProgressValue=Te.Mitarbeiterliste.length,Te.Pool.CurrentProgressValue=0;for(let ht of Te.Mitarbeiterliste)-1===ht.Urlaubsfreigabeinfomailliste.indexOf(ye._id)?ht.Urlaubsfreigabeinfomailliste.push(ye._id):ht.Urlaubsfreigabeinfomailliste=u.filter(ht.Urlaubsfreigabeinfomailliste,Ft=>Ft!==ye._id),yield Te.DB.UpdateMitarbeiter(ht),Te.Pool.CurrentProgressValue++;Te.Pool.ShowProgress=!1}catch(ht){Te.Debug.ShowErrorMessage(ht,"Mitarbeiterliste","AllUrlaubfreigabeInfomailClicked",Te.Debug.Typen.Page)}})()}static \u0275fac=function(Te){return new(Te||tt)(l.\u0275\u0275directiveInject(i.BasicsProvider),l.\u0275\u0275directiveInject(e.DebugProvider),l.\u0275\u0275directiveInject(o.ToolsProvider),l.\u0275\u0275directiveInject(d.ConstProvider),l.\u0275\u0275directiveInject(v.SecurityService),l.\u0275\u0275directiveInject(M.DatabaseMitarbeiterService),l.\u0275\u0275directiveInject(p.DatabaseStandorteService),l.\u0275\u0275directiveInject(E.AuswahlDialogService),l.\u0275\u0275directiveInject(S.MenueService),l.\u0275\u0275directiveInject(y.DatabasePoolService))};static \u0275cmp=l.\u0275\u0275defineComponent({type:tt,selectors:[["fi-mitarbeiterliste-page"]],viewQuery:function(Te,ht){if(1&Te&&(l.\u0275\u0275viewQuery(R,5),l.\u0275\u0275viewQuery(k,5),l.\u0275\u0275viewQuery(A,5)),2&Te){let Ft;l.\u0275\u0275queryRefresh(Ft=l.\u0275\u0275loadQuery())&&(ht.Alphabetcomponent=Ft.first),l.\u0275\u0275queryRefresh(Ft=l.\u0275\u0275loadQuery())&&(ht.PageHeader=Ft.first),l.\u0275\u0275queryRefresh(Ft=l.\u0275\u0275loadQuery())&&(ht.PageFooter=Ft.first)}},decls:22,vars:12,consts:[[1,"ion-no-border"],[2,"width","10px"],[4,"ngIf"],["no-shadow","","no-border",""],["class","paddingtable","width","100%",4,"ngIf"],["PageFooter",""],[2,"width","100%"],[2,"width","50%"],["Iconname","people-outline",3,"Dialogbreite","Titel","StandortClickedEvent","CancelClickedEvent","OkClickedEvent","ResturlaubEvent","AnredeClickedEvent","PositionClickedEvent","UrlaubClickedEvent",4,"ngIf"],[3,"Auswahlliste","Auswahlindex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent",4,"ngIf"],[3,"PageHeader","PageFooter","Breite","Buchstabenliste","Auswahl","AlphabetClicked"],["Alphabet",""],[1,"menubuttonclass",3,"mouseenter","mouseleave","click"],[1,"paddingsmalltable"],["name","home-outline",2,"font-size","16px",3,"color"],["align","center",1,"trennertdclass"],[1,"trennerdivclass"],[4,"ngFor","ngForOf"],[1,"butttonclass",3,"click"],[1,"nopaddingtable"],[2,"width","300px"],["style","width: 300px",4,"ngFor","ngForOf"],[2,"text-align","center"],[2,"width","300px","background","#444444"],["colspan","3",2,"padding","4px"],[2,"width","100px","cursor","pointer","background","MediumSeaGreen","color","white","padding","8px",3,"click"],[2,"width","100px","cursor","pointer","background","DodgerBlue","color","white","padding","8px",3,"click"],[2,"width","100px","cursor","pointer","background","Gray","color","white","padding","8px",3,"click"],["border","1",4,"ngFor","ngForOf"],["border","1"],["border","1",2,"width","100%"],[3,"click"],["class","paddingtable",4,"ngIf"],["align","right",4,"ngIf"],[1,"paddingtable"],["color","orange"],[2,"height","20px","width","20px","border-radius","4px"],[2,"width","280px"],["style","width: 300px","valign","bottom",4,"ngFor","ngForOf"],["valign","bottom",2,"width","300px"],["colspan","3",2,"height","6px"],["align","center",2,"width","33%"],["class","checkboxdivclass","style","background: MediumSeaGreen;",4,"ngIf"],["class","checkboxdivclass","style","background: DodgerBlue;",4,"ngIf"],[1,"checkboxdivclass",2,"background","Gray"],[3,"Checked","CheckChanged"],[1,"checkboxdivclass",2,"background","MediumSeaGreen"],[1,"checkboxdivclass",2,"background","DodgerBlue"],["align","right"],["valign","top",2,"width","300px"],["class","paddingsmalltable",4,"ngIf"],[2,"width","10%"],["name","shield-half-outline","color","rot",2,"font-size","20px"],[2,"font-size","90%","font-weight","bold"],["name","sunny","color","orange",2,"font-size","20px"],[2,"font-size","80%","color","#444444"],["name","home","color","blau",2,"font-size","20px"],["width","100%",1,"paddingtable"],[2,"height","80px","text-align","center","vertical-align","center"],["Iconname","people-outline",3,"Dialogbreite","Titel","StandortClickedEvent","CancelClickedEvent","OkClickedEvent","ResturlaubEvent","AnredeClickedEvent","PositionClickedEvent","UrlaubClickedEvent"],[3,"Auswahlliste","Auswahlindex","Dialogbreite","PositionY","Titel","Iconname","OkClickedEvent","CancelClickedEvent"]],template:function(Te,ht){if(1&Te&&(l.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header")(2,"table")(3,"tr"),l.\u0275\u0275element(4,"td",1),l.\u0275\u0275template(5,K,10,2,"ng-container",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275template(6,J,5,1,"ng-container",2),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(7,"ion-content",3),l.\u0275\u0275template(8,Se,3,1,"ng-container",2)(9,je,4,0,"table",4),l.\u0275\u0275element(10,"abstand-element-fixed"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(11,"ion-footer")(12,"page-footer",null,5)(14,"table",6)(15,"tr")(16,"td",7),l.\u0275\u0275text(17),l.\u0275\u0275elementEnd()()()()(),l.\u0275\u0275template(18,re,1,2,"fi-mitarbeiter-editor",8)(19,we,1,6,"auswahl-dialog",9),l.\u0275\u0275elementStart(20,"alphabet",10,11),l.\u0275\u0275listener("AlphabetClicked",function(nn){return ht.AlphabetClicked(nn)}),l.\u0275\u0275elementEnd()),2&Te){const Ft=l.\u0275\u0275reference(13);l.\u0275\u0275advance(5),l.\u0275\u0275property("ngIf",null!==ht.Pool.Mitarbeiterdaten&&ht.Pool.Mitarbeiterdaten.Planeradministrator),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",null!==ht.CurrentStandort),l.\u0275\u0275advance(2),l.\u0275\u0275property("ngIf",ht.Mitarbeiterliste&&ht.Mitarbeiterliste.length>0),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",0===ht.Mitarbeiterliste.length),l.\u0275\u0275advance(8),l.\u0275\u0275textInterpolate1(" ",ht.Mitarbeiterliste.length," Eintr\xe4ge "),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",ht.ShowEditor),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",ht.ShowAuswahl),l.\u0275\u0275advance(),l.\u0275\u0275property("PageHeader",ht.PageHeader)("PageFooter",Ft)("Breite",ht.Alphapetbreite)("Buchstabenliste",ht.Mitarbeiteralphabet)("Auswahl",ht.Mitarbeiteralphabetauswahl)}},dependencies:[f.NgForOf,f.NgIf,C.IonContent,C.IonFooter,C.IonHeader,C.IonIcon,C.IonText,_.PageHeaderComponent,w.PageFooterComponent,D.AbstandElementFixedComponent,L.AlphabetComponent,N.FiMitarbeiterEditorComponent,V.AuswahlDialogComponent,G.CheckboxClonComponent],styles:[".menubuttonclass[_ngcontent-%COMP%]{display:flex;justify-content:flex-start;align-items:center;width:100%;min-height:50px;padding:2px}.trennertdclass[_ngcontent-%COMP%]{width:30px}.trennerdivclass[_ngcontent-%COMP%]{width:1px;min-height:30px;height:100%;background:#fff}.butttonclass[_ngcontent-%COMP%]{padding:8px;border-radius:4px;background:#444;font-size:120%;cursor:pointer}.butttonclass[_ngcontent-%COMP%]:hover{background:#7b6a58}.checkboxdivclass[_ngcontent-%COMP%]{border-radius:3px;padding:4px;width:34px;height:34px;display:flex;justify-content:center;align-items:center}"]})}return tt})()},96012:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.FiStandortelistePageModule=void 0;const n=s(81316),c=s(91368),u=s(44716),l=s(53076),i=s(92512),e=s(90756),o=s(6512),d=s(87143),v=s(79664),M=s(70216),p=s(90520),E=s(6168),S=s(54588),y=s(10272),f=n.__importStar(s(54496)),_=(n.__importStar(s(53076)),[{path:"",component:e.FiStandortelistePage}]);m.FiStandortelistePageModule=(()=>{class D{static \u0275fac=function(V){return new(V||D)};static \u0275mod=f.\u0275\u0275defineNgModule({type:D});static \u0275inj=f.\u0275\u0275defineInjector({imports:[c.CommonModule,u.FormsModule,u.ReactiveFormsModule,i.IonicModule,l.RouterModule.forChild(_),o.AbstandElementFixedModule,d.AlphabetModule,v.FiStandortEditorModule,M.PageHeaderModule,p.PageFooterModule,E.PageHeaderMenuModule,S.PageModalKeepermodule,y.AuswahlDialogModule]})}return D})()},90756:(pe,m,s)=>{"use strict";var n=s(1196).default;Object.defineProperty(m,"__esModule",{value:!0}),m.FiStandortelistePage=void 0;const c=s(81316),u=c.__importStar(s(17964)),l=c.__importStar(s(54496)),i=c.__importStar(s(14652)),e=c.__importStar(s(34388)),o=c.__importStar(s(19668)),d=c.__importStar(s(29743)),v=c.__importStar(s(58864)),M=c.__importStar(s(34636)),p=c.__importStar(s(22848)),E=c.__importStar(s(9544)),S=c.__importStar(s(48044)),y=c.__importStar(s(7992)),f=c.__importStar(s(91368)),C=c.__importStar(s(92512)),_=c.__importStar(s(99031)),w=c.__importStar(s(41656)),D=c.__importStar(s(90212)),L=c.__importStar(s(29856)),N=c.__importStar(s(63792)),V=c.__importStar(s(56584)),G=["Alphabet"],R=["PageHeader"],k=["PageFooter"];function A($e,Be){if(1&$e&&(l.\u0275\u0275elementStart(0,"ion-row")(1,"ion-col",15)(2,"ion-text",33)(3,"b"),l.\u0275\u0275text(4),l.\u0275\u0275elementEnd()()()()),2&$e){const _e=l.\u0275\u0275nextContext().index,Me=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(4),l.\u0275\u0275textInterpolate(Me.Standortebuchstabenliste[_e])}}function H($e,Be){if(1&$e&&(l.\u0275\u0275elementStart(0,"tr")(1,"td"),l.\u0275\u0275text(2),l.\u0275\u0275elementEnd()()),2&$e){const _e=l.\u0275\u0275nextContext().$implicit;l.\u0275\u0275advance(2),l.\u0275\u0275textInterpolate1(" ",_e.Ort," ")}}function K($e,Be){if(1&$e&&(l.\u0275\u0275elementStart(0,"tr")(1,"td")(2,"span"),l.\u0275\u0275text(3),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(4,"span",34),l.\u0275\u0275text(5),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(6,"span"),l.\u0275\u0275text(7),l.\u0275\u0275elementEnd()()()),2&$e){const _e=l.\u0275\u0275nextContext().$implicit;l.\u0275\u0275advance(3),l.\u0275\u0275textInterpolate(_e.Text_A),l.\u0275\u0275advance(2),l.\u0275\u0275textInterpolate(_e.Text_B),l.\u0275\u0275advance(2),l.\u0275\u0275textInterpolate(_e.Text_C)}}function ie($e,Be){if(1&$e&&(l.\u0275\u0275elementStart(0,"tr"),l.\u0275\u0275element(1,"td"),l.\u0275\u0275elementStart(2,"td",35),l.\u0275\u0275text(3),l.\u0275\u0275elementEnd()()),2&$e){const _e=l.\u0275\u0275nextContext().$implicit;l.\u0275\u0275advance(3),l.\u0275\u0275textInterpolate2("",_e.Vorname," ",_e.Name,"")}}function J($e,Be){if(1&$e&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275template(1,ie,4,2,"tr",3),l.\u0275\u0275elementContainerEnd()),2&$e){const _e=Be.$implicit,Me=l.\u0275\u0275nextContext().$implicit,Se=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",Se.CheckMitarbeiterIsStandortUrlaubsfreigabe(_e._id,Me))}}function be($e,Be){if(1&$e&&(l.\u0275\u0275elementStart(0,"tr"),l.\u0275\u0275element(1,"td"),l.\u0275\u0275elementStart(2,"td",35),l.\u0275\u0275text(3),l.\u0275\u0275elementEnd()()),2&$e){const _e=l.\u0275\u0275nextContext().$implicit;l.\u0275\u0275advance(3),l.\u0275\u0275textInterpolate2("",_e.Vorname," ",_e.Name,"")}}function ce($e,Be){if(1&$e&&(l.\u0275\u0275elementContainerStart(0),l.\u0275\u0275template(1,be,4,2,"tr",3),l.\u0275\u0275elementContainerEnd()),2&$e){const _e=Be.$implicit,Me=l.\u0275\u0275nextContext().$implicit,Se=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",Se.CheckMitarbeiterIsStandortHomeofficefreigabe(_e._id,Me))}}function Ge($e,Be){if(1&$e){const _e=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"ion-item",13),l.\u0275\u0275listener("click",function(){const je=l.\u0275\u0275restoreView(_e).$implicit,re=l.\u0275\u0275nextContext(2);return l.\u0275\u0275resetView(re.StandortButtonClicked(je))}),l.\u0275\u0275elementStart(1,"ion-grid",14),l.\u0275\u0275template(2,A,5,1,"ion-row",3),l.\u0275\u0275elementStart(3,"ion-row")(4,"ion-col",15)(5,"table",16)(6,"tr")(7,"td",17)(8,"div",18)(9,"table",19)(10,"tr")(11,"td")(12,"table",20),l.\u0275\u0275template(13,H,3,1,"tr",3)(14,K,8,3,"tr",3),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275elementStart(15,"tr")(16,"td")(17,"table",21)(18,"tr")(19,"td",22),l.\u0275\u0275text(20,"K\xfcrzel:"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(21,"td"),l.\u0275\u0275text(22),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(23,"td",23),l.\u0275\u0275elementStart(24,"td",22),l.\u0275\u0275text(25,"Email:"),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(26,"td"),l.\u0275\u0275text(27),l.\u0275\u0275elementEnd(),l.\u0275\u0275element(28,"td",23),l.\u0275\u0275elementEnd()()()()()()(),l.\u0275\u0275elementStart(29,"td",24)(30,"table",25)(31,"tr")(32,"td",26)(33,"table",27)(34,"tr")(35,"td"),l.\u0275\u0275element(36,"ion-icon",28),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(37,"td",29),l.\u0275\u0275text(38,"Urlaubsfreigaben"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275template(39,J,2,1,"ng-container",30),l.\u0275\u0275elementEnd()(),l.\u0275\u0275elementStart(40,"td",26)(41,"table",27)(42,"tr")(43,"td"),l.\u0275\u0275element(44,"ion-icon",31),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(45,"td",29),l.\u0275\u0275text(46,"Homeofficefreigaben"),l.\u0275\u0275elementEnd()(),l.\u0275\u0275template(47,ce,2,1,"ng-container",30),l.\u0275\u0275elementEnd()(),l.\u0275\u0275element(48,"td",32),l.\u0275\u0275elementEnd()()()()()()()()()}if(2&$e){const _e=Be.$implicit,Me=Be.index,Se=l.\u0275\u0275nextContext(2);l.\u0275\u0275advance(2),l.\u0275\u0275property("ngIf",""!==Se.Standortebuchstabenliste[Me]),l.\u0275\u0275advance(11),l.\u0275\u0275property("ngIf",!_e.Filtered),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",_e.Filtered),l.\u0275\u0275advance(8),l.\u0275\u0275textInterpolate(_e.Kuerzel),l.\u0275\u0275advance(5),l.\u0275\u0275textInterpolate(_e.Email),l.\u0275\u0275advance(12),l.\u0275\u0275property("ngForOf",Se.DBMitarbeiter.GetUrlausbsfreigeberliste(_e._id)),l.\u0275\u0275advance(8),l.\u0275\u0275property("ngForOf",Se.DBMitarbeiter.GetHomeofficefreigeberliste(_e._id))}}function ct($e,Be){if(1&$e&&(l.\u0275\u0275elementStart(0,"ion-list"),l.\u0275\u0275template(1,Ge,49,7,"ion-item",12),l.\u0275\u0275elementEnd()),2&$e){const _e=l.\u0275\u0275nextContext();l.\u0275\u0275advance(),l.\u0275\u0275property("ngForOf",_e.Standorteliste)}}function Oe($e,Be){1&$e&&(l.\u0275\u0275elementStart(0,"table",36)(1,"tr")(2,"td",37),l.\u0275\u0275text(3," kein Standorte vorhanden "),l.\u0275\u0275elementEnd()()())}function ke($e,Be){if(1&$e){const _e=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"fi-standort-editor",38),l.\u0275\u0275listener("CancelClickedEvent",function(){l.\u0275\u0275restoreView(_e);const Se=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Se.ShowEditor=!1)})("OkClickedEvent",function(){l.\u0275\u0275restoreView(_e);const Se=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Se.ShowEditor=!1)})("DeleteClickedEvent",function(){l.\u0275\u0275restoreView(_e);const Se=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Se.ShowEditor=!1)})("LandClickedEvent",function(){l.\u0275\u0275restoreView(_e);const Se=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Se.LandClickedEventHandler())})("BundeslandClickedEvent",function(){l.\u0275\u0275restoreView(_e);const Se=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Se.BundeslandClickedEventHandler())})("KonfessionClickedEvent",function(){l.\u0275\u0275restoreView(_e);const Se=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Se.KonfessionClickedEventHandler())}),l.\u0275\u0275elementEnd()}if(2&$e){const _e=l.\u0275\u0275nextContext();l.\u0275\u0275property("Dialogbreite",600)("Dialoghoehe",800)("PositionY",100)("Titel",_e.GetDialogTitel())}}function Re($e,Be){if(1&$e){const _e=l.\u0275\u0275getCurrentView();l.\u0275\u0275elementStart(0,"auswahl-dialog",39),l.\u0275\u0275listener("OkClickedEvent",function(Se){l.\u0275\u0275restoreView(_e);const je=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(je.AuswahlOkButtonClicked(Se))})("CancelClickedEvent",function(){l.\u0275\u0275restoreView(_e);const Se=l.\u0275\u0275nextContext();return l.\u0275\u0275resetView(Se.ShowAuswahl=!1)}),l.\u0275\u0275elementEnd()}if(2&$e){const _e=l.\u0275\u0275nextContext();l.\u0275\u0275property("Auswahlliste",_e.Auswahlliste)("Auswahlindex",_e.Auswahlindex)("ZIndex",5e3)("Dialogbreite",400)("PositionY",100)("Titel",_e.Auswahltitel)("Iconname","")}}m.FiStandortelistePage=(()=>{class $e{Basics;Debug;Tools;Const;DB;Security;DBMitarbeiter;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(_e,Me,Se,je,re,we,rt,tt,wt,ye){this.Basics=_e,this.Debug=Me,this.Tools=Se,this.Const=je,this.DB=re,this.Security=we,this.DBMitarbeiter=rt,this.DBUrlaub=tt,this.Auswahlservice=wt,this.Pool=ye;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(Te){this.Debug.ShowErrorMessage(Te.message,"Standorteliste","constructor",this.Debug.Typen.Page)}}ngOnDestroy(){try{this.ListeSubscription.unsubscribe(),this.ListeSubscription=null}catch(_e){this.Debug.ShowErrorMessage(_e.message,"Standorteliste","OnDestroy",this.Debug.Typen.Page)}}ngOnInit(){try{this.ListeSubscription=this.Pool.StandortelisteChanged.subscribe(()=>{this.PrepareDaten()})}catch(_e){this.Debug.ShowErrorMessage(_e.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(_e){this.Debug.ShowErrorMessage(_e.message,"Standorteliste","ionViewDidEnter",this.Debug.Typen.Page)}}ionViewDidLeave(){}StandortButtonClicked(_e){try{this.DB.CurrentStandort=u.cloneDeep(_e),this.ShowEditor=!0}catch(Me){this.Debug.ShowErrorMessage(Me.message,"Standorteliste","MitrabeiterButtonClicked",this.Debug.Typen.Page)}}AddStandorteButtonClicked(){try{this.DB.CurrentStandort=this.DB.GetEmptyStandort(),this.ShowEditor=!0}catch(_e){this.Debug.ShowErrorMessage(_e.message,"Standorteliste","AddStandorteButtonClicked",this.Debug.Typen.Page)}}AlphabetClicked(_e){try{this.Standortefiltertext="",this.Standortefilter="",this.Standortealphabetauswahl=_e,this.PrepareDaten()}catch(Me){this.Debug.ShowErrorMessage(Me.message,"Standorteliste","AlphabetClicked",this.Debug.Typen.Page)}}GetStandorteAlphabetbuchstabe(_e){try{let Me=_e.Ort.substring(0,1).toUpperCase();return Me!==this.Lastletter?(this.Lastletter=Me,Me):""}catch(Me){this.Debug.ShowErrorMessage(Me.message,"Standorteliste","GetStandorteAlphabetbuchstabe",this.Debug.Typen.Page)}}PrepareDaten(){try{let _e,Me,Se,je,re,we,rt,tt,wt,ye,Te,ht;if(null!==this.Pool.Standorteliste){if(je=u.cloneDeep(this.Pool.Standorteliste),this.Lastletter="",_e=u.cloneDeep(je),_e.sort((Ft,nn)=>Ft.Ortnn.Ort?1:0),null!==this.DB.CurrentStandortfilter){Me=u.cloneDeep(_e),_e=[];for(let Ft of Me)_e.push(Ft)}if(_e.length>6){this.Standortealphabet=["Alle"];for(let Ft of _e)Se=Ft.Ort.substring(0,1).toUpperCase(),-1===this.Standortealphabet.indexOf(Se)&&this.Standortealphabet.push(Se)}else this.Standortealphabet=this.Standardalphabet;if("Alle"!==this.Standortealphabetauswahl){Me=u.cloneDeep(_e),_e=[];for(let Ft of Me)Se=Ft.Ort.substring(0,1).toUpperCase(),this.Standortealphabetauswahl===Se&&_e.push(Ft)}if(""!==this.Standortefilter){Me=u.cloneDeep(_e),_e=[];for(let Ft of Me)Te=this.Standortefilter.toLowerCase(),ht=Ft.Ort.toLowerCase(),ye=ht.indexOf(Te),-1!==ye&&(re=Ft.Ort.length,wt=Te.length,we=Ft.Ort.substr(0,ye),rt=Ft.Ort.substr(ye,wt),wt=re-wt-ye,tt=Ft.Ort.substr(re-wt,wt),Ft.Filtered=!0,Ft.Text_A=we,Ft.Text_B=rt,Ft.Text_C=tt,_e.push(Ft))}this.Standortebuchstabenliste=[];for(let Ft of _e)this.Standortebuchstabenliste.push(this.GetStandorteAlphabetbuchstabe(Ft));this.Standorteliste=u.cloneDeep(_e)}}catch(_e){this.Debug.ShowErrorMessage(_e.message,"Standorteliste","PrepareDaten",this.Debug.Typen.Page)}}EditorValidChanged(_e){try{this.EditorValid=_e}catch(Me){this.Debug.ShowErrorMessage(Me.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(_e){this.Debug.ShowErrorMessage(_e.message,"Standorteliste","GetDialogTitel",this.Debug.Typen.Page)}}SucheChangedHandler(_e){try{this.Standortefiltertext=_e,this.Standortefilter=this.Standortefiltertext,this.PrepareDaten()}catch(Me){this.Debug.ShowErrorMessage(Me.message,"Standorteliste","SucheChangedHandler",this.Debug.Typen.Page)}}AuswahlOkButtonClicked(_e){var Me=this;return n(function*(){try{switch(Me.Auswahldialogorigin){case Me.Auswahlservice.Auswahloriginvarianten.Standorteeditor_Land:Me.DB.CurrentStandort.Land=_e;break;case Me.Auswahlservice.Auswahloriginvarianten.Standorteeditor_Bundesland:Me.DB.CurrentStandort.Bundesland=_e;break;case Me.Auswahlservice.Auswahloriginvarianten.Standorteeditor_Konfession:Me.DB.CurrentStandort.Konfession=_e}Me.ShowAuswahl=!1}catch(Se){Me.Debug.ShowErrorMessage(Se.message,"Standorteliste","AuswahlOkButtonClicked",Me.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=u.findIndex(this.Auswahlliste,{Data:this.DB.CurrentStandort.Land})}catch(_e){this.Debug.ShowErrorMessage(_e,"Standorteliste","LandClickedEventHandler",this.Debug.Typen.Page)}}BundeslandClickedEventHandler(){try{let _e=0;this.Auswahldialogorigin=this.Auswahlservice.Auswahloriginvarianten.Standorteeditor_Bundesland,this.Auswahltitel="Bundesland ausw\xe4hlen",this.Auswahlhoehe=600,this.ShowAuswahl=!0,this.Auswahlliste=[];for(let Me of this.DBUrlaub.Regionenliste)this.Auswahlliste.push({Index:_e,FirstColumn:Me.Name,SecoundColumn:Me.isoCode,Data:Me.isoCode}),_e++;this.Auswahlindex=u.findIndex(this.Auswahlliste,{Data:this.DB.CurrentStandort.Bundesland})}catch(_e){this.Debug.ShowErrorMessage(_e,"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=u.findIndex(this.Auswahlliste,{Data:this.DB.CurrentStandort.Konfession})}catch(_e){this.Debug.ShowErrorMessage(_e,"Standorteliste","KonfessionClickedEventHandler",this.Debug.Typen.Page)}}CheckMitarbeiterIsStandortUrlaubsfreigabe(_e,Me){try{return-1!==Me.Urlaubfreigabepersonen.indexOf(_e)}catch(Se){this.Debug.ShowErrorMessage(Se,"Standorteliste","CheckMitarbeiterIsStandortUrlaubsfreigabe",this.Debug.Typen.Page)}}CheckMitarbeiterIsStandortHomeofficefreigabe(_e,Me){try{return-1!==Me.Homeofficefreigabepersonen.indexOf(_e)}catch(Se){this.Debug.ShowErrorMessage(Se,"Standorteliste","CheckMitarbeiterIsStandortHomeofficefreigabe",this.Debug.Typen.Page)}}static \u0275fac=function(Me){return new(Me||$e)(l.\u0275\u0275directiveInject(i.BasicsProvider),l.\u0275\u0275directiveInject(e.DebugProvider),l.\u0275\u0275directiveInject(o.ToolsProvider),l.\u0275\u0275directiveInject(d.ConstProvider),l.\u0275\u0275directiveInject(v.DatabaseStandorteService),l.\u0275\u0275directiveInject(M.SecurityService),l.\u0275\u0275directiveInject(p.DatabaseMitarbeiterService),l.\u0275\u0275directiveInject(E.DatabaseUrlaubService),l.\u0275\u0275directiveInject(S.AuswahlDialogService),l.\u0275\u0275directiveInject(y.DatabasePoolService))};static \u0275cmp=l.\u0275\u0275defineComponent({type:$e,selectors:[["fi-standorteliste-page"]],viewQuery:function(Me,Se){if(1&Me&&(l.\u0275\u0275viewQuery(G,5),l.\u0275\u0275viewQuery(R,5),l.\u0275\u0275viewQuery(k,5)),2&Me){let je;l.\u0275\u0275queryRefresh(je=l.\u0275\u0275loadQuery())&&(Se.Alphabetcomponent=je.first),l.\u0275\u0275queryRefresh(je=l.\u0275\u0275loadQuery())&&(Se.PageHeader=je.first),l.\u0275\u0275queryRefresh(je=l.\u0275\u0275loadQuery())&&(Se.PageFooter=je.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"],["size","12"],[2,"width","100%"],["valign","top",2,"width","60%"],[1,"kontaktclass"],["width","100%",1,"paddingsmalltable"],["cellspacing","0","cellpadding","0"],[1,"infotable",2,"white-space","nowrap"],[1,"ergonametextclass"],[2,"width","20px"],[2,"width","auto"],["width","400px"],["valign","top",2,"width","30%"],[1,"paddingsmalltable"],["name","sunny","color","orange",2,"font-size","20px"],[2,"font-size","90%","font-weight","bold"],[4,"ngFor","ngForOf"],["name","home","color","blau",2,"font-size","20px"],[2,"width","10%"],["color","orange"],[2,"color","green"],[2,"font-size","80%","color","#444444"],["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(Me,Se){if(1&Me&&(l.\u0275\u0275elementStart(0,"ion-header",0)(1,"page-header",null,1)(3,"page-header-menu",2),l.\u0275\u0275listener("SucheChanged",function(re){return Se.SucheChangedHandler(re)}),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275elementStart(4,"ion-content"),l.\u0275\u0275template(5,ct,2,1,"ion-list",3)(6,Oe,4,0,"table",4),l.\u0275\u0275elementEnd(),l.\u0275\u0275elementStart(7,"ion-footer")(8,"page-footer",null,5)(10,"div",6),l.\u0275\u0275listener("click",function(){return Se.AddStandorteButtonClicked()}),l.\u0275\u0275element(11,"ion-icon",7),l.\u0275\u0275elementEnd()()(),l.\u0275\u0275template(12,ke,1,4,"fi-standort-editor",8)(13,Re,1,7,"auswahl-dialog",9),l.\u0275\u0275elementStart(14,"alphabet",10,11),l.\u0275\u0275listener("AlphabetClicked",function(re){return Se.AlphabetClicked(re)}),l.\u0275\u0275elementEnd()),2&Me){const je=l.\u0275\u0275reference(2),re=l.\u0275\u0275reference(9);l.\u0275\u0275advance(3),l.\u0275\u0275property("ShowSuchleiste",!0)("ShowStandorttitle",!0),l.\u0275\u0275advance(2),l.\u0275\u0275property("ngIf",Se.Standorteliste&&Se.Standorteliste.length>0),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",0===Se.Standorteliste.length),l.\u0275\u0275advance(6),l.\u0275\u0275property("ngIf",Se.ShowEditor),l.\u0275\u0275advance(),l.\u0275\u0275property("ngIf",Se.ShowAuswahl),l.\u0275\u0275advance(),l.\u0275\u0275property("PageHeader",je)("PageFooter",re)("Buchstabenliste",Se.Standortealphabet)("Breite",Se.Alphapetbreite)("Auswahl",Se.Standortealphabetauswahl)}},dependencies:[f.NgForOf,f.NgIf,C.IonCol,C.IonContent,C.IonFooter,C.IonGrid,C.IonHeader,C.IonIcon,C.IonItem,C.IonList,C.IonRow,C.IonText,_.AlphabetComponent,w.FiStandortEditorComponent,D.PageHeaderComponent,L.PageFooterComponent,N.PageHeaderMenuComponent,V.AuswahlDialogComponent],styles:[".infotable[_ngcontent-%COMP%] td[_ngcontent-%COMP%]{font-size:80%;color:#444}.ergonametextclass[_ngcontent-%COMP%]{font-weight:700}"]})}return $e})()},84104:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.SafePipeModule=void 0;const c=s(81316).__importStar(s(54496));m.SafePipeModule=(()=>{class l{static \u0275fac=function(o){return new(o||l)};static \u0275mod=c.\u0275\u0275defineNgModule({type:l});static \u0275inj=c.\u0275\u0275defineInjector({})}return l})()},66144:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.SafePipe=void 0;const n=s(81316),c=n.__importStar(s(54496)),u=n.__importStar(s(14476));m.SafePipe=(()=>{class i{sanitizer;constructor(o){this.sanitizer=o}transform(o,d){switch(d){case"html":return this.sanitizer.bypassSecurityTrustHtml(o);case"style":return this.sanitizer.bypassSecurityTrustStyle(o);case"script":return this.sanitizer.bypassSecurityTrustScript(o);case"url":return this.sanitizer.bypassSecurityTrustUrl(o);case"resourceUrl":return this.sanitizer.bypassSecurityTrustResourceUrl(o);default:throw new Error(`Invalid safe type specified: ${d}`)}}static \u0275fac=function(d){return new(d||i)(c.\u0275\u0275directiveInject(u.DomSanitizer,16))};static \u0275pipe=c.\u0275\u0275definePipe({name:"safe",type:i,pure:!0})}return i})()},48044:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.AuswahlDialogService=void 0;const n=s(81316),c=n.__importStar(s(54496)),u=n.__importStar(s(34388));m.AuswahlDialogService=(()=>{class i{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",Mitarbeiter_Liste_Position:"Mitarbeiter_Liste_Position",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",Urlaubsplanung_Jahr_Aendern:"Urlaubsplanung_Jahr_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(o){this.Debug=o}static \u0275fac=function(d){return new(d||i)(c.\u0275\u0275inject(u.DebugProvider))};static \u0275prov=c.\u0275\u0275defineInjectable({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})()},14652:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.BasicsProvider=void 0;const n=s(81316),c=n.__importStar(s(54496)),u=n.__importStar(s(92512)),l=n.__importStar(s(29743));m.BasicsProvider=(()=>{class e{platform;Const;Headerhoehe=0;Footerhoehe=0;Contenthoehe=0;Contentbreite=0;InnerContenthoehe=0;Waittime=300;Svgpath="assets/svgs/";AppBuild="15.10.2024 23:00";AppVersionName="1.21";AppVersionDatum="15.10.2024";WebAppUrl="https://polite-cliff-084832d03.4.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"};constructor(d,v){this.platform=d,this.Const=v}MeassureInnercontent(d,v){try{this.Headerhoehe=typeof d<"u"&&null!==d?d.PageHeaderDiv.nativeElement.clientHeight:56,this.Footerhoehe=typeof v<"u"&&null!==v?v.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(M){window.console.log(M+" / Basics / MeassureInnercontent ")}}static \u0275fac=function(v){return new(v||e)(c.\u0275\u0275inject(u.Platform),c.\u0275\u0275inject(l.ConstProvider))};static \u0275prov=c.\u0275\u0275defineInjectable({token:e,factory:e.\u0275fac,providedIn:"root"})}return e})()},29743:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.ConstProvider=void 0;const c=s(81316).__importStar(s(54496)),e={ok:"ok",no:"no",cancel:"cancel",delete:"delete",wahla:"wahla",wahlb:"wahlb"},w={HomePage:"HomePage",WartungPage:"WartungPage",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",UrlaubsgesamtuebersichtPage:"UrlaubsgesamtuebersichtPage",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"},H={Person:"Person",Firma:"Firma"},K={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"}},ie={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"}},J={UNBEKANNT:"unbekannt",LPH1:"LPH1",LPH2:"LPH2",LPH3:"LPH3",LPH4:"LPH4",LPH5:"LPH5",LPH6:"LPH6",LPH7:"LPH7",LPH8:"LPH8"},be={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"}},Oe={Script:"Script",Sql:"Sql",Transaction:"Transaction",Firebase:"Firebase"},_e={Bearbeitung:"Bearbeitung",Abgeschlossen:"Abgeschlossen",Ruht:"Ruht"},Me={Faellig:"Faellig",Ueberfaellig:"Uberfaellig",Nicht_faellig:"nicht faellig"},Se={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"},we={Herr:"Herr",Frau:"Frau",Unbekannt:"Unbekannt"},rt={Minuten:"Minuten",Stunden:"Stunden",Tage:"Tage"},tt={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"}},wt={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"}},Te={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"},ht={TermineAbsteigend:"TermineAbsteigend",TermineAufsteigend:"TermineAufsteigend"};m.ConstProvider=(()=>{class nn{NONE="none";Pages=w;Fehlermeldungtypen=Oe;Dialogmessages=e;Projektpunktstatustypen=wt;Zeitfilter=Se;Projektstatusvarianten=_e;Faelligkeitsstatus=Me;Beteiligtentypen=be;Fachfirmentypen=K;Beteiligteneintragtypen=H;Anredevariante=we;Zeitansatzeinheitvarianten=rt;Faelligkeitsterminfiltervarianten=Te;AufgabenSortiermodusvarianten=ht;Projektpunktprioritaetstypen=tt;Leistungsphasenvarianten=J;Anlagengruppen=ie;constructor(){}static \u0275fac=function(Mn){return new(Mn||nn)};static \u0275prov=c.\u0275\u0275defineInjectable({token:nn,factory:nn.\u0275fac,providedIn:"root"})}return nn})()},96140:(pe,m,s)=>{"use strict";var n=s(1196).default;Object.defineProperty(m,"__esModule",{value:!0}),m.DatabaseAppeinstellungenService=void 0;const c=s(81316),u=s(97048),l=c.__importStar(s(17964)),i=c.__importStar(s(54496)),e=c.__importStar(s(34388)),o=c.__importStar(s(7992)),d=c.__importStar(s(29743)),v=c.__importStar(s(97048));m.DatabaseAppeinstellungenService=(()=>{class p{Debug;Pool;Const;http;ServerUrl;constructor(S,y,f,C){this.Debug=S,this.Pool=y,this.Const=f,this.http=C;try{this.ServerUrl=this.Pool.CockpitdockerURL+"/appeinstellungen"}catch(_){this.Debug.ShowErrorMessage(_.message,"Database Appeinstellungen","constructor",this.Debug.Typen.Service)}}ReadAppeinstellungen(){try{let y,S=[];this.Debug.ShowMessage("ReadAppeinstellungen","Database Appeinstellungen","ReadAppeinstellungen",this.Debug.Typen.Service);let f=new u.HttpHeaders({"content-type":"application/json"});return new Promise((C,_)=>{this.http.get(this.ServerUrl,{headers:f}).subscribe({next:D=>{S=D},complete:()=>{y=S.length>0?S[0]:this.GetEmptyAppeinstellungen(),l.isUndefined(y.Wartungsmodus)&&(y.Wartungsmodus=!1),this.Pool.Appeinstellungen=y,C(!0)},error:D=>{_(D)}})})}catch(S){this.Debug.ShowErrorMessage(S.message,"Database Pool","ReadAppeinstellungen",this.Debug.Typen.Service)}}GetEmptyAppeinstellungen(){try{return{_id:null,ShowHomeScreenInfos:!0,DebugNoExternalEmail:!0,Wartungsmodus:!1,AdminStartseite:this.Const.Pages.HomePage}}catch(S){this.Debug.ShowErrorMessage(S.message,"Database Appeinstellungen","GetEmptyAppeinstellungen",this.Debug.Typen.Service)}}SaveAppeinstellungen(){var S=this;return n(function*(){try{null===S.Pool.Appeinstellungen._id?yield S.AddAppeinstellungen():yield S.UpdateAppeinstellungen()}catch(y){S.Debug.ShowErrorMessage(y.message,"Database Appeinstellungen","SaveAppeinstellungen",S.Debug.Typen.Service)}})()}AddAppeinstellungen(){try{let S,y;return new Promise((f,C)=>{S=this.http.post(this.ServerUrl,this.Pool.Appeinstellungen),S.subscribe({next:_=>{y=_.data},complete:()=>{this.Pool.Appeinstellungen=y,f(!0)},error:_=>{C(_)}})})}catch(S){this.Debug.ShowErrorMessage(S.message,"Database Appeinstellungen","AddAppeinstellungen",this.Debug.Typen.Service)}}UpdateAppeinstellungen(){try{let S;return new Promise((f,C)=>{S=this.http.put(this.ServerUrl,this.Pool.Appeinstellungen),S.subscribe({next:_=>{},complete:()=>{f(!0)},error:_=>{C(_)}})})}catch(S){this.Debug.ShowErrorMessage(S.message,"Database Appeinstellungen","UpdateAppeinstellungen",this.Debug.Typen.Service)}}static \u0275fac=function(y){return new(y||p)(i.\u0275\u0275inject(e.DebugProvider),i.\u0275\u0275inject(o.DatabasePoolService),i.\u0275\u0275inject(d.ConstProvider),i.\u0275\u0275inject(v.HttpClient))};static \u0275prov=i.\u0275\u0275defineInjectable({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})()},97092:(pe,m,s)=>{"use strict";var n=s(1196).default;Object.defineProperty(m,"__esModule",{value:!0}),m.DatabaseAuthenticationService=void 0;const c=s(81316),u=s(54496),l=s(23476),i=s(21112),e=s(80103),o=c.__importStar(s(17964)),d=c.__importStar(s(54496)),v=c.__importStar(s(34388)),M=c.__importStar(s(23476)),p=c.__importStar(s(29743)),E=c.__importStar(s(53076));m.DatabaseAuthenticationService=(()=>{class y{msalGuardConfig;Debug;authService;Const;router;MSALService;LoginSuccessEvent=new u.EventEmitter;ActiveUser;SecurityEnabled;DevelopmentUser;ShowLogin;constructor(C,_,w,D,L,N){this.msalGuardConfig=C,this.Debug=_,this.authService=w,this.Const=D,this.router=L,this.MSALService=N;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(V){this.Debug.ShowErrorMessage(V.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(C){this.Debug.ShowErrorMessage(C,"Database Authentication","UnsetActiveUser",this.Debug.Typen.Service)}}SetActiveUser(){var C=this;return n(function*(){try{let _,w;return C.Debug.ShowMessage("Set Active User started","Database Authentication","SetActiveUser",C.Debug.Typen.Service),new Promise(D=>{if(C.SecurityEnabled){if(_=C.MSALService.instance.getActiveAccount(),w=C.MSALService.instance.getAllAccounts(),!o.isUndefined(w)&&null!==w&&w.length>0)for(_ of w)console.log(_.username);console.log(null!==_?_.username:"Account ist null"),null===_&&(C.Debug.ShowMessage("Active Account ist null","Database Authentication","SetActiveUser",C.Debug.Typen.Service),!o.isUndefined(w)&&null!==w&&w.length>0?(C.Debug.ShowMessage("Accountliste vorhanden","Database Authentication","SetActiveUser",C.Debug.Typen.Service),_=w[0]):C.Debug.ShowMessage("keine Accountlist vorhanden","Database Authentication","SetActiveUser",C.Debug.Typen.Service)),null!==_?(C.ActiveUser=_,D(!0)):(C.UnsetActiveUser(),D(!0))}else C.ActiveUser=C.DevelopmentUser,D(!0)})}catch(_){C.Debug.ShowErrorMessage(_,"Database Authentication","SetActiveUser",C.Debug.Typen.Service)}})()}SetShowLoginStatus(){try{let C="nothing",_=this.MSALService.instance.getAllAccounts();this.Debug.ShowMessage(C,"SetShowLoginStatus gestartet","SetShowLogin",this.Debug.Typen.Service),0===_.length?(this.ShowLogin=!0,console.log("Accountliste ist leer. LOGIN anzeigen.")):this.ShowLogin=!1,!1===this.SecurityEnabled&&(this.ShowLogin=!1),C=!0===this.ShowLogin?"Anmeldung anzeigen":"Hauptmenu anzeigen",this.Debug.ShowMessage(C,"Database Authentication","SetShowLogin",this.Debug.Typen.Service)}catch(C){this.Debug.ShowErrorMessage(C,"Database Authentication","SetShowLoginStatus",this.Debug.Typen.Service)}}RequestToken(C){var _=this;return n(function*(){try{const w={scopes:[C],account:_.ActiveUser};return new Promise((D,L)=>{_.authService.acquireTokenSilent(w).pipe((0,e.catchError)(N=>{if(N)switch(N.errorCode){case"login_required":case"monitor_window_timeout":_.Login()}return(0,e.of)(null!=N)})).subscribe(N=>{D(N.accessToken?N.accessToken:null)})})}catch(w){_.Debug.ShowErrorMessage(w,"Database Authentication","RequestToken",_.Debug.Typen.Service)}})()}Login(){try{this.SecurityEnabled&&(this.msalGuardConfig.interactionType===i.InteractionType.Popup?this.msalGuardConfig.authRequest?this.authService.loginPopup({...this.msalGuardConfig.authRequest}).subscribe(C=>{this.authService.instance.setActiveAccount(C.account)}):this.authService.loginPopup().subscribe(C=>{this.authService.instance.setActiveAccount(C.account)}):this.msalGuardConfig.authRequest?this.authService.loginRedirect({...this.msalGuardConfig.authRequest}):this.authService.loginRedirect())}catch(C){this.Debug.ShowErrorMessage(C,"Database Authentication","Login",this.Debug.Typen.Service)}}Logout(){try{this.msalGuardConfig.interactionType===i.InteractionType.Popup?this.authService.logoutPopup({postLogoutRedirectUri:"/",mainWindowRedirectUri:"/"}):this.authService.logoutRedirect({postLogoutRedirectUri:"/"}),this.ActiveUser=null}catch(C){this.Debug.ShowErrorMessage(C.message,"Database Authentication","Logout",this.Debug.Typen.Service)}}canLoad(C){try{return!0===this.CheckSecurity()?(this.Debug.ShowMessage("Database Authentication -> can load: "+C.path,"Security","canLoad",this.Debug.Typen.Service),!0):(this.Debug.ShowMessage("Database Authentication -> can not load: "+C.path,"Security","canLoad",this.Debug.Typen.Service),this.router.navigate([this.Const.Pages.HomePage]),!1)}catch(_){this.Debug.ShowErrorMessage(_.message,"Database Authentication","canLoad",this.Debug.Typen.Service)}}CheckSecurity(){try{return!0}catch(C){this.Debug.ShowErrorMessage(C.message,"Database Authentication","CheckSecurity",this.Debug.Typen.Service)}}static \u0275fac=function(_){return new(_||y)(d.\u0275\u0275inject(l.MSAL_GUARD_CONFIG),d.\u0275\u0275inject(v.DebugProvider),d.\u0275\u0275inject(M.MsalService),d.\u0275\u0275inject(p.ConstProvider),d.\u0275\u0275inject(E.Router),d.\u0275\u0275inject(M.MsalService))};static \u0275prov=d.\u0275\u0275defineInjectable({token:y,factory:y.\u0275fac,providedIn:"root"})}return y})()},51708:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.DatabaseChangelogService=void 0;const n=s(81316),c=n.__importStar(s(17964)),u=s(97048),l=n.__importDefault(s(35908)),i=n.__importStar(s(54496)),e=n.__importStar(s(34388)),o=n.__importStar(s(7992)),d=n.__importStar(s(29743)),v=n.__importStar(s(97048));m.DatabaseChangelogService=(()=>{class p{Debug;Pool;Const;http;ServerUrl;CurrentChangelog;constructor(S,y,f,C){this.Debug=S,this.Pool=y,this.Const=f,this.http=C;try{this.ServerUrl=this.Pool.CockpitdockerURL+"/changelog",this.CurrentChangelog=null}catch(_){this.Debug.ShowErrorMessage(_.message,"Database Chnagelog","constructor",this.Debug.Typen.Service)}}GetChangelog(S){try{let y;return y=c.find(this.Pool.Changlogliste,{_id:S}),c.isUndefined(y)?"unbekannt":y.Beschreibung}catch(y){this.Debug.ShowErrorMessage(y.message,"Mitarbeiter Editor","GetChangelog",this.Debug.Typen.Component)}}GetEmptyChangelog(){try{return{_id:null,Beschreibung:"",Version:"",Zeitstempel:(0,l.default)().valueOf(),Deleted:!1}}catch(S){this.Debug.ShowErrorMessage(S.message,"Database Chnagelog","GetEmptyChangelog",this.Debug.Typen.Service)}}AddChangelog(){try{let S,y;return new Promise((f,C)=>{S=this.http.post(this.ServerUrl,this.CurrentChangelog),S.subscribe({next:_=>{y=_.Changelog},complete:()=>{this.UpdateChangelogliste(y),this.Pool.ChangeloglisteChanged.emit(),f(!0)},error:_=>{C(_)}})})}catch(S){this.Debug.ShowErrorMessage(S.message,"Database Chnagelog","AddChangelog",this.Debug.Typen.Service)}}UpdateChangelogliste(S){try{let y;y=c.findIndex(this.Pool.Changlogliste,{_id:this.CurrentChangelog._id}),-1!==y?(this.Pool.Changlogliste[y]=S,this.Debug.ShowMessage("Changelogliste updated: "+S.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(S)),this.Pool.Changlogliste=c.filter(this.Pool.Changlogliste,f=>!1===f.Deleted)}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Chnagelog","UpdateChangelogliste",this.Debug.Typen.Service)}}UpdateChangelog(){try{let S;return(new u.HttpParams).set("id",this.CurrentChangelog._id),new Promise((f,C)=>{S=this.http.put(this.ServerUrl,this.CurrentChangelog),S.subscribe({next:_=>{},complete:()=>{this.UpdateChangelogliste(this.CurrentChangelog),this.Pool.ChangeloglisteChanged.emit(),f(!0)},error:_=>{C(_)}})})}catch(S){this.Debug.ShowErrorMessage(S.message,"Database Chnagelog","UpdateChangelog",this.Debug.Typen.Service)}}DeleteChangelog(){try{let S;return this.CurrentChangelog.Deleted=!0,new Promise((y,f)=>{S=this.http.put(this.ServerUrl,this.CurrentChangelog),S.subscribe({next:C=>{},complete:()=>{this.UpdateChangelogliste(this.CurrentChangelog),this.Pool.ChangeloglisteChanged.emit(),y(!0)},error:C=>{f(C)}})})}catch(S){this.Debug.ShowErrorMessage(S.message,"Database Chnagelog","DeleteChangelog",this.Debug.Typen.Service)}}static \u0275fac=function(y){return new(y||p)(i.\u0275\u0275inject(e.DebugProvider),i.\u0275\u0275inject(o.DatabasePoolService),i.\u0275\u0275inject(d.ConstProvider),i.\u0275\u0275inject(v.HttpClient))};static \u0275prov=i.\u0275\u0275defineInjectable({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})()},22848:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.DatabaseMitarbeiterService=void 0;const n=s(81316),c=n.__importDefault(s(35908)),u=n.__importStar(s(17964)),l=s(97048),i=n.__importStar(s(54496)),e=n.__importStar(s(34388)),o=n.__importStar(s(97048)),d=n.__importStar(s(29743)),v=n.__importStar(s(7992));m.DatabaseMitarbeiterService=(()=>{class p{Debug;http;Const;Pool;CurrentMitarbeiter;CurrentPosition;ServerMitarbeiterUrl;ServerMitarbeiterpositionUrl;constructor(S,y,f,C){this.Debug=S,this.http=y,this.Const=f,this.Pool=C;try{this.ServerMitarbeiterUrl=this.Pool.CockpitdockerURL+"/mitarbeiter",this.ServerMitarbeiterpositionUrl=this.Pool.CockpitdockerURL+"/mitarbeiterpositionen",this.CurrentMitarbeiter=null,this.CurrentPosition=null}catch(_){this.Debug.ShowErrorMessage(_.message,"Database Mitarbeiter","constructor",this.Debug.Typen.Service)}}ConvertGraphuserToMitarbeiter(S){try{let y,f,C;if(y=this.GetEmptyMitarbeiter(),null===S.surname&&(S.surname=""),null===S.givenName&&(S.givenName=""),null===S.jobTitle&&(S.jobTitle=""),null===S.officeLocation&&(S.officeLocation=""),null===S.mobilePhone&&(S.mobilePhone=""),f=u.isUndefined(S.jobTitle)?"":S.jobTitle,C=u.isUndefined(S.mobilePhone)?"":S.mobilePhone,y.UserID=S.id,y.Email=S.mail,y.Vorname=u.isUndefined(S.givenName)?"":S.givenName,y.Name=u.isUndefined(S.surname)?"":S.surname,y.Mobil=null===C?"":C,y.Jobtitel=null===f?"":f,!1===u.isUndefined(S.businessPhones)&&S.businessPhones.length>0&&(y.Telefon=S.businessPhones[0]),!1===u.isUndefined(S.officeLocation)&&null!==S.officeLocation){y.Location=null!==S.officeLocation?S.officeLocation:"";for(let D of this.Pool.Standorteliste)-1!==S.officeLocation.indexOf(D.Ort)&&(y.StandortID=D._id)}let _=null!==S.surname?S.surname.substring(0,2).toUpperCase():"",w=null!==S.givenName?S.givenName.substring(0,1).toUpperCase():"";return y.Kuerzel=_+""+w,y}catch(y){this.Debug.ShowErrorMessage(y,"Graph","ConvertGraphuserToMitarbeiter",this.Debug.Typen.Service)}}GetMeinewocheStunden(S){try{let y=0,f=0;for(let C of this.Pool.Mitarbeiterdaten.Meinewocheliste)switch(S){case"Montag":C.Montagseinsatz&&(y+=C.Montagsstunden,f+=C.Montagsminuten);break;case"Dienstag":C.Dienstagseinsatz&&(y+=C.Dienstagsstunden,f+=C.Dienstagsminuten);break;case"Mittwoch":C.Mittwochseinsatz&&(y+=C.Mittwochsstunden,f+=C.Mittwochsminuten);break;case"Donnerstag":C.Donnerstagseinsatz&&(y+=C.Donnerstagsstunden,f+=C.Donnerstagsminuten);break;case"Freitag":C.Freitagseinsatz&&(y+=C.Freitagsstunden,f+=C.Freitagsminuten)}return f+=60*y,0===f?"":"["+(f/60).toFixed(2)+" Std]"}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Mitarbeiter","GetMeinewocheStunden",this.Debug.Typen.Service)}}GetEmptyMitarbeiterposition(){try{return{_id:null,Bezeichnung:""}}catch(S){this.Debug.ShowErrorMessage(S,"Database Mitarbeiter","GetEmptyMitarbeiterposition",this.Debug.Typen.Service)}}GetEmptyMitarbeiter(){try{let S=(0,c.default)();return{_id:null,UserID:null,PositionID:null,Anrede:this.Const.NONE,Urlaub:30,Resturlaub:0,Location:"",Jobtitel:"",Vorname:"",Name:"",Kuerzel:"",Fachbereich:"Unbekannt",StandortID:"",Email:"",Mobil:"",SettingsID:null,Telefon:"",Zeitstring:S.format("HH:mm DD.MM.YYYY"),Zeitstempel:S.valueOf(),Deleted:!1,Planeradministrator:!1,Homeofficefreigaben:!1,Homeofficefreigabestandorte:[],Urlaubsfreigabeorte:[],Urlaubsfreigaben:!1,Favoritenliste:[],Meintagliste:[],Meinewocheliste:[],Archiviert:!1,Urlaubsliste:[],Urlaubsfreigeberliste:[],Homeofficefreigeberliste:[],Urlaubsfreigabeinfomailliste:[]}}catch(S){this.Debug.ShowErrorMessage(S.message,"Database Mitarbeiter","GetEmptyMitarbeiter",this.Debug.Typen.Service)}}GetMitarbeitername(S){try{let y=u.find(this.Pool.Mitarbeiterliste,{_id:S});return u.isUndefined(y)?"Unbekannt":y.Vorname+" "+y.Name}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Mitarbeiter","GetMitarbeitername",this.Debug.Typen.Service)}}InitService(){try{for(let S of this.Pool.Mitarbeiterliste)S.ShowInGesamtuebersicht=S.StandortID===this.Pool.Mitarbeiterdaten.StandortID}catch(S){this.Debug.ShowErrorMessage(S.message,"Database Mitarbeiter","InitService",this.Debug.Typen.Service)}}FinishService(){}UpdateMitarbeiter(S){try{let y,f;delete S.__v;for(let C of S.Urlaubsliste)C.Urlaubzeitspannen.sort((_,w)=>_.Startstempelw.Startstempel?1:0);return new Promise((C,_)=>{y=this.http.put(this.ServerMitarbeiterUrl,S),y.subscribe({next:w=>{f=w.Mitarbeiter},complete:()=>{null!==f?(this.CurrentMitarbeiter=f,this.UpdateMitarbeiterliste(this.CurrentMitarbeiter),this.Pool.MitarbeiterlisteChanged.emit()):_(new Error("Mitarbeiter auf Server nicht gefunden.")),C(!0)},error:w=>{_(w)}})})}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Mitarbeiter","UpdateMitarbeiter",this.Debug.Typen.Page)}}GetPositionsbezeichnung(S){try{let y;if(null===S)return"Unbekannt";if(y=u.find(this.Pool.Mitarbeiterpositionenliste,{_id:S}),!u.isUndefined(y))return y.Bezeichnung}catch(y){this.Debug.ShowErrorMessage(y,"Database Mitarbeiter","GetPosition",this.Debug.Typen.Service)}}UpdateMitarbeiterposition(S){try{let y,C,f=new l.HttpParams;return delete S.__v,f.set("id",S._id),new Promise((_,w)=>{y=this.http.put(this.ServerMitarbeiterpositionUrl,S),y.subscribe({next:D=>{C=D.Mitarbeiterposition},complete:()=>{null!==C?(this.CurrentPosition=C,this.UpdateMitarbeiterpositionliste(this.CurrentPosition),this.Pool.MitarbeiterpositionenlisteChanged.emit()):w(new Error("Mitarbeiterposition auf Server nicht gefunden.")),_(!0)},error:D=>{w(D)}})})}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Mitarbeiter","UpdateMitarbeiterposition",this.Debug.Typen.Page)}}UpdateMitarbeiterUrlaub(S){try{let y,C,f=new l.HttpParams;delete S.__v,f.set("id",S._id);for(let _ of S.Urlaubsliste)_.Urlaubzeitspannen.sort((w,D)=>w.StartstempelD.Startstempel?1:0);return new Promise((_,w)=>{y=this.http.put(this.ServerMitarbeiterUrl,S),y.subscribe({next:D=>{C=D.Mitarbeiter},complete:()=>{null!==C?(this.UpdateMitarbeiterliste(C),this.Pool.MitarbeiterlisteChanged.emit(),_(!0)):w(new Error("Mitarbeiter auf Server nicht gefunden."))},error:D=>{w(D)}})})}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Mitarbeiter","UpdateMitarbeiterUrlaub",this.Debug.Typen.Page)}}UpdateMitarbeiterliste(S){try{let y;y=u.findIndex(this.Pool.Mitarbeiterliste,{_id:S._id}),-1!==y?(this.Pool.Mitarbeiterliste[y]=S,this.Debug.ShowMessage("Mitarbeiterliste updated: "+S.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(S)),this.Pool.Mitarbeiterliste=u.filter(this.Pool.Mitarbeiterliste,f=>!1===f.Deleted)}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Mitarbeiter","UpdateMitarbeiterliste",this.Debug.Typen.Service)}}UpdateMitarbeiterpositionliste(S){try{let y;y=u.findIndex(this.Pool.Mitarbeiterpositionenliste,{_id:S._id}),-1!==y?(this.Pool.Mitarbeiterpositionenliste[y]=S,this.Debug.ShowMessage("Mitarbeiterliste updated: "+S.Bezeichnung,"Database Mitarbeiter","UpdateMitarbeiterpositionliste",this.Debug.Typen.Service)):(this.Debug.ShowMessage("Mitarbeiterposition nicht gefunden -> neuen Mitarbeiter hinzuf\xfcgen","Database Mitarbeiter","UpdateMitarbeiterpositionliste",this.Debug.Typen.Service),this.Pool.Mitarbeiterpositionenliste.push(S)),this.Pool.Mitarbeiterpositionenliste.sort((f,C)=>f.BezeichnungC.Bezeichnung?1:0)}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Mitarbeiter","UpdateMitarbeiterpositionliste",this.Debug.Typen.Service)}}AddMitarbeiter(S){try{let y,f;return new Promise((C,_)=>{console.log("POST new Mitarbeiter:"),console.log(S),y=this.http.post(this.ServerMitarbeiterUrl,S),y.subscribe({next:w=>{f=w.Mitarbeiter},complete:()=>{this.UpdateMitarbeiterliste(f),this.Pool.MitarbeiterlisteChanged.emit(),C(f)},error:w=>{_(w)}})})}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Mitarbeiter","AddMitarbeiter",this.Debug.Typen.Service)}}AddMitarbeiterposition(S){try{let y,f;return new Promise((C,_)=>{console.log("POST new Mitarbeiterposition:"),console.log(S),y=this.http.post(this.ServerMitarbeiterpositionUrl,S),y.subscribe({next:w=>{f=w.Mitarbeiterposition},complete:()=>{this.UpdateMitarbeiterpositionliste(f),this.Pool.MitarbeiterpositionenlisteChanged.emit(),C(f)},error:w=>{_(w)}})})}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Mitarbeiter","AddMitarbeiterposition",this.Debug.Typen.Service)}}CheckMitarbeiterExists(S){try{return-1!==u.findIndex(this.Pool.Mitarbeiterliste,{Email:S})}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Mitarbeiter","CheckMitarbeiterExists",this.Debug.Typen.Service)}}GetMitarbeiterByEmail(S){try{let y=u.find(this.Pool.Mitarbeiterliste,{Email:S});return u.isUndefined(y)?null:y}catch(y){this.Debug.ShowErrorMessage(y,"Database Mitarbeiter","GetMitarbeiterByEmail",this.Debug.Typen.Service)}}GetMitarbeiterByID(S){try{let y=u.find(this.Pool.Mitarbeiterliste,{_id:S});return u.isUndefined(y)?null:y}catch(y){this.Debug.ShowErrorMessage(y,"Database Mitarbeiter","GetMitarbeiterByEmail",this.Debug.Typen.Service)}}GetMitarbeiterByGraph(S){try{let y,C,f=new l.HttpParams({fromObject:{email:S}});return new Promise((_,w)=>{y=this.http.get(this.ServerMitarbeiterUrl,{params:f}),y.subscribe({next:D=>{C=D},complete:()=>{_(C)},error:D=>{w(D)}})})}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Standorte","SaveMitarbeiter",this.Debug.Typen.Service)}}DeleteMitarbeiter(S){try{return S.Deleted=!0,this.UpdateMitarbeiter(S)}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Standorte","DeleteMitarbeiter",this.Debug.Typen.Service)}}GetHomeofficefreigeberliste(S){try{let y=u.filter(this.Pool.Mitarbeiterliste,f=>!0===f.Homeofficefreigaben);return y=u.filter(y,f=>-1!==f.Homeofficefreigabestandorte.indexOf(S)),y}catch(y){this.Debug.ShowErrorMessage(y,"Standorteliste","GetHomeofficefreigeberliste",this.Debug.Typen.Service)}}GetUrlausbsfreigeberliste(S){try{let y=u.filter(this.Pool.Mitarbeiterliste,f=>!0===f.Urlaubsfreigaben);return y=u.filter(y,f=>-1!==f.Urlaubsfreigabeorte.indexOf(S)),y}catch(y){this.Debug.ShowErrorMessage(y,"Standorteliste","GetUrlausbsfreigeberliste",this.Debug.Typen.Component)}}static \u0275fac=function(y){return new(y||p)(i.\u0275\u0275inject(e.DebugProvider),i.\u0275\u0275inject(o.HttpClient),i.\u0275\u0275inject(d.ConstProvider),i.\u0275\u0275inject(v.DatabasePoolService))};static \u0275prov=i.\u0275\u0275defineInjectable({token:p,factory:p.\u0275fac,providedIn:"root"})}return p})()},15024:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.DatabaseMitarbeitersettingsService=void 0;const n=s(81316),c=n.__importStar(s(17964)),u=s(97048),l=n.__importStar(s(54496)),i=n.__importStar(s(34388)),e=n.__importStar(s(97048)),o=n.__importStar(s(7992));m.DatabaseMitarbeitersettingsService=(()=>{class v{Debug;http;Pool;ServerSettingsUrl;constructor(p,E,S){this.Debug=p,this.http=E,this.Pool=S;try{this.ServerSettingsUrl=this.Pool.CockpitdockerURL+"/settings/"}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Mitarbeitersettings","constructor",this.Debug.Typen.Service)}}InitService(){}FinishService(){}SaveMitarbeitersettings(){let p;return new Promise((E,S)=>{null===this.Pool.Mitarbeitersettings._id?(p=this.http.post(this.ServerSettingsUrl,this.Pool.Mitarbeitersettings),p.subscribe({next:y=>{this.Pool.Mitarbeitersettings=y.Settings},complete:()=>{this.Pool.MitarbeitersettingslisteChanged.emit(),E(this.Pool.Mitarbeitersettings)},error:y=>{S(y)}})):(delete this.Pool.Mitarbeitersettings.__v,p=this.http.put(this.ServerSettingsUrl,this.Pool.Mitarbeitersettings),p.subscribe({next:y=>{this.Pool.Mitarbeitersettings=y.Settings},complete:()=>{this.Pool.MitarbeitersettingslisteChanged.emit(),E(this.Pool.Mitarbeitersettings)},error:y=>{S(y)}}))})}catch(p){this.Debug.ShowErrorMessage(p.message,"Database Standorte","SaveMitarbeitersettings",this.Debug.Typen.Service)}UpdateMitarbeitersettings(p,E){try{let S,f;return(new u.HttpParams).set("id",p._id),null!==E&&null!==E.ProjektID&&(f=c.findIndex(p.Aufgabenansicht,{ProjektID:E.ProjektID}),-1===f&&p.Aufgabenansicht.push(E)),delete p.__v,new Promise((C,_)=>{S=this.http.put(this.ServerSettingsUrl,p),S.subscribe({next:w=>{this.Pool.Mitarbeitersettings=w.Settings},complete:()=>{this.Pool.MitarbeitersettingsChanged.emit(),this.UpdateMitarbeitersettingsliste(p),C(!0)},error:w=>{_(w)}})})}catch(S){this.Debug.ShowErrorMessage(S.message,"Database Mitarbeitersettings","UpdateMitarbeiter",this.Debug.Typen.Page)}}UpdateMitarbeitersettingsliste(p){try{let E;E=c.findIndex(this.Pool.Mitarbeitersettingsliste,{_id:p._id}),-1!==E?(this.Pool.Mitarbeitersettingsliste[E]=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=c.filter(this.Pool.Mitarbeitersettingsliste,S=>!1===S.Deleted),this.Pool.MitarbeitersettingslisteChanged.emit()}catch(E){this.Debug.ShowErrorMessage(E.message,"Database Mitarbeitersettings","UpdateMitarbeiterliste",this.Debug.Typen.Service)}}AddMitarbeitersetting(p){try{let E,S;return new Promise((y,f)=>{E=this.http.post(this.ServerSettingsUrl,p),E.subscribe({next:C=>{p=C.Setting},complete:()=>{this.UpdateMitarbeitersettingsliste(p),this.Pool.MitarbeitersettingslisteChanged.emit(),y(S)},error:C=>{f(C)}})})}catch(E){this.Debug.ShowErrorMessage(E.message,"Database Mitarbeitersettings","AddMitarbeiter",this.Debug.Typen.Page)}}static \u0275fac=function(E){return new(E||v)(l.\u0275\u0275inject(i.DebugProvider),l.\u0275\u0275inject(e.HttpClient),l.\u0275\u0275inject(o.DatabasePoolService))};static \u0275prov=l.\u0275\u0275defineInjectable({token:v,factory:v.\u0275fac,providedIn:"root"})}return v})()},7992:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.DatabasePoolService=void 0;const n=s(81316),c=s(54496),u=s(97048),l=s(16213),i=n.__importStar(s(17964)),e=s(36716),o=n.__importStar(s(54496)),d=n.__importStar(s(34388)),v=n.__importStar(s(29743)),M=n.__importStar(s(14652)),p=n.__importStar(s(97048));m.DatabasePoolService=(()=>{class S{Debug;Const;Basics;Http;Standorteliste;Mitarbeiterliste;Mitarbeiterpositionenliste;Mitarbeitersettingsliste;CockpitserverURL;CockpitdockerURL;Mitarbeiterdaten;Mitarbeiterstandort;Mitarbeitersettings;ShowProgress;MaxProgressValue;CurrentProgressValue;ProgressMessage;Changlogliste;MitarbeiterdatenHasError;Emailcontent;ProjektdatenLoaded;Emailcontentvarinaten;Appeinstellungen;StandortelisteChanged=new c.EventEmitter;MitarbeiterlisteChanged=new c.EventEmitter;MitarbeiterpositionenlisteChanged=new c.EventEmitter;MitarbeiterdatenChanged=new c.EventEmitter;MitarbeitersettingslisteChanged=new c.EventEmitter;MitarbeitersettingsChanged=new c.EventEmitter;LoadingAllDataFinished=new c.EventEmitter;ChangeloglisteChanged=new c.EventEmitter;Signatur;ApplicationURL;constructor(f,C,_,w){this.Debug=f,this.Const=C,this.Basics=_,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.Mitarbeiterpositionenliste=[],this.Mitarbeiterstandort=null,this.ShowProgress=!1,this.Mitarbeitersettingsliste=[],this.MaxProgressValue=0,this.CurrentProgressValue=0,this.Standorteliste=[],this.Mitarbeiterliste=[],this.Changlogliste=[],this.CockpitserverURL=!0===e.environment.production||!0===e.environment.useonlinedb?"https://bae-urlaubsplaner-server.azurewebsites.net":"http://localhost:8080",this.CockpitdockerURL=!0===e.environment.production||!0===e.environment.useonlinedb?"https://bae-urlaubsplaner-docker.azurewebsites.net":"http://localhost:80",this.ApplicationURL=!0===e.environment.production?"https://nice-glacier-0c9ec7703.3.azurestaticapps.net":"http://localhost:4200",this.Emailcontent=this.Emailcontentvarinaten.NONE,this.ProjektdatenLoaded=!1,this.Appeinstellungen=null,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(D){this.Debug.ShowErrorMessage(D.message,"Database Pool","constructor",this.Debug.Typen.Service)}}GetFilledSignatur(f,C){try{let R,k,_=this.Signatur,w=f.Telefon,D=f.Mobil,L=f.Email,N=f.Vorname+" "+f.Name,V=f.Jobtitel,G=i.find(this.Standorteliste,{_id:f.StandortID});return i.isUndefined(G)||(R=G.Strasse,k=G.PLZ+" "+G.Ort,_=_.replace("[Strasse]",R),_=_.replace("[Ort]",k)),_=_.replace("[Name]",N),_=_.replace("[Jobtitel]",V),_=_.replace("[Telefon]",w),_=_.replace("[Mobil]",D),_=_.split("[Email]").join(L),_=_.split("[Image]").join(this.Basics.WebAppUrl+"/assets/images/group_logo.png"),_}catch(_){this.Debug.ShowErrorMessage(_,"Database Pool","GetFilledSignatur",this.Debug.Typen.Service)}}ReadMitarbeiterliste(){try{this.Mitarbeiterliste=[];let f=new u.HttpHeaders({"content-type":"application/json"});return new Promise((C,_)=>{this.Http.get(this.CockpitdockerURL+"/mitarbeiter",{headers:f}).subscribe({next:D=>{this.Mitarbeiterliste=D},complete:()=>{for(let D of this.Mitarbeiterliste)D=this.InitMitarbeiter(D);this.MitarbeiterlisteChanged.emit(),C(!0)},error:D=>{console.log(D.message),console.log("Mitarbeiterliste lesen war fehlerhaft."),_(D)}})})}catch(f){this.Debug.ShowErrorMessage(f.message,"Database Pool","ReadMitarbeiterliste",this.Debug.Typen.Service)}}ReadMitarbeiterpositionenliste(){try{this.Mitarbeiterpositionenliste=[];let f=new u.HttpHeaders({"content-type":"application/json"});return new Promise((C,_)=>{this.Http.get(this.CockpitdockerURL+"/mitarbeiterpositionen",{headers:f}).subscribe({next:D=>{this.Mitarbeiterpositionenliste=D},complete:()=>{this.MitarbeiterpositionenlisteChanged.emit(),C(!0)},error:D=>{console.log("Error: "+D.message),console.log("Mitarbeiterpositionenliste lesen war fehlerhaft."),_(D)}})})}catch(f){this.Debug.ShowErrorMessage(f.message,"Database Pool","ReadMitarbeiterpositionenliste",this.Debug.Typen.Service)}}ReadChangelogliste(){try{this.Changlogliste=[];let f=new u.HttpHeaders({"content-type":"application/json"});return new Promise((C,_)=>{this.Http.get(this.CockpitdockerURL+"/changelog",{headers:f}).subscribe({next:D=>{this.Changlogliste=D},complete:()=>{this.Changlogliste.sort((D,L)=>D.Zeitstempel>L.Zeitstempel?-1:D.Zeitstempel{_(D)}})})}catch(f){this.Debug.ShowErrorMessage(f.message,"Database Pool","ReadChangelogliste",this.Debug.Typen.Service)}}ReadStandorteliste(){try{this.Standorteliste=[];let f=new u.HttpHeaders({"content-type":"application/json"});return new Promise((C,_)=>{this.Http.get(this.CockpitdockerURL+"/standorte",{headers:f}).subscribe({next:D=>{this.Standorteliste=D},complete:()=>{for(let D of this.Standorteliste)i.isUndefined(D.Konfession)&&(D.Konfession="RK"),i.isUndefined(D.Bundesland)&&(D.Bundesland="DE-BY"),i.isUndefined(D.Land)&&(D.Land="DE"),i.isUndefined(D.Homeofficefreigabepersonen)&&(D.Homeofficefreigabepersonen=[]),i.isUndefined(D.Urlaubfreigabepersonen)&&(D.Urlaubfreigabepersonen=[]);this.Standorteliste.sort((D,L)=>D.OrtL.Ort?1:0),this.StandortelisteChanged.emit(),C(!0)},error:D=>{_(D)}})})}catch(f){this.Debug.ShowErrorMessage(f.message,"Database Pool","ReadStandorteliste",this.Debug.Typen.Service)}}ReadSettingsliste(){try{this.Mitarbeitersettingsliste=[];let f=new u.HttpHeaders({"content-type":"application/json"});return new Promise((C,_)=>{this.Http.get(this.CockpitdockerURL+"/settings",{headers:f}).subscribe({next:D=>{this.Mitarbeitersettingsliste=D},complete:()=>{this.MitarbeitersettingslisteChanged.emit(),C(!0)},error:D=>{_(D)}})})}catch(f){this.Debug.ShowErrorMessage(f.message,"Database Pool","ReadStandorteliste",this.Debug.Typen.Service)}}InitMitarbeiter(f){try{i.isUndefined(f.SettingsID)&&(f.SettingsID=null),i.isUndefined(f.Archiviert)&&(f.Archiviert=!1),i.isUndefined(f.Meintagliste)&&(f.Meintagliste=[]),i.isUndefined(f.Meinewocheliste)&&(f.Meinewocheliste=[]),i.isUndefined(f.Anrede)&&(f.Anrede=this.Const.NONE),i.isUndefined(f.Urlaub)&&(f.Urlaub=30),i.isUndefined(f.Resturlaub)&&(f.Resturlaub=0),i.isUndefined(f.Urlaubsliste)&&(f.Urlaubsliste=[]),i.isUndefined(f.Urlaubsfreigaben)&&(f.Urlaubsfreigaben=!1),i.isUndefined(f.Planeradministrator)&&(f.Planeradministrator=!1),i.isUndefined(f.Urlaubsfreigaben)&&(f.Urlaubsfreigaben=!1),i.isUndefined(f.Homeofficefreigaben)&&(f.Homeofficefreigaben=!1),i.isUndefined(f.Homeofficefreigabestandorte)&&(f.Homeofficefreigabestandorte=[]),i.isUndefined(f.Urlaubsfreigabeorte)&&(f.Urlaubsfreigabeorte=[]),i.isUndefined(f.PositionID)&&(f.PositionID=null),i.isUndefined(f.Urlaubsfreigeberliste)&&(f.Urlaubsfreigeberliste=[]),i.isUndefined(f.Homeofficefreigeberliste)&&(f.Homeofficefreigeberliste=[]),i.isUndefined(f.Urlaubsfreigabeinfomailliste)&&(f.Urlaubsfreigabeinfomailliste=[]);for(let C of f.Meinewocheliste)i.isUndefined(C.Kalenderwoche)&&(C.Kalenderwoche=0);return f.Urlaubsliste.sort((C,_)=>C.Jahr<_.Jahr?-1:C.Jahr>_.Jahr?1:0),f}catch(C){this.Debug.ShowErrorMessage(C.message,"Database Pool","InitMitarbeiter",this.Debug.Typen.Service)}}CheckMitarbeiterdaten(){try{return this.MitarbeiterdatenHasError=null===this.Mitarbeiterdaten,this.MitarbeiterdatenHasError}catch(f){this.Debug.ShowErrorMessage(f,"Database Pool","CheckMItarbeiterdaten",this.Debug.Typen.Service)}}GetNewUniqueID(){try{return(0,l.v4)()}catch(f){this.Debug.ShowErrorMessage(f.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,UrlaubShowMeinenUrlaub:!0,UrlaubShowFerien_DE:!1,UrlaubShowFeiertage_DE:!1,UrlaubShowFerien_BG:!1,UrlaubShowFeiertage_BG:!1,ShowHomeoffice:!0,OberkostengruppeFilter:null,HauptkostengruppeFilter:null,UnterkostengruppeFilter:null,AufgabenTerminfiltervariante:null,AufgabenTerminfilterStartwert:null,AufgabenTerminfilterEndewert:null,LOPListeGeschlossenZeitfilter:14}}catch(f){this.Debug.ShowErrorMessage(f.message,"Database Pool","GetNewMitarbeitersettings",this.Debug.Typen.Service)}}InitMitarbeitersettings(){try{let f;return null===this.Mitarbeiterdaten.SettingsID?this.GetNewMitarbeitersettings():(f=i.find(this.Mitarbeitersettingsliste,{_id:this.Mitarbeiterdaten.SettingsID}),i.isUndefined(f)?this.GetNewMitarbeitersettings():(i.isUndefined(f.Favoritprojektindex)&&(f.Favoritprojektindex=3e3),i.isUndefined(f.HeadermenueMaxFavoriten)&&(f.HeadermenueMaxFavoriten=6),i.isUndefined(f.Zoomfaktor)&&(f.Zoomfaktor=100),i.isUndefined(f.Textsize)&&(f.Textsize=14),i.isUndefined(f.Deleted)&&(f.Deleted=!1),i.isUndefined(f.AufgabenShowNummer)&&(f.AufgabenShowNummer=!0),i.isUndefined(f.AufgabenShowStartdatum)&&(f.AufgabenShowStartdatum=!0),i.isUndefined(f.AufgabenShowAufgabe)&&(f.AufgabenShowAufgabe=!0),i.isUndefined(f.AufgabenShowBemerkung)&&(f.AufgabenShowBemerkung=!0),i.isUndefined(f.AufgabenShowTage)&&(f.AufgabenShowTage=!0),i.isUndefined(f.AufgabenShowTermin)&&(f.AufgabenShowTermin=!0),i.isUndefined(f.AufgabenShowStatus)&&(f.AufgabenShowStatus=!0),i.isUndefined(f.AufgabenShowFortschritt)&&(f.AufgabenShowFortschritt=!0),i.isUndefined(f.AufgabenShowZustaendig)&&(f.AufgabenShowZustaendig=!0),i.isUndefined(f.AufgabenShowMeintag)&&(f.AufgabenShowMeintag=!0),i.isUndefined(f.AufgabenShowZeitansatz)&&(f.AufgabenShowZeitansatz=!0),i.isUndefined(f.AufgabenShowMeinewoche)&&(f.AufgabenShowMeinewoche=!0),i.isUndefined(f.Aufgabenansicht)&&(f.Aufgabenansicht=[]),i.isUndefined(f.AufgabenTerminfiltervariante)&&(f.AufgabenTerminfiltervariante=null),i.isUndefined(f.AufgabenTerminfilterStartwert)&&(f.AufgabenTerminfilterStartwert=null),i.isUndefined(f.AufgabenTerminfilterEndewert)&&(f.AufgabenTerminfilterEndewert=null),i.isUndefined(f.AufgabenSortiermodus)&&(f.AufgabenSortiermodus=this.Const.AufgabenSortiermodusvarianten.TermineAufsteigend),i.isUndefined(f.AufgabenMeilensteineNachlauf)&&(f.AufgabenMeilensteineNachlauf=2),i.isUndefined(f.LOPListeGeschlossenZeitfilter)&&(f.LOPListeGeschlossenZeitfilter=14),i.isUndefined(f.LeistungsphaseFilter)&&(f.LeistungsphaseFilter=this.Const.Leistungsphasenvarianten.UNBEKANNT),i.isUndefined(f.OberkostengruppeFilter)&&(f.OberkostengruppeFilter=null),i.isUndefined(f.UnterkostengruppeFilter)&&(f.UnterkostengruppeFilter=null),i.isUndefined(f.HauptkostengruppeFilter)&&(f.HauptkostengruppeFilter=null),i.isUndefined(f.UrlaubShowBeantragt)&&(f.UrlaubShowBeantragt=!0),i.isUndefined(f.UrlaubShowVertreterfreigabe)&&(f.UrlaubShowVertreterfreigabe=!0),i.isUndefined(f.UrlaubShowGenehmigt)&&(f.UrlaubShowGenehmigt=!0),i.isUndefined(f.UrlaubShowAbgelehnt)&&(f.UrlaubShowAbgelehnt=!0),i.isUndefined(f.UrlaubShowFerien_DE)&&(f.UrlaubShowFerien_DE=!1),i.isUndefined(f.UrlaubShowFerien_BG)&&(f.UrlaubShowFerien_BG=!1),i.isUndefined(f.UrlaubShowFeiertage_DE)&&(f.UrlaubShowFeiertage_DE=!1),i.isUndefined(f.UrlaubShowFeiertage_BG)&&(f.UrlaubShowFeiertage_BG=!1),i.isUndefined(f.UrlaubShowMeinenUrlaub)&&(f.UrlaubShowMeinenUrlaub=!0),i.isUndefined(f.ShowHomeoffice)&&(f.ShowHomeoffice=!0),f))}catch(f){this.Debug.ShowErrorMessage(f.message,"Database Pool","InitMitarbeitersettings",this.Debug.Typen.Service)}}static \u0275fac=function(C){return new(C||S)(o.\u0275\u0275inject(d.DebugProvider),o.\u0275\u0275inject(v.ConstProvider),o.\u0275\u0275inject(M.BasicsProvider),o.\u0275\u0275inject(p.HttpClient))};static \u0275prov=o.\u0275\u0275defineInjectable({token:S,factory:S.\u0275fac,providedIn:"root"})}return S})()},58864:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.DatabaseStandorteService=void 0;const n=s(81316),c=s(54496),u=n.__importStar(s(17964)),l=n.__importDefault(s(35908)),i=s(16213),e=n.__importStar(s(54496)),o=n.__importStar(s(34388)),d=n.__importStar(s(7992)),v=n.__importStar(s(29743)),M=n.__importStar(s(97048));m.DatabaseStandorteService=(()=>{class E{Debug;Pool;Const;http;CurrentStandort;CurrentStandortfilter;StandortfilterChanged=new c.EventEmitter;ServerUrl;constructor(y,f,C,_){this.Debug=y,this.Pool=f,this.Const=C,this.http=_;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 y;null!==this.Pool.Mitarbeiterdaten&&this.Pool.Mitarbeitersettings.StandortFilter!==this.Const.NONE?(y=u.find(this.Pool.Standorteliste,{_id:this.Pool.Mitarbeitersettings.StandortFilter}),y&&(this.CurrentStandortfilter=u.cloneDeep(y))):this.CurrentStandortfilter=null,null!==this.Pool.Mitarbeiterdaten?(y=u.find(this.Pool.Standorteliste,{_id:this.Pool.Mitarbeiterdaten.StandortID}),!1===u.isUndefined(y)&&(this.Pool.Mitarbeiterstandort=y)):this.Pool.Mitarbeiterstandort=null;for(let f of this.Pool.Standorteliste)f.ShowInGesamtuebersicht=f._id===this.Pool.Mitarbeiterdaten.StandortID;this.StandortfilterChanged.emit()}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Standorte","InitService",this.Debug.Typen.Service)}}FinishService(){}GetStandort(y){try{let f;return f=u.find(this.Pool.Standorteliste,{_id:y}),u.isUndefined(f)?"unbekannt":f.Kuerzel+" - "+f.Ort}catch(f){this.Debug.ShowErrorMessage(f.message,"Mitarbeiter Editor","GetStandort",this.Debug.Typen.Component)}}GetEmptyStandort(){try{let y=(0,l.default)();return{_id:null,Standort:"",Kuerzel:"",Strasse:"",PLZ:"",Ort:"",Telefon:"",Email:"",Deleted:!1,Bundesland:"DE-BY",Konfession:"RK",Land:"DE",Homeofficefreigabepersonen:[],Urlaubfreigabepersonen:[],Zeitstempel:y.valueOf(),Zeitpunkt:y.format("DD.MM.YYYY")}}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Standorte","GetEmptyStandort",this.Debug.Typen.Service)}}GetUniqueStandortID(){try{let y=this.CurrentStandort.Kuerzel;return y=y.replace(/ /g,"_"),y=y.replace(/-/g,"_"),y=y.replace(/./g,"_"),y+"_"+(0,i.v4)()}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Standorte","GetUniqueStandortID",this.Debug.Typen.Service)}}AddStandort(){try{let y,f;return new Promise((C,_)=>{y=this.http.post(this.ServerUrl,this.CurrentStandort),y.subscribe({next:w=>{f=w.data},complete:()=>{this.UpdateStandortliste(f),this.Pool.StandortelisteChanged.emit(),C(!0)},error:w=>{_(w)}})})}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Standorte","AddStandort",this.Debug.Typen.Service)}}UpdateStandortliste(y){try{let f;f=u.findIndex(this.Pool.Standorteliste,{_id:this.CurrentStandort._id}),-1!==f?(this.Pool.Standorteliste[f]=y,this.Debug.ShowMessage("Standortliste updated: "+y.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(y)),this.Pool.Standorteliste=u.filter(this.Pool.Standorteliste,C=>!1===C.Deleted)}catch(f){this.Debug.ShowErrorMessage(f.message,"Database Standorte","UpdateStandortliste",this.Debug.Typen.Service)}}UpdateStandort(){try{let y;return delete this.CurrentStandort.__v,new Promise((f,C)=>{y=this.http.put(this.ServerUrl,this.CurrentStandort),y.subscribe({next:_=>{},complete:()=>{this.UpdateStandortliste(this.CurrentStandort),this.Pool.StandortelisteChanged.emit(),f(!0)},error:_=>{C(_)}})})}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Standorte","UpdateStandort",this.Debug.Typen.Service)}}DeleteStandort(){try{let y;return this.CurrentStandort.Deleted=!0,new Promise((f,C)=>{y=this.http.put(this.ServerUrl,this.CurrentStandort),y.subscribe({next:_=>{},complete:()=>{this.UpdateStandortliste(this.CurrentStandort),this.Pool.StandortelisteChanged.emit(),f(!0)},error:_=>{C(_)}})})}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Standorte","DeleteStandort",this.Debug.Typen.Service)}}GetStandortfiller(){try{return null===this.CurrentStandortfilter?"kein Standortfilter":this.CurrentStandortfilter.Kuerzel+" / "+this.CurrentStandortfilter.Ort}catch(y){this.Debug.ShowErrorMessage(y.message,"Database Standorte","GetStandortfiller",this.Debug.Typen.Service)}}static \u0275fac=function(f){return new(f||E)(e.\u0275\u0275inject(o.DebugProvider),e.\u0275\u0275inject(d.DatabasePoolService),e.\u0275\u0275inject(v.ConstProvider),e.\u0275\u0275inject(M.HttpClient))};static \u0275prov=e.\u0275\u0275defineInjectable({token:E,factory:E.\u0275fac,providedIn:"root"})}return E})()},9544:(pe,m,s)=>{"use strict";var n=s(1196).default;Object.defineProperty(m,"__esModule",{value:!0}),m.DatabaseUrlaubService=void 0;const c=s(81316),u=s(54496),l=c.__importStar(s(17964)),i=c.__importDefault(s(35908)),e=c.__importStar(s(54496)),o=c.__importStar(s(34388)),d=c.__importStar(s(7992)),v=c.__importStar(s(29743)),M=c.__importStar(s(8608)),p=c.__importStar(s(22848)),E=c.__importStar(s(14652)),S=c.__importStar(s(97048));m.DatabaseUrlaubService=(()=>{class f{Debug;Pool;Const;Graph;DBMitarbeiter;Basics;http;PlanungsmonateChanged=new u.EventEmitter;ExterneUrlaubeChanged=new u.EventEmitter;ExterneHomeofficeChanged=new u.EventEmitter;UrlaubStatusChanged=new u.EventEmitter;HomeofficeStatusChanged=new u.EventEmitter;AddUrlaubCancelEvent=new u.EventEmitter;UpdateKalenderRequestEvent=new u.EventEmitter;CurrentHomeofficecounter;Bundeslandkuerzel;Bundesland;Regionenliste;CurrentJahr;Jahr;Startjahr;Feiertageliste;Ferienliste;CurrentUrlaub;UrlaublisteExtern;CurrentMonatindex;LastMonatIndex;FirstMonatIndex;Laendercode;ShowFeiertage_DE;ShowFeiertage_BG;ShowFerientage_DE;ShowFerientage_BG;Ferienfarbe_DE;Ferienfarbe_BG;Feiertagefarbe_DE;Feiertagefarbe_BG;CurrentUrlaubzeitspanne;CurrentHomeofficezeitspanne;Monateliste;ServerReadfeiertageUrl;ServerReadRegionenUrl;ServerReadFerienUrl;Vertretrungliste;Urlaubfreigabenliste;Homeofficefreigabenliste;Vertretungsanfragenanzahl;Vertretungsantwortenanzahl;Freigabenanfragenanzahl;Freigabenantwortenanzahl;Urlaubsanfragenanzahl;Homeofficeanfragenanzahl;Homeofficantwortenanzahl;Antwortenanzahl;CorrectSetup;Officeemailadress;CurrentMitarbeiter;Kalenderwochenhoehenliste;Urlaubstatusvarianten={Geplant:"Geplant",Vertreterablehnung:"Vertreterablehnung",Vertreteranfrage:"Vertreteranfrage",Vertreterfreigabe:"Vertreterfreigabe",Abgelehnt:"Abgelehnt",Genehmigt:"Genehmigt",Feiertag:"Feiertag",Ferientag:"Ferientag"};GesamtuebersichtSetting={ShowGeplant:!0,ShowVertreteranfragen:!0,ShowVertreterfreigaben:!0,ShowVertreterablehnungen:!1,ShowUrlaubsgenehmigungen:!0,ShowUrlaubsablehnungen:!1,ShowHomeofficeGeplant:!0,ShowHomeofficeGenehmigt:!0,ShowHomeofficeAnfrage:!0};Homeofficestatusvarianten={Geplant:"Geplant",Freigabeanfrage:"Freigabeanfrage",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"};Homeofficefarben={Geplant:"#307ac1",Freigabeanfrage:"#04B4AE",Abgelehnt:"red",Genehmigt:"green"};constructor(_,w,D,L,N,V,G){this.Debug=_,this.Pool=w,this.Const=D,this.Graph=L,this.DBMitarbeiter=N,this.Basics=V,this.http=G;try{this.ServerReadfeiertageUrl=this.Pool.CockpitdockerURL+"/readfeiertage",this.ServerReadFerienUrl=this.Pool.CockpitdockerURL+"/readferien",this.ServerReadRegionenUrl=this.Pool.CockpitdockerURL+"/readregionen",this.CurrentUrlaub=null,this.CurrentJahr=(0,i.default)().year(),this.Jahr=(0,i.default)().year(),this.Bundeslandkuerzel="DE-BY",this.Bundesland="",this.Feiertageliste=[],this.Ferienliste=[],this.Urlaubfreigabenliste=[],this.Homeofficefreigabenliste=[],this.CurrentMonatindex=(0,i.default)().month(),this.FirstMonatIndex=this.CurrentMonatindex-1,this.LastMonatIndex=this.CurrentMonatindex+1,this.CurrentUrlaubzeitspanne=null,this.CurrentUrlaubzeitspanne=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.Urlaubsanfragenanzahl=0,this.Antwortenanzahl=0,this.Vertretungsanfragenanzahl=0,this.Vertretungsantwortenanzahl=0,this.Freigabenanfragenanzahl=0,this.Freigabenantwortenanzahl=0,this.Homeofficeanfragenanzahl=0,this.Homeofficantwortenanzahl=0,this.CurrentHomeofficecounter=0,this.CurrentMitarbeiter=null,this.Startjahr=2024,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(R){this.Debug.ShowErrorMessage(R.message,"Database Urlaub","constructor",this.Debug.Typen.Service)}}SetMitarbeiter(_){try{this.CurrentMitarbeiter=l.cloneDeep(_)}catch(w){this.Debug.ShowErrorMessage(w,"Database Urlaub","SetMitarbeiter",this.Debug.Typen.Service)}}CheckSetup(){try{let _,w,D=0,L=0;if(null!==this.CurrentMitarbeiter){_=l.find(this.Pool.Standorteliste,{_id:this.CurrentMitarbeiter.StandortID});for(let N of _.Urlaubfreigabepersonen)w=l.find(this.Pool.Mitarbeiterliste,{_id:N}),l.isUndefined(w)||D++;for(let N of _.Homeofficefreigabepersonen)w=l.find(this.Pool.Mitarbeiterliste,{_id:N}),l.isUndefined(w)||L++;this.CorrectSetup=D>0&&L>0&&this.CurrentUrlaub.Projektbeteiligteliste.length>0}else this.CorrectSetup=!1}catch(_){this.Debug.ShowErrorMessage(_,"Database Urlaub","CheckSetup",this.Debug.Typen.Service)}}GetFreigabenliste(){try{let _,w,D,L,N;if(this.Freigabenanfragenanzahl=0,this.Freigabenantwortenanzahl=0,this.Urlaubfreigabenliste=[],this.Homeofficefreigabenliste=[],null!==this.CurrentMitarbeiter)for(let V of this.Pool.Mitarbeiterliste){if(L=l.find(this.Pool.Standorteliste,{_id:V.StandortID}),_=l.find(V.Urlaubsliste,G=>G.Jahr===this.CurrentJahr),!l.isUndefined(_)){w=!1,D=!1;for(let G of _.Urlaubzeitspannen)G=this.InitUrlaubzeitspanne(G),N=-1!==L.Urlaubfreigabepersonen.indexOf(this.CurrentMitarbeiter._id)&&this.CurrentMitarbeiter.Urlaubsfreigaben,N&&!0===this.CheckUrlaubFreigabeanwortAge(G)&&(G.Status===this.Urlaubstatusvarianten.Vertreterfreigabe||G.Status===this.Urlaubstatusvarianten.Abgelehnt||G.Status===this.Urlaubstatusvarianten.Genehmigt)&&l.isUndefined(l.find(this.Urlaubfreigabenliste,{_id:V._id}))&&(this.Urlaubfreigabenliste.push(V),G.Status===this.Urlaubstatusvarianten.Vertreterfreigabe?w=!0:D=!0);!0===w&&(this.Urlaubsanfragenanzahl++,this.Freigabenanfragenanzahl++),!0===D&&this.Freigabenantwortenanzahl++}if(!l.isUndefined(_))for(let G of _.Homeofficezeitspannen)w=!1,D=!1,N=-1!==L.Homeofficefreigabepersonen.indexOf(this.CurrentMitarbeiter._id)&&this.CurrentMitarbeiter.Homeofficefreigaben,N&&!0===this.CheckHomeofficeFreigabeanwortAge(G)&&(G.Status===this.Homeofficestatusvarianten.Freigabeanfrage||G.Status===this.Homeofficestatusvarianten.Abgelehnt||G.Status===this.Homeofficestatusvarianten.Genehmigt)&&l.isUndefined(l.find(this.Homeofficefreigabenliste,{_id:V._id}))&&(this.Homeofficefreigabenliste.push(V),G.Status===this.Homeofficestatusvarianten.Freigabeanfrage?w=!0:D=!0),!0===w&&this.Homeofficeanfragenanzahl++,!0===D&&this.Homeofficantwortenanzahl++}}catch(_){this.Debug.ShowErrorMessage(_,"Database Urlaub","GetFreigabenliste",this.Debug.Typen.Service)}}GetVertretungkonversation(_,w){try{let D=l.find(w.Vertretungskonversationliste,{VertreterID:_._id});return l.isUndefined(D)?null:D}catch(D){this.Debug.ShowErrorMessage(D,"Database Urlaub","GetVertretungkonversation",this.Debug.Typen.Service)}}CheckVertretungsanwortAge(_){try{let D,L,w=(0,i.default)().locale("de"),N=l.find(_.Vertretungskonversationliste,{VertreterID:this.CurrentMitarbeiter._id});return!!l.isUndefined(N)||!0!==N.VertreterantwortSended||null!==N.Vertretungantwortzeitstempel&&(D=(0,i.default)(N.Vertretungantwortzeitstempel).locale("de"),L=i.default.duration(w.diff(D)).asMinutes(),L<=5)}catch(w){this.Debug.ShowErrorMessage(w,"Database Urlaub","CheckVertretungsanwortAge",this.Debug.Typen.Service)}}CheckUrlaubFreigabeanwortAge(_){try{let D,L,w=(0,i.default)().locale("de");return!0!==_.FreigabeantwortSended||_.Status!==this.Urlaubstatusvarianten.Genehmigt&&_.Status!==this.Urlaubstatusvarianten.Abgelehnt||null!==_.Freigabeantwortzeitstempel&&(D=(0,i.default)(_.Freigabeantwortzeitstempel).locale("de"),L=i.default.duration(w.diff(D)).asMinutes(),L<=5)}catch(w){this.Debug.ShowErrorMessage(w,"Database Urlaub","CheckUrlaubFreigabeanwortAge",this.Debug.Typen.Service)}}CheckHomeofficeFreigabeanwortAge(_){try{let D,L,w=(0,i.default)().locale("de");return!0!==_.FreigabeantwortSended||_.Status!==this.Homeofficestatusvarianten.Genehmigt&&_.Status!==this.Homeofficestatusvarianten.Abgelehnt||null!==_.Freigabeantwortzeitstempel&&(D=(0,i.default)(_.Freigabeantwortzeitstempel).locale("de"),L=i.default.duration(w.diff(D)).asMinutes(),L<=5)}catch(w){this.Debug.ShowErrorMessage(w,"Database Urlaub","CheckHomeofficeFreigabeanwortAge",this.Debug.Typen.Service)}}GetVertretungsanwortAge(_){try{let D,L,w=(0,i.default)().locale("de"),N=l.find(_.Vertretungskonversationliste,{VertreterID:this.CurrentMitarbeiter._id});return N.Status!==this.Urlaubstatusvarianten.Vertreterfreigabe&&N.Status!==this.Urlaubstatusvarianten.Vertreterablehnung||!0!==N.VertreterantwortSended||null===N.Vertretungantwortzeitstempel?0:(D=(0,i.default)(N.Vertretungantwortzeitstempel).locale("de"),L=i.default.duration(w.diff(D)).asMinutes(),L)}catch(w){this.Debug.ShowErrorMessage(w,"Database Urlaub","GetVertretungsanwortAge",this.Debug.Typen.Service)}}CheckMitarbeiterIsVertretung(_,w){try{let D=!1,L=l.find(w.Vertretungskonversationliste,{VertreterID:_._id});return l.isUndefined(L)||L.VertreteranfrageSended&&(D=!0),D}catch(D){this.Debug.ShowErrorMessage(D,"Database Urlaub","ChechMitarbeiterIsVertretung",this.Debug.Typen.Service)}}CheckMitarbeiterIsOffeneVertretung(_,w){try{let D=!1,L=l.find(w.Vertretungskonversationliste,{VertreterID:_._id});return l.isUndefined(L)||!0===L.VertreteranfrageSended&&!1===L.VertreterantwortSended&&(D=!0),D}catch(D){this.Debug.ShowErrorMessage(D,"Database Urlaub","CheckMitarbeiterIsOffeneVertretung",this.Debug.Typen.Service)}}GetVertretungenliste(){try{let _,w,D,L;if(this.Vertretrungliste=[],this.Vertretungsantwortenanzahl=0,this.Vertretungsanfragenanzahl=0,null!==this.CurrentMitarbeiter)for(let N of this.Pool.Mitarbeiterliste)if(N._id!==this.CurrentMitarbeiter._id&&(_=l.find(N.Urlaubsliste,{Jahr:this.CurrentJahr}),!l.isUndefined(_))){D=!1,L=!1;for(let V of _.Urlaubzeitspannen)V=this.InitUrlaubzeitspanne(V),!0===this.CheckMitarbeiterIsVertretung(this.CurrentMitarbeiter,V)&&!0===this.CheckVertretungsanwortAge(V)&&(V.Status===this.Urlaubstatusvarianten.Vertreteranfrage||V.Status===this.Urlaubstatusvarianten.Vertreterfreigabe||V.Status===this.Urlaubstatusvarianten.Vertreterablehnung)&&(D=this.CheckMitarbeiterIsOffeneVertretung(this.CurrentMitarbeiter,V),L=!this.CheckMitarbeiterIsOffeneVertretung(this.CurrentMitarbeiter,V),w=l.find(this.Vertretrungliste,{_id:N._id}),l.isUndefined(w)&&this.Vertretrungliste.push(N));!0===D&&(this.Vertretungsanfragenanzahl++,this.Urlaubsanfragenanzahl++),!0===L&&this.Vertretungsantwortenanzahl++}}catch(_){this.Debug.ShowErrorMessage(_,"Database Urlaub","GetVertretungenliste",this.Debug.Typen.Service)}}GetUrlaubStatuscolor(_){try{let w="none";switch(_.Status){case this.Urlaubstatusvarianten.Geplant:w=this.Urlaubsfaben.Geplant;break;case this.Urlaubstatusvarianten.Vertreterfreigabe:w=this.Urlaubsfaben.Vertreterfreigabe;break;case this.Urlaubstatusvarianten.Vertreterablehnung:w=this.Urlaubsfaben.Vertreterablehnung;break;case this.Urlaubstatusvarianten.Vertreteranfrage:w=this.Urlaubsfaben.Vertreteranfrage;break;case this.Urlaubstatusvarianten.Genehmigt:w=this.Urlaubsfaben.Genehmigt;break;case this.Urlaubstatusvarianten.Abgelehnt:w=this.Urlaubsfaben.Abgelehnt;break;default:w="#00FFFF"}return w}catch(w){this.Debug.ShowErrorMessage(w,"Database Urlaub","GetUrlaubStatuscolor",this.Debug.Typen.Page)}}GetUrlaubStatuscolorSplit(_,w){try{let L,D="none";switch(_.Status){case this.Urlaubstatusvarianten.Geplant:D=this.Urlaubsfaben.Geplant;break;case this.Urlaubstatusvarianten.Vertreterfreigabe:D=this.Urlaubsfaben.Vertreterfreigabe;break;case this.Urlaubstatusvarianten.Vertreterablehnung:D=this.Urlaubsfaben.Vertreterablehnung;break;case this.Urlaubstatusvarianten.Vertreteranfrage:L=!1;for(let N of _.Vertretungskonversationliste)(!0===N.VertreteranfrageSended||!1===w)&&N.Status===this.Urlaubstatusvarianten.Vertreteranfrage&&(L=!0);D=L?this.Urlaubsfaben.Vertreteranfrage:this.Urlaubsfaben.Vertreterablehnung;break;case this.Urlaubstatusvarianten.Genehmigt:D=this.Urlaubsfaben.Genehmigt;break;case this.Urlaubstatusvarianten.Abgelehnt:D=this.Urlaubsfaben.Abgelehnt;break;default:D="#00FFFF"}return D}catch(D){this.Debug.ShowErrorMessage(D,"Database Urlaub","GetUrlaubStatuscolorSplit",this.Debug.Typen.Page)}}GetHomeofficeStatuscolor(_){try{let w="none";switch(_){case this.Homeofficestatusvarianten.Geplant:w=this.Homeofficefarben.Geplant;break;case this.Homeofficestatusvarianten.Freigabeanfrage:w=this.Homeofficefarben.Freigabeanfrage;break;case this.Homeofficestatusvarianten.Genehmigt:w=this.Homeofficefarben.Genehmigt;break;case this.Homeofficestatusvarianten.Abgelehnt:w=this.Homeofficefarben.Abgelehnt;break;default:w="#00FFFF"}return w}catch(w){this.Debug.ShowErrorMessage(w,"Database Urlaub","GetHomeofficeStatuscolor",this.Debug.Typen.Page)}}UpdateVertreteranfragen(){var _=this;return n(function*(){try{let w,k,D=(0,i.default)(),L=[],N=[],V=[],G=0,R=[],A=l.find(_.Pool.Standorteliste,{_id:_.CurrentMitarbeiter.StandortID}),H="";for(let ie of A.Urlaubfreigabepersonen)k=l.find(_.Pool.Mitarbeiterliste,{_id:ie}),l.isUndefined(k)||(R.push({emailAddress:{address:k.Email,name:k.Vorname+" "+k.Name}}),H+=k.Vorname+" "+k.Name,G{N="Hallo "+w.Vorname+",

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

",N+='',N+="",N+='';for(let ie of D)k=l.find(ie.Vertretungskonversationliste,{VertreterID:w._id}),ie.Status===this.Urlaubstatusvarianten.Geplant&&!1===k.VertreteranfrageSended&&(G=!0,k.Vertretunganfragezeitstempel=R.valueOf(),k.VertreteranfrageSended=!0,k.Status=this.Urlaubstatusvarianten.Vertreteranfrage,k.Vertretungmeldung="Vertretungsanfrage wurde am "+R.format("DD.MM.YY")+" an "+w.Vorname+" "+w.Name+" gesendet.",ie.Planungmeldung=_.Vorname+" "+_.Name+" hat dir am "+R.format("DD.MM.YY")+" eine Vertretungsanfrage gesendet.",N+="",N+='",N+='",N+="",A++);console.log("Vertreteranfrage an: "+w.Name+" | "+A+" St\xfcck"),N+="
VonBis
'+ie.Startstring+"'+ie.Endestring+"
",N+="
Die Urlaubsvertretung f\xfcr mich \xfcbernehmen kannst.

",N+="

",N+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',N+="

"+this.Pool.GetFilledSignatur(_,!0),V.push({emailAddress:{address:w.Email,name:w.Vorname+" "+w.Name}}),G?this.Graph.SendMail(V,L,N).then(()=>{console.log("Vertretungsanfrage wurde an "+w.Vorname+" "+w.Name+" gesendet."),H(D)}).catch(ie=>{K(ie)}):(console.log("Es wurde keine Vertretungsanfrage gesendet."),H(D))})}catch(L){this.Debug.ShowErrorMessage(L,"Database Urlaub","SendVertreteranfragen",this.Debug.Typen.Service)}}SendVertreterreminder(_){try{let D,w="Vertretungsanfragen in der Urlaubsplaner App",L=[];return new Promise((N,V)=>{D="Hallo "+_.Vorname+",

es gibt neue Vertretungsanfragen f\xfcr dich.
",D+="Bitte pr\xfcfe die Anfragen in der App.",D+="

",D+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',D+="

"+this.Pool.GetFilledSignatur(this.Pool.Mitarbeiterdaten,!0),L.push({emailAddress:{address:_.Email,name:_.Vorname+" "+_.Name}}),this.Graph.SendMail(L,w,D).then(()=>{console.log("Vertretungserinnerung wurde an "+_.Vorname+" "+_.Name+" gesendet."),N(!0)}).catch(G=>{V(G)})})}catch(w){this.Debug.ShowErrorMessage(w,"Database Urlaub","SendVertreterreminder",this.Debug.Typen.Service)}}SendFreigabereminder(_){try{let D,w="Urlaubsfreigaben Anfragen in der Urlaubsplaner App",L=[];return new Promise((N,V)=>{D="Hallo "+_.Vorname+",

es gibt neue Anfragen f\xfcr Urlaubsfreigaben.
",D+="Bitte pr\xfcfe die Anfragen in der App.",D+="

",D+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',D+="

"+this.Pool.GetFilledSignatur(this.Pool.Mitarbeiterdaten,!0),L.push({emailAddress:{address:_.Email,name:_.Vorname+" "+_.Name}}),this.Graph.SendMail(L,w,D).then(()=>{console.log("Freigebererinnerung wurde an "+_.Vorname+" "+_.Name+" gesendet."),N(!0)}).catch(G=>{V(G)})})}catch(w){this.Debug.ShowErrorMessage(w,"Database Urlaub","SendFreigabereminder",this.Debug.Typen.Service)}}SendHomeofficefreigabeanfrage(_,w,D){try{let L="Homeofficefreigabeanfrage von "+_.Vorname+" "+_.Name,N="",V=[],G=!1;return new Promise((R,k)=>{for(let A of w)N+="Hallo "+A.Vorname+",
";N+="
bitte folgende Homeofficetage freigeben:

",N+='',N+="",N+='",N+="",N+="
';for(let A of D)A.Status===this.Homeofficestatusvarianten.Freigabeanfrage&&!1===A.FreigabeanfrageSended&&(G=!0,A.FreigabeanfrageSended=!0,N+="",N+=A.Startstring+", ",N+="");N+="
",N+="

",N+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',N+="

"+this.Pool.GetFilledSignatur(_,!0);for(let A of w)V.push({emailAddress:{address:A.Email,name:A.Vorname+" "+A.Name}});G?this.Graph.SendMail(V,L,N).then(()=>{for(let A of w)console.log("Homeofficefreigabeanfrage wurde an "+A.Vorname+" "+A.Name+" gesendet.");R(D)}).catch(A=>{k(A)}):(console.log("Es wurden keine Homeofficefreigabeanfragen gesendet."),R(D))})}catch(L){this.Debug.ShowErrorMessage(L,"Database Urlaub","SendHomeofficefreigabeanfrage",this.Debug.Typen.Service)}}SendVertreterzusage(_,w){try{let L,R,D="Vertretungszusage von "+this.CurrentMitarbeiter.Vorname+" "+this.CurrentMitarbeiter.Name,N=[],V=!1,G=(0,i.default)().locale("de");return new Promise((k,A)=>{L="Hallo "+_.Vorname+",

nachfolgende Urlaubsvertretungen kann ich gerne wahrnehmen:

",L+='',L+="",L+='',L+="";for(let H of w.Urlaubzeitspannen)R=l.find(H.Vertretungskonversationliste,{VertreterID:this.CurrentMitarbeiter._id}),l.isUndefined(R)||R.Status===this.Urlaubstatusvarianten.Vertreterfreigabe&&!1===R.VertreterantwortSended&&(V=!0,H.Status=this.Urlaubstatusvarianten.Vertreterfreigabe,R.VertreterantwortSended=!0,R.Vertretungmeldung=this.CurrentMitarbeiter.Vorname+" "+this.CurrentMitarbeiter.Name+" hat der Vertretung am "+G.format("DD.MM.YY")+" zugestimmt.",R.Vertretungantwortzeitstempel=G.valueOf(),H.Vertretungskonversationliste=[R],H.UrlaubsvertreterIDListe=[R.VertreterID],L+="",L+='",L+='",L+='',L+="");L+="
VonBisVertretung
'+H.Startstring+"'+H.Endestring+"Zusage
",L+="

",L+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',L+="

"+this.Pool.GetFilledSignatur(this.CurrentMitarbeiter,!0),N.push({emailAddress:{address:_.Email,name:_.Vorname+" "+_.Name}}),!0===V?this.Graph.SendMail(N,D,L).then(()=>{console.log("Vertretungszusage wurde an "+_.Vorname+" "+_.Name+" gesendet."),k(w)}).catch(H=>{A(H)}):(console.log("Es wurde keine Vertretungszusage gesendet."),k(w))})}catch(D){this.Debug.ShowErrorMessage(D,"Database Urlaub","SendVertreterzusage",this.Debug.Typen.Service)}}SendHomeofficeFreigabeantworten(_,w){var D=this;return n(function*(){try{let L=l.cloneDeep(D.Pool.Mitarbeiterdaten);w=yield D.SendMitarbeiterHomeofficeFreigabeablehnung(_,L,w),w=yield D.SendMitarbeiterHomeofficeFreigabezusage(_,L,w);let N=l.findIndex(_.Urlaubsliste,{Jahr:D.CurrentJahr});_.Urlaubsliste[N]=w,_._id===D.CurrentMitarbeiter._id&&(D.CurrentMitarbeiter=_),yield D.DBMitarbeiter.UpdateMitarbeiterUrlaub(_)}catch(L){D.Debug.ShowErrorMessage(L,"Database Urlaub","SendHomeofficeFreigabeantworten",D.Debug.Typen.Service)}})()}UpdateFreigabenantworten(_,w){var D=this;return n(function*(){try{let V,L=1,N=(0,i.default)().locale("de");for(let R of w.Urlaubzeitspannen)R.Status===D.Urlaubstatusvarianten.Genehmigt&&!1===R.FreigabeantwortSended&&(L+=1),R.Status===D.Urlaubstatusvarianten.Abgelehnt&&!1===R.FreigabeantwortSended&&(L+=2);for(let R of w.Urlaubzeitspannen)(R.Status===D.Urlaubstatusvarianten.Genehmigt||R.Status===D.Urlaubstatusvarianten.Abgelehnt)&&(V=l.cloneDeep(D.Pool.Mitarbeiterdaten),R.Status===D.Urlaubstatusvarianten.Genehmigt&&(R.Planungmeldung=N.format("DD.MM.YYYY")+" Der Urlaub wurde durch "+V.Vorname+" "+V.Name+" genehmigt.",R.Freigabemeldung=N.format("DD.MM.YYYY")+" Urlaubsfreigabe wurde an "+_.Vorname+" "+_.Name+" gesendet.",R.Freigabemeldung+="
"+N.format("DD.MM.YYYY")+" Urlaubsfreigabe wurde an das Office gesendet."),R.Status===D.Urlaubstatusvarianten.Abgelehnt&&(R.Planungmeldung=N.format("DD.MM.YYYY")+" Der Urlaub wurde durch "+V.Vorname+" "+V.Name+" abgelehnt.",R.Freigabemeldung=N.format("DD.MM.YYYY")+" Urlaubsablehnung wurde an "+_.Vorname+" "+_.Name+" gesendet."));w=yield D.SendMitarbeiterFreigabeablehnung(_,V,w),w=yield D.SendMitarbeiterFreigabezusage(_,V,w),w=yield D.SendOfficeFreigabezusage(_,V,w);let G=l.findIndex(_.Urlaubsliste,{Jahr:D.CurrentJahr});_.Urlaubsliste[G]=w,D.CurrentUrlaub=w,yield D.DBMitarbeiter.UpdateMitarbeiterUrlaub(_)}catch(L){D.Debug.ShowErrorMessage(L,"Database Urlaub","UpdateFreigabenantworten",D.Debug.Typen.Service)}})()}SendVertreterabsage(_,w){try{let L,R,k,A,H,K,ie,D="Vertretungsabsage von "+this.CurrentMitarbeiter.Vorname+" "+this.CurrentMitarbeiter.Name,N=[],V=!1,G=(0,i.default)().locale("de");return new Promise((J,be)=>{L="Hallo "+_.Vorname+",

nachfolgende Urlaubsvertretungen kann ich leider nicht wahrnehmen:

",L+='';for(let ce of w.Urlaubzeitspannen){if(R=l.find(ce.Vertretungskonversationliste,{VertreterID:this.CurrentMitarbeiter._id}),!l.isUndefined(R))for(k of(R.Status===this.Urlaubstatusvarianten.Vertreterablehnung&&!1===R.VertreterantwortSended&&(V=!0,R.VertreterantwortSended=!0,R.Vertretungmeldung=this.CurrentMitarbeiter.Vorname+" "+this.CurrentMitarbeiter.Name+" hat die Vertretung am "+G.format("DD.MM.YY")+" abgelehnt.",R.Vertretungantwortzeitstempel=G.valueOf(),L+="",L+='',L+="",L+="",L+="",L+="",L+="",L+="",L+='',L+=""),ie=!1,ce.Vertretungskonversationliste))A=l.find(this.Pool.Mitarbeiterliste,{_id:k.VertreterID}),H=k.Status===this.Urlaubstatusvarianten.Vertreteranfrage?"green":"red",K=k.Status===this.Urlaubstatusvarianten.Vertreteranfrage?"offen":"abgelehnt",k.Status===this.Urlaubstatusvarianten.Vertreteranfrage&&(ce.Status=this.Urlaubstatusvarianten.Vertreteranfrage),L+="",L+="",L+='",L+="";ie=!1}L+="
VonBis
"+ce.Startstring+""+ce.Endestring+"
VertretungStatus
"+A.Vorname+" "+A.Name+"'+K+"
",L+="

",L+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',L+="

"+this.Pool.GetFilledSignatur(this.CurrentMitarbeiter,!0),N.push({emailAddress:{address:_.Email,name:_.Vorname+" "+_.Name}}),ie=!1,!0===V?this.Graph.SendMail(N,D,L).then(()=>{console.log("Vertretungsabsage wurde an "+_.Vorname+" "+_.Name+" gesendet."),J(w)}).catch(ce=>{be(ce)}):(console.log("Es wurde keine Vertretungsabsage gesendet."),J(w))})}catch(D){this.Debug.ShowErrorMessage(D,"Database Urlaub","SendVertreterabsage",this.Debug.Typen.Service)}}SendFreigabeanfrage(_,w){try{let L,G,k,A,K,D="Anfrage Urlaubsfreigabe von "+_.Vorname+" "+_.Name,N=[],V=!1,R=(0,i.default)().locale("de"),H=l.find(this.Pool.Standorteliste,{_id:_.StandortID});for(let ie of H.Urlaubfreigabepersonen)k=l.find(this.Pool.Mitarbeiterliste,{_id:ie}),l.isUndefined(k)||N.push({emailAddress:{address:k.Email,name:k.Vorname+" "+k.Name}});return new Promise((ie,J)=>{L="";for(let be of N)L+="Hallo "+be.emailAddress.name+",
";L+="
",L+="es liegen neue Anfragen zur Urlaufsfreigabe von ",L+=_.Vorname+" "+_.Name+" vor:

",L+='',L+="",L+='',L+="";for(let be of w.Urlaubzeitspannen){for(K of be.Vertretungskonversationliste)K.Vertretungmeldung="";if(K=l.find(be.Vertretungskonversationliste,{Status:this.Urlaubstatusvarianten.Vertreterfreigabe}),!l.isUndefined(K)&&!1===be.FreigabeanfrageSended){V=!0,be.Status=this.Urlaubstatusvarianten.Vertreterfreigabe,be.FreigabeanfrageSended=!0,be.Freigabeantwortzeitstempel=R.valueOf(),L+="",L+='",L+='",L+="",L+=""}}L+="
VonBisVertretung
'+be.Startstring+"'+be.Endestring+"",K.Vertretungmeldung="Urlaubsfreigabe Anfrage wurde am "+R.format("DD.MM.YY")+" an ",A=0;for(let ce of N)K.Vertretungmeldung+=ce.emailAddress.name,A"),L+="
",L+="

",L+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',L+="

"+this.Pool.GetFilledSignatur(_,!0),!0===V?this.Graph.SendMail(N,D,L).then(()=>{console.log("Freigabe Anfrage wurde versendet."),ie(w)}).catch(be=>{J(be)}):(console.log("Es wurde keine Freigabe Anfrage versendet."),ie(w))})}catch(D){this.Debug.ShowErrorMessage(D,"Database Urlaub","SendFreigabeanfrage",this.Debug.Typen.Service)}}SendBetriebsurlaubFreigabeanfrage(_,w){try{let L,R,D="Anfrage Betriebsurlaubfreigabe von "+_.Vorname+" "+_.Name,N=[],V=!1,G=(0,i.default)().locale("de"),k=l.find(this.Pool.Standorteliste,{_id:_.StandortID});for(let A of k.Urlaubfreigabepersonen)R=l.find(this.Pool.Mitarbeiterliste,{_id:A}),l.isUndefined(R)||N.push({emailAddress:{address:R.Email,name:R.Vorname+" "+R.Name}});return new Promise((A,H)=>{L="";for(let K of N)L+="Hallo "+K.emailAddress.name+",
";L+="
",L+="es liegen neue Anfragen zur Betriebsurlaubfreigabe von ",L+=_.Vorname+" "+_.Name+" vor:

",L+='',L+="",L+='',L+="";for(let K of w.Urlaubzeitspannen)K.Status===this.Urlaubstatusvarianten.Vertreterfreigabe&&!1===K.FreigabeanfrageSended&&(V=!0,K.FreigabeanfrageSended=!0,K.Freigabeantwortzeitstempel=G.valueOf(),L+="",L+='",L+='",L+="");L+="
VonBis
'+K.Startstring+"'+K.Endestring+"
",L+="

",L+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',L+="

"+this.Pool.GetFilledSignatur(_,!0),!0===V?this.Graph.SendMail(N,D,L).then(()=>{console.log("Urlaubsfreigabe Anfrage wurde versendet."),A(w)}).catch(K=>{H(K)}):(console.log("Es wurde keine Urlaubsfreigabe Anfrage versendet."),A(w))})}catch(D){this.Debug.ShowErrorMessage(D,"Database Urlaub","SendBetriebsurlaubFreigabeanfrage",this.Debug.Typen.Service)}}SendMitarbeiterFreigabezusage(_,w,D){try{let N,k,A,L="Urlaubsfreigabe",V=[],G=!1,R=(0,i.default)().locale("de");return new Promise((H,K)=>{N="Hallo "+_.Vorname+",

anbei meine Urlaubsfreigabe f\xfcr folgende Zeitr\xe4ume:

",N+='',N+="",N+='',N+='',N+="",N+="",N+="";for(let ie of D.Urlaubzeitspannen)ie.Status===this.Urlaubstatusvarianten.Genehmigt&&!1===ie.FreigabeantwortSended&&(ie.FreigabeantwortSended=!0,ie.UrlaubsfreigeberID=w._id,ie.Freigabeantwortzeitstempel=R.valueOf(),A=l.find(ie.Vertretungskonversationliste,{Status:this.Urlaubstatusvarianten.Vertreterfreigabe}),k=l.isUndefined(A)||ie.Betriebsurlaub?null:this.DBMitarbeiter.GetMitarbeiterByID(A.VertreterID),G=!0,N+="",N+='",N+='",l.isUndefined(k)||null===k?N+=ie.Betriebsurlaub?'':'':N+="",N+='");N+="
VonBisVertretungStatus
'+ie.Startstring+"'+ie.Endestring+"BUunbekannt"+k.Vorname+" "+k.Name+"Freigabe',N+="
",N+="

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

",N+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',N+="

"+this.Pool.GetFilledSignatur(w,!0),V.push({emailAddress:{address:_.Email,name:_.Vorname+" "+_.Name}}),!0===G?this.Graph.SendMail(V,L,N).then(()=>{console.log("Urlaubsfreigabe wurde an "+_.Vorname+" "+_.Name+" gesendet."),H(D)}).catch(ie=>{K(ie)}):(console.log("Es wurde keine Urlaubsfreigabe gesendet."),H(D))})}catch(L){this.Debug.ShowErrorMessage(L,"Database Urlaub","SendMitarbeiterFreigabezusage",this.Debug.Typen.Service)}}SendOfficeFreigabezusage(_,w,D){try{let N,k,A,L="Urlaubsfreigabe und EIntragung in untermStrich",V=[],G=!1,R=(0,i.default)().locale("de");return new Promise((H,K)=>{N="Hallo Office,

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

",N+='',N+="",N+='',N+='',N+="",N+="",N+="";for(let ie of D.Urlaubzeitspannen)ie.Status===this.Urlaubstatusvarianten.Genehmigt&&!1===ie.FreigabeantwortOfficeSended&&(ie.FreigabeantwortOfficeSended=!0,ie.Freigabeantwortzeitstempel=R.valueOf(),A=l.find(ie.Vertretungskonversationliste,{Status:this.Urlaubstatusvarianten.Vertreterfreigabe}),k=l.isUndefined(A)||ie.Betriebsurlaub?null:this.DBMitarbeiter.GetMitarbeiterByID(A.VertreterID),G=!0,N+="",N+='",N+='",l.isUndefined(k)||null===k?N+=ie.Betriebsurlaub?'':'':N+="",N+='',N+="");N+="
VonBisVertretungStatus
'+ie.Startstring+"'+ie.Endestring+"BUunbekannt"+k.Vorname+" "+k.Name+"Freigabe
",N+="

",N+="Bitte Urlaub in untermStrich eintragen.",N+="

",N+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',N+="

"+this.Pool.GetFilledSignatur(w,!0),V.push({emailAddress:{address:this.Officeemailadress,name:"Office"}}),!0===G?this.Graph.SendMail(V,L,N).then(()=>{console.log("Urlaubsfreigabe wurde an "+_.Vorname+" "+_.Name+" gesendet."),H(D)}).catch(ie=>{K(ie)}):(console.log("Es wurde keine Urlaubsfreigabe gesendet."),H(D))})}catch(L){this.Debug.ShowErrorMessage(L,"Database Urlaub","SendOfficeFreigabezusage",this.Debug.Typen.Service)}}SendMitarbeiterFreigabeablehnung(_,w,D){try{let N,k,L="Ablehnung deiner Urlaubsanfrage",V=[],G=!1,R=(0,i.default)().locale("de");return new Promise((A,H)=>{N="Hallo "+_.Vorname+" "+_.Name+",

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

",N+='',N+="",N+='',N+='',N+="",N+="",N+="";for(let K of D.Urlaubzeitspannen)K.Status===this.Urlaubstatusvarianten.Abgelehnt&&!1===K.FreigabeantwortSended&&(K.FreigabeantwortSended=!0,K.UrlaubsfreigeberID=w._id,K.Freigabeantwortzeitstempel=R.valueOf(),k=this.DBMitarbeiter.GetMitarbeiterByID(K.UrlaubsvertreterID),G=!0,N+="",N+='",N+='",l.isUndefined(k)?N+=K.Betriebsurlaub?'':'':N+="",N+='',N+="");N+="
VonBisVertretungStatus
'+K.Startstring+"'+K.Endestring+"BUunbekannt"+k.Vorname+" "+k.Name+"Abgelehnt
",N+="

",N+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',N+="

"+this.Pool.GetFilledSignatur(w,!0),V.push({emailAddress:{address:w.Email,name:w.Vorname+" "+w.Name}}),!0===G?this.Graph.SendMail(V,L,N).then(()=>{console.log("Urlaubsablehung wurde an "+_.Vorname+" "+_.Name+" gesendet."),A(D)}).catch(K=>{H(K)}):(console.log("Es wurde keine Urlaubsablehnung gesendet."),A(D))})}catch(L){this.Debug.ShowErrorMessage(L,"Database Urlaub","SendMitarbeiterFreigabeablehnung",this.Debug.Typen.Service)}}SendMitarbeiterHomeofficeFreigabeablehnung(_,w,D){try{let N,L="Ablehnung deiner Homeofficeabfrage",V=[],G=!1,R=(0,i.default)().locale("de");return new Promise((k,A)=>{N="Hallo "+_.Vorname+" "+_.Name+",

leider muss ich deine Homeofficeanfrage f\xfcr nachfolgende Tage ablehnen:

",N+='',N+="",N+='',N+='',N+="";for(let H of D.Homeofficezeitspannen)H.Status===this.Homeofficestatusvarianten.Abgelehnt&&!1===H.FreigabeantwortSended&&(H.FreigabeantwortSended=!0,H.Freigabeantwortzeitstempel=R.valueOf(),G=!0,N+="",N+='",N+='',N+="");N+="
DatumStatus
'+H.Startstring+"Abgelehnt
",N+="

",N+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',N+="

"+this.Pool.GetFilledSignatur(w,!0),V.push({emailAddress:{address:w.Email,name:w.Vorname+" "+w.Name}}),!0===G?this.Graph.SendMail(V,L,N).then(()=>{console.log("Homeofficeablehnung wurde an "+_.Vorname+" "+_.Name+" gesendet."),k(D)}).catch(H=>{A(H)}):(console.log("Es wurde keine Homeofficeablehnung gesendet."),k(D))})}catch(L){this.Debug.ShowErrorMessage(L,"Database Urlaub","SendMitarbeiterHomeofficeFreigabeablehnung",this.Debug.Typen.Service)}}SendMitarbeiterHomeofficeFreigabezusage(_,w,D){try{let N,L="Genehmigung deiner Homeofficeanfrage",V=[],G=!1,R=(0,i.default)().locale("de");return new Promise((k,A)=>{N="Hallo "+_.Vorname+" "+_.Name+",

nachfolgende Homeofficetage sind genehmigt:

",N+='',N+="",N+='',N+='',N+="";for(let H of D.Homeofficezeitspannen)H.Status===this.Homeofficestatusvarianten.Genehmigt&&!1===H.FreigabeantwortSended&&(H.FreigabeantwortSended=!0,H.Freigabeantwortzeitstempel=R.valueOf(),G=!0,N+="",N+='",N+='',N+="");N+="
DatumStatus
'+H.Startstring+"Genehmigt
",N+="

",N+='Urlaub - Homeoffice - Planung jetzt \xf6ffnen',N+="

"+this.Pool.GetFilledSignatur(w,!0),V.push({emailAddress:{address:w.Email,name:w.Vorname+" "+w.Name}}),!0===G?this.Graph.SendMail(V,L,N).then(()=>{console.log("Homeofficegenehmigung wurde an "+_.Vorname+" "+_.Name+" gesendet."),k(D)}).catch(H=>{A(H)}):(console.log("Es wurde keine Homeofficegenehmigung gesendet."),k(D))})}catch(L){this.Debug.ShowErrorMessage(L,"Database Urlaub","SendMitarbeiterHomeofficeFreigabezusage",this.Debug.Typen.Service)}}ReadRegionen(_){try{return new Promise((w,D)=>{this.http.put(this.ServerReadRegionenUrl,{Landcode:_}).subscribe({next:V=>{this.Regionenliste=V.Regionenliste},complete:()=>{this.Regionenliste=l.filter(this.Regionenliste,V=>""!==V.isoCode);for(let V of this.Regionenliste)V.Name=V.name[0].text;w(!0)},error:V=>{this.Regionenliste=[],console.log("Read Regionen ist fehlgeschlagen."),w(!0)}})})}catch(w){this.Debug.ShowErrorMessage(w,"Database Urlaub","ReadRegionen",this.Debug.Typen.Service)}}ReadFeiertage(_){try{let w,D=l.find(this.Pool.Standorteliste,{_id:this.CurrentMitarbeiter.StandortID});l.isUndefined(D)&&(D=null);let L={Standort:D,Jahr:this.CurrentJahr,Bundeslandkuerzel:this.Bundeslandkuerzel,Landcode:_};return new Promise((N,V)=>{this.Feiertageliste[_]=[],w=this.http.put(this.ServerReadfeiertageUrl,L),w.subscribe({next:G=>{this.Feiertageliste[_]=G.Feiertageliste},complete:()=>{N(!0)},error:G=>{this.Feiertageliste[_]=[],console.log("Read Feiertage ist fehlgeschlagen."),N(!0)}})})}catch(w){this.Debug.ShowErrorMessage(w,"Database Urlaub","ReadFeiertage",this.Debug.Typen.Service)}}ReadFerien(_){try{let w,D={Jahr:this.CurrentJahr,Bundeslandkuerzel:this.Bundeslandkuerzel,Landcode:_};return this.Ferienliste[_]=[],new Promise((L,N)=>{w=this.http.put(this.ServerReadFerienUrl,D),w.subscribe({next:V=>{this.Ferienliste[_]=V.Ferienliste},complete:()=>{L(!0)},error:V=>{this.Ferienliste[_]=[],console.log("Read Ferien ist fehlgeschlagen."),L(!0)}})})}catch(w){this.Debug.ShowErrorMessage(w,"Database Urlaub","ReadFerien",this.Debug.Typen.Service)}}CountAnfragenanzahlen(){try{this.Urlaubsanfragenanzahl=0,this.Antwortenanzahl=0,this.Vertretungsanfragenanzahl=0,this.Vertretungsantwortenanzahl=0,this.Freigabenanfragenanzahl=0,this.Freigabenantwortenanzahl=0,this.Homeofficantwortenanzahl=0,this.Homeofficeanfragenanzahl=0,null!==this.CurrentMitarbeiter&&(this.GetVertretungenliste(),this.GetFreigabenliste())}catch(_){return this.Debug.ShowErrorMessage(_,"Database Urlaub","CountAnfragenanzahlen",this.Debug.Typen.Service),0}}Init(){try{let _,w,D,L,N;this.Urlaubsanfragenanzahl=0,this.Homeofficeanfragenanzahl=0,this.Vertretungsanfragenanzahl=0,this.Vertretungsantwortenanzahl=0,this.Freigabenanfragenanzahl=0,this.Freigabenantwortenanzahl=0,this.Kalenderwochenhoehenliste=[],this.CurrentMitarbeiter=null===this.CurrentMitarbeiter?l.cloneDeep(this.Pool.Mitarbeiterdaten):l.find(this.Pool.Mitarbeiterliste,{_id:this.CurrentMitarbeiter._id}),null!==this.CurrentMitarbeiter&&(_=l.find(this.Pool.Standorteliste,{_id:this.CurrentMitarbeiter.StandortID}),this.Laendercode=l.isUndefined(_)?"DE":_.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=l.find(this.CurrentMitarbeiter.Urlaubsliste,{Jahr:this.CurrentJahr}),l.isUndefined(this.CurrentUrlaub)?(this.CurrentUrlaub=this.GetEmptyUrlaub(this.CurrentJahr),this.CurrentUrlaubzeitspanne=null,this.CurrentMitarbeiter.Urlaubsliste.push(this.CurrentUrlaub)):this.CurrentUrlaubzeitspanne=null,l.isUndefined(this.CurrentUrlaub.Projektbeteiligteliste)&&(this.CurrentUrlaub.Projektbeteiligteliste=[]),l.isUndefined(this.CurrentUrlaub.Ferienblockerliste)&&(this.CurrentUrlaub.Ferienblockerliste=[]),l.isUndefined(this.CurrentUrlaub.Feiertageblockerliste)&&(this.CurrentUrlaub.Feiertageblockerliste=[]));for(let V of this.CurrentUrlaub.Urlaubzeitspannen)V=this.InitUrlaubzeitspanne(V);for(let V of this.CurrentUrlaub.Homeofficezeitspannen)V=this.InitHomeofficezeitspanne(V);this.UrlaublisteExtern=[];for(let V of this.CurrentUrlaub.Projektbeteiligteliste)if(w=l.find(this.Pool.Mitarbeiterliste,{_id:V.MitarbeiterID}),!l.isUndefined(w)){D=l.find(w.Urlaubsliste,{Jahr:this.CurrentJahr}),l.isUndefined(D)?(D=this.GetEmptyUrlaub(this.CurrentJahr),D.MitarbeiterIDExtern=w._id,D.NameExtern=w.Vorname+" "+w.Name,D.NameKuerzel=w.Kuerzel):(D=l.cloneDeep(D),D.MitarbeiterIDExtern=w._id,D.NameExtern=w.Vorname+" "+w.Name,D.NameKuerzel=w.Kuerzel,D.Urlaubzeitspannen=l.filter(D.Urlaubzeitspannen,G=>G.Status!==this.Urlaubstatusvarianten.Abgelehnt)),L=0,L+=w.Urlaub,L+=w.Resturlaub,N=0;for(let G of D.Urlaubzeitspannen)G.Status!==this.Urlaubstatusvarianten.Abgelehnt&&(N+=G.Tageanzahl);D.Text=null!==this.CurrentMitarbeiter&&!0===this.CurrentMitarbeiter.Urlaubsfreigaben?"["+N+" von "+L+"]":"["+N+"]",this.UrlaublisteExtern.push(D)}}catch(_){this.Debug.ShowErrorMessage(_,"Database Urlaub","Init",this.Debug.Typen.Service)}}InitHomeofficezeitspanne(_){try{return l.isUndefined(_.Checked)&&(_.Checked=!1),_}catch(w){this.Debug.ShowErrorMessage(w,"Database Urlaub","InitHomeofficezeitspanne",this.Debug.Typen.Service)}}InitUrlaubzeitspanne(_){try{return(l.isUndefined(_.UrlaubsvertreterID)||""===_.UrlaubsvertreterID)&&(_.UrlaubsvertreterID=null),(l.isUndefined(_.UrlaubsfreigeberID)||""===_.UrlaubsfreigeberID)&&(_.UrlaubsfreigeberID=null),l.isUndefined(_.Planungmeldung)&&(_.Planungmeldung=""),l.isUndefined(_.Freigabemeldung)&&(_.Freigabemeldung=""),l.isUndefined(_.FreigabeanfrageSended)&&(_.FreigabeanfrageSended=!1),l.isUndefined(_.FreigabeantwortSended)&&(_.FreigabeantwortSended=!1),l.isUndefined(_.FreigabeantwortOfficeSended)&&(_.FreigabeantwortOfficeSended=!1),l.isUndefined(_.Freigabeantwortzeitstempel)&&(_.Freigabeantwortzeitstempel=null),l.isUndefined(_.FreigabeantwortOfficezeitstempel)&&(_.FreigabeantwortOfficezeitstempel=null),l.isUndefined(_.Checked)&&(_.Checked=!1),l.isUndefined(_.Halbertag)&&(_.Halbertag=!1),l.isUndefined(_.Betriebsurlaub)&&(_.Betriebsurlaub=!1),l.isUndefined(_.UrlaubsvertreterIDListe)&&(_.UrlaubsvertreterIDListe=l.isUndefined(_.UrlaubsvertreterID)||null===_.UrlaubsvertreterID?[]:[_.UrlaubsvertreterID]),l.isUndefined(_.Vertretungskonversationliste)&&(_.Vertretungskonversationliste=[]),this.InitVertreterkonversationen(_,!1),"Beantragt"===_.Status&&(_.Status=this.Urlaubstatusvarianten.Geplant),_}catch(w){this.Debug.ShowErrorMessage(w,"Database Urlaub","InitUrlaubzeitspanne",this.Debug.Typen.Service)}}InitVertreterkonversationen(_,w){try{let D;for(let L of _.UrlaubsvertreterIDListe)D=l.findIndex(_.Vertretungskonversationliste,{VertreterID:L}),-1===D?_.Vertretungskonversationliste.push({VertreterID:L,Status:this.Const.NONE,VertreteranfrageSended:!1,VertreterantwortSended:!1,Vertretunganfragezeitstempel:0,Vertretungantwortzeitstempel:0,Vertretungmeldung:""}):!0===w&&_.Vertretungskonversationliste[D].Status!==this.Urlaubstatusvarianten.Vertreterfreigabe&&(_.Vertretungskonversationliste[D]={VertreterID:L,Status:this.Const.NONE,VertreteranfrageSended:!1,VertreterantwortSended:!1,Vertretunganfragezeitstempel:0,Vertretungantwortzeitstempel:0,Vertretungmeldung:""})}catch(D){this.Debug.ShowErrorMessage(D,"Database Urlaub","InitVertreterkonversationen",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(_){this.Debug.ShowErrorMessage(_,"Database Urlaub","SetPlanungsmonate",this.Debug.Typen.Service)}}GetEmptyUrlaub(_){try{let w={Jahr:_,Urlaubzeitspannen:[],Homeofficezeitspannen:[],Projektbeteiligteliste:[],Ferienblockerliste:[],Feiertageblockerliste:[]};return null!==this.CurrentMitarbeiter&&!l.isUndefined(this.CurrentMitarbeiter.Urlaubsliste[0])&&(w.Projektbeteiligteliste=this.CurrentMitarbeiter.Urlaubsliste[0].Projektbeteiligteliste,w.Ferienblockerliste=this.CurrentMitarbeiter.Urlaubsliste[0].Ferienblockerliste,w.Feiertageblockerliste=this.CurrentMitarbeiter.Urlaubsliste[0].Feiertageblockerliste),w}catch(w){this.Debug.ShowErrorMessage(w.message,"Database Urlaub","GetEmptyUrlaub",this.Debug.Typen.Service)}}CheckIsFerientag(_,w){try{let L,N,D=(0,i.default)(_.Tagstempel),V=!1;if(!l.isUndefined(this.Ferienliste[w]))for(let G of this.Ferienliste[w])if(L=(0,i.default)(G.Anfangstempel),N=(0,i.default)(G.Endestempel),D.isSameOrAfter(L,"day")&&D.isSameOrBefore(N,"day")){V=!0;break}return V}catch(D){this.Debug.ShowErrorMessage(D,"Database Urlaub","CheckIsFerientag",this.Debug.Typen.Service)}}CheckIsUrlaubstag(_,w){try{let L,N,G,D=(0,i.default)(w.Tagstempel),R=l.findIndex(_.Urlaubsliste,{Jahr:this.CurrentJahr});if(-1!==R){G=_.Urlaubsliste[R];for(let A of G.Urlaubzeitspannen)if(L=(0,i.default)(A.Startstempel),N=(0,i.default)(A.Endestempel),D.isSameOrAfter(L,"day")&&D.isSameOrBefore(N,"day")&&A.Status!==this.Urlaubstatusvarianten.Abgelehnt)switch(A.Status){case this.Urlaubstatusvarianten.Geplant:if(!0===this.GesamtuebersichtSetting.ShowGeplant)return A;break;case this.Urlaubstatusvarianten.Vertreteranfrage:if(!0===this.GesamtuebersichtSetting.ShowVertreteranfragen)return A;break;case this.Urlaubstatusvarianten.Vertreterfreigabe:if(!0===this.GesamtuebersichtSetting.ShowVertreterfreigaben)return A;break;case this.Urlaubstatusvarianten.Vertreterablehnung:if(!0===this.GesamtuebersichtSetting.ShowVertreterablehnungen)return A;break;case this.Urlaubstatusvarianten.Genehmigt:if(!0===this.GesamtuebersichtSetting.ShowUrlaubsgenehmigungen)return A;break;case this.Urlaubstatusvarianten.Abgelehnt:if(!0===this.GesamtuebersichtSetting.ShowUrlaubsablehnungen)return A}}return null}catch(D){this.Debug.ShowErrorMessage(D,"Database Urlaub","CheckIsUrlaubstag",this.Debug.Typen.Service)}}CheckIsHomeofficetag(_,w){try{let L,N,V,D=(0,i.default)(w.Tagstempel),G=l.findIndex(_.Urlaubsliste,{Jahr:this.CurrentJahr});if(-1!==G){V=_.Urlaubsliste[G];for(let R of V.Homeofficezeitspannen)if(L=(0,i.default)(R.Startstempel),N=(0,i.default)(R.Endestempel),D.isSameOrAfter(L,"day")&&D.isSameOrBefore(N,"day")&&R.Status!==this.Homeofficestatusvarianten.Abgelehnt)switch(R.Status){case this.Homeofficestatusvarianten.Geplant:if(!0===this.GesamtuebersichtSetting.ShowHomeofficeGeplant)return R;break;case this.Homeofficestatusvarianten.Genehmigt:if(!0===this.GesamtuebersichtSetting.ShowHomeofficeGenehmigt)return R;break;case this.Homeofficestatusvarianten.Freigabeanfrage:if(!0===this.GesamtuebersichtSetting.ShowHomeofficeAnfrage)return R}}return null}catch(D){this.Debug.ShowErrorMessage(D,"Database Urlaub","CheckIsHomeofficetag",this.Debug.Typen.Service)}}GetFeriennamen(_,w){try{let D=w+": Unbekannt";for(let L of _.name)L.language===w&&(D=L.text);return D}catch(D){this.Debug.ShowErrorMessage(D,"Database Urlaub","GetFeriennamen",this.Debug.Typen.Service)}}GetFeiertagnamen(_,w){try{let D=w+": Unbekannt";for(let L of _.name)L.language===w&&(D=L.text);return D}catch(D){this.Debug.ShowErrorMessage(D,"Database Urlaub","GetFeiertagnamen",this.Debug.Typen.Service)}}GetFerientag(_,w){try{let L,N,V,G,D=(0,i.default)(_.Tagstempel);if(!l.isUndefined(this.Ferienliste[w]))for(G of this.Ferienliste[w])if(L=(0,i.default)(G.Anfangstempel),N=(0,i.default)(G.Endestempel),D.isSameOrAfter(L,"day")&&D.isSameOrBefore(N,"day"))return V={Tagnummer:0,Hauptmonat:!1,Kalenderwoche:0,Tag:"",Tagstempel:G.Anfangstempel,Ferienname_DE:this.GetFeriennamen(G,"DE"),Ferienname_BG:this.GetFeriennamen(G,"EN")},V;return null}catch(D){this.Debug.ShowErrorMessage(D,"Database Urlaub","GetFerientag",this.Debug.Typen.Service)}}CheckIsFeiertag(_,w){try{let L,V,D=(0,i.default)(_.Tagstempel),N=!1;if(!l.isUndefined(this.Feiertageliste[w]))for(let G of this.Feiertageliste[w])if(L=(0,i.default)(G.Anfangstempel),L.isSame(D,"day")){N=!0;for(let R of this.CurrentUrlaub.Feiertageblockerliste)V=(0,i.default)(R),V.isSame(D,"day")&&(N=!1)}return N}catch(D){this.Debug.ShowErrorMessage(D,"Database Urlaub","CheckIsFeiertag",this.Debug.Typen.Service)}}GetFeiertag(_,w){try{let L,N,V,D=(0,i.default)(_.Tagstempel);if(!l.isUndefined(this.Feiertageliste[w]))for(V of this.Feiertageliste[w])if(L=(0,i.default)(V.Anfangstempel),L.isSame(D,"day"))return N={Tagnummer:0,Hauptmonat:!1,Kalenderwoche:0,Tag:"",Tagstempel:V.Anfangstempel,Feiertagname_DE:this.GetFeiertagnamen(V,"DE"),Feiertagname_BG:this.GetFeiertagnamen(V,"EN")},N;return null}catch(D){this.Debug.ShowErrorMessage(D,"Database Urlaub","GetFeiertag",this.Debug.Typen.Service)}}GetEmptyUrlaubszeitspanne(){try{return{ZeitspannenID:this.Pool.GetNewUniqueID(),Startstempel:null,Endestempel:null,Startstring:"",Endestring:"",UrlaubsvertreterID:null,UrlaubsvertreterIDListe:[],Vertretungskonversationliste:[],UrlaubsfreigeberID:null,Status:this.Urlaubstatusvarianten.Geplant,Planungmeldung:"",Freigabemeldung:"",Halbertag:!1,Betriebsurlaub:!1,Tageanzahl:0,FreigabeanfrageSended:!1,FreigabeantwortSended:!1,FreigabeantwortOfficeSended:!1,Freigabeantwortzeitstempel:null,FreigabeantwortOfficezeitstempel:null}}catch(_){this.Debug.ShowErrorMessage(_.message,"Database Urlaub","GetEmptyZeitspanne",this.Debug.Typen.Service)}}GetEmptyHomeofficezeitspanne(){try{return{ZeitspannenID:this.Pool.GetNewUniqueID(),Startstempel:null,Endestempel:null,Startstring:"",Endestring:"",Status:this.Homeofficestatusvarianten.Geplant,Planungmeldung:"",Vertretungmeldung:"",Freigabemeldung:"",Tageanzahl:0,FreigabeanfrageSended:!1,FreigabeantwortSended:!1,Freigabeantwortzeitstempel:null}}catch(_){this.Debug.ShowErrorMessage(_.message,"Database Urlaub","GetEmptyHomeofficezeitspanne",this.Debug.Typen.Service)}}CountResturlaub(){try{let _=0;if(null!==this.CurrentUrlaub&&null!==this.CurrentMitarbeiter){_+=this.CurrentMitarbeiter.Urlaub,_+=this.CurrentMitarbeiter.Resturlaub;for(let w of this.CurrentUrlaub.Urlaubzeitspannen)w.Status!==this.Urlaubstatusvarianten.Abgelehnt&&(_-=w.Tageanzahl);return _}return 0}catch(_){this.Debug.ShowErrorMessage(_,"Database Urlaub","CountResturlaub",this.Debug.Typen.Service)}}CountHomeoffice(){try{let _=210;if(null!==this.CurrentUrlaub&&null!==this.Pool.Mitarbeiterdaten){for(let w of this.CurrentUrlaub.Homeofficezeitspannen)w.Status!==this.Homeofficestatusvarianten.Abgelehnt&&(_-=w.Tageanzahl);return _}return 0}catch(_){this.Debug.ShowErrorMessage(_,"Database Urlaub","CountHomeoffice",this.Debug.Typen.Service)}}CountHomeGeplant(){try{let _=0;if(null!==this.CurrentUrlaub&&null!==this.Pool.Mitarbeiterdaten)for(let w of this.CurrentUrlaub.Homeofficezeitspannen)w.Status===this.Homeofficestatusvarianten.Geplant&&_++;return _}catch(_){this.Debug.ShowErrorMessage(_,"Database Urlaub","CountHomeGeplant",this.Debug.Typen.Service)}}CountHomeFreigbeanfragen(){try{let _=0;if(null!==this.CurrentUrlaub&&null!==this.Pool.Mitarbeiterdaten)for(let w of this.CurrentUrlaub.Homeofficezeitspannen)w.Status===this.Homeofficestatusvarianten.Freigabeanfrage&&_++;return _}catch(_){this.Debug.ShowErrorMessage(_,"Database Urlaub","CountHomeFreigbeanfragen",this.Debug.Typen.Service)}}CountHomeGenehmigt(){try{let _=0;if(null!==this.CurrentUrlaub&&null!==this.Pool.Mitarbeiterdaten)for(let w of this.CurrentUrlaub.Homeofficezeitspannen)w.Status===this.Homeofficestatusvarianten.Genehmigt&&_++;return _}catch(_){this.Debug.ShowErrorMessage(_,"Database Urlaub","CountHomeGenehmigt",this.Debug.Typen.Service)}}CountHomeAbgelehnt(){try{let _=0;if(null!==this.CurrentUrlaub&&null!==this.Pool.Mitarbeiterdaten)for(let w of this.CurrentUrlaub.Homeofficezeitspannen)w.Status===this.Homeofficestatusvarianten.Abgelehnt&&_++;return _}catch(_){this.Debug.ShowErrorMessage(_,"Database Urlaub","CountHomeAbgelehnt",this.Debug.Typen.Service)}}CheckDisplayExternenUrlaub(_){try{let w,D,L;return null!==this.CurrentUrlaub&&(w=l.find(this.CurrentUrlaub.Projektbeteiligteliste,{MitarbeiterID:_}),!l.isUndefined(w)&&(D=l.find(this.Pool.Mitarbeiterliste,{_id:w.MitarbeiterID}),L=l.find(D.Urlaubsliste,{Jahr:this.CurrentUrlaub.Jahr}),!l.isUndefined(L)&&w.Display&&L.Urlaubzeitspannen.length>0))}catch(w){this.Debug.ShowErrorMessage(w,"Database Urlaub","CheckDisplayExternenUrlaub",this.Debug.Typen.Service)}}HomeofficeLoeschen(_){var w=this;return n(function*(){try{for(let N of w.CurrentUrlaub.Homeofficezeitspannen)!0===l.isUndefined(N.Checked)&&(N.Checked=!1);let D=l.filter(w.CurrentUrlaub.Homeofficezeitspannen,N=>N.Status===_&&!1===N.Checked||N.Status!==_);w.CurrentUrlaub=l.find(w.CurrentMitarbeiter.Urlaubsliste,{Jahr:w.CurrentJahr}),w.CurrentUrlaub.Homeofficezeitspannen=D;let L=l.findIndex(w.CurrentMitarbeiter.Urlaubsliste,{Jahr:w.CurrentJahr});w.CurrentMitarbeiter.Urlaubsliste[L]=w.CurrentUrlaub,yield w.DBMitarbeiter.UpdateMitarbeiterUrlaub(w.CurrentMitarbeiter),w.ExterneHomeofficeChanged.emit()}catch(D){w.Debug.ShowErrorMessage(D,"Database Urlaub","HomeofficeLoeschen",w.Debug.Typen.Service)}})()}GetHomeofficezeitspannenByStataus(_){try{let L,w=l.filter(this.CurrentUrlaub.Homeofficezeitspannen,{Status:_}),D=[];w.sort((N,V)=>N.StartstempelV.Startstempel?1:0);for(let N=0;N(L=(0,i.default)(V.Startstempel),L.month()===N));return D}catch(w){this.Debug.ShowErrorMessage(w,"Database Urlaub","GetHomeofficezeitspannenByStataus",this.Debug.Typen.Service)}}CheckVertretungIsAbgelehnt(_){try{let w,D=!1;for(w of _.Vertretungskonversationliste)w.Status===this.Urlaubstatusvarianten.Vertreterablehnung&&(D=!0);return D}catch(w){this.Debug.ShowErrorMessage(w,"Database Urlaub","CheckVertretungIsAbgelehnt",this.Debug.Typen.Service)}}GetUrlaubStatuscolorByKonversation(_){try{let w="",D=l.find(_.Vertretungskonversationliste,{VertreterID:this.CurrentMitarbeiter._id});return l.isUndefined(D)||(w=D.Status===this.Urlaubstatusvarianten.Vertreteranfrage?this.Urlaubsfaben.Vertreteranfrage:D.Status===this.Urlaubstatusvarianten.Vertreterfreigabe?this.Urlaubsfaben.Vertreterfreigabe:this.Urlaubsfaben.Vertreterablehnung),w}catch(w){this.Debug.ShowErrorMessage(w,"file","GetUrlaubStatuscolorByKonversation",this.Debug.Typen.Service)}}static \u0275fac=function(w){return new(w||f)(e.\u0275\u0275inject(o.DebugProvider),e.\u0275\u0275inject(d.DatabasePoolService),e.\u0275\u0275inject(v.ConstProvider),e.\u0275\u0275inject(M.Graphservice),e.\u0275\u0275inject(p.DatabaseMitarbeiterService),e.\u0275\u0275inject(E.BasicsProvider),e.\u0275\u0275inject(S.HttpClient))};static \u0275prov=e.\u0275\u0275defineInjectable({token:f,factory:f.\u0275fac,providedIn:"root"})}return f})()},34388:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.DebugProvider=void 0;const n=s(81316),c=n.__importStar(s(54496)),u=n.__importStar(s(14652)),l=n.__importStar(s(92512)),i=n.__importStar(s(34396)),e=n.__importStar(s(29743));m.DebugProvider=(()=>{class d{Basics;nav;Fehlerservice;Const;Typen={Page:"Page",Component:"Component",Provider:"Provider",Directive:"Directive",Service:"Service"};Debugmessageliste;constructor(M,p,E,S){this.Basics=M,this.nav=p,this.Fehlerservice=E,this.Const=S;try{this.Debugmessageliste=[]}catch{}}ShowErrorMessage(M,p,E,S){try{console.log("File: "+p+" | Function: "+E+" | Message: "+M),this.Debugmessageliste.push({Skript:p,Message:M,Function:E,Color:"red"})}catch{}}ShowMessage(M,p,E,S){try{console.log("File: "+p+" | Function: "+E+" | Message: "+M),this.Debugmessageliste.push({Skript:p,Message:M,Function:E,Color:"blue"})}catch{}}static \u0275fac=function(p){return new(p||d)(c.\u0275\u0275inject(u.BasicsProvider),c.\u0275\u0275inject(l.NavController),c.\u0275\u0275inject(i.ErrorService),c.\u0275\u0275inject(e.ConstProvider))};static \u0275prov=c.\u0275\u0275defineInjectable({token:d,factory:d.\u0275fac,providedIn:"root"})}return d})()},21052:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.DisplayService=void 0;const n=s(81316),c=n.__importStar(s(17964)),u=s(17964),l=n.__importStar(s(54496)),i=n.__importStar(s(34388));m.DisplayService=(()=>{class o{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(v){this.Debug=v;try{this.Dialogliste=[]}catch(M){this.Debug.ShowErrorMessage(M.message,"Display","constructor",this.Debug.Typen.Service)}}ResetDialogliste(){try{this.Dialogliste=[]}catch(v){this.Debug.ShowErrorMessage(v.message,"Display","ResetDialogliste",this.Debug.Typen.Service)}}AddDialog(v,M){try{let p=c.find(this.Dialogliste,{Dialogname:v});c.isUndefined(p)?this.Dialogliste.push({Dialogname:v,ZIndex:M}):this.Debug.ShowErrorMessage(new Error("Add Dialog Fehler: "+v),"Dialog","AddDialog",this.Debug.Typen.Service),(0,u.forEach)(this.Dialogliste,E=>{console.log(E)})}catch(p){this.Debug.ShowErrorMessage(p.message,"Dialog","AddDialog",this.Debug.Typen.Service)}}RemoveDialog(v){try{this.Dialogliste=c.filter(this.Dialogliste,M=>M.Dialogname!==v),0===this.Dialogliste.length&&this.Debug.ShowMessage("Dialogliste ist leer.","Dialog","RemoveDialog",this.Debug.Typen.Service)}catch(M){this.Debug.ShowErrorMessage(M.message,"Dialog","RemoveDialog",this.Debug.Typen.Service)}}ShowOpacity(v){try{let E,M=0,p=0;return(0,u.forEach)(this.Dialogliste,S=>{S.ZIndex>M&&(M=S.ZIndex),S.Dialogname===v&&(p=S.ZIndex,E=S.Dialogname)}),p>=M}catch(M){this.Debug.ShowErrorMessage(M.message,"Dialog","ShowOpacity",this.Debug.Typen.Service)}}static \u0275fac=function(M){return new(M||o)(l.\u0275\u0275inject(i.DebugProvider))};static \u0275prov=l.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})()},34396:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.ErrorService=void 0;const n=s(81316),c=n.__importStar(s(54496)),u=n.__importStar(s(29743));m.ErrorService=(()=>{class i{Const;Fehlermeldung;CanGoBack;constructor(o){this.Const=o;try{this.Fehlermeldung=[],this.CanGoBack=!0}catch{}}static \u0275fac=function(d){return new(d||i)(c.\u0275\u0275inject(u.ConstProvider))};static \u0275prov=c.\u0275\u0275defineInjectable({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})()},8608:(pe,m,s)=>{"use strict";var n=s(1196).default;Object.defineProperty(m,"__esModule",{value:!0}),m.Graphservice=void 0;const c=s(81316),u=s(54496),l=s(23476),i=s(57140),e=c.__importStar(s(17964)),o=c.__importDefault(s(35908)),d=c.__importStar(s(54496)),v=c.__importStar(s(34388)),M=c.__importStar(s(29743)),p=c.__importStar(s(97092)),E=c.__importStar(s(19668)),S=c.__importStar(s(14652)),y=c.__importStar(s(7992)),f=c.__importStar(s(14476));m.Graphservice=(()=>{class _{msalGuardConfig;Debug;Const;AuthService;Tools;Basics;Pool;domSanitizer;ImageZoomOut=new u.EventEmitter;Graphuser;Teamsliste;UserimageSRC;TeamsRootfilelist;TeamsCurrentfilelist;TeamsSubdirectorylist;CurrentTeamsID;CurrentPDFDownload;KalenderKW;BAESiteID;FilebrowserModus;FilebrowserModusvarianten={Alle_Projekte:"Alle_Projekte",Current_Projekt:"Current_Projekt"};constructor(D,L,N,V,G,R,k,A){this.msalGuardConfig=D,this.Debug=L,this.Const=N,this.AuthService=V,this.Tools=G,this.Basics=R,this.Pool=k,this.domSanitizer=A;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.FilebrowserModus=this.FilebrowserModusvarianten.Alle_Projekte,this.KalenderKW=(0,o.default)().locale("de").isoWeek(),this.BAESiteID="baeeu.sharepoint.com,1b93d6ea-3f8b-4416-9ff1-a50aaba6f8ca,134790cc-e062-4882-ae5e-18813809cc87"}catch(H){this.Debug.ShowErrorMessage(H.message,"Graph","constructor",this.Debug.Typen.Service)}}GetOwnUserinfo(){var D=this;return n(function*(){try{let L=yield D.AuthService.RequestToken("user.read");const N=i.Client.init({authProvider:V=>{V(null,L)}});return new Promise((V,G)=>{null!==L?N.api("/me").select("*").get().then(R=>{D.Graphuser=R,V(!0)}).catch(R=>{"InvalidAuthenticationToken"===(console.log("Benutzer konnte nicht geladen werden."),R.code)&&(D.AuthService.UnsetActiveUser(),D.Tools.SetRootPage(D.Const.Pages.HomePage)),console.log(R),V(!0)}):(console.log("GetOwnUserinfo Token Error"),V(!0))})}catch(L){D.Debug.ShowErrorMessage(L,"Graph","GetOwnUserinfo",D.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(D){this.Debug.ShowErrorMessage(D,"Graph","GetEmptyTeamsfile",this.Debug.Typen.Service)}}GetSiteSubdirictoryfilelist(D,L){var N=this;return n(function*(){try{let G,V=yield N.AuthService.RequestToken("user.read"),R=[],k=[];N.TeamsRootfilelist=[],N.TeamsCurrentfilelist=[];const A=i.Client.init({authProvider:H=>{H(null,V)}});return new Promise((H,K)=>{null!==V?A.api("/sites/"+N.BAESiteID+"/drive/items/"+D.id+"/children").get().then(ie=>{for(G of ie.value)e.isUndefined(G.file)?(G.isfolder=!0,k.push(G)):(G.isfolder=!1,R.push(G));k.sort((J,be)=>J.namebe.name?1:0),R.sort((J,be)=>J.namebe.name?1:0),!1===L?N.TeamsRootfilelist=k:(N.TeamsRootfilelist=k,N.TeamsRootfilelist=N.TeamsRootfilelist.concat(R)),N.TeamsCurrentfilelist=N.TeamsRootfilelist,e.isUndefined(e.find(N.TeamsSubdirectorylist,J=>J.id===D.id))&&N.TeamsSubdirectorylist.push(D),H(!0)}).catch(ie=>{K(ie)}):K(!1)})}catch(V){N.Debug.ShowErrorMessage(V,"Graph","GetSiteSubdirictoryfilelist",N.Debug.Typen.Service)}})()}DownloadPDFTeamsFile(D,L){var N=this;return n(function*(){try{let V=yield N.AuthService.RequestToken("user.read"),G={name:L.name,id:"",context:"",url:""};const R=i.Client.init({authProvider:k=>{k(null,V)}});return new Promise((k,A)=>{null!==V?R.api("/groups/"+D+"/drive/items/"+L.id+"?select=id,@microsoft.graph.downloadUrl").get().then(H=>{G.id=H.id,G.url=H["@microsoft.graph.downloadUrl"],G.context=H["@odata.context"],N.CurrentPDFDownload=G,k(G)}).catch(H=>{A(H)}):A(null)})}catch(V){N.Debug.ShowErrorMessage(V,"Graph","DownloadPDFTeamsFile",N.Debug.Typen.Service)}})()}DownloadPDFSiteFile(D){var L=this;return n(function*(){try{let N=yield L.AuthService.RequestToken("user.read"),V={name:D.name,id:"",context:"",url:""};const G=i.Client.init({authProvider:R=>{R(null,N)}});return new Promise((R,k)=>{null!==N?G.api("/sites/"+L.BAESiteID+"/drive/items/"+D.id+"?select=id,@microsoft.graph.downloadUrl").get().then(A=>{V.id=A.id,V.url=A["@microsoft.graph.downloadUrl"],V.context=A["@odata.context"],L.CurrentPDFDownload=V,R(V)}).catch(A=>{k(A)}):k(null)})}catch(N){L.Debug.ShowErrorMessage(N,"Graph","DownloadPDFSiteFile",L.Debug.Typen.Service)}})()}DownloadPDFSiteFileViaLink(D){var L=this;return n(function*(){try{let N=yield L.AuthService.RequestToken("user.read"),V=document.createElement("a"),G={name:"",id:"",context:"",url:""};const R=i.Client.init({authProvider:k=>{k(null,N)}});return new Promise((k,A)=>{null!==N?R.api("/sites/"+L.BAESiteID+"/drive/items/"+D+"?select=id,@microsoft.graph.downloadUrl").get().then(H=>{G.id=H.id,G.url=H["@microsoft.graph.downloadUrl"],G.context=H["@odata.context"],L.CurrentPDFDownload=G,document.body.appendChild(V),V.href=G.url,V.click(),V.remove(),k(G)}).catch(H=>{A(H)}):A(null)})}catch(N){L.Debug.ShowErrorMessage(N,"Graph","DownloadPDFSiteFileViaLink",L.Debug.Typen.Service)}})()}TestGraph(){var D=this;return n(function*(){try{let L=yield D.AuthService.RequestToken("user.read"),N="632cc6c8-51d5-4219-8092-ed10a792e715";const V=i.Client.init({authProvider:G=>{G(null,L)}});return new Promise((G,R)=>{null!==L?V.api("/groups/"+N+"/drive/root:/General/11 Jour Fixe").version("beta").get().then(k=>{G(!0)}).catch(k=>{R(k)}):R(!1)})}catch(L){D.Debug.ShowErrorMessage(L,"Graph","TestGraph",D.Debug.Typen.Service)}})()}TeamsCheckFileExists(D,L,N){var V=this;return n(function*(){try{let k,G=yield V.AuthService.RequestToken("user.read"),R=!1;const A=i.Client.init({authProvider:H=>{H(null,G)}});return L=L.replace("ROOT:",""),new Promise((H,K)=>{null!==G?A.api("/groups/"+D+"/drive/items/"+L+"/children").get().then(ie=>{for(k of ie.value)e.isUndefined(k.folder)&&k.name===N&&(R=!0);H(R)}).catch(ie=>{K(ie)}):K(!1)})}catch(G){V.Debug.ShowErrorMessage(G,"Graph","TeamsCheckFileExists",V.Debug.Typen.Service)}})()}SiteCheckFileExists(D,L){var N=this;return n(function*(){try{let R,V=yield N.AuthService.RequestToken("user.read"),G=!1;const k=i.Client.init({authProvider:A=>{A(null,V)}});return D=D.replace("ROOT:",""),new Promise((A,H)=>{null!==V?k.api("/sites/"+N.BAESiteID+"/drive/items/"+D+"/children").get().then(K=>{for(R of K.value)e.isUndefined(R.folder)&&R.name===L&&(G=!0);A(G)}).catch(K=>{A(null)}):H(!1)})}catch(V){N.Debug.ShowErrorMessage(V,"Graph","SiteCheckFileExists",N.Debug.Typen.Service)}})()}GetTeamsSubDirectory(D,L){var N=this;return n(function*(){try{let V=yield N.AuthService.RequestToken("user.read");const G=i.Client.init({authProvider:R=>{R(null,V)}});return new Promise((R,k)=>{null!==V?G.api("/groups/"+D+"/drive/items/"+L).get().then(A=>{R(A)}).catch(A=>{R(null)}):k(null)})}catch(V){N.Debug.ShowErrorMessage(V,"Graph","GetTeamsSubDirectory",N.Debug.Typen.Service)}})()}GetSiteSubDirectory(D){var L=this;return n(function*(){try{let N=yield L.AuthService.RequestToken("user.read");const V=i.Client.init({authProvider:G=>{G(null,N)}});return new Promise((G,R)=>{null!==N?V.api("/sites/"+L.BAESiteID+"/drive/items/"+D).get().then(k=>{G(k)}).catch(k=>{G(null)}):R(null)})}catch(N){L.Debug.ShowErrorMessage(N,"Graph","GetSiteSubDirectory",L.Debug.Typen.Service)}})()}GetAllUsers(){var D=this;return n(function*(){try{let V,G,L=[],N=[],R=0,k=yield D.AuthService.RequestToken("User.ReadBasic.All");const A=i.Client.init({authProvider:H=>{H(null,k)}});if(V=yield A.api("/users").count().get(),e.isUndefined(V["@odata.count"])||(R=V["@odata.count"]),!e.isUndefined(V.value)&&(N.push(V.value),!e.isUndefined(V["@odata.nextLink"]))){do{G=V["@odata.nextLink"],V=yield A.api(G).get(),e.isUndefined(V.value)||N.push(V.value)}while(!e.isUndefined(V["@odata.nextLink"]));e.isUndefined(V.value)||N.push(V.value)}for(let H of N)for(let K of H)L.push(K);return L=e.filter(L,H=>null!==H.mail&&null!==H.givenName&&null!==H.surname),Promise.resolve(L)}catch(L){D.Debug.ShowErrorMessage(L,"Graph","GetAllUsers",D.Debug.Typen.Service)}})()}SendMail(D,L,N){var V=this;return n(function*(){try{let G,R=yield V.AuthService.RequestToken("Mail.ReadWrite");const k=i.Client.init({authProvider:A=>{A(null,R)}});if(!0===V.Pool.Appeinstellungen.DebugNoExternalEmail)for(let A of D)A.emailAddress.address="p.hornburger@gmail.com";if(null===R)return Promise.reject(!1);{const A={message:{subject:L,body:{contentType:"html",content:N},toRecipients:D},saveToSentItems:"true"};try{return G=yield k.api("/me/sendMail").post(A),Promise.resolve(G)}catch{}}}catch(G){V.Debug.ShowErrorMessage(G,"Graph","SendMail",V.Debug.Typen.Service)}})()}GetOwnUserimage(){var D=this;return n(function*(){try{let L=yield D.AuthService.RequestToken("user.read");const N=i.Client.init({authProvider:G=>{G(null,L)}}),V={"Content-Type":"image/jpeg"};return new Promise((G,R)=>{null!==L?N.api("/me/photo/$value").headers(V).responseType(i.ResponseType.BLOB).get().then(k=>{D.UserimageSRC=D.domSanitizer.bypassSecurityTrustUrl(URL.createObjectURL(k)),G(!0)}).catch(k=>{console.log("Fehler beim Laden des Bildes."),D.UserimageSRC=null,G(!0)}):(console.log("GetOwnUserimage Token error"),G(!0))})}catch(L){D.Debug.ShowErrorMessage(L,"Graph","GetOwnUserinfo",D.Debug.Typen.Service)}})()}GetOtherUserimage(D){var L=this;return n(function*(){try{let V,N=yield L.AuthService.RequestToken("user.read");const G=i.Client.init({authProvider:k=>{k(null,N)}}),R={"Content-Type":"image/jpeg"};return new Promise((k,A)=>{null!==N?G.api("/users/"+D+"/photo/$value").headers(R).responseType(i.ResponseType.BLOB).get().then(H=>{V=L.domSanitizer.bypassSecurityTrustUrl(URL.createObjectURL(H)),k(V)}).catch(H=>{404===H.statusCode&&(V=null,k(V)),A(H)}):A(!1)})}catch(N){L.Debug.ShowErrorMessage(N,"Graph","GetOwnUserinfo",L.Debug.Typen.Service)}})()}static \u0275fac=function(L){return new(L||_)(d.\u0275\u0275inject(l.MSAL_GUARD_CONFIG),d.\u0275\u0275inject(v.DebugProvider),d.\u0275\u0275inject(M.ConstProvider),d.\u0275\u0275inject(p.DatabaseAuthenticationService),d.\u0275\u0275inject(E.ToolsProvider),d.\u0275\u0275inject(S.BasicsProvider),d.\u0275\u0275inject(y.DatabasePoolService),d.\u0275\u0275inject(f.DomSanitizer))};static \u0275prov=d.\u0275\u0275defineInjectable({token:_,factory:_.\u0275fac,providedIn:"root"})}return _})()},33940:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.LoadingAnimationService=void 0;const n=s(81316),c=n.__importStar(s(54496)),u=n.__importStar(s(34388)),l=n.__importStar(s(92512)),i=n.__importStar(s(14652));m.LoadingAnimationService=(()=>{class o{Debug;Loader;Basics;AjaxTime;constructor(v,M,p){this.Debug=v,this.Loader=M,this.Basics=p;try{this.AjaxTime=null}catch(E){this.Debug.ShowErrorMessage(E.message,"file","constructor",this.Debug.Typen.Service)}}ShowLoadingAnimation(v,M){try{let E={spinner:"lines",message:'\n \n \n \n \n \n \n \n
'+v+'

'+M+"
",cssClass:"loadingclass",showBackdrop:!0,enableBackdropDismiss:!1,translucent:!1,dismissOnPageChange:!1};return new Promise((S,y)=>{this.AjaxTime=(new Date).getTime(),this.Loader.create(E).then(f=>{f.present(),S(!0)}).catch(f=>{y(f)})})}catch(p){this.Debug.ShowErrorMessage(p.message,"Loading Message Provider","ShowLoadingAnimation",this.Debug.Typen.Service)}}HideLoadingAnimation(v){try{let p,M=this.Basics.Waittime;return p=null!==this.AjaxTime?(new Date).getTime()-this.AjaxTime:M+1,new Promise(E=>{if(!v)return this.Loader.dismiss().then(()=>{E(!0)}).catch(S=>{E(!0)});M>p?M-=p:M=0,setTimeout(()=>{this.Loader.dismiss().then(()=>{E(!0)}).catch(S=>{E(!0)})},M)})}catch(M){this.Debug.ShowErrorMessage(M.message,"Loading Message Provider","HideLoadingAnimation",this.Debug.Typen.Service)}}static \u0275fac=function(M){return new(M||o)(c.\u0275\u0275inject(u.DebugProvider),c.\u0275\u0275inject(l.LoadingController),c.\u0275\u0275inject(i.BasicsProvider))};static \u0275prov=c.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac})}return o})()},59460:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.MenueService=void 0;const n=s(81316),c=n.__importStar(s(54496)),u=n.__importStar(s(34388)),l=n.__importStar(s(19668)),i=n.__importStar(s(29743));m.MenueService=(()=>{class o{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",Gesamtplanung:"Gesamtplanung",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(v,M,p){this.Debug=v,this.Tools=M,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(E){this.Debug.ShowErrorMessage(E.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.Gesamtplanung:this.Tools.SetRootPage(this.Const.Pages.UrlaubsgesamtuebersichtPage);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(v){this.Debug.ShowErrorMessage(v.message,"Menue","SetCurrentPage",this.Debug.Typen.Service)}}static \u0275fac=function(M){return new(M||o)(c.\u0275\u0275inject(u.DebugProvider),c.\u0275\u0275inject(l.ToolsProvider),c.\u0275\u0275inject(i.ConstProvider))};static \u0275prov=c.\u0275\u0275defineInjectable({token:o,factory:o.\u0275fac,providedIn:"root"})}return o})()},77200:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.Navparameter=void 0;const n=s(81316),c=n.__importStar(s(54496)),u=n.__importStar(s(29743));m.Navparameter=(()=>{class i{Const;NavListe;CanGoBack;Debugstatus;constructor(o){this.Const=o;try{this.NavListe=[],this.CanGoBack=!1,this.Debugstatus=!0}catch(d){console.log(d,"Nav Parameter -> constructor:"+d)}}RemovePage(){try{let o=null;return this.NavListe.length>1?(this.NavListe.splice(this.NavListe.length-1,1),o=this.NavListe[this.NavListe.length-1],this.CanGoBack=this.NavListe.length>1):this.CanGoBack=!1,this.Debugstatus&&(console.log("Navparamter -> Removed Page"),this.PrintNavliste()),o}catch(o){console.log(o,"Nav Parameter -> RemovePage:"+o)}}AddPage(o){try{this.CanGoBack=!0,this.NavListe[this.NavListe.length-1]!==o?(this.NavListe.push(o),this.Debugstatus&&(console.log("Navparamter -> AddPage: "+o),this.PrintNavliste())):console.log("Add Page Failed: "+o)}catch(d){console.log(d,"Nav Parameter -> AddPage: "+d)}}PrintNavliste(){try{let o;console.log("**************************"),console.log("Navliste: ");for(let d=0;d "+o):console.log(o);console.log("**************************")}catch(o){console.log(o,"Nav Parameter -> PrintNavliste: "+o)}}SetRootpage(o){try{this.CanGoBack=!1,this.NavListe=[],this.NavListe.push(o),this.Debugstatus&&(console.log("Navparamter -> SetRootpage: "+o),this.PrintNavliste())}catch(d){console.log(d,"Nav Parameter -> SetRootpage: "+d)}}static \u0275fac=function(d){return new(d||i)(c.\u0275\u0275inject(u.ConstProvider))};static \u0275prov=c.\u0275\u0275defineInjectable({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})()},34636:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.SecurityService=void 0;const n=s(81316),c=s(36716),u=n.__importStar(s(54496)),l=n.__importStar(s(34388)),i=n.__importStar(s(19668)),e=n.__importStar(s(29743)),o=n.__importStar(s(7992));m.SecurityService=(()=>{class v{Debug;Tools;Const;Pool;constructor(p,E,S,y){this.Debug=p,this.Tools=E,this.Const=S,this.Pool=y}CheckSecurity(){try{let p=!1;(!1===c.environment.production||this.Pool.Mitarbeiterdaten&&!0===this.Pool.Mitarbeiterdaten.Planeradministrator)&&(p=!0)}catch(p){this.Debug.ShowErrorMessage(p,"Security","CheckSecurity",this.Debug.Typen.Service)}}static \u0275fac=function(E){return new(E||v)(u.\u0275\u0275inject(l.DebugProvider),u.\u0275\u0275inject(i.ToolsProvider),u.\u0275\u0275inject(e.ConstProvider),u.\u0275\u0275inject(o.DatabasePoolService))};static \u0275prov=u.\u0275\u0275defineInjectable({token:v,factory:v.\u0275fac,providedIn:"root"})}return v})()},19668:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.ToolsProvider=void 0;const n=s(81316),c=n.__importStar(s(17964)),u=n.__importDefault(s(35908)),l=n.__importDefault(s(35908)),i=n.__importStar(s(54496)),e=n.__importStar(s(14652)),o=n.__importStar(s(34388)),d=n.__importStar(s(29743)),v=n.__importStar(s(77200)),M=n.__importStar(s(92512));m.ToolsProvider=(()=>{class E{Basics;Debug;Const;NavParameter;nav;platform;alertCtrl;UID_Counter;IsRunningOnDeviceFirstTime;ShowMessage;DialogMessage;IsRunningOnDeviceValue;constructor(y,f,C,_,w,D,L){this.Basics=y,this.Debug=f,this.Const=C,this.NavParameter=_,this.nav=w,this.platform=D,this.alertCtrl=L;try{this.UID_Counter=0,this.IsRunningOnDeviceFirstTime=!0,this.ShowMessage=!1,this.DialogMessage="",this.IsRunningOnDeviceValue=!1}catch(N){this.Debug.ShowErrorMessage(N.message,"Tools","Constructor",this.Debug.Typen.Service)}}IsNumeric(y){try{return!isNaN(parseFloat(y))&&isFinite(y)}catch(f){this.Debug.ShowErrorMessage(f,"Tools","IsNumeric",this.Debug.Typen.Service)}}GetButtonvalueSize(){try{return this.platform.width()<=600?12:6}catch(y){this.Debug.ShowErrorMessage(y.message,"Tools","GetButtonvalueSize",this.Debug.Typen.Service)}}GetDatumFromZeitstempel(y){try{return(0,l.default)(y).format("DD.MM.YY")}catch(f){this.Debug.ShowErrorMessage(f,"Tools","GetDatumFromZeitstempel",this.Debug.Typen.Service)}}GetZeitFromZeitstempel(y){try{return(0,l.default)(y).format("HH:mm")}catch(f){this.Debug.ShowErrorMessage(f,"Tools","GetZeitFromZeitstempel",this.Debug.Typen.Service)}}GenerateFilename(y,f,C){try{let _=y,w=""!==C?"_"+C:"";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(/[^a-zA-Z0-9 ]/g,"_"),_+w+"."+f}catch(_){this.Debug.ShowErrorMessage(_.message,"Tools","GenerateProjektkey",this.Debug.Typen.Service)}}GenerateProjektkey(y,f){try{let C=y;return C=C.replace(/ /g,"_"),C=C.replace(/\xe4/g,"ae"),C=C.replace(/\xc4/g,"AE"),C=C.replace(/\xf6/g,"oe"),C=C.replace(/\xd6/g,"OE"),C=C.replace(/\xfc/g,"ue"),C=C.replace(/\xdc/g,"UE"),C=C.replace(/\xdf/g,"ss"),C=C.replace(/[^a-zA-Z0-9 ]/g,"_"),C}catch(C){this.Debug.ShowErrorMessage(C.message,"Tools","GenerateProjektkey",this.Debug.Typen.Service)}}DeepCompareObjectarrays(y,f){try{let _,w,D,L,N,C=!1;if(y.length>=f.length)for(L of y){if(_=f.findIndex(V=>L[w]===V[w]),-1===_){C=!0;break}D=Object.keys(y[_]),N=f[_];for(let V of D)if(L[V]!==N[V]){C=!0;break}if(!0===C)break}else for(N of f){if(_=y.findIndex(V=>N[w]===V[w]),-1===_){C=!0;break}D=Object.keys(y[_]),L=y[_];for(let V of D)if(N[V]!==L[V]){C=!0;break}if(!0===C)break}return C}catch(C){this.Debug.ShowErrorMessage(C.message,"Tools","DeepCompareObjectarrays",this.Debug.Typen.Service)}}JSONCompareObjectarrays(y,f){try{return JSON.stringify(y)!==JSON.stringify(f)}catch(C){this.Debug.ShowErrorMessage(C.message,"Tools","JSONCompareObjectarrays",this.Debug.Typen.Service)}}CompareObjectarrays(y,f,C){try{let w,_=!1;if(y.length>=f.length){for(let D of y)if(w=f.findIndex(L=>D[C]===L[C]),-1===w){_=!0;break}}else for(let D of f)if(w=y.findIndex(L=>D[C]===L[C]),-1===w){_=!0;break}return _}catch(_){this.Debug.ShowErrorMessage(_.message,"Tools","CompareObjectarrays",this.Debug.Typen.Service)}}ShowEntscheidungDialog(y,f){try{return new Promise(C=>{this.alertCtrl.create({header:y,message:f,cssClass:"alertdialogclass",buttons:[{text:"Nein",cssClass:"infonoclass",handler:()=>{C(this.Const.Dialogmessages.no)}},{text:"Ja",cssClass:"infookclass",handler:()=>{C(this.Const.Dialogmessages.ok)}}]}).then(_=>{_.present()}).catch(_=>{console.log(_)})})}catch(C){this.Debug.ShowErrorMessage(C.message,"Tools","ShowEntscheidungDialog",this.Debug.Typen.Service)}}ShowAuswahlDialog(y,f,C,_){try{return new Promise(w=>{this.alertCtrl.create({header:y,cssClass:"alertdialogclass",message:f,inputs:[{name:"wahla",type:"radio",label:C,value:this.Const.Dialogmessages.wahla,checked:!0},{name:"wahlb",type:"radio",label:_,value:this.Const.Dialogmessages.wahlb}],buttons:[{text:"Abbrechen",role:"cancel",cssClass:"infonotwoclass",handler:()=>{w(null)}},{text:"Fertig",cssClass:"infookclass",handler:D=>{c.isUndefined(D)?w(null):w(D)}}]}).then(D=>{D.present()}).catch(D=>{console.log(D)})})}catch(w){this.Debug.ShowErrorMessage(w.message,"Tools","ShowAuswahlDialog",this.Debug.Typen.Service)}}RemoveNullFromObject(y){try{let f;for(const C of Object.keys(y))f=y[C],null===f&&(f="",y[C]=f);return y}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","RemoveNullFromObject",this.Debug.Typen.Service)}}FormatCurrency(y,f=2,C=",",_="."){try{f=Math.abs(f),f=isNaN(f)?2:f;const w=y<0?"-":"";let D=parseInt(y=Math.abs(Number(y)||0).toFixed(f)).toString(),L=D.length>3?D.length%3:0;return w+(L?D.substr(0,L)+_:"")+D.substr(L).replace(/(\d{3})(?=\d)/g,"$1"+_)+(f?C+Math.abs(y-D).toFixed(f).slice(2):"")+" \u20ac"}catch(w){this.Debug.ShowErrorMessage(w,"Tools","FormatCurrency",this.Debug.Typen.Service)}}FormatNumber(y,f=2,C=",",_="."){try{f=Math.abs(f),f=isNaN(f)?2:f;const w=y<0?"-":"";let D=parseInt(y=Math.abs(Number(y)||0).toFixed(f)).toString(),L=D.length>3?D.length%3:0;return w+(L?D.substr(0,L)+_:"")+D.substr(L).replace(/(\d{3})(?=\d)/g,"$1"+_)+(f?C+Math.abs(y-D).toFixed(f).slice(2):"")}catch(w){this.Debug.ShowErrorMessage(w,"Tools","FormatNumber",this.Debug.Typen.Service)}}FormatMoney(y,f=2,C=",",_="."){try{f=Math.abs(f),f=isNaN(f)?2:f;const w=y<0?"-":"";let D=parseInt(y=Math.abs(Number(y)||0).toFixed(f)).toString(),L=D.length>3?D.length%3:0;return w+(L?D.substr(0,L)+_:"")+D.substr(L).replace(/(\d{3})(?=\d)/g,"$1"+_)+(f?C+Math.abs(y-D).toFixed(f).slice(2):"")}catch(w){this.Debug.ShowErrorMessage(w,"Tools","FormatMoney",this.Debug.Typen.Service)}}FormatValue(y,f,C){try{let _;return null!==y?(y>=1e6?(y/=1e6,_=0===C?(y=Math.round(y)).toString()+" M":y.toFixed(C)+" M"):y>=1e3?(y/=1e3,_=0===C?(y=Math.round(y)).toString()+" k":y.toFixed(C)+" k"):y>0&&y<1?y<1e-9?(y*=1e9,0===C?y=Math.round(y):_=y.toFixed(C),_=y.toString()+" p"):y<1e-6?(y*=1e6,_=0===C?Math.round(y).toString():y.toFixed(C),_+=" n"):y<.001?(y*=1e3,_=0===C?Math.round(y).toString():y.toFixed(C),_+=" µ"):y<1&&(y*=1e3,_=0===C?Math.round(y).toString():y.toFixed(C),_+=" m"):(_=0===C?Math.round(y).toString():y.toFixed(C),""!==f&&(_=_+" "+f)),_=_.replace(".",","),""!==f&&(_=_+" "+f),_):"0"}catch(_){this.Debug.ShowErrorMessage(_.message,"Tools","FormatValue",this.Debug.Typen.Service)}}GetUniqueID(y){try{return this.UID_Counter++,"uid_"+y.replace(/-/g,"_")+"_"+this.UID_Counter.toString()}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","GetUniqueID",this.Debug.Typen.Service)}}HexToRGB(y){try{let f,C=100,_=50,w=50;return typeof y<"u"&&(y=y.replace("#",""),f=parseInt(y,16),C=f>>16&255,_=f>>8&255,w=255&f),C+","+_+","+w}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","HexToRGB",this.Debug.Typen.Component)}}SetRootPage(y){try{return new Promise(f=>{this.nav.navigateRoot(y,{animated:!1}).then(()=>{this.NavParameter.SetRootpage(y),f(!0)}).catch(C=>{console.log(C)})})}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","SetRootPage",this.Debug.Typen.Service)}}PushPage(y){try{return new Promise(f=>{this.nav.navigateForward(y,{animated:!0}).then(()=>{this.NavParameter.AddPage(y),f(!0)}).catch(C=>{console.log(C)})})}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","SetRootPage",this.Debug.Typen.Service)}}PopPage(){try{let y;return new Promise(f=>{y=this.NavParameter.RemovePage(),null!==y?this.nav.navigateBack(y,{animated:!1}).then(()=>{f(!0)}).catch(C=>{console.log(C)}):f(!0)})}catch(y){this.Debug.ShowErrorMessage(y.message,"Tools","SetRootPage",this.Debug.Typen.Service)}}GetBogenmass(y){try{return y/180*Math.PI}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","GetBogenmass",this.Debug.Typen.Service)}}GetGradmass(y){try{return 180*y/Math.PI}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","GetGradmass",this.Debug.Typen.Service)}}IstGerade(y){try{return y%2==0}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","IstGerade",this.Debug.Typen.Service)}}IstUngerade(y){try{return y%2!=0}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","IstUngerade",this.Debug.Typen.Service)}}RundenDezimal(y,f){try{let C=Math.pow(10,f||0);return Math.round(y*C)/C}catch(C){this.Debug.ShowErrorMessage(C.message,"file","function",this.Debug.Typen.Page)}}Runden(y,f){try{let C=Math.pow(10,f);return(Math.round(y*C)/C).toFixed(f)}catch(C){this.Debug.ShowErrorMessage(C.message,"Tools","Runden",this.Debug.Typen.Service)}}GetZeitstempelwert(){try{return(0,u.default)().valueOf()}catch(y){this.Debug.ShowErrorMessage(y.message,"Tools","GetZeitstempel",this.Debug.Typen.Service)}}GetZeitpunkttext(){try{return(0,u.default)().format("DD.MM.YYYY HH:mm:ss")}catch(y){this.Debug.ShowErrorMessage(y.message,"Tools","GetZeitstempel",this.Debug.Typen.Service)}}GetTimebasedID(y,f,C){try{return(0,u.default)(y+"."+f+"."+C+" 12:0","DD.MM.YYYY HH:mm").locale("de").valueOf().toString()}catch(_){this.Debug.ShowErrorMessage(_.message,"Tools","GetTimebasedID",this.Debug.Typen.Service)}}FormatLinebreaks(y){try{return typeof y<"u"?y.replace(/(?:\r\n|\r|\n)/g,"
"):""}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","FormatLinebreaks",this.Debug.Typen.Service)}}ReplaceSonderzeichen(y){try{return(y=(y=(y=(y=(y=(y=(y=(y=y.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(y,f){try{let _,C=Math.pow(10,f);return _=Math.round(y*C)/C,_.toString().replace(".",",")}catch(C){this.Debug.ShowErrorMessage(C.message,"Tools","Runden",this.Debug.Typen.Service)}}CheckArray(y){try{return!!this.CheckObject(y,!1)&&y instanceof Array}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","CheckArray",this.Debug.Typen.Service)}}CheckObject(y,f){try{return typeof y<"u"&&null!==y&&(!1===f||typeof y[f.toString()]<"u")}catch(C){this.Debug.ShowErrorMessage(C.message,"Tools","CheckObject",this.Debug.Typen.Service)}}ShowHinweisDialog(y){try{return new Promise(f=>{this.alertCtrl.create({header:"Hinweis",message:y,cssClass:"alertdialogclass",buttons:[{text:"Ok",cssClass:"infookclass",handler:()=>{f(!0)}}]}).then(C=>{C.present()}).catch(C=>{console.log(C)})})}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","ShowHinweisDialog",this.Debug.Typen.Service)}}CheckEmail(y){try{return/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(y)}catch(f){this.Debug.ShowErrorMessage(f.message,"Tools","CheckEmail",this.Debug.Typen.Service)}}static \u0275fac=function(f){return new(f||E)(i.\u0275\u0275inject(e.BasicsProvider),i.\u0275\u0275inject(o.DebugProvider),i.\u0275\u0275inject(d.ConstProvider),i.\u0275\u0275inject(v.Navparameter),i.\u0275\u0275inject(M.NavController),i.\u0275\u0275inject(M.Platform),i.\u0275\u0275inject(M.AlertController))};static \u0275prov=i.\u0275\u0275defineInjectable({token:E,factory:E.\u0275fac,providedIn:"root"})}return E})()},36716:(pe,m)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.environment=void 0,m.environment={production:!0,useonlinedb:!0}},27460:(pe,m,s)=>{"use strict";const u=s(81316).__importStar(s(14476)),l=s(54496),i=s(5204);s(36716).environment.production&&(0,l.enableProdMode)(),u.platformBrowser().bootstrapModule(i.AppModule).catch(o=>console.log(o))},78776:(pe,m,s)=>{var c,u,n=s(1196).default;self,pe.exports=(c={7629:(l,i,e)=>{"use strict";const o=e(375),d=e(8571),v=e(9474),M=e(1687),p=e(8652),E=e(8160),S=e(3292),y=e(6354),f=e(8901),C=e(9708),_=e(6914),w=e(2294),D=e(6133),L=e(1152),N=e(8863),V=e(2036),G={Base:class{constructor(R){this.type=R,this.$_root=null,this._definition={},this._reset()}_reset(){this._ids=new w.Ids,this._preferences=null,this._refs=new D.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 o("function"==typeof C.describe,"Manifest functionality disabled"),C.describe(this)}allow(...R){return E.verifyFlat(R,"allow"),this._values(R,"_valids")}alter(R){o(R&&"object"==typeof R&&!Array.isArray(R),"Invalid targets argument"),o(!this._inRuleset(),"Cannot set alterations inside a ruleset");const k=this.clone();k.$_terms.alterations=k.$_terms.alterations||[];for(const A in R){const H=R[A];o("function"==typeof H,"Alteration adjuster for",A,"must be a function"),k.$_terms.alterations.push({target:A,adjuster:H})}return k.$_temp.ruleset=!1,k}artifact(R){return o(void 0!==R,"Artifact cannot be undefined"),o(!this._cache,"Cannot set an artifact with a rule cache"),this.$_setFlag("artifact",R)}cast(R){return o(!1===R||"string"==typeof R,"Invalid to value"),o(!1===R||this._definition.cast[R],"Type",this.type,"does not support casting to",R),this.$_setFlag("cast",!1===R?void 0:R)}default(R,k){return this._default("default",R,k)}description(R){return o(R&&"string"==typeof R,"Description must be a non-empty string"),this.$_setFlag("description",R)}empty(R){const k=this.clone();return void 0!==R&&(R=k.$_compile(R,{override:!1})),k.$_setFlag("empty",R,{clone:!1})}error(R){return o(R,"Missing error"),o(R instanceof Error||"function"==typeof R,"Must provide a valid Error object or a function"),this.$_setFlag("error",R)}example(R,k={}){return o(void 0!==R,"Missing example"),E.assertOptions(k,["override"]),this._inner("examples",R,{single:!0,override:k.override})}external(R,k){return"object"==typeof R&&(o(!k,"Cannot combine options with description"),k=R.description,R=R.method),o("function"==typeof R,"Method must be a function"),o(void 0===k||k&&"string"==typeof k,"Description must be a non-empty string"),this._inner("externals",{method:R,description:k},{single:!0})}failover(R,k){return this._default("failover",R,k)}forbidden(){return this.presence("forbidden")}id(R){return R?(o("string"==typeof R,"id must be a non-empty string"),o(/^[^\.]+$/.test(R),"id cannot contain period character"),this.$_setFlag("id",R)):this.$_setFlag("id",void 0)}invalid(...R){return this._values(R,"_invalids")}label(R){return o(R&&"string"==typeof R,"Label name must be a non-empty string"),this.$_setFlag("label",R)}meta(R){return o(void 0!==R,"Meta cannot be undefined"),this._inner("metas",R,{single:!0})}note(...R){o(R.length,"Missing notes");for(const k of R)o(k&&"string"==typeof k,"Notes must be non-empty strings");return this._inner("notes",R)}only(R=!0){return o("boolean"==typeof R,"Invalid mode:",R),this.$_setFlag("only",R)}optional(){return this.presence("optional")}prefs(R){o(R,"Missing preferences"),o(void 0===R.context,"Cannot override context"),o(void 0===R.externals,"Cannot override externals"),o(void 0===R.warnings,"Cannot override warnings"),o(void 0===R.debug,"Cannot override debug"),E.checkPreferences(R);const k=this.clone();return k._preferences=E.preferences(k._preferences,R),k}presence(R){return o(["optional","required","forbidden"].includes(R),"Unknown presence mode",R),this.$_setFlag("presence",R)}raw(R=!0){return this.$_setFlag("result",R?"raw":void 0)}result(R){return o(["raw","strip"].includes(R),"Unknown result mode",R),this.$_setFlag("result",R)}required(){return this.presence("required")}strict(R){const k=this.clone();return k._preferences=E.preferences(k._preferences,{convert:void 0!==R&&!R}),k}strip(R=!0){return this.$_setFlag("result",R?"strip":void 0)}tag(...R){o(R.length,"Missing tags");for(const k of R)o(k&&"string"==typeof k,"Tags must be non-empty strings");return this._inner("tags",R)}unit(R){return o(R&&"string"==typeof R,"Unit name must be a non-empty string"),this.$_setFlag("unit",R)}valid(...R){E.verifyFlat(R,"valid");const k=this.allow(...R);return k.$_setFlag("only",!!k._valids,{clone:!1}),k}when(R,k){const A=this.clone();A.$_terms.whens||(A.$_terms.whens=[]);const H=S.when(A,R,k);if(!["any","link"].includes(A.type)){const K=H.is?[H]:H.switch;for(const ie of K)o(!ie.then||"any"===ie.then.type||ie.then.type===A.type,"Cannot combine",A.type,"with",ie.then&&ie.then.type),o(!ie.otherwise||"any"===ie.otherwise.type||ie.otherwise.type===A.type,"Cannot combine",A.type,"with",ie.otherwise&&ie.otherwise.type)}return A.$_terms.whens.push(H),A.$_mutateRebuild()}cache(R){o(!this._inRuleset(),"Cannot set caching inside a ruleset"),o(!this._cache,"Cannot override schema cache"),o(void 0===this._flags.artifact,"Cannot cache a rule with an artifact");const k=this.clone();return k._cache=R||p.provider.provision(),k.$_temp.ruleset=!1,k}clone(){const R=Object.create(Object.getPrototypeOf(this));return this._assign(R)}concat(R){o(E.isSchema(R),"Invalid schema object"),o("any"===this.type||"any"===R.type||R.type===this.type,"Cannot merge type",this.type,"with another type:",R.type),o(!this._inRuleset(),"Cannot concatenate onto a schema with open ruleset"),o(!R._inRuleset(),"Cannot concatenate a schema with open ruleset");let k=this.clone();if("any"===this.type&&"any"!==R.type){const A=R.clone();for(const H of Object.keys(k))"type"!==H&&(A[H]=k[H]);k=A}k._ids.concat(R._ids),k._refs.register(R,D.toSibling),k._preferences=k._preferences?E.preferences(k._preferences,R._preferences):R._preferences,k._valids=V.merge(k._valids,R._valids,R._invalids),k._invalids=V.merge(k._invalids,R._invalids,R._valids);for(const A of R._singleRules.keys())k._singleRules.has(A)&&(k._rules=k._rules.filter(H=>H.keep||H.name!==A),k._singleRules.delete(A));for(const A of R._rules)R._definition.rules[A.method].multi||k._singleRules.set(A.name,A),k._rules.push(A);if(k._flags.empty&&R._flags.empty){k._flags.empty=k._flags.empty.concat(R._flags.empty);const A=Object.assign({},R._flags);delete A.empty,M(k._flags,A)}else if(R._flags.empty){k._flags.empty=R._flags.empty;const A=Object.assign({},R._flags);delete A.empty,M(k._flags,A)}else M(k._flags,R._flags);for(const A in R.$_terms){const H=R.$_terms[A];H?k.$_terms[A]=k.$_terms[A]?k.$_terms[A].concat(H):H.slice():k.$_terms[A]||(k.$_terms[A]=H)}return this.$_root._tracer&&this.$_root._tracer._combine(k,[this,R]),k.$_mutateRebuild()}extend(R){return o(!R.base,"Cannot extend type with another base"),f.type(this,R)}extract(R){return R=Array.isArray(R)?R:R.split("."),this._ids.reach(R)}fork(R,k){o(!this._inRuleset(),"Cannot fork inside a ruleset");let A=this;for(let H of[].concat(R))H=Array.isArray(H)?H:H.split("."),A=A._ids.fork(H,k,A);return A.$_temp.ruleset=!1,A}rule(R){const k=this._definition;E.assertOptions(R,Object.keys(k.modifiers)),o(!1!==this.$_temp.ruleset,"Cannot apply rules to empty ruleset or the last rule added does not support rule properties");const A=null===this.$_temp.ruleset?this._rules.length-1:this.$_temp.ruleset;o(A>=0&&AA.tailor(R),ref:!1}),k.$_temp.ruleset=!1,k.$_mutateRebuild()}tracer(){return L.location?L.location(this):this}validate(R,k){return N.entry(R,this,k)}validateAsync(R,k){return N.entryAsync(R,this,k)}$_addRule(R){"string"==typeof R&&(R={name:R}),o(R&&"object"==typeof R,"Invalid options"),o(R.name&&"string"==typeof R.name,"Invalid rule name");for(const ie in R)o("_"!==ie[0],"Cannot set private rule properties");const k=Object.assign({},R);k._resolve=[],k.method=k.method||k.name;const A=this._definition.rules[k.method],H=k.args;o(A,"Unknown rule",k.method);const K=this.clone();if(H){o(1===Object.keys(H).length||Object.keys(H).length===this._definition.rules[k.name].args.length,"Invalid rule definition for",this.type,k.name);for(const ie in H){let J=H[ie];if(A.argsByName){const be=A.argsByName.get(ie);if(be.ref&&E.isResolvable(J))k._resolve.push(ie),K.$_mutateRegister(J);else if(be.normalize&&(J=be.normalize(J),H[ie]=J),be.assert){const ce=E.validateArg(J,ie,be);o(!ce,ce,"or reference")}}void 0!==J?H[ie]=J:delete H[ie]}}return A.multi||(K._ruleRemove(k.name,{clone:!1}),K._singleRules.set(k.name,k)),!1===K.$_temp.ruleset&&(K.$_temp.ruleset=null),A.priority?K._rules.unshift(k):K._rules.push(k),K}$_compile(R,k){return S.schema(this.$_root,R,k)}$_createError(R,k,A,H,K,ie={}){const J=!1!==ie.flags?this._flags:{},be=ie.messages?_.merge(this._definition.messages,ie.messages):this._definition.messages;return new y.Report(R,k,A,J,be,H,K)}$_getFlag(R){return this._flags[R]}$_getRule(R){return this._singleRules.get(R)}$_mapLabels(R){return R=Array.isArray(R)?R:R.split("."),this._ids.labels(R)}$_match(R,k,A,H){(A=Object.assign({},A)).abortEarly=!0,A._externals=!1,k.snapshot();const K=!N.validate(R,this,k,A,H).errors;return k.restore(),K}$_modify(R){return E.assertOptions(R,["each","once","ref","schema"]),w.schema(this,R)||this}$_mutateRebuild(){return o(!this._inRuleset(),"Cannot add this rule inside a ruleset"),this._refs.reset(),this._ids.reset(),this.$_modify({each:(R,{source:k,name:A,key:K})=>{const ie=this._definition[k][A]&&this._definition[k][A].register;!1!==ie&&this.$_mutateRegister(R,{family:ie,key:K})}}),this._definition.rebuild&&this._definition.rebuild(this),this.$_temp.ruleset=!1,this}$_mutateRegister(R,{family:k,key:A}={}){this._refs.register(R,k),this._ids.register(R,{key:A})}$_property(R){return this._definition.properties[R]}$_reach(R){return this._ids.reach(R)}$_rootReferences(){return this._refs.roots()}$_setFlag(R,k,A={}){if(o("_"===R[0]||!this._inRuleset(),"Cannot set flag inside a ruleset"),v(k,(this._definition.flags[R]||{}).default)&&(k=void 0),v(k,this._flags[R]))return this;const K=!1!==A.clone?this.clone():this;return void 0!==k?(K._flags[R]=k,K.$_mutateRegister(k)):delete K._flags[R],"_"!==R[0]&&(K.$_temp.ruleset=!1),K}$_parent(R,...k){return this[R][E.symbols.parent].call(this,...k)}$_validate(R,k,A){return N.validate(R,this,k,A)}_assign(R){R.type=this.type,R.$_root=this.$_root,R.$_temp=Object.assign({},this.$_temp),R.$_temp.whens={},R._ids=this._ids.clone(),R._preferences=this._preferences,R._valids=this._valids&&this._valids.clone(),R._invalids=this._invalids&&this._invalids.clone(),R._rules=this._rules.slice(),R._singleRules=d(this._singleRules,{shallow:!0}),R._refs=this._refs.clone(),R._flags=Object.assign({},this._flags),R._cache=null,R.$_terms={};for(const k in this.$_terms)R.$_terms[k]=this.$_terms[k]?this.$_terms[k].slice():null;R.$_super={};for(const k in this.$_super)R.$_super[k]=this._super[k].bind(R);return R}_bare(){const R=this.clone();R._reset();const k=R._definition.terms;for(const A in k)R.$_terms[A]=k[A].init;return R.$_mutateRebuild()}_default(R,k,A={}){return E.assertOptions(A,"literal"),o(void 0!==k,"Missing",R,"value"),o("function"==typeof k||!A.literal,"Only function value supports literal option"),"function"==typeof k&&A.literal&&(k={[E.symbols.literal]:!0,literal:k}),this.$_setFlag(R,k)}_generate(R,k,A){if(!this.$_terms.whens)return{schema:this};const H=[],K=[];for(let be=0;beOe)break}const ie=K.join(", ");if(k.mainstay.tracer.debug(k,"rule","when",ie),!ie)return{schema:this};if(!k.mainstay.tracer.active&&this.$_temp.whens[ie])return{schema:this.$_temp.whens[ie],id:ie};let J=this;this._definition.generate&&(J=this._definition.generate(this,R,k,A));for(const be of H)J=J.concat(be);return this.$_root._tracer&&this.$_root._tracer._combine(J,[this,...H]),this.$_temp.whens[ie]=J,{schema:J,id:ie}}_inner(R,k,A={}){o(!this._inRuleset(),`Cannot set ${R} inside a ruleset`);const H=this.clone();return H.$_terms[R]&&!A.override||(H.$_terms[R]=[]),A.single?H.$_terms[R].push(k):H.$_terms[R].push(...k),H.$_temp.ruleset=!1,H}_inRuleset(){return null!==this.$_temp.ruleset&&!1!==this.$_temp.ruleset}_ruleRemove(R,k={}){if(!this._singleRules.has(R))return this;const A=!1!==k.clone?this.clone():this;A._singleRules.delete(R);const H=[];for(let K=0;K{"use strict";const o=e(375),d=e(8571),v=e(8160),M={max:1e3,supported:new Set(["undefined","boolean","number","string"])};i.provider={provision:p=>new M.Cache(p)},M.Cache=class{constructor(p={}){v.assertOptions(p,["max"]),o(void 0===p.max||p.max&&p.max>0&&isFinite(p.max),"Invalid max cache size"),this._max=p.max||M.max,this._map=new Map,this._list=new M.List}get length(){return this._map.size}set(p,E){if(null!==p&&!M.supported.has(typeof p))return;let S=this._map.get(p);if(S)return S.value=E,void this._list.first(S);S=this._list.unshift({key:p,value:E}),this._map.set(p,S),this._compact()}get(p){const E=this._map.get(p);if(E)return this._list.first(E),d(E.value)}_compact(){if(this._map.size>this._max){const p=this._list.pop();this._map.delete(p.key)}}},M.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:E,prev:S}=p;return E.prev=S,S&&(S.next=E),p===this.tail&&(this.tail=E),p.prev=null,p.next=null,p}}},8160:(l,i,e)=>{"use strict";const o=e(375),d=e(7916),v=e(5934);let M,p;const E={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)?)?)?)?$/};i.version=v.version,i.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},i.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")},i.assertOptions=function(S,y,f="Options"){o(S&&"object"==typeof S&&!Array.isArray(S),"Options must be of type object");const C=Object.keys(S).filter(_=>!y.includes(_));o(0===C.length,`${f} contain unknown keys: ${C}`)},i.checkPreferences=function(S){p=p||e(3378);const y=p.preferences.validate(S);if(y.error)throw new d([y.error.details[0].message])},i.compare=function(S,y,f){switch(f){case"=":return S===y;case">":return S>y;case"<":return S=":return S>=y;case"<=":return S<=y}},i.default=function(S,y){return void 0===S?y:S},i.isIsoDate=function(S){return E.isoDate.test(S)},i.isNumber=function(S){return"number"==typeof S&&!isNaN(S)},i.isResolvable=function(S){return!!S&&(S[i.symbols.ref]||S[i.symbols.template])},i.isSchema=function(S,y={}){const f=S&&S[i.symbols.any];return!!f&&(o(y.legacy||f.version===i.version,"Cannot mix different versions of joi schemas"),!0)},i.isValues=function(S){return S[i.symbols.values]},i.limit=function(S){return Number.isSafeInteger(S)&&S>=0},i.preferences=function(S,y){M=M||e(6914),S=S||{},y=y||{};const f=Object.assign({},S,y);return y.errors&&S.errors&&(f.errors=Object.assign({},S.errors,y.errors),f.errors.wrap=Object.assign({},S.errors.wrap,y.errors.wrap)),y.messages&&(f.messages=M.compile(y.messages,S.messages)),delete f[i.symbols.prefs],f},i.tryWithPath=function(S,y,f={}){try{return S()}catch(C){throw C.path=void 0!==C.path?y+"."+C.path:y,f.append&&(C.message=`${C.message} (${C.path})`),C}},i.validateArg=function(S,y,{assert:f,message:C}){if(i.isSchema(f)){const _=f.validate(S);return _.error?_.error.message:void 0}if(!f(S))return y?`${y} ${C}`:C},i.verifyFlat=function(S,y){for(const f of S)o(!Array.isArray(f),"Method no longer accepts array arguments:",y)}},3292:(l,i,e)=>{"use strict";const o=e(375),d=e(8160),v=e(6133),M={};i.schema=function(p,E,S={}){d.assertOptions(S,["appendPath","override"]);try{return M.schema(p,E,S)}catch(y){throw S.appendPath&&void 0!==y.path&&(y.message=`${y.message} (${y.path})`),y}},M.schema=function(p,E,S){o(void 0!==E,"Invalid undefined schema"),Array.isArray(E)&&(o(E.length,"Invalid empty array schema"),1===E.length&&(E=E[0]));const y=(f,...C)=>!1!==S.override?f.valid(p.override,...C):f.valid(...C);if(M.simple(E))return y(p,E);if("function"==typeof E)return p.custom(E);if(o("object"==typeof E,"Invalid schema content:",typeof E),d.isResolvable(E))return y(p,E);if(d.isSchema(E))return E;if(Array.isArray(E)){for(const f of E)if(!M.simple(f))return p.alternatives().try(...E);return y(p,...E)}return E instanceof RegExp?p.string().regex(E):E instanceof Date?y(p.date(),E):(o(Object.getPrototypeOf(E)===Object.getPrototypeOf({}),"Schema can only contain plain objects"),p.object().keys(E))},i.ref=function(p,E){return v.isRef(p)?p:v.create(p,E)},i.compile=function(p,E,S={}){d.assertOptions(S,["legacy"]);const y=E&&E[d.symbols.any];if(y)return o(S.legacy||y.version===d.version,"Cannot mix different versions of joi schemas:",y.version,d.version),E;if("object"!=typeof E||!S.legacy)return i.schema(p,E,{appendPath:!0});const f=M.walk(E);return f?f.compile(f.root,E):i.schema(p,E,{appendPath:!0})},M.walk=function(p){if("object"!=typeof p)return null;if(Array.isArray(p)){for(const S of p){const y=M.walk(S);if(y)return y}return null}const E=p[d.symbols.any];if(E)return{root:p[E.root],compile:E.compile};o(Object.getPrototypeOf(p)===Object.getPrototypeOf({}),"Schema can only contain plain objects");for(const S in p){const y=M.walk(p[S]);if(y)return y}return null},M.simple=function(p){return null===p||["boolean","string","number"].includes(typeof p)},i.when=function(p,E,S){if(void 0===S&&(o(E&&"object"==typeof E,"Missing options"),S=E,E=v.create(".")),Array.isArray(S)&&(S={switch:S}),d.assertOptions(S,["is","not","then","otherwise","switch","break"]),d.isSchema(E))return o(void 0===S.is,'"is" can not be used with a schema condition'),o(void 0===S.not,'"not" can not be used with a schema condition'),o(void 0===S.switch,'"switch" can not be used with a schema condition'),M.condition(p,{is:E,then:S.then,otherwise:S.otherwise,break:S.break});if(o(v.isRef(E)||"string"==typeof E,"Invalid condition:",E),o(void 0===S.not||void 0===S.is,'Cannot combine "is" with "not"'),void 0===S.switch){let f=S;void 0!==S.not&&(f={is:S.not,then:S.otherwise,otherwise:S.then,break:S.break});let C=void 0!==f.is?p.$_compile(f.is):p.$_root.invalid(null,!1,0,"").required();return o(void 0!==f.then||void 0!==f.otherwise,'options must have at least one of "then", "otherwise", or "switch"'),o(void 0===f.break||void 0===f.then||void 0===f.otherwise,"Cannot specify then, otherwise, and break all together"),void 0===S.is||v.isRef(S.is)||d.isSchema(S.is)||(C=C.required()),M.condition(p,{ref:i.ref(E),is:C,then:f.then,otherwise:f.otherwise,break:f.break})}o(Array.isArray(S.switch),'"switch" must be an array'),o(void 0===S.is,'Cannot combine "switch" with "is"'),o(void 0===S.not,'Cannot combine "switch" with "not"'),o(void 0===S.then,'Cannot combine "switch" with "then"');const y={ref:i.ref(E),switch:[],break:S.break};for(let f=0;f{"use strict";const o=e(5688),d=e(8160),v=e(3328);i.Report=class{constructor(M,p,E,S,y,f,C){if(this.code=M,this.flags=S,this.messages=y,this.path=f.path,this.prefs=C,this.state=f,this.value=p,this.message=null,this.template=null,this.local=E||{},this.local.label=i.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 _=this.path[this.path.length-1];"object"!=typeof _&&(this.local.key=_)}}_setTemplate(M){if(this.template=M,!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 M=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 "${M}" 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(M,p){return i.template(this.value,M,p||this.code,this.state,this.prefs)}},i.path=function(M){let p="";for(const E of M)"object"!=typeof E&&("string"==typeof E?(p&&(p+="."),p+=E):p+=`[${E}]`);return p},i.template=function(M,p,E,S,y){if(!p)return;if(v.isTemplate(p))return"root"!==E?p:null;let f=y.errors.language;if(d.isResolvable(f)&&(f=f.resolve(M,S,y)),f&&p[f]){if(void 0!==p[f][E])return p[f][E];if(void 0!==p[f]["*"])return p[f]["*"]}return p[E]?p[E]:p["*"]},i.label=function(M,p,E,S){if(M.label)return M.label;if(!E.errors.label)return"";let y=p.path;return"key"===E.errors.label&&p.path.length>1&&(y=p.path.slice(-1)),i.path(y)||i.template(null,E.messages,"root",p,E)||S&&i.template(null,S,"root",p,E)||"value"},i.process=function(M,p,E){if(!M)return null;const{override:S,message:y,details:f}=i.details(M);if(S)return S;if(E.errors.stack)return new i.ValidationError(y,f,p);const C=Error.stackTraceLimit;Error.stackTraceLimit=0;const _=new i.ValidationError(y,f,p);return Error.stackTraceLimit=C,_},i.details=function(M,p={}){let E=[];const S=[];for(const y of M){if(y instanceof Error){if(!1!==p.override)return{override:y};const C=y.toString();E.push(C),S.push({message:C,type:"override",context:{error:y}});continue}const f=y.toString();E.push(f),S.push({message:f,path:y.path.filter(C=>"object"!=typeof C),type:y.code,context:y.local})}return E.length>1&&(E=[...new Set(E)]),{message:E.join(". "),details:S}},i.ValidationError=class extends Error{constructor(M,p,E){super(M),this._original=E,this.details=p}static isError(M){return M instanceof i.ValidationError}},i.ValidationError.prototype.isJoi=!0,i.ValidationError.prototype.name="ValidationError",i.ValidationError.prototype.annotate=o.error},8901:(l,i,e)=>{"use strict";const o=e(375),d=e(8571),v=e(8160),M=e(6914),p={};i.type=function(E,S){const y=Object.getPrototypeOf(E),f=d(y),C=E._assign(Object.create(f)),_=Object.assign({},S);delete _.base,f._definition=_;const w=y._definition||{};_.messages=M.merge(w.messages,_.messages),_.properties=Object.assign({},w.properties,_.properties),C.type=_.type,_.flags=Object.assign({},w.flags,_.flags);const D=Object.assign({},w.terms);if(_.terms)for(const G in _.terms){const R=_.terms[G];o(void 0===C.$_terms[G],"Invalid term override for",_.type,G),C.$_terms[G]=R.init,D[G]=R}_.terms=D,_.args||(_.args=w.args),_.prepare=p.prepare(_.prepare,w.prepare),_.coerce&&("function"==typeof _.coerce&&(_.coerce={method:_.coerce}),_.coerce.from&&!Array.isArray(_.coerce.from)&&(_.coerce={method:_.coerce.method,from:[].concat(_.coerce.from)})),_.coerce=p.coerce(_.coerce,w.coerce),_.validate=p.validate(_.validate,w.validate);const L=Object.assign({},w.rules);if(_.rules)for(const G in _.rules){const R=_.rules[G];o("object"==typeof R,"Invalid rule definition for",_.type,G);let k=R.method;if(void 0===k&&(k=function(){return this.$_addRule(G)}),k&&(o(!f[G],"Rule conflict in",_.type,G),f[G]=k),o(!L[G],"Rule conflict in",_.type,G),L[G]=R,R.alias){const A=[].concat(R.alias);for(const H of A)f[H]=R.method}R.args&&(R.argsByName=new Map,R.args=R.args.map(A=>("string"==typeof A&&(A={name:A}),o(!R.argsByName.has(A.name),"Duplicated argument name",A.name),v.isSchema(A.assert)&&(A.assert=A.assert.strict().label(A.name)),R.argsByName.set(A.name,A),A)))}_.rules=L;const N=Object.assign({},w.modifiers);if(_.modifiers)for(const G in _.modifiers){o(!f[G],"Rule conflict in",_.type,G);const R=_.modifiers[G];o("function"==typeof R,"Invalid modifier definition for",_.type,G),f[G]=function(A){return this.rule({[G]:A})},N[G]=R}if(_.modifiers=N,_.overrides){f._super=y,C.$_super={};for(const G in _.overrides)o(y[G],"Cannot override missing",G),_.overrides[G][v.symbols.parent]=y[G],C.$_super[G]=y[G].bind(C);Object.assign(f,_.overrides)}_.cast=Object.assign({},w.cast,_.cast);const V=Object.assign({},w.manifest,_.manifest);return V.build=p.build(_.manifest&&_.manifest.build,w.manifest&&w.manifest.build),_.manifest=V,_.rebuild=p.rebuild(_.rebuild,w.rebuild),C},p.build=function(E,S){return E&&S?function(y,f){return S(E(y,f),f)}:E||S},p.coerce=function(E,S){return E&&S?{from:E.from&&S.from?[...new Set([...E.from,...S.from])]:null,method(y,f){let C;if((!S.from||S.from.includes(typeof y))&&(C=S.method(y,f),C)){if(C.errors||void 0===C.value)return C;y=C.value}if(!E.from||E.from.includes(typeof y)){const _=E.method(y,f);if(_)return _}return C}}:E||S},p.prepare=function(E,S){return E&&S?function(y,f){const C=E(y,f);if(C){if(C.errors||void 0===C.value)return C;y=C.value}return S(y,f)||C}:E||S},p.rebuild=function(E,S){return E&&S?function(y){S(y),E(y)}:E||S},p.validate=function(E,S){return E&&S?function(y,f){const C=S(y,f);if(C){if(C.errors&&(!Array.isArray(C.errors)||C.errors.length))return C;y=C.value}return E(y,f)||C}:E||S}},5107:(l,i,e)=>{"use strict";const o=e(375),d=e(8571),v=e(8652),M=e(8160),p=e(3292),E=e(6354),S=e(8901),y=e(9708),f=e(6133),C=e(3328),_=e(1152);let w;const D={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 L={_types:new Set(Object.keys(D.types))};for(const N of L._types)L[N]=function(...V){return o(!V.length||["alternatives","link","object"].includes(N),"The",N,"type does not allow arguments"),D.generate(this,D.types[N],V)};for(const N of["allow","custom","disallow","equal","exist","forbidden","invalid","not","only","optional","options","prefs","preferences","required","strip","valid","when"])L[N]=function(...V){return this.any()[N](...V)};Object.assign(L,D.methods);for(const N in D.aliases)L[N]=L[D.aliases[N]];return L.x=L.expression,_.setup&&_.setup(L),L}};D.methods={ValidationError:E.ValidationError,version:M.version,cache:v.provider,assert(L,N,...V){D.assert(L,N,!0,V)},attempt:(L,N,...V)=>D.assert(L,N,!1,V),build(L){return o("function"==typeof y.build,"Manifest functionality disabled"),y.build(this,L)},checkPreferences(L){M.checkPreferences(L)},compile(L,N){return p.compile(this,L,N)},defaults(L){o("function"==typeof L,"modifier must be a function");const N=Object.assign({},this);for(const V of N._types){const G=L(N[V]());o(M.isSchema(G),"modifier must return a valid schema object"),N[V]=function(...R){return D.generate(this,G,R)}}return N},expression:(...L)=>new C(...L),extend(...L){M.verifyFlat(L,"extend"),w=w||e(3378),o(L.length,"You need to provide at least one extension"),this.assert(L,w.extensions);const N=Object.assign({},this);N._types=new Set(N._types);for(let V of L){"function"==typeof V&&(V=V(N)),this.assert(V,w.extension);const G=D.expandExtension(V,N);for(const R of G){o(void 0===N[R.type]||N._types.has(R.type),"Cannot override name",R.type);const k=R.base||this.any(),A=S.type(k,R);N._types.add(R.type),N[R.type]=function(...H){return D.generate(this,A,H)}}}return N},isError:E.ValidationError.isError,isExpression:C.isTemplate,isRef:f.isRef,isSchema:M.isSchema,in:(...L)=>f.in(...L),override:M.symbols.override,ref:(...L)=>f.create(...L),types(){const L={};for(const N of this._types)L[N]=this[N]();for(const N in D.aliases)L[N]=this[N]();return L}},D.assert=function(L,N,V,G){const R=G[0]instanceof Error||"string"==typeof G[0]?G[0]:null,A=N.validate(L,M.preferences({errors:{stack:!0}},(null!==R?G[1]:G[0])||{}));let H=A.error;if(!H)return A.value;if(R instanceof Error)throw R;const K=V&&"function"==typeof H.annotate?H.annotate():H.message;throw H instanceof E.ValidationError==0&&(H=d(H)),H.message=R?`${R} ${K}`:K,H},D.generate=function(L,N,V){return o(L,"Must be invoked on a Joi instance."),N.$_root=L,N._definition.args&&V.length?N._definition.args(N,...V):N},D.expandExtension=function(L,N){if("string"==typeof L.type)return[L];const V=[];for(const G of N._types)if(L.type.test(G)){const R=Object.assign({},L);R.type=G,R.base=N[G](),V.push(R)}return V},l.exports=D.root()},6914:(l,i,e)=>{"use strict";const o=e(375),d=e(8571),v=e(3328);i.compile=function(M,p){if("string"==typeof M)return o(!p,"Cannot set single message string"),new v(M);if(v.isTemplate(M))return o(!p,"Cannot set single message template"),M;o("object"==typeof M&&!Array.isArray(M),"Invalid message options"),p=p?d(p):{};for(let E in M){const S=M[E];if("root"===E||v.isTemplate(S)){p[E]=S;continue}if("string"==typeof S){p[E]=new v(S);continue}o("object"==typeof S&&!Array.isArray(S),"Invalid message for",E);const y=E;for(E in p[y]=p[y]||{},S){const f=S[E];"root"===E||v.isTemplate(f)?p[y][E]=f:(o("string"==typeof f,"Invalid message for",E,"in",y),p[y][E]=new v(f))}}return p},i.decompile=function(M){const p={};for(let E in M){const S=M[E];if("root"===E){p.root=S;continue}if(v.isTemplate(S)){p[E]=S.describe({compact:!0});continue}const y=E;for(E in p[y]={},S){const f=S[E];"root"!==E?p[y][E]=f.describe({compact:!0}):p[y].root=f}}return p},i.merge=function(M,p){if(!M)return i.compile(p);if(!p)return M;if("string"==typeof p)return new v(p);if(v.isTemplate(p))return p;const E=d(M);for(let S in p){const y=p[S];if("root"===S||v.isTemplate(y)){E[S]=y;continue}if("string"==typeof y){E[S]=new v(y);continue}o("object"==typeof y&&!Array.isArray(y),"Invalid message for",S);const f=S;for(S in E[f]=E[f]||{},y){const C=y[S];"root"===S||v.isTemplate(C)?E[f][S]=C:(o("string"==typeof C,"Invalid message for",S,"in",f),E[f][S]=new v(C))}}return E}},2294:(l,i,e)=>{"use strict";const o=e(375),d=e(8160),v=e(6133),M={};i.Ids=M.Ids=class{constructor(){this._byId=new Map,this._byKey=new Map,this._schemaChain=!1}clone(){const p=new M.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[E,S]of p._byId.entries())o(!this._byKey.has(E),"Schema id conflicts with existing key:",E),this._byId.set(E,S);for(const[E,S]of p._byKey.entries())o(!this._byId.has(E),"Schema key conflicts with existing id:",E),this._byKey.set(E,S)}fork(p,E,S){const y=this._collect(p);y.push({schema:S});const f=y.shift();let C={id:f.id,schema:E(f.schema)};o(d.isSchema(C.schema),"adjuster function failed to return a joi schema type");for(const _ of y)C={id:_.id,schema:M.fork(_.schema,C.id,C.schema)};return C.schema}labels(p,E=[]){const S=p[0],y=this._get(S);if(!y)return[...E,...p].join(".");const f=p.slice(1);return E=[...E,y.schema._flags.label||S],f.length?y.schema._ids.labels(f,E):E.join(".")}reach(p,E=[]){const S=p[0],y=this._get(S);o(y,"Schema does not contain path",[...E,...p].join("."));const f=p.slice(1);return f.length?y.schema._ids.reach(f,[...E,S]):y.schema}register(p,{key:E}={}){if(!p||!d.isSchema(p))return;(p.$_property("schemaChain")||p._ids._schemaChain)&&(this._schemaChain=!0);const S=p._flags.id;if(S){const y=this._byId.get(S);o(!y||y.schema===p,"Cannot add different schemas with the same id:",S),o(!this._byKey.has(S),"Schema id conflicts with existing key:",S),this._byId.set(S,{schema:p,id:S})}E&&(o(!this._byKey.has(E),"Schema already contains key:",E),o(!this._byId.has(E),"Schema key conflicts with existing id:",E),this._byKey.set(E,{schema:p,id:E}))}reset(){this._byId=new Map,this._byKey=new Map,this._schemaChain=!1}_collect(p,E=[],S=[]){const y=p[0],f=this._get(y);o(f,"Schema does not contain path",[...E,...p].join(".")),S=[f,...S];const C=p.slice(1);return C.length?f.schema._ids._collect(C,[...E,y],S):S}_get(p){return this._byId.get(p)||this._byKey.get(p)}},M.fork=function(p,E,S){const y=i.schema(p,{each:(f,{key:C})=>{if(E===(f._flags.id||C))return S},ref:!1});return y?y.$_mutateRebuild():p},i.schema=function(p,E){let S;for(const y in p._flags){if("_"===y[0])continue;const f=M.scan(p._flags[y],{source:"flags",name:y},E);void 0!==f&&(S=S||p.clone(),S._flags[y]=f)}for(let y=0;y{"use strict";const o=e(375),d=e(8571),v=e(9621),M=e(8160);let p;const E={symbol:Symbol("ref"),defaults:{adjust:null,in:!1,iterables:null,map:null,separator:".",type:"value"}};i.create=function(S,y={}){o("string"==typeof S,"Invalid reference key:",S),M.assertOptions(y,["adjust","ancestor","in","iterables","map","prefix","render","separator"]),o(!y.prefix||"object"==typeof y.prefix,"options.prefix must be of type object");const f=Object.assign({},E.defaults,y);delete f.prefix;const C=f.separator,_=E.context(S,C,y.prefix);if(f.type=_.type,S=_.key,"value"===f.type)if(_.root&&(o(!C||S[0]!==C,"Cannot specify relative path with root prefix"),f.ancestor="root",S||(S=null)),C&&C===S)S=null,f.ancestor=0;else if(void 0!==f.ancestor)o(!C||!S||S[0]!==C,"Cannot combine prefix with ancestor option");else{const[w,D]=E.ancestor(S,C);D&&""===(S=S.slice(D))&&(S=null),f.ancestor=w}return f.path=C?null===S?[]:S.split(C):[S],new E.Ref(f)},i.in=function(S,y={}){return i.create(S,{...y,in:!0})},i.isRef=function(S){return!!S&&!!S[M.symbols.ref]},E.Ref=class{constructor(S){o("object"==typeof S,"Invalid reference construction"),M.assertOptions(S,["adjust","ancestor","in","iterables","map","path","render","separator","type","depth","key","root","display"]),o([!1,void 0].includes(S.separator)||"string"==typeof S.separator&&1===S.separator.length,"Invalid separator"),o(!S.adjust||"function"==typeof S.adjust,"options.adjust must be a function"),o(!S.map||Array.isArray(S.map),"options.map must be an array"),o(!S.map||!S.adjust,"Cannot set both map and adjust options"),Object.assign(this,E.defaults,S),o("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(S,y,f,C,_={}){return o(!this.in||_.in,"Invalid in() reference usage"),"global"===this.type?this._resolve(f.context,y,_):"local"===this.type?this._resolve(C,y,_):this.ancestor?"root"===this.ancestor?this._resolve(y.ancestors[y.ancestors.length-1],y,_):(o(this.ancestor<=y.ancestors.length,"Invalid reference exceeds the schema root:",this.display),this._resolve(y.ancestors[this.ancestor-1],y,_)):this._resolve(S,y,_)}_resolve(S,y,f){let C;if("value"===this.type&&y.mainstay.shadow&&!1!==f.shadow&&(C=y.mainstay.shadow.get(this.absolute(y))),void 0===C&&(C=v(S,this.path,{iterables:this.iterables,functions:!0})),this.adjust&&(C=this.adjust(C)),this.map){const _=this.map.get(C);void 0!==_&&(C=_)}return y.mainstay&&y.mainstay.tracer.resolve(y,this,C),C}toString(){return this.display}absolute(S){return[...S.path.slice(0,-this.ancestor),...this.path]}clone(){return new E.Ref(this)}describe(){const S={path:this.path};"value"!==this.type&&(S.type=this.type),"."!==this.separator&&(S.separator=this.separator),"value"===this.type&&1!==this.ancestor&&(S.ancestor=this.ancestor),this.map&&(S.map=[...this.map]);for(const y of["adjust","iterables","render"])null!=this[y]&&(S[y]=this[y]);return!1!==this.in&&(S.in=!0),{ref:S}}updateDisplay(){const S=null!==this.key?this.key:"";if("value"!==this.type)return void(this.display=`ref:${this.type}:${S}`);if(!this.separator)return void(this.display=`ref:${S}`);if(!this.ancestor)return void(this.display=`ref:${this.separator}${S}`);if("root"===this.ancestor)return void(this.display=`ref:root:${S}`);if(1===this.ancestor)return void(this.display=`ref:${S||".."}`);const y=new Array(this.ancestor+1).fill(this.separator).join("");this.display=`ref:${y}${S||""}`}},E.Ref.prototype[M.symbols.ref]=!0,i.build=function(S){return"value"===(S=Object.assign({},E.defaults,S)).type&&void 0===S.ancestor&&(S.ancestor=1),new E.Ref(S)},E.context=function(S,y,f={}){if(S=S.trim(),f){const C=void 0===f.global?"$":f.global;if(C!==y&&S.startsWith(C))return{key:S.slice(C.length),type:"global"};const _=void 0===f.local?"#":f.local;if(_!==y&&S.startsWith(_))return{key:S.slice(_.length),type:"local"};const w=void 0===f.root?"/":f.root;if(w!==y&&S.startsWith(w))return{key:S.slice(w.length),type:"value",root:!0}}return{key:S,type:"value"}},E.ancestor=function(S,y){if(!y)return[1,0];if(S[0]!==y)return[1,0];if(S[1]!==y)return[0,1];let f=2;for(;S[f]===y;)++f;return[f-1,f]},i.toSibling=0,i.toParent=1,i.Manager=class{constructor(){this.refs=[]}register(S,y){if(S)if(y=void 0===y?i.toParent:y,Array.isArray(S))for(const f of S)this.register(f,y);else if(M.isSchema(S))for(const f of S._refs.refs)f.ancestor-y>=0&&this.refs.push({ancestor:f.ancestor-y,root:f.root});else i.isRef(S)&&"value"===S.type&&S.ancestor-y>=0&&this.refs.push({ancestor:S.ancestor-y,root:S.root}),p=p||e(3328),p.isTemplate(S)&&this.register(S.refs(),y)}get length(){return this.refs.length}clone(){const S=new i.Manager;return S.refs=d(this.refs),S}reset(){this.refs=[]}roots(){return this.refs.filter(S=>!S.ancestor).map(S=>S.root)}}},3378:(l,i,e)=>{"use strict";const o=e(5107),d={};d.wrap=o.string().min(1).max(2).allow(!1),i.preferences=o.object({allowUnknown:o.boolean(),abortEarly:o.boolean(),artifacts:o.boolean(),cache:o.boolean(),context:o.object(),convert:o.boolean(),dateFormat:o.valid("date","iso","string","time","utc"),debug:o.boolean(),errors:{escapeHtml:o.boolean(),label:o.valid("path","key",!1),language:[o.string(),o.object().ref()],render:o.boolean(),stack:o.boolean(),wrap:{label:d.wrap,array:d.wrap,string:d.wrap}},externals:o.boolean(),messages:o.object(),noDefaults:o.boolean(),nonEnumerables:o.boolean(),presence:o.valid("required","optional","forbidden"),skipFunctions:o.boolean(),stripUnknown:o.object({arrays:o.boolean(),objects:o.boolean()}).or("arrays","objects").allow(!0,!1),warnings:o.boolean()}).strict(),d.nameRx=/^[a-zA-Z0-9]\w*$/,d.rule=o.object({alias:o.array().items(o.string().pattern(d.nameRx)).single(),args:o.array().items(o.string(),o.object({name:o.string().pattern(d.nameRx).required(),ref:o.boolean(),assert:o.alternatives([o.function(),o.object().schema()]).conditional("ref",{is:!0,then:o.required()}),normalize:o.function(),message:o.string().when("assert",{is:o.function(),then:o.required()})})),convert:o.boolean(),manifest:o.boolean(),method:o.function().allow(!1),multi:o.boolean(),validate:o.function()}),i.extension=o.object({type:o.alternatives([o.string(),o.object().regex()]).required(),args:o.function(),cast:o.object().pattern(d.nameRx,o.object({from:o.function().maxArity(1).required(),to:o.function().minArity(1).maxArity(2).required()})),base:o.object().schema().when("type",{is:o.object().regex(),then:o.forbidden()}),coerce:[o.function().maxArity(3),o.object({method:o.function().maxArity(3).required(),from:o.array().items(o.string()).single()})],flags:o.object().pattern(d.nameRx,o.object({setter:o.string(),default:o.any()})),manifest:{build:o.function().arity(2)},messages:[o.object(),o.string()],modifiers:o.object().pattern(d.nameRx,o.function().minArity(1).maxArity(2)),overrides:o.object().pattern(d.nameRx,o.function()),prepare:o.function().maxArity(3),rebuild:o.function().arity(1),rules:o.object().pattern(d.nameRx,d.rule),terms:o.object().pattern(d.nameRx,o.object({init:o.array().allow(null).required(),manifest:o.object().pattern(/.+/,[o.valid("schema","single"),o.object({mapped:o.object({from:o.string().required(),to:o.string().required()}).required()})])})),validate:o.function().maxArity(3)}).strict(),i.extensions=o.array().items(o.object(),o.function().arity(1)).strict(),d.desc={buffer:o.object({buffer:o.string()}),func:o.object({function:o.function().required(),options:{literal:!0}}),override:o.object({override:!0}),ref:o.object({ref:o.object({type:o.valid("value","global","local"),path:o.array().required(),separator:o.string().length(1).allow(!1),ancestor:o.number().min(0).integer().allow("root"),map:o.array().items(o.array().length(2)).min(1),adjust:o.function(),iterables:o.boolean(),in:o.boolean(),render:o.boolean()}).required()}),regex:o.object({regex:o.string().min(3)}),special:o.object({special:o.valid("deep").required()}),template:o.object({template:o.string().required(),options:o.object()}),value:o.object({value:o.alternatives([o.object(),o.array()]).required()})},d.desc.entity=o.alternatives([o.array().items(o.link("...")),o.boolean(),o.function(),o.number(),o.string(),d.desc.buffer,d.desc.func,d.desc.ref,d.desc.regex,d.desc.special,d.desc.template,d.desc.value,o.link("/")]),d.desc.values=o.array().items(null,o.boolean(),o.function(),o.number().allow(1/0,-1/0),o.string().allow(""),o.symbol(),d.desc.buffer,d.desc.func,d.desc.override,d.desc.ref,d.desc.regex,d.desc.template,d.desc.value),d.desc.messages=o.object().pattern(/.+/,[o.string(),d.desc.template,o.object().pattern(/.+/,[o.string(),d.desc.template])]),i.description=o.object({type:o.string().required(),flags:o.object({cast:o.string(),default:o.any(),description:o.string(),empty:o.link("/"),failover:d.desc.entity,id:o.string(),label:o.string(),only:!0,presence:["optional","required","forbidden"],result:["raw","strip"],strip:o.boolean(),unit:o.string()}).unknown(),preferences:{allowUnknown:o.boolean(),abortEarly:o.boolean(),artifacts:o.boolean(),cache:o.boolean(),convert:o.boolean(),dateFormat:["date","iso","string","time","utc"],errors:{escapeHtml:o.boolean(),label:["path","key"],language:[o.string(),d.desc.ref],wrap:{label:d.wrap,array:d.wrap}},externals:o.boolean(),messages:d.desc.messages,noDefaults:o.boolean(),nonEnumerables:o.boolean(),presence:["required","optional","forbidden"],skipFunctions:o.boolean(),stripUnknown:o.object({arrays:o.boolean(),objects:o.boolean()}).or("arrays","objects").allow(!0,!1),warnings:o.boolean()},allow:d.desc.values,invalid:d.desc.values,rules:o.array().min(1).items({name:o.string().required(),args:o.object().min(1),keep:o.boolean(),message:[o.string(),d.desc.messages],warn:o.boolean()}),keys:o.object().pattern(/.*/,o.link("/")),link:d.desc.ref}).pattern(/^[a-z]\w*$/,o.any())},493:(l,i,e)=>{"use strict";const o=e(8571),d=e(9621),v=e(8160),M={value:Symbol("value")};l.exports=M.State=class{constructor(p,E,S){this.path=p,this.ancestors=E,this.mainstay=S.mainstay,this.schemas=S.schemas,this.debug=null}localize(p,E=null,S=null){const y=new M.State(p,E,this);return S&&y.schemas&&(y.schemas=[M.schemas(S),...y.schemas]),y}nest(p,E){const S=new M.State(this.path,this.ancestors,this);return S.schemas=S.schemas&&[M.schemas(p),...S.schemas],S.debug=E,S}shadow(p,E){this.mainstay.shadow=this.mainstay.shadow||new M.Shadow,this.mainstay.shadow.set(this.path,p,E)}snapshot(){this.mainstay.shadow&&(this._snapshot=o(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()}},M.schemas=function(p){return v.isSchema(p)?{schema:p}:p},M.Shadow=class{constructor(){this._values=null}set(p,E,S){if(!p.length||"strip"===S&&"number"==typeof p[p.length-1])return;this._values=this._values||new Map;let y=this._values;for(let f=0;f{"use strict";const o=e(375),d=e(8571),v=e(5277),M=e(1447),p=e(8160),E=e(6354),S=e(6133),y={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}};l.exports=y.Template=class{constructor(f,C){if(o("string"==typeof f,"Template source must be a string"),o(!f.includes("\0")&&!f.includes("\x01"),"Template source cannot contain reserved control characters"),this.source=f,this.rendered=f,this._template=null,C){const{functions:_,...w}=C;this._settings=Object.keys(w).length?d(w):void 0,this._functions=_,this._functions&&(o(Object.keys(this._functions).every(D=>"string"==typeof D),"Functions keys must be strings"),o(Object.values(this._functions).every(D=>"function"==typeof D),"Functions values must be functions"))}else this._settings=void 0,this._functions=void 0;this._parse()}_parse(){if(!this.source.includes("{"))return;const f=y.encode(this.source),C=y.split(f);let _=!1;const w=[],D=C.shift();D&&w.push(D);for(const L of C){const N="{"!==L[0],V=N?"}":"}}",G=L.indexOf(V);if(-1===G||"{"===L[1]){w.push(`{${y.decode(L)}`);continue}let R=L.slice(N?0:1,G);const k=":"===R[0];k&&(R=R.slice(1));const A=this._ref(y.decode(R),{raw:N,wrapped:k});w.push(A),"string"!=typeof A&&(_=!0);const H=L.slice(G+V.length);H&&w.push(y.decode(H))}_?this._template=w:this.rendered=w.join("")}static date(f,C){return y.dateFormat[C.dateFormat].call(f)}describe(f={}){if(!this._settings&&f.compact)return this.source;const C={template:this.source};return this._settings&&(C.options=this._settings),this._functions&&(C.functions=this._functions),C}static build(f){return new y.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 C of this._template)"string"!=typeof C&&f.push(...C.refs);return f}resolve(f,C,_,w){return this._template&&1===this._template.length?this._part(this._template[0],f,C,_,w,{}):this.render(f,C,_,w)}_part(f,...C){return f.ref?f.ref.resolve(...C):f.formula.evaluate(C)}render(f,C,_,w,D={}){if(!this.isDynamic())return this.rendered;const L=[];for(const N of this._template)if("string"==typeof N)L.push(N);else{const V=this._part(N,f,C,_,w,D),G=y.stringify(V,f,C,_,w,D);if(void 0!==G){const R=N.raw||!1===(D.errors&&D.errors.escapeHtml)?G:v(G);L.push(y.wrap(R,N.wrapped&&_.errors.wrap.label))}}return L.join("")}_ref(f,{raw:C,wrapped:_}){const w=[],D=N=>{const V=S.create(N,this._settings);return w.push(V),G=>{const R=V.resolve(...G);return void 0!==R?R:null}};try{const N=this._functions?{...y.functions,...this._functions}:y.functions;var L=new M.Parser(f,{reference:D,functions:N,constants:y.constants})}catch(N){throw N.message=`Invalid template variable "${f}" fails due to: ${N.message}`,N}if(L.single){if("reference"===L.single.type){const N=w[0];return{ref:N,raw:C,refs:w,wrapped:_||"local"===N.type&&"label"===N.key}}return y.stringify(L.single.value)}return{formula:L,raw:C,refs:w}}toString(){return this.source}},y.Template.prototype[p.symbols.template]=!0,y.Template.prototype.isImmutable=!0,y.encode=function(f){return f.replace(/\\(\{+)/g,(C,_)=>y.opens.slice(0,_.length)).replace(/\\(\}+)/g,(C,_)=>y.closes.slice(0,_.length))},y.decode=function(f){return f.replace(/\u0000/g,"{").replace(/\u0001/g,"}")},y.split=function(f){const C=[];let _="";for(let w=0;w ${H.toString()}`);f=k}if(!Array.isArray(f))return f.toString();const R=[];for(const k of f)R.push(y.stringify(k,C,_,w,D,{arrayItems:!0,...L}));return y.wrap(R.join(", "),!G&&V.array)},y.constants={true:!0,false:!1,null:null,second:1e3,minute:6e4,hour:36e5,day:864e5},y.functions={if:(f,C,_)=>f?C:_,length:f=>"string"==typeof f?f.length:f&&"object"==typeof f?Array.isArray(f)?f.length:Object.keys(f).length:null,msg(f){const[C,_,w,D,L]=this,N=L.messages;if(!N)return"";const V=E.template(C,N[0],f,_,w)||E.template(C,N[1],f,_,w);return V?V.render(C,_,w,D,L):""},number:f=>"number"==typeof f?f:"string"==typeof f?parseFloat(f):"boolean"==typeof f?f?1:0:f instanceof Date?f.getTime():null}},4946:(l,i,e)=>{"use strict";const o=e(375),d=e(1687),v=e(8068),M=e(8160),p=e(3292),E=e(6354),S=e(6133),y={};l.exports=v.extend({type:"alternatives",flags:{match:{default:"any"}},terms:{matches:{init:[],register:S.toSibling}},args:(f,...C)=>1===C.length&&Array.isArray(C[0])?f.try(...C[0]):f.try(...C),validate(f,C){const{schema:_,error:w,state:D,prefs:L}=C;if(_._flags.match){const V=[],G=[];for(let k=0;k<_.$_terms.matches.length;++k){const A=_.$_terms.matches[k],H=D.nest(A.schema,`match.${k}`);H.snapshot();const K=A.schema.$_validate(f,H,L);K.errors?(G.push(K.errors),H.restore()):(V.push(K.value),H.commit())}if(0===V.length)return{errors:w("alternatives.any",{details:G.map(k=>E.details(k,{override:!1}))})};if("one"===_._flags.match)return 1===V.length?{value:V[0]}:{errors:w("alternatives.one")};if(V.length!==_.$_terms.matches.length)return{errors:w("alternatives.all",{details:G.map(k=>E.details(k,{override:!1}))})};const R=k=>k.$_terms.matches.some(A=>"object"===A.schema.type||"alternatives"===A.schema.type&&R(A.schema));return R(_)?{value:V.reduce((k,A)=>d(k,A,{mergeArrays:!1}))}:{value:V[V.length-1]}}const N=[];for(let V=0;V<_.$_terms.matches.length;++V){const G=_.$_terms.matches[V];if(G.schema){const A=D.nest(G.schema,`match.${V}`);A.snapshot();const H=G.schema.$_validate(f,A,L);if(!H.errors)return A.commit(),H;A.restore(),N.push({schema:G.schema,reports:H.errors});continue}const R=G.ref?G.ref.resolve(f,D,L):f,k=G.is?[G]:G.switch;for(let A=0;A"is"!==_.path[0]&&"string"!=typeof C._flags.label?C.label(f):void 0,ref:!1})}},rebuild(f){f.$_modify({each:C=>{M.isSchema(C)&&"array"===C.type&&f.$_setFlag("_arrayItems",!0,{clone:!1})}})},manifest:{build(f,C){if(C.matches)for(const _ of C.matches){const{schema:w,ref:D,is:L,not:N,then:V,otherwise:G}=_;f=w?f.try(w):D?f.conditional(D,{is:L,then:V,not:N,otherwise:G,switch:_.switch}):f.conditional(L,{then:V,otherwise:G})}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}}"}}),y.errors=function(f,{error:C,state:_}){if(!f.length)return{errors:C("alternatives.any")};if(1===f.length)return{errors:f[0].reports};const w=new Set,D=[];for(const{reports:L,schema:N}of f){if(L.length>1)return y.unmatched(f,C);const V=L[0];if(V instanceof E.Report==0)return y.unmatched(f,C);if(V.state.path.length!==_.path.length){D.push({type:N.type,report:V});continue}if("any.only"===V.code){for(const k of V.local.valids)w.add(k);continue}const[G,R]=V.code.split(".");"base"===R?w.add(G):D.push({type:N.type,report:V})}return D.length?1===D.length?{errors:D[0].report}:y.unmatched(f,C):{errors:C("alternatives.types",{types:[...w]})}},y.unmatched=function(f,C){const _=[];for(const w of f)_.push(...w.reports);return{errors:C("alternatives.match",E.details(_,{override:!1}))}}},8068:(l,i,e)=>{"use strict";const o=e(375),d=e(7629),v=e(8160),M=e(6914);l.exports=d.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,E){return o("function"==typeof p,"Method must be a function"),o(void 0===E||E&&"string"==typeof E,"Description must be a non-empty string"),this.$_addRule({name:"custom",args:{method:p,description:E}})},validate(p,E,{method:S}){try{return S(p,E)}catch(y){return E.error("any.custom",{error:y})}},args:["method","description"],multi:!0},messages:{method(p){return this.prefs({messages:p})}},shared:{method(p){o(v.isSchema(p)&&p._flags.id,"Schema must be a schema with an id");const E=this.clone();return E.$_terms.shared=E.$_terms.shared||[],E.$_terms.shared.push(p),E.$_mutateRegister(p),E}},warning:{method(p,E){return o(p&&"string"==typeof p,"Invalid warning code"),this.$_addRule({name:"warning",args:{code:p,local:E},warn:!0})},validate:(p,E,{code:S,local:y})=>E.error(S,y),args:["code","local"],multi:!0}},modifiers:{keep(p,E=!0){p.keep=E},message(p,E){p.message=M.compile(E)},warn(p,E=!0){p.warn=E}},manifest:{build(p,E){for(const S in E){const y=E[S];if(["examples","externals","metas","notes","tags"].includes(S))for(const f of y)p=p[S.slice(0,-1)](f);else if("alterations"!==S)if("whens"!==S){if("shared"===S)for(const f of y)p=p.shared(f)}else for(const f of y){const{ref:C,is:_,not:w,then:D,otherwise:L,concat:N}=f;p=N?p.concat(N):C?p.when(C,{is:_,not:w,then:D,otherwise:L,switch:f.switch,break:f.break}):p.when(_,{then:D,otherwise:L,break:f.break})}else{const f={};for(const{target:C,adjuster:_}of y)f[C]=_;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:(l,i,e)=>{"use strict";const o=e(375),d=e(9474),v=e(9621),M=e(8068),p=e(8160),E=e(3292),S={};l.exports=M.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(y,{schema:f,state:C,prefs:_}){if(!Array.isArray(y))return;const w=f.$_getRule("sort");return w?S.sort(f,y,w.args.options,C,_):void 0}},validate(y,{schema:f,error:C}){if(!Array.isArray(y)){if(f._flags.single){const _=[y];return _[p.symbols.arraySingle]=!0,{value:_}}return{errors:C("array.base")}}if(f.$_getRule("items")||f.$_terms.externals)return{value:y.slice()}},rules:{has:{method(y){y=this.$_compile(y,{appendPath:!0});const f=this.$_addRule({name:"has",args:{schema:y}});return f.$_mutateRegister(y),f},validate(y,{state:f,prefs:C,error:_},{schema:w}){const D=[y,...f.ancestors];for(let N=0;Nthis.$_compile(y[C]),C,{append:!0});f.$_terms.items.push(_)}return f.$_mutateRebuild()},validate(y,{schema:f,error:C,state:_,prefs:w,errorsArray:D}){const L=f.$_terms._requireds.slice(),N=f.$_terms.ordered.slice(),V=[...f.$_terms._inclusions,...L],G=!y[p.symbols.arraySingle];delete y[p.symbols.arraySingle];const R=D();let k=y.length;for(let A=0;A="})}},ordered:{method(...y){p.verifyFlat(y,"ordered");const f=this.$_addRule("items");for(let C=0;Cthis.$_compile(y[C]),C,{append:!0});S.validateSingle(_,f),f.$_mutateRegister(_),f.$_terms.ordered.push(_)}return f.$_mutateRebuild()}},single:{method(y){const f=void 0===y||!!y;return o(!f||!this._flags._arrayItems,"Cannot specify single rule when array has array items"),this.$_setFlag("single",f)}},sort:{method(y={}){p.assertOptions(y,["by","order"]);const f={order:y.order||"ascending"};return y.by&&(f.by=E.ref(y.by,{ancestor:0}),o(!f.by.ancestor,"Cannot sort by ancestor")),this.$_addRule({name:"sort",args:{options:f}})},validate(y,{error:f,state:C,prefs:_,schema:w},{options:D}){const{value:L,errors:N}=S.sort(w,y,D,C,_);if(N)return N;for(let V=0;Vnew Set(y)}},rebuild(y){y.$_terms._inclusions=[],y.$_terms._exclusions=[],y.$_terms._requireds=[];for(const f of y.$_terms.items)S.validateSingle(f,y),"required"===f._flags.presence?y.$_terms._requireds.push(f):"forbidden"===f._flags.presence?y.$_terms._exclusions.push(f):y.$_terms._inclusions.push(f);for(const f of y.$_terms.ordered)S.validateSingle(f,y)},manifest:{build:(y,f)=>(f.items&&(y=y.items(...f.items)),f.ordered&&(y=y.ordered(...f.ordered)),y)},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"}}),S.fillMissedErrors=function(y,f,C,_,w,D){const L=[];let N=0;for(const V of C){const G=V._flags.label;G?L.push(G):++N}f.push(L.length?N?y.$_createError("array.includesRequiredBoth",_,{knownMisses:L,unknownMisses:N},w,D):y.$_createError("array.includesRequiredKnowns",_,{knownMisses:L},w,D):y.$_createError("array.includesRequiredUnknowns",_,{unknownMisses:N},w,D))},S.fillOrderedErrors=function(y,f,C,_,w,D){const L=[];for(const N of C)"required"===N._flags.presence&&L.push(N);L.length&&S.fillMissedErrors(y,f,L,_,w,D)},S.fillDefault=function(y,f,C,_){const w=[];let D=!0;for(let L=y.length-1;L>=0;--L){const N=y[L],V=[f,...C.ancestors],G=N.$_validate(void 0,C.localize(C.path,V,N),_).value;if(D){if(void 0===G)continue;D=!1}w.unshift(G)}w.length&&f.push(...w)},S.fastSplice=function(y,f){let C=f;for(;C{let k=S.compare(G,R,L,N);if(null!==k||(C.by&&(G=C.by.resolve(G,_,w),R=C.by.resolve(R,_,w)),k=S.compare(G,R,L,N),null!==k))return k;const A=typeof G;if(A!==typeof R)throw y.$_createError("array.sort.mismatching",f,null,_,w);if("number"!==A&&"string"!==A)throw y.$_createError("array.sort.unsupported",f,{type:A},_,w);return"number"===A?(G-R)*D:G{"use strict";const o=e(375),d=e(8068),v=e(8160),M=e(2036),p={isBool:function(E){return"boolean"==typeof E}};l.exports=d.extend({type:"boolean",flags:{sensitive:{default:!1}},terms:{falsy:{init:null,manifest:"values"},truthy:{init:null,manifest:"values"}},coerce(E,{schema:S}){if("boolean"!=typeof E){if("string"==typeof E){const y=S._flags.sensitive?E:E.toLowerCase();E="true"===y||"false"!==y&&E}return"boolean"!=typeof E&&(E=S.$_terms.truthy&&S.$_terms.truthy.has(E,null,null,!S._flags.sensitive)||(!S.$_terms.falsy||!S.$_terms.falsy.has(E,null,null,!S._flags.sensitive))&&E),{value:E}}},validate(E,{error:S}){if("boolean"!=typeof E)return{value:E,errors:S("boolean.base")}},rules:{truthy:{method(...E){v.verifyFlat(E,"truthy");const S=this.clone();S.$_terms.truthy=S.$_terms.truthy||new M;for(let y=0;yE?1:0},string:{from:p.isBool,to:(E,S)=>E?"true":"false"}},manifest:{build:(E,S)=>(S.truthy&&(E=E.truthy(...S.truthy)),S.falsy&&(E=E.falsy(...S.falsy)),E)},messages:{"boolean.base":"{{#label}} must be a boolean"}})},7500:(l,i,e)=>{"use strict";const o=e(375),d=e(8068),v=e(8160),M=e(3328),p={isDate:function(E){return E instanceof Date}};l.exports=d.extend({type:"date",coerce:{from:["number","string"],method:(E,{schema:S})=>({value:p.parse(E,S._flags.format)||E})},validate(E,{schema:S,error:y,prefs:f}){if(E instanceof Date&&!isNaN(E.getTime()))return;const C=S._flags.format;return f.convert&&C&&"string"==typeof E?{value:E,errors:y("date.format",{format:C})}:{value:E,errors:y("date.base")}},rules:{compare:{method:!1,validate(E,S,{date:y},{name:f,operator:C,args:_}){const w="now"===y?Date.now():y.getTime();return v.compare(E.getTime(),w,C)?E:S.error("date."+f,{limit:_.date,value:E})},args:[{name:"date",ref:!0,normalize:E=>"now"===E?E:p.parse(E),assert:E=>null!==E,message:"must have a valid date format"}]},format:{method(E){return o(["iso","javascript","unix"].includes(E),"Unknown date format",E),this.$_setFlag("format",E)}},greater:{method(E){return this.$_addRule({name:"greater",method:"compare",args:{date:E},operator:">"})}},iso:{method(){return this.format("iso")}},less:{method(E){return this.$_addRule({name:"less",method:"compare",args:{date:E},operator:"<"})}},max:{method(E){return this.$_addRule({name:"max",method:"compare",args:{date:E},operator:"<="})}},min:{method(E){return this.$_addRule({name:"min",method:"compare",args:{date:E},operator:">="})}},timestamp:{method(E="javascript"){return o(["javascript","unix"].includes(E),'"type" must be one of "javascript, unix"'),this.format(E)}}},cast:{number:{from:p.isDate,to:(E,S)=>E.getTime()},string:{from:p.isDate,to:(E,{prefs:S})=>M.date(E,S)}},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(E,S){if(E instanceof Date)return E;if("string"!=typeof E&&(isNaN(E)||!isFinite(E))||/^\s*$/.test(E))return null;if("iso"===S)return v.isIsoDate(E)?p.date(E.toString()):null;const y=E;if("string"==typeof E&&/^[+-]?\d+(\.\d+)?$/.test(E)&&(E=parseFloat(E)),S){if("javascript"===S)return p.date(1*E);if("unix"===S)return p.date(1e3*E);if("string"==typeof y)return null}return p.date(E)},p.date=function(E){const S=new Date(E);return isNaN(S.getTime())?null:S}},390:(l,i,e)=>{"use strict";const o=e(375),d=e(7824);l.exports=d.extend({type:"function",properties:{typeof:"function"},rules:{arity:{method(v){return o(Number.isSafeInteger(v)&&v>=0,"n must be a positive integer"),this.$_addRule({name:"arity",args:{n:v}})},validate:(v,M,{n:p})=>v.length===p?v:M.error("function.arity",{n:p})},class:{method(){return this.$_addRule("class")},validate:(v,M)=>/^\s*class\s/.test(v.toString())?v:M.error("function.class",{value:v})},minArity:{method(v){return o(Number.isSafeInteger(v)&&v>0,"n must be a strict positive integer"),this.$_addRule({name:"minArity",args:{n:v}})},validate:(v,M,{n:p})=>v.length>=p?v:M.error("function.minArity",{n:p})},maxArity:{method(v){return o(Number.isSafeInteger(v)&&v>=0,"n must be a positive integer"),this.$_addRule({name:"maxArity",args:{n:v}})},validate:(v,M,{n:p})=>v.length<=p?v:M.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:(l,i,e)=>{"use strict";const o=e(978),d=e(375),v=e(8571),M=e(3652),p=e(8068),E=e(8160),S=e(3292),y=e(6354),f=e(6133),C=e(3328),_={renameDefaults:{alias:!1,multiple:!1,override:!1}};l.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:(w,D)=>w.keys(D),validate(w,{schema:D,error:L,state:N,prefs:V}){if(!w||typeof w!==D.$_property("typeof")||Array.isArray(w))return{value:w,errors:L("object.base",{type:D.$_property("typeof")})};if(!(D.$_terms.renames||D.$_terms.dependencies||D.$_terms.keys||D.$_terms.patterns||D.$_terms.externals))return;w=_.clone(w,V);const G=[];if(D.$_terms.renames&&!_.rename(D,w,N,V,G))return{value:w,errors:G};if(!D.$_terms.keys&&!D.$_terms.patterns&&!D.$_terms.dependencies)return{value:w,errors:G};const R=new Set(Object.keys(w));if(D.$_terms.keys){const k=[w,...N.ancestors];for(const A of D.$_terms.keys){const H=A.key,K=w[H];R.delete(H);const ie=N.localize([...N.path,H],k,A),J=A.schema.$_validate(K,ie,V);if(J.errors){if(V.abortEarly)return{value:w,errors:J.errors};void 0!==J.value&&(w[H]=J.value),G.push(...J.errors)}else"strip"===A.schema._flags.result||void 0===J.value&&void 0!==K?delete w[H]:void 0!==J.value&&(w[H]=J.value)}}if(R.size||D._flags._hasPatternMatch){const k=_.unknown(D,w,R,G,N,V);if(k)return k}if(D.$_terms.dependencies)for(const k of D.$_terms.dependencies){if(null!==k.key&&!1===_.isPresent(k.options)(k.key.resolve(w,N,V,null,{shadow:!1})))continue;const A=_.dependencies[k.rel](D,k,w,N,V);if(A){const H=D.$_createError(A.code,w,A.context,N,V);if(V.abortEarly)return{value:w,errors:H};G.push(H)}}return{value:w,errors:G}},rules:{and:{method(...w){return E.verifyFlat(w,"and"),_.dependency(this,"and",null,w)}},append:{method(w){return null==w||0===Object.keys(w).length?this:this.keys(w)}},assert:{method(w,D,L){C.isTemplate(w)||(w=S.ref(w)),d(void 0===L||"string"==typeof L,"Message must be a string"),D=this.$_compile(D,{appendPath:!0});const N=this.$_addRule({name:"assert",args:{subject:w,schema:D,message:L}});return N.$_mutateRegister(w),N.$_mutateRegister(D),N},validate(w,{error:D,prefs:L,state:N},{subject:V,schema:G,message:R}){const k=V.resolve(w,N,L),A=f.isRef(V)?V.absolute(N):[];return G.$_match(k,N.localize(A,[w,...N.ancestors],G),L)?w:D("object.assert",{subject:V,message:R})},args:["subject","schema","message"],multi:!0},instance:{method(w,D){return d("function"==typeof w,"constructor must be a function"),this.$_addRule({name:"instance",args:{constructor:w,name:D=D||w.name}})},validate:(w,D,{constructor:L,name:N})=>w instanceof L?w:D.error("object.instance",{type:N,value:w}),args:["constructor","name"]},keys:{method(w){d(void 0===w||"object"==typeof w,"Object schema must be a valid object"),d(!E.isSchema(w),"Object schema cannot be a joi schema");const D=this.clone();if(w)if(Object.keys(w).length){D.$_terms.keys=D.$_terms.keys?D.$_terms.keys.filter(L=>!w.hasOwnProperty(L.key)):new _.Keys;for(const L in w)E.tryWithPath(()=>D.$_terms.keys.push({key:L,schema:this.$_compile(w[L])}),L)}else D.$_terms.keys=new _.Keys;else D.$_terms.keys=null;return D.$_mutateRebuild()}},length:{method(w){return this.$_addRule({name:"length",args:{limit:w},operator:"="})},validate:(w,D,{limit:L},{name:N,operator:V,args:G})=>E.compare(Object.keys(w).length,L,V)?w:D.error("object."+N,{limit:G.limit,value:w}),args:[{name:"limit",ref:!0,assert:E.limit,message:"must be a positive integer"}]},max:{method(w){return this.$_addRule({name:"max",method:"length",args:{limit:w},operator:"<="})}},min:{method(w){return this.$_addRule({name:"min",method:"length",args:{limit:w},operator:">="})}},nand:{method(...w){return E.verifyFlat(w,"nand"),_.dependency(this,"nand",null,w)}},or:{method(...w){return E.verifyFlat(w,"or"),_.dependency(this,"or",null,w)}},oxor:{method(...w){return _.dependency(this,"oxor",null,w)}},pattern:{method(w,D,L={}){const N=w instanceof RegExp;N||(w=this.$_compile(w,{appendPath:!0})),d(void 0!==D,"Invalid rule"),E.assertOptions(L,["fallthrough","matches"]),N&&d(!w.flags.includes("g")&&!w.flags.includes("y"),"pattern should not use global or sticky mode"),D=this.$_compile(D,{appendPath:!0});const V=this.clone();V.$_terms.patterns=V.$_terms.patterns||[];const G={[N?"regex":"schema"]:w,rule:D};return L.matches&&(G.matches=this.$_compile(L.matches),"array"!==G.matches.type&&(G.matches=G.matches.$_root.array().items(G.matches)),V.$_mutateRegister(G.matches),V.$_setFlag("_hasPatternMatch",!0,{clone:!1})),L.fallthrough&&(G.fallthrough=!0),V.$_terms.patterns.push(G),V.$_mutateRegister(D),V}},ref:{method(){return this.$_addRule("ref")},validate:(w,D)=>f.isRef(w)?w:D.error("object.refType",{value:w})},regex:{method(){return this.$_addRule("regex")},validate:(w,D)=>w instanceof RegExp?w:D.error("object.regex",{value:w})},rename:{method(w,D,L={}){d("string"==typeof w||w instanceof RegExp,"Rename missing the from argument"),d("string"==typeof D||D instanceof C,"Invalid rename to argument"),d(D!==w,"Cannot rename key to same name:",w),E.assertOptions(L,["alias","ignoreUndefined","override","multiple"]);const N=this.clone();N.$_terms.renames=N.$_terms.renames||[];for(const V of N.$_terms.renames)d(V.from!==w,"Cannot rename the same key multiple times");return D instanceof C&&N.$_mutateRegister(D),N.$_terms.renames.push({from:w,to:D,options:o(_.renameDefaults,L)}),N}},schema:{method(w="any"){return this.$_addRule({name:"schema",args:{type:w}})},validate:(w,D,{type:L})=>!E.isSchema(w)||"any"!==L&&w.type!==L?D.error("object.schema",{type:L}):w},unknown:{method(w){return this.$_setFlag("unknown",!1!==w)}},with:{method(w,D,L={}){return _.dependency(this,"with",w,D,L)}},without:{method(w,D,L={}){return _.dependency(this,"without",w,D,L)}},xor:{method(...w){return E.verifyFlat(w,"xor"),_.dependency(this,"xor",null,w)}}},overrides:{default(w,D){return void 0===w&&(w=E.symbols.deepDefault),this.$_parent("default",w,D)}},rebuild(w){if(w.$_terms.keys){const D=new M.Sorter;for(const L of w.$_terms.keys)E.tryWithPath(()=>D.add(L,{after:L.schema.$_rootReferences(),group:L.key}),L.key);w.$_terms.keys=new _.Keys(...D.nodes)}},manifest:{build(w,D){if(D.keys&&(w=w.keys(D.keys)),D.dependencies)for(const{rel:L,key:N=null,peers:V,options:G}of D.dependencies)w=_.dependency(w,L,N,V,G);if(D.patterns)for(const{regex:L,schema:N,rule:V,fallthrough:G,matches:R}of D.patterns)w=w.pattern(L||N,V,{fallthrough:G,matches:R});if(D.renames)for(const{from:L,to:N,options:V}of D.renames)w=w.rename(L,N,V);return w}},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}}"}}),_.clone=function(w,D){if("object"==typeof w){if(D.nonEnumerables)return v(w,{shallow:!0});const N=Object.create(Object.getPrototypeOf(w));return Object.assign(N,w),N}const L=function(...N){return w.apply(this,N)};return L.prototype=v(w.prototype),Object.defineProperty(L,"name",{value:w.name,writable:!1}),Object.defineProperty(L,"length",{value:w.length,writable:!1}),Object.assign(L,w),L},_.dependency=function(w,D,L,N,V){d(null===L||"string"==typeof L,D,"key must be a strings"),V||(V=N.length>1&&"object"==typeof N[N.length-1]?N.pop():{}),E.assertOptions(V,["separator","isPresent"]),N=[].concat(N);const G=E.default(V.separator,"."),R=[];for(const A of N)d("string"==typeof A,D,"peers must be strings"),R.push(S.ref(A,{separator:G,ancestor:0,prefix:!1}));null!==L&&(L=S.ref(L,{separator:G,ancestor:0,prefix:!1}));const k=w.clone();return k.$_terms.dependencies=k.$_terms.dependencies||[],k.$_terms.dependencies.push(new _.Dependency(D,L,R,N,V)),k},_.dependencies={and(w,D,L,N,V){const G=[],R=[],k=D.peers.length,A=_.isPresent(D.options);for(const H of D.peers)!1===A(H.resolve(L,N,V,null,{shadow:!1}))?G.push(H.key):R.push(H.key);if(G.length!==k&&R.length!==k)return{code:"object.and",context:{present:R,presentWithLabels:_.keysToLabels(w,R),missing:G,missingWithLabels:_.keysToLabels(w,G)}}},nand(w,D,L,N,V){const G=[],R=_.isPresent(D.options);for(const H of D.peers)R(H.resolve(L,N,V,null,{shadow:!1}))&&G.push(H.key);if(G.length!==D.peers.length)return;const k=D.paths[0],A=D.paths.slice(1);return{code:"object.nand",context:{main:k,mainWithLabel:_.keysToLabels(w,k),peers:A,peersWithLabels:_.keysToLabels(w,A)}}},or(w,D,L,N,V){const G=_.isPresent(D.options);for(const R of D.peers)if(G(R.resolve(L,N,V,null,{shadow:!1})))return;return{code:"object.missing",context:{peers:D.paths,peersWithLabels:_.keysToLabels(w,D.paths)}}},oxor(w,D,L,N,V){const G=[],R=_.isPresent(D.options);for(const A of D.peers)R(A.resolve(L,N,V,null,{shadow:!1}))&&G.push(A.key);if(!G.length||1===G.length)return;const k={peers:D.paths,peersWithLabels:_.keysToLabels(w,D.paths)};return k.present=G,k.presentWithLabels=_.keysToLabels(w,G),{code:"object.oxor",context:k}},with(w,D,L,N,V){const G=_.isPresent(D.options);for(const R of D.peers)if(!1===G(R.resolve(L,N,V,null,{shadow:!1})))return{code:"object.with",context:{main:D.key.key,mainWithLabel:_.keysToLabels(w,D.key.key),peer:R.key,peerWithLabel:_.keysToLabels(w,R.key)}}},without(w,D,L,N,V){const G=_.isPresent(D.options);for(const R of D.peers)if(G(R.resolve(L,N,V,null,{shadow:!1})))return{code:"object.without",context:{main:D.key.key,mainWithLabel:_.keysToLabels(w,D.key.key),peer:R.key,peerWithLabel:_.keysToLabels(w,R.key)}}},xor(w,D,L,N,V){const G=[],R=_.isPresent(D.options);for(const A of D.peers)R(A.resolve(L,N,V,null,{shadow:!1}))&&G.push(A.key);if(1===G.length)return;const k={peers:D.paths,peersWithLabels:_.keysToLabels(w,D.paths)};return 0===G.length?{code:"object.missing",context:k}:(k.present=G,k.presentWithLabels=_.keysToLabels(w,G),{code:"object.xor",context:k})}},_.keysToLabels=function(w,D){return Array.isArray(D)?D.map(L=>w.$_mapLabels(L)):w.$_mapLabels(D)},_.isPresent=function(w){return"function"==typeof w.isPresent?w.isPresent:D=>void 0!==D},_.rename=function(w,D,L,N,V){const G={};for(const R of w.$_terms.renames){const k=[],A="string"!=typeof R.from;if(A)for(const H in D){if(void 0===D[H]&&R.options.ignoreUndefined||H===R.to)continue;const K=R.from.exec(H);K&&k.push({from:H,to:R.to,match:K})}else!Object.prototype.hasOwnProperty.call(D,R.from)||void 0===D[R.from]&&R.options.ignoreUndefined||k.push(R);for(const H of k){const K=H.from;let ie=H.to;if(ie instanceof C&&(ie=ie.render(D,L,N,H.match)),K!==ie){if(!R.options.multiple&&G[ie]&&(V.push(w.$_createError("object.rename.multiple",D,{from:K,to:ie,pattern:A},L,N)),N.abortEarly)||Object.prototype.hasOwnProperty.call(D,ie)&&!R.options.override&&!G[ie]&&(V.push(w.$_createError("object.rename.override",D,{from:K,to:ie,pattern:A},L,N)),N.abortEarly))return!1;void 0===D[K]?delete D[ie]:D[ie]=D[K],G[ie]=!0,R.options.alias||delete D[K]}}}return!0},_.unknown=function(w,D,L,N,V,G){if(w.$_terms.patterns){let R=!1;const k=w.$_terms.patterns.map(H=>{if(H.matches)return R=!0,[]}),A=[D,...V.ancestors];for(const H of L){const K=D[H],ie=[...V.path,H];for(let J=0;J{"use strict";const o=e(375),d=e(8068),v=e(8160),M=e(3292),p=e(6354),E={};l.exports=d.extend({type:"link",properties:{schemaChain:!0},terms:{link:{init:null,manifest:"single",register:!1}},args:(S,y)=>S.ref(y),validate(S,{schema:y,state:f,prefs:C}){o(y.$_terms.link,"Uninitialized link schema");const _=E.generate(y,S,f,C);return _.$_validate(S,f.nest(_,`link:${y.$_terms.link[0].ref.display}:${_.type}`),C)},generate:(S,y,f,C)=>E.generate(S,y,f,C),rules:{ref:{method(S){o(!this.$_terms.link,"Cannot reinitialize schema"),S=M.ref(S),o("value"===S.type||"local"===S.type,"Invalid reference type:",S.type),o("local"===S.type||"root"===S.ancestor||S.ancestor>0,"Link cannot reference itself");const y=this.clone();return y.$_terms.link=[{ref:S}],y}},relative:{method(S=!0){return this.$_setFlag("relative",S)}}},overrides:{concat(S){o(this.$_terms.link,"Uninitialized link schema"),o(v.isSchema(S),"Invalid schema object"),o("link"!==S.type,"Cannot merge type link with another link");const y=this.clone();return y.$_terms.whens||(y.$_terms.whens=[]),y.$_terms.whens.push({concat:S}),y.$_mutateRebuild()}},manifest:{build:(S,y)=>(o(y.link,"Invalid link description missing link"),S.ref(y.link))}}),E.generate=function(S,y,f,C){let _=f.mainstay.links.get(S);if(_)return _._generate(y,f,C).schema;const w=S.$_terms.link[0].ref,{perspective:D,path:L}=E.perspective(w,f);E.assert(D,"which is outside of schema boundaries",w,S,f,C);try{_=L.length?D.$_reach(L):D}catch{E.assert(!1,"to non-existing schema",w,S,f,C)}return E.assert("link"!==_.type,"which is another link",w,S,f,C),S._flags.relative||f.mainstay.links.set(S,_),_._generate(y,f,C).schema},E.perspective=function(S,y){if("local"===S.type){for(const{schema:f,key:C}of y.schemas){if((f._flags.id||C)===S.path[0])return{perspective:f,path:S.path.slice(1)};if(f.$_terms.shared)for(const _ of f.$_terms.shared)if(_._flags.id===S.path[0])return{perspective:_,path:S.path.slice(1)}}return{perspective:null,path:null}}return"root"===S.ancestor?{perspective:y.schemas[y.schemas.length-1].schema,path:S.path}:{perspective:y.schemas[S.ancestor]&&y.schemas[S.ancestor].schema,path:S.path}},E.assert=function(S,y,f,C,_,w){S||o(!1,`"${p.label(C._flags,_,w)}" contains link reference "${f.display}" ${y}`)}},3832:(l,i,e)=>{"use strict";const o=e(375),d=e(8068),v=e(8160),M={numberRx:/^\s*[+-]?(?:(?:\d+(?:\.\d*)?)|(?:\.\d+))(?:e([+-]?\d+))?\s*$/i,precisionRx:/(?:\.(\d+))?(?:[eE]([+-]?\d+))?$/,exponentialPartRegex:/[eE][+-]?\d+$/,leadingSignAndZerosRegex:/^[+-]?(0*)?/,dotRegex:/\./,trailingZerosRegex:/0+$/,decimalPlaces(p){const E=p.toString(),S=E.indexOf("."),y=E.indexOf("e");return(S<0?0:(y<0?E.length:y)-S-1)+(y<0?0:Math.max(0,-parseInt(E.slice(y+1))))}};l.exports=d.extend({type:"number",flags:{unsafe:{default:!1}},coerce:{from:"string",method(p,{schema:E,error:S}){if(!p.match(M.numberRx))return;p=p.trim();const y={value:parseFloat(p)};if(0===y.value&&(y.value=0),!E._flags.unsafe)if(p.match(/e/i)){if(M.extractSignificantDigits(p)!==M.extractSignificantDigits(String(y.value)))return y.errors=S("number.unsafe"),y}else{const f=y.value.toString();if(f.match(/e/i))return y;if(f!==M.normalizeDecimal(p))return y.errors=S("number.unsafe"),y}return y}},validate(p,{schema:E,error:S,prefs:y}){if(p===1/0||p===-1/0)return{value:p,errors:S("number.infinity")};if(!v.isNumber(p))return{value:p,errors:S("number.base")};const f={value:p};if(y.convert){const C=E.$_getRule("precision");if(C){const _=Math.pow(10,C.args.limit);f.value=Math.round(f.value*_)/_}}return 0===f.value&&(f.value=0),!E._flags.unsafe&&(p>Number.MAX_SAFE_INTEGER||pv.compare(p,S,f)?p:E.error("number."+y,{limit:C.limit,value:p}),args:[{name:"limit",ref:!0,assert:v.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,E)=>Math.trunc(p)-p==0?p:E.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 E="number"==typeof p?M.decimalPlaces(p):null,S=Math.pow(10,E);return this.$_addRule({name:"multiple",args:{base:p,baseDecimalPlace:E,pfactor:S}})},validate:(p,E,{base:S,baseDecimalPlace:y,pfactor:f},C)=>M.decimalPlaces(p)>y?E.error("number.multiple",{multiple:C.args.base,value:p}):Math.round(f*p)%Math.round(f*S)==0?p:E.error("number.multiple",{multiple:C.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,E)=>Number.isSafeInteger(p)&&p>=0&&p<=65535?p:E.error("number.port")},positive:{method(){return this.sign("positive")}},precision:{method(p){return o(Number.isSafeInteger(p),"limit must be an integer"),this.$_addRule({name:"precision",args:{limit:p}})},validate(p,E,{limit:S}){const y=p.toString().match(M.precisionRx);return Math.max((y[1]?y[1].length:0)-(y[2]?parseInt(y[2],10):0),0)<=S?p:E.error("number.precision",{limit:S,value:p})},convert:!0},sign:{method(p){return o(["negative","positive"].includes(p),"Invalid sign",p),this.$_addRule({name:"sign",args:{sign:p}})},validate:(p,E,{sign:S})=>"negative"===S&&p<0||"positive"===S&&p>0?p:E.error(`number.${S}`)},unsafe:{method(p=!0){return o("boolean"==typeof p,"enabled must be a boolean"),this.$_setFlag("unsafe",p)}}},cast:{string:{from:p=>"number"==typeof p,to:(p,E)=>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"}}),M.extractSignificantDigits=function(p){return p.replace(M.exponentialPartRegex,"").replace(M.dotRegex,"").replace(M.trailingZerosRegex,"").replace(M.leadingSignAndZerosRegex,"")},M.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:(l,i,e)=>{"use strict";const o=e(7824);l.exports=o.extend({type:"object",cast:{map:{from:d=>d&&"object"==typeof d,to:(d,v)=>new Map(Object.entries(d))}}})},7417:(l,i,e)=>{"use strict";const o=e(375),d=e(5380),v=e(1745),M=e(9959),p=e(6064),E=e(9926),S=e(5752),y=e(8068),f=e(8160),C={tlds:E instanceof Set&&{tlds:{allow:E,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:M.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"]};l.exports=y.extend({type:"string",flags:{insensitive:{default:!1},truncate:{default:!1}},terms:{replacements:{init:null}},coerce:{from:"string",method(_,{schema:w,state:D,prefs:L}){const N=w.$_getRule("normalize");N&&(_=_.normalize(N.args.form));const V=w.$_getRule("case");V&&(_="upper"===V.args.direction?_.toLocaleUpperCase():_.toLocaleLowerCase());const G=w.$_getRule("trim");if(G&&G.args.enabled&&(_=_.trim()),w.$_terms.replacements)for(const k of w.$_terms.replacements)_=_.replace(k.pattern,k.replacement);const R=w.$_getRule("hex");if(R&&R.args.options.byteAligned&&_.length%2!=0&&(_=`0${_}`),w.$_getRule("isoDate")){const k=C.isoDate(_);k&&(_=k)}if(w._flags.truncate){const k=w.$_getRule("max");if(k){let A=k.args.limit;if(f.isResolvable(A)&&(A=A.resolve(_,D,L),!f.limit(A)))return{value:_,errors:w.$_createError("any.ref",A,{ref:k.args.limit,arg:"limit",reason:"must be a positive integer"},D,L)};_=_.slice(0,A)}}return{value:_}}},validate(_,{schema:w,error:D}){if("string"!=typeof _)return{value:_,errors:D("string.base")};if(""===_){const L=w.$_getRule("min");return L&&0===L.args.limit?void 0:{value:_,errors:D("string.empty")}}},rules:{alphanum:{method(){return this.$_addRule("alphanum")},validate:(_,w)=>/^[a-zA-Z0-9]+$/.test(_)?_:w.error("string.alphanum")},base64:{method(_={}){return f.assertOptions(_,["paddingRequired","urlSafe"]),_={urlSafe:!1,paddingRequired:!0,..._},o("boolean"==typeof _.paddingRequired,"paddingRequired must be boolean"),o("boolean"==typeof _.urlSafe,"urlSafe must be boolean"),this.$_addRule({name:"base64",args:{options:_}})},validate:(_,w,{options:D})=>C.base64Regex[D.paddingRequired][D.urlSafe].test(_)?_:w.error("string.base64")},case:{method(_){return o(["lower","upper"].includes(_),"Invalid case:",_),this.$_addRule({name:"case",args:{direction:_}})},validate:(_,w,{direction:D})=>"lower"===D&&_===_.toLocaleLowerCase()||"upper"===D&&_===_.toLocaleUpperCase()?_:w.error(`string.${D}case`),convert:!0},creditCard:{method(){return this.$_addRule("creditCard")},validate(_,w){let D=_.length,L=0,N=1;for(;D--;){const V=_.charAt(D)*N;L+=V-9*(V>9),N^=3}return L>0&&L%10==0?_:w.error("string.creditCard")}},dataUri:{method(_={}){return f.assertOptions(_,["paddingRequired"]),_={paddingRequired:!0,..._},o("boolean"==typeof _.paddingRequired,"paddingRequired must be boolean"),this.$_addRule({name:"dataUri",args:{options:_}})},validate(_,w,{options:D}){const L=_.match(C.dataUriRegex);return!L||L[2]&&"base64"===L[2]&&!C.base64Regex[D.paddingRequired].false.test(L[3])?w.error("string.dataUri"):_}},domain:{method(_){_&&f.assertOptions(_,["allowFullyQualified","allowUnicode","maxDomainSegments","minDomainSegments","tlds"]);const w=C.addressOptions(_);return this.$_addRule({name:"domain",args:{options:_},address:w})},validate:(_,w,D,{address:L})=>d.isValid(_,L)?_:w.error("string.domain")},email:{method(_={}){f.assertOptions(_,["allowFullyQualified","allowUnicode","ignoreLength","maxDomainSegments","minDomainSegments","multiple","separator","tlds"]),o(void 0===_.multiple||"boolean"==typeof _.multiple,"multiple option must be an boolean");const w=C.addressOptions(_),D=new RegExp(`\\s*[${_.separator?p(_.separator):","}]\\s*`);return this.$_addRule({name:"email",args:{options:_},regex:D,address:w})},validate(_,w,{options:D},{regex:L,address:N}){const V=D.multiple?_.split(L):[_],G=[];for(const R of V)v.isValid(R,N)||G.push(R);return G.length?w.error("string.email",{value:_,invalids:G}):_}},guid:{alias:"uuid",method(_={}){f.assertOptions(_,["version","separator"]);let w="";if(_.version){const N=[].concat(_.version);o(N.length>=1,"version must have at least 1 valid version specified");const V=new Set;for(let G=0;G("optional"===D.prefix?C.hexRegex.withOptionalPrefix:!0===D.prefix?C.hexRegex.withPrefix:C.hexRegex.withoutPrefix).test(_)?D.byteAligned&&_.length%2!=0?w.error("string.hexAlign"):_:w.error("string.hex")},hostname:{method(){return this.$_addRule("hostname")},validate:(_,w)=>d.isValid(_,{minDomainSegments:1})||C.ipRegex.test(_)?_:w.error("string.hostname")},insensitive:{method(){return this.$_setFlag("insensitive",!0)}},ip:{method(_={}){f.assertOptions(_,["cidr","version"]);const{cidr:w,versions:D,regex:L}=M.regex(_);return this.$_addRule({name:"ip",args:{options:{cidr:w,version:_.version?D:void 0}},regex:L})},validate:(_,w,{options:D},{regex:L})=>L.test(_)?_:D.version?w.error("string.ipVersion",{value:_,cidr:D.cidr,version:D.version}):w.error("string.ip",{value:_,cidr:D.cidr})},isoDate:{method(){return this.$_addRule("isoDate")},validate:(_,{error:w})=>C.isoDate(_)?_:w("string.isoDate")},isoDuration:{method(){return this.$_addRule("isoDuration")},validate:(_,w)=>C.isoDurationRegex.test(_)?_:w.error("string.isoDuration")},length:{method(_,w){return C.length(this,"length",_,"=",w)},validate:(_,w,{limit:D,encoding:L},{name:N,operator:V,args:G})=>f.compare(!L&&_.length,D,V)?_:w.error("string."+N,{limit:G.limit,value:_,encoding:L}),args:[{name:"limit",ref:!0,assert:f.limit,message:"must be a positive integer"},"encoding"]},lowercase:{method(){return this.case("lower")}},max:{method(_,w){return C.length(this,"max",_,"<=",w)},args:["limit","encoding"]},min:{method(_,w){return C.length(this,"min",_,">=",w)},args:["limit","encoding"]},normalize:{method(_="NFC"){return o(C.normalizationForms.includes(_),"normalization form must be one of "+C.normalizationForms.join(", ")),this.$_addRule({name:"normalize",args:{form:_}})},validate:(_,{error:w},{form:D})=>_===_.normalize(D)?_:w("string.normalize",{value:_,form:D}),convert:!0},pattern:{alias:"regex",method(_,w={}){o(_ instanceof RegExp,"regex must be a RegExp"),o(!_.flags.includes("g")&&!_.flags.includes("y"),"regex should not use global or sticky mode"),"string"==typeof w&&(w={name:w}),f.assertOptions(w,["invert","name"]);const D=["string.pattern",w.invert?".invert":"",w.name?".name":".base"].join("");return this.$_addRule({name:"pattern",args:{regex:_,options:w},errorCode:D})},validate:(_,w,{regex:D,options:L},{errorCode:N})=>D.test(_)^L.invert?_:w.error(N,{name:L.name,regex:D,value:_}),args:["regex","options"],multi:!0},replace:{method(_,w){"string"==typeof _&&(_=new RegExp(p(_),"g")),o(_ instanceof RegExp,"pattern must be a RegExp"),o("string"==typeof w,"replacement must be a String");const D=this.clone();return D.$_terms.replacements||(D.$_terms.replacements=[]),D.$_terms.replacements.push({pattern:_,replacement:w}),D}},token:{method(){return this.$_addRule("token")},validate:(_,w)=>/^\w+$/.test(_)?_:w.error("string.token")},trim:{method(_=!0){return o("boolean"==typeof _,"enabled must be a boolean"),this.$_addRule({name:"trim",args:{enabled:_}})},validate:(_,w,{enabled:D})=>D&&_!==_.trim()?w.error("string.trim"):_,convert:!0},truncate:{method(_=!0){return o("boolean"==typeof _,"enabled must be a boolean"),this.$_setFlag("truncate",_)}},uppercase:{method(){return this.case("upper")}},uri:{method(_={}){f.assertOptions(_,["allowRelative","allowQuerySquareBrackets","domain","relativeOnly","scheme"]),_.domain&&f.assertOptions(_.domain,["allowFullyQualified","allowUnicode","maxDomainSegments","minDomainSegments","tlds"]);const{regex:w,scheme:D}=S.regex(_),L=_.domain?C.addressOptions(_.domain):null;return this.$_addRule({name:"uri",args:{options:_},regex:w,domain:L,scheme:D})},validate(_,w,{options:D},{regex:L,domain:N,scheme:V}){if(["http:/","https:/"].includes(_))return w.error("string.uri");const G=L.exec(_);if(G){const R=G[1]||G[2];return!N||D.allowRelative&&!R||d.isValid(R,N)?_:w.error("string.domain",{value:R})}return D.relativeOnly?w.error("string.uriRelativeOnly"):D.scheme?w.error("string.uriCustomScheme",{scheme:V,value:_}):w.error("string.uri")}}},manifest:{build(_,w){if(w.replacements)for(const{pattern:D,replacement:L}of w.replacements)_=_.replace(D,L);return _}},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"}}),C.addressOptions=function(_){if(!_)return C.tlds||_;if(o(void 0===_.minDomainSegments||Number.isSafeInteger(_.minDomainSegments)&&_.minDomainSegments>0,"minDomainSegments must be a positive integer"),o(void 0===_.maxDomainSegments||Number.isSafeInteger(_.maxDomainSegments)&&_.maxDomainSegments>0,"maxDomainSegments must be a positive integer"),!1===_.tlds)return _;if(!0===_.tlds||void 0===_.tlds)return o(C.tlds,"Built-in TLD list disabled"),Object.assign({},_,C.tlds);o("object"==typeof _.tlds,"tlds must be true, false, or an object");const w=_.tlds.deny;if(w)return Array.isArray(w)&&(_=Object.assign({},_,{tlds:{deny:new Set(w)}})),o(_.tlds.deny instanceof Set,"tlds.deny must be an array, Set, or boolean"),o(!_.tlds.allow,"Cannot specify both tlds.allow and tlds.deny lists"),C.validateTlds(_.tlds.deny,"tlds.deny"),_;const D=_.tlds.allow;return D?!0===D?(o(C.tlds,"Built-in TLD list disabled"),Object.assign({},_,C.tlds)):(Array.isArray(D)&&(_=Object.assign({},_,{tlds:{allow:new Set(D)}})),o(_.tlds.allow instanceof Set,"tlds.allow must be an array, Set, or boolean"),C.validateTlds(_.tlds.allow,"tlds.allow"),_):_},C.validateTlds=function(_,w){for(const D of _)o(d.isValid(D,{minDomainSegments:1,maxDomainSegments:1}),`${w} must contain valid top level domain names`)},C.isoDate=function(_){if(!f.isIsoDate(_))return null;/.*T.*[+-]\d\d$/.test(_)&&(_+="00");const w=new Date(_);return isNaN(w.getTime())?null:w.toISOString()},C.length=function(_,w,D,L,N){return o(!N||!1,"Invalid encoding:",N),_.$_addRule({name:w,method:"length",args:{limit:D,encoding:N},operator:L})}},8826:(l,i,e)=>{"use strict";const o=e(375),d=e(8068),v={};v.Map=class extends Map{slice(){return new v.Map(this)}},l.exports=d.extend({type:"symbol",terms:{map:{init:new v.Map}},coerce:{method(M,{schema:p,error:E}){const S=p.$_terms.map.get(M);return S&&(M=S),p._flags.only&&"symbol"!=typeof M?{value:M,errors:E("symbol.map",{map:p.$_terms.map})}:{value:M}}},validate(M,{error:p}){if("symbol"!=typeof M)return{value:M,errors:p("symbol.base")}},rules:{map:{method(M){M&&!M[Symbol.iterator]&&"object"==typeof M&&(M=Object.entries(M)),o(M&&M[Symbol.iterator],"Iterable must be an iterable or object");const p=this.clone(),E=[];for(const S of M){o(S&&S[Symbol.iterator],"Entry must be an iterable");const[y,f]=S;o("object"!=typeof y&&"function"!=typeof y&&"symbol"!=typeof y,"Key must not be of type object, function, or Symbol"),o("symbol"==typeof f,"Value must be a Symbol"),p.$_terms.map.set(y,f),E.push(f)}return p.valid(...E)}}},manifest:{build:(M,p)=>(p.map&&(M=M.map(p.map)),M)},messages:{"symbol.base":"{{#label}} must be a symbol","symbol.map":"{{#label}} must be one of {{#map}}"}})},8863:(l,i,e)=>{"use strict";const o=e(375),d=e(8571),v=e(738),M=e(9621),p=e(8160),E=e(6354),S=e(493),y={result:Symbol("result")};i.entry=function(f,C,_){let w=p.defaults;_&&(o(void 0===_.warnings,"Cannot override warnings preference in synchronous validation"),o(void 0===_.artifacts,"Cannot override artifacts preference in synchronous validation"),w=p.preferences(p.defaults,_));const D=y.entry(f,C,w);o(!D.mainstay.externals.length,"Schema with external rules must use validateAsync()");const L={value:D.value};return D.error&&(L.error=D.error),D.mainstay.warnings.length&&(L.warning=E.details(D.mainstay.warnings)),D.mainstay.debug&&(L.debug=D.mainstay.debug),D.mainstay.artifacts&&(L.artifacts=D.mainstay.artifacts),L},i.entryAsync=function(){var f=n(function*(C,_,w){let D=p.defaults;w&&(D=p.preferences(p.defaults,w));const L=y.entry(C,_,D),N=L.mainstay;if(L.error)throw N.debug&&(L.error.debug=N.debug),L.error;if(N.externals.length){let G=L.value;const R=[];for(const k of N.externals){const A=k.state.path,H="link"===k.schema.type?N.links.get(k.schema):null;let K,ie,J=G;const be=A.length?[G]:[],ce=A.length?M(C,A):C;if(A.length){K=A[A.length-1];let Ge=G;for(const ct of A.slice(0,-1))Ge=Ge[ct],be.unshift(Ge);ie=be[0],J=ie[K]}try{const Ge=(Oe,ke)=>(H||k.schema).$_createError(Oe,J,ke,k.state,D),ct=yield k.method(J,{schema:k.schema,linked:H,state:k.state,prefs:w,original:ce,error:Ge,errorsArray:y.errorsArray,warn:(Oe,ke)=>N.warnings.push((H||k.schema).$_createError(Oe,J,ke,k.state,D)),message:(Oe,ke)=>(H||k.schema).$_createError("external",J,ke,k.state,D,{messages:Oe})});if(void 0===ct||ct===J)continue;if(ct instanceof E.Report){if(N.tracer.log(k.schema,k.state,"rule","external","error"),R.push(ct),D.abortEarly)break;continue}if(Array.isArray(ct)&&ct[p.symbols.errors]){if(N.tracer.log(k.schema,k.state,"rule","external","error"),R.push(...ct),D.abortEarly)break;continue}ie?(N.tracer.value(k.state,"rule",J,ct,"external"),ie[K]=ct):(N.tracer.value(k.state,"rule",G,ct,"external"),G=ct)}catch(Ge){throw D.errors.label&&(Ge.message+=` (${k.label})`),Ge}}if(L.value=G,R.length)throw L.error=E.process(R,C,D),N.debug&&(L.error.debug=N.debug),L.error}if(!D.warnings&&!D.debug&&!D.artifacts)return L.value;const V={value:L.value};return N.warnings.length&&(V.warning=E.details(N.warnings)),N.debug&&(V.debug=N.debug),N.artifacts&&(V.artifacts=N.artifacts),V});return function(C,_,w){return f.apply(this,arguments)}}(),y.Mainstay=class{constructor(f,C,_){this.externals=[],this.warnings=[],this.tracer=f,this.debug=C,this.links=_,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()}},y.entry=function(f,C,_){const{tracer:w,cleanup:D}=y.tracer(C,_),V=new y.Mainstay(w,_.debug?[]:null,C._ids._schemaChain?new Map:null),R=new S([],[],{mainstay:V,schemas:C._ids._schemaChain?[{schema:C}]:null}),k=i.validate(f,C,R,_);D&&C.$_root.untrace();const A=E.process(k.errors,f,_);return{value:k.value,error:A,mainstay:V}},y.tracer=function(f,C){return f.$_root._tracer?{tracer:f.$_root._tracer._register(f)}:C.debug?(o(f.$_root.trace,"Debug mode not supported"),{tracer:f.$_root.trace()._register(f),cleanup:!0}):{tracer:y.ignore}},i.validate=function(f,C,_,w,D={}){if(C.$_terms.whens&&(C=C._generate(f,_,w).schema),C._preferences&&(w=y.prefs(C,w)),C._cache&&w.cache){const A=C._cache.get(f);if(_.mainstay.tracer.debug(_,"validate","cached",!!A),A)return A}const L=(A,H,K)=>C.$_createError(A,f,H,K||_,w),N={original:f,prefs:w,schema:C,state:_,error:L,errorsArray:y.errorsArray,warn:(A,H,K)=>_.mainstay.warnings.push(L(A,H,K)),message:(A,H)=>C.$_createError("custom",f,H,_,w,{messages:A})};_.mainstay.tracer.entry(C,_);const V=C._definition;if(V.prepare&&void 0!==f&&w.convert){const A=V.prepare(f,N);if(A){if(_.mainstay.tracer.value(_,"prepare",f,A.value),A.errors)return y.finalize(A.value,[].concat(A.errors),N);f=A.value}}if(V.coerce&&void 0!==f&&w.convert&&(!V.coerce.from||V.coerce.from.includes(typeof f))){const A=V.coerce.method(f,N);if(A){if(_.mainstay.tracer.value(_,"coerced",f,A.value),A.errors)return y.finalize(A.value,[].concat(A.errors),N);f=A.value}}const G=C._flags.empty;G&&G.$_match(y.trim(f,C),_.nest(G),p.defaults)&&(_.mainstay.tracer.value(_,"empty",f,void 0),f=void 0);const R=D.presence||C._flags.presence||(C._flags._endedSwitch?null:w.presence);if(void 0===f){if("forbidden"===R)return y.finalize(f,null,N);if("required"===R)return y.finalize(f,[C.$_createError("any.required",f,null,_,w)],N);if("optional"===R){if(C._flags.default!==p.symbols.deepDefault)return y.finalize(f,null,N);_.mainstay.tracer.value(_,"default",f,{}),f={}}}else if("forbidden"===R)return y.finalize(f,[C.$_createError("any.unknown",f,null,_,w)],N);const k=[];if(C._valids){const A=C._valids.get(f,_,w,C._flags.insensitive);if(A)return w.convert&&(_.mainstay.tracer.value(_,"valids",f,A.value),f=A.value),_.mainstay.tracer.filter(C,_,"valid",A),y.finalize(f,null,N);if(C._flags.only){const H=C.$_createError("any.only",f,{valids:C._valids.values({display:!0})},_,w);if(w.abortEarly)return y.finalize(f,[H],N);k.push(H)}}if(C._invalids){const A=C._invalids.get(f,_,w,C._flags.insensitive);if(A){_.mainstay.tracer.filter(C,_,"invalid",A);const H=C.$_createError("any.invalid",f,{invalids:C._invalids.values({display:!0})},_,w);if(w.abortEarly)return y.finalize(f,[H],N);k.push(H)}}if(V.validate){const A=V.validate(f,N);if(A&&(_.mainstay.tracer.value(_,"base",f,A.value),f=A.value,A.errors)){if(!Array.isArray(A.errors))return k.push(A.errors),y.finalize(f,k,N);if(A.errors.length)return k.push(...A.errors),y.finalize(f,k,N)}}return C._rules.length?y.rules(f,k,N):y.finalize(f,k,N)},y.rules=function(f,C,_){const{schema:w,state:D,prefs:L}=_;for(const N of w._rules){const V=w._definition.rules[N.method];if(V.convert&&L.convert){D.mainstay.tracer.log(w,D,"rule",N.name,"full");continue}let G,R=N.args;if(N._resolve.length){R=Object.assign({},R);for(const A of N._resolve){const H=V.argsByName.get(A),K=R[A].resolve(f,D,L),ie=H.normalize?H.normalize(K):K,J=p.validateArg(ie,null,H);if(J){G=w.$_createError("any.ref",K,{arg:A,ref:R[A],reason:J},D,L);break}R[A]=ie}}G=G||V.validate(f,_,R,N);const k=y.rule(G,N);if(k.errors){if(D.mainstay.tracer.log(w,D,"rule",N.name,"error"),N.warn){D.mainstay.warnings.push(...k.errors);continue}if(L.abortEarly)return y.finalize(f,k.errors,_);C.push(...k.errors)}else D.mainstay.tracer.log(w,D,"rule",N.name,"pass"),D.mainstay.tracer.value(D,"rule",f,k.value,N.name),f=k.value}return y.finalize(f,C,_)},y.rule=function(f,C){return f instanceof E.Report?(y.error(f,C),{errors:[f],value:null}):Array.isArray(f)&&f[p.symbols.errors]?(f.forEach(_=>y.error(_,C)),{errors:f,value:null}):{errors:null,value:f}},y.error=function(f,C){return C.message&&f._setTemplate(C.message),f},y.finalize=function(f,C,_){C=C||[];const{schema:w,state:D,prefs:L}=_;if(C.length){const V=y.default("failover",void 0,C,_);void 0!==V&&(D.mainstay.tracer.value(D,"failover",f,V),f=V,C=[])}if(C.length&&w._flags.error)if("function"==typeof w._flags.error){C=w._flags.error(C),Array.isArray(C)||(C=[C]);for(const V of C)o(V instanceof Error||V instanceof E.Report,"error() must return an Error object")}else C=[w._flags.error];if(void 0===f){const V=y.default("default",f,C,_);D.mainstay.tracer.value(D,"default",f,V),f=V}if(w._flags.cast&&void 0!==f){const V=w._definition.cast[w._flags.cast];if(V.from(f)){const G=V.to(f,_);D.mainstay.tracer.value(D,"cast",f,G,w._flags.cast),f=G}}if(w.$_terms.externals&&L.externals&&!1!==L._externals)for(const{method:V}of w.$_terms.externals)D.mainstay.externals.push({method:V,schema:w,state:D,label:E.label(w._flags,D,L)});const N={value:f,errors:C.length?C:null};return w._flags.result&&(N.value="strip"===w._flags.result?void 0:_.original,D.mainstay.tracer.value(D,w._flags.result,f,N.value),D.shadow(f,w._flags.result)),w._cache&&!1!==L.cache&&!w._refs.length&&w._cache.set(_.original,N),void 0===f||N.errors||void 0===w._flags.artifact||(D.mainstay.artifacts=D.mainstay.artifacts||new Map,D.mainstay.artifacts.has(w._flags.artifact)||D.mainstay.artifacts.set(w._flags.artifact,[]),D.mainstay.artifacts.get(w._flags.artifact).push(D.path)),N},y.prefs=function(f,C){const _=C===p.defaults;return _&&f._preferences[p.symbols.prefs]?f._preferences[p.symbols.prefs]:(C=p.preferences(C,f._preferences),_&&(f._preferences[p.symbols.prefs]=C),C)},y.default=function(f,C,_,w){const{schema:D,state:L,prefs:N}=w,V=D._flags[f];if(N.noDefaults||void 0===V)return C;if(L.mainstay.tracer.log(D,L,"rule",f,"full"),!V)return V;if("function"==typeof V){const G=V.length?[d(L.ancestors[0]),w]:[];try{return V(...G)}catch(R){return void _.push(D.$_createError(`any.${f}`,null,{error:R},L,N))}}return"object"!=typeof V?V:V[p.symbols.literal]?V.literal:p.isResolvable(V)?V.resolve(C,L,N):d(V)},y.trim=function(f,C){if("string"!=typeof f)return f;const _=C.$_getRule("trim");return _&&_.args.enabled?f.trim():f},y.ignore={active:!1,debug:v,entry:v,filter:v,log:v,resolve:v,value:v},y.errorsArray=function(){const f=[];return f[p.symbols.errors]=!0,f}},2036:(l,i,e)=>{"use strict";const o=e(375),d=e(9474),v=e(8160),M={};l.exports=M.Values=class{constructor(p,E){this._values=new Set(p),this._refs=new Set(E),this._lowercase=M.lowercases(p),this._override=!1}get length(){return this._values.size+this._refs.size}add(p,E){v.isResolvable(p)?this._refs.has(p)||(this._refs.add(p),E&&E.register(p)):this.has(p,null,null,!1)||(this._values.add(p),"string"==typeof p&&this._lowercase.set(p.toLowerCase(),p))}static merge(p,E,S){if(p=p||new M.Values,E){if(E._override)return E.clone();for(const y of[...E._values,...E._refs])p.add(y)}if(S)for(const y of[...S._values,...S._refs])p.remove(y);return p.length?p:null}remove(p){v.isResolvable(p)?this._refs.delete(p):(this._values.delete(p),"string"==typeof p&&this._lowercase.delete(p.toLowerCase()))}has(p,E,S,y){return!!this.get(p,E,S,y)}get(p,E,S,y){if(!this.length)return!1;if(this._values.has(p))return{value:p};if("string"==typeof p&&p&&y){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(d(f,p))return{value:f};if(E)for(const f of this._refs){const C=f.resolve(p,E,S,null,{in:!0});if(void 0===C)continue;const _=f.in&&"object"==typeof C?Array.isArray(C)?C:Object.keys(C):[C];for(const w of _)if(typeof w==typeof p)if(y&&p&&"string"==typeof p){if(w.toLowerCase()===p.toLowerCase())return{value:w,ref:f}}else if(d(w,p))return{value:w,ref:f}}return!1}override(){this._override=!0}values(p){if(p&&p.display){const E=[];for(const S of[...this._values,...this._refs])void 0!==S&&E.push(S);return E}return Array.from([...this._values,...this._refs])}clone(){const p=new M.Values(this._values,this._refs);return p._override=this._override,p}concat(p){o(!p._override,"Cannot concat override set of values");const E=new M.Values([...this._values,...p._values],[...this._refs,...p._refs]);return E._override=this._override,E}describe(){const p=[];this._override&&p.push({override:!0});for(const E of this._values.values())p.push(E&&"object"==typeof E?{value:E}:E);for(const E of this._refs.values())p.push(E.describe());return p}},M.Values.prototype[v.symbols.values]=!0,M.Values.prototype.slice=M.Values.prototype.clone,M.lowercases=function(p){const E=new Map;if(p)for(const S of p)"string"==typeof S&&E.set(S.toLowerCase(),S);return E}},978:(l,i,e)=>{"use strict";const o=e(375),d=e(8571),v=e(1687),M=e(9621),p={};l.exports=function(E,S,y={}){if(o(E&&"object"==typeof E,"Invalid defaults value: must be an object"),o(!S||!0===S||"object"==typeof S,"Invalid source value: must be true, falsy or an object"),o("object"==typeof y,"Invalid options: must be an object"),!S)return null;if(y.shallow)return p.applyToDefaultsWithShallow(E,S,y);const f=d(E);return!0===S?f:v(f,S,{nullOverride:void 0!==y.nullOverride&&y.nullOverride,mergeArrays:!1})},p.applyToDefaultsWithShallow=function(E,S,y){const f=y.shallow;o(Array.isArray(f),"Invalid keys");const C=new Map,_=!0===S?null:new Set;for(let L of f){L=Array.isArray(L)?L:L.split(".");const N=M(E,L);N&&"object"==typeof N?C.set(N,_&&M(S,L)||N):_&&_.add(L)}const w=d(E,{},C);if(!_)return w;for(const L of _)p.reachCopy(w,S,L);return v(w,S,{nullOverride:void 0!==y.nullOverride&&y.nullOverride,mergeArrays:!1})},p.reachCopy=function(E,S,y){for(const _ of y){if(!(_ in S))return;const w=S[_];if("object"!=typeof w||null===w)return;S=w}const f=S;let C=E;for(let _=0;_{"use strict";const o=e(7916);l.exports=function(d,...v){if(!d)throw 1===v.length&&v[0]instanceof Error?v[0]:new o(v)}},8571:(l,i,e)=>{"use strict";const o=e(9621),d=e(4277),v=e(7043),M={needsProtoHack:new Set([d.set,d.map,d.weakSet,d.weakMap])};l.exports=M.clone=function(p,E={},S=null){if("object"!=typeof p||null===p)return p;let y=M.clone,f=S;if(E.shallow){if(!0!==E.shallow)return M.cloneWithShallow(p,E);y=D=>D}else if(f){const D=f.get(p);if(D)return D}else f=new Map;const C=d.getInternalProto(p);if(C===d.buffer)return!1;if(C===d.date)return new Date(p.getTime());if(C===d.regex)return new RegExp(p);const _=M.base(p,C,E);if(_===p)return p;if(f&&f.set(p,_),C===d.set)for(const D of p)_.add(y(D,E,f));else if(C===d.map)for(const[D,L]of p)_.set(D,y(L,E,f));const w=v.keys(p,E);for(const D of w){if("__proto__"===D)continue;if(C===d.array&&"length"===D){_.length=p.length;continue}const L=Object.getOwnPropertyDescriptor(p,D);L?L.get||L.set?Object.defineProperty(_,D,L):L.enumerable?_[D]=y(p[D],E,f):Object.defineProperty(_,D,{enumerable:!1,writable:!0,configurable:!0,value:y(p[D],E,f)}):Object.defineProperty(_,D,{enumerable:!0,writable:!0,configurable:!0,value:y(p[D],E,f)})}return _},M.cloneWithShallow=function(p,E){const S=E.shallow;(E=Object.assign({},E)).shallow=!1;const y=new Map;for(const f of S){const C=o(p,f);"object"!=typeof C&&"function"!=typeof C||y.set(C,C)}return M.clone(p,E,y)},M.base=function(p,E,S){if(!1===S.prototype)return M.needsProtoHack.has(E)?new E.constructor:E===d.array?[]:{};const y=Object.getPrototypeOf(p);if(y&&y.isImmutable)return p;if(E===d.array){const f=[];return y!==E&&Object.setPrototypeOf(f,y),f}if(M.needsProtoHack.has(E)){const f=new y.constructor;return y!==E&&Object.setPrototypeOf(f,y),f}return Object.create(y)}},9474:(l,i,e)=>{"use strict";const o=e(4277),d={mismatched:null};l.exports=function(v,M,p){return p=Object.assign({prototype:!0},p),!!d.isDeepEqual(v,M,p,[])},d.isDeepEqual=function(v,M,p,E){if(v===M)return 0!==v||1/v==1/M;const S=typeof v;if(S!==typeof M||null===v||null===M)return!1;if("function"===S){if(!p.deepFunction||v.toString()!==M.toString())return!1}else if("object"!==S)return v!=v&&M!=M;const y=d.getSharedType(v,M,!!p.prototype);switch(y){case o.buffer:return!1;case o.promise:return v===M;case o.regex:return v.toString()===M.toString();case d.mismatched:return!1}for(let f=E.length-1;f>=0;--f)if(E[f].isSame(v,M))return!0;E.push(new d.SeenEntry(v,M));try{return!!d.isDeepEqualObj(y,v,M,p,E)}finally{E.pop()}},d.getSharedType=function(v,M,p){if(p)return Object.getPrototypeOf(v)!==Object.getPrototypeOf(M)?d.mismatched:o.getInternalProto(v);const E=o.getInternalProto(v);return E!==o.getInternalProto(M)?d.mismatched:E},d.valueOf=function(v){const M=v.valueOf;if(void 0===M)return v;try{return M.call(v)}catch(p){return p}},d.hasOwnEnumerableProperty=function(v,M){return Object.prototype.propertyIsEnumerable.call(v,M)},d.isSetSimpleEqual=function(v,M){for(const p of Set.prototype.values.call(v))if(!Set.prototype.has.call(M,p))return!1;return!0},d.isDeepEqualObj=function(v,M,p,E,S){const{isDeepEqual:y,valueOf:f,hasOwnEnumerableProperty:C}=d,{keys:_,getOwnPropertySymbols:w}=Object;if(v===o.array){if(!E.part){if(M.length!==p.length)return!1;for(let G=0;G{"use strict";const o=e(8761);l.exports=class extends Error{constructor(d){super(d.filter(v=>""!==v).map(v=>"string"==typeof v?v:v instanceof Error?v.message:o(v)).join(" ")||"Unknown error"),"function"==typeof Error.captureStackTrace&&Error.captureStackTrace(this,i.assert)}}},5277:l=>{"use strict";const i={};l.exports=function(e){if(!e)return"";let o="";for(let d=0;d=256?"&#"+e+";":`&#x${e.toString(16).padStart(2,"0")};`)},i.isSafe=function(e){return i.safeCharCodes.has(e)},i.namedHtml=new Map([[38,"&"],[60,"<"],[62,">"],[34,"""],[160," "],[162,"¢"],[163,"£"],[164,"¤"],[169,"©"],[174,"®"]]),i.safeCharCodes=function(){const e=new Set;for(let o=32;o<123;++o)(o>=97||o>=65&&o<=90||o>=48&&o<=57||32===o||46===o||44===o||45===o||58===o||95===o)&&e.add(o);return e}()},6064:l=>{"use strict";l.exports=function(i){return i.replace(/[\^\$\.\*\+\-\?\=\!\:\|\\\/\(\)\[\]\{\}\,]/g,"\\$&")}},738:l=>{"use strict";l.exports=function(){}},1687:(l,i,e)=>{"use strict";const o=e(375),d=e(8571),v=e(7043),M={};l.exports=M.merge=function(p,E,S){if(o(p&&"object"==typeof p,"Invalid target value: must be an object"),o(null==E||"object"==typeof E,"Invalid source value: must be null, undefined, or an object"),!E)return p;if(S=Object.assign({nullOverride:!0,mergeArrays:!0},S),Array.isArray(E)){o(Array.isArray(p),"Cannot merge array onto an object"),S.mergeArrays||(p.length=0);for(let f=0;f{"use strict";const o=e(375),d={};l.exports=function(v,M,p){if(!1===M||null==M)return v;"string"==typeof(p=p||{})&&(p={separator:p});const E=Array.isArray(M);o(!E||!p.separator,"Separator option is not valid for array-based chain");const S=E?M:M.split(p.separator||".");let y=v;for(let f=0;f{"use strict";l.exports=function(...i){try{return JSON.stringify(...i)}catch(e){return"[Cannot display object: "+e.message+"]"}}},4277:(l,i)=>{"use strict";const e={};i=l.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]",i.error],["[object Map]",i.map],["[object Promise]",i.promise],["[object Set]",i.set],["[object WeakMap]",i.weakMap],["[object WeakSet]",i.weakSet]]),i.getInternalProto=function(o){if(Array.isArray(o))return i.array;if(o instanceof Date)return i.date;if(o instanceof RegExp)return i.regex;if(o instanceof Error)return i.error;const d=Object.prototype.toString.call(o);return e.typeMap.get(d)||i.generic}},7043:(l,i)=>{"use strict";i.keys=function(e,o={}){return!1!==o.symbols?Reflect.ownKeys(e):Object.getOwnPropertyNames(e)}},3652:(l,i,e)=>{"use strict";const o=e(375),d={};i.Sorter=class{constructor(){this._items=[],this.nodes=[]}add(v,M){const p=[].concat((M=M||{}).before||[]),E=[].concat(M.after||[]),S=M.group||"?",y=M.sort||0;o(!p.includes(S),`Item cannot come before itself: ${S}`),o(!p.includes("?"),"Item cannot come before unassociated items"),o(!E.includes(S),`Item cannot come after itself: ${S}`),o(!E.includes("?"),"Item cannot come after unassociated items"),Array.isArray(v)||(v=[v]);for(const f of v)this._items.push({seq:this._items.length,sort:y,before:p,after:E,group:S,node:f});if(!M.manual){const f=this._sort();o(f,"item","?"!==S?`added into group ${S}`:"","created a dependencies error")}return this.nodes}merge(v){Array.isArray(v)||(v=[v]);for(const p of v)if(p)for(const E of p._items)this._items.push(Object.assign({},E));this._items.sort(d.mergeSort);for(let p=0;pv.sort===M.sort?0:v.sort{"use strict";const o=e(443),d=e(2178),v={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:o.URL||URL};i.analyze=function(M,p={}){if(!M)return d.code("DOMAIN_NON_EMPTY_STRING");if("string"!=typeof M)throw new Error("Invalid input: domain must be a string");if(M.length>256)return d.code("DOMAIN_TOO_LONG");if(v.nonAsciiRx.test(M)){if(!1===p.allowUnicode)return d.code("DOMAIN_INVALID_UNICODE_CHARS");M=M.normalize("NFC")}if(v.domainControlRx.test(M))return d.code("DOMAIN_INVALID_CHARS");M=v.punycode(M),p.allowFullyQualified&&"."===M[M.length-1]&&(M=M.slice(0,-1));const E=p.minDomainSegments||v.minDomainSegments,S=M.split(".");if(S.lengthp.maxDomainSegments)return d.code("DOMAIN_SEGMENTS_COUNT_MAX");const y=p.tlds;if(y){const f=S[S.length-1].toLowerCase();if(y.deny&&y.deny.has(f)||y.allow&&!y.allow.has(f))return d.code("DOMAIN_FORBIDDEN_TLDS")}for(let f=0;f63)return d.code("DOMAIN_LONG_SEGMENT");if(f{"use strict";const o=e(9848),d=e(5380),v=e(2178),M={nonAsciiRx:/[^\x00-\x7f]/,encoder:new(o.TextEncoder||TextEncoder)};i.analyze=function(p,E){return M.email(p,E)},i.isValid=function(p,E){return!M.email(p,E)},M.email=function(p,E={}){if("string"!=typeof p)throw new Error("Invalid input: email must be a string");if(!p)return v.code("EMPTY_STRING");const S=!M.nonAsciiRx.test(p);if(!S){if(!1===E.allowUnicode)return v.code("FORBIDDEN_UNICODE");p=p.normalize("NFC")}const y=p.split("@");if(2!==y.length)return v.code(y.length>2?"MULTIPLE_AT_CHAR":"MISSING_AT_CHAR");const[f,C]=y;if(!f)return v.code("EMPTY_LOCAL");if(!E.ignoreLength){if(p.length>254)return v.code("ADDRESS_TOO_LONG");if(M.encoder.encode(f).length>64)return v.code("LOCAL_TOO_LONG")}return M.local(f,S)||d.analyze(C,E)},M.local=function(p,E){const S=p.split(".");for(const y of S){if(!y.length)return v.code("EMPTY_LOCAL_SEGMENT");if(E){if(!M.atextRx.test(y))return v.code("INVALID_LOCAL_CHARS")}else for(const f of y){if(M.atextRx.test(f))continue;const C=M.binary(f);if(!M.atomRx.test(C))return v.code("INVALID_LOCAL_CHARS")}}},M.binary=function(p){return Array.from(M.encoder.encode(p)).map(E=>String.fromCharCode(E)).join("")},M.atextRx=/^[\w!#\$%&'\*\+\-/=\?\^`\{\|\}~]+$/,M.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:(l,i)=>{"use strict";i.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"},i.code=function(e){return{code:e,error:i.codes[e]}}},9959:(l,i,e)=>{"use strict";const o=e(375),d=e(5752);i.regex=function(v={}){o(void 0===v.cidr||"string"==typeof v.cidr,"options.cidr must be a string");const M=v.cidr?v.cidr.toLowerCase():"optional";o(["required","optional","forbidden"].includes(M),"options.cidr must be one of required, optional, forbidden"),o(void 0===v.version||"string"==typeof v.version||Array.isArray(v.version),"options.version must be a string or an array of string");let p=v.version||["ipv4","ipv6","ipvfuture"];Array.isArray(p)||(p=[p]),o(p.length>=1,"options.version must have at least 1 version specified");for(let y=0;y{if("forbidden"===M)return d.ip[y];const f=`\\/${"ipv4"===y?d.ip.v4Cidr:d.ip.v6Cidr}`;return"required"===M?`${d.ip[y]}${f}`:`${d.ip[y]}(?:${f})?`}).join("|")})`,S=new RegExp(`^${E}$`);return{cidr:M,versions:p,regex:S,raw:E}}},5752:(l,i,e)=>{"use strict";const o=e(375),d=e(6064),v={generate:function(){const M={},p="\\dA-Fa-f",E="["+p+"]",S="\\w-\\.~",y="!\\$&'\\(\\)\\*\\+,;=",f="%"+p,C=S+f+y+":@",_="["+C+"]",w="(?:0{0,2}\\d|0?[1-9]\\d|1\\d\\d|2[0-4]\\d|25[0-5])";M.ipv4address="(?:"+w+"\\.){3}"+w;const D=E+"{1,4}",L="(?:"+D+":"+D+"|"+M.ipv4address+")",N="(?:"+D+":){6}"+L,V="::(?:"+D+":){5}"+L,G="(?:"+D+")?::(?:"+D+":){4}"+L,R="(?:(?:"+D+":){0,1}"+D+")?::(?:"+D+":){3}"+L,k="(?:(?:"+D+":){0,2}"+D+")?::(?:"+D+":){2}"+L,A="(?:(?:"+D+":){0,3}"+D+")?::"+D+":"+L,H="(?:(?:"+D+":){0,4}"+D+")?::"+L,K="(?:(?:"+D+":){0,5}"+D+")?::"+D,ie="(?:(?:"+D+":){0,6}"+D+")?::";M.ipv4Cidr="(?:\\d|[1-2]\\d|3[0-2])",M.ipv6Cidr="(?:0{0,2}\\d|0?[1-9]\\d|1[01]\\d|12[0-8])",M.ipv6address="(?:"+N+"|"+V+"|"+G+"|"+R+"|"+k+"|"+A+"|"+H+"|"+K+"|"+ie+")",M.ipvFuture="v"+E+"+\\.["+S+y+":]+",M.scheme="[a-zA-Z][a-zA-Z\\d+-\\.]*",M.schemeRegex=new RegExp(M.scheme);const J="["+S+f+y+":]*",ce="(?:\\[(?:"+M.ipv6address+"|"+M.ipvFuture+")\\]|"+M.ipv4address+"|["+S+f+y+"]{1,255})",Ge="(?:"+J+"@)?"+ce+"(?::\\d*)?",ct="(?:"+J+"@)?("+ce+")(?::\\d*)?",Oe=_+"*",ke=_+"+",Re="(?:\\/"+Oe+")*",Qe="\\/(?:"+ke+Re+")?",$e=ke+Re,Be="["+S+f+y+"@]+"+Re;return M.hierPart="(?:(?:\\/\\/"+Ge+Re+")|"+Qe+"|"+$e+"|(?:\\/\\/\\/"+Oe+Re+"))",M.hierPartCapture="(?:(?:\\/\\/"+ct+Re+")|"+Qe+"|"+$e+")",M.relativeRef="(?:(?:\\/\\/"+Ge+Re+")|"+Qe+"|"+Be+"|)",M.relativeRefCapture="(?:(?:\\/\\/"+ct+Re+")|"+Qe+"|"+Be+"|)",M.query="["+C+"\\/\\?]*(?=#|$)",M.queryWithSquareBrackets="["+C+"\\[\\]\\/\\?]*(?=#|$)",M.fragment="["+C+"\\/\\?]*",M}};v.rfc3986=v.generate(),i.ip={v4Cidr:v.rfc3986.ipv4Cidr,v6Cidr:v.rfc3986.ipv6Cidr,ipv4:v.rfc3986.ipv4address,ipv6:v.rfc3986.ipv6address,ipvfuture:v.rfc3986.ipvFuture},v.createRegex=function(M){const p=v.rfc3986,E="(?:\\?"+(M.allowQuerySquareBrackets?p.queryWithSquareBrackets:p.query)+")?(?:#"+p.fragment+")?",S=M.domain?p.relativeRefCapture:p.relativeRef;if(M.relativeOnly)return v.wrap(S+E);let y="";if(M.scheme){o(M.scheme instanceof RegExp||"string"==typeof M.scheme||Array.isArray(M.scheme),"scheme must be a RegExp, String, or Array");const _=[].concat(M.scheme);o(_.length>=1,"scheme must have at least 1 scheme specified");const w=[];for(let D=0;D<_.length;++D){const L=_[D];o(L instanceof RegExp||"string"==typeof L,"scheme at position "+D+" must be a RegExp or String"),L instanceof RegExp?w.push(L.source.toString()):(o(p.schemeRegex.test(L),"scheme at position "+D+" must be a valid scheme"),w.push(d(L)))}y=w.join("|")}const f="(?:"+(y?"(?:"+y+")":p.scheme)+":"+(M.domain?p.hierPartCapture:p.hierPart)+")";return v.wrap((M.allowRelative?"(?:"+f+"|"+S+")":f)+E,y)},v.wrap=function(M,p){return{raw:M=`(?=.)(?!https?:/(?:$|[^/]))(?!https?:///)(?!https?:[^/])${M}`,regex:new RegExp(`^${M}$`),scheme:p}},v.uriRegex=v.createRegex({}),i.regex=function(M={}){return M.scheme||M.allowRelative||M.relativeOnly||M.allowQuerySquareBrackets||M.domain?v.createRegex(M):v.uriRegex}},1447:(l,i)=>{"use strict";const e={operators:["!","^","*","/","%","+","-","<","<=",">",">=","==","!=","&&","||","??"],operatorCharacters:["!","^","*","/","%","+","-","<","=",">","&","|","?"],operatorsOrder:[["^"],["*","/","%"],["+","-"],["<","<=",">",">="],["==","!="],["&&"],["||","??"]],operatorsPrefix:["!","n"],literals:{'"':'"',"`":"`","'":"'","[":"]"},numberRx:/^(?:[0-9]*(\.[0-9]*)?){1}$/,tokenRx:/^[\w\$\#\.\@\:\{\}]+$/,symbol:Symbol("formula"),settings:Symbol("settings")};i.Parser=class{constructor(o,d={}){if(!d[e.settings]&&d.constants)for(const v in d.constants){const M=d.constants[v];if(null!==M&&!["boolean","number","string"].includes(typeof M))throw new Error(`Formula constant ${v} contains invalid ${typeof M} value type`)}this.settings=d[e.settings]?d:Object.assign({[e.settings]:!0,constants:{},functions:{}},d),this.single=null,this._parts=null,this._parse(o)}_parse(o){let d=[],v="",M=0,p=!1;const E=y=>{if(M)throw new Error("Formula missing closing parenthesis");const f=d.length?d[d.length-1]:null;if(p||v||y){if(f&&"reference"===f.type&&")"===y)return f.type="function",f.value=this._subFormula(v,f.value),void(v="");if(")"===y){const C=new i.Parser(v,this.settings);d.push({type:"segment",value:C})}else if(p){if("]"===p)return d.push({type:"reference",value:v}),void(v="");d.push({type:"literal",value:v})}else if(e.operatorCharacters.includes(v))f&&"operator"===f.type&&e.operators.includes(f.value+v)?f.value+=v:d.push({type:"operator",value:v});else if(v.match(e.numberRx))d.push({type:"constant",value:parseFloat(v)});else if(void 0!==this.settings.constants[v])d.push({type:"constant",value:this.settings.constants[v]});else{if(!v.match(e.tokenRx))throw new Error(`Formula contains invalid token: ${v}`);d.push({type:"reference",value:v})}v=""}};for(const y of o)p?y===p?(E(),p=!1):v+=y:M?"("===y?(v+=y,++M):")"===y?(--M,M?v+=y:E(y)):v+=y:y in e.literals?p=e.literals[y]:"("===y?(E(),++M):e.operatorCharacters.includes(y)?(E(),v=y,E()):" "!==y?v+=y:E();E(),d=d.map((y,f)=>"operator"!==y.type||"-"!==y.value||f&&"operator"!==d[f-1].type?y:{type:"operator",value:"n"});let S=!1;for(const y of d){if("operator"===y.type){if(e.operatorsPrefix.includes(y.value))continue;if(!S)throw new Error("Formula contains an operator in invalid position");if(!e.operators.includes(y.value))throw new Error(`Formula contains an unknown operator ${y.value}`)}else if(S)throw new Error("Formula missing expected operator");S=!S}if(!S)throw new Error("Formula contains invalid trailing operator");1===d.length&&["reference","literal","constant"].includes(d[0].type)&&(this.single={type:"reference"===d[0].type?"reference":"value",value:d[0].value}),this._parts=d.map(y=>{if("operator"===y.type)return e.operatorsPrefix.includes(y.value)?y:y.value;if("reference"!==y.type)return y.value;if(this.settings.tokenRx&&!this.settings.tokenRx.test(y.value))throw new Error(`Formula contains invalid reference ${y.value}`);return this.settings.reference?this.settings.reference(y.value):e.reference(y.value)})}_subFormula(o,d){const v=this.settings.functions[d];if("function"!=typeof v)throw new Error(`Formula contains unknown function ${d}`);let M=[];if(o){let p="",E=0,S=!1;const y=()=>{if(!p)throw new Error(`Formula contains function ${d} with invalid arguments ${o}`);M.push(p),p=""};for(let f=0;fnew i.Parser(p,this.settings)),function(p){const E=[];for(const S of M)E.push(S.evaluate(p));return v.call(p,...E)}}evaluate(o){const d=this._parts.slice();for(let v=d.length-2;v>=0;--v){const M=d[v];if(M&&"operator"===M.type){const p=d[v+1];d.splice(v+1,1);const E=e.evaluate(p,o);d[v]=e.single(M.value,E)}}return e.operatorsOrder.forEach(v=>{for(let M=1;M":return d>v;case">=":return d>=v;case"==":return d===v;case"!=":return d!==v;case"&&":return d&&v;case"||":return d||v}return null},e.exists=function(o){return null!=o}},9926:()=>{},5688:()=>{},9708:()=>{},1152:()=>{},443:()=>{},9848:()=>{},5934:l=>{"use strict";l.exports=JSON.parse('{"version":"17.12.2"}')}},u={},function l(i){var e=u[i];if(void 0!==e)return e.exports;var o=u[i]={exports:{}};return c[i](o,o.exports,l),o.exports}(5107))},94091:function(pe,m,s){var n,c,u,l,i;l=this,i=function(l){var i=!1,e=!1,o=!1,d=!1,v="escape years months weeks days hours minutes seconds milliseconds general".split(" "),M=[{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(re,we){return!(we.length>re.length)&&-1!==re.indexOf(we)}function E(re){for(var we="";re;)we+="0",re-=1;return we}function y(re,we){var tt=re+"+"+k(Ge(we).sort(),function(wt){return wt+":"+we[wt]}).join(",");return y.cache[tt]||(y.cache[tt]=Intl.NumberFormat(re,we)),y.cache[tt]}function f(re,we,rt){var tt=we.useToLocaleString,wt=we.useGrouping,ye=wt&&we.grouping.slice(),Te=we.maximumSignificantDigits,ht=we.minimumIntegerDigits||1,Ft=we.fractionDigits||0,nn=we.groupingSeparator,Yt=we.decimalSeparator;if(tt&&rt){var Mn,Zt={minimumIntegerDigits:ht,useGrouping:wt};return Ft&&(Zt.maximumFractionDigits=Ft,Zt.minimumFractionDigits=Ft),Te&&re>0&&(Zt.maximumSignificantDigits=Te),o?(d||((Mn=ce({},we)).useGrouping=!1,Mn.decimalSeparator=".",re=parseFloat(f(re,Mn),10)),y(rt,Zt).format(re)):(e||((Mn=ce({},we)).useGrouping=!1,Mn.decimalSeparator=".",re=parseFloat(f(re,Mn),10)),re.toLocaleString(rt,Zt))}var zt,Hn,kn,ln=(Te?re.toPrecision(Te+1):re.toFixed(Ft+1)).split("e");kn=ln[1]||"";var ft=(zt=(ln=ln[0].split("."))[0]||"").length,Pe=(Hn=ln[1]||"").length,le=ft+Pe,he=zt+Hn;(Te&&le===Te+1||!Te&&Pe===Ft+1)&&(he=function S(re){for(var we=re.split("").reverse(),rt=0,tt=!0;tt&&rt0?Hn.length<=We?(zt+=Hn+=E(We-Hn.length),Hn=""):(zt+=Hn.slice(0,We),Hn=Hn.slice(We)):We<0&&(Hn=E(Math.abs(We)-zt.length)+zt+Hn,zt="0"),Te||((Hn=Hn.slice(0,Ft)).lengthwe.label.length?-1:re.label.length0,Gt=gt?we.precision:0,dn=Gt,$n=we.minValue,tr=!1,br=we.maxValue,or=!1,fi=we.useToLocaleString,Cr=we.groupingSeparator,jr=we.decimalSeparator,Yn=we.grouping;fi=fi&&(i||o);var It=we.trim;L(It)&&(It=It.join(" ")),null===It&&(zt||br||gt)&&(It="all"),(null===It||!0===It||"left"===It||"right"===It)&&(It="large"),!1===It&&(It="");var en=function(rn){return rn.test(It)},Nt=/both/,vt=/^all|[^sm]all/,an=zt>0||ct([/large/,Nt,vt],en),Ln=ct([/small/,Nt,vt],en),Vt=ct([/mid/,vt],en),Sn=ct([/final/,vt],en),xe=k(Zt.match(Yt),function(rn,Vn){var qn=nn(rn);return"*"===rn.slice(0,1)&&(rn=rn.slice(1),"escape"!==qn&&"general"!==qn&&Hn.push(qn)),{index:Vn,length:rn.length,text:"",token:"escape"===qn?rn.replace(Ft.escape,"$1"):rn,type:"escape"===qn||"general"===qn?null:qn}}),_t={index:0,length:0,token:"",text:"",type:null},Pt=[];ft&&xe.reverse(),R(xe,function(rn){if(rn.type)return(_t.type||_t.text)&&Pt.push(_t),void(_t=rn);ft?_t.text=rn.token+_t.text:_t.text+=rn.token}),(_t.type||_t.text)&&Pt.push(_t),ft&&Pt.reverse();var jt=ie(v,K(H(A(Pt,"type"))));if(!jt.length)return A(Pt,"text").join("");jt=k(jt,function(rn,Vn){var ii,qn=Vn+1===jt.length,dr=!Vn;ii="years"===rn||"months"===rn?Te.as(rn):ye.as(rn);var Fr=Math.floor(ii),at=ii-Fr,xt=G(Pt,function(Dt){return rn===Dt.type});return dr&&br&&ii>br&&(or=!0),qn&&$n&&Math.abs(we.duration.as(rn))<$n&&(tr=!0),dr&&null===he&&xt.length>1&&(he=!0),ye.subtract(Fr,rn),Te.subtract(Fr,rn),{rawValue:ii,wholeValue:Fr,decimalValue:qn?at:0,isSmallest:qn,isLargest:dr,type:rn,tokenLength:xt.length}});var ar=ze?Math.floor:Math.round,ur=function(rn,Vn){var qn=Math.pow(10,Vn);return ar(rn*qn)/qn},Tr=!1,lr=!1,nr=function(rn,Vn){var qn={useGrouping:We,groupingSeparator:Cr,decimalSeparator:jr,grouping:Yn,useToLocaleString:fi};return gt&&(Gt<=0?(rn.rawValue=0,rn.wholeValue=0,rn.decimalValue=0):(qn.maximumSignificantDigits=Gt,rn.significantDigits=Gt)),or&&!lr&&(rn.isLargest?(rn.wholeValue=br,rn.decimalValue=0):(rn.wholeValue=0,rn.decimalValue=0)),tr&&!lr&&(rn.isSmallest?(rn.wholeValue=$n,rn.decimalValue=0):(rn.wholeValue=0,rn.decimalValue=0)),rn.isSmallest||rn.significantDigits&&rn.significantDigits-rn.wholeValue.toString().length<=0?le<0?rn.value=ur(rn.wholeValue,le):0===le?rn.value=ar(rn.wholeValue+rn.decimalValue):gt?(rn.value=ze?ur(rn.rawValue,Gt-rn.wholeValue.toString().length):rn.rawValue,rn.wholeValue&&(Gt-=rn.wholeValue.toString().length)):(qn.fractionDigits=le,rn.value=ze?rn.wholeValue+ur(rn.decimalValue,le):rn.wholeValue+rn.decimalValue):gt&&rn.wholeValue?(rn.value=Math.round(ur(rn.wholeValue,rn.significantDigits-rn.wholeValue.toString().length)),Gt-=rn.wholeValue.toString().length):rn.value=rn.wholeValue,rn.tokenLength>1&&(he||Tr)&&(qn.minimumIntegerDigits=rn.tokenLength,lr&&qn.maximumSignificantDigits0||""===It||G(Hn,rn.type)||G(Mn,rn.type))&&(Tr=!0),rn.formattedValue=f(rn.value,qn,ln),qn.useGrouping=!1,qn.decimalSeparator=".",rn.formattedValueEn=f(rn.value,qn,"en"),2===rn.tokenLength&&"milliseconds"===rn.type&&(rn.formattedValueMS=f(rn.value,{minimumIntegerDigits:3,useGrouping:!1},"en").slice(0,2)),rn};if((jt=H(jt=k(jt,nr))).length>1){var Nr=function(rn){return G(jt,function(Vn){return Vn.type===rn})};R(M,function(rn){var Vn=Nr(rn.type);Vn&&R(rn.targets,function(qn){var dr=Nr(qn.type);dr&&parseInt(Vn.formattedValueEn,10)===qn.value&&(Vn.rawValue=0,Vn.wholeValue=0,Vn.decimalValue=0,dr.rawValue+=1,dr.wholeValue+=1,dr.decimalValue=0,dr.formattedValueEn=dr.wholeValue.toString(),lr=!0)})})}return lr&&(Tr=!1,Gt=dn,jt=H(jt=k(jt,nr))),!Mn||or&&!we.trim?(an&&(jt=J(jt,function(rn){return!rn.isSmallest&&!rn.wholeValue&&!G(Hn,rn.type)})),zt&&jt.length&&(jt=jt.slice(0,zt)),Ln&&jt.length>1&&(jt=function be(re,we){return J(re.slice().reverse(),we).reverse()}(jt,function(rn){return!rn.wholeValue&&!G(Hn,rn.type)&&!rn.isLargest})),Vt&&(jt=H(jt=k(jt,function(rn,Vn){return Vn>0&&Vn ",or=!1,tr=!1),wt&&(Vn.value>0||""===It||G(Hn,Vn.type)||G(Mn,Vn.type))&&(qn+="-",wt=!1),qn+="milliseconds"===rn.type&&Vn.formattedValueMS?Vn.formattedValueMS:Vn.formattedValue,ft||(qn+=rn.text),qn})).join("").replace(/(,| |:|\.)*$/,"").replace(/^(,| |:|\.)*/,""))}function _e(){var re=this.duration,we=function(ye){return re._data[ye]},rt=G(this.types,we),tt=function V(re,we){for(var rt=re.length;rt-=1;)if(we(re[rt]))return re[rt]}(this.types,we);switch(rt){case"milliseconds":return"S __";case"seconds":case"minutes":return"*_MS_";case"hours":return"_HMS_";case"days":if(rt===tt)return"d __";case"weeks":return rt===tt?"w __":(null===this.trim&&(this.trim="both"),"w __, d __, h __");case"months":if(rt===tt)return"M __";case"years":return rt===tt?"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(re){if(!re)throw"Moment Duration Format init cannot find moment instance.";re.duration.format=$e,re.duration.fn.format=Be,re.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:_e,useToLocaleString:!0,groupingSeparator:",",decimalSeparator:".",grouping:[3]},re.updateLocale("en",D)}var Se=function(re,we,rt){return re.toLocaleString(we,rt)};i=function ke(){try{(0).toLocaleString("i")}catch(we){return"RangeError"===we.name}return!1}()&&Qe(Se),e=i&&Re(Se);var je=function(re,we,rt){if(typeof window<"u"&&window&&window.Intl&&window.Intl.NumberFormat)return window.Intl.NumberFormat(we,rt).format(re)};return o=Qe(je),d=o&&Re(je),Me(l),Me},c=[s(35908)],void 0!==(u="function"==typeof(n=i)?n.apply(m,c):n)&&(pe.exports=u),l&&(l.momentDurationFormatSetup=l.moment?i(l.moment):i)},25140:function(pe,m,s){!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(u){return/^nm$/i.test(u)},meridiem:function(u,l,i){return u<12?i?"vm":"VM":i?"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(u){return u+(1===u||8===u||u>=20?"ste":"de")},week:{dow:1,doy:4}})}(s(35908))},17096:function(pe,m,s){!function(n){"use strict";var c=function(o){return 0===o?0:1===o?1:2===o?2:o%100>=3&&o%100<=10?3:o%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"]},l=function(o){return function(d,v,M,p){var E=c(d),S=u[o][c(d)];return 2===E&&(S=S[v?0:1]),S.replace(/%d/i,d)}},i=["\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:i,monthsShort:i,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(o){return"\u0645"===o},meridiem:function(o,d,v){return o<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:l("s"),ss:l("s"),m:l("m"),mm:l("m"),h:l("h"),hh:l("h"),d:l("d"),dd:l("d"),M:l("M"),MM:l("M"),y:l("y"),yy:l("y")},postformat:function(o){return o.replace(/,/g,"\u060c")},week:{dow:0,doy:4}})}(s(35908))},32200:function(pe,m,s){!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}})}(s(35908))},97252:function(pe,m,s){!function(n){"use strict";var c={1:"1",2:"2",3:"3",4:"4",5:"5",6:"6",7:"7",8:"8",9:"9",0:"0"},u=function(d){return 0===d?0:1===d?1:2===d?2:d%100>=3&&d%100<=10?3:d%100>=11?4:5},l={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"]},i=function(d){return function(v,M,p,E){var S=u(v),y=l[d][u(v)];return 2===S&&(y=y[M?0:1]),y.replace(/%d/i,v)}},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(d){return"\u0645"===d},meridiem:function(d,v,M){return d<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:i("s"),ss:i("s"),m:i("m"),mm:i("m"),h:i("h"),hh:i("h"),d:i("d"),dd:i("d"),M:i("M"),MM:i("M"),y:i("y"),yy:i("y")},preparse:function(d){return d.replace(/\u060c/g,",")},postformat:function(d){return d.replace(/\d/g,function(v){return c[v]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(s(35908))},39568:function(pe,m,s){!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}})}(s(35908))},13068:function(pe,m,s){!function(n){"use strict";var c={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},u={"\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(i){return"\u0645"===i},meridiem:function(i,e,o){return i<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(i){return i.replace(/[\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(e){return u[e]}).split("").reverse().join("").replace(/[\u0661\u0662](?![\u062a\u0643])/g,function(e){return u[e]}).split("").reverse().join("").replace(/\u060c/g,",")},postformat:function(i){return i.replace(/\d/g,function(e){return c[e]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(s(35908))},89052:function(pe,m,s){!function(n){"use strict";var c={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},u={"\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(i){return"\u0645"===i},meridiem:function(i,e,o){return i<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(i){return i.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(e){return u[e]}).replace(/\u060c/g,",")},postformat:function(i){return i.replace(/\d/g,function(e){return c[e]}).replace(/,/g,"\u060c")},week:{dow:0,doy:6}})}(s(35908))},93956:function(pe,m,s){!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}})}(s(35908))},17276:function(pe,m,s){!function(n){"use strict";var c={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},u={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},l=function(v){return 0===v?0:1===v?1:2===v?2:v%100>=3&&v%100<=10?3:v%100>=11?4:5},i={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(v){return function(M,p,E,S){var y=l(M),f=i[v][l(M)];return 2===y&&(f=f[p?0:1]),f.replace(/%d/i,M)}},o=["\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:o,monthsShort:o,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(v){return"\u0645"===v},meridiem:function(v,M,p){return v<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(v){return v.replace(/[\u0661\u0662\u0663\u0664\u0665\u0666\u0667\u0668\u0669\u0660]/g,function(M){return u[M]}).replace(/\u060c/g,",")},postformat:function(v){return v.replace(/\d/g,function(M){return c[M]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(s(35908))},88240:function(pe,m,s){!function(n){"use strict";var c={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(l){return/^(g\xfcnd\xfcz|ax\u015fam)$/.test(l)},meridiem:function(l,i,e){return l<4?"gec\u0259":l<12?"s\u0259h\u0259r":l<17?"g\xfcnd\xfcz":"ax\u015fam"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0131nc\u0131|inci|nci|\xfcnc\xfc|nc\u0131|uncu)/,ordinal:function(l){if(0===l)return l+"-\u0131nc\u0131";var i=l%10;return l+(c[i]||c[l%100-i]||c[l>=100?100:null])},week:{dow:1,doy:7}})}(s(35908))},77796:function(pe,m,s){!function(n){"use strict";function u(i,e,o){return"m"===o?e?"\u0445\u0432\u0456\u043b\u0456\u043d\u0430":"\u0445\u0432\u0456\u043b\u0456\u043d\u0443":"h"===o?e?"\u0433\u0430\u0434\u0437\u0456\u043d\u0430":"\u0433\u0430\u0434\u0437\u0456\u043d\u0443":i+" "+function c(i,e){var o=i.split("_");return e%10==1&&e%100!=11?o[0]:e%10>=2&&e%10<=4&&(e%100<10||e%100>=20)?o[1]:o[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"}[o],+i)}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:u,mm:u,h:u,hh:u,d:"\u0434\u0437\u0435\u043d\u044c",dd:u,M:"\u043c\u0435\u0441\u044f\u0446",MM:u,y:"\u0433\u043e\u0434",yy:u},meridiemParse:/\u043d\u043e\u0447\u044b|\u0440\u0430\u043d\u0456\u0446\u044b|\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430/,isPM:function(i){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u0430\u0440\u0430)$/.test(i)},meridiem:function(i,e,o){return i<4?"\u043d\u043e\u0447\u044b":i<12?"\u0440\u0430\u043d\u0456\u0446\u044b":i<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u0430\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0456|\u044b|\u0433\u0430)/,ordinal:function(i,e){switch(e){case"M":case"d":case"DDD":case"w":case"W":return i%10!=2&&i%10!=3||i%100==12||i%100==13?i+"-\u044b":i+"-\u0456";case"D":return i+"-\u0433\u0430";default:return i}},week:{dow:1,doy:7}})}(s(35908))},89880:function(pe,m,s){!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(u){var l=u%10,i=u%100;return 0===u?u+"-\u0435\u0432":0===i?u+"-\u0435\u043d":i>10&&i<20?u+"-\u0442\u0438":1===l?u+"-\u0432\u0438":2===l?u+"-\u0440\u0438":7===l||8===l?u+"-\u043c\u0438":u+"-\u0442\u0438"},week:{dow:1,doy:7}})}(s(35908))},84328:function(pe,m,s){!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}})}(s(35908))},45104:function(pe,m,s){!function(n){"use strict";var c={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},u={"\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(i){return i.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(e){return u[e]})},postformat:function(i){return i.replace(/\d/g,function(e){return c[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(i,e){return 12===i&&(i=0),"\u09b0\u09be\u09a4"===e?i<4?i:i+12:"\u09ad\u09cb\u09b0"===e||"\u09b8\u0995\u09be\u09b2"===e?i:"\u09a6\u09c1\u09aa\u09c1\u09b0"===e?i>=3?i:i+12:"\u09ac\u09bf\u0995\u09be\u09b2"===e||"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be"===e?i+12:void 0},meridiem:function(i,e,o){return i<4?"\u09b0\u09be\u09a4":i<6?"\u09ad\u09cb\u09b0":i<12?"\u09b8\u0995\u09be\u09b2":i<15?"\u09a6\u09c1\u09aa\u09c1\u09b0":i<18?"\u09ac\u09bf\u0995\u09be\u09b2":i<20?"\u09b8\u09a8\u09cd\u09a7\u09cd\u09af\u09be":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(s(35908))},60536:function(pe,m,s){!function(n){"use strict";var c={1:"\u09e7",2:"\u09e8",3:"\u09e9",4:"\u09ea",5:"\u09eb",6:"\u09ec",7:"\u09ed",8:"\u09ee",9:"\u09ef",0:"\u09e6"},u={"\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(i){return i.replace(/[\u09e7\u09e8\u09e9\u09ea\u09eb\u09ec\u09ed\u09ee\u09ef\u09e6]/g,function(e){return u[e]})},postformat:function(i){return i.replace(/\d/g,function(e){return c[e]})},meridiemParse:/\u09b0\u09be\u09a4|\u09b8\u0995\u09be\u09b2|\u09a6\u09c1\u09aa\u09c1\u09b0|\u09ac\u09bf\u0995\u09be\u09b2|\u09b0\u09be\u09a4/,meridiemHour:function(i,e){return 12===i&&(i=0),"\u09b0\u09be\u09a4"===e&&i>=4||"\u09a6\u09c1\u09aa\u09c1\u09b0"===e&&i<5||"\u09ac\u09bf\u0995\u09be\u09b2"===e?i+12:i},meridiem:function(i,e,o){return i<4?"\u09b0\u09be\u09a4":i<10?"\u09b8\u0995\u09be\u09b2":i<17?"\u09a6\u09c1\u09aa\u09c1\u09b0":i<20?"\u09ac\u09bf\u0995\u09be\u09b2":"\u09b0\u09be\u09a4"},week:{dow:0,doy:6}})}(s(35908))},51108:function(pe,m,s){!function(n){"use strict";var c={1:"\u0f21",2:"\u0f22",3:"\u0f23",4:"\u0f24",5:"\u0f25",6:"\u0f26",7:"\u0f27",8:"\u0f28",9:"\u0f29",0:"\u0f20"},u={"\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(i){return i.replace(/[\u0f21\u0f22\u0f23\u0f24\u0f25\u0f26\u0f27\u0f28\u0f29\u0f20]/g,function(e){return u[e]})},postformat:function(i){return i.replace(/\d/g,function(e){return c[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(i,e){return 12===i&&(i=0),"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"===e&&i>=4||"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44"===e&&i<5||"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42"===e?i+12:i},meridiem:function(i,e,o){return i<4?"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c":i<10?"\u0f5e\u0f7c\u0f42\u0f66\u0f0b\u0f40\u0f66":i<17?"\u0f49\u0f72\u0f53\u0f0b\u0f42\u0f74\u0f44":i<20?"\u0f51\u0f42\u0f7c\u0f44\u0f0b\u0f51\u0f42":"\u0f58\u0f5a\u0f53\u0f0b\u0f58\u0f7c"},week:{dow:0,doy:6}})}(s(35908))},51296:function(pe,m,s){!function(n){"use strict";function c(f,C,_){return f+" "+function i(f,C){return 2===C?function e(f){var C={m:"v",b:"v",d:"z"};return void 0===C[f.charAt(0)]?f:C[f.charAt(0)]+f.substring(1)}(f):f}({mm:"munutenn",MM:"miz",dd:"devezh"}[_],f)}function l(f){return f>9?l(f%10):f}var o=[/^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],d=/^(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,S=[/^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:S,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:S,monthsRegex:d,monthsShortRegex:d,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:o,longMonthsParse:o,shortMonthsParse:o,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:c,h:"un eur",hh:"%d eur",d:"un devezh",dd:c,M:"ur miz",MM:c,y:"ur bloaz",yy:function u(f){switch(l(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,C,_){return f<12?"a.m.":"g.m."}})}(s(35908))},2032:function(pe,m,s){!function(n){"use strict";function u(i,e,o){var d=i+" ";switch(o){case"ss":return d+(1===i?"sekunda":2===i||3===i||4===i?"sekunde":"sekundi");case"mm":return d+(1===i?"minuta":2===i||3===i||4===i?"minute":"minuta");case"h":return"jedan sat";case"hh":return d+(1===i?"sat":2===i||3===i||4===i?"sata":"sati");case"dd":return d+(1===i?"dan":"dana");case"MM":return d+(1===i?"mjesec":2===i||3===i||4===i?"mjeseca":"mjeseci");case"yy":return d+(1===i?"godina":2===i||3===i||4===i?"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:u,m:function c(i,e,o,d){if("m"===o)return e?"jedna minuta":d?"jednu minutu":"jedne minute"},mm:u,h:u,hh:u,d:"dan",dd:u,M:"mjesec",MM:u,y:"godinu",yy:u},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(s(35908))},20096:function(pe,m,s){!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(u,l){var i=1===u?"r":2===u?"n":3===u?"r":4===u?"t":"\xe8";return("w"===l||"W"===l)&&(i="a"),u+i},week:{dow:1,doy:4}})}(s(35908))},41152:function(pe,m,s){!function(n){"use strict";var c={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/},u="led_\xfano_b\u0159e_dub_kv\u011b_\u010dvn_\u010dvc_srp_z\xe1\u0159_\u0159\xedj_lis_pro".split("_"),l=[/^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],i=/^(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(v){return v>1&&v<5&&1!=~~(v/10)}function o(v,M,p,E){var S=v+" ";switch(p){case"s":return M||E?"p\xe1r sekund":"p\xe1r sekundami";case"ss":return M||E?S+(e(v)?"sekundy":"sekund"):S+"sekundami";case"m":return M?"minuta":E?"minutu":"minutou";case"mm":return M||E?S+(e(v)?"minuty":"minut"):S+"minutami";case"h":return M?"hodina":E?"hodinu":"hodinou";case"hh":return M||E?S+(e(v)?"hodiny":"hodin"):S+"hodinami";case"d":return M||E?"den":"dnem";case"dd":return M||E?S+(e(v)?"dny":"dn\xed"):S+"dny";case"M":return M||E?"m\u011bs\xedc":"m\u011bs\xedcem";case"MM":return M||E?S+(e(v)?"m\u011bs\xedce":"m\u011bs\xedc\u016f"):S+"m\u011bs\xedci";case"y":return M||E?"rok":"rokem";case"yy":return M||E?S+(e(v)?"roky":"let"):S+"lety"}}n.defineLocale("cs",{months:c,monthsShort:u,monthsRegex:i,monthsShortRegex:i,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:l,longMonthsParse:l,shortMonthsParse:l,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: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:4}})}(s(35908))},69568:function(pe,m,s){!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(u){return u+(/\u0441\u0435\u0445\u0435\u0442$/i.exec(u)?"\u0440\u0435\u043d":/\u04ab\u0443\u043b$/i.exec(u)?"\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}})}(s(35908))},78875:function(pe,m,s){!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(u){var i="";return u>20?i=40===u||50===u||60===u||80===u||100===u?"fed":"ain":u>0&&(i=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"][u]),u+i},week:{dow:1,doy:4}})}(s(35908))},45424:function(pe,m,s){!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}})}(s(35908))},72604:function(pe,m,s){!function(n){"use strict";function c(l,i,e,o){var d={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[l+" Tage",l+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[l+" Monate",l+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[l+" Jahre",l+" Jahren"]};return i?d[e][0]:d[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:c,mm:"%d Minuten",h:c,hh:"%d Stunden",d:c,dd:c,w:c,ww:"%d Wochen",M:c,MM:c,y:c,yy:c},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(35908))},79168:function(pe,m,s){!function(n){"use strict";function c(l,i,e,o){var d={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[l+" Tage",l+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[l+" Monate",l+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[l+" Jahre",l+" Jahren"]};return i?d[e][0]:d[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:c,mm:"%d Minuten",h:c,hh:"%d Stunden",d:c,dd:c,w:c,ww:"%d Wochen",M:c,MM:c,y:c,yy:c},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(35908))},20992:function(pe,m,s){!function(n){"use strict";function c(l,i,e,o){var d={m:["eine Minute","einer Minute"],h:["eine Stunde","einer Stunde"],d:["ein Tag","einem Tag"],dd:[l+" Tage",l+" Tagen"],w:["eine Woche","einer Woche"],M:["ein Monat","einem Monat"],MM:[l+" Monate",l+" Monaten"],y:["ein Jahr","einem Jahr"],yy:[l+" Jahre",l+" Jahren"]};return i?d[e][0]:d[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:c,mm:"%d Minuten",h:c,hh:"%d Stunden",d:c,dd:c,w:c,ww:"%d Wochen",M:c,MM:c,y:c,yy:c},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(35908))},67300:function(pe,m,s){!function(n){"use strict";var c=["\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"],u=["\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:c,monthsShort:c,weekdays:u,weekdaysShort:u,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(i){return"\u0789\u078a"===i},meridiem:function(i,e,o){return i<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(i){return i.replace(/\u060c/g,",")},postformat:function(i){return i.replace(/,/g,"\u060c")},week:{dow:7,doy:12}})}(s(35908))},84400:function(pe,m,s){!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(l,i){return l?"string"==typeof i&&/D/.test(i.substring(0,i.indexOf("MMMM")))?this._monthsGenitiveEl[l.month()]:this._monthsNominativeEl[l.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(l,i,e){return l>11?e?"\u03bc\u03bc":"\u039c\u039c":e?"\u03c0\u03bc":"\u03a0\u039c"},isPM:function(l){return"\u03bc"===(l+"").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(l,i){var e=this._calendarEl[l],o=i&&i.hours();return function c(l){return typeof Function<"u"&&l instanceof Function||"[object Function]"===Object.prototype.toString.call(l)}(e)&&(e=e.apply(i)),e.replace("{}",o%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}})}(s(35908))},83536:function(pe,m,s){!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(u){var l=u%10;return u+(1==~~(u%100/10)?"th":1===l?"st":2===l?"nd":3===l?"rd":"th")},week:{dow:0,doy:4}})}(s(35908))},39379:function(pe,m,s){!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(u){var l=u%10;return u+(1==~~(u%100/10)?"th":1===l?"st":2===l?"nd":3===l?"rd":"th")}})}(s(35908))},47032:function(pe,m,s){!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(u){var l=u%10;return u+(1==~~(u%100/10)?"th":1===l?"st":2===l?"nd":3===l?"rd":"th")},week:{dow:1,doy:4}})}(s(35908))},71832:function(pe,m,s){!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(u){var l=u%10;return u+(1==~~(u%100/10)?"th":1===l?"st":2===l?"nd":3===l?"rd":"th")},week:{dow:1,doy:4}})}(s(35908))},404:function(pe,m,s){!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(u){var l=u%10;return u+(1==~~(u%100/10)?"th":1===l?"st":2===l?"nd":3===l?"rd":"th")}})}(s(35908))},25716:function(pe,m,s){!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(u){var l=u%10;return u+(1==~~(u%100/10)?"th":1===l?"st":2===l?"nd":3===l?"rd":"th")},week:{dow:0,doy:6}})}(s(35908))},15312:function(pe,m,s){!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(u){var l=u%10;return u+(1==~~(u%100/10)?"th":1===l?"st":2===l?"nd":3===l?"rd":"th")},week:{dow:1,doy:4}})}(s(35908))},53320:function(pe,m,s){!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(u){var l=u%10;return u+(1==~~(u%100/10)?"th":1===l?"st":2===l?"nd":3===l?"rd":"th")},week:{dow:1,doy:4}})}(s(35908))},96392:function(pe,m,s){!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(u){return"p"===u.charAt(0).toLowerCase()},meridiem:function(u,l,i){return u>11?i?"p.t.m.":"P.T.M.":i?"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}})}(s(35908))},38540:function(pe,m,s){!function(n){"use strict";var c="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),u="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),l=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(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(o,d){return o?/-MMM-/.test(d)?u[o.month()]:c[o.month()]:c},monthsRegex:i,monthsShortRegex:i,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:l,longMonthsParse:l,shortMonthsParse:l,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}})}(s(35908))},93504:function(pe,m,s){!function(n){"use strict";var c="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),u="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),l=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(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(o,d){return o?/-MMM-/.test(d)?u[o.month()]:c[o.month()]:c},monthsRegex:i,monthsShortRegex:i,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:l,longMonthsParse:l,shortMonthsParse:l,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"})}(s(35908))},69224:function(pe,m,s){!function(n){"use strict";var c="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),u="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),l=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(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(o,d){return o?/-MMM-/.test(d)?u[o.month()]:c[o.month()]:c},monthsRegex:i,monthsShortRegex:i,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:l,longMonthsParse:l,shortMonthsParse:l,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}})}(s(35908))},41964:function(pe,m,s){!function(n){"use strict";var c="ene._feb._mar._abr._may._jun._jul._ago._sep._oct._nov._dic.".split("_"),u="ene_feb_mar_abr_may_jun_jul_ago_sep_oct_nov_dic".split("_"),l=[/^ene/i,/^feb/i,/^mar/i,/^abr/i,/^may/i,/^jun/i,/^jul/i,/^ago/i,/^sep/i,/^oct/i,/^nov/i,/^dic/i],i=/^(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(o,d){return o?/-MMM-/.test(d)?u[o.month()]:c[o.month()]:c},monthsRegex:i,monthsShortRegex:i,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:l,longMonthsParse:l,shortMonthsParse:l,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"})}(s(35908))},90596:function(pe,m,s){!function(n){"use strict";function c(l,i,e,o){var d={s:["m\xf5ne sekundi","m\xf5ni sekund","paar sekundit"],ss:[l+"sekundi",l+"sekundit"],m:["\xfche minuti","\xfcks minut"],mm:[l+" minuti",l+" minutit"],h:["\xfche tunni","tund aega","\xfcks tund"],hh:[l+" tunni",l+" tundi"],d:["\xfche p\xe4eva","\xfcks p\xe4ev"],M:["kuu aja","kuu aega","\xfcks kuu"],MM:[l+" kuu",l+" kuud"],y:["\xfche aasta","aasta","\xfcks aasta"],yy:[l+" aasta",l+" aastat"]};return i?d[e][2]?d[e][2]:d[e][1]:o?d[e][0]:d[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:c,ss:c,m:c,mm:c,h:c,hh:c,d:c,dd:"%d p\xe4eva",M:c,MM:c,y:c,yy:c},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(35908))},8060:function(pe,m,s){!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}})}(s(35908))},68184:function(pe,m,s){!function(n){"use strict";var c={1:"\u06f1",2:"\u06f2",3:"\u06f3",4:"\u06f4",5:"\u06f5",6:"\u06f6",7:"\u06f7",8:"\u06f8",9:"\u06f9",0:"\u06f0"},u={"\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(i){return/\u0628\u0639\u062f \u0627\u0632 \u0638\u0647\u0631/.test(i)},meridiem:function(i,e,o){return i<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(i){return i.replace(/[\u06f0-\u06f9]/g,function(e){return u[e]}).replace(/\u060c/g,",")},postformat:function(i){return i.replace(/\d/g,function(e){return c[e]}).replace(/,/g,"\u060c")},dayOfMonthOrdinalParse:/\d{1,2}\u0645/,ordinal:"%d\u0645",week:{dow:6,doy:12}})}(s(35908))},36736:function(pe,m,s){!function(n){"use strict";var c="nolla yksi kaksi kolme nelj\xe4 viisi kuusi seitsem\xe4n kahdeksan yhdeks\xe4n".split(" "),u=["nolla","yhden","kahden","kolmen","nelj\xe4n","viiden","kuuden",c[7],c[8],c[9]];function l(o,d,v,M){var p="";switch(v){case"s":return M?"muutaman sekunnin":"muutama sekunti";case"ss":p=M?"sekunnin":"sekuntia";break;case"m":return M?"minuutin":"minuutti";case"mm":p=M?"minuutin":"minuuttia";break;case"h":return M?"tunnin":"tunti";case"hh":p=M?"tunnin":"tuntia";break;case"d":return M?"p\xe4iv\xe4n":"p\xe4iv\xe4";case"dd":p=M?"p\xe4iv\xe4n":"p\xe4iv\xe4\xe4";break;case"M":return M?"kuukauden":"kuukausi";case"MM":p=M?"kuukauden":"kuukautta";break;case"y":return M?"vuoden":"vuosi";case"yy":p=M?"vuoden":"vuotta"}return function i(o,d){return o<10?d?u[o]:c[o]:o}(o,M)+" "+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: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}})}(s(35908))},49264:function(pe,m,s){!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(u){return u},week:{dow:1,doy:4}})}(s(35908))},48299:function(pe,m,s){!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}})}(s(35908))},84584:function(pe,m,s){!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(u,l){switch(l){default:case"M":case"Q":case"D":case"DDD":case"d":return u+(1===u?"er":"e");case"w":case"W":return u+(1===u?"re":"e")}}})}(s(35908))},8024:function(pe,m,s){!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(u,l){switch(l){default:case"M":case"Q":case"D":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}})}(s(35908))},51964:function(pe,m,s){!function(n){"use strict";var l=/(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,i=[/^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:l,monthsShortRegex:l,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:i,longMonthsParse:i,shortMonthsParse:i,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(o,d){switch(d){case"D":return o+(1===o?"er":"");default:case"M":case"Q":case"DDD":case"d":return o+(1===o?"er":"e");case"w":case"W":return o+(1===o?"re":"e")}},week:{dow:1,doy:4}})}(s(35908))},22672:function(pe,m,s){!function(n){"use strict";var c="jan._feb._mrt._apr._mai_jun._jul._aug._sep._okt._nov._des.".split("_"),u="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(i,e){return i?/-MMM-/.test(e)?u[i.month()]:c[i.month()]:c},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(i){return i+(1===i||8===i||i>=20?"ste":"de")},week:{dow:1,doy:4}})}(s(35908))},26476:function(pe,m,s){!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(d){return d+(1===d?"d":d%10==2?"na":"mh")},week:{dow:1,doy:4}})}(s(35908))},35148:function(pe,m,s){!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(d){return d+(1===d?"d":d%10==2?"na":"mh")},week:{dow:1,doy:4}})}(s(35908))},32176:function(pe,m,s){!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(u){return 0===u.indexOf("un")?"n"+u:"en "+u},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}})}(s(35908))},27260:function(pe,m,s){!function(n){"use strict";function c(l,i,e,o){var d={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:[l+" \u0938\u0945\u0915\u0902\u0921\u093e\u0902\u0928\u0940",l+" \u0938\u0945\u0915\u0902\u0921"],m:["\u090f\u0915\u093e \u092e\u093f\u0923\u091f\u093e\u0928","\u090f\u0915 \u092e\u093f\u0928\u0942\u091f"],mm:[l+" \u092e\u093f\u0923\u091f\u093e\u0902\u0928\u0940",l+" \u092e\u093f\u0923\u091f\u093e\u0902"],h:["\u090f\u0915\u093e \u0935\u0930\u093e\u0928","\u090f\u0915 \u0935\u0930"],hh:[l+" \u0935\u0930\u093e\u0902\u0928\u0940",l+" \u0935\u0930\u093e\u0902"],d:["\u090f\u0915\u093e \u0926\u093f\u0938\u093e\u0928","\u090f\u0915 \u0926\u0940\u0938"],dd:[l+" \u0926\u093f\u0938\u093e\u0902\u0928\u0940",l+" \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:[l+" \u092e\u094d\u0939\u092f\u0928\u094d\u092f\u093e\u0928\u0940",l+" \u092e\u094d\u0939\u092f\u0928\u0947"],y:["\u090f\u0915\u093e \u0935\u0930\u094d\u0938\u093e\u0928","\u090f\u0915 \u0935\u0930\u094d\u0938"],yy:[l+" \u0935\u0930\u094d\u0938\u093e\u0902\u0928\u0940",l+" \u0935\u0930\u094d\u0938\u093e\u0902"]};return o?d[e][0]:d[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: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}(\u0935\u0947\u0930)/,ordinal:function(l,i){return"D"===i?l+"\u0935\u0947\u0930":l},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(l,i){return 12===l&&(l=0),"\u0930\u093e\u0924\u0940"===i?l<4?l:l+12:"\u0938\u0915\u093e\u0933\u0940\u0902"===i?l:"\u0926\u0928\u092a\u093e\u0930\u093e\u0902"===i?l>12?l:l+12:"\u0938\u093e\u0902\u091c\u0947"===i?l+12:void 0},meridiem:function(l,i,e){return l<4?"\u0930\u093e\u0924\u0940":l<12?"\u0938\u0915\u093e\u0933\u0940\u0902":l<16?"\u0926\u0928\u092a\u093e\u0930\u093e\u0902":l<20?"\u0938\u093e\u0902\u091c\u0947":"\u0930\u093e\u0924\u0940"}})}(s(35908))},3772:function(pe,m,s){!function(n){"use strict";function c(l,i,e,o){var d={s:["thoddea sekondamni","thodde sekond"],ss:[l+" sekondamni",l+" sekond"],m:["eka mintan","ek minut"],mm:[l+" mintamni",l+" mintam"],h:["eka voran","ek vor"],hh:[l+" voramni",l+" voram"],d:["eka disan","ek dis"],dd:[l+" disamni",l+" dis"],M:["eka mhoinean","ek mhoino"],MM:[l+" mhoineamni",l+" mhoine"],y:["eka vorsan","ek voros"],yy:[l+" vorsamni",l+" vorsam"]};return o?d[e][0]:d[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: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}(er)/,ordinal:function(l,i){return"D"===i?l+"er":l},week:{dow:0,doy:3},meridiemParse:/rati|sokallim|donparam|sanje/,meridiemHour:function(l,i){return 12===l&&(l=0),"rati"===i?l<4?l:l+12:"sokallim"===i?l:"donparam"===i?l>12?l:l+12:"sanje"===i?l+12:void 0},meridiem:function(l,i,e){return l<4?"rati":l<12?"sokallim":l<16?"donparam":l<20?"sanje":"rati"}})}(s(35908))},39528:function(pe,m,s){!function(n){"use strict";var c={1:"\u0ae7",2:"\u0ae8",3:"\u0ae9",4:"\u0aea",5:"\u0aeb",6:"\u0aec",7:"\u0aed",8:"\u0aee",9:"\u0aef",0:"\u0ae6"},u={"\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(i){return i.replace(/[\u0ae7\u0ae8\u0ae9\u0aea\u0aeb\u0aec\u0aed\u0aee\u0aef\u0ae6]/g,function(e){return u[e]})},postformat:function(i){return i.replace(/\d/g,function(e){return c[e]})},meridiemParse:/\u0ab0\u0abe\u0aa4|\u0aac\u0aaa\u0acb\u0ab0|\u0ab8\u0ab5\u0abe\u0ab0|\u0ab8\u0abe\u0a82\u0a9c/,meridiemHour:function(i,e){return 12===i&&(i=0),"\u0ab0\u0abe\u0aa4"===e?i<4?i:i+12:"\u0ab8\u0ab5\u0abe\u0ab0"===e?i:"\u0aac\u0aaa\u0acb\u0ab0"===e?i>=10?i:i+12:"\u0ab8\u0abe\u0a82\u0a9c"===e?i+12:void 0},meridiem:function(i,e,o){return i<4?"\u0ab0\u0abe\u0aa4":i<10?"\u0ab8\u0ab5\u0abe\u0ab0":i<17?"\u0aac\u0aaa\u0acb\u0ab0":i<20?"\u0ab8\u0abe\u0a82\u0a9c":"\u0ab0\u0abe\u0aa4"},week:{dow:0,doy:6}})}(s(35908))},86832:function(pe,m,s){!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(u){return 2===u?"\u05e9\u05e2\u05ea\u05d9\u05d9\u05dd":u+" \u05e9\u05e2\u05d5\u05ea"},d:"\u05d9\u05d5\u05dd",dd:function(u){return 2===u?"\u05d9\u05d5\u05de\u05d9\u05d9\u05dd":u+" \u05d9\u05de\u05d9\u05dd"},M:"\u05d7\u05d5\u05d3\u05e9",MM:function(u){return 2===u?"\u05d7\u05d5\u05d3\u05e9\u05d9\u05d9\u05dd":u+" \u05d7\u05d5\u05d3\u05e9\u05d9\u05dd"},y:"\u05e9\u05e0\u05d4",yy:function(u){return 2===u?"\u05e9\u05e0\u05ea\u05d9\u05d9\u05dd":u%10==0&&10!==u?u+" \u05e9\u05e0\u05d4":u+" \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(u){return/^(\u05d0\u05d7\u05d4"\u05e6|\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd|\u05d1\u05e2\u05e8\u05d1)$/.test(u)},meridiem:function(u,l,i){return u<5?"\u05dc\u05e4\u05e0\u05d5\u05ea \u05d1\u05d5\u05e7\u05e8":u<10?"\u05d1\u05d1\u05d5\u05e7\u05e8":u<12?i?'\u05dc\u05e4\u05e0\u05d4"\u05e6':"\u05dc\u05e4\u05e0\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":u<18?i?'\u05d0\u05d7\u05d4"\u05e6':"\u05d0\u05d7\u05e8\u05d9 \u05d4\u05e6\u05d4\u05e8\u05d9\u05d9\u05dd":"\u05d1\u05e2\u05e8\u05d1"}})}(s(35908))},95592:function(pe,m,s){!function(n){"use strict";var c={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},u={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"},l=[/^\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:l,longMonthsParse:l,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(o){return o.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(d){return u[d]})},postformat:function(o){return o.replace(/\d/g,function(d){return c[d]})},meridiemParse:/\u0930\u093e\u0924|\u0938\u0941\u092c\u0939|\u0926\u094b\u092a\u0939\u0930|\u0936\u093e\u092e/,meridiemHour:function(o,d){return 12===o&&(o=0),"\u0930\u093e\u0924"===d?o<4?o:o+12:"\u0938\u0941\u092c\u0939"===d?o:"\u0926\u094b\u092a\u0939\u0930"===d?o>=10?o:o+12:"\u0936\u093e\u092e"===d?o+12:void 0},meridiem:function(o,d,v){return o<4?"\u0930\u093e\u0924":o<10?"\u0938\u0941\u092c\u0939":o<17?"\u0926\u094b\u092a\u0939\u0930":o<20?"\u0936\u093e\u092e":"\u0930\u093e\u0924"},week:{dow:0,doy:6}})}(s(35908))},56208:function(pe,m,s){!function(n){"use strict";function c(l,i,e){var o=l+" ";switch(e){case"ss":return o+(1===l?"sekunda":2===l||3===l||4===l?"sekunde":"sekundi");case"m":return i?"jedna minuta":"jedne minute";case"mm":return o+(1===l?"minuta":2===l||3===l||4===l?"minute":"minuta");case"h":return i?"jedan sat":"jednog sata";case"hh":return o+(1===l?"sat":2===l||3===l||4===l?"sata":"sati");case"dd":return o+(1===l?"dan":"dana");case"MM":return o+(1===l?"mjesec":2===l||3===l||4===l?"mjeseca":"mjeseci");case"yy":return o+(1===l?"godina":2===l||3===l||4===l?"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:c,m:c,mm:c,h:c,hh:c,d:"dan",dd:c,M:"mjesec",MM:c,y:"godinu",yy:c},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(s(35908))},33697:function(pe,m,s){!function(n){"use strict";var c="vas\xe1rnap h\xe9tf\u0151n kedden szerd\xe1n cs\xfct\xf6rt\xf6k\xf6n p\xe9nteken szombaton".split(" ");function u(e,o,d,v){var M=e;switch(d){case"s":return v||o?"n\xe9h\xe1ny m\xe1sodperc":"n\xe9h\xe1ny m\xe1sodperce";case"ss":return M+(v||o)?" m\xe1sodperc":" m\xe1sodperce";case"m":return"egy"+(v||o?" perc":" perce");case"mm":return M+(v||o?" perc":" perce");case"h":return"egy"+(v||o?" \xf3ra":" \xf3r\xe1ja");case"hh":return M+(v||o?" \xf3ra":" \xf3r\xe1ja");case"d":return"egy"+(v||o?" nap":" napja");case"dd":return M+(v||o?" nap":" napja");case"M":return"egy"+(v||o?" h\xf3nap":" h\xf3napja");case"MM":return M+(v||o?" h\xf3nap":" h\xf3napja");case"y":return"egy"+(v||o?" \xe9v":" \xe9ve");case"yy":return M+(v||o?" \xe9v":" \xe9ve")}return""}function l(e){return(e?"":"[m\xfalt] ")+"["+c[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,o,d){return e<12?!0===d?"de":"DE":!0===d?"du":"DU"},calendar:{sameDay:"[ma] LT[-kor]",nextDay:"[holnap] LT[-kor]",nextWeek:function(){return l.call(this,!0)},lastDay:"[tegnap] LT[-kor]",lastWeek:function(){return l.call(this,!1)},sameElse:"L"},relativeTime:{future:"%s m\xfalva",past:"%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}})}(s(35908))},2e4:function(pe,m,s){!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(u){return/^(\u0581\u0565\u0580\u0565\u056f\u057e\u0561|\u0565\u0580\u0565\u056f\u0578\u0575\u0561\u0576)$/.test(u)},meridiem:function(u){return u<4?"\u0563\u056b\u0577\u0565\u0580\u057e\u0561":u<12?"\u0561\u057c\u0561\u057e\u0578\u057f\u057e\u0561":u<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(u,l){switch(l){case"DDD":case"w":case"W":case"DDDo":return 1===u?u+"-\u056b\u0576":u+"-\u0580\u0564";default:return u}},week:{dow:1,doy:7}})}(s(35908))},57840:function(pe,m,s){!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(u,l){return 12===u&&(u=0),"pagi"===l?u:"siang"===l?u>=11?u:u+12:"sore"===l||"malam"===l?u+12:void 0},meridiem:function(u,l,i){return u<11?"pagi":u<15?"siang":u<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}})}(s(35908))},31496:function(pe,m,s){!function(n){"use strict";function c(i){return i%100==11||i%10!=1}function u(i,e,o,d){var v=i+" ";switch(o){case"s":return e||d?"nokkrar sek\xfandur":"nokkrum sek\xfandum";case"ss":return c(i)?v+(e||d?"sek\xfandur":"sek\xfandum"):v+"sek\xfanda";case"m":return e?"m\xedn\xfata":"m\xedn\xfatu";case"mm":return c(i)?v+(e||d?"m\xedn\xfatur":"m\xedn\xfatum"):e?v+"m\xedn\xfata":v+"m\xedn\xfatu";case"hh":return c(i)?v+(e||d?"klukkustundir":"klukkustundum"):v+"klukkustund";case"d":return e?"dagur":d?"dag":"degi";case"dd":return c(i)?e?v+"dagar":v+(d?"daga":"d\xf6gum"):e?v+"dagur":v+(d?"dag":"degi");case"M":return e?"m\xe1nu\xf0ur":d?"m\xe1nu\xf0":"m\xe1nu\xf0i";case"MM":return c(i)?e?v+"m\xe1nu\xf0ir":v+(d?"m\xe1nu\xf0i":"m\xe1nu\xf0um"):e?v+"m\xe1nu\xf0ur":v+(d?"m\xe1nu\xf0":"m\xe1nu\xf0i");case"y":return e||d?"\xe1r":"\xe1ri";case"yy":return c(i)?v+(e||d?"\xe1r":"\xe1rum"):v+(e||d?"\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:u,ss:u,m:u,mm:u,h:"klukkustund",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}})}(s(35908))},45736:function(pe,m,s){!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(u){return(/^[0-9].+$/.test(u)?"tra":"in")+" "+u},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}})}(s(35908))},6336:function(pe,m,s){!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}})}(s(35908))},58008:function(pe,m,s){!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(u,l){return"\u5143"===l[1]?1:parseInt(l[1]||u,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(u){return"\u5348\u5f8c"===u},meridiem:function(u,l,i){return u<12?"\u5348\u524d":"\u5348\u5f8c"},calendar:{sameDay:"[\u4eca\u65e5] LT",nextDay:"[\u660e\u65e5] LT",nextWeek:function(u){return u.week()!==this.week()?"[\u6765\u9031]dddd LT":"dddd LT"},lastDay:"[\u6628\u65e5] LT",lastWeek:function(u){return this.week()!==u.week()?"[\u5148\u9031]dddd LT":"dddd LT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}\u65e5/,ordinal:function(u,l){switch(l){case"y":return 1===u?"\u5143\u5e74":u+"\u5e74";case"d":case"D":case"DDD":return u+"\u65e5";default:return u}},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"}})}(s(35908))},30108:function(pe,m,s){!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(u,l){return 12===u&&(u=0),"enjing"===l?u:"siyang"===l?u>=11?u:u+12:"sonten"===l||"ndalu"===l?u+12:void 0},meridiem:function(u,l,i){return u<11?"enjing":u<15?"siyang":u<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}})}(s(35908))},61844:function(pe,m,s){!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(u){return u.replace(/(\u10ec\u10d0\u10db|\u10ec\u10e3\u10d7|\u10e1\u10d0\u10d0\u10d7|\u10ec\u10d4\u10da|\u10d3\u10e6|\u10d7\u10d5)(\u10d8|\u10d4)/,function(l,i,e){return"\u10d8"===e?i+"\u10e8\u10d8":i+e+"\u10e8\u10d8"})},past:function(u){return/(\u10ec\u10d0\u10db\u10d8|\u10ec\u10e3\u10d7\u10d8|\u10e1\u10d0\u10d0\u10d7\u10d8|\u10d3\u10e6\u10d4|\u10d7\u10d5\u10d4)/.test(u)?u.replace(/(\u10d8|\u10d4)$/,"\u10d8\u10e1 \u10ec\u10d8\u10dc"):/\u10ec\u10d4\u10da\u10d8/.test(u)?u.replace(/\u10ec\u10d4\u10da\u10d8$/,"\u10ec\u10da\u10d8\u10e1 \u10ec\u10d8\u10dc"):u},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(u){return 0===u?u:1===u?u+"-\u10da\u10d8":u<20||u<=100&&u%20==0||u%100==0?"\u10db\u10d4-"+u:u+"-\u10d4"},week:{dow:1,doy:7}})}(s(35908))},78980:function(pe,m,s){!function(n){"use strict";var c={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(l){return l+(c[l]||c[l%10]||c[l>=100?100:null])},week:{dow:1,doy:7}})}(s(35908))},48544:function(pe,m,s){!function(n){"use strict";var c={1:"\u17e1",2:"\u17e2",3:"\u17e3",4:"\u17e4",5:"\u17e5",6:"\u17e6",7:"\u17e7",8:"\u17e8",9:"\u17e9",0:"\u17e0"},u={"\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(i){return"\u179b\u17d2\u1784\u17b6\u1785"===i},meridiem:function(i,e,o){return i<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(i){return i.replace(/[\u17e1\u17e2\u17e3\u17e4\u17e5\u17e6\u17e7\u17e8\u17e9\u17e0]/g,function(e){return u[e]})},postformat:function(i){return i.replace(/\d/g,function(e){return c[e]})},week:{dow:1,doy:4}})}(s(35908))},70096:function(pe,m,s){!function(n){"use strict";var c={1:"\u0ce7",2:"\u0ce8",3:"\u0ce9",4:"\u0cea",5:"\u0ceb",6:"\u0cec",7:"\u0ced",8:"\u0cee",9:"\u0cef",0:"\u0ce6"},u={"\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(i){return i.replace(/[\u0ce7\u0ce8\u0ce9\u0cea\u0ceb\u0cec\u0ced\u0cee\u0cef\u0ce6]/g,function(e){return u[e]})},postformat:function(i){return i.replace(/\d/g,function(e){return c[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(i,e){return 12===i&&(i=0),"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"===e?i<4?i:i+12:"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6"===e?i:"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8"===e?i>=10?i:i+12:"\u0cb8\u0c82\u0c9c\u0cc6"===e?i+12:void 0},meridiem:function(i,e,o){return i<4?"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf":i<10?"\u0cac\u0cc6\u0cb3\u0cbf\u0c97\u0ccd\u0c97\u0cc6":i<17?"\u0cae\u0ca7\u0ccd\u0caf\u0cbe\u0cb9\u0ccd\u0ca8":i<20?"\u0cb8\u0c82\u0c9c\u0cc6":"\u0cb0\u0cbe\u0ca4\u0ccd\u0cb0\u0cbf"},dayOfMonthOrdinalParse:/\d{1,2}(\u0ca8\u0cc6\u0cd5)/,ordinal:function(i){return i+"\u0ca8\u0cc6\u0cd5"},week:{dow:0,doy:6}})}(s(35908))},87420:function(pe,m,s){!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(u,l){switch(l){case"d":case"D":case"DDD":return u+"\uc77c";case"M":return u+"\uc6d4";case"w":case"W":return u+"\uc8fc";default:return u}},meridiemParse:/\uc624\uc804|\uc624\ud6c4/,isPM:function(u){return"\uc624\ud6c4"===u},meridiem:function(u,l,i){return u<12?"\uc624\uc804":"\uc624\ud6c4"}})}(s(35908))},4740:function(pe,m,s){!function(n){"use strict";function c(i,e,o,d){var v={s:["\xe7end san\xeeye","\xe7end san\xeeyeyan"],ss:[i+" san\xeeye",i+" san\xeeyeyan"],m:["deq\xeeqeyek","deq\xeeqeyek\xea"],mm:[i+" deq\xeeqe",i+" deq\xeeqeyan"],h:["saetek","saetek\xea"],hh:[i+" saet",i+" saetan"],d:["rojek","rojek\xea"],dd:[i+" roj",i+" rojan"],w:["hefteyek","hefteyek\xea"],ww:[i+" hefte",i+" hefteyan"],M:["mehek","mehek\xea"],MM:[i+" meh",i+" mehan"],y:["salek","salek\xea"],yy:[i+" sal",i+" salan"]};return e?v[o][0]:v[o][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(i,e,o){return i<12?o?"bn":"BN":o?"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:c,ss:c,m:c,mm:c,h:c,hh:c,d:c,dd:c,w:c,ww:c,M:c,MM:c,y:c,yy:c},dayOfMonthOrdinalParse:/\d{1,2}(?:y\xea|\xea|\.)/,ordinal:function(i,e){var o=e.toLowerCase();return o.includes("w")||o.includes("m")?i+".":i+function u(i){var e=(i=""+i).substring(i.length-1),o=i.length>1?i.substring(i.length-2):"";return 12==o||13==o||"2"!=e&&"3"!=e&&"50"!=o&&"70"!=e&&"80"!=e?"\xea":"y\xea"}(i)},week:{dow:1,doy:4}})}(s(35908))},60200:function(pe,m,s){!function(n){"use strict";var c={1:"\u0661",2:"\u0662",3:"\u0663",4:"\u0664",5:"\u0665",6:"\u0666",7:"\u0667",8:"\u0668",9:"\u0669",0:"\u0660"},u={"\u0661":"1","\u0662":"2","\u0663":"3","\u0664":"4","\u0665":"5","\u0666":"6","\u0667":"7","\u0668":"8","\u0669":"9","\u0660":"0"},l=["\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:l,monthsShort:l,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,o,d){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(o){return u[o]}).replace(/\u060c/g,",")},postformat:function(e){return e.replace(/\d/g,function(o){return c[o]}).replace(/,/g,"\u060c")},week:{dow:6,doy:12}})}(s(35908))},44976:function(pe,m,s){!function(n){"use strict";var c={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(l){return l+(c[l]||c[l%10]||c[l>=100?100:null])},week:{dow:1,doy:7}})}(s(35908))},4652:function(pe,m,s){!function(n){"use strict";function c(o,d,v,M){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 d?p[v][0]:p[v][1]}function i(o){if(o=parseInt(o,10),isNaN(o))return!1;if(o<0)return!0;if(o<10)return 4<=o&&o<=7;if(o<100){var d=o%10;return i(0===d?o/10:d)}if(o<1e4){for(;o>=10;)o/=10;return i(o)}return i(o/=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 u(o){return i(o.substr(0,o.indexOf(" ")))?"a "+o:"an "+o},past:function l(o){return i(o.substr(0,o.indexOf(" ")))?"viru "+o:"virun "+o},s:"e puer Sekonnen",ss:"%d Sekonnen",m:c,mm:"%d Minutten",h:c,hh:"%d Stonnen",d:c,dd:"%d Deeg",M:c,MM:"%d M\xe9int",y:c,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(35908))},53984:function(pe,m,s){!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(u){return"\u0e95\u0ead\u0e99\u0ec1\u0ea5\u0e87"===u},meridiem:function(u,l,i){return u<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(u){return"\u0e97\u0eb5\u0ec8"+u}})}(s(35908))},8792:function(pe,m,s){!function(n){"use strict";var c={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 l(v,M,p,E){return M?e(p)[0]:E?e(p)[1]:e(p)[2]}function i(v){return v%10==0||v>10&&v<20}function e(v){return c[v].split("_")}function o(v,M,p,E){var S=v+" ";return 1===v?S+l(0,M,p[0],E):M?S+(i(v)?e(p)[1]:e(p)[0]):E?S+e(p)[1]:S+(i(v)?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 u(v,M,p,E){return M?"kelios sekund\u0117s":E?"keli\u0173 sekund\u017ei\u0173":"kelias sekundes"},ss:o,m:l,mm:o,h:l,hh:o,d:l,dd:o,M:l,MM:o,y:l,yy:o},dayOfMonthOrdinalParse:/\d{1,2}-oji/,ordinal:function(v){return v+"-oji"},week:{dow:1,doy:4}})}(s(35908))},6296:function(pe,m,s){!function(n){"use strict";var c={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 u(d,v,M){return M?v%10==1&&v%100!=11?d[2]:d[3]:v%10==1&&v%100!=11?d[0]:d[1]}function l(d,v,M){return d+" "+u(c[M],d,v)}function i(d,v,M){return u(c[M],d,v)}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(d,v){return v?"da\u017eas sekundes":"da\u017e\u0101m sekund\u0113m"},ss:l,m:i,mm:l,h:i,hh:l,d:i,dd:l,M:i,MM:l,y:i,yy:l},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(35908))},58256:function(pe,m,s){!function(n){"use strict";var c={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(l,i){return 1===l?i[0]:l>=2&&l<=4?i[1]:i[2]},translate:function(l,i,e){var o=c.words[e];return 1===e.length?i?o[0]:o[1]:l+" "+c.correctGrammaticalCase(l,o)}};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:c.translate,m:c.translate,mm:c.translate,h:c.translate,hh:c.translate,d:"dan",dd:c.translate,M:"mjesec",MM:c.translate,y:"godinu",yy:c.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(s(35908))},29284:function(pe,m,s){!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}})}(s(35908))},33196:function(pe,m,s){!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(u){var l=u%10,i=u%100;return 0===u?u+"-\u0435\u0432":0===i?u+"-\u0435\u043d":i>10&&i<20?u+"-\u0442\u0438":1===l?u+"-\u0432\u0438":2===l?u+"-\u0440\u0438":7===l||8===l?u+"-\u043c\u0438":u+"-\u0442\u0438"},week:{dow:1,doy:7}})}(s(35908))},45896:function(pe,m,s){!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(u,l){return 12===u&&(u=0),"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"===l&&u>=4||"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d"===l||"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02"===l?u+12:u},meridiem:function(u,l,i){return u<4?"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f":u<12?"\u0d30\u0d3e\u0d35\u0d3f\u0d32\u0d46":u<17?"\u0d09\u0d1a\u0d4d\u0d1a \u0d15\u0d34\u0d3f\u0d1e\u0d4d\u0d1e\u0d4d":u<20?"\u0d35\u0d48\u0d15\u0d41\u0d28\u0d4d\u0d28\u0d47\u0d30\u0d02":"\u0d30\u0d3e\u0d24\u0d4d\u0d30\u0d3f"}})}(s(35908))},32460:function(pe,m,s){!function(n){"use strict";function c(l,i,e,o){switch(e){case"s":return i?"\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 l+(i?" \u0441\u0435\u043a\u0443\u043d\u0434":" \u0441\u0435\u043a\u0443\u043d\u0434\u044b\u043d");case"m":case"mm":return l+(i?" \u043c\u0438\u043d\u0443\u0442":" \u043c\u0438\u043d\u0443\u0442\u044b\u043d");case"h":case"hh":return l+(i?" \u0446\u0430\u0433":" \u0446\u0430\u0433\u0438\u0439\u043d");case"d":case"dd":return l+(i?" \u04e9\u0434\u04e9\u0440":" \u04e9\u0434\u0440\u0438\u0439\u043d");case"M":case"MM":return l+(i?" \u0441\u0430\u0440":" \u0441\u0430\u0440\u044b\u043d");case"y":case"yy":return l+(i?" \u0436\u0438\u043b":" \u0436\u0438\u043b\u0438\u0439\u043d");default:return l}}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(l){return"\u04ae\u0425"===l},meridiem:function(l,i,e){return l<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: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} \u04e9\u0434\u04e9\u0440/,ordinal:function(l,i){switch(i){case"d":case"D":case"DDD":return l+" \u04e9\u0434\u04e9\u0440";default:return l}}})}(s(35908))},80132:function(pe,m,s){!function(n){"use strict";var c={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},u={"\u0967":"1","\u0968":"2","\u0969":"3","\u096a":"4","\u096b":"5","\u096c":"6","\u096d":"7","\u096e":"8","\u096f":"9","\u0966":"0"};function l(e,o,d,v){var M="";if(o)switch(d){case"s":M="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926";break;case"ss":M="%d \u0938\u0947\u0915\u0902\u0926";break;case"m":M="\u090f\u0915 \u092e\u093f\u0928\u093f\u091f";break;case"mm":M="%d \u092e\u093f\u0928\u093f\u091f\u0947";break;case"h":M="\u090f\u0915 \u0924\u093e\u0938";break;case"hh":M="%d \u0924\u093e\u0938";break;case"d":M="\u090f\u0915 \u0926\u093f\u0935\u0938";break;case"dd":M="%d \u0926\u093f\u0935\u0938";break;case"M":M="\u090f\u0915 \u092e\u0939\u093f\u0928\u093e";break;case"MM":M="%d \u092e\u0939\u093f\u0928\u0947";break;case"y":M="\u090f\u0915 \u0935\u0930\u094d\u0937";break;case"yy":M="%d \u0935\u0930\u094d\u0937\u0947"}else switch(d){case"s":M="\u0915\u093e\u0939\u0940 \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"ss":M="%d \u0938\u0947\u0915\u0902\u0926\u093e\u0902";break;case"m":M="\u090f\u0915\u093e \u092e\u093f\u0928\u093f\u091f\u093e";break;case"mm":M="%d \u092e\u093f\u0928\u093f\u091f\u093e\u0902";break;case"h":M="\u090f\u0915\u093e \u0924\u093e\u0938\u093e";break;case"hh":M="%d \u0924\u093e\u0938\u093e\u0902";break;case"d":M="\u090f\u0915\u093e \u0926\u093f\u0935\u0938\u093e";break;case"dd":M="%d \u0926\u093f\u0935\u0938\u093e\u0902";break;case"M":M="\u090f\u0915\u093e \u092e\u0939\u093f\u0928\u094d\u092f\u093e";break;case"MM":M="%d \u092e\u0939\u093f\u0928\u094d\u092f\u093e\u0902";break;case"y":M="\u090f\u0915\u093e \u0935\u0930\u094d\u0937\u093e";break;case"yy":M="%d \u0935\u0930\u094d\u0937\u093e\u0902"}return M.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:l,ss:l,m:l,mm:l,h:l,hh:l,d:l,dd:l,M:l,MM:l,y:l,yy:l},preparse:function(e){return e.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(o){return u[o]})},postformat:function(e){return e.replace(/\d/g,function(o){return c[o]})},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,o){return 12===e&&(e=0),"\u092a\u0939\u093e\u091f\u0947"===o||"\u0938\u0915\u093e\u0933\u0940"===o?e:"\u0926\u0941\u092a\u093e\u0930\u0940"===o||"\u0938\u093e\u092f\u0902\u0915\u093e\u0933\u0940"===o||"\u0930\u093e\u0924\u094d\u0930\u0940"===o?e>=12?e:e+12:void 0},meridiem:function(e,o,d){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}})}(s(35908))},88060:function(pe,m,s){!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(u,l){return 12===u&&(u=0),"pagi"===l?u:"tengahari"===l?u>=11?u:u+12:"petang"===l||"malam"===l?u+12:void 0},meridiem:function(u,l,i){return u<11?"pagi":u<15?"tengahari":u<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}})}(s(35908))},73136:function(pe,m,s){!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(u,l){return 12===u&&(u=0),"pagi"===l?u:"tengahari"===l?u>=11?u:u+12:"petang"===l||"malam"===l?u+12:void 0},meridiem:function(u,l,i){return u<11?"pagi":u<15?"tengahari":u<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}})}(s(35908))},46227:function(pe,m,s){!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}})}(s(35908))},88300:function(pe,m,s){!function(n){"use strict";var c={1:"\u1041",2:"\u1042",3:"\u1043",4:"\u1044",5:"\u1045",6:"\u1046",7:"\u1047",8:"\u1048",9:"\u1049",0:"\u1040"},u={"\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(i){return i.replace(/[\u1041\u1042\u1043\u1044\u1045\u1046\u1047\u1048\u1049\u1040]/g,function(e){return u[e]})},postformat:function(i){return i.replace(/\d/g,function(e){return c[e]})},week:{dow:1,doy:4}})}(s(35908))},14784:function(pe,m,s){!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}})}(s(35908))},75060:function(pe,m,s){!function(n){"use strict";var c={1:"\u0967",2:"\u0968",3:"\u0969",4:"\u096a",5:"\u096b",6:"\u096c",7:"\u096d",8:"\u096e",9:"\u096f",0:"\u0966"},u={"\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(i){return i.replace(/[\u0967\u0968\u0969\u096a\u096b\u096c\u096d\u096e\u096f\u0966]/g,function(e){return u[e]})},postformat:function(i){return i.replace(/\d/g,function(e){return c[e]})},meridiemParse:/\u0930\u093e\u0924\u093f|\u092c\u093f\u0939\u093e\u0928|\u0926\u093f\u0909\u0901\u0938\u094b|\u0938\u093e\u0901\u091d/,meridiemHour:function(i,e){return 12===i&&(i=0),"\u0930\u093e\u0924\u093f"===e?i<4?i:i+12:"\u092c\u093f\u0939\u093e\u0928"===e?i:"\u0926\u093f\u0909\u0901\u0938\u094b"===e?i>=10?i:i+12:"\u0938\u093e\u0901\u091d"===e?i+12:void 0},meridiem:function(i,e,o){return i<3?"\u0930\u093e\u0924\u093f":i<12?"\u092c\u093f\u0939\u093e\u0928":i<16?"\u0926\u093f\u0909\u0901\u0938\u094b":i<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}})}(s(35908))},94796:function(pe,m,s){!function(n){"use strict";var c="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),u="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),l=[/^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],i=/^(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(o,d){return o?/-MMM-/.test(d)?u[o.month()]:c[o.month()]:c},monthsRegex:i,monthsShortRegex:i,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:l,longMonthsParse:l,shortMonthsParse:l,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(o){return o+(1===o||8===o||o>=20?"ste":"de")},week:{dow:1,doy:4}})}(s(35908))},4971:function(pe,m,s){!function(n){"use strict";var c="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),u="jan_feb_mrt_apr_mei_jun_jul_aug_sep_okt_nov_dec".split("_"),l=[/^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],i=/^(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(o,d){return o?/-MMM-/.test(d)?u[o.month()]:c[o.month()]:c},monthsRegex:i,monthsShortRegex:i,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:l,longMonthsParse:l,shortMonthsParse:l,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(o){return o+(1===o||8===o||o>=20?"ste":"de")},week:{dow:1,doy:4}})}(s(35908))},18984:function(pe,m,s){!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}})}(s(35908))},59928:function(pe,m,s){!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(u,l){var i=1===u?"r":2===u?"n":3===u?"r":4===u?"t":"\xe8";return("w"===l||"W"===l)&&(i="a"),u+i},week:{dow:1,doy:4}})}(s(35908))},76440:function(pe,m,s){!function(n){"use strict";var c={1:"\u0a67",2:"\u0a68",3:"\u0a69",4:"\u0a6a",5:"\u0a6b",6:"\u0a6c",7:"\u0a6d",8:"\u0a6e",9:"\u0a6f",0:"\u0a66"},u={"\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(i){return i.replace(/[\u0a67\u0a68\u0a69\u0a6a\u0a6b\u0a6c\u0a6d\u0a6e\u0a6f\u0a66]/g,function(e){return u[e]})},postformat:function(i){return i.replace(/\d/g,function(e){return c[e]})},meridiemParse:/\u0a30\u0a3e\u0a24|\u0a38\u0a35\u0a47\u0a30|\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30|\u0a38\u0a3c\u0a3e\u0a2e/,meridiemHour:function(i,e){return 12===i&&(i=0),"\u0a30\u0a3e\u0a24"===e?i<4?i:i+12:"\u0a38\u0a35\u0a47\u0a30"===e?i:"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30"===e?i>=10?i:i+12:"\u0a38\u0a3c\u0a3e\u0a2e"===e?i+12:void 0},meridiem:function(i,e,o){return i<4?"\u0a30\u0a3e\u0a24":i<10?"\u0a38\u0a35\u0a47\u0a30":i<17?"\u0a26\u0a41\u0a2a\u0a39\u0a3f\u0a30":i<20?"\u0a38\u0a3c\u0a3e\u0a2e":"\u0a30\u0a3e\u0a24"},week:{dow:0,doy:6}})}(s(35908))},96768:function(pe,m,s){!function(n){"use strict";var c="stycze\u0144_luty_marzec_kwiecie\u0144_maj_czerwiec_lipiec_sierpie\u0144_wrzesie\u0144_pa\u017adziernik_listopad_grudzie\u0144".split("_"),u="stycznia_lutego_marca_kwietnia_maja_czerwca_lipca_sierpnia_wrze\u015bnia_pa\u017adziernika_listopada_grudnia".split("_"),l=[/^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 i(d){return d%10<5&&d%10>1&&~~(d/10)%10!=1}function e(d,v,M){var p=d+" ";switch(M){case"ss":return p+(i(d)?"sekundy":"sekund");case"m":return v?"minuta":"minut\u0119";case"mm":return p+(i(d)?"minuty":"minut");case"h":return v?"godzina":"godzin\u0119";case"hh":return p+(i(d)?"godziny":"godzin");case"ww":return p+(i(d)?"tygodnie":"tygodni");case"MM":return p+(i(d)?"miesi\u0105ce":"miesi\u0119cy");case"yy":return p+(i(d)?"lata":"lat")}}n.defineLocale("pl",{months:function(d,v){return d?/D MMMM/.test(v)?u[d.month()]:c[d.month()]:c},monthsShort:"sty_lut_mar_kwi_maj_cze_lip_sie_wrz_pa\u017a_lis_gru".split("_"),monthsParse:l,longMonthsParse:l,shortMonthsParse:l,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}})}(s(35908))},51528:function(pe,m,s){!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"})}(s(35908))},18968:function(pe,m,s){!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}})}(s(35908))},5760:function(pe,m,s){!function(n){"use strict";function c(l,i,e){var d=" ";return(l%100>=20||l>=100&&l%100==0)&&(d=" de "),l+d+{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:c,m:"un minut",mm:c,h:"o or\u0103",hh:c,d:"o zi",dd:c,w:"o s\u0103pt\u0103m\xe2n\u0103",ww:c,M:"o lun\u0103",MM:c,y:"un an",yy:c},week:{dow:1,doy:7}})}(s(35908))},19760:function(pe,m,s){!function(n){"use strict";function u(e,o,d){return"m"===d?o?"\u043c\u0438\u043d\u0443\u0442\u0430":"\u043c\u0438\u043d\u0443\u0442\u0443":e+" "+function c(e,o){var d=e.split("_");return o%10==1&&o%100!=11?d[0]:o%10>=2&&o%10<=4&&(o%100<10||o%100>=20)?d[1]:d[2]}({ss:o?"\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:o?"\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"}[d],+e)}var l=[/^\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:l,longMonthsParse:l,shortMonthsParse:l,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:u,m:u,mm:u,h:"\u0447\u0430\u0441",hh:u,d:"\u0434\u0435\u043d\u044c",dd:u,w:"\u043d\u0435\u0434\u0435\u043b\u044f",ww:u,M:"\u043c\u0435\u0441\u044f\u0446",MM:u,y:"\u0433\u043e\u0434",yy:u},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,o,d){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,o){switch(o){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}})}(s(35908))},53804:function(pe,m,s){!function(n){"use strict";var c=["\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"],u=["\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:c,monthsShort:c,weekdays:u,weekdaysShort:u,weekdaysMin:u,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(i){return"\u0634\u0627\u0645"===i},meridiem:function(i,e,o){return i<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(i){return i.replace(/\u060c/g,",")},postformat:function(i){return i.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(s(35908))},44100:function(pe,m,s){!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}})}(s(35908))},95301:function(pe,m,s){!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(u){return u+" \u0dc0\u0dd0\u0db1\u0dd2"},meridiemParse:/\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4|\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4|\u0db4\u0dd9.\u0dc0|\u0db4.\u0dc0./,isPM:function(u){return"\u0db4.\u0dc0."===u||"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4"===u},meridiem:function(u,l,i){return u>11?i?"\u0db4.\u0dc0.":"\u0db4\u0dc3\u0dca \u0dc0\u0dbb\u0dd4":i?"\u0db4\u0dd9.\u0dc0.":"\u0db4\u0dd9\u0dbb \u0dc0\u0dbb\u0dd4"}})}(s(35908))},79992:function(pe,m,s){!function(n){"use strict";var c="janu\xe1r_febru\xe1r_marec_apr\xedl_m\xe1j_j\xfan_j\xfal_august_september_okt\xf3ber_november_december".split("_"),u="jan_feb_mar_apr_m\xe1j_j\xfan_j\xfal_aug_sep_okt_nov_dec".split("_");function l(o){return o>1&&o<5}function i(o,d,v,M){var p=o+" ";switch(v){case"s":return d||M?"p\xe1r sek\xfand":"p\xe1r sekundami";case"ss":return d||M?p+(l(o)?"sekundy":"sek\xfand"):p+"sekundami";case"m":return d?"min\xfata":M?"min\xfatu":"min\xfatou";case"mm":return d||M?p+(l(o)?"min\xfaty":"min\xfat"):p+"min\xfatami";case"h":return d?"hodina":M?"hodinu":"hodinou";case"hh":return d||M?p+(l(o)?"hodiny":"hod\xedn"):p+"hodinami";case"d":return d||M?"de\u0148":"d\u0148om";case"dd":return d||M?p+(l(o)?"dni":"dn\xed"):p+"d\u0148ami";case"M":return d||M?"mesiac":"mesiacom";case"MM":return d||M?p+(l(o)?"mesiace":"mesiacov"):p+"mesiacmi";case"y":return d||M?"rok":"rokom";case"yy":return d||M?p+(l(o)?"roky":"rokov"):p+"rokmi"}}n.defineLocale("sk",{months:c,monthsShort:u,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: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:4}})}(s(35908))},35208:function(pe,m,s){!function(n){"use strict";function c(l,i,e,o){var d=l+" ";switch(e){case"s":return i||o?"nekaj sekund":"nekaj sekundami";case"ss":return d+(1===l?i?"sekundo":"sekundi":2===l?i||o?"sekundi":"sekundah":l<5?i||o?"sekunde":"sekundah":"sekund");case"m":return i?"ena minuta":"eno minuto";case"mm":return d+(1===l?i?"minuta":"minuto":2===l?i||o?"minuti":"minutama":l<5?i||o?"minute":"minutami":i||o?"minut":"minutami");case"h":return i?"ena ura":"eno uro";case"hh":return d+(1===l?i?"ura":"uro":2===l?i||o?"uri":"urama":l<5?i||o?"ure":"urami":i||o?"ur":"urami");case"d":return i||o?"en dan":"enim dnem";case"dd":return d+(1===l?i||o?"dan":"dnem":2===l?i||o?"dni":"dnevoma":i||o?"dni":"dnevi");case"M":return i||o?"en mesec":"enim mesecem";case"MM":return d+(1===l?i||o?"mesec":"mesecem":2===l?i||o?"meseca":"mesecema":l<5?i||o?"mesece":"meseci":i||o?"mesecev":"meseci");case"y":return i||o?"eno leto":"enim letom";case"yy":return d+(1===l?i||o?"leto":"letom":2===l?i||o?"leti":"letoma":l<5?i||o?"leta":"leti":i||o?"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: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:7}})}(s(35908))},27408:function(pe,m,s){!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(u){return"M"===u.charAt(0)},meridiem:function(u,l,i){return u<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}})}(s(35908))},1128:function(pe,m,s){!function(n){"use strict";var c={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(l,i){return l%10>=1&&l%10<=4&&(l%100<10||l%100>=20)?l%10==1?i[0]:i[1]:i[2]},translate:function(l,i,e,o){var v,d=c.words[e];return 1===e.length?"y"===e&&i?"\u0458\u0435\u0434\u043d\u0430 \u0433\u043e\u0434\u0438\u043d\u0430":o||i?d[0]:d[1]:(v=c.correctGrammaticalCase(l,d),"yy"===e&&i&&"\u0433\u043e\u0434\u0438\u043d\u0443"===v?l+" \u0433\u043e\u0434\u0438\u043d\u0430":l+" "+v)}};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:c.translate,m:c.translate,mm:c.translate,h:c.translate,hh:c.translate,d:c.translate,dd:c.translate,M:c.translate,MM:c.translate,y:c.translate,yy:c.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(s(35908))},10656:function(pe,m,s){!function(n){"use strict";var c={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(l,i){return l%10>=1&&l%10<=4&&(l%100<10||l%100>=20)?l%10==1?i[0]:i[1]:i[2]},translate:function(l,i,e,o){var v,d=c.words[e];return 1===e.length?"y"===e&&i?"jedna godina":o||i?d[0]:d[1]:(v=c.correctGrammaticalCase(l,d),"yy"===e&&i&&"godinu"===v?l+" godina":l+" "+v)}};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:c.translate,m:c.translate,mm:c.translate,h:c.translate,hh:c.translate,d:c.translate,dd:c.translate,M:c.translate,MM:c.translate,y:c.translate,yy:c.translate},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:7}})}(s(35908))},10864:function(pe,m,s){!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(u,l,i){return u<11?"ekuseni":u<15?"emini":u<19?"entsambama":"ebusuku"},meridiemHour:function(u,l){return 12===u&&(u=0),"ekuseni"===l?u:"emini"===l?u>=11?u:u+12:"entsambama"===l||"ebusuku"===l?0===u?0:u+12:void 0},dayOfMonthOrdinalParse:/\d{1,2}/,ordinal:"%d",week:{dow:1,doy:4}})}(s(35908))},16900:function(pe,m,s){!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(u){var l=u%10;return u+(1==~~(u%100/10)?":e":1===l||2===l?":a":":e")},week:{dow:1,doy:4}})}(s(35908))},81636:function(pe,m,s){!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}})}(s(35908))},24180:function(pe,m,s){!function(n){"use strict";var c={1:"\u0be7",2:"\u0be8",3:"\u0be9",4:"\u0bea",5:"\u0beb",6:"\u0bec",7:"\u0bed",8:"\u0bee",9:"\u0bef",0:"\u0be6"},u={"\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(i){return i+"\u0bb5\u0ba4\u0bc1"},preparse:function(i){return i.replace(/[\u0be7\u0be8\u0be9\u0bea\u0beb\u0bec\u0bed\u0bee\u0bef\u0be6]/g,function(e){return u[e]})},postformat:function(i){return i.replace(/\d/g,function(e){return c[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(i,e,o){return i<2?" \u0baf\u0bbe\u0bae\u0bae\u0bcd":i<6?" \u0bb5\u0bc8\u0b95\u0bb1\u0bc8":i<10?" \u0b95\u0bbe\u0bb2\u0bc8":i<14?" \u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd":i<18?" \u0b8e\u0bb1\u0bcd\u0baa\u0bbe\u0b9f\u0bc1":i<22?" \u0bae\u0bbe\u0bb2\u0bc8":" \u0baf\u0bbe\u0bae\u0bae\u0bcd"},meridiemHour:function(i,e){return 12===i&&(i=0),"\u0baf\u0bbe\u0bae\u0bae\u0bcd"===e?i<2?i:i+12:"\u0bb5\u0bc8\u0b95\u0bb1\u0bc8"===e||"\u0b95\u0bbe\u0bb2\u0bc8"===e||"\u0ba8\u0ba3\u0bcd\u0baa\u0b95\u0bb2\u0bcd"===e&&i>=10?i:i+12},week:{dow:0,doy:6}})}(s(35908))},97008:function(pe,m,s){!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(u,l){return 12===u&&(u=0),"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"===l?u<4?u:u+12:"\u0c09\u0c26\u0c2f\u0c02"===l?u:"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02"===l?u>=10?u:u+12:"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02"===l?u+12:void 0},meridiem:function(u,l,i){return u<4?"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f":u<10?"\u0c09\u0c26\u0c2f\u0c02":u<17?"\u0c2e\u0c27\u0c4d\u0c2f\u0c3e\u0c39\u0c4d\u0c28\u0c02":u<20?"\u0c38\u0c3e\u0c2f\u0c02\u0c24\u0c4d\u0c30\u0c02":"\u0c30\u0c3e\u0c24\u0c4d\u0c30\u0c3f"},week:{dow:0,doy:6}})}(s(35908))},50744:function(pe,m,s){!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(u){var l=u%10;return u+(1==~~(u%100/10)?"th":1===l?"st":2===l?"nd":3===l?"rd":"th")},week:{dow:1,doy:4}})}(s(35908))},58084:function(pe,m,s){!function(n){"use strict";var c={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(l,i){return 12===l&&(l=0),"\u0448\u0430\u0431"===i?l<4?l:l+12:"\u0441\u0443\u0431\u04b3"===i?l:"\u0440\u04ef\u0437"===i?l>=11?l:l+12:"\u0431\u0435\u0433\u043e\u04b3"===i?l+12:void 0},meridiem:function(l,i,e){return l<4?"\u0448\u0430\u0431":l<11?"\u0441\u0443\u0431\u04b3":l<16?"\u0440\u04ef\u0437":l<19?"\u0431\u0435\u0433\u043e\u04b3":"\u0448\u0430\u0431"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0443\u043c|\u044e\u043c)/,ordinal:function(l){return l+(c[l]||c[l%10]||c[l>=100?100:null])},week:{dow:1,doy:7}})}(s(35908))},81672:function(pe,m,s){!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(u){return"\u0e2b\u0e25\u0e31\u0e07\u0e40\u0e17\u0e35\u0e48\u0e22\u0e07"===u},meridiem:function(u,l,i){return u<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"}})}(s(35908))},57232:function(pe,m,s){!function(n){"use strict";var c={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(l,i){switch(i){case"d":case"D":case"Do":case"DD":return l;default:if(0===l)return l+"'unjy";var e=l%10;return l+(c[e]||c[l%100-e]||c[l>=100?100:null])}},week:{dow:1,doy:7}})}(s(35908))},89480:function(pe,m,s){!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(u){return u},week:{dow:1,doy:4}})}(s(35908))},58512:function(pe,m,s){!function(n){"use strict";var c="pagh_wa\u2019_cha\u2019_wej_loS_vagh_jav_Soch_chorgh_Hut".split("_");function i(d,v,M,p){var E=function e(d){var v=Math.floor(d%1e3/100),M=Math.floor(d%100/10),p=d%10,E="";return v>0&&(E+=c[v]+"vatlh"),M>0&&(E+=(""!==E?" ":"")+c[M]+"maH"),p>0&&(E+=(""!==E?" ":"")+c[p]),""===E?"pagh":E}(d);switch(M){case"ss":return E+" lup";case"mm":return E+" tup";case"hh":return E+" rep";case"dd":return E+" jaj";case"MM":return E+" jar";case"yy":return E+" 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 u(d){var v=d;return-1!==d.indexOf("jaj")?v.slice(0,-3)+"leS":-1!==d.indexOf("jar")?v.slice(0,-3)+"waQ":-1!==d.indexOf("DIS")?v.slice(0,-3)+"nem":v+" pIq"},past:function l(d){var v=d;return-1!==d.indexOf("jaj")?v.slice(0,-3)+"Hu\u2019":-1!==d.indexOf("jar")?v.slice(0,-3)+"wen":-1!==d.indexOf("DIS")?v.slice(0,-3)+"ben":v+" ret"},s:"puS lup",ss:i,m:"wa\u2019 tup",mm:i,h:"wa\u2019 rep",hh:i,d:"wa\u2019 jaj",dd:i,M:"wa\u2019 jar",MM:i,y:"wa\u2019 DIS",yy:i},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}})}(s(35908))},56020:function(pe,m,s){!function(n){"use strict";var c={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(l,i,e){return l<12?e?"\xf6\xf6":"\xd6\xd6":e?"\xf6s":"\xd6S"},meridiemParse:/\xf6\xf6|\xd6\xd6|\xf6s|\xd6S/,isPM:function(l){return"\xf6s"===l||"\xd6S"===l},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(l,i){switch(i){case"d":case"D":case"Do":case"DD":return l;default:if(0===l)return l+"'\u0131nc\u0131";var e=l%10;return l+(c[e]||c[l%100-e]||c[l>=100?100:null])}},week:{dow:1,doy:7}})}(s(35908))},36240:function(pe,m,s){!function(n){"use strict";function u(l,i,e,o){var d={s:["viensas secunds","'iensas secunds"],ss:[l+" secunds",l+" secunds"],m:["'n m\xedut","'iens m\xedut"],mm:[l+" m\xeduts",l+" m\xeduts"],h:["'n \xfeora","'iensa \xfeora"],hh:[l+" \xfeoras",l+" \xfeoras"],d:["'n ziua","'iensa ziua"],dd:[l+" ziuas",l+" ziuas"],M:["'n mes","'iens mes"],MM:[l+" mesen",l+" mesen"],y:["'n ar","'iens ar"],yy:[l+" ars",l+" ars"]};return o||i?d[e][0]:d[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(l){return"d'o"===l.toLowerCase()},meridiem:function(l,i,e){return l>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: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}})}(s(35908))},53384:function(pe,m,s){!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}})}(s(35908))},33064:function(pe,m,s){!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}})}(s(35908))},45852:function(pe,m,s){!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(u,l){return 12===u&&(u=0),"\u064a\u06d0\u0631\u0649\u0645 \u0643\u06d0\u0686\u06d5"===l||"\u0633\u06d5\u06be\u06d5\u0631"===l||"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0628\u06c7\u0631\u06c7\u0646"===l?u:"\u0686\u06c8\u0634\u062a\u0649\u0646 \u0643\u06d0\u064a\u0649\u0646"===l||"\u0643\u06d5\u0686"===l?u+12:u>=11?u:u+12},meridiem:function(u,l,i){var e=100*u+l;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(u,l){switch(l){case"d":case"D":case"DDD":return u+"-\u0643\u06c8\u0646\u0649";case"w":case"W":return u+"-\u06be\u06d5\u067e\u062a\u06d5";default:return u}},preparse:function(u){return u.replace(/\u060c/g,",")},postformat:function(u){return u.replace(/,/g,"\u060c")},week:{dow:1,doy:7}})}(s(35908))},12480:function(pe,m,s){!function(n){"use strict";function u(o,d,v){return"m"===v?d?"\u0445\u0432\u0438\u043b\u0438\u043d\u0430":"\u0445\u0432\u0438\u043b\u0438\u043d\u0443":"h"===v?d?"\u0433\u043e\u0434\u0438\u043d\u0430":"\u0433\u043e\u0434\u0438\u043d\u0443":o+" "+function c(o,d){var v=o.split("_");return d%10==1&&d%100!=11?v[0]:d%10>=2&&d%10<=4&&(d%100<10||d%100>=20)?v[1]:v[2]}({ss:d?"\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:d?"\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:d?"\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"}[v],+o)}function i(o){return function(){return o+"\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 l(o,d){var v={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===o?v.nominative.slice(1,7).concat(v.nominative.slice(0,1)):o?v[/(\[[\u0412\u0432\u0423\u0443]\]) ?dddd/.test(d)?"accusative":/\[?(?:\u043c\u0438\u043d\u0443\u043b\u043e\u0457|\u043d\u0430\u0441\u0442\u0443\u043f\u043d\u043e\u0457)? ?\] ?dddd/.test(d)?"genitive":"nominative"][o.day()]:v.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:i("[\u0421\u044c\u043e\u0433\u043e\u0434\u043d\u0456 "),nextDay:i("[\u0417\u0430\u0432\u0442\u0440\u0430 "),lastDay:i("[\u0412\u0447\u043e\u0440\u0430 "),nextWeek:i("[\u0423] dddd ["),lastWeek:function(){switch(this.day()){case 0:case 3:case 5:case 6:return i("[\u041c\u0438\u043d\u0443\u043b\u043e\u0457] dddd [").call(this);case 1:case 2:case 4:return i("[\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:u,m:u,mm:u,h:"\u0433\u043e\u0434\u0438\u043d\u0443",hh:u,d:"\u0434\u0435\u043d\u044c",dd:u,M:"\u043c\u0456\u0441\u044f\u0446\u044c",MM:u,y:"\u0440\u0456\u043a",yy:u},meridiemParse:/\u043d\u043e\u0447\u0456|\u0440\u0430\u043d\u043a\u0443|\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430/,isPM:function(o){return/^(\u0434\u043d\u044f|\u0432\u0435\u0447\u043e\u0440\u0430)$/.test(o)},meridiem:function(o,d,v){return o<4?"\u043d\u043e\u0447\u0456":o<12?"\u0440\u0430\u043d\u043a\u0443":o<17?"\u0434\u043d\u044f":"\u0432\u0435\u0447\u043e\u0440\u0430"},dayOfMonthOrdinalParse:/\d{1,2}-(\u0439|\u0433\u043e)/,ordinal:function(o,d){switch(d){case"M":case"d":case"DDD":case"w":case"W":return o+"-\u0439";case"D":return o+"-\u0433\u043e";default:return o}},week:{dow:1,doy:7}})}(s(35908))},63877:function(pe,m,s){!function(n){"use strict";var c=["\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"],u=["\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:c,monthsShort:c,weekdays:u,weekdaysShort:u,weekdaysMin:u,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(i){return"\u0634\u0627\u0645"===i},meridiem:function(i,e,o){return i<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(i){return i.replace(/\u060c/g,",")},postformat:function(i){return i.replace(/,/g,"\u060c")},week:{dow:1,doy:4}})}(s(35908))},20108:function(pe,m,s){!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}})}(s(35908))},91712:function(pe,m,s){!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}})}(s(35908))},9984:function(pe,m,s){!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(u){return/^ch$/i.test(u)},meridiem:function(u,l,i){return u<12?i?"sa":"SA":i?"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(u){return u},week:{dow:1,doy:4}})}(s(35908))},45708:function(pe,m,s){!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(u){var l=u%10;return u+(1==~~(u%100/10)?"th":1===l?"st":2===l?"nd":3===l?"rd":"th")},week:{dow:1,doy:4}})}(s(35908))},78476:function(pe,m,s){!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}})}(s(35908))},3676:function(pe,m,s){!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(u,l){return 12===u&&(u=0),"\u51cc\u6668"===l||"\u65e9\u4e0a"===l||"\u4e0a\u5348"===l?u:"\u4e0b\u5348"===l||"\u665a\u4e0a"===l?u+12:u>=11?u:u+12},meridiem:function(u,l,i){var e=100*u+l;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(u){return u.week()!==this.week()?"[\u4e0b]dddLT":"[\u672c]dddLT"},lastDay:"[\u6628\u5929]LT",lastWeek:function(u){return this.week()!==u.week()?"[\u4e0a]dddLT":"[\u672c]dddLT"},sameElse:"L"},dayOfMonthOrdinalParse:/\d{1,2}(\u65e5|\u6708|\u5468)/,ordinal:function(u,l){switch(l){case"d":case"D":case"DDD":return u+"\u65e5";case"M":return u+"\u6708";case"w":case"W":return u+"\u5468";default:return u}},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}})}(s(35908))},49880:function(pe,m,s){!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(u,l){return 12===u&&(u=0),"\u51cc\u6668"===l||"\u65e9\u4e0a"===l||"\u4e0a\u5348"===l?u:"\u4e2d\u5348"===l?u>=11?u:u+12:"\u4e0b\u5348"===l||"\u665a\u4e0a"===l?u+12:void 0},meridiem:function(u,l,i){var e=100*u+l;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(u,l){switch(l){case"d":case"D":case"DDD":return u+"\u65e5";case"M":return u+"\u6708";case"w":case"W":return u+"\u9031";default:return u}},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"}})}(s(35908))},41968:function(pe,m,s){!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(u,l){return 12===u&&(u=0),"\u51cc\u6668"===l||"\u65e9\u4e0a"===l||"\u4e0a\u5348"===l?u:"\u4e2d\u5348"===l?u>=11?u:u+12:"\u4e0b\u5348"===l||"\u665a\u4e0a"===l?u+12:void 0},meridiem:function(u,l,i){var e=100*u+l;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(u,l){switch(l){case"d":case"D":case"DDD":return u+"\u65e5";case"M":return u+"\u6708";case"w":case"W":return u+"\u9031";default:return u}},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"}})}(s(35908))},33632:function(pe,m,s){!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(u,l){return 12===u&&(u=0),"\u51cc\u6668"===l||"\u65e9\u4e0a"===l||"\u4e0a\u5348"===l?u:"\u4e2d\u5348"===l?u>=11?u:u+12:"\u4e0b\u5348"===l||"\u665a\u4e0a"===l?u+12:void 0},meridiem:function(u,l,i){var e=100*u+l;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(u,l){switch(l){case"d":case"D":case"DDD":return u+"\u65e5";case"M":return u+"\u6708";case"w":case"W":return u+"\u9031";default:return u}},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"}})}(s(35908))},35908:function(pe,m,s){(pe=s.nmd(pe)).exports=function(){"use strict";var n,C;function c(){return n.apply(null,arguments)}function l(O){return O instanceof Array||"[object Array]"===Object.prototype.toString.call(O)}function i(O){return null!=O&&"[object Object]"===Object.prototype.toString.call(O)}function e(O,X){return Object.prototype.hasOwnProperty.call(O,X)}function o(O){if(Object.getOwnPropertyNames)return 0===Object.getOwnPropertyNames(O).length;var X;for(X in O)if(e(O,X))return!1;return!0}function d(O){return void 0===O}function v(O){return"number"==typeof O||"[object Number]"===Object.prototype.toString.call(O)}function M(O){return O instanceof Date||"[object Date]"===Object.prototype.toString.call(O)}function p(O,X){var Fe,ve=[],it=O.length;for(Fe=0;Fe>>0;for(Fe=0;Fe0)for(ve=0;ve=0?ve?"+":"":"-")+Math.pow(10,Math.max(0,X-Fe.length)).toString().substr(1)+Fe}var ke=/(\[[^\[]*\])|(\\)?([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,Re=/(\[[^\[]*\])|(\\)?(LTS|LT|LL?L?L?|l{1,4})/g,Qe={},$e={};function Be(O,X,ve,Fe){var it=Fe;"string"==typeof Fe&&(it=function(){return this[Fe]()}),O&&($e[O]=it),X&&($e[X[0]]=function(){return Oe(it.apply(this,arguments),X[1],X[2])}),ve&&($e[ve]=function(){return this.localeData().ordinal(it.apply(this,arguments),O)})}function _e(O){return O.match(/\[[\s\S]/)?O.replace(/^\[|\]$/g,""):O.replace(/\\/g,"")}function Se(O,X){return O.isValid()?(X=je(X,O.localeData()),Qe[X]=Qe[X]||function Me(O){var ve,Fe,X=O.match(ke);for(ve=0,Fe=X.length;ve=0&&Re.test(O);)O=O.replace(Re,Fe),Re.lastIndex=0,ve-=1;return O}var Yt={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 Zt(O){return"string"==typeof O?Yt[O]||Yt[O.toLowerCase()]:void 0}function Mn(O){var ve,Fe,X={};for(Fe in O)e(O,Fe)&&(ve=Zt(Fe))&&(X[ve]=O[Fe]);return X}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 Yn,Hn=/\d/,kn=/\d\d/,ln=/\d{3}/,ft=/\d{4}/,Pe=/[+-]?\d{6}/,le=/\d\d?/,he=/\d\d\d\d?/,We=/\d\d\d\d\d\d?/,ze=/\d{1,3}/,gt=/\d{1,4}/,Gt=/[+-]?\d{1,6}/,dn=/\d+/,$n=/[+-]?\d+/,tr=/Z|[+-]\d\d:?\d\d/gi,br=/Z|[+-]\d\d(?::?\d\d)?/gi,fi=/[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,Cr=/^[1-9]\d?/,jr=/^([1-9]\d|\d)/;function It(O,X,ve){Yn[O]=K(X)?X:function(Fe,it){return Fe&&ve?ve:X}}function en(O,X){return e(Yn,O)?Yn[O](X._strict,X._locale):new RegExp(function Ct(O){return qe(O.replace("\\","").replace(/\\(\[)|\\(\])|\[([^\]\[]*)\]|\\(.)/g,function(X,ve,Fe,it,Wt){return ve||Fe||it||Wt}))}(O))}function qe(O){return O.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&")}function Nt(O){return O<0?Math.ceil(O)||0:Math.floor(O)}function He(O){var X=+O,ve=0;return 0!==X&&isFinite(X)&&(ve=Nt(X)),ve}Yn={};var vt={};function pt(O,X){var ve,it,Fe=X;for("string"==typeof O&&(O=[O]),v(X)&&(Fe=function(Wt,Tn){Tn[X]=He(Wt)}),it=O.length,ve=0;ve68?1900:2e3)};var at,Nr=rn("FullYear",!0);function rn(O,X){return function(ve){return null!=ve?(qn(this,O,ve),c.updateOffset(this,X),this):Vn(this,O)}}function Vn(O,X){if(!O.isValid())return NaN;var ve=O._d,Fe=O._isUTC;switch(X){case"Milliseconds":return Fe?ve.getUTCMilliseconds():ve.getMilliseconds();case"Seconds":return Fe?ve.getUTCSeconds():ve.getSeconds();case"Minutes":return Fe?ve.getUTCMinutes():ve.getMinutes();case"Hours":return Fe?ve.getUTCHours():ve.getHours();case"Date":return Fe?ve.getUTCDate():ve.getDate();case"Day":return Fe?ve.getUTCDay():ve.getDay();case"Month":return Fe?ve.getUTCMonth():ve.getMonth();case"FullYear":return Fe?ve.getUTCFullYear():ve.getFullYear();default:return NaN}}function qn(O,X,ve){var Fe,it,Wt,Tn,mr;if(O.isValid()&&!isNaN(ve)){switch(Fe=O._d,it=O._isUTC,X){case"Milliseconds":return void(it?Fe.setUTCMilliseconds(ve):Fe.setMilliseconds(ve));case"Seconds":return void(it?Fe.setUTCSeconds(ve):Fe.setSeconds(ve));case"Minutes":return void(it?Fe.setUTCMinutes(ve):Fe.setMinutes(ve));case"Hours":return void(it?Fe.setUTCHours(ve):Fe.setHours(ve));case"Date":return void(it?Fe.setUTCDate(ve):Fe.setDate(ve));case"FullYear":break;default:return}Wt=ve,Tn=O.month(),mr=29!==(mr=O.date())||1!==Tn||Vt(Wt)?mr:28,it?Fe.setUTCFullYear(Wt,Tn,mr):Fe.setFullYear(Wt,Tn,mr)}}function xt(O,X){if(isNaN(O)||isNaN(X))return NaN;var ve=function Fr(O,X){return(O%X+X)%X}(X,12);return O+=(X-ve)/12,1===ve?Vt(O)?29:28:31-ve%7%2}at=Array.prototype.indexOf?Array.prototype.indexOf:function(O){var X;for(X=0;X=0?(mr=new Date(O+400,X,ve,Fe,it,Wt,Tn),isFinite(mr.getFullYear())&&mr.setFullYear(O)):mr=new Date(O,X,ve,Fe,it,Wt,Tn),mr}function De(O){var X,ve;return O<100&&O>=0?((ve=Array.prototype.slice.call(arguments))[0]=O+400,X=new Date(Date.UTC.apply(null,ve)),isFinite(X.getUTCFullYear())&&X.setUTCFullYear(O)):X=new Date(Date.UTC.apply(null,arguments)),X}function me(O,X,ve){var Fe=7+X-ve;return-(7+De(O,0,Fe).getUTCDay()-X)%7+Fe-1}function q(O,X,ve,Fe,it){var Xr,vi,mr=1+7*(X-1)+(7+ve-Fe)%7+me(O,Fe,it);return mr<=0?vi=nr(Xr=O-1)+mr:mr>nr(O)?(Xr=O+1,vi=mr-nr(O)):(Xr=O,vi=mr),{year:Xr,dayOfYear:vi}}function fe(O,X,ve){var Wt,Tn,Fe=me(O.year(),X,ve),it=Math.floor((O.dayOfYear()-Fe-1)/7)+1;return it<1?Wt=it+nt(Tn=O.year()-1,X,ve):it>nt(O.year(),X,ve)?(Wt=it-nt(O.year(),X,ve),Tn=O.year()+1):(Tn=O.year(),Wt=it),{week:Wt,year:Tn}}function nt(O,X,ve){var Fe=me(O,X,ve),it=me(O+1,X,ve);return(nr(O)-Fe+it)/7}Be("w",["ww",2],"wo","week"),Be("W",["WW",2],"Wo","isoWeek"),It("w",le,Cr),It("ww",le,kn),It("W",le,Cr),It("WW",le,kn),an(["w","ww","W","WW"],function(O,X,ve,Fe){X[Fe.substr(0,1)]=He(O)});function In(O,X){return O.slice(X,7).concat(O.slice(0,X))}Be("d",0,"do","day"),Be("dd",0,0,function(O){return this.localeData().weekdaysMin(this,O)}),Be("ddd",0,0,function(O){return this.localeData().weekdaysShort(this,O)}),Be("dddd",0,0,function(O){return this.localeData().weekdays(this,O)}),Be("e",0,0,"weekday"),Be("E",0,0,"isoWeekday"),It("d",le),It("e",le),It("E",le),It("dd",function(O,X){return X.weekdaysMinRegex(O)}),It("ddd",function(O,X){return X.weekdaysShortRegex(O)}),It("dddd",function(O,X){return X.weekdaysRegex(O)}),an(["dd","ddd","dddd"],function(O,X,ve,Fe){var it=ve._locale.weekdaysParse(O,Fe,ve._strict);null!=it?X.d=it:f(ve).invalidWeekday=O}),an(["d","e","E"],function(O,X,ve,Fe){X[Fe]=He(O)});var Bn="Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),_r="Sun_Mon_Tue_Wed_Thu_Fri_Sat".split("_"),hr="Su_Mo_Tu_We_Th_Fr_Sa".split("_"),Lr=fi,ti=fi,st=fi;function xn(O,X,ve){var Fe,it,Wt,Tn=O.toLocaleLowerCase();if(!this._weekdaysParse)for(this._weekdaysParse=[],this._shortWeekdaysParse=[],this._minWeekdaysParse=[],Fe=0;Fe<7;++Fe)Wt=S([2e3,1]).day(Fe),this._minWeekdaysParse[Fe]=this.weekdaysMin(Wt,"").toLocaleLowerCase(),this._shortWeekdaysParse[Fe]=this.weekdaysShort(Wt,"").toLocaleLowerCase(),this._weekdaysParse[Fe]=this.weekdays(Wt,"").toLocaleLowerCase();return ve?"dddd"===X?-1!==(it=at.call(this._weekdaysParse,Tn))?it:null:"ddd"===X?-1!==(it=at.call(this._shortWeekdaysParse,Tn))?it:null:-1!==(it=at.call(this._minWeekdaysParse,Tn))?it:null:"dddd"===X?-1!==(it=at.call(this._weekdaysParse,Tn))||-1!==(it=at.call(this._shortWeekdaysParse,Tn))||-1!==(it=at.call(this._minWeekdaysParse,Tn))?it:null:"ddd"===X?-1!==(it=at.call(this._shortWeekdaysParse,Tn))||-1!==(it=at.call(this._weekdaysParse,Tn))||-1!==(it=at.call(this._minWeekdaysParse,Tn))?it:null:-1!==(it=at.call(this._minWeekdaysParse,Tn))||-1!==(it=at.call(this._weekdaysParse,Tn))||-1!==(it=at.call(this._shortWeekdaysParse,Tn))?it:null}function ni(){function O(ha,qa){return qa.length-ha.length}var Wt,Tn,mr,Xr,vi,X=[],ve=[],Fe=[],it=[];for(Wt=0;Wt<7;Wt++)Tn=S([2e3,1]).day(Wt),mr=qe(this.weekdaysMin(Tn,"")),Xr=qe(this.weekdaysShort(Tn,"")),vi=qe(this.weekdays(Tn,"")),X.push(mr),ve.push(Xr),Fe.push(vi),it.push(mr),it.push(Xr),it.push(vi);X.sort(O),ve.sort(O),Fe.sort(O),it.sort(O),this._weekdaysRegex=new RegExp("^("+it.join("|")+")","i"),this._weekdaysShortRegex=this._weekdaysRegex,this._weekdaysMinRegex=this._weekdaysRegex,this._weekdaysStrictRegex=new RegExp("^("+Fe.join("|")+")","i"),this._weekdaysShortStrictRegex=new RegExp("^("+ve.join("|")+")","i"),this._weekdaysMinStrictRegex=new RegExp("^("+X.join("|")+")","i")}function ji(){return this.hours()%12||12}function Ji(O,X){Be(O,0,0,function(){return this.localeData().meridiem(this.hours(),this.minutes(),X)})}function Do(O,X){return X._meridiemParse}Be("H",["HH",2],0,"hour"),Be("h",["hh",2],0,ji),Be("k",["kk",2],0,function yr(){return this.hours()||24}),Be("hmm",0,0,function(){return""+ji.apply(this)+Oe(this.minutes(),2)}),Be("hmmss",0,0,function(){return""+ji.apply(this)+Oe(this.minutes(),2)+Oe(this.seconds(),2)}),Be("Hmm",0,0,function(){return""+this.hours()+Oe(this.minutes(),2)}),Be("Hmmss",0,0,function(){return""+this.hours()+Oe(this.minutes(),2)+Oe(this.seconds(),2)}),Ji("a",!0),Ji("A",!1),It("a",Do),It("A",Do),It("H",le,jr),It("h",le,Cr),It("k",le,Cr),It("HH",le,kn),It("hh",le,kn),It("kk",le,kn),It("hmm",he),It("hmmss",We),It("Hmm",he),It("Hmmss",We),pt(["H","HH"],Pt),pt(["k","kk"],function(O,X,ve){var Fe=He(O);X[Pt]=24===Fe?0:Fe}),pt(["a","A"],function(O,X,ve){ve._isPm=ve._locale.isPM(O),ve._meridiem=O}),pt(["h","hh"],function(O,X,ve){X[Pt]=He(O),f(ve).bigHour=!0}),pt("hmm",function(O,X,ve){var Fe=O.length-2;X[Pt]=He(O.substr(0,Fe)),X[jt]=He(O.substr(Fe)),f(ve).bigHour=!0}),pt("hmmss",function(O,X,ve){var Fe=O.length-4,it=O.length-2;X[Pt]=He(O.substr(0,Fe)),X[jt]=He(O.substr(Fe,2)),X[ar]=He(O.substr(it)),f(ve).bigHour=!0}),pt("Hmm",function(O,X,ve){var Fe=O.length-2;X[Pt]=He(O.substr(0,Fe)),X[jt]=He(O.substr(Fe))}),pt("Hmmss",function(O,X,ve){var Fe=O.length-4,it=O.length-2;X[Pt]=He(O.substr(0,Fe)),X[jt]=He(O.substr(Fe,2)),X[ar]=He(O.substr(it))});var ro=rn("Hours",!0);var gi,oo={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:Dt,monthsShort:sn,week:{dow:0,doy:6},weekdays:Bn,weekdaysMin:hr,weekdaysShort:_r,meridiemParse:/[ap]\.?m?\.?/i},Pn={},bo={};function Hi(O,X){var ve,Fe=Math.min(O.length,X.length);for(ve=0;ve0;){if(it=Ai(Wt.slice(0,ve).join("-")))return it;if(Fe&&Fe.length>=ve&&Hi(Wt,Fe)>=ve-1)break;ve--}X++}return gi}(O)}function Vi(O){var X,ve=O._a;return ve&&-2===f(O).overflow&&(X=ve[xe]<0||ve[xe]>11?xe:ve[_t]<1||ve[_t]>xt(ve[Sn],ve[xe])?_t:ve[Pt]<0||ve[Pt]>24||24===ve[Pt]&&(0!==ve[jt]||0!==ve[ar]||0!==ve[ur])?Pt:ve[jt]<0||ve[jt]>59?jt:ve[ar]<0||ve[ar]>59?ar:ve[ur]<0||ve[ur]>999?ur:-1,f(O)._overflowDayOfYear&&(X_t)&&(X=_t),f(O)._overflowWeeks&&-1===X&&(X=Tr),f(O)._overflowWeekday&&-1===X&&(X=lr),f(O).overflow=X),O}var ei=/^\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)?)?$/,Uo=/^\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)?)?$/,Fi=/Z|[+-]\d\d(?::?\d\d)?/,ao=[["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]],Gi=[["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/]],xo=/^\/?Date\((-?\d+)/i,Bo=/^(?:(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}))$/,so={UT:0,GMT:0,EDT:-240,EST:-300,CDT:-300,CST:-360,MDT:-360,MST:-420,PDT:-420,PST:-480};function Oo(O){var X,ve,Wt,Tn,mr,Xr,Fe=O._i,it=ei.exec(Fe)||Uo.exec(Fe),vi=ao.length,ha=Gi.length;if(it){for(f(O).iso=!0,X=0,ve=vi;X7)&&(Xr=!0)):(Wt=O._locale._week.dow,Tn=O._locale._week.doy,vi=fe(At(),Wt,Tn),ve=zo(X.gg,O._a[Sn],vi.year),Fe=zo(X.w,vi.week),null!=X.d?((it=X.d)<0||it>6)&&(Xr=!0):null!=X.e?(it=X.e+Wt,(X.e<0||X.e>6)&&(Xr=!0)):it=Wt),Fe<1||Fe>nt(ve,Wt,Tn)?f(O)._overflowWeeks=!0:null!=Xr?f(O)._overflowWeekday=!0:(mr=q(ve,Fe,it,Wt,Tn),O._a[Sn]=mr.year,O._dayOfYear=mr.dayOfYear)}(O),null!=O._dayOfYear&&(Tn=zo(O._a[Sn],it[Sn]),(O._dayOfYear>nr(Tn)||0===O._dayOfYear)&&(f(O)._overflowDayOfYear=!0),ve=De(Tn,0,O._dayOfYear),O._a[xe]=ve.getUTCMonth(),O._a[_t]=ve.getUTCDate()),X=0;X<3&&null==O._a[X];++X)O._a[X]=Fe[X]=it[X];for(;X<7;X++)O._a[X]=Fe[X]=null==O._a[X]?2===X?1:0:O._a[X];24===O._a[Pt]&&0===O._a[jt]&&0===O._a[ar]&&0===O._a[ur]&&(O._nextDay=!0,O._a[Pt]=0),O._d=(O._useUTC?De:Q).apply(null,Fe),Wt=O._useUTC?O._d.getUTCDay():O._d.getDay(),null!=O._tzm&&O._d.setUTCMinutes(O._d.getUTCMinutes()-O._tzm),O._nextDay&&(O._a[Pt]=24),O._w&&typeof O._w.d<"u"&&O._w.d!==Wt&&(f(O).weekdayMismatch=!0)}}function Zo(O){if(O._f!==c.ISO_8601)if(O._f!==c.RFC_2822){O._a=[],f(O).empty=!0;var ve,Fe,it,Wt,Tn,vi,ha,X=""+O._i,mr=X.length,Xr=0;for(ha=(it=je(O._f,O._locale).match(ke)||[]).length,ve=0;ve0&&f(O).unusedInput.push(Tn),X=X.slice(X.indexOf(Fe)+Fe.length),Xr+=Fe.length),$e[Wt]?(Fe?f(O).empty=!1:f(O).unusedTokens.push(Wt),Ln(Wt,Fe,O)):O._strict&&!Fe&&f(O).unusedTokens.push(Wt);f(O).charsLeftOver=mr-Xr,X.length>0&&f(O).unusedInput.push(X),O._a[Pt]<=12&&!0===f(O).bigHour&&O._a[Pt]>0&&(f(O).bigHour=void 0),f(O).parsedDateParts=O._a.slice(0),f(O).meridiem=O._meridiem,O._a[Pt]=function To(O,X,ve){var Fe;return null==ve?X:null!=O.meridiemHour?O.meridiemHour(X,ve):(null!=O.isPM&&((Fe=O.isPM(ve))&&X<12&&(X+=12),!Fe&&12===X&&(X=0)),X)}(O._locale,O._a[Pt],O._meridiem),null!==(vi=f(O).era)&&(O._a[Sn]=O._locale.erasConvertYear(vi,O._a[Sn])),Xi(O),Vi(O)}else Ni(O);else Oo(O)}function Ye(O){var X=O._i,ve=O._f;return O._locale=O._locale||Yr(O._l),null===X||void 0===ve&&""===X?w({nullInput:!0}):("string"==typeof X&&(O._i=X=O._locale.preparse(X)),G(X)?new V(Vi(X)):(M(X)?O._d=X:l(ve)?function Wo(O){var X,ve,Fe,it,Wt,Tn,mr=!1,Xr=O._f.length;if(0===Xr)return f(O).invalidFormat=!0,void(O._d=new Date(NaN));for(it=0;itthis?this:O:w()});function Mi(O,X){var ve,Fe;if(1===X.length&&l(X[0])&&(X=X[0]),!X.length)return At();for(ve=X[0],Fe=1;Fe=0?new Date(O+400,X,ve)-Sr:new Date(O,X,ve).valueOf()}function Co(O,X,ve){return O<100&&O>=0?Date.UTC(O+400,X,ve)-Sr:Date.UTC(O,X,ve)}function cs(O,X){return X.erasAbbrRegex(O)}function ea(){var it,Wt,Tn,mr,Xr,O=[],X=[],ve=[],Fe=[],vi=this.eras();for(it=0,Wt=vi.length;it(Wt=nt(O,Fe,it))&&(X=Wt),cl.call(this,O,X,ve,Fe,it))}function cl(O,X,ve,Fe,it){var Wt=q(O,X,ve,Fe,it),Tn=De(Wt.year,0,Wt.dayOfYear);return this.year(Tn.getUTCFullYear()),this.month(Tn.getUTCMonth()),this.date(Tn.getUTCDate()),this}Be("N",0,0,"eraAbbr"),Be("NN",0,0,"eraAbbr"),Be("NNN",0,0,"eraAbbr"),Be("NNNN",0,0,"eraName"),Be("NNNNN",0,0,"eraNarrow"),Be("y",["y",1],"yo","eraYear"),Be("y",["yy",2],0,"eraYear"),Be("y",["yyy",3],0,"eraYear"),Be("y",["yyyy",4],0,"eraYear"),It("N",cs),It("NN",cs),It("NNN",cs),It("NNNN",function ec(O,X){return X.erasNameRegex(O)}),It("NNNNN",function ll(O,X){return X.erasNarrowRegex(O)}),pt(["N","NN","NNN","NNNN","NNNNN"],function(O,X,ve,Fe){var it=ve._locale.erasParse(O,Fe,ve._strict);it?f(ve).era=it:f(ve).invalidEra=O}),It("y",dn),It("yy",dn),It("yyy",dn),It("yyyy",dn),It("yo",function gu(O,X){return X._eraYearOrdinalRegex||dn}),pt(["y","yy","yyy","yyyy"],Sn),pt(["yo"],function(O,X,ve,Fe){var it;ve._locale._eraYearOrdinalRegex&&(it=O.match(ve._locale._eraYearOrdinalRegex)),X[Sn]=ve._locale.eraYearOrdinalParse?ve._locale.eraYearOrdinalParse(O,it):parseInt(O,10)}),Be(0,["gg",2],0,function(){return this.weekYear()%100}),Be(0,["GG",2],0,function(){return this.isoWeekYear()%100}),Za("gggg","weekYear"),Za("ggggg","weekYear"),Za("GGGG","isoWeekYear"),Za("GGGGG","isoWeekYear"),It("G",$n),It("g",$n),It("GG",le,kn),It("gg",le,kn),It("GGGG",gt,ft),It("gggg",gt,ft),It("GGGGG",Gt,Pe),It("ggggg",Gt,Pe),an(["gggg","ggggg","GGGG","GGGGG"],function(O,X,ve,Fe){X[Fe.substr(0,2)]=He(O)}),an(["gg","GG"],function(O,X,ve,Fe){X[Fe]=c.parseTwoDigitYear(O)}),Be("Q",0,"Qo","quarter"),It("Q",Hn),pt("Q",function(O,X){X[xe]=3*(He(O)-1)}),Be("D",["DD",2],"Do","date"),It("D",le,Cr),It("DD",le,kn),It("Do",function(O,X){return O?X._dayOfMonthOrdinalParse||X._ordinalParse:X._dayOfMonthOrdinalParseLenient}),pt(["D","DD"],_t),pt("Do",function(O,X){X[_t]=He(O.match(le)[0])});var Is=rn("Date",!0);Be("DDD",["DDDD",3],"DDDo","dayOfYear"),It("DDD",ze),It("DDDD",ln),pt(["DDD","DDDD"],function(O,X,ve){ve._dayOfYear=He(O)}),Be("m",["mm",2],0,"minute"),It("m",le,jr),It("mm",le,kn),pt(["m","mm"],jt);var dl=rn("Minutes",!1);Be("s",["ss",2],0,"second"),It("s",le,jr),It("ss",le,kn),pt(["s","ss"],ar);var ta,si,vu=rn("Seconds",!1);for(Be("S",0,0,function(){return~~(this.millisecond()/100)}),Be(0,["SS",2],0,function(){return~~(this.millisecond()/10)}),Be(0,["SSS",3],0,"millisecond"),Be(0,["SSSS",4],0,function(){return 10*this.millisecond()}),Be(0,["SSSSS",5],0,function(){return 100*this.millisecond()}),Be(0,["SSSSSS",6],0,function(){return 1e3*this.millisecond()}),Be(0,["SSSSSSS",7],0,function(){return 1e4*this.millisecond()}),Be(0,["SSSSSSSS",8],0,function(){return 1e5*this.millisecond()}),Be(0,["SSSSSSSSS",9],0,function(){return 1e6*this.millisecond()}),It("S",ze,Hn),It("SS",ze,kn),It("SSS",ze,ln),ta="SSSS";ta.length<=9;ta+="S")It(ta,dn);function Gs(O,X){X[ur]=He(1e3*("0."+O))}for(ta="S";ta.length<=9;ta+="S")pt(ta,Gs);si=rn("Milliseconds",!1),Be("z",0,0,"zoneAbbr"),Be("zz",0,0,"zoneName");var Gn=V.prototype;function ds(O){return O}Gn.add=Si,Gn.calendar=function Ie(O,X){1===arguments.length&&(arguments[0]?Ar(arguments[0])?(O=arguments[0],X=void 0):function Qr(O){var it,X=i(O)&&!o(O),ve=!1,Fe=["sameDay","nextDay","lastDay","nextWeek","lastWeek","sameElse"];for(it=0;itve.valueOf():ve.valueOf()9999?Se(ve,X?"YYYYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYYYY-MM-DD[T]HH:mm:ss.SSSZ"):K(Date.prototype.toISOString)?X?this.toDate().toISOString():new Date(this.valueOf()+60*this.utcOffset()*1e3).toISOString().replace("Z",Se(ve,"Z")):Se(ve,X?"YYYY-MM-DD[T]HH:mm:ss.SSS[Z]":"YYYY-MM-DD[T]HH:mm:ss.SSSZ")},Gn.inspect=function se(){if(!this.isValid())return"moment.invalid(/* "+this._i+" */)";var ve,Fe,O="moment",X="";return this.isLocal()||(O=0===this.utcOffset()?"moment.utc":"moment.parseZone",X="Z"),ve="["+O+'("]',Fe=0<=this.year()&&this.year()<=9999?"YYYY":"YYYYYY",this.format(ve+Fe+"-MM-DD[T]HH:mm:ss.SSS"+X+'[")]')},typeof Symbol<"u"&&null!=Symbol.for&&(Gn[Symbol.for("nodejs.util.inspect.custom")]=function(){return"Moment<"+this.format()+">"}),Gn.toJSON=function Jl(){return this.isValid()?this.toISOString():null},Gn.toString=function Y(){return this.clone().locale("en").format("ddd MMM DD YYYY HH:mm:ss [GMT]ZZ")},Gn.unix=function yi(){return Math.floor(this.valueOf()/1e3)},Gn.valueOf=function Yi(){return this._d.valueOf()-6e4*(this._offset||0)},Gn.creationData=function La(){return{input:this._i,format:this._f,locale:this._locale,isUTC:this._isUTC,strict:this._strict}},Gn.eraName=function sl(){var O,X,ve,Fe=this.localeData().eras();for(O=0,X=Fe.length;Othis.clone().month(0).utcOffset()||this.utcOffset()>this.clone().month(5).utcOffset()},Gn.isLocal=function Kt(){return!!this.isValid()&&!this._isUTC},Gn.isUtcOffset=function yn(){return!!this.isValid()&&this._isUTC},Gn.isUtc=rr,Gn.isUTC=rr,Gn.zoneAbbr=function Va(){return this._isUTC?"UTC":""},Gn.zoneName=function As(){return this._isUTC?"Coordinated Universal Time":""},Gn.dates=k("dates accessor is deprecated. Use date instead.",Is),Gn.months=k("months accessor is deprecated. Use month instead",Ir),Gn.years=k("years accessor is deprecated. Use year instead",Nr),Gn.zone=k("moment().zone is deprecated, use moment().utcOffset instead. http://momentjs.com/guides/#/warnings/zone/",function $(O,X){return null!=O?("string"!=typeof O&&(O=-O),this.utcOffset(O,X),this):-this.utcOffset()}),Gn.isDSTShifted=k("isDSTShifted is deprecated. See http://momentjs.com/guides/#/warnings/dst-shifted/ for more information",function $t(){if(!d(this._isDSTShifted))return this._isDSTShifted;var X,O={};return N(O,this),(O=Ye(O))._a?(X=O._isUTC?S(O._a):At(O._a),this._isDSTShifted=this.isValid()&&function qi(O,X,ve){var Tn,Fe=Math.min(O.length,X.length),it=Math.abs(O.length-X.length),Wt=0;for(Tn=0;Tn0):this._isDSTShifted=!1,this._isDSTShifted});var _i=be.prototype;function W(O,X,ve,Fe){var it=Yr(),Wt=S().set(Fe,X);return it[ve](Wt,O)}function ae(O,X,ve){if(v(O)&&(X=O,O=void 0),O=O||"",null!=X)return W(O,X,ve,"month");var Fe,it=[];for(Fe=0;Fe<12;Fe++)it[Fe]=W(O,Fe,ve,"month");return it}function Z(O,X,ve,Fe){"boolean"==typeof O?(v(X)&&(ve=X,X=void 0),X=X||""):(ve=X=O,O=!1,v(X)&&(ve=X,X=void 0),X=X||"");var Tn,it=Yr(),Wt=O?it._week.dow:0,mr=[];if(null!=ve)return W(X,(ve+Wt)%7,Fe,"day");for(Tn=0;Tn<7;Tn++)mr[Tn]=W(X,(Tn+Wt)%7,Fe,"day");return mr}_i.calendar=function ct(O,X,ve){var Fe=this._calendar[O]||this._calendar.sameElse;return K(Fe)?Fe.call(X,ve):Fe},_i.longDateFormat=function we(O){var X=this._longDateFormat[O],ve=this._longDateFormat[O.toUpperCase()];return X||!ve?X:(this._longDateFormat[O]=ve.match(ke).map(function(Fe){return"MMMM"===Fe||"MM"===Fe||"DD"===Fe||"dddd"===Fe?Fe.slice(1):Fe}).join(""),this._longDateFormat[O])},_i.invalidDate=function tt(){return this._invalidDate},_i.ordinal=function Te(O){return this._ordinal.replace("%d",O)},_i.preparse=ds,_i.postformat=ds,_i.relativeTime=function Ft(O,X,ve,Fe){var it=this._relativeTime[ve];return K(it)?it(O,X,ve,Fe):it.replace(/%d/i,O)},_i.pastFuture=function nn(O,X){var ve=this._relativeTime[O>0?"future":"past"];return K(ve)?ve(X):ve.replace(/%s/i,X)},_i.set=function ie(O){var X,ve;for(ve in O)e(O,ve)&&(K(X=O[ve])?this[ve]=X:this["_"+ve]=X);this._config=O,this._dayOfMonthOrdinalParseLenient=new RegExp((this._dayOfMonthOrdinalParse.source||this._ordinalParse.source)+"|"+/\d{1,2}/.source)},_i.eras=function al(O,X){var ve,Fe,it,Wt=this._eras||Yr("en")._eras;for(ve=0,Fe=Wt.length;ve=0)return Wt[Fe]},_i.erasConvertYear=function Es(O,X){var ve=O.since<=O.until?1:-1;return void 0===X?c(O.since).year():c(O.since).year()+(X-O.offset)*ve},_i.erasAbbrRegex=function Ws(O){return e(this,"_erasAbbrRegex")||ea.call(this),O?this._erasAbbrRegex:this._erasRegex},_i.erasNameRegex=function ql(O){return e(this,"_erasNameRegex")||ea.call(this),O?this._erasNameRegex:this._erasRegex},_i.erasNarrowRegex=function Ds(O){return e(this,"_erasNarrowRegex")||ea.call(this),O?this._erasNarrowRegex:this._erasRegex},_i.months=function sr(O,X){return O?l(this._months)?this._months[O.month()]:this._months[(this._months.isFormat||gn).test(X)?"format":"standalone"][O.month()]:l(this._months)?this._months:this._months.standalone},_i.monthsShort=function Xn(O,X){return O?l(this._monthsShort)?this._monthsShort[O.month()]:this._monthsShort[gn.test(X)?"format":"standalone"][O.month()]:l(this._monthsShort)?this._monthsShort:this._monthsShort.standalone},_i.monthsParse=function Or(O,X,ve){var Fe,it,Wt;if(this._monthsParseExact)return xr.call(this,O,X,ve);for(this._monthsParse||(this._monthsParse=[],this._longMonthsParse=[],this._shortMonthsParse=[]),Fe=0;Fe<12;Fe++){if(it=S([2e3,Fe]),ve&&!this._longMonthsParse[Fe]&&(this._longMonthsParse[Fe]=new RegExp("^"+this.months(it,"").replace(".","")+"$","i"),this._shortMonthsParse[Fe]=new RegExp("^"+this.monthsShort(it,"").replace(".","")+"$","i")),!ve&&!this._monthsParse[Fe]&&(Wt="^"+this.months(it,"")+"|^"+this.monthsShort(it,""),this._monthsParse[Fe]=new RegExp(Wt.replace(".",""),"i")),ve&&"MMMM"===X&&this._longMonthsParse[Fe].test(O))return Fe;if(ve&&"MMM"===X&&this._shortMonthsParse[Fe].test(O))return Fe;if(!ve&&this._monthsParse[Fe].test(O))return Fe}},_i.monthsRegex=function x(O){return this._monthsParseExact?(e(this,"_monthsRegex")||F.call(this),O?this._monthsStrictRegex:this._monthsRegex):(e(this,"_monthsRegex")||(this._monthsRegex=Dn),this._monthsStrictRegex&&O?this._monthsStrictRegex:this._monthsRegex)},_i.monthsShortRegex=function un(O){return this._monthsParseExact?(e(this,"_monthsRegex")||F.call(this),O?this._monthsShortStrictRegex:this._monthsShortRegex):(e(this,"_monthsShortRegex")||(this._monthsShortRegex=wn),this._monthsShortStrictRegex&&O?this._monthsShortStrictRegex:this._monthsShortRegex)},_i.week=function mt(O){return fe(O,this._week.dow,this._week.doy).week},_i.firstDayOfYear=function tn(){return this._week.doy},_i.firstDayOfWeek=function Ut(){return this._week.dow},_i.weekdays=function co(O,X){var ve=l(this._weekdays)?this._weekdays:this._weekdays[O&&!0!==O&&this._weekdays.isFormat.test(X)?"format":"standalone"];return!0===O?In(ve,this._week.dow):O?ve[O.day()]:ve},_i.weekdaysMin=function Ur(O){return!0===O?In(this._weekdaysMin,this._week.dow):O?this._weekdaysMin[O.day()]:this._weekdaysMin},_i.weekdaysShort=function Ri(O){return!0===O?In(this._weekdaysShort,this._week.dow):O?this._weekdaysShort[O.day()]:this._weekdaysShort},_i.weekdaysParse=function Jn(O,X,ve){var Fe,it,Wt;if(this._weekdaysParseExact)return xn.call(this,O,X,ve);for(this._weekdaysParse||(this._weekdaysParse=[],this._minWeekdaysParse=[],this._shortWeekdaysParse=[],this._fullWeekdaysParse=[]),Fe=0;Fe<7;Fe++){if(it=S([2e3,1]).day(Fe),ve&&!this._fullWeekdaysParse[Fe]&&(this._fullWeekdaysParse[Fe]=new RegExp("^"+this.weekdays(it,"").replace(".","\\.?")+"$","i"),this._shortWeekdaysParse[Fe]=new RegExp("^"+this.weekdaysShort(it,"").replace(".","\\.?")+"$","i"),this._minWeekdaysParse[Fe]=new RegExp("^"+this.weekdaysMin(it,"").replace(".","\\.?")+"$","i")),this._weekdaysParse[Fe]||(Wt="^"+this.weekdays(it,"")+"|^"+this.weekdaysShort(it,"")+"|^"+this.weekdaysMin(it,""),this._weekdaysParse[Fe]=new RegExp(Wt.replace(".",""),"i")),ve&&"dddd"===X&&this._fullWeekdaysParse[Fe].test(O))return Fe;if(ve&&"ddd"===X&&this._shortWeekdaysParse[Fe].test(O))return Fe;if(ve&&"dd"===X&&this._minWeekdaysParse[Fe].test(O))return Fe;if(!ve&&this._weekdaysParse[Fe].test(O))return Fe}},_i.weekdaysRegex=function Zi(O){return this._weekdaysParseExact?(e(this,"_weekdaysRegex")||ni.call(this),O?this._weekdaysStrictRegex:this._weekdaysRegex):(e(this,"_weekdaysRegex")||(this._weekdaysRegex=Lr),this._weekdaysStrictRegex&&O?this._weekdaysStrictRegex:this._weekdaysRegex)},_i.weekdaysShortRegex=function qr(O){return this._weekdaysParseExact?(e(this,"_weekdaysRegex")||ni.call(this),O?this._weekdaysShortStrictRegex:this._weekdaysShortRegex):(e(this,"_weekdaysShortRegex")||(this._weekdaysShortRegex=ti),this._weekdaysShortStrictRegex&&O?this._weekdaysShortStrictRegex:this._weekdaysShortRegex)},_i.weekdaysMinRegex=function oi(O){return this._weekdaysParseExact?(e(this,"_weekdaysRegex")||ni.call(this),O?this._weekdaysMinStrictRegex:this._weekdaysMinRegex):(e(this,"_weekdaysMinRegex")||(this._weekdaysMinRegex=st),this._weekdaysMinStrictRegex&&O?this._weekdaysMinStrictRegex:this._weekdaysMinRegex)},_i.isPM=function vo(O){return"p"===(O+"").toLowerCase().charAt(0)},_i.meridiem=function Rr(O,X,ve){return O>11?ve?"pm":"PM":ve?"am":"AM"},Pi("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(O){var X=O%10;return O+(1===He(O%100/10)?"th":1===X?"st":2===X?"nd":3===X?"rd":"th")}}),c.lang=k("moment.lang is deprecated. Use moment.locale instead.",Pi),c.langData=k("moment.langData is deprecated. Use moment.localeData instead.",Yr);var on=Math.abs;function Jr(O,X,ve,Fe){var it=Mr(X,ve);return O._milliseconds+=Fe*it._milliseconds,O._days+=Fe*it._days,O._months+=Fe*it._months,O._bubble()}function hs(O){return O<0?Math.floor(O):Math.ceil(O)}function kr(O){return 4800*O/146097}function Ya(O){return 146097*O/4800}function Pa(O){return function(){return this.as(O)}}var rc=Pa("ms"),bu=Pa("s"),Am=Pa("m"),yu=Pa("h"),Tb=Pa("d"),Ib=Pa("w"),Ab=Pa("M"),pa=Pa("Q"),ic=Pa("y"),zr=rc;function Ps(O){return function(){return this.isValid()?this._data[O]:NaN}}var Bd=Ps("milliseconds"),Pb=Ps("seconds"),Pm=Ps("minutes"),Cu=Ps("hours"),fl=Ps("days"),jd=Ps("months"),Ko=Ps("years");var fs=Math.round,ml={ss:44,s:45,m:45,h:22,d:26,w:null,M:11};function gl(O,X,ve,Fe,it){return it.relativeTime(X||1,!!ve,O,Fe)}var Su=Math.abs;function ks(O){return(O>0)-(O<0)||+O}function Xa(){if(!this.isValid())return this.localeData().invalidDate();var Fe,it,Wt,Tn,Xr,vi,ha,qa,O=Su(this._milliseconds)/1e3,X=Su(this._days),ve=Su(this._months),mr=this.asSeconds();return mr?(Fe=Nt(O/60),it=Nt(Fe/60),O%=60,Fe%=60,Wt=Nt(ve/12),ve%=12,Tn=O?O.toFixed(3).replace(/\.?0+$/,""):"",Xr=mr<0?"-":"",vi=ks(this._months)!==ks(mr)?"-":"",ha=ks(this._days)!==ks(mr)?"-":"",qa=ks(this._milliseconds)!==ks(mr)?"-":"",Xr+"P"+(Wt?vi+Wt+"Y":"")+(ve?vi+ve+"M":"")+(X?ha+X+"D":"")+(it||Fe||O?"T":"")+(it?qa+it+"H":"")+(Fe?qa+Fe+"M":"")+(O?qa+Tn+"S":"")):"P0D"}var Di=sa.prototype;return Di.isValid=function aa(){return this._isValid},Di.abs=function cr(){var O=this._data;return this._milliseconds=on(this._milliseconds),this._days=on(this._days),this._months=on(this._months),O.milliseconds=on(O.milliseconds),O.seconds=on(O.seconds),O.minutes=on(O.minutes),O.hours=on(O.hours),O.months=on(O.months),O.years=on(O.years),this},Di.add=function ui(O,X){return Jr(this,O,X,1)},Di.subtract=function po(O,X){return Jr(this,O,X,-1)},Di.as=function Ra(O){if(!this.isValid())return NaN;var X,ve,Fe=this._milliseconds;if("month"===(O=Zt(O))||"quarter"===O||"year"===O)switch(X=this._days+Fe/864e5,ve=this._months+kr(X),O){case"month":return ve;case"quarter":return ve/3;case"year":return ve/12}else switch(X=this._days+Math.round(Ya(this._months)),O){case"week":return X/7+Fe/6048e5;case"day":return X+Fe/864e5;case"hour":return 24*X+Fe/36e5;case"minute":return 1440*X+Fe/6e4;case"second":return 86400*X+Fe/1e3;case"millisecond":return Math.floor(864e5*X)+Fe;default:throw new Error("Unknown unit "+O)}},Di.asMilliseconds=rc,Di.asSeconds=bu,Di.asMinutes=Am,Di.asHours=yu,Di.asDays=Tb,Di.asWeeks=Ib,Di.asMonths=Ab,Di.asQuarters=pa,Di.asYears=ic,Di.valueOf=zr,Di._bubble=function no(){var it,Wt,Tn,mr,Xr,O=this._milliseconds,X=this._days,ve=this._months,Fe=this._data;return O>=0&&X>=0&&ve>=0||O<=0&&X<=0&&ve<=0||(O+=864e5*hs(Ya(ve)+X),X=0,ve=0),Fe.milliseconds=O%1e3,it=Nt(O/1e3),Fe.seconds=it%60,Wt=Nt(it/60),Fe.minutes=Wt%60,Tn=Nt(Wt/60),Fe.hours=Tn%24,X+=Nt(Tn/24),ve+=Xr=Nt(kr(X)),X-=hs(Ya(Xr)),mr=Nt(ve/12),ve%=12,Fe.days=X,Fe.months=ve,Fe.years=mr,this},Di.clone=function $i(){return Mr(this)},Di.get=function hl(O){return O=Zt(O),this.isValid()?this[O+"s"]():NaN},Di.milliseconds=Bd,Di.seconds=Pb,Di.minutes=Pm,Di.hours=Cu,Di.days=fl,Di.weeks=function Hd(){return Nt(this.days()/7)},Di.months=jd,Di.years=Ko,Di.humanize=function xm(O,X){if(!this.isValid())return this.localeData().invalidDate();var it,Wt,ve=!1,Fe=ml;return"object"==typeof O&&(X=O,O=!1),"boolean"==typeof O&&(ve=O),"object"==typeof X&&(Fe=Object.assign({},ml,X),null!=X.s&&null==X.ss&&(Fe.ss=X.s-1)),Wt=function Mu(O,X,ve,Fe){var it=Mr(O).abs(),Wt=fs(it.as("s")),Tn=fs(it.as("m")),mr=fs(it.as("h")),Xr=fs(it.as("d")),vi=fs(it.as("M")),ha=fs(it.as("w")),qa=fs(it.as("y")),ms=Wt<=ve.ss&&["s",Wt]||Wt0,ms[4]=Fe,gl.apply(null,ms)}(this,!ve,Fe,it=this.localeData()),ve&&(Wt=it.pastFuture(+this,Wt)),it.postformat(Wt)},Di.toISOString=Xa,Di.toString=Xa,Di.toJSON=Xa,Di.locale=ue,Di.localeData=qt,Di.toIsoString=k("toIsoString() is deprecated. Please use toISOString() instead (notice the capitals)",Xa),Di.lang=Ke,Be("X",0,0,"unix"),Be("x",0,0,"valueOf"),It("x",$n),It("X",/[+-]?\d+(\.\d{1,3})?/),pt("X",function(O,X,ve){ve._d=new Date(1e3*parseFloat(O))}),pt("x",function(O,X,ve){ve._d=new Date(He(O))}),c.version="2.30.1",function u(O){n=O}(At),c.fn=Gn,c.min=function Eo(){return Mi("isBefore",[].slice.call(arguments,0))},c.max=function Io(){return Mi("isAfter",[].slice.call(arguments,0))},c.now=function(){return Date.now?Date.now():+new Date},c.utc=S,c.unix=function nc(O){return At(1e3*O)},c.months=function oe(O,X){return ae(O,X,"months")},c.isDate=M,c.locale=Pi,c.invalid=w,c.duration=Mr,c.isMoment=G,c.weekdays=function ut(O,X,ve){return Z(O,X,ve,"weekdays")},c.parseZone=function ga(){return At.apply(null,arguments).parseZone()},c.localeData=Yr,c.isDuration=Ro,c.monthsShort=function Ue(O,X){return ae(O,X,"monthsShort")},c.weekdaysMin=function mn(O,X,ve){return Z(O,X,ve,"weekdaysMin")},c.defineLocale=Mo,c.updateLocale=function uo(O,X){if(null!=X){var ve,Fe,it=oo;null!=Pn[O]&&null!=Pn[O].parentLocale?Pn[O].set(J(Pn[O]._config,X)):(null!=(Fe=Ai(O))&&(it=Fe._config),X=J(it,X),null==Fe&&(X.abbr=O),(ve=new be(X)).parentLocale=Pn[O],Pn[O]=ve),Pi(O)}else null!=Pn[O]&&(null!=Pn[O].parentLocale?(Pn[O]=Pn[O].parentLocale,O===Pi()&&Pi(O)):null!=Pn[O]&&delete Pn[O]);return Pn[O]},c.locales=function So(){return ce(Pn)},c.weekdaysShort=function kt(O,X,ve){return Z(O,X,ve,"weekdaysShort")},c.normalizeUnits=Zt,c.relativeTimeRounding=function oc(O){return void 0===O?fs:"function"==typeof O&&(fs=O,!0)},c.relativeTimeThreshold=function km(O,X){return void 0!==ml[O]&&(void 0===X?ml[O]:(ml[O]=X,"s"===O&&(ml.ss=X-1),!0))},c.calendarFormat=function to(O,X){var ve=O.diff(X,"days",!0);return ve<-6?"sameElse":ve<-1?"lastWeek":ve<0?"lastDay":ve<1?"sameDay":ve<2?"nextDay":ve<7?"nextWeek":"sameElse"},c.prototype=Gn,c.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"},c}()},80103:function(pe,m,s){"use strict";var n=this&&this.__createBinding||(Object.create?function(gi,Hi,ai,pr){void 0===pr&&(pr=ai),Object.defineProperty(gi,pr,{enumerable:!0,get:function(){return Hi[ai]}})}:function(gi,Hi,ai,pr){void 0===pr&&(pr=ai),gi[pr]=Hi[ai]}),c=this&&this.__exportStar||function(gi,Hi){for(var ai in gi)"default"!==ai&&!Object.prototype.hasOwnProperty.call(Hi,ai)&&n(Hi,gi,ai)};Object.defineProperty(m,"__esModule",{value:!0}),m.interval=m.iif=m.generate=m.fromEventPattern=m.fromEvent=m.from=m.forkJoin=m.empty=m.defer=m.connectable=m.concat=m.combineLatest=m.bindNodeCallback=m.bindCallback=m.UnsubscriptionError=m.TimeoutError=m.SequenceError=m.ObjectUnsubscribedError=m.NotFoundError=m.EmptyError=m.ArgumentOutOfRangeError=m.firstValueFrom=m.lastValueFrom=m.isObservable=m.identity=m.noop=m.pipe=m.NotificationKind=m.Notification=m.Subscriber=m.Subscription=m.Scheduler=m.VirtualAction=m.VirtualTimeScheduler=m.animationFrameScheduler=m.animationFrame=m.queueScheduler=m.queue=m.asyncScheduler=m.async=m.asapScheduler=m.asap=m.AsyncSubject=m.ReplaySubject=m.BehaviorSubject=m.Subject=m.animationFrames=m.observable=m.ConnectableObservable=m.Observable=void 0,m.filter=m.expand=m.exhaustMap=m.exhaustAll=m.exhaust=m.every=m.endWith=m.elementAt=m.distinctUntilKeyChanged=m.distinctUntilChanged=m.distinct=m.dematerialize=m.delayWhen=m.delay=m.defaultIfEmpty=m.debounceTime=m.debounce=m.count=m.connect=m.concatWith=m.concatMapTo=m.concatMap=m.concatAll=m.combineLatestWith=m.combineLatestAll=m.combineAll=m.catchError=m.bufferWhen=m.bufferToggle=m.bufferTime=m.bufferCount=m.buffer=m.auditTime=m.audit=m.config=m.NEVER=m.EMPTY=m.scheduled=m.zip=m.using=m.timer=m.throwError=m.range=m.race=m.partition=m.pairs=m.onErrorResumeNext=m.of=m.never=m.merge=void 0,m.switchMap=m.switchAll=m.subscribeOn=m.startWith=m.skipWhile=m.skipUntil=m.skipLast=m.skip=m.single=m.shareReplay=m.share=m.sequenceEqual=m.scan=m.sampleTime=m.sample=m.refCount=m.retryWhen=m.retry=m.repeatWhen=m.repeat=m.reduce=m.raceWith=m.publishReplay=m.publishLast=m.publishBehavior=m.publish=m.pluck=m.pairwise=m.onErrorResumeNextWith=m.observeOn=m.multicast=m.min=m.mergeWith=m.mergeScan=m.mergeMapTo=m.mergeMap=m.flatMap=m.mergeAll=m.max=m.materialize=m.mapTo=m.map=m.last=m.isEmpty=m.ignoreElements=m.groupBy=m.first=m.findIndex=m.find=m.finalize=void 0,m.zipWith=m.zipAll=m.withLatestFrom=m.windowWhen=m.windowToggle=m.windowTime=m.windowCount=m.window=m.toArray=m.timestamp=m.timeoutWith=m.timeout=m.timeInterval=m.throwIfEmpty=m.throttleTime=m.throttle=m.tap=m.takeWhile=m.takeUntil=m.takeLast=m.take=m.switchScan=m.switchMapTo=void 0;var u=s(15448);Object.defineProperty(m,"Observable",{enumerable:!0,get:function(){return u.Observable}});var l=s(42416);Object.defineProperty(m,"ConnectableObservable",{enumerable:!0,get:function(){return l.ConnectableObservable}});var i=s(72064);Object.defineProperty(m,"observable",{enumerable:!0,get:function(){return i.observable}});var e=s(72444);Object.defineProperty(m,"animationFrames",{enumerable:!0,get:function(){return e.animationFrames}});var o=s(90120);Object.defineProperty(m,"Subject",{enumerable:!0,get:function(){return o.Subject}});var d=s(60488);Object.defineProperty(m,"BehaviorSubject",{enumerable:!0,get:function(){return d.BehaviorSubject}});var v=s(38640);Object.defineProperty(m,"ReplaySubject",{enumerable:!0,get:function(){return v.ReplaySubject}});var M=s(70408);Object.defineProperty(m,"AsyncSubject",{enumerable:!0,get:function(){return M.AsyncSubject}});var p=s(24860);Object.defineProperty(m,"asap",{enumerable:!0,get:function(){return p.asap}}),Object.defineProperty(m,"asapScheduler",{enumerable:!0,get:function(){return p.asapScheduler}});var E=s(69252);Object.defineProperty(m,"async",{enumerable:!0,get:function(){return E.async}}),Object.defineProperty(m,"asyncScheduler",{enumerable:!0,get:function(){return E.asyncScheduler}});var S=s(72056);Object.defineProperty(m,"queue",{enumerable:!0,get:function(){return S.queue}}),Object.defineProperty(m,"queueScheduler",{enumerable:!0,get:function(){return S.queueScheduler}});var y=s(70232);Object.defineProperty(m,"animationFrame",{enumerable:!0,get:function(){return y.animationFrame}}),Object.defineProperty(m,"animationFrameScheduler",{enumerable:!0,get:function(){return y.animationFrameScheduler}});var f=s(45992);Object.defineProperty(m,"VirtualTimeScheduler",{enumerable:!0,get:function(){return f.VirtualTimeScheduler}}),Object.defineProperty(m,"VirtualAction",{enumerable:!0,get:function(){return f.VirtualAction}});var C=s(25784);Object.defineProperty(m,"Scheduler",{enumerable:!0,get:function(){return C.Scheduler}});var _=s(40576);Object.defineProperty(m,"Subscription",{enumerable:!0,get:function(){return _.Subscription}});var w=s(41596);Object.defineProperty(m,"Subscriber",{enumerable:!0,get:function(){return w.Subscriber}});var D=s(12032);Object.defineProperty(m,"Notification",{enumerable:!0,get:function(){return D.Notification}}),Object.defineProperty(m,"NotificationKind",{enumerable:!0,get:function(){return D.NotificationKind}});var L=s(19512);Object.defineProperty(m,"pipe",{enumerable:!0,get:function(){return L.pipe}});var N=s(48320);Object.defineProperty(m,"noop",{enumerable:!0,get:function(){return N.noop}});var V=s(55184);Object.defineProperty(m,"identity",{enumerable:!0,get:function(){return V.identity}});var G=s(38104);Object.defineProperty(m,"isObservable",{enumerable:!0,get:function(){return G.isObservable}});var R=s(59452);Object.defineProperty(m,"lastValueFrom",{enumerable:!0,get:function(){return R.lastValueFrom}});var k=s(79632);Object.defineProperty(m,"firstValueFrom",{enumerable:!0,get:function(){return k.firstValueFrom}});var A=s(32929);Object.defineProperty(m,"ArgumentOutOfRangeError",{enumerable:!0,get:function(){return A.ArgumentOutOfRangeError}});var H=s(51544);Object.defineProperty(m,"EmptyError",{enumerable:!0,get:function(){return H.EmptyError}});var K=s(15496);Object.defineProperty(m,"NotFoundError",{enumerable:!0,get:function(){return K.NotFoundError}});var ie=s(92304);Object.defineProperty(m,"ObjectUnsubscribedError",{enumerable:!0,get:function(){return ie.ObjectUnsubscribedError}});var J=s(71016);Object.defineProperty(m,"SequenceError",{enumerable:!0,get:function(){return J.SequenceError}});var be=s(20268);Object.defineProperty(m,"TimeoutError",{enumerable:!0,get:function(){return be.TimeoutError}});var ce=s(9560);Object.defineProperty(m,"UnsubscriptionError",{enumerable:!0,get:function(){return ce.UnsubscriptionError}});var Ge=s(1856);Object.defineProperty(m,"bindCallback",{enumerable:!0,get:function(){return Ge.bindCallback}});var ct=s(78872);Object.defineProperty(m,"bindNodeCallback",{enumerable:!0,get:function(){return ct.bindNodeCallback}});var Oe=s(60128);Object.defineProperty(m,"combineLatest",{enumerable:!0,get:function(){return Oe.combineLatest}});var ke=s(24560);Object.defineProperty(m,"concat",{enumerable:!0,get:function(){return ke.concat}});var Re=s(7976);Object.defineProperty(m,"connectable",{enumerable:!0,get:function(){return Re.connectable}});var Qe=s(71896);Object.defineProperty(m,"defer",{enumerable:!0,get:function(){return Qe.defer}});var $e=s(31456);Object.defineProperty(m,"empty",{enumerable:!0,get:function(){return $e.empty}});var Be=s(93052);Object.defineProperty(m,"forkJoin",{enumerable:!0,get:function(){return Be.forkJoin}});var _e=s(38485);Object.defineProperty(m,"from",{enumerable:!0,get:function(){return _e.from}});var Me=s(85e3);Object.defineProperty(m,"fromEvent",{enumerable:!0,get:function(){return Me.fromEvent}});var Se=s(46744);Object.defineProperty(m,"fromEventPattern",{enumerable:!0,get:function(){return Se.fromEventPattern}});var je=s(92560);Object.defineProperty(m,"generate",{enumerable:!0,get:function(){return je.generate}});var re=s(46696);Object.defineProperty(m,"iif",{enumerable:!0,get:function(){return re.iif}});var we=s(2071);Object.defineProperty(m,"interval",{enumerable:!0,get:function(){return we.interval}});var rt=s(14152);Object.defineProperty(m,"merge",{enumerable:!0,get:function(){return rt.merge}});var tt=s(15672);Object.defineProperty(m,"never",{enumerable:!0,get:function(){return tt.never}});var wt=s(41536);Object.defineProperty(m,"of",{enumerable:!0,get:function(){return wt.of}});var ye=s(9460);Object.defineProperty(m,"onErrorResumeNext",{enumerable:!0,get:function(){return ye.onErrorResumeNext}});var Te=s(15292);Object.defineProperty(m,"pairs",{enumerable:!0,get:function(){return Te.pairs}});var ht=s(91792);Object.defineProperty(m,"partition",{enumerable:!0,get:function(){return ht.partition}});var Ft=s(84048);Object.defineProperty(m,"race",{enumerable:!0,get:function(){return Ft.race}});var nn=s(12384);Object.defineProperty(m,"range",{enumerable:!0,get:function(){return nn.range}});var Yt=s(3312);Object.defineProperty(m,"throwError",{enumerable:!0,get:function(){return Yt.throwError}});var Zt=s(34168);Object.defineProperty(m,"timer",{enumerable:!0,get:function(){return Zt.timer}});var Mn=s(28684);Object.defineProperty(m,"using",{enumerable:!0,get:function(){return Mn.using}});var Un=s(59172);Object.defineProperty(m,"zip",{enumerable:!0,get:function(){return Un.zip}});var zt=s(44232);Object.defineProperty(m,"scheduled",{enumerable:!0,get:function(){return zt.scheduled}});var Hn=s(31456);Object.defineProperty(m,"EMPTY",{enumerable:!0,get:function(){return Hn.EMPTY}});var kn=s(15672);Object.defineProperty(m,"NEVER",{enumerable:!0,get:function(){return kn.NEVER}}),c(s(68828),m);var ln=s(90584);Object.defineProperty(m,"config",{enumerable:!0,get:function(){return ln.config}});var ft=s(18380);Object.defineProperty(m,"audit",{enumerable:!0,get:function(){return ft.audit}});var Pe=s(1393);Object.defineProperty(m,"auditTime",{enumerable:!0,get:function(){return Pe.auditTime}});var le=s(42744);Object.defineProperty(m,"buffer",{enumerable:!0,get:function(){return le.buffer}});var he=s(57864);Object.defineProperty(m,"bufferCount",{enumerable:!0,get:function(){return he.bufferCount}});var We=s(42704);Object.defineProperty(m,"bufferTime",{enumerable:!0,get:function(){return We.bufferTime}});var ze=s(21964);Object.defineProperty(m,"bufferToggle",{enumerable:!0,get:function(){return ze.bufferToggle}});var gt=s(16323);Object.defineProperty(m,"bufferWhen",{enumerable:!0,get:function(){return gt.bufferWhen}});var Gt=s(11708);Object.defineProperty(m,"catchError",{enumerable:!0,get:function(){return Gt.catchError}});var dn=s(25184);Object.defineProperty(m,"combineAll",{enumerable:!0,get:function(){return dn.combineAll}});var $n=s(86576);Object.defineProperty(m,"combineLatestAll",{enumerable:!0,get:function(){return $n.combineLatestAll}});var tr=s(71480);Object.defineProperty(m,"combineLatestWith",{enumerable:!0,get:function(){return tr.combineLatestWith}});var br=s(26608);Object.defineProperty(m,"concatAll",{enumerable:!0,get:function(){return br.concatAll}});var or=s(68584);Object.defineProperty(m,"concatMap",{enumerable:!0,get:function(){return or.concatMap}});var fi=s(38776);Object.defineProperty(m,"concatMapTo",{enumerable:!0,get:function(){return fi.concatMapTo}});var Cr=s(23332);Object.defineProperty(m,"concatWith",{enumerable:!0,get:function(){return Cr.concatWith}});var jr=s(59056);Object.defineProperty(m,"connect",{enumerable:!0,get:function(){return jr.connect}});var Yn=s(95572);Object.defineProperty(m,"count",{enumerable:!0,get:function(){return Yn.count}});var It=s(42568);Object.defineProperty(m,"debounce",{enumerable:!0,get:function(){return It.debounce}});var en=s(86275);Object.defineProperty(m,"debounceTime",{enumerable:!0,get:function(){return en.debounceTime}});var Ct=s(14707);Object.defineProperty(m,"defaultIfEmpty",{enumerable:!0,get:function(){return Ct.defaultIfEmpty}});var qe=s(99592);Object.defineProperty(m,"delay",{enumerable:!0,get:function(){return qe.delay}});var Nt=s(59304);Object.defineProperty(m,"delayWhen",{enumerable:!0,get:function(){return Nt.delayWhen}});var He=s(84204);Object.defineProperty(m,"dematerialize",{enumerable:!0,get:function(){return He.dematerialize}});var vt=s(51256);Object.defineProperty(m,"distinct",{enumerable:!0,get:function(){return vt.distinct}});var pt=s(21544);Object.defineProperty(m,"distinctUntilChanged",{enumerable:!0,get:function(){return pt.distinctUntilChanged}});var an=s(61544);Object.defineProperty(m,"distinctUntilKeyChanged",{enumerable:!0,get:function(){return an.distinctUntilKeyChanged}});var Ln=s(51808);Object.defineProperty(m,"elementAt",{enumerable:!0,get:function(){return Ln.elementAt}});var Vt=s(48568);Object.defineProperty(m,"endWith",{enumerable:!0,get:function(){return Vt.endWith}});var Sn=s(21592);Object.defineProperty(m,"every",{enumerable:!0,get:function(){return Sn.every}});var xe=s(53704);Object.defineProperty(m,"exhaust",{enumerable:!0,get:function(){return xe.exhaust}});var _t=s(34288);Object.defineProperty(m,"exhaustAll",{enumerable:!0,get:function(){return _t.exhaustAll}});var Pt=s(44632);Object.defineProperty(m,"exhaustMap",{enumerable:!0,get:function(){return Pt.exhaustMap}});var jt=s(84624);Object.defineProperty(m,"expand",{enumerable:!0,get:function(){return jt.expand}});var ar=s(39840);Object.defineProperty(m,"filter",{enumerable:!0,get:function(){return ar.filter}});var ur=s(99440);Object.defineProperty(m,"finalize",{enumerable:!0,get:function(){return ur.finalize}});var Tr=s(70939);Object.defineProperty(m,"find",{enumerable:!0,get:function(){return Tr.find}});var lr=s(69496);Object.defineProperty(m,"findIndex",{enumerable:!0,get:function(){return lr.findIndex}});var nr=s(11848);Object.defineProperty(m,"first",{enumerable:!0,get:function(){return nr.first}});var Nr=s(17909);Object.defineProperty(m,"groupBy",{enumerable:!0,get:function(){return Nr.groupBy}});var Ci=s(77392);Object.defineProperty(m,"ignoreElements",{enumerable:!0,get:function(){return Ci.ignoreElements}});var rn=s(73564);Object.defineProperty(m,"isEmpty",{enumerable:!0,get:function(){return rn.isEmpty}});var Vn=s(2696);Object.defineProperty(m,"last",{enumerable:!0,get:function(){return Vn.last}});var qn=s(784);Object.defineProperty(m,"map",{enumerable:!0,get:function(){return qn.map}});var dr=s(89224);Object.defineProperty(m,"mapTo",{enumerable:!0,get:function(){return dr.mapTo}});var ii=s(6832);Object.defineProperty(m,"materialize",{enumerable:!0,get:function(){return ii.materialize}});var Fr=s(34808);Object.defineProperty(m,"max",{enumerable:!0,get:function(){return Fr.max}});var at=s(50304);Object.defineProperty(m,"mergeAll",{enumerable:!0,get:function(){return at.mergeAll}});var xt=s(98924);Object.defineProperty(m,"flatMap",{enumerable:!0,get:function(){return xt.flatMap}});var Dt=s(33480);Object.defineProperty(m,"mergeMap",{enumerable:!0,get:function(){return Dt.mergeMap}});var sn=s(73232);Object.defineProperty(m,"mergeMapTo",{enumerable:!0,get:function(){return sn.mergeMapTo}});var gn=s(3380);Object.defineProperty(m,"mergeScan",{enumerable:!0,get:function(){return gn.mergeScan}});var wn=s(57308);Object.defineProperty(m,"mergeWith",{enumerable:!0,get:function(){return wn.mergeWith}});var Dn=s(87832);Object.defineProperty(m,"min",{enumerable:!0,get:function(){return Dn.min}});var sr=s(66752);Object.defineProperty(m,"multicast",{enumerable:!0,get:function(){return sr.multicast}});var Xn=s(33752);Object.defineProperty(m,"observeOn",{enumerable:!0,get:function(){return Xn.observeOn}});var xr=s(19184);Object.defineProperty(m,"onErrorResumeNextWith",{enumerable:!0,get:function(){return xr.onErrorResumeNextWith}});var Or=s(74612);Object.defineProperty(m,"pairwise",{enumerable:!0,get:function(){return Or.pairwise}});var Vr=s(64712);Object.defineProperty(m,"pluck",{enumerable:!0,get:function(){return Vr.pluck}});var Ir=s(70320);Object.defineProperty(m,"publish",{enumerable:!0,get:function(){return Ir.publish}});var Er=s(40360);Object.defineProperty(m,"publishBehavior",{enumerable:!0,get:function(){return Er.publishBehavior}});var un=s(64960);Object.defineProperty(m,"publishLast",{enumerable:!0,get:function(){return un.publishLast}});var x=s(23944);Object.defineProperty(m,"publishReplay",{enumerable:!0,get:function(){return x.publishReplay}});var F=s(53424);Object.defineProperty(m,"raceWith",{enumerable:!0,get:function(){return F.raceWith}});var Q=s(39980);Object.defineProperty(m,"reduce",{enumerable:!0,get:function(){return Q.reduce}});var De=s(90532);Object.defineProperty(m,"repeat",{enumerable:!0,get:function(){return De.repeat}});var me=s(15696);Object.defineProperty(m,"repeatWhen",{enumerable:!0,get:function(){return me.repeatWhen}});var q=s(584);Object.defineProperty(m,"retry",{enumerable:!0,get:function(){return q.retry}});var fe=s(46856);Object.defineProperty(m,"retryWhen",{enumerable:!0,get:function(){return fe.retryWhen}});var nt=s(60300);Object.defineProperty(m,"refCount",{enumerable:!0,get:function(){return nt.refCount}});var mt=s(64968);Object.defineProperty(m,"sample",{enumerable:!0,get:function(){return mt.sample}});var Et=s(97792);Object.defineProperty(m,"sampleTime",{enumerable:!0,get:function(){return Et.sampleTime}});var Ut=s(17752);Object.defineProperty(m,"scan",{enumerable:!0,get:function(){return Ut.scan}});var tn=s(43904);Object.defineProperty(m,"sequenceEqual",{enumerable:!0,get:function(){return tn.sequenceEqual}});var pn=s(95912);Object.defineProperty(m,"share",{enumerable:!0,get:function(){return pn.share}});var vn=s(20468);Object.defineProperty(m,"shareReplay",{enumerable:!0,get:function(){return vn.shareReplay}});var bn=s(43952);Object.defineProperty(m,"single",{enumerable:!0,get:function(){return bn.single}});var fn=s(98196);Object.defineProperty(m,"skip",{enumerable:!0,get:function(){return fn.skip}});var In=s(47832);Object.defineProperty(m,"skipLast",{enumerable:!0,get:function(){return In.skipLast}});var Bn=s(36840);Object.defineProperty(m,"skipUntil",{enumerable:!0,get:function(){return Bn.skipUntil}});var _r=s(49856);Object.defineProperty(m,"skipWhile",{enumerable:!0,get:function(){return _r.skipWhile}});var hr=s(59612);Object.defineProperty(m,"startWith",{enumerable:!0,get:function(){return hr.startWith}});var Lr=s(67992);Object.defineProperty(m,"subscribeOn",{enumerable:!0,get:function(){return Lr.subscribeOn}});var ti=s(63368);Object.defineProperty(m,"switchAll",{enumerable:!0,get:function(){return ti.switchAll}});var st=s(39876);Object.defineProperty(m,"switchMap",{enumerable:!0,get:function(){return st.switchMap}});var co=s(57168);Object.defineProperty(m,"switchMapTo",{enumerable:!0,get:function(){return co.switchMapTo}});var Ri=s(19980);Object.defineProperty(m,"switchScan",{enumerable:!0,get:function(){return Ri.switchScan}});var Ur=s(38120);Object.defineProperty(m,"take",{enumerable:!0,get:function(){return Ur.take}});var xn=s(32224);Object.defineProperty(m,"takeLast",{enumerable:!0,get:function(){return xn.takeLast}});var Jn=s(91540);Object.defineProperty(m,"takeUntil",{enumerable:!0,get:function(){return Jn.takeUntil}});var Gr=s(35408);Object.defineProperty(m,"takeWhile",{enumerable:!0,get:function(){return Gr.takeWhile}});var jn=s(46748);Object.defineProperty(m,"tap",{enumerable:!0,get:function(){return jn.tap}});var pi=s(66720);Object.defineProperty(m,"throttle",{enumerable:!0,get:function(){return pi.throttle}});var Zi=s(44236);Object.defineProperty(m,"throttleTime",{enumerable:!0,get:function(){return Zi.throttleTime}});var qr=s(51056);Object.defineProperty(m,"throwIfEmpty",{enumerable:!0,get:function(){return qr.throwIfEmpty}});var oi=s(39500);Object.defineProperty(m,"timeInterval",{enumerable:!0,get:function(){return oi.timeInterval}});var ni=s(20268);Object.defineProperty(m,"timeout",{enumerable:!0,get:function(){return ni.timeout}});var ji=s(88536);Object.defineProperty(m,"timeoutWith",{enumerable:!0,get:function(){return ji.timeoutWith}});var yr=s(37248);Object.defineProperty(m,"timestamp",{enumerable:!0,get:function(){return yr.timestamp}});var Ji=s(29316);Object.defineProperty(m,"toArray",{enumerable:!0,get:function(){return Ji.toArray}});var Do=s(40560);Object.defineProperty(m,"window",{enumerable:!0,get:function(){return Do.window}});var vo=s(79068);Object.defineProperty(m,"windowCount",{enumerable:!0,get:function(){return vo.windowCount}});var ri=s(11984);Object.defineProperty(m,"windowTime",{enumerable:!0,get:function(){return ri.windowTime}});var ro=s(97776);Object.defineProperty(m,"windowToggle",{enumerable:!0,get:function(){return ro.windowToggle}});var Rr=s(36872);Object.defineProperty(m,"windowWhen",{enumerable:!0,get:function(){return Rr.windowWhen}});var oo=s(95780);Object.defineProperty(m,"withLatestFrom",{enumerable:!0,get:function(){return oo.withLatestFrom}});var Pn=s(71120);Object.defineProperty(m,"zipAll",{enumerable:!0,get:function(){return Pn.zipAll}});var bo=s(56824);Object.defineProperty(m,"zipWith",{enumerable:!0,get:function(){return bo.zipWith}})},70408:function(pe,m,s){"use strict";var n=this&&this.__extends||function(){var l=function(i,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,d){o.__proto__=d}||function(o,d){for(var v in d)Object.prototype.hasOwnProperty.call(d,v)&&(o[v]=d[v])})(i,e)};return function(i,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=i}l(i,e),i.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}}();Object.defineProperty(m,"__esModule",{value:!0}),m.AsyncSubject=void 0;var u=function(l){function i(){var e=null!==l&&l.apply(this,arguments)||this;return e._value=null,e._hasValue=!1,e._isComplete=!1,e}return n(i,l),i.prototype._checkFinalizedStatuses=function(e){var o=this,v=o._hasValue,M=o._value,E=o.isStopped,S=o._isComplete;o.hasError?e.error(o.thrownError):(E||S)&&(v&&e.next(M),e.complete())},i.prototype.next=function(e){this.isStopped||(this._value=e,this._hasValue=!0)},i.prototype.complete=function(){var e=this,o=e._hasValue,d=e._value;e._isComplete||(this._isComplete=!0,o&&l.prototype.next.call(this,d),l.prototype.complete.call(this))},i}(s(90120).Subject);m.AsyncSubject=u},60488:function(pe,m,s){"use strict";var n=this&&this.__extends||function(){var l=function(i,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,d){o.__proto__=d}||function(o,d){for(var v in d)Object.prototype.hasOwnProperty.call(d,v)&&(o[v]=d[v])})(i,e)};return function(i,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=i}l(i,e),i.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}}();Object.defineProperty(m,"__esModule",{value:!0}),m.BehaviorSubject=void 0;var u=function(l){function i(e){var o=l.call(this)||this;return o._value=e,o}return n(i,l),Object.defineProperty(i.prototype,"value",{get:function(){return this.getValue()},enumerable:!1,configurable:!0}),i.prototype._subscribe=function(e){var o=l.prototype._subscribe.call(this,e);return!o.closed&&e.next(this._value),o},i.prototype.getValue=function(){var e=this,v=e._value;if(e.hasError)throw e.thrownError;return this._throwIfClosed(),v},i.prototype.next=function(e){l.prototype.next.call(this,this._value=e)},i}(s(90120).Subject);m.BehaviorSubject=u},12032:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.observeNotification=m.Notification=m.NotificationKind=void 0;var d,n=s(31456),c=s(41536),u=s(3312),l=s(82360);(d=m.NotificationKind||(m.NotificationKind={})).NEXT="N",d.ERROR="E",d.COMPLETE="C";var e=function(){function d(v,M,p){this.kind=v,this.value=M,this.error=p,this.hasValue="N"===v}return d.prototype.observe=function(v){return o(this,v)},d.prototype.do=function(v,M,p){var E=this,S=E.kind,y=E.value,f=E.error;return"N"===S?v?.(y):"E"===S?M?.(f):p?.()},d.prototype.accept=function(v,M,p){var E;return l.isFunction(null===(E=v)||void 0===E?void 0:E.next)?this.observe(v):this.do(v,M,p)},d.prototype.toObservable=function(){var v=this,M=v.kind,E=v.error,S="N"===M?c.of(v.value):"E"===M?u.throwError(function(){return E}):"C"===M?n.EMPTY:0;if(!S)throw new TypeError("Unexpected notification kind "+M);return S},d.createNext=function(v){return new d("N",v)},d.createError=function(v){return new d("E",void 0,v)},d.createComplete=function(){return d.completeNotification},d.completeNotification=new d("C"),d}();function o(d,v){var M,p,E,y=d.kind,f=d.value,C=d.error;if("string"!=typeof y)throw new TypeError('Invalid notification, missing "kind"');"N"===y?null===(M=v.next)||void 0===M||M.call(v,f):"E"===y?null===(p=v.error)||void 0===p||p.call(v,C):null===(E=v.complete)||void 0===E||E.call(v)}m.Notification=e,m.observeNotification=o},62640:(pe,m)=>{"use strict";function c(u,l,i){return{kind:u,value:l,error:i}}Object.defineProperty(m,"__esModule",{value:!0}),m.createNotification=m.nextNotification=m.errorNotification=m.COMPLETE_NOTIFICATION=void 0,m.COMPLETE_NOTIFICATION=c("C",void 0,void 0),m.errorNotification=function s(u){return c("E",void 0,u)},m.nextNotification=function n(u){return c("N",u,void 0)},m.createNotification=c},15448:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.Observable=void 0;var n=s(41596),c=s(40576),u=s(72064),l=s(19512),i=s(90584),e=s(82360),o=s(49664),d=function(){function E(S){S&&(this._subscribe=S)}return E.prototype.lift=function(S){var y=new E;return y.source=this,y.operator=S,y},E.prototype.subscribe=function(S,y,f){var C=this,_=function p(E){return E&&E instanceof n.Subscriber||function M(E){return E&&e.isFunction(E.next)&&e.isFunction(E.error)&&e.isFunction(E.complete)}(E)&&c.isSubscription(E)}(S)?S:new n.SafeSubscriber(S,y,f);return o.errorContext(function(){var D=C.operator,L=C.source;_.add(D?D.call(_,L):L?C._subscribe(_):C._trySubscribe(_))}),_},E.prototype._trySubscribe=function(S){try{return this._subscribe(S)}catch(y){S.error(y)}},E.prototype.forEach=function(S,y){var f=this;return new(y=v(y))(function(C,_){var w=new n.SafeSubscriber({next:function(D){try{S(D)}catch(L){_(L),w.unsubscribe()}},error:_,complete:C});f.subscribe(w)})},E.prototype._subscribe=function(S){var y;return null===(y=this.source)||void 0===y?void 0:y.subscribe(S)},E.prototype[u.observable]=function(){return this},E.prototype.pipe=function(){for(var S=[],y=0;y{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.Scheduler=void 0;var n=s(8764),c=function(){function u(l,i){void 0===i&&(i=u.now),this.schedulerActionCtor=l,this.now=i}return u.prototype.schedule=function(l,i,e){return void 0===i&&(i=0),new this.schedulerActionCtor(this,l).schedule(e,i)},u.now=n.dateTimestampProvider.now,u}();m.Scheduler=c},90120:function(pe,m,s){"use strict";var n=this&&this.__extends||function(){var M=function(p,E){return(M=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(S,y){S.__proto__=y}||function(S,y){for(var f in y)Object.prototype.hasOwnProperty.call(y,f)&&(S[f]=y[f])})(p,E)};return function(p,E){if("function"!=typeof E&&null!==E)throw new TypeError("Class extends value "+String(E)+" is not a constructor or null");function S(){this.constructor=p}M(p,E),p.prototype=null===E?Object.create(E):(S.prototype=E.prototype,new S)}}(),c=this&&this.__values||function(M){var p="function"==typeof Symbol&&Symbol.iterator,E=p&&M[p],S=0;if(E)return E.call(M);if(M&&"number"==typeof M.length)return{next:function(){return M&&S>=M.length&&(M=void 0),{value:M&&M[S++],done:!M}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(m,"__esModule",{value:!0}),m.AnonymousSubject=m.Subject=void 0;var u=s(15448),l=s(40576),i=s(92304),e=s(39852),o=s(49664),d=function(M){function p(){var E=M.call(this)||this;return E.closed=!1,E.currentObservers=null,E.observers=[],E.isStopped=!1,E.hasError=!1,E.thrownError=null,E}return n(p,M),p.prototype.lift=function(E){var S=new v(this,this);return S.operator=E,S},p.prototype._throwIfClosed=function(){if(this.closed)throw new i.ObjectUnsubscribedError},p.prototype.next=function(E){var S=this;o.errorContext(function(){var y,f;if(S._throwIfClosed(),!S.isStopped){S.currentObservers||(S.currentObservers=Array.from(S.observers));try{for(var C=c(S.currentObservers),_=C.next();!_.done;_=C.next())_.value.next(E)}catch(D){y={error:D}}finally{try{_&&!_.done&&(f=C.return)&&f.call(C)}finally{if(y)throw y.error}}}})},p.prototype.error=function(E){var S=this;o.errorContext(function(){if(S._throwIfClosed(),!S.isStopped){S.hasError=S.isStopped=!0,S.thrownError=E;for(var y=S.observers;y.length;)y.shift().error(E)}})},p.prototype.complete=function(){var E=this;o.errorContext(function(){if(E._throwIfClosed(),!E.isStopped){E.isStopped=!0;for(var S=E.observers;S.length;)S.shift().complete()}})},p.prototype.unsubscribe=function(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null},Object.defineProperty(p.prototype,"observed",{get:function(){var E;return(null===(E=this.observers)||void 0===E?void 0:E.length)>0},enumerable:!1,configurable:!0}),p.prototype._trySubscribe=function(E){return this._throwIfClosed(),M.prototype._trySubscribe.call(this,E)},p.prototype._subscribe=function(E){return this._throwIfClosed(),this._checkFinalizedStatuses(E),this._innerSubscribe(E)},p.prototype._innerSubscribe=function(E){var S=this,y=this,_=y.observers;return y.hasError||y.isStopped?l.EMPTY_SUBSCRIPTION:(this.currentObservers=null,_.push(E),new l.Subscription(function(){S.currentObservers=null,e.arrRemove(_,E)}))},p.prototype._checkFinalizedStatuses=function(E){var S=this,C=S.isStopped;S.hasError?E.error(S.thrownError):C&&E.complete()},p.prototype.asObservable=function(){var E=new u.Observable;return E.source=this,E},p.create=function(E,S){return new v(E,S)},p}(u.Observable);m.Subject=d;var v=function(M){function p(E,S){var y=M.call(this)||this;return y.destination=E,y.source=S,y}return n(p,M),p.prototype.next=function(E){var S,y;null===(y=null===(S=this.destination)||void 0===S?void 0:S.next)||void 0===y||y.call(S,E)},p.prototype.error=function(E){var S,y;null===(y=null===(S=this.destination)||void 0===S?void 0:S.error)||void 0===y||y.call(S,E)},p.prototype.complete=function(){var E,S;null===(S=null===(E=this.destination)||void 0===E?void 0:E.complete)||void 0===S||S.call(E)},p.prototype._subscribe=function(E){var S,y;return null!==(y=null===(S=this.source)||void 0===S?void 0:S.subscribe(E))&&void 0!==y?y:l.EMPTY_SUBSCRIPTION},p}(d);m.AnonymousSubject=v},41596:function(pe,m,s){"use strict";var n=this&&this.__extends||function(){var w=function(D,L){return(w=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(N,V){N.__proto__=V}||function(N,V){for(var G in V)Object.prototype.hasOwnProperty.call(V,G)&&(N[G]=V[G])})(D,L)};return function(D,L){if("function"!=typeof L&&null!==L)throw new TypeError("Class extends value "+String(L)+" is not a constructor or null");function N(){this.constructor=D}w(D,L),D.prototype=null===L?Object.create(L):(N.prototype=L.prototype,new N)}}();Object.defineProperty(m,"__esModule",{value:!0}),m.EMPTY_OBSERVER=m.SafeSubscriber=m.Subscriber=void 0;var c=s(82360),u=s(40576),l=s(90584),i=s(50131),e=s(48320),o=s(62640),d=s(82480),v=s(49664),M=function(w){function D(L){var N=w.call(this)||this;return N.isStopped=!1,L?(N.destination=L,u.isSubscription(L)&&L.add(N)):N.destination=m.EMPTY_OBSERVER,N}return n(D,w),D.create=function(L,N,V){return new y(L,N,V)},D.prototype.next=function(L){this.isStopped?_(o.nextNotification(L),this):this._next(L)},D.prototype.error=function(L){this.isStopped?_(o.errorNotification(L),this):(this.isStopped=!0,this._error(L))},D.prototype.complete=function(){this.isStopped?_(o.COMPLETE_NOTIFICATION,this):(this.isStopped=!0,this._complete())},D.prototype.unsubscribe=function(){this.closed||(this.isStopped=!0,w.prototype.unsubscribe.call(this),this.destination=null)},D.prototype._next=function(L){this.destination.next(L)},D.prototype._error=function(L){try{this.destination.error(L)}finally{this.unsubscribe()}},D.prototype._complete=function(){try{this.destination.complete()}finally{this.unsubscribe()}},D}(u.Subscription);m.Subscriber=M;var p=Function.prototype.bind;function E(w,D){return p.call(w,D)}var S=function(){function w(D){this.partialObserver=D}return w.prototype.next=function(D){var L=this.partialObserver;if(L.next)try{L.next(D)}catch(N){f(N)}},w.prototype.error=function(D){var L=this.partialObserver;if(L.error)try{L.error(D)}catch(N){f(N)}else f(D)},w.prototype.complete=function(){var D=this.partialObserver;if(D.complete)try{D.complete()}catch(L){f(L)}},w}(),y=function(w){function D(L,N,V){var R,k,G=w.call(this)||this;return c.isFunction(L)||!L?R={next:L??void 0,error:N??void 0,complete:V??void 0}:G&&l.config.useDeprecatedNextContext?((k=Object.create(L)).unsubscribe=function(){return G.unsubscribe()},R={next:L.next&&E(L.next,k),error:L.error&&E(L.error,k),complete:L.complete&&E(L.complete,k)}):R=L,G.destination=new S(R),G}return n(D,w),D}(M);function f(w){l.config.useDeprecatedSynchronousErrorHandling?v.captureError(w):i.reportUnhandledError(w)}function _(w,D){var L=l.config.onStoppedNotification;L&&d.timeoutProvider.setTimeout(function(){return L(w,D)})}m.SafeSubscriber=y,m.EMPTY_OBSERVER={closed:!0,next:e.noop,error:function C(w){throw w},complete:e.noop}},40576:function(pe,m,s){"use strict";var n=this&&this.__values||function(M){var p="function"==typeof Symbol&&Symbol.iterator,E=p&&M[p],S=0;if(E)return E.call(M);if(M&&"number"==typeof M.length)return{next:function(){return M&&S>=M.length&&(M=void 0),{value:M&&M[S++],done:!M}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")},c=this&&this.__read||function(M,p){var E="function"==typeof Symbol&&M[Symbol.iterator];if(!E)return M;var y,C,S=E.call(M),f=[];try{for(;(void 0===p||p-- >0)&&!(y=S.next()).done;)f.push(y.value)}catch(_){C={error:_}}finally{try{y&&!y.done&&(E=S.return)&&E.call(S)}finally{if(C)throw C.error}}return f},u=this&&this.__spreadArray||function(M,p){for(var E=0,S=p.length,y=M.length;E{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.config=void 0,m.config={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},79632:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.firstValueFrom=void 0;var n=s(51544),c=s(41596);m.firstValueFrom=function u(l,i){var e="object"==typeof i;return new Promise(function(o,d){var v=new c.SafeSubscriber({next:function(M){o(M),v.unsubscribe()},error:d,complete:function(){e?o(i.defaultValue):d(new n.EmptyError)}});l.subscribe(v)})}},59452:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.lastValueFrom=void 0;var n=s(51544);m.lastValueFrom=function c(u,l){var i="object"==typeof l;return new Promise(function(e,o){var v,d=!1;u.subscribe({next:function(M){v=M,d=!0},error:o,complete:function(){d?e(v):i?e(l.defaultValue):o(new n.EmptyError)}})})}},42416:function(pe,m,s){"use strict";var n=this&&this.__extends||function(){var d=function(v,M){return(d=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(p,E){p.__proto__=E}||function(p,E){for(var S in E)Object.prototype.hasOwnProperty.call(E,S)&&(p[S]=E[S])})(v,M)};return function(v,M){if("function"!=typeof M&&null!==M)throw new TypeError("Class extends value "+String(M)+" is not a constructor or null");function p(){this.constructor=v}d(v,M),v.prototype=null===M?Object.create(M):(p.prototype=M.prototype,new p)}}();Object.defineProperty(m,"__esModule",{value:!0}),m.ConnectableObservable=void 0;var c=s(15448),u=s(40576),l=s(60300),i=s(35744),e=s(66080),o=function(d){function v(M,p){var E=d.call(this)||this;return E.source=M,E.subjectFactory=p,E._subject=null,E._refCount=0,E._connection=null,e.hasLift(M)&&(E.lift=M.lift),E}return n(v,d),v.prototype._subscribe=function(M){return this.getSubject().subscribe(M)},v.prototype.getSubject=function(){var M=this._subject;return(!M||M.isStopped)&&(this._subject=this.subjectFactory()),this._subject},v.prototype._teardown=function(){this._refCount=0;var M=this._connection;this._subject=this._connection=null,M?.unsubscribe()},v.prototype.connect=function(){var M=this,p=this._connection;if(!p){p=this._connection=new u.Subscription;var E=this.getSubject();p.add(this.source.subscribe(i.createOperatorSubscriber(E,void 0,function(){M._teardown(),E.complete()},function(S){M._teardown(),E.error(S)},function(){return M._teardown()}))),p.closed&&(this._connection=null,p=u.Subscription.EMPTY)}return p},v.prototype.refCount=function(){return l.refCount()(this)},v}(c.Observable);m.ConnectableObservable=o},1856:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.bindCallback=void 0;var n=s(98140);m.bindCallback=function c(u,l,i){return n.bindCallbackInternals(!1,u,l,i)}},98140:function(pe,m,s){"use strict";var n=this&&this.__read||function(M,p){var E="function"==typeof Symbol&&M[Symbol.iterator];if(!E)return M;var y,C,S=E.call(M),f=[];try{for(;(void 0===p||p-- >0)&&!(y=S.next()).done;)f.push(y.value)}catch(_){C={error:_}}finally{try{y&&!y.done&&(E=S.return)&&E.call(S)}finally{if(C)throw C.error}}return f},c=this&&this.__spreadArray||function(M,p){for(var E=0,S=p.length,y=M.length;E{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.bindNodeCallback=void 0;var n=s(98140);m.bindNodeCallback=function c(u,l,i){return n.bindCallbackInternals(!0,u,l,i)}},60128:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.combineLatestInit=m.combineLatest=void 0;var n=s(15448),c=s(75352),u=s(38485),l=s(55184),i=s(82664),e=s(69724),o=s(7788),d=s(35744),v=s(61760);function p(S,y,f){return void 0===f&&(f=l.identity),function(C){E(y,function(){for(var _=S.length,w=new Array(_),D=_,L=_,N=function(G){E(y,function(){var R=u.from(S[G],y),k=!1;R.subscribe(d.createOperatorSubscriber(C,function(A){w[G]=A,k||(k=!0,L--),L||C.next(f(w.slice()))},function(){--D||C.complete()}))},C)},V=0;V<_;V++)N(V)},C)}}function E(S,y,f){S?v.executeSchedule(f,S,y):y()}m.combineLatest=function M(){for(var S=[],y=0;y{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.concat=void 0;var n=s(26608),c=s(69724),u=s(38485);m.concat=function l(){for(var i=[],e=0;e{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.connectable=void 0;var n=s(90120),c=s(15448),u=s(71896),l={connector:function(){return new n.Subject},resetOnDisconnect:!0};m.connectable=function i(e,o){void 0===o&&(o=l);var d=null,v=o.connector,M=o.resetOnDisconnect,p=void 0===M||M,E=v(),S=new c.Observable(function(y){return E.subscribe(y)});return S.connect=function(){return(!d||d.closed)&&(d=u.defer(function(){return e}).subscribe(E),p&&d.add(function(){return E=v()})),d},S}},71896:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.defer=void 0;var n=s(15448),c=s(81280);m.defer=function u(l){return new n.Observable(function(i){c.innerFrom(l()).subscribe(i)})}},72444:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.animationFrames=void 0;var n=s(15448),c=s(68424),u=s(24352);function i(o){return new n.Observable(function(d){var v=o||c.performanceTimestampProvider,M=v.now(),p=0,E=function(){d.closed||(p=u.animationFrameProvider.requestAnimationFrame(function(S){p=0;var y=v.now();d.next({timestamp:o?y:S,elapsed:y-M}),E()}))};return E(),function(){p&&u.animationFrameProvider.cancelAnimationFrame(p)}})}m.animationFrames=function l(o){return o?i(o):e};var e=i()},31456:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.empty=m.EMPTY=void 0;var n=s(15448);m.EMPTY=new n.Observable(function(l){return l.complete()}),m.empty=function c(l){return l?function u(l){return new n.Observable(function(i){return l.schedule(function(){return i.complete()})})}(l):m.EMPTY}},93052:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.forkJoin=void 0;var n=s(15448),c=s(75352),u=s(81280),l=s(69724),i=s(35744),e=s(82664),o=s(7788);m.forkJoin=function d(){for(var v=[],M=0;M{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.from=void 0;var n=s(44232),c=s(81280);m.from=function u(l,i){return i?n.scheduled(l,i):c.innerFrom(l)}},85e3:function(pe,m,s){"use strict";var n=this&&this.__read||function(C,_){var w="function"==typeof Symbol&&C[Symbol.iterator];if(!w)return C;var L,V,D=w.call(C),N=[];try{for(;(void 0===_||_-- >0)&&!(L=D.next()).done;)N.push(L.value)}catch(G){V={error:G}}finally{try{L&&!L.done&&(w=D.return)&&w.call(D)}finally{if(V)throw V.error}}return N};Object.defineProperty(m,"__esModule",{value:!0}),m.fromEvent=void 0;var c=s(81280),u=s(15448),l=s(33480),i=s(18224),e=s(82360),o=s(82664),d=["addListener","removeListener"],v=["addEventListener","removeEventListener"],M=["on","off"];function E(C,_){return function(w){return function(D){return C[w](_,D)}}}m.fromEvent=function p(C,_,w,D){if(e.isFunction(w)&&(D=w,w=void 0),D)return p(C,_,w).pipe(o.mapOneOrManyArgs(D));var L=n(function f(C){return e.isFunction(C.addEventListener)&&e.isFunction(C.removeEventListener)}(C)?v.map(function(G){return function(R){return C[G](_,R,w)}}):function S(C){return e.isFunction(C.addListener)&&e.isFunction(C.removeListener)}(C)?d.map(E(C,_)):function y(C){return e.isFunction(C.on)&&e.isFunction(C.off)}(C)?M.map(E(C,_)):[],2),N=L[0],V=L[1];if(!N&&i.isArrayLike(C))return l.mergeMap(function(G){return p(G,_,w)})(c.innerFrom(C));if(!N)throw new TypeError("Invalid event target");return new u.Observable(function(G){var R=function(){for(var k=[],A=0;A{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.fromEventPattern=void 0;var n=s(15448),c=s(82360),u=s(82664);m.fromEventPattern=function l(i,e,o){return o?l(i,e).pipe(u.mapOneOrManyArgs(o)):new n.Observable(function(d){var v=function(){for(var p=[],E=0;E{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.fromSubscribable=void 0;var n=s(15448);m.fromSubscribable=function c(u){return new n.Observable(function(l){return u.subscribe(l)})}},92560:function(pe,m,s){"use strict";var n=this&&this.__generator||function(o,d){var M,p,E,S,v={label:0,sent:function(){if(1&E[0])throw E[1];return E[1]},trys:[],ops:[]};return S={next:y(0),throw:y(1),return:y(2)},"function"==typeof Symbol&&(S[Symbol.iterator]=function(){return this}),S;function y(C){return function(_){return function f(C){if(M)throw new TypeError("Generator is already executing.");for(;v;)try{if(M=1,p&&(E=2&C[0]?p.return:C[0]?p.throw||((E=p.return)&&E.call(p),0):p.next)&&!(E=E.call(p,C[1])).done)return E;switch(p=0,E&&(C=[2&C[0],E.value]),C[0]){case 0:case 1:E=C;break;case 4:return v.label++,{value:C[1],done:!1};case 5:v.label++,p=C[1],C=[0];continue;case 7:C=v.ops.pop(),v.trys.pop();continue;default:if(!(E=(E=v.trys).length>0&&E[E.length-1])&&(6===C[0]||2===C[0])){v=0;continue}if(3===C[0]&&(!E||C[1]>E[0]&&C[1]{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.iif=void 0;var n=s(71896);m.iif=function c(u,l,i){return n.defer(function(){return u()?l:i})}},81280:function(pe,m,s){"use strict";var n=this&&this.__awaiter||function(R,k,A,H){return new(A||(A=Promise))(function(ie,J){function be(ct){try{Ge(H.next(ct))}catch(Oe){J(Oe)}}function ce(ct){try{Ge(H.throw(ct))}catch(Oe){J(Oe)}}function Ge(ct){ct.done?ie(ct.value):function K(ie){return ie instanceof A?ie:new A(function(J){J(ie)})}(ct.value).then(be,ce)}Ge((H=H.apply(R,k||[])).next())})},c=this&&this.__generator||function(R,k){var H,K,ie,J,A={label:0,sent:function(){if(1&ie[0])throw ie[1];return ie[1]},trys:[],ops:[]};return J={next:be(0),throw:be(1),return:be(2)},"function"==typeof Symbol&&(J[Symbol.iterator]=function(){return this}),J;function be(Ge){return function(ct){return function ce(Ge){if(H)throw new TypeError("Generator is already executing.");for(;A;)try{if(H=1,K&&(ie=2&Ge[0]?K.return:Ge[0]?K.throw||((ie=K.return)&&ie.call(K),0):K.next)&&!(ie=ie.call(K,Ge[1])).done)return ie;switch(K=0,ie&&(Ge=[2&Ge[0],ie.value]),Ge[0]){case 0:case 1:ie=Ge;break;case 4:return A.label++,{value:Ge[1],done:!1};case 5:A.label++,K=Ge[1],Ge=[0];continue;case 7:Ge=A.ops.pop(),A.trys.pop();continue;default:if(!(ie=(ie=A.trys).length>0&&ie[ie.length-1])&&(6===Ge[0]||2===Ge[0])){A=0;continue}if(3===Ge[0]&&(!ie||Ge[1]>ie[0]&&Ge[1]=R.length&&(R=void 0),{value:R&&R[H++],done:!R}}};throw new TypeError(k?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(m,"__esModule",{value:!0}),m.fromReadableStreamLike=m.fromAsyncIterable=m.fromIterable=m.fromPromise=m.fromArrayLike=m.fromInteropObservable=m.innerFrom=void 0;var i=s(18224),e=s(28296),o=s(15448),d=s(18440),v=s(37156),M=s(34088),p=s(30640),E=s(11416),S=s(82360),y=s(50131),f=s(72064);function _(R){return new o.Observable(function(k){var A=R[f.observable]();if(S.isFunction(A.subscribe))return A.subscribe(k);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}function w(R){return new o.Observable(function(k){for(var A=0;A{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.interval=void 0;var n=s(69252),c=s(34168);m.interval=function u(l,i){return void 0===l&&(l=0),void 0===i&&(i=n.asyncScheduler),l<0&&(l=0),c.timer(l,l,i)}},14152:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.merge=void 0;var n=s(50304),c=s(81280),u=s(31456),l=s(69724),i=s(38485);m.merge=function e(){for(var o=[],d=0;d{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.never=m.NEVER=void 0;var n=s(15448),c=s(48320);m.NEVER=new n.Observable(c.noop),m.never=function u(){return m.NEVER}},41536:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.of=void 0;var n=s(69724),c=s(38485);m.of=function u(){for(var l=[],i=0;i{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.onErrorResumeNext=void 0;var n=s(15448),c=s(50652),u=s(35744),l=s(48320),i=s(81280);m.onErrorResumeNext=function e(){for(var o=[],d=0;d{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.pairs=void 0;var n=s(38485);m.pairs=function c(u,l){return n.from(Object.entries(u),l)}},91792:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.partition=void 0;var n=s(37700),c=s(39840),u=s(81280);m.partition=function l(i,e,o){return[c.filter(e,o)(u.innerFrom(i)),c.filter(n.not(e,o))(u.innerFrom(i))]}},84048:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.raceInit=m.race=void 0;var n=s(15448),c=s(81280),u=s(50652),l=s(35744);function e(o){return function(d){for(var v=[],M=function(E){v.push(c.innerFrom(o[E]).subscribe(l.createOperatorSubscriber(d,function(S){if(v){for(var y=0;y{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.range=void 0;var n=s(15448),c=s(31456);m.range=function u(l,i,e){if(null==i&&(i=l,l=0),i<=0)return c.EMPTY;var o=i+l;return new n.Observable(e?function(d){var v=l;return e.schedule(function(){v{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.throwError=void 0;var n=s(15448),c=s(82360);m.throwError=function u(l,i){var e=c.isFunction(l)?l:function(){return l},o=function(d){return d.error(e())};return new n.Observable(i?function(d){return i.schedule(o,0,d)}:o)}},34168:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.timer=void 0;var n=s(15448),c=s(69252),u=s(76964),l=s(42384);m.timer=function i(e,o,d){void 0===e&&(e=0),void 0===d&&(d=c.async);var v=-1;return null!=o&&(u.isScheduler(o)?d=o:v=o),new n.Observable(function(M){var p=l.isValidDate(e)?+e-d.now():e;p<0&&(p=0);var E=0;return d.schedule(function(){M.closed||(M.next(E++),0<=v?this.schedule(void 0,v):M.complete())},p)})}},28684:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.using=void 0;var n=s(15448),c=s(81280),u=s(31456);m.using=function l(i,e){return new n.Observable(function(o){var d=i(),v=e(d);return(v?c.innerFrom(v):u.EMPTY).subscribe(o),function(){d&&d.unsubscribe()}})}},59172:function(pe,m,s){"use strict";var n=this&&this.__read||function(M,p){var E="function"==typeof Symbol&&M[Symbol.iterator];if(!E)return M;var y,C,S=E.call(M),f=[];try{for(;(void 0===p||p-- >0)&&!(y=S.next()).done;)f.push(y.value)}catch(_){C={error:_}}finally{try{y&&!y.done&&(E=S.return)&&E.call(S)}finally{if(C)throw C.error}}return f},c=this&&this.__spreadArray||function(M,p){for(var E=0,S=p.length,y=M.length;E{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.audit=void 0;var n=s(66080),c=s(81280),u=s(35744);m.audit=function l(i){return n.operate(function(e,o){var d=!1,v=null,M=null,p=!1,E=function(){if(M?.unsubscribe(),M=null,d){d=!1;var y=v;v=null,o.next(y)}p&&o.complete()},S=function(){M=null,p&&o.complete()};e.subscribe(u.createOperatorSubscriber(o,function(y){d=!0,v=y,M||c.innerFrom(i(y)).subscribe(M=u.createOperatorSubscriber(o,E,S))},function(){p=!0,(!d||!M||M.closed)&&o.complete()}))})}},1393:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.auditTime=void 0;var n=s(69252),c=s(18380),u=s(34168);m.auditTime=function l(i,e){return void 0===e&&(e=n.asyncScheduler),c.audit(function(){return u.timer(i,e)})}},42744:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.buffer=void 0;var n=s(66080),c=s(48320),u=s(35744),l=s(81280);m.buffer=function i(e){return n.operate(function(o,d){var v=[];return o.subscribe(u.createOperatorSubscriber(d,function(M){return v.push(M)},function(){d.next(v),d.complete()})),l.innerFrom(e).subscribe(u.createOperatorSubscriber(d,function(){var M=v;v=[],d.next(M)},c.noop)),function(){v=null}})}},57864:function(pe,m,s){"use strict";var n=this&&this.__values||function(e){var o="function"==typeof Symbol&&Symbol.iterator,d=o&&e[o],v=0;if(d)return d.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&v>=e.length&&(e=void 0),{value:e&&e[v++],done:!e}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(m,"__esModule",{value:!0}),m.bufferCount=void 0;var c=s(66080),u=s(35744),l=s(39852);m.bufferCount=function i(e,o){return void 0===o&&(o=null),o=o??e,c.operate(function(d,v){var M=[],p=0;d.subscribe(u.createOperatorSubscriber(v,function(E){var S,y,f,C,_=null;p++%o==0&&M.push([]);try{for(var w=n(M),D=w.next();!D.done;D=w.next())(L=D.value).push(E),e<=L.length&&(_=_??[]).push(L)}catch(G){S={error:G}}finally{try{D&&!D.done&&(y=w.return)&&y.call(w)}finally{if(S)throw S.error}}if(_)try{for(var N=n(_),V=N.next();!V.done;V=N.next()){var L;l.arrRemove(M,L=V.value),v.next(L)}}catch(G){f={error:G}}finally{try{V&&!V.done&&(C=N.return)&&C.call(N)}finally{if(f)throw f.error}}},function(){var E,S;try{for(var y=n(M),f=y.next();!f.done;f=y.next())v.next(f.value)}catch(_){E={error:_}}finally{try{f&&!f.done&&(S=y.return)&&S.call(y)}finally{if(E)throw E.error}}v.complete()},void 0,function(){M=null}))})}},42704:function(pe,m,s){"use strict";var n=this&&this.__values||function(M){var p="function"==typeof Symbol&&Symbol.iterator,E=p&&M[p],S=0;if(E)return E.call(M);if(M&&"number"==typeof M.length)return{next:function(){return M&&S>=M.length&&(M=void 0),{value:M&&M[S++],done:!M}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(m,"__esModule",{value:!0}),m.bufferTime=void 0;var c=s(40576),u=s(66080),l=s(35744),i=s(39852),e=s(69252),o=s(69724),d=s(61760);m.bufferTime=function v(M){for(var p,E,S=[],y=1;y=0?d.executeSchedule(D,f,G,C,!0):N=!0,G();var R=l.createOperatorSubscriber(D,function(k){var A,H,K=L.slice();try{for(var ie=n(K),J=ie.next();!J.done;J=ie.next()){var be=J.value,ce=be.buffer;ce.push(k),_<=ce.length&&V(be)}}catch(Ge){A={error:Ge}}finally{try{J&&!J.done&&(H=ie.return)&&H.call(ie)}finally{if(A)throw A.error}}},function(){for(;L?.length;)D.next(L.shift().buffer);R?.unsubscribe(),D.complete(),D.unsubscribe()},void 0,function(){return L=null});w.subscribe(R)})}},21964:function(pe,m,s){"use strict";var n=this&&this.__values||function(v){var M="function"==typeof Symbol&&Symbol.iterator,p=M&&v[M],E=0;if(p)return p.call(v);if(v&&"number"==typeof v.length)return{next:function(){return v&&E>=v.length&&(v=void 0),{value:v&&v[E++],done:!v}}};throw new TypeError(M?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(m,"__esModule",{value:!0}),m.bufferToggle=void 0;var c=s(40576),u=s(66080),l=s(81280),i=s(35744),e=s(48320),o=s(39852);m.bufferToggle=function d(v,M){return u.operate(function(p,E){var S=[];l.innerFrom(v).subscribe(i.createOperatorSubscriber(E,function(y){var f=[];S.push(f);var C=new c.Subscription;C.add(l.innerFrom(M(y)).subscribe(i.createOperatorSubscriber(E,function(){o.arrRemove(S,f),E.next(f),C.unsubscribe()},e.noop)))},e.noop)),p.subscribe(i.createOperatorSubscriber(E,function(y){var f,C;try{for(var _=n(S),w=_.next();!w.done;w=_.next())w.value.push(y)}catch(L){f={error:L}}finally{try{w&&!w.done&&(C=_.return)&&C.call(_)}finally{if(f)throw f.error}}},function(){for(;S.length>0;)E.next(S.shift());E.complete()}))})}},16323:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.bufferWhen=void 0;var n=s(66080),c=s(48320),u=s(35744),l=s(81280);m.bufferWhen=function i(e){return n.operate(function(o,d){var v=null,M=null,p=function(){M?.unsubscribe();var E=v;v=[],E&&d.next(E),l.innerFrom(e()).subscribe(M=u.createOperatorSubscriber(d,p,c.noop))};p(),o.subscribe(u.createOperatorSubscriber(d,function(E){return v?.push(E)},function(){v&&d.next(v),d.complete()},void 0,function(){return v=M=null}))})}},11708:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.catchError=void 0;var n=s(81280),c=s(35744),u=s(66080);m.catchError=function l(i){return u.operate(function(e,o){var M,d=null,v=!1;d=e.subscribe(c.createOperatorSubscriber(o,void 0,void 0,function(p){M=n.innerFrom(i(p,l(i)(e))),d?(d.unsubscribe(),d=null,M.subscribe(o)):v=!0})),v&&(d.unsubscribe(),d=null,M.subscribe(o))})}},25184:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.combineAll=void 0;var n=s(86576);m.combineAll=n.combineLatestAll},31384:function(pe,m,s){"use strict";var n=this&&this.__read||function(M,p){var E="function"==typeof Symbol&&M[Symbol.iterator];if(!E)return M;var y,C,S=E.call(M),f=[];try{for(;(void 0===p||p-- >0)&&!(y=S.next()).done;)f.push(y.value)}catch(_){C={error:_}}finally{try{y&&!y.done&&(E=S.return)&&E.call(S)}finally{if(C)throw C.error}}return f},c=this&&this.__spreadArray||function(M,p){for(var E=0,S=p.length,y=M.length;E{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.combineLatestAll=void 0;var n=s(60128),c=s(28400);m.combineLatestAll=function u(l){return c.joinAllInternals(n.combineLatest,l)}},71480:function(pe,m,s){"use strict";var n=this&&this.__read||function(i,e){var o="function"==typeof Symbol&&i[Symbol.iterator];if(!o)return i;var v,p,d=o.call(i),M=[];try{for(;(void 0===e||e-- >0)&&!(v=d.next()).done;)M.push(v.value)}catch(E){p={error:E}}finally{try{v&&!v.done&&(o=d.return)&&o.call(d)}finally{if(p)throw p.error}}return M},c=this&&this.__spreadArray||function(i,e){for(var o=0,d=e.length,v=i.length;o0)&&!(E=p.next()).done;)S.push(E.value)}catch(f){y={error:f}}finally{try{E&&!E.done&&(M=p.return)&&M.call(p)}finally{if(y)throw y.error}}return S},c=this&&this.__spreadArray||function(d,v){for(var M=0,p=v.length,E=d.length;M{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.concatAll=void 0;var n=s(50304);m.concatAll=function c(){return n.mergeAll(1)}},68584:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.concatMap=void 0;var n=s(33480),c=s(82360);m.concatMap=function u(l,i){return c.isFunction(i)?n.mergeMap(l,i,1):n.mergeMap(l,1)}},38776:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.concatMapTo=void 0;var n=s(68584),c=s(82360);m.concatMapTo=function u(l,i){return c.isFunction(i)?n.concatMap(function(){return l},i):n.concatMap(function(){return l})}},23332:function(pe,m,s){"use strict";var n=this&&this.__read||function(i,e){var o="function"==typeof Symbol&&i[Symbol.iterator];if(!o)return i;var v,p,d=o.call(i),M=[];try{for(;(void 0===e||e-- >0)&&!(v=d.next()).done;)M.push(v.value)}catch(E){p={error:E}}finally{try{v&&!v.done&&(o=d.return)&&o.call(d)}finally{if(p)throw p.error}}return M},c=this&&this.__spreadArray||function(i,e){for(var o=0,d=e.length,v=i.length;o{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.connect=void 0;var n=s(90120),c=s(81280),u=s(66080),l=s(28544),i={connector:function(){return new n.Subject}};m.connect=function e(o,d){void 0===d&&(d=i);var v=d.connector;return u.operate(function(M,p){var E=v();c.innerFrom(o(l.fromSubscribable(E))).subscribe(p),p.add(M.subscribe(E))})}},95572:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.count=void 0;var n=s(39980);m.count=function c(u){return n.reduce(function(l,i,e){return!u||u(i,e)?l+1:l},0)}},42568:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.debounce=void 0;var n=s(66080),c=s(48320),u=s(35744),l=s(81280);m.debounce=function i(e){return n.operate(function(o,d){var v=!1,M=null,p=null,E=function(){if(p?.unsubscribe(),p=null,v){v=!1;var S=M;M=null,d.next(S)}};o.subscribe(u.createOperatorSubscriber(d,function(S){p?.unsubscribe(),v=!0,M=S,p=u.createOperatorSubscriber(d,E,c.noop),l.innerFrom(e(S)).subscribe(p)},function(){E(),d.complete()},void 0,function(){M=p=null}))})}},86275:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.debounceTime=void 0;var n=s(69252),c=s(66080),u=s(35744);m.debounceTime=function l(i,e){return void 0===e&&(e=n.asyncScheduler),c.operate(function(o,d){var v=null,M=null,p=null,E=function(){if(v){v.unsubscribe(),v=null;var y=M;M=null,d.next(y)}};function S(){var y=p+i,f=e.now();if(f{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.defaultIfEmpty=void 0;var n=s(66080),c=s(35744);m.defaultIfEmpty=function u(l){return n.operate(function(i,e){var o=!1;i.subscribe(c.createOperatorSubscriber(e,function(d){o=!0,e.next(d)},function(){o||e.next(l),e.complete()}))})}},99592:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.delay=void 0;var n=s(69252),c=s(59304),u=s(34168);m.delay=function l(i,e){void 0===e&&(e=n.asyncScheduler);var o=u.timer(i,e);return c.delayWhen(function(){return o})}},59304:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.delayWhen=void 0;var n=s(24560),c=s(38120),u=s(77392),l=s(89224),i=s(33480),e=s(81280);m.delayWhen=function o(d,v){return v?function(M){return n.concat(v.pipe(c.take(1),u.ignoreElements()),M.pipe(o(d)))}:i.mergeMap(function(M,p){return e.innerFrom(d(M,p)).pipe(c.take(1),l.mapTo(M))})}},84204:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.dematerialize=void 0;var n=s(12032),c=s(66080),u=s(35744);m.dematerialize=function l(){return c.operate(function(i,e){i.subscribe(u.createOperatorSubscriber(e,function(o){return n.observeNotification(o,e)}))})}},51256:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.distinct=void 0;var n=s(66080),c=s(35744),u=s(48320),l=s(81280);m.distinct=function i(e,o){return n.operate(function(d,v){var M=new Set;d.subscribe(c.createOperatorSubscriber(v,function(p){var E=e?e(p):p;M.has(E)||(M.add(E),v.next(p))})),o&&l.innerFrom(o).subscribe(c.createOperatorSubscriber(v,function(){return M.clear()},u.noop))})}},21544:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.distinctUntilChanged=void 0;var n=s(55184),c=s(66080),u=s(35744);function i(e,o){return e===o}m.distinctUntilChanged=function l(e,o){return void 0===o&&(o=n.identity),e=e??i,c.operate(function(d,v){var M,p=!0;d.subscribe(u.createOperatorSubscriber(v,function(E){var S=o(E);(p||!e(M,S))&&(p=!1,M=S,v.next(E))}))})}},61544:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.distinctUntilKeyChanged=void 0;var n=s(21544);m.distinctUntilKeyChanged=function c(u,l){return n.distinctUntilChanged(function(i,e){return l?l(i[u],e[u]):i[u]===e[u]})}},51808:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.elementAt=void 0;var n=s(32929),c=s(39840),u=s(51056),l=s(14707),i=s(38120);m.elementAt=function e(o,d){if(o<0)throw new n.ArgumentOutOfRangeError;var v=arguments.length>=2;return function(M){return M.pipe(c.filter(function(p,E){return E===o}),i.take(1),v?l.defaultIfEmpty(d):u.throwIfEmpty(function(){return new n.ArgumentOutOfRangeError}))}}},48568:function(pe,m,s){"use strict";var n=this&&this.__read||function(e,o){var d="function"==typeof Symbol&&e[Symbol.iterator];if(!d)return e;var M,E,v=d.call(e),p=[];try{for(;(void 0===o||o-- >0)&&!(M=v.next()).done;)p.push(M.value)}catch(S){E={error:S}}finally{try{M&&!M.done&&(d=v.return)&&d.call(v)}finally{if(E)throw E.error}}return p},c=this&&this.__spreadArray||function(e,o){for(var d=0,v=o.length,M=e.length;d{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.every=void 0;var n=s(66080),c=s(35744);m.every=function u(l,i){return n.operate(function(e,o){var d=0;e.subscribe(c.createOperatorSubscriber(o,function(v){l.call(i,v,d++,e)||(o.next(!1),o.complete())},function(){o.next(!0),o.complete()}))})}},53704:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.exhaust=void 0;var n=s(34288);m.exhaust=n.exhaustAll},34288:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.exhaustAll=void 0;var n=s(44632),c=s(55184);m.exhaustAll=function u(){return n.exhaustMap(c.identity)}},44632:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.exhaustMap=void 0;var n=s(784),c=s(81280),u=s(66080),l=s(35744);m.exhaustMap=function i(e,o){return o?function(d){return d.pipe(i(function(v,M){return c.innerFrom(e(v,M)).pipe(n.map(function(p,E){return o(v,p,M,E)}))}))}:u.operate(function(d,v){var M=0,p=null,E=!1;d.subscribe(l.createOperatorSubscriber(v,function(S){p||(p=l.createOperatorSubscriber(v,void 0,function(){p=null,E&&v.complete()}),c.innerFrom(e(S,M++)).subscribe(p))},function(){E=!0,!p&&v.complete()}))})}},84624:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.expand=void 0;var n=s(66080),c=s(46972);m.expand=function u(l,i,e){return void 0===i&&(i=1/0),i=(i||0)<1?1/0:i,n.operate(function(o,d){return c.mergeInternals(o,d,l,i,void 0,!0,e)})}},39840:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.filter=void 0;var n=s(66080),c=s(35744);m.filter=function u(l,i){return n.operate(function(e,o){var d=0;e.subscribe(c.createOperatorSubscriber(o,function(v){return l.call(i,v,d++)&&o.next(v)}))})}},99440:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.finalize=void 0;var n=s(66080);m.finalize=function c(u){return n.operate(function(l,i){try{l.subscribe(i)}finally{i.add(u)}})}},70939:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.createFind=m.find=void 0;var n=s(66080),c=s(35744);function l(i,e,o){var d="index"===o;return function(v,M){var p=0;v.subscribe(c.createOperatorSubscriber(M,function(E){var S=p++;i.call(e,E,S,v)&&(M.next(d?S:E),M.complete())},function(){M.next(d?-1:void 0),M.complete()}))}}m.find=function u(i,e){return n.operate(l(i,e,"value"))},m.createFind=l},69496:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.findIndex=void 0;var n=s(66080),c=s(70939);m.findIndex=function u(l,i){return n.operate(c.createFind(l,i,"index"))}},11848:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.first=void 0;var n=s(51544),c=s(39840),u=s(38120),l=s(14707),i=s(51056),e=s(55184);m.first=function o(d,v){var M=arguments.length>=2;return function(p){return p.pipe(d?c.filter(function(E,S){return d(E,S,p)}):e.identity,u.take(1),M?l.defaultIfEmpty(v):i.throwIfEmpty(function(){return new n.EmptyError}))}}},98924:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.flatMap=void 0;var n=s(33480);m.flatMap=n.mergeMap},17909:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.groupBy=void 0;var n=s(15448),c=s(81280),u=s(90120),l=s(66080),i=s(35744);m.groupBy=function e(o,d,v,M){return l.operate(function(p,E){var S;d&&"function"!=typeof d?(v=d.duration,S=d.element,M=d.connector):S=d;var y=new Map,f=function(N){y.forEach(N),N(E)},C=function(N){return f(function(V){return V.error(N)})},_=0,w=!1,D=new i.OperatorSubscriber(E,function(N){try{var V=o(N),G=y.get(V);if(!G){y.set(V,G=M?M():new u.Subject);var R=function L(N,V){var G=new n.Observable(function(R){_++;var k=V.subscribe(R);return function(){k.unsubscribe(),0==--_&&w&&D.unsubscribe()}});return G.key=N,G}(V,G);if(E.next(R),v){var k=i.createOperatorSubscriber(G,function(){G.complete(),k?.unsubscribe()},void 0,void 0,function(){return y.delete(V)});D.add(c.innerFrom(v(R)).subscribe(k))}}G.next(S?S(N):N)}catch(A){C(A)}},function(){return f(function(N){return N.complete()})},C,function(){return y.clear()},function(){return w=!0,0===_});p.subscribe(D)})}},77392:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.ignoreElements=void 0;var n=s(66080),c=s(35744),u=s(48320);m.ignoreElements=function l(){return n.operate(function(i,e){i.subscribe(c.createOperatorSubscriber(e,u.noop))})}},73564:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.isEmpty=void 0;var n=s(66080),c=s(35744);m.isEmpty=function u(){return n.operate(function(l,i){l.subscribe(c.createOperatorSubscriber(i,function(){i.next(!1),i.complete()},function(){i.next(!0),i.complete()}))})}},28400:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.joinAllInternals=void 0;var n=s(55184),c=s(82664),u=s(19512),l=s(33480),i=s(29316);m.joinAllInternals=function e(o,d){return u.pipe(i.toArray(),l.mergeMap(function(v){return o(v)}),d?c.mapOneOrManyArgs(d):n.identity)}},2696:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.last=void 0;var n=s(51544),c=s(39840),u=s(32224),l=s(51056),i=s(14707),e=s(55184);m.last=function o(d,v){var M=arguments.length>=2;return function(p){return p.pipe(d?c.filter(function(E,S){return d(E,S,p)}):e.identity,u.takeLast(1),M?i.defaultIfEmpty(v):l.throwIfEmpty(function(){return new n.EmptyError}))}}},784:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.map=void 0;var n=s(66080),c=s(35744);m.map=function u(l,i){return n.operate(function(e,o){var d=0;e.subscribe(c.createOperatorSubscriber(o,function(v){o.next(l.call(i,v,d++))}))})}},89224:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.mapTo=void 0;var n=s(784);m.mapTo=function c(u){return n.map(function(){return u})}},6832:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.materialize=void 0;var n=s(12032),c=s(66080),u=s(35744);m.materialize=function l(){return c.operate(function(i,e){i.subscribe(u.createOperatorSubscriber(e,function(o){e.next(n.Notification.createNext(o))},function(){e.next(n.Notification.createComplete()),e.complete()},function(o){e.next(n.Notification.createError(o)),e.complete()}))})}},34808:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.max=void 0;var n=s(39980),c=s(82360);m.max=function u(l){return n.reduce(c.isFunction(l)?function(i,e){return l(i,e)>0?i:e}:function(i,e){return i>e?i:e})}},38884:function(pe,m,s){"use strict";var n=this&&this.__read||function(v,M){var p="function"==typeof Symbol&&v[Symbol.iterator];if(!p)return v;var S,f,E=p.call(v),y=[];try{for(;(void 0===M||M-- >0)&&!(S=E.next()).done;)y.push(S.value)}catch(C){f={error:C}}finally{try{S&&!S.done&&(p=E.return)&&p.call(E)}finally{if(f)throw f.error}}return y},c=this&&this.__spreadArray||function(v,M){for(var p=0,E=M.length,S=v.length;p{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.mergeAll=void 0;var n=s(33480),c=s(55184);m.mergeAll=function u(l){return void 0===l&&(l=1/0),n.mergeMap(c.identity,l)}},46972:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.mergeInternals=void 0;var n=s(81280),c=s(61760),u=s(35744);m.mergeInternals=function l(i,e,o,d,v,M,p,E){var S=[],y=0,f=0,C=!1,_=function(){C&&!S.length&&!y&&e.complete()},w=function(L){return y{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.mergeMap=void 0;var n=s(784),c=s(81280),u=s(66080),l=s(46972),i=s(82360);m.mergeMap=function e(o,d,v){return void 0===v&&(v=1/0),i.isFunction(d)?e(function(M,p){return n.map(function(E,S){return d(M,E,p,S)})(c.innerFrom(o(M,p)))},v):("number"==typeof d&&(v=d),u.operate(function(M,p){return l.mergeInternals(M,p,o,v)}))}},73232:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.mergeMapTo=void 0;var n=s(33480),c=s(82360);m.mergeMapTo=function u(l,i,e){return void 0===e&&(e=1/0),c.isFunction(i)?n.mergeMap(function(){return l},i,e):("number"==typeof i&&(e=i),n.mergeMap(function(){return l},e))}},3380:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.mergeScan=void 0;var n=s(66080),c=s(46972);m.mergeScan=function u(l,i,e){return void 0===e&&(e=1/0),n.operate(function(o,d){var v=i;return c.mergeInternals(o,d,function(M,p){return l(v,M,p)},e,function(M){v=M},!1,void 0,function(){return v=null})})}},57308:function(pe,m,s){"use strict";var n=this&&this.__read||function(i,e){var o="function"==typeof Symbol&&i[Symbol.iterator];if(!o)return i;var v,p,d=o.call(i),M=[];try{for(;(void 0===e||e-- >0)&&!(v=d.next()).done;)M.push(v.value)}catch(E){p={error:E}}finally{try{v&&!v.done&&(o=d.return)&&o.call(d)}finally{if(p)throw p.error}}return M},c=this&&this.__spreadArray||function(i,e){for(var o=0,d=e.length,v=i.length;o{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.min=void 0;var n=s(39980),c=s(82360);m.min=function u(l){return n.reduce(c.isFunction(l)?function(i,e){return l(i,e)<0?i:e}:function(i,e){return i{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.multicast=void 0;var n=s(42416),c=s(82360),u=s(59056);m.multicast=function l(i,e){var o=c.isFunction(i)?i:function(){return i};return c.isFunction(e)?u.connect(e,{connector:o}):function(d){return new n.ConnectableObservable(d,o)}}},33752:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.observeOn=void 0;var n=s(61760),c=s(66080),u=s(35744);m.observeOn=function l(i,e){return void 0===e&&(e=0),c.operate(function(o,d){o.subscribe(u.createOperatorSubscriber(d,function(v){return n.executeSchedule(d,i,function(){return d.next(v)},e)},function(){return n.executeSchedule(d,i,function(){return d.complete()},e)},function(v){return n.executeSchedule(d,i,function(){return d.error(v)},e)}))})}},19184:function(pe,m,s){"use strict";var n=this&&this.__read||function(e,o){var d="function"==typeof Symbol&&e[Symbol.iterator];if(!d)return e;var M,E,v=d.call(e),p=[];try{for(;(void 0===o||o-- >0)&&!(M=v.next()).done;)p.push(M.value)}catch(S){E={error:S}}finally{try{M&&!M.done&&(d=v.return)&&d.call(v)}finally{if(E)throw E.error}}return p},c=this&&this.__spreadArray||function(e,o){for(var d=0,v=o.length,M=e.length;d{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.pairwise=void 0;var n=s(66080),c=s(35744);m.pairwise=function u(){return n.operate(function(l,i){var e,o=!1;l.subscribe(c.createOperatorSubscriber(i,function(d){var v=e;e=d,o&&i.next([v,d]),o=!0}))})}},64712:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.pluck=void 0;var n=s(784);m.pluck=function c(){for(var u=[],l=0;l{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.publish=void 0;var n=s(90120),c=s(66752),u=s(59056);m.publish=function l(i){return i?function(e){return u.connect(i)(e)}:function(e){return c.multicast(new n.Subject)(e)}}},40360:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.publishBehavior=void 0;var n=s(60488),c=s(42416);m.publishBehavior=function u(l){return function(i){var e=new n.BehaviorSubject(l);return new c.ConnectableObservable(i,function(){return e})}}},64960:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.publishLast=void 0;var n=s(70408),c=s(42416);m.publishLast=function u(){return function(l){var i=new n.AsyncSubject;return new c.ConnectableObservable(l,function(){return i})}}},23944:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.publishReplay=void 0;var n=s(38640),c=s(66752),u=s(82360);m.publishReplay=function l(i,e,o,d){o&&!u.isFunction(o)&&(d=o);var v=u.isFunction(o)?o:void 0;return function(M){return c.multicast(new n.ReplaySubject(i,e,d),v)(M)}}},53424:function(pe,m,s){"use strict";var n=this&&this.__read||function(o,d){var v="function"==typeof Symbol&&o[Symbol.iterator];if(!v)return o;var p,S,M=v.call(o),E=[];try{for(;(void 0===d||d-- >0)&&!(p=M.next()).done;)E.push(p.value)}catch(y){S={error:y}}finally{try{p&&!p.done&&(v=M.return)&&v.call(M)}finally{if(S)throw S.error}}return E},c=this&&this.__spreadArray||function(o,d){for(var v=0,M=d.length,p=o.length;v{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.reduce=void 0;var n=s(56500),c=s(66080);m.reduce=function u(l,i){return c.operate(n.scanInternals(l,i,arguments.length>=2,!1,!0))}},60300:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.refCount=void 0;var n=s(66080),c=s(35744);m.refCount=function u(){return n.operate(function(l,i){var e=null;l._refCount++;var o=c.createOperatorSubscriber(i,void 0,void 0,void 0,function(){if(!l||l._refCount<=0||0<--l._refCount)e=null;else{var d=l._connection,v=e;e=null,d&&(!v||d===v)&&d.unsubscribe(),i.unsubscribe()}});l.subscribe(o),o.closed||(e=l.connect())})}},90532:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.repeat=void 0;var n=s(31456),c=s(66080),u=s(35744),l=s(81280),i=s(34168);m.repeat=function e(o){var d,M,v=1/0;return null!=o&&("object"==typeof o?(v=void 0===(d=o.count)?1/0:d,M=o.delay):v=o),v<=0?function(){return n.EMPTY}:c.operate(function(p,E){var y,S=0,f=function(){if(y?.unsubscribe(),y=null,null!=M){var _="number"==typeof M?i.timer(M):l.innerFrom(M(S)),w=u.createOperatorSubscriber(E,function(){w.unsubscribe(),C()});_.subscribe(w)}else C()},C=function(){var _=!1;y=p.subscribe(u.createOperatorSubscriber(E,void 0,function(){++S{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.repeatWhen=void 0;var n=s(81280),c=s(90120),u=s(66080),l=s(35744);m.repeatWhen=function i(e){return u.operate(function(o,d){var v,p,M=!1,E=!1,S=!1,y=function(){return S&&E&&(d.complete(),!0)},C=function(){S=!1,v=o.subscribe(l.createOperatorSubscriber(d,void 0,function(){S=!0,!y()&&(p||(p=new c.Subject,n.innerFrom(e(p)).subscribe(l.createOperatorSubscriber(d,function(){v?C():M=!0},function(){E=!0,y()}))),p).next()})),M&&(v.unsubscribe(),v=null,M=!1,C())};C()})}},584:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.retry=void 0;var n=s(66080),c=s(35744),u=s(55184),l=s(34168),i=s(81280);m.retry=function e(o){var d;void 0===o&&(o=1/0);var v=(d=o&&"object"==typeof o?o:{count:o}).count,M=void 0===v?1/0:v,p=d.delay,E=d.resetOnSuccess,S=void 0!==E&&E;return M<=0?u.identity:n.operate(function(y,f){var _,C=0,w=function(){var D=!1;_=y.subscribe(c.createOperatorSubscriber(f,function(L){S&&(C=0),f.next(L)},void 0,function(L){if(C++{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.retryWhen=void 0;var n=s(81280),c=s(90120),u=s(66080),l=s(35744);m.retryWhen=function i(e){return u.operate(function(o,d){var v,p,M=!1,E=function(){v=o.subscribe(l.createOperatorSubscriber(d,void 0,void 0,function(S){p||(p=new c.Subject,n.innerFrom(e(p)).subscribe(l.createOperatorSubscriber(d,function(){return v?E():M=!0}))),p&&p.next(S)})),M&&(v.unsubscribe(),v=null,M=!1,E())};E()})}},64968:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.sample=void 0;var n=s(81280),c=s(66080),u=s(48320),l=s(35744);m.sample=function i(e){return c.operate(function(o,d){var v=!1,M=null;o.subscribe(l.createOperatorSubscriber(d,function(p){v=!0,M=p})),n.innerFrom(e).subscribe(l.createOperatorSubscriber(d,function(){if(v){v=!1;var p=M;M=null,d.next(p)}},u.noop))})}},97792:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.sampleTime=void 0;var n=s(69252),c=s(64968),u=s(2071);m.sampleTime=function l(i,e){return void 0===e&&(e=n.asyncScheduler),c.sample(u.interval(i,e))}},17752:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.scan=void 0;var n=s(66080),c=s(56500);m.scan=function u(l,i){return n.operate(c.scanInternals(l,i,arguments.length>=2,!0))}},56500:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.scanInternals=void 0;var n=s(35744);m.scanInternals=function c(u,l,i,e,o){return function(d,v){var M=i,p=l,E=0;d.subscribe(n.createOperatorSubscriber(v,function(S){var y=E++;p=M?u(p,S,y):(M=!0,S),e&&v.next(p)},o&&function(){M&&v.next(p),v.complete()}))}}},43904:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.sequenceEqual=void 0;var n=s(66080),c=s(35744),u=s(81280);m.sequenceEqual=function l(e,o){return void 0===o&&(o=function(d,v){return d===v}),n.operate(function(d,v){var M={buffer:[],complete:!1},p={buffer:[],complete:!1},E=function(y){v.next(y),v.complete()},S=function(y,f){var C=c.createOperatorSubscriber(v,function(_){var w=f.buffer;0===w.length?f.complete?E(!1):y.buffer.push(_):!o(_,w.shift())&&E(!1)},function(){y.complete=!0,f.complete&&E(0===f.buffer.length),C?.unsubscribe()});return C};d.subscribe(S(M,p)),u.innerFrom(e).subscribe(S(p,M))})}},95912:function(pe,m,s){"use strict";var n=this&&this.__read||function(v,M){var p="function"==typeof Symbol&&v[Symbol.iterator];if(!p)return v;var S,f,E=p.call(v),y=[];try{for(;(void 0===M||M-- >0)&&!(S=E.next()).done;)y.push(S.value)}catch(C){f={error:C}}finally{try{S&&!S.done&&(p=E.return)&&p.call(E)}finally{if(f)throw f.error}}return y},c=this&&this.__spreadArray||function(v,M){for(var p=0,E=M.length,S=v.length;p0&&(D=new i.SafeSubscriber({next:function(be){return J.next(be)},error:function(be){R=!0,k(),L=d(A,S,be),J.error(be)},complete:function(){G=!0,k(),L=d(A,f),J.complete()}}),u.innerFrom(K).subscribe(D))})(w)}}},20468:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.shareReplay=void 0;var n=s(38640),c=s(95912);m.shareReplay=function u(l,i,e){var o,d,v,M,p=!1;return l&&"object"==typeof l?(M=void 0===(o=l.bufferSize)?1/0:o,i=void 0===(d=l.windowTime)?1/0:d,p=void 0!==(v=l.refCount)&&v,e=l.scheduler):M=l??1/0,c.share({connector:function(){return new n.ReplaySubject(M,i,e)},resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:p})}},43952:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.single=void 0;var n=s(51544),c=s(71016),u=s(15496),l=s(66080),i=s(35744);m.single=function e(o){return l.operate(function(d,v){var p,M=!1,E=!1,S=0;d.subscribe(i.createOperatorSubscriber(v,function(y){E=!0,(!o||o(y,S++,d))&&(M&&v.error(new c.SequenceError("Too many matching values")),M=!0,p=y)},function(){M?(v.next(p),v.complete()):v.error(E?new u.NotFoundError("No matching values"):new n.EmptyError)}))})}},98196:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.skip=void 0;var n=s(39840);m.skip=function c(u){return n.filter(function(l,i){return u<=i})}},47832:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.skipLast=void 0;var n=s(55184),c=s(66080),u=s(35744);m.skipLast=function l(i){return i<=0?n.identity:c.operate(function(e,o){var d=new Array(i),v=0;return e.subscribe(u.createOperatorSubscriber(o,function(M){var p=v++;if(p{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.skipUntil=void 0;var n=s(66080),c=s(35744),u=s(81280),l=s(48320);m.skipUntil=function i(e){return n.operate(function(o,d){var v=!1,M=c.createOperatorSubscriber(d,function(){M?.unsubscribe(),v=!0},l.noop);u.innerFrom(e).subscribe(M),o.subscribe(c.createOperatorSubscriber(d,function(p){return v&&d.next(p)}))})}},49856:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.skipWhile=void 0;var n=s(66080),c=s(35744);m.skipWhile=function u(l){return n.operate(function(i,e){var o=!1,d=0;i.subscribe(c.createOperatorSubscriber(e,function(v){return(o||(o=!l(v,d++)))&&e.next(v)}))})}},59612:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.startWith=void 0;var n=s(24560),c=s(69724),u=s(66080);m.startWith=function l(){for(var i=[],e=0;e{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.subscribeOn=void 0;var n=s(66080);m.subscribeOn=function c(u,l){return void 0===l&&(l=0),n.operate(function(i,e){e.add(u.schedule(function(){return i.subscribe(e)},l))})}},63368:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.switchAll=void 0;var n=s(39876),c=s(55184);m.switchAll=function u(){return n.switchMap(c.identity)}},39876:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.switchMap=void 0;var n=s(81280),c=s(66080),u=s(35744);m.switchMap=function l(i,e){return c.operate(function(o,d){var v=null,M=0,p=!1,E=function(){return p&&!v&&d.complete()};o.subscribe(u.createOperatorSubscriber(d,function(S){v?.unsubscribe();var y=0,f=M++;n.innerFrom(i(S,f)).subscribe(v=u.createOperatorSubscriber(d,function(C){return d.next(e?e(S,C,f,y++):C)},function(){v=null,E()}))},function(){p=!0,E()}))})}},57168:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.switchMapTo=void 0;var n=s(39876),c=s(82360);m.switchMapTo=function u(l,i){return c.isFunction(i)?n.switchMap(function(){return l},i):n.switchMap(function(){return l})}},19980:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.switchScan=void 0;var n=s(39876),c=s(66080);m.switchScan=function u(l,i){return c.operate(function(e,o){var d=i;return n.switchMap(function(v,M){return l(d,v,M)},function(v,M){return d=M,M})(e).subscribe(o),function(){d=null}})}},38120:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.take=void 0;var n=s(31456),c=s(66080),u=s(35744);m.take=function l(i){return i<=0?function(){return n.EMPTY}:c.operate(function(e,o){var d=0;e.subscribe(u.createOperatorSubscriber(o,function(v){++d<=i&&(o.next(v),i<=d&&o.complete())}))})}},32224:function(pe,m,s){"use strict";var n=this&&this.__values||function(e){var o="function"==typeof Symbol&&Symbol.iterator,d=o&&e[o],v=0;if(d)return d.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&v>=e.length&&(e=void 0),{value:e&&e[v++],done:!e}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(m,"__esModule",{value:!0}),m.takeLast=void 0;var c=s(31456),u=s(66080),l=s(35744);m.takeLast=function i(e){return e<=0?function(){return c.EMPTY}:u.operate(function(o,d){var v=[];o.subscribe(l.createOperatorSubscriber(d,function(M){v.push(M),e{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.takeUntil=void 0;var n=s(66080),c=s(35744),u=s(81280),l=s(48320);m.takeUntil=function i(e){return n.operate(function(o,d){u.innerFrom(e).subscribe(c.createOperatorSubscriber(d,function(){return d.complete()},l.noop)),!d.closed&&o.subscribe(d)})}},35408:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.takeWhile=void 0;var n=s(66080),c=s(35744);m.takeWhile=function u(l,i){return void 0===i&&(i=!1),n.operate(function(e,o){var d=0;e.subscribe(c.createOperatorSubscriber(o,function(v){var M=l(v,d++);(M||i)&&o.next(v),!M&&o.complete()}))})}},46748:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.tap=void 0;var n=s(82360),c=s(66080),u=s(35744),l=s(55184);m.tap=function i(e,o,d){var v=n.isFunction(e)||o||d?{next:e,error:o,complete:d}:e;return v?c.operate(function(M,p){var E;null===(E=v.subscribe)||void 0===E||E.call(v);var S=!0;M.subscribe(u.createOperatorSubscriber(p,function(y){var f;null===(f=v.next)||void 0===f||f.call(v,y),p.next(y)},function(){var y;S=!1,null===(y=v.complete)||void 0===y||y.call(v),p.complete()},function(y){var f;S=!1,null===(f=v.error)||void 0===f||f.call(v,y),p.error(y)},function(){var y,f;S&&(null===(y=v.unsubscribe)||void 0===y||y.call(v)),null===(f=v.finalize)||void 0===f||f.call(v)}))}):l.identity}},66720:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.throttle=void 0;var n=s(66080),c=s(35744),u=s(81280);m.throttle=function l(i,e){return n.operate(function(o,d){var v=e??{},M=v.leading,p=void 0===M||M,E=v.trailing,S=void 0!==E&&E,y=!1,f=null,C=null,_=!1,w=function(){C?.unsubscribe(),C=null,S&&(N(),_&&d.complete())},D=function(){C=null,_&&d.complete()},L=function(V){return C=u.innerFrom(i(V)).subscribe(c.createOperatorSubscriber(d,w,D))},N=function(){if(y){y=!1;var V=f;f=null,d.next(V),!_&&L(V)}};o.subscribe(c.createOperatorSubscriber(d,function(V){y=!0,f=V,(!C||C.closed)&&(p?N():L(V))},function(){_=!0,(!(S&&y&&C)||C.closed)&&d.complete()}))})}},44236:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.throttleTime=void 0;var n=s(69252),c=s(66720),u=s(34168);m.throttleTime=function l(i,e,o){void 0===e&&(e=n.asyncScheduler);var d=u.timer(i,e);return c.throttle(function(){return d},o)}},51056:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.throwIfEmpty=void 0;var n=s(51544),c=s(66080),u=s(35744);function i(){return new n.EmptyError}m.throwIfEmpty=function l(e){return void 0===e&&(e=i),c.operate(function(o,d){var v=!1;o.subscribe(u.createOperatorSubscriber(d,function(M){v=!0,d.next(M)},function(){return v?d.complete():d.error(e())}))})}},39500:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.TimeInterval=m.timeInterval=void 0;var n=s(69252),c=s(66080),u=s(35744);m.timeInterval=function l(e){return void 0===e&&(e=n.asyncScheduler),c.operate(function(o,d){var v=e.now();o.subscribe(u.createOperatorSubscriber(d,function(M){var p=e.now(),E=p-v;v=p,d.next(new i(M,E))}))})};var i=function(){return function e(o,d){this.value=o,this.interval=d}}();m.TimeInterval=i},20268:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.timeout=m.TimeoutError=void 0;var n=s(69252),c=s(42384),u=s(66080),l=s(81280),i=s(26624),e=s(35744),o=s(61760);function v(M){throw new m.TimeoutError(M)}m.TimeoutError=i.createErrorClass(function(M){return function(E){void 0===E&&(E=null),M(this),this.message="Timeout has occurred",this.name="TimeoutError",this.info=E}}),m.timeout=function d(M,p){var E=c.isValidDate(M)?{first:M}:"number"==typeof M?{each:M}:M,S=E.first,y=E.each,f=E.with,C=void 0===f?v:f,_=E.scheduler,w=void 0===_?p??n.asyncScheduler:_,D=E.meta,L=void 0===D?null:D;if(null==S&&null==y)throw new TypeError("No timeout provided.");return u.operate(function(N,V){var G,R,k=null,A=0,H=function(K){R=o.executeSchedule(V,w,function(){try{G.unsubscribe(),l.innerFrom(C({meta:L,lastValue:k,seen:A})).subscribe(V)}catch(ie){V.error(ie)}},K)};G=N.subscribe(e.createOperatorSubscriber(V,function(K){R?.unsubscribe(),A++,V.next(k=K),y>0&&H(y)},void 0,void 0,function(){R?.closed||R?.unsubscribe(),k=null})),!A&&H(null!=S?"number"==typeof S?S:+S-w.now():y)})}},88536:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.timeoutWith=void 0;var n=s(69252),c=s(42384),u=s(20268);m.timeoutWith=function l(i,e,o){var d,v,M;if(o=o??n.async,c.isValidDate(i)?d=i:"number"==typeof i&&(v=i),!e)throw new TypeError("No observable provided to switch to");if(M=function(){return e},null==d&&null==v)throw new TypeError("No timeout provided.");return u.timeout({first:d,each:v,scheduler:o,with:M})}},37248:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.timestamp=void 0;var n=s(8764),c=s(784);m.timestamp=function u(l){return void 0===l&&(l=n.dateTimestampProvider),c.map(function(i){return{value:i,timestamp:l.now()}})}},29316:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.toArray=void 0;var n=s(39980),c=s(66080),u=function(i,e){return i.push(e),i};m.toArray=function l(){return c.operate(function(i,e){n.reduce(u,[])(i).subscribe(e)})}},40560:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.window=void 0;var n=s(90120),c=s(66080),u=s(35744),l=s(48320),i=s(81280);m.window=function e(o){return c.operate(function(d,v){var M=new n.Subject;v.next(M.asObservable());var p=function(E){M.error(E),v.error(E)};return d.subscribe(u.createOperatorSubscriber(v,function(E){return M?.next(E)},function(){M.complete(),v.complete()},p)),i.innerFrom(o).subscribe(u.createOperatorSubscriber(v,function(){M.complete(),v.next(M=new n.Subject)},l.noop,p)),function(){M?.unsubscribe(),M=null}})}},79068:function(pe,m,s){"use strict";var n=this&&this.__values||function(e){var o="function"==typeof Symbol&&Symbol.iterator,d=o&&e[o],v=0;if(d)return d.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&v>=e.length&&(e=void 0),{value:e&&e[v++],done:!e}}};throw new TypeError(o?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(m,"__esModule",{value:!0}),m.windowCount=void 0;var c=s(90120),u=s(66080),l=s(35744);m.windowCount=function i(e,o){void 0===o&&(o=0);var d=o>0?o:e;return u.operate(function(v,M){var p=[new c.Subject],S=0;M.next(p[0].asObservable()),v.subscribe(l.createOperatorSubscriber(M,function(y){var f,C;try{for(var _=n(p),w=_.next();!w.done;w=_.next())w.value.next(y)}catch(V){f={error:V}}finally{try{w&&!w.done&&(C=_.return)&&C.call(_)}finally{if(f)throw f.error}}var L=S-e+1;if(L>=0&&L%d==0&&p.shift().complete(),++S%d==0){var N=new c.Subject;p.push(N),M.next(N.asObservable())}},function(){for(;p.length>0;)p.shift().complete();M.complete()},function(y){for(;p.length>0;)p.shift().error(y);M.error(y)},function(){p=null}))})}},11984:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.windowTime=void 0;var n=s(90120),c=s(69252),u=s(40576),l=s(66080),i=s(35744),e=s(39852),o=s(69724),d=s(61760);m.windowTime=function v(M){for(var p,E,S=[],y=1;y=0?d.executeSchedule(D,f,G,C,!0):N=!0,G();var R=function(A){return L.slice().forEach(A)},k=function(A){R(function(H){return A(H.window)}),A(D),D.unsubscribe()};return w.subscribe(i.createOperatorSubscriber(D,function(A){R(function(H){H.window.next(A),_<=++H.seen&&V(H)})},function(){return k(function(A){return A.complete()})},function(A){return k(function(H){return H.error(A)})})),function(){L=null}})}},97776:function(pe,m,s){"use strict";var n=this&&this.__values||function(M){var p="function"==typeof Symbol&&Symbol.iterator,E=p&&M[p],S=0;if(E)return E.call(M);if(M&&"number"==typeof M.length)return{next:function(){return M&&S>=M.length&&(M=void 0),{value:M&&M[S++],done:!M}}};throw new TypeError(p?"Object is not iterable.":"Symbol.iterator is not defined.")};Object.defineProperty(m,"__esModule",{value:!0}),m.windowToggle=void 0;var c=s(90120),u=s(40576),l=s(66080),i=s(81280),e=s(35744),o=s(48320),d=s(39852);m.windowToggle=function v(M,p){return l.operate(function(E,S){var y=[],f=function(C){for(;0{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.windowWhen=void 0;var n=s(90120),c=s(66080),u=s(35744),l=s(81280);m.windowWhen=function i(e){return c.operate(function(o,d){var v,M,p=function(S){v.error(S),d.error(S)},E=function(){var S;M?.unsubscribe(),v?.complete(),v=new n.Subject,d.next(v.asObservable());try{S=l.innerFrom(e())}catch(y){return void p(y)}S.subscribe(M=u.createOperatorSubscriber(d,E,E,p))};E(),o.subscribe(u.createOperatorSubscriber(d,function(S){return v.next(S)},function(){v.complete(),d.complete()},p,function(){M?.unsubscribe(),v=null}))})}},95780:function(pe,m,s){"use strict";var n=this&&this.__read||function(M,p){var E="function"==typeof Symbol&&M[Symbol.iterator];if(!E)return M;var y,C,S=E.call(M),f=[];try{for(;(void 0===p||p-- >0)&&!(y=S.next()).done;)f.push(y.value)}catch(_){C={error:_}}finally{try{y&&!y.done&&(E=S.return)&&E.call(S)}finally{if(C)throw C.error}}return f},c=this&&this.__spreadArray||function(M,p){for(var E=0,S=p.length,y=M.length;E0)&&!(M=v.next()).done;)p.push(M.value)}catch(S){E={error:S}}finally{try{M&&!M.done&&(d=v.return)&&d.call(v)}finally{if(E)throw E.error}}return p},c=this&&this.__spreadArray||function(e,o){for(var d=0,v=o.length,M=e.length;d{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.zipAll=void 0;var n=s(59172),c=s(28400);m.zipAll=function u(l){return c.joinAllInternals(n.zip,l)}},56824:function(pe,m,s){"use strict";var n=this&&this.__read||function(i,e){var o="function"==typeof Symbol&&i[Symbol.iterator];if(!o)return i;var v,p,d=o.call(i),M=[];try{for(;(void 0===e||e-- >0)&&!(v=d.next()).done;)M.push(v.value)}catch(E){p={error:E}}finally{try{v&&!v.done&&(o=d.return)&&o.call(d)}finally{if(p)throw p.error}}return M},c=this&&this.__spreadArray||function(i,e){for(var o=0,d=e.length,v=i.length;o{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.scheduleArray=void 0;var n=s(15448);m.scheduleArray=function c(u,l){return new n.Observable(function(i){var e=0;return l.schedule(function(){e===u.length?i.complete():(i.next(u[e++]),i.closed||this.schedule())})})}},37360:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.scheduleAsyncIterable=void 0;var n=s(15448),c=s(61760);m.scheduleAsyncIterable=function u(l,i){if(!l)throw new Error("Iterable cannot be null");return new n.Observable(function(e){c.executeSchedule(e,i,function(){var o=l[Symbol.asyncIterator]();c.executeSchedule(e,i,function(){o.next().then(function(d){d.done?e.complete():e.next(d.value)})},0,!0)})})}},66589:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.scheduleIterable=void 0;var n=s(15448),c=s(71040),u=s(82360),l=s(61760);m.scheduleIterable=function i(e,o){return new n.Observable(function(d){var v;return l.executeSchedule(d,o,function(){v=e[c.iterator](),l.executeSchedule(d,o,function(){var M,p,E;try{p=(M=v.next()).value,E=M.done}catch(S){return void d.error(S)}E?d.complete():d.next(p)},0,!0)}),function(){return u.isFunction(v?.return)&&v.return()}})}},90996:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.scheduleObservable=void 0;var n=s(81280),c=s(33752),u=s(67992);m.scheduleObservable=function l(i,e){return n.innerFrom(i).pipe(u.subscribeOn(e),c.observeOn(e))}},23219:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.schedulePromise=void 0;var n=s(81280),c=s(33752),u=s(67992);m.schedulePromise=function l(i,e){return n.innerFrom(i).pipe(u.subscribeOn(e),c.observeOn(e))}},95196:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.scheduleReadableStreamLike=void 0;var n=s(37360),c=s(11416);m.scheduleReadableStreamLike=function u(l,i){return n.scheduleAsyncIterable(c.readableStreamLikeToAsyncGenerator(l),i)}},44232:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.scheduled=void 0;var n=s(90996),c=s(23219),u=s(24920),l=s(66589),i=s(37360),e=s(18440),o=s(28296),d=s(18224),v=s(30640),M=s(37156),p=s(34088),E=s(11416),S=s(95196);m.scheduled=function y(f,C){if(null!=f){if(e.isInteropObservable(f))return n.scheduleObservable(f,C);if(d.isArrayLike(f))return u.scheduleArray(f,C);if(o.isPromise(f))return c.schedulePromise(f,C);if(M.isAsyncIterable(f))return i.scheduleAsyncIterable(f,C);if(v.isIterable(f))return l.scheduleIterable(f,C);if(E.isReadableStreamLike(f))return S.scheduleReadableStreamLike(f,C)}throw p.createInvalidObservableTypeError(f)}},30576:function(pe,m,s){"use strict";var n=this&&this.__extends||function(){var l=function(i,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,d){o.__proto__=d}||function(o,d){for(var v in d)Object.prototype.hasOwnProperty.call(d,v)&&(o[v]=d[v])})(i,e)};return function(i,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=i}l(i,e),i.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}}();Object.defineProperty(m,"__esModule",{value:!0}),m.Action=void 0;var u=function(l){function i(e,o){return l.call(this)||this}return n(i,l),i.prototype.schedule=function(e,o){return void 0===o&&(o=0),this},i}(s(40576).Subscription);m.Action=u},70079:function(pe,m,s){"use strict";var n=this&&this.__extends||function(){var i=function(e,o){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,v){d.__proto__=v}||function(d,v){for(var M in v)Object.prototype.hasOwnProperty.call(v,M)&&(d[M]=v[M])})(e,o)};return function(e,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function d(){this.constructor=e}i(e,o),e.prototype=null===o?Object.create(o):(d.prototype=o.prototype,new d)}}();Object.defineProperty(m,"__esModule",{value:!0}),m.AnimationFrameAction=void 0;var c=s(6972),u=s(24352),l=function(i){function e(o,d){var v=i.call(this,o,d)||this;return v.scheduler=o,v.work=d,v}return n(e,i),e.prototype.requestAsyncId=function(o,d,v){return void 0===v&&(v=0),null!==v&&v>0?i.prototype.requestAsyncId.call(this,o,d,v):(o.actions.push(this),o._scheduled||(o._scheduled=u.animationFrameProvider.requestAnimationFrame(function(){return o.flush(void 0)})))},e.prototype.recycleAsyncId=function(o,d,v){var M;if(void 0===v&&(v=0),null!=v?v>0:this.delay>0)return i.prototype.recycleAsyncId.call(this,o,d,v);var p=o.actions;null!=d&&(null===(M=p[p.length-1])||void 0===M?void 0:M.id)!==d&&(u.animationFrameProvider.cancelAnimationFrame(d),o._scheduled=void 0)},e}(c.AsyncAction);m.AnimationFrameAction=l},41752:function(pe,m,s){"use strict";var n=this&&this.__extends||function(){var l=function(i,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,d){o.__proto__=d}||function(o,d){for(var v in d)Object.prototype.hasOwnProperty.call(d,v)&&(o[v]=d[v])})(i,e)};return function(i,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=i}l(i,e),i.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}}();Object.defineProperty(m,"__esModule",{value:!0}),m.AnimationFrameScheduler=void 0;var u=function(l){function i(){return null!==l&&l.apply(this,arguments)||this}return n(i,l),i.prototype.flush=function(e){this._active=!0;var o=this._scheduled;this._scheduled=void 0;var v,d=this.actions;e=e||d.shift();do{if(v=e.execute(e.state,e.delay))break}while((e=d[0])&&e.id===o&&d.shift());if(this._active=!1,v){for(;(e=d[0])&&e.id===o&&d.shift();)e.unsubscribe();throw v}},i}(s(16660).AsyncScheduler);m.AnimationFrameScheduler=u},48368:function(pe,m,s){"use strict";var n=this&&this.__extends||function(){var i=function(e,o){return(i=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(d,v){d.__proto__=v}||function(d,v){for(var M in v)Object.prototype.hasOwnProperty.call(v,M)&&(d[M]=v[M])})(e,o)};return function(e,o){if("function"!=typeof o&&null!==o)throw new TypeError("Class extends value "+String(o)+" is not a constructor or null");function d(){this.constructor=e}i(e,o),e.prototype=null===o?Object.create(o):(d.prototype=o.prototype,new d)}}();Object.defineProperty(m,"__esModule",{value:!0}),m.AsapAction=void 0;var c=s(6972),u=s(7832),l=function(i){function e(o,d){var v=i.call(this,o,d)||this;return v.scheduler=o,v.work=d,v}return n(e,i),e.prototype.requestAsyncId=function(o,d,v){return void 0===v&&(v=0),null!==v&&v>0?i.prototype.requestAsyncId.call(this,o,d,v):(o.actions.push(this),o._scheduled||(o._scheduled=u.immediateProvider.setImmediate(o.flush.bind(o,void 0))))},e.prototype.recycleAsyncId=function(o,d,v){var M;if(void 0===v&&(v=0),null!=v?v>0:this.delay>0)return i.prototype.recycleAsyncId.call(this,o,d,v);var p=o.actions;null!=d&&(null===(M=p[p.length-1])||void 0===M?void 0:M.id)!==d&&(u.immediateProvider.clearImmediate(d),o._scheduled===d&&(o._scheduled=void 0))},e}(c.AsyncAction);m.AsapAction=l},32400:function(pe,m,s){"use strict";var n=this&&this.__extends||function(){var l=function(i,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,d){o.__proto__=d}||function(o,d){for(var v in d)Object.prototype.hasOwnProperty.call(d,v)&&(o[v]=d[v])})(i,e)};return function(i,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=i}l(i,e),i.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}}();Object.defineProperty(m,"__esModule",{value:!0}),m.AsapScheduler=void 0;var u=function(l){function i(){return null!==l&&l.apply(this,arguments)||this}return n(i,l),i.prototype.flush=function(e){this._active=!0;var o=this._scheduled;this._scheduled=void 0;var v,d=this.actions;e=e||d.shift();do{if(v=e.execute(e.state,e.delay))break}while((e=d[0])&&e.id===o&&d.shift());if(this._active=!1,v){for(;(e=d[0])&&e.id===o&&d.shift();)e.unsubscribe();throw v}},i}(s(16660).AsyncScheduler);m.AsapScheduler=u},6972:function(pe,m,s){"use strict";var n=this&&this.__extends||function(){var e=function(o,d){return(e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(v,M){v.__proto__=M}||function(v,M){for(var p in M)Object.prototype.hasOwnProperty.call(M,p)&&(v[p]=M[p])})(o,d)};return function(o,d){if("function"!=typeof d&&null!==d)throw new TypeError("Class extends value "+String(d)+" is not a constructor or null");function v(){this.constructor=o}e(o,d),o.prototype=null===d?Object.create(d):(v.prototype=d.prototype,new v)}}();Object.defineProperty(m,"__esModule",{value:!0}),m.AsyncAction=void 0;var c=s(30576),u=s(61691),l=s(39852),i=function(e){function o(d,v){var M=e.call(this,d,v)||this;return M.scheduler=d,M.work=v,M.pending=!1,M}return n(o,e),o.prototype.schedule=function(d,v){var M;if(void 0===v&&(v=0),this.closed)return this;this.state=d;var p=this.id,E=this.scheduler;return null!=p&&(this.id=this.recycleAsyncId(E,p,v)),this.pending=!0,this.delay=v,this.id=null!==(M=this.id)&&void 0!==M?M:this.requestAsyncId(E,this.id,v),this},o.prototype.requestAsyncId=function(d,v,M){return void 0===M&&(M=0),u.intervalProvider.setInterval(d.flush.bind(d,this),M)},o.prototype.recycleAsyncId=function(d,v,M){if(void 0===M&&(M=0),null!=M&&this.delay===M&&!1===this.pending)return v;null!=v&&u.intervalProvider.clearInterval(v)},o.prototype.execute=function(d,v){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;var M=this._execute(d,v);if(M)return M;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))},o.prototype._execute=function(d,v){var p,M=!1;try{this.work(d)}catch(E){M=!0,p=E||new Error("Scheduled action threw falsy error")}if(M)return this.unsubscribe(),p},o.prototype.unsubscribe=function(){if(!this.closed){var v=this.id,M=this.scheduler,p=M.actions;this.work=this.state=this.scheduler=null,this.pending=!1,l.arrRemove(p,this),null!=v&&(this.id=this.recycleAsyncId(M,v,null)),this.delay=null,e.prototype.unsubscribe.call(this)}},o}(c.Action);m.AsyncAction=i},16660:function(pe,m,s){"use strict";var n=this&&this.__extends||function(){var l=function(i,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,d){o.__proto__=d}||function(o,d){for(var v in d)Object.prototype.hasOwnProperty.call(d,v)&&(o[v]=d[v])})(i,e)};return function(i,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=i}l(i,e),i.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}}();Object.defineProperty(m,"__esModule",{value:!0}),m.AsyncScheduler=void 0;var c=s(25784),u=function(l){function i(e,o){void 0===o&&(o=c.Scheduler.now);var d=l.call(this,e,o)||this;return d.actions=[],d._active=!1,d}return n(i,l),i.prototype.flush=function(e){var o=this.actions;if(this._active)o.push(e);else{var d;this._active=!0;do{if(d=e.execute(e.state,e.delay))break}while(e=o.shift());if(this._active=!1,d){for(;e=o.shift();)e.unsubscribe();throw d}}},i}(c.Scheduler);m.AsyncScheduler=u},71688:function(pe,m,s){"use strict";var n=this&&this.__extends||function(){var l=function(i,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,d){o.__proto__=d}||function(o,d){for(var v in d)Object.prototype.hasOwnProperty.call(d,v)&&(o[v]=d[v])})(i,e)};return function(i,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=i}l(i,e),i.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}}();Object.defineProperty(m,"__esModule",{value:!0}),m.QueueAction=void 0;var u=function(l){function i(e,o){var d=l.call(this,e,o)||this;return d.scheduler=e,d.work=o,d}return n(i,l),i.prototype.schedule=function(e,o){return void 0===o&&(o=0),o>0?l.prototype.schedule.call(this,e,o):(this.delay=o,this.state=e,this.scheduler.flush(this),this)},i.prototype.execute=function(e,o){return o>0||this.closed?l.prototype.execute.call(this,e,o):this._execute(e,o)},i.prototype.requestAsyncId=function(e,o,d){return void 0===d&&(d=0),null!=d&&d>0||null==d&&this.delay>0?l.prototype.requestAsyncId.call(this,e,o,d):(e.flush(this),0)},i}(s(6972).AsyncAction);m.QueueAction=u},36148:function(pe,m,s){"use strict";var n=this&&this.__extends||function(){var l=function(i,e){return(l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(o,d){o.__proto__=d}||function(o,d){for(var v in d)Object.prototype.hasOwnProperty.call(d,v)&&(o[v]=d[v])})(i,e)};return function(i,e){if("function"!=typeof e&&null!==e)throw new TypeError("Class extends value "+String(e)+" is not a constructor or null");function o(){this.constructor=i}l(i,e),i.prototype=null===e?Object.create(e):(o.prototype=e.prototype,new o)}}();Object.defineProperty(m,"__esModule",{value:!0}),m.QueueScheduler=void 0;var u=function(l){function i(){return null!==l&&l.apply(this,arguments)||this}return n(i,l),i}(s(16660).AsyncScheduler);m.QueueScheduler=u},45992:function(pe,m,s){"use strict";var n=this&&this.__extends||function(){var o=function(d,v){return(o=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(M,p){M.__proto__=p}||function(M,p){for(var E in p)Object.prototype.hasOwnProperty.call(p,E)&&(M[E]=p[E])})(d,v)};return function(d,v){if("function"!=typeof v&&null!==v)throw new TypeError("Class extends value "+String(v)+" is not a constructor or null");function M(){this.constructor=d}o(d,v),d.prototype=null===v?Object.create(v):(M.prototype=v.prototype,new M)}}();Object.defineProperty(m,"__esModule",{value:!0}),m.VirtualAction=m.VirtualTimeScheduler=void 0;var c=s(6972),u=s(40576),i=function(o){function d(v,M){void 0===v&&(v=e),void 0===M&&(M=1/0);var p=o.call(this,v,function(){return p.frame})||this;return p.maxFrames=M,p.frame=0,p.index=-1,p}return n(d,o),d.prototype.flush=function(){for(var E,S,M=this.actions,p=this.maxFrames;(S=M[0])&&S.delay<=p&&(M.shift(),this.frame=S.delay,!(E=S.execute(S.state,S.delay))););if(E){for(;S=M.shift();)S.unsubscribe();throw E}},d.frameTimeFactor=10,d}(s(16660).AsyncScheduler);m.VirtualTimeScheduler=i;var e=function(o){function d(v,M,p){void 0===p&&(p=v.index+=1);var E=o.call(this,v,M)||this;return E.scheduler=v,E.work=M,E.index=p,E.active=!0,E.index=v.index=p,E}return n(d,o),d.prototype.schedule=function(v,M){if(void 0===M&&(M=0),Number.isFinite(M)){if(!this.id)return o.prototype.schedule.call(this,v,M);this.active=!1;var p=new d(this.scheduler,this.work);return this.add(p),p.schedule(v,M)}return u.Subscription.EMPTY},d.prototype.requestAsyncId=function(v,M,p){void 0===p&&(p=0),this.delay=v.frame+p;var E=v.actions;return E.push(this),E.sort(d.sortActions),1},d.prototype.recycleAsyncId=function(v,M,p){void 0===p&&(p=0)},d.prototype._execute=function(v,M){if(!0===this.active)return o.prototype._execute.call(this,v,M)},d.sortActions=function(v,M){return v.delay===M.delay?v.index===M.index?0:v.index>M.index?1:-1:v.delay>M.delay?1:-1},d}(c.AsyncAction);m.VirtualAction=e},70232:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.animationFrame=m.animationFrameScheduler=void 0;var n=s(70079),c=s(41752);m.animationFrameScheduler=new c.AnimationFrameScheduler(n.AnimationFrameAction),m.animationFrame=m.animationFrameScheduler},24352:function(pe,m,s){"use strict";var n=this&&this.__read||function(l,i){var e="function"==typeof Symbol&&l[Symbol.iterator];if(!e)return l;var d,M,o=e.call(l),v=[];try{for(;(void 0===i||i-- >0)&&!(d=o.next()).done;)v.push(d.value)}catch(p){M={error:p}}finally{try{d&&!d.done&&(e=o.return)&&e.call(o)}finally{if(M)throw M.error}}return v},c=this&&this.__spreadArray||function(l,i){for(var e=0,o=i.length,d=l.length;e{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.asap=m.asapScheduler=void 0;var n=s(48368),c=s(32400);m.asapScheduler=new c.AsapScheduler(n.AsapAction),m.asap=m.asapScheduler},69252:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.async=m.asyncScheduler=void 0;var n=s(6972),c=s(16660);m.asyncScheduler=new c.AsyncScheduler(n.AsyncAction),m.async=m.asyncScheduler},8764:(pe,m)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.dateTimestampProvider=void 0,m.dateTimestampProvider={now:function(){return(m.dateTimestampProvider.delegate||Date).now()},delegate:void 0}},7832:function(pe,m,s){"use strict";var n=this&&this.__read||function(e,o){var d="function"==typeof Symbol&&e[Symbol.iterator];if(!d)return e;var M,E,v=d.call(e),p=[];try{for(;(void 0===o||o-- >0)&&!(M=v.next()).done;)p.push(M.value)}catch(S){E={error:S}}finally{try{M&&!M.done&&(d=v.return)&&d.call(v)}finally{if(E)throw E.error}}return p},c=this&&this.__spreadArray||function(e,o){for(var d=0,v=o.length,M=e.length;d0)&&!(e=i.next()).done;)o.push(e.value)}catch(v){d={error:v}}finally{try{e&&!e.done&&(l=i.return)&&l.call(i)}finally{if(d)throw d.error}}return o},n=this&&this.__spreadArray||function(c,u){for(var l=0,i=u.length,e=c.length;l{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.performanceTimestampProvider=void 0,m.performanceTimestampProvider={now:function(){return(m.performanceTimestampProvider.delegate||performance).now()},delegate:void 0}},72056:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.queue=m.queueScheduler=void 0;var n=s(71688),c=s(36148);m.queueScheduler=new c.QueueScheduler(n.QueueAction),m.queue=m.queueScheduler},82480:function(pe,m){"use strict";var s=this&&this.__read||function(c,u){var l="function"==typeof Symbol&&c[Symbol.iterator];if(!l)return c;var e,d,i=l.call(c),o=[];try{for(;(void 0===u||u-- >0)&&!(e=i.next()).done;)o.push(e.value)}catch(v){d={error:v}}finally{try{e&&!e.done&&(l=i.return)&&l.call(i)}finally{if(d)throw d.error}}return o},n=this&&this.__spreadArray||function(c,u){for(var l=0,i=u.length,e=c.length;l{"use strict";function s(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}Object.defineProperty(m,"__esModule",{value:!0}),m.iterator=m.getSymbolIterator=void 0,m.getSymbolIterator=s,m.iterator=s()},72064:(pe,m)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.observable=void 0,m.observable="function"==typeof Symbol&&Symbol.observable||"@@observable"},68828:(pe,m)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0})},32929:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.ArgumentOutOfRangeError=void 0;var n=s(26624);m.ArgumentOutOfRangeError=n.createErrorClass(function(c){return function(){c(this),this.name="ArgumentOutOfRangeError",this.message="argument out of range"}})},51544:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.EmptyError=void 0;var n=s(26624);m.EmptyError=n.createErrorClass(function(c){return function(){c(this),this.name="EmptyError",this.message="no elements in sequence"}})},6420:(pe,m)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.TestTools=m.Immediate=void 0;var n,s=1,c={};function u(l){return l in c&&(delete c[l],!0)}m.Immediate={setImmediate:function(l){var i=s++;return c[i]=!0,n||(n=Promise.resolve()),n.then(function(){return u(i)&&l()}),i},clearImmediate:function(l){u(l)}},m.TestTools={pending:function(){return Object.keys(c).length}}},15496:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.NotFoundError=void 0;var n=s(26624);m.NotFoundError=n.createErrorClass(function(c){return function(l){c(this),this.name="NotFoundError",this.message=l}})},92304:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.ObjectUnsubscribedError=void 0;var n=s(26624);m.ObjectUnsubscribedError=n.createErrorClass(function(c){return function(){c(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"}})},71016:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.SequenceError=void 0;var n=s(26624);m.SequenceError=n.createErrorClass(function(c){return function(l){c(this),this.name="SequenceError",this.message=l}})},9560:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.UnsubscriptionError=void 0;var n=s(26624);m.UnsubscriptionError=n.createErrorClass(function(c){return function(l){c(this),this.message=l?l.length+" errors occurred during unsubscription:\n"+l.map(function(i,e){return e+1+") "+i.toString()}).join("\n "):"",this.name="UnsubscriptionError",this.errors=l}})},69724:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.popNumber=m.popScheduler=m.popResultSelector=void 0;var n=s(82360),c=s(76964);function u(o){return o[o.length-1]}m.popResultSelector=function l(o){return n.isFunction(u(o))?o.pop():void 0},m.popScheduler=function i(o){return c.isScheduler(u(o))?o.pop():void 0},m.popNumber=function e(o,d){return"number"==typeof u(o)?o.pop():d}},75352:(pe,m)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.argsArgArrayOrObject=void 0;var s=Array.isArray,n=Object.getPrototypeOf,c=Object.prototype,u=Object.keys;m.argsArgArrayOrObject=function l(e){if(1===e.length){var o=e[0];if(s(o))return{args:o,keys:null};if(function i(e){return e&&"object"==typeof e&&n(e)===c}(o)){var d=u(o);return{args:d.map(function(v){return o[v]}),keys:d}}}return{args:e,keys:null}}},50652:(pe,m)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.argsOrArgArray=void 0;var s=Array.isArray;m.argsOrArgArray=function n(c){return 1===c.length&&s(c[0])?c[0]:c}},39852:(pe,m)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.arrRemove=void 0,m.arrRemove=function s(n,c){if(n){var u=n.indexOf(c);0<=u&&n.splice(u,1)}}},26624:(pe,m)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.createErrorClass=void 0,m.createErrorClass=function s(n){var u=n(function(l){Error.call(l),l.stack=(new Error).stack});return u.prototype=Object.create(Error.prototype),u.prototype.constructor=u,u}},7788:(pe,m)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.createObject=void 0,m.createObject=function s(n,c){return n.reduce(function(u,l,i){return u[l]=c[i],u},{})}},49664:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.captureError=m.errorContext=void 0;var n=s(90584),c=null;m.errorContext=function u(i){if(n.config.useDeprecatedSynchronousErrorHandling){var e=!c;if(e&&(c={errorThrown:!1,error:null}),i(),e){var o=c;if(c=null,o.errorThrown)throw o.error}}else i()},m.captureError=function l(i){n.config.useDeprecatedSynchronousErrorHandling&&c&&(c.errorThrown=!0,c.error=i)}},61760:(pe,m)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.executeSchedule=void 0,m.executeSchedule=function s(n,c,u,l,i){void 0===l&&(l=0),void 0===i&&(i=!1);var e=c.schedule(function(){u(),i?n.add(this.schedule(null,l)):this.unsubscribe()},l);if(n.add(e),!i)return e}},55184:(pe,m)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.identity=void 0,m.identity=function s(n){return n}},18224:(pe,m)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.isArrayLike=void 0,m.isArrayLike=function(s){return s&&"number"==typeof s.length&&"function"!=typeof s}},37156:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.isAsyncIterable=void 0;var n=s(82360);m.isAsyncIterable=function c(u){return Symbol.asyncIterator&&n.isFunction(u?.[Symbol.asyncIterator])}},42384:(pe,m)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.isValidDate=void 0,m.isValidDate=function s(n){return n instanceof Date&&!isNaN(n)}},82360:(pe,m)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.isFunction=void 0,m.isFunction=function s(n){return"function"==typeof n}},18440:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.isInteropObservable=void 0;var n=s(72064),c=s(82360);m.isInteropObservable=function u(l){return c.isFunction(l[n.observable])}},30640:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.isIterable=void 0;var n=s(71040),c=s(82360);m.isIterable=function u(l){return c.isFunction(l?.[n.iterator])}},38104:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.isObservable=void 0;var n=s(15448),c=s(82360);m.isObservable=function u(l){return!!l&&(l instanceof n.Observable||c.isFunction(l.lift)&&c.isFunction(l.subscribe))}},28296:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.isPromise=void 0;var n=s(82360);m.isPromise=function c(u){return n.isFunction(u?.then)}},11416:function(pe,m,s){"use strict";var n=this&&this.__generator||function(o,d){var M,p,E,S,v={label:0,sent:function(){if(1&E[0])throw E[1];return E[1]},trys:[],ops:[]};return S={next:y(0),throw:y(1),return:y(2)},"function"==typeof Symbol&&(S[Symbol.iterator]=function(){return this}),S;function y(C){return function(_){return function f(C){if(M)throw new TypeError("Generator is already executing.");for(;v;)try{if(M=1,p&&(E=2&C[0]?p.return:C[0]?p.throw||((E=p.return)&&E.call(p),0):p.next)&&!(E=E.call(p,C[1])).done)return E;switch(p=0,E&&(C=[2&C[0],E.value]),C[0]){case 0:case 1:E=C;break;case 4:return v.label++,{value:C[1],done:!1};case 5:v.label++,p=C[1],C=[0];continue;case 7:C=v.ops.pop(),v.trys.pop();continue;default:if(!(E=(E=v.trys).length>0&&E[E.length-1])&&(6===C[0]||2===C[0])){v=0;continue}if(3===C[0]&&(!E||C[1]>E[0]&&C[1]1||y(D,L)})})}function y(D,L){try{!function f(D){D.value instanceof c?Promise.resolve(D.value.v).then(C,_):w(E[0][2],D)}(M[D](L))}catch(N){w(E[0][3],N)}}function C(D){y("next",D)}function _(D){y("throw",D)}function w(D,L){D(L),E.shift(),E.length&&y(E[0][0],E[0][1])}};Object.defineProperty(m,"__esModule",{value:!0}),m.isReadableStreamLike=m.readableStreamLikeToAsyncGenerator=void 0;var l=s(82360);m.readableStreamLikeToAsyncGenerator=function i(o){return u(this,arguments,function(){var v,M,p;return n(this,function(S){switch(S.label){case 0:v=o.getReader(),S.label=1;case 1:S.trys.push([1,,9,10]),S.label=2;case 2:return[4,c(v.read())];case 3:return M=S.sent(),p=M.value,M.done?[4,c(void 0)]:[3,5];case 4:return[2,S.sent()];case 5:return[4,c(p)];case 6:return[4,S.sent()];case 7:return S.sent(),[3,2];case 8:return[3,10];case 9:return v.releaseLock(),[7];case 10:return[2]}})})},m.isReadableStreamLike=function e(o){return l.isFunction(o?.getReader)}},76964:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.isScheduler=void 0;var n=s(82360);m.isScheduler=function c(u){return u&&n.isFunction(u.schedule)}},66080:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.operate=m.hasLift=void 0;var n=s(82360);function c(l){return n.isFunction(l?.lift)}m.hasLift=c,m.operate=function u(l){return function(i){if(c(i))return i.lift(function(e){try{return l(e,this)}catch(o){this.error(o)}});throw new TypeError("Unable to lift unknown Observable type")}}},82664:function(pe,m,s){"use strict";var n=this&&this.__read||function(o,d){var v="function"==typeof Symbol&&o[Symbol.iterator];if(!v)return o;var p,S,M=v.call(o),E=[];try{for(;(void 0===d||d-- >0)&&!(p=M.next()).done;)E.push(p.value)}catch(y){S={error:y}}finally{try{p&&!p.done&&(v=M.return)&&v.call(M)}finally{if(S)throw S.error}}return E},c=this&&this.__spreadArray||function(o,d){for(var v=0,M=d.length,p=o.length;v{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.noop=void 0,m.noop=function s(){}},37700:(pe,m)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.not=void 0,m.not=function s(n,c){return function(u,l){return!n.call(c,u,l)}}},19512:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.pipeFromArray=m.pipe=void 0;var n=s(55184);function u(l){return 0===l.length?n.identity:1===l.length?l[0]:function(e){return l.reduce(function(o,d){return d(o)},e)}}m.pipe=function c(){for(var l=[],i=0;i{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.reportUnhandledError=void 0;var n=s(90584),c=s(82480);m.reportUnhandledError=function u(l){c.timeoutProvider.setTimeout(function(){var i=n.config.onUnhandledError;if(!i)throw l;i(l)})}},34088:(pe,m)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.createInvalidObservableTypeError=void 0,m.createInvalidObservableTypeError=function s(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:(pe,m,s)=>{"use strict";s.d(m,{g:()=>c});var n=s(95657);class c extends n.E{constructor(l){super(),this._value=l}get value(){return this.getValue()}_subscribe(l){const i=super._subscribe(l);return!i.closed&&l.next(this._value),i}getValue(){const{hasError:l,thrownError:i,_value:e}=this;if(l)throw i;return this._throwIfClosed(),e}next(l){super.next(this._value=l)}}},53252:(pe,m,s)=>{"use strict";s.d(m,{_:()=>d});var n=s(41760),c=s(46928),u=s(90472),l=s(83928),i=s(74491),e=s(38880),o=s(92075);let d=(()=>{class E{constructor(y){y&&(this._subscribe=y)}lift(y){const f=new E;return f.source=this,f.operator=y,f}subscribe(y,f,C){const _=function p(E){return E&&E instanceof n.yR||function M(E){return E&&(0,e.m)(E.next)&&(0,e.m)(E.error)&&(0,e.m)(E.complete)}(E)&&(0,c.GI)(E)}(y)?y:new n.ot(y,f,C);return(0,o.c)(()=>{const{operator:w,source:D}=this;_.add(w?w.call(_,D):D?this._subscribe(_):this._trySubscribe(_))}),_}_trySubscribe(y){try{return this._subscribe(y)}catch(f){y.error(f)}}forEach(y,f){return new(f=v(f))((C,_)=>{const w=new n.ot({next:D=>{try{y(D)}catch(L){_(L),w.unsubscribe()}},error:_,complete:C});this.subscribe(w)})}_subscribe(y){var f;return null===(f=this.source)||void 0===f?void 0:f.subscribe(y)}[u.a](){return this}pipe(...y){return(0,l.Y)(y)(this)}toPromise(y){return new(y=v(y))((f,C)=>{let _;this.subscribe(w=>_=w,w=>C(w),()=>f(_))})}}return E.create=S=>new E(S),E})();function v(E){var S;return null!==(S=E??i.config.Promise)&&void 0!==S?S:Promise}},95657:(pe,m,s)=>{"use strict";s.d(m,{E:()=>o});var n=s(53252),c=s(46928);const l=(0,s(14912).w)(v=>function(){v(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var i=s(41248),e=s(92075);let o=(()=>{class v extends n._{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(p){const E=new d(this,this);return E.operator=p,E}_throwIfClosed(){if(this.closed)throw new l}next(p){(0,e.c)(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const E of this.currentObservers)E.next(p)}})}error(p){(0,e.c)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=p;const{observers:E}=this;for(;E.length;)E.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:E,isStopped:S,observers:y}=this;return E||S?c.au:(this.currentObservers=null,y.push(p),new c.wH(()=>{this.currentObservers=null,(0,i.k)(y,p)}))}_checkFinalizedStatuses(p){const{hasError:E,thrownError:S,isStopped:y}=this;E?p.error(S):y&&p.complete()}asObservable(){const p=new n._;return p.source=this,p}}return v.create=(M,p)=>new d(M,p),v})();class d extends o{constructor(M,p){super(),this.destination=M,this.source=p}next(M){var p,E;null===(E=null===(p=this.destination)||void 0===p?void 0:p.next)||void 0===E||E.call(p,M)}error(M){var p,E;null===(E=null===(p=this.destination)||void 0===p?void 0:p.error)||void 0===E||E.call(p,M)}complete(){var M,p;null===(p=null===(M=this.destination)||void 0===M?void 0:M.complete)||void 0===p||p.call(M)}_subscribe(M){var p,E;return null!==(E=null===(p=this.source)||void 0===p?void 0:p.subscribe(M))&&void 0!==E?E:c.au}}},41760:(pe,m,s)=>{"use strict";s.d(m,{ot:()=>C,yR:()=>E});var n=s(38880),c=s(46928),u=s(74491),l=s(31984),i=s(20308);const e=v("C",void 0,void 0);function v(N,V,G){return{kind:N,value:V,error:G}}var M=s(43376),p=s(92075);class E extends c.wH{constructor(V){super(),this.isStopped=!1,V?(this.destination=V,(0,c.GI)(V)&&V.add(this)):this.destination=L}static create(V,G,R){return new C(V,G,R)}next(V){this.isStopped?D(function d(N){return v("N",N,void 0)}(V),this):this._next(V)}error(V){this.isStopped?D(function o(N){return v("E",void 0,N)}(V),this):(this.isStopped=!0,this._error(V))}complete(){this.isStopped?D(e,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(V){this.destination.next(V)}_error(V){try{this.destination.error(V)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const S=Function.prototype.bind;function y(N,V){return S.call(N,V)}class f{constructor(V){this.partialObserver=V}next(V){const{partialObserver:G}=this;if(G.next)try{G.next(V)}catch(R){_(R)}}error(V){const{partialObserver:G}=this;if(G.error)try{G.error(V)}catch(R){_(R)}else _(V)}complete(){const{partialObserver:V}=this;if(V.complete)try{V.complete()}catch(G){_(G)}}}class C extends E{constructor(V,G,R){let k;if(super(),(0,n.m)(V)||!V)k={next:V??void 0,error:G??void 0,complete:R??void 0};else{let A;this&&u.config.useDeprecatedNextContext?(A=Object.create(V),A.unsubscribe=()=>this.unsubscribe(),k={next:V.next&&y(V.next,A),error:V.error&&y(V.error,A),complete:V.complete&&y(V.complete,A)}):k=V}this.destination=new f(k)}}function _(N){u.config.useDeprecatedSynchronousErrorHandling?(0,p.q)(N):(0,l.U)(N)}function D(N,V){const{onStoppedNotification:G}=u.config;G&&M.u.setTimeout(()=>G(N,V))}const L={closed:!0,next:i.K,error:function w(N){throw N},complete:i.K}},46928:(pe,m,s)=>{"use strict";s.d(m,{au:()=>e,wH:()=>i,GI:()=>o});var n=s(38880);const u=(0,s(14912).w)(v=>function(p){v(this),this.message=p?`${p.length} errors occurred during unsubscription:\n${p.map((E,S)=>`${S+1}) ${E.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=p});var l=s(41248);class i{constructor(M){this.initialTeardown=M,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let M;if(!this.closed){this.closed=!0;const{_parentage:p}=this;if(p)if(this._parentage=null,Array.isArray(p))for(const y of p)y.remove(this);else p.remove(this);const{initialTeardown:E}=this;if((0,n.m)(E))try{E()}catch(y){M=y instanceof u?y.errors:[y]}const{_finalizers:S}=this;if(S){this._finalizers=null;for(const y of S)try{d(y)}catch(f){M=M??[],f instanceof u?M=[...M,...f.errors]:M.push(f)}}if(M)throw new u(M)}}add(M){var p;if(M&&M!==this)if(this.closed)d(M);else{if(M instanceof i){if(M.closed||M._hasParent(this))return;M._addParent(this)}(this._finalizers=null!==(p=this._finalizers)&&void 0!==p?p:[]).push(M)}}_hasParent(M){const{_parentage:p}=this;return p===M||Array.isArray(p)&&p.includes(M)}_addParent(M){const{_parentage:p}=this;this._parentage=Array.isArray(p)?(p.push(M),p):p?[p,M]:M}_removeParent(M){const{_parentage:p}=this;p===M?this._parentage=null:Array.isArray(p)&&(0,l.k)(p,M)}remove(M){const{_finalizers:p}=this;p&&(0,l.k)(p,M),M instanceof i&&M._removeParent(this)}}i.EMPTY=(()=>{const v=new i;return v.closed=!0,v})();const e=i.EMPTY;function o(v){return v instanceof i||v&&"closed"in v&&(0,n.m)(v.remove)&&(0,n.m)(v.add)&&(0,n.m)(v.unsubscribe)}function d(v){(0,n.m)(v)?v():v.unsubscribe()}},74491:(pe,m,s)=>{"use strict";s.d(m,{config:()=>n});const n={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},56040:(pe,m,s)=>{"use strict";s.d(m,{E:()=>M});var n=s(53252),c=s(64300),u=s(74496),l=s(528),i=s(74187),e=s(59472),o=s(67904),d=s(87773),v=s(69399);function M(...S){const y=(0,e.e_)(S),f=(0,e.yu)(S),{args:C,keys:_}=(0,c.Q)(S);if(0===C.length)return(0,u.Q)([],y);const w=new n._(function p(S,y,f=l.Z){return C=>{E(y,()=>{const{length:_}=S,w=new Array(_);let D=_,L=_;for(let N=0;N<_;N++)E(y,()=>{const V=(0,u.Q)(S[N],y);let G=!1;V.subscribe((0,d.e)(C,R=>{w[N]=R,G||(G=!0,L--),L||C.next(f(w.slice()))},()=>{--D||C.complete()}))},C)},C)}}(C,y,_?D=>(0,o.q)(_,D):l.Z));return f?w.pipe((0,i.j)(f)):w}function E(S,y,f){S?(0,v._)(f,S,y):y()}},28960:(pe,m,s)=>{"use strict";s.d(m,{k:()=>c});const c=new(s(53252)._)(i=>i.complete())},74496:(pe,m,s)=>{"use strict";s.d(m,{Q:()=>R});var n=s(50560),c=s(69399),u=s(95448),l=s(87773);function i(k,A=0){return(0,u.i)((H,K)=>{H.subscribe((0,l.e)(K,ie=>(0,c._)(K,k,()=>K.next(ie),A),()=>(0,c._)(K,k,()=>K.complete(),A),ie=>(0,c._)(K,k,()=>K.error(ie),A)))})}function e(k,A=0){return(0,u.i)((H,K)=>{K.add(k.schedule(()=>H.subscribe(K),A))})}var v=s(53252),p=s(23835),E=s(38880);function y(k,A){if(!k)throw new Error("Iterable cannot be null");return new v._(H=>{(0,c._)(H,A,()=>{const K=k[Symbol.asyncIterator]();(0,c._)(H,A,()=>{K.next().then(ie=>{ie.done?H.complete():H.next(ie.value)})},0,!0)})})}var f=s(35099),C=s(55432),_=s(45428),w=s(61688),D=s(60376),L=s(58272),N=s(45832);function R(k,A){return A?function G(k,A){if(null!=k){if((0,f.O)(k))return function o(k,A){return(0,n.Uv)(k).pipe(e(A),i(A))}(k,A);if((0,_.G)(k))return function M(k,A){return new v._(H=>{let K=0;return A.schedule(function(){K===k.length?H.complete():(H.next(k[K++]),H.closed||this.schedule())})})}(k,A);if((0,C.u)(k))return function d(k,A){return(0,n.Uv)(k).pipe(e(A),i(A))}(k,A);if((0,D.E)(k))return y(k,A);if((0,w.i)(k))return function S(k,A){return new v._(H=>{let K;return(0,c._)(H,A,()=>{K=k[p.w](),(0,c._)(H,A,()=>{let ie,J;try{({value:ie,done:J}=K.next())}catch(be){return void H.error(be)}J?H.complete():H.next(ie)},0,!0)}),()=>(0,E.m)(K?.return)&&K.return()})}(k,A);if((0,N.K)(k))return function V(k,A){return y((0,N._)(k),A)}(k,A)}throw(0,L.W)(k)}(k,A):(0,n.Uv)(k)}},50560:(pe,m,s)=>{"use strict";s.d(m,{Uv:()=>S});var n=s(81316),c=s(45428),u=s(55432),l=s(53252),i=s(35099),e=s(60376),o=s(58272),d=s(61688),v=s(45832),M=s(38880),p=s(31984),E=s(90472);function S(N){if(N instanceof l._)return N;if(null!=N){if((0,i.O)(N))return function y(N){return new l._(V=>{const G=N[E.a]();if((0,M.m)(G.subscribe))return G.subscribe(V);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(N);if((0,c.G)(N))return function f(N){return new l._(V=>{for(let G=0;G{N.then(G=>{V.closed||(V.next(G),V.complete())},G=>V.error(G)).then(null,p.U)})}(N);if((0,e.E)(N))return w(N);if((0,d.i)(N))return function _(N){return new l._(V=>{for(const G of N)if(V.next(G),V.closed)return;V.complete()})}(N);if((0,v.K)(N))return function D(N){return w((0,v._)(N))}(N)}throw(0,o.W)(N)}function w(N){return new l._(V=>{(function L(N,V){var G,R,k,A;return(0,n.__awaiter)(this,void 0,void 0,function*(){try{for(G=(0,n.__asyncValues)(N);!(R=yield G.next()).done;)if(V.next(R.value),V.closed)return}catch(H){k={error:H}}finally{try{R&&!R.done&&(A=G.return)&&(yield A.call(G))}finally{if(k)throw k.error}}V.complete()})})(N,V).catch(G=>V.error(G))})}},82700:(pe,m,s)=>{"use strict";s.d(m,{of:()=>u});var n=s(59472),c=s(74496);function u(...l){const i=(0,n.e_)(l);return(0,c.Q)(l,i)}},87773:(pe,m,s)=>{"use strict";s.d(m,{e:()=>c});var n=s(41760);function c(l,i,e,o,d){return new u(l,i,e,o,d)}class u extends n.yR{constructor(i,e,o,d,v,M){super(i),this.onFinalize=v,this.shouldUnsubscribe=M,this._next=e?function(p){try{e(p)}catch(E){i.error(E)}}:super._next,this._error=d?function(p){try{d(p)}catch(E){i.error(E)}finally{this.unsubscribe()}}:super._error,this._complete=o?function(){try{o()}catch(p){i.error(p)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var i;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(i=this.onFinalize)||void 0===i||i.call(this))}}}},39144:(pe,m,s)=>{"use strict";s.d(m,{a:()=>l});var n=s(50560),c=s(87773),u=s(95448);function l(i){return(0,u.i)((e,o)=>{let M,d=null,v=!1;d=e.subscribe((0,c.e)(o,void 0,void 0,p=>{M=(0,n.Uv)(i(p,l(i)(e))),d?(d.unsubscribe(),d=null,M.subscribe(o)):v=!0})),v&&(d.unsubscribe(),d=null,M.subscribe(o))})}},26020:(pe,m,s)=>{"use strict";s.d(m,{m:()=>u});var n=s(7400),c=s(38880);function u(l,i){return(0,c.m)(i)?(0,n.O)(l,i,1):(0,n.O)(l,1)}},22156:(pe,m,s)=>{"use strict";s.d(m,{G:()=>u});var n=s(95448),c=s(87773);function u(l){return(0,n.i)((i,e)=>{let o=!1;i.subscribe((0,c.e)(e,d=>{o=!0,e.next(d)},()=>{o||e.next(l),e.complete()}))})}},66684:(pe,m,s)=>{"use strict";s.d(m,{I:()=>u});var n=s(95448),c=s(87773);function u(l,i){return(0,n.i)((e,o)=>{let d=0;e.subscribe((0,c.e)(o,v=>l.call(i,v,d++)&&o.next(v)))})}},68824:(pe,m,s)=>{"use strict";s.d(m,{U:()=>c});var n=s(95448);function c(u){return(0,n.i)((l,i)=>{try{l.subscribe(i)}finally{i.add(u)}})}},75084:(pe,m,s)=>{"use strict";s.d(m,{K:()=>o});var n=s(37696),c=s(66684),u=s(3992),l=s(22156),i=s(98124),e=s(528);function o(d,v){const M=arguments.length>=2;return p=>p.pipe(d?(0,c.I)((E,S)=>d(E,S,p)):e.Z,(0,u.U)(1),M?(0,l.G)(v):(0,i._)(()=>new n.G))}},54704:(pe,m,s)=>{"use strict";s.d(m,{k:()=>u});var n=s(95448),c=s(87773);function u(l,i){return(0,n.i)((e,o)=>{let d=0;e.subscribe((0,c.e)(o,v=>{o.next(l.call(i,v,d++))}))})}},7400:(pe,m,s)=>{"use strict";s.d(m,{O:()=>d});var n=s(54704),c=s(50560),u=s(95448),l=s(69399),i=s(87773),o=s(38880);function d(v,M,p=1/0){return(0,o.m)(M)?d((E,S)=>(0,n.k)((y,f)=>M(E,y,S,f))((0,c.Uv)(v(E,S))),p):("number"==typeof M&&(p=M),(0,u.i)((E,S)=>function e(v,M,p,E,S,y,f,C){const _=[];let w=0,D=0,L=!1;const N=()=>{L&&!_.length&&!w&&M.complete()},V=R=>w{y&&M.next(R),w++;let k=!1;(0,c.Uv)(p(R,D++)).subscribe((0,i.e)(M,A=>{S?.(A),y?V(A):M.next(A)},()=>{k=!0},void 0,()=>{if(k)try{for(w--;_.length&&wG(A)):G(A)}N()}catch(A){M.error(A)}}))};return v.subscribe((0,i.e)(M,V,()=>{L=!0,N()})),()=>{C?.()}}(E,S,v,p)))}},17368:(pe,m,s)=>{"use strict";s.d(m,{G:()=>l});var n=s(50560),c=s(95448),u=s(87773);function l(i,e){return(0,c.i)((o,d)=>{let v=null,M=0,p=!1;const E=()=>p&&!v&&d.complete();o.subscribe((0,u.e)(d,S=>{v?.unsubscribe();let y=0;const f=M++;(0,n.Uv)(i(S,f)).subscribe(v=(0,u.e)(d,C=>d.next(e?e(S,C,f,y++):C),()=>{v=null,E()}))},()=>{p=!0,E()}))})}},3992:(pe,m,s)=>{"use strict";s.d(m,{U:()=>l});var n=s(28960),c=s(95448),u=s(87773);function l(i){return i<=0?()=>n.k:(0,c.i)((e,o)=>{let d=0;e.subscribe((0,u.e)(o,v=>{++d<=i&&(o.next(v),i<=d&&o.complete())}))})}},19212:(pe,m,s)=>{"use strict";s.d(m,{y:()=>i});var n=s(38880),c=s(95448),u=s(87773),l=s(528);function i(e,o,d){const v=(0,n.m)(e)||o||d?{next:e,error:o,complete:d}:e;return v?(0,c.i)((M,p)=>{var E;null===(E=v.subscribe)||void 0===E||E.call(v);let S=!0;M.subscribe((0,u.e)(p,y=>{var f;null===(f=v.next)||void 0===f||f.call(v,y),p.next(y)},()=>{var y;S=!1,null===(y=v.complete)||void 0===y||y.call(v),p.complete()},y=>{var f;S=!1,null===(f=v.error)||void 0===f||f.call(v,y),p.error(y)},()=>{var y,f;S&&(null===(y=v.unsubscribe)||void 0===y||y.call(v)),null===(f=v.finalize)||void 0===f||f.call(v)}))}):l.Z}},98124:(pe,m,s)=>{"use strict";s.d(m,{_:()=>l});var n=s(37696),c=s(95448),u=s(87773);function l(e=i){return(0,c.i)((o,d)=>{let v=!1;o.subscribe((0,u.e)(d,M=>{v=!0,d.next(M)},()=>v?d.complete():d.error(e())))})}function i(){return new n.G}},43376:(pe,m,s)=>{"use strict";s.d(m,{u:()=>n});const n={setTimeout(c,u,...l){const{delegate:i}=n;return i?.setTimeout?i.setTimeout(c,u,...l):setTimeout(c,u,...l)},clearTimeout(c){const{delegate:u}=n;return(u?.clearTimeout||clearTimeout)(c)},delegate:void 0}},23835:(pe,m,s)=>{"use strict";s.d(m,{w:()=>c});const c=function n(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}()},90472:(pe,m,s)=>{"use strict";s.d(m,{a:()=>n});const n="function"==typeof Symbol&&Symbol.observable||"@@observable"},37696:(pe,m,s)=>{"use strict";s.d(m,{G:()=>c});const c=(0,s(14912).w)(u=>function(){u(this),this.name="EmptyError",this.message="no elements in sequence"})},59472:(pe,m,s)=>{"use strict";s.d(m,{yu:()=>l,e_:()=>i});var n=s(38880);function u(o){return o[o.length-1]}function l(o){return(0,n.m)(u(o))?o.pop():void 0}function i(o){return function c(o){return o&&(0,n.m)(o.schedule)}(u(o))?o.pop():void 0}},64300:(pe,m,s)=>{"use strict";s.d(m,{Q:()=>i});const{isArray:n}=Array,{getPrototypeOf:c,prototype:u,keys:l}=Object;function i(o){if(1===o.length){const d=o[0];if(n(d))return{args:d,keys:null};if(function e(o){return o&&"object"==typeof o&&c(o)===u}(d)){const v=l(d);return{args:v.map(M=>d[M]),keys:v}}}return{args:o,keys:null}}},41248:(pe,m,s)=>{"use strict";function n(c,u){if(c){const l=c.indexOf(u);0<=l&&c.splice(l,1)}}s.d(m,{k:()=>n})},14912:(pe,m,s)=>{"use strict";function n(c){const l=c(i=>{Error.call(i),i.stack=(new Error).stack});return l.prototype=Object.create(Error.prototype),l.prototype.constructor=l,l}s.d(m,{w:()=>n})},67904:(pe,m,s)=>{"use strict";function n(c,u){return c.reduce((l,i,e)=>(l[i]=u[e],l),{})}s.d(m,{q:()=>n})},92075:(pe,m,s)=>{"use strict";s.d(m,{c:()=>u,q:()=>l});var n=s(74491);let c=null;function u(i){if(n.config.useDeprecatedSynchronousErrorHandling){const e=!c;if(e&&(c={errorThrown:!1,error:null}),i(),e){const{errorThrown:o,error:d}=c;if(c=null,o)throw d}}else i()}function l(i){n.config.useDeprecatedSynchronousErrorHandling&&c&&(c.errorThrown=!0,c.error=i)}},69399:(pe,m,s)=>{"use strict";function n(c,u,l,i=0,e=!1){const o=u.schedule(function(){l(),e?c.add(this.schedule(null,i)):this.unsubscribe()},i);if(c.add(o),!e)return o}s.d(m,{_:()=>n})},528:(pe,m,s)=>{"use strict";function n(c){return c}s.d(m,{Z:()=>n})},45428:(pe,m,s)=>{"use strict";s.d(m,{G:()=>n});const n=c=>c&&"number"==typeof c.length&&"function"!=typeof c},60376:(pe,m,s)=>{"use strict";s.d(m,{E:()=>c});var n=s(38880);function c(u){return Symbol.asyncIterator&&(0,n.m)(u?.[Symbol.asyncIterator])}},38880:(pe,m,s)=>{"use strict";function n(c){return"function"==typeof c}s.d(m,{m:()=>n})},35099:(pe,m,s)=>{"use strict";s.d(m,{O:()=>u});var n=s(90472),c=s(38880);function u(l){return(0,c.m)(l[n.a])}},61688:(pe,m,s)=>{"use strict";s.d(m,{i:()=>u});var n=s(23835),c=s(38880);function u(l){return(0,c.m)(l?.[n.w])}},55432:(pe,m,s)=>{"use strict";s.d(m,{u:()=>c});var n=s(38880);function c(u){return(0,n.m)(u?.then)}},45832:(pe,m,s)=>{"use strict";s.d(m,{K:()=>l,_:()=>u});var n=s(81316),c=s(38880);function u(i){return(0,n.__asyncGenerator)(this,arguments,function*(){const o=i.getReader();try{for(;;){const{value:d,done:v}=yield(0,n.__await)(o.read());if(v)return yield(0,n.__await)(void 0);yield yield(0,n.__await)(d)}}finally{o.releaseLock()}})}function l(i){return(0,c.m)(i?.getReader)}},95448:(pe,m,s)=>{"use strict";s.d(m,{e:()=>c,i:()=>u});var n=s(38880);function c(l){return(0,n.m)(l?.lift)}function u(l){return i=>{if(c(i))return i.lift(function(e){try{return l(e,this)}catch(o){this.error(o)}});throw new TypeError("Unable to lift unknown Observable type")}}},74187:(pe,m,s)=>{"use strict";s.d(m,{j:()=>l});var n=s(54704);const{isArray:c}=Array;function l(i){return(0,n.k)(e=>function u(i,e){return c(e)?i(...e):i(e)}(i,e))}},20308:(pe,m,s)=>{"use strict";function n(){}s.d(m,{K:()=>n})},83928:(pe,m,s)=>{"use strict";s.d(m,{W:()=>c,Y:()=>u});var n=s(528);function c(...l){return u(l)}function u(l){return 0===l.length?n.Z:1===l.length?l[0]:function(e){return l.reduce((o,d)=>d(o),e)}}},31984:(pe,m,s)=>{"use strict";s.d(m,{U:()=>u});var n=s(74491),c=s(43376);function u(l){c.u.setTimeout(()=>{const{onUnhandledError:i}=n.config;if(!i)throw l;i(l)})}},58272:(pe,m,s)=>{"use strict";function n(c){return new TypeError(`You provided ${null!==c&&"object"==typeof c?"an invalid object":`'${c}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}s.d(m,{W:()=>n})},16213:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),Object.defineProperty(m,"NIL",{enumerable:!0,get:function(){return i.default}}),Object.defineProperty(m,"parse",{enumerable:!0,get:function(){return v.default}}),Object.defineProperty(m,"stringify",{enumerable:!0,get:function(){return d.default}}),Object.defineProperty(m,"v1",{enumerable:!0,get:function(){return n.default}}),Object.defineProperty(m,"v3",{enumerable:!0,get:function(){return c.default}}),Object.defineProperty(m,"v4",{enumerable:!0,get:function(){return u.default}}),Object.defineProperty(m,"v5",{enumerable:!0,get:function(){return l.default}}),Object.defineProperty(m,"validate",{enumerable:!0,get:function(){return o.default}}),Object.defineProperty(m,"version",{enumerable:!0,get:function(){return e.default}});var n=M(s(14400)),c=M(s(86664)),u=M(s(35368)),l=M(s(52632)),i=M(s(936)),e=M(s(54424)),o=M(s(54e3)),d=M(s(6944)),v=M(s(92612));function M(p){return p&&p.__esModule?p:{default:p}}},75440:(pe,m)=>{"use strict";function c(S){return 14+(S+64>>>9<<4)+1}function i(S,y){const f=(65535&S)+(65535&y);return(S>>16)+(y>>16)+(f>>16)<<16|65535&f}function o(S,y,f,C,_,w){return i(function e(S,y){return S<>>32-y}(i(i(y,S),i(C,w)),_),f)}function d(S,y,f,C,_,w,D){return o(y&f|~y&C,S,y,_,w,D)}function v(S,y,f,C,_,w,D){return o(y&C|f&~C,S,y,_,w,D)}function M(S,y,f,C,_,w,D){return o(y^f^C,S,y,_,w,D)}function p(S,y,f,C,_,w,D){return o(f^(y|~C),S,y,_,w,D)}Object.defineProperty(m,"__esModule",{value:!0}),m.default=void 0,m.default=function s(S){if("string"==typeof S){const y=unescape(encodeURIComponent(S));S=new Uint8Array(y.length);for(let f=0;f>5]>>>_%32&255,D=parseInt(C.charAt(w>>>4&15)+C.charAt(15&w),16);y.push(D)}return y}(function u(S,y){S[y>>5]|=128<>5]|=(255&S[C/8])<{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.default=void 0;var n={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};m.default=n},936:(pe,m)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.default=void 0,m.default="00000000-0000-0000-0000-000000000000"},92612:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.default=void 0;var n=function c(i){return i&&i.__esModule?i:{default:i}}(s(54e3));m.default=function u(i){if(!(0,n.default)(i))throw TypeError("Invalid UUID");let e;const o=new Uint8Array(16);return o[0]=(e=parseInt(i.slice(0,8),16))>>>24,o[1]=e>>>16&255,o[2]=e>>>8&255,o[3]=255&e,o[4]=(e=parseInt(i.slice(9,13),16))>>>8,o[5]=255&e,o[6]=(e=parseInt(i.slice(14,18),16))>>>8,o[7]=255&e,o[8]=(e=parseInt(i.slice(19,23),16))>>>8,o[9]=255&e,o[10]=(e=parseInt(i.slice(24,36),16))/1099511627776&255,o[11]=e/4294967296&255,o[12]=e>>>24&255,o[13]=e>>>16&255,o[14]=e>>>8&255,o[15]=255&e,o}},18280:(pe,m)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.default=void 0,m.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:(pe,m)=>{"use strict";let s;Object.defineProperty(m,"__esModule",{value:!0}),m.default=function c(){if(!s&&(s=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!s))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return s(n)};const n=new Uint8Array(16)},18780:(pe,m)=>{"use strict";function s(l,i,e,o){switch(l){case 0:return i&e^~i&o;case 1:case 3:return i^e^o;case 2:return i&e^i&o^e&o}}function n(l,i){return l<>>32-i}Object.defineProperty(m,"__esModule",{value:!0}),m.default=void 0,m.default=function c(l){const i=[1518500249,1859775393,2400959708,3395469782],e=[1732584193,4023233417,2562383102,271733878,3285377520];if("string"==typeof l){const M=unescape(encodeURIComponent(l));l=[];for(let p=0;p>>0;C=f,f=y,y=n(S,30)>>>0,S=E,E=D}e[0]=e[0]+E>>>0,e[1]=e[1]+S>>>0,e[2]=e[2]+y>>>0,e[3]=e[3]+f>>>0,e[4]=e[4]+C>>>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:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.default=void 0,m.unsafeStringify=l;var n=function c(o){return o&&o.__esModule?o:{default:o}}(s(54e3));const u=[];for(let o=0;o<256;++o)u.push((o+256).toString(16).slice(1));function l(o,d=0){return u[o[d+0]]+u[o[d+1]]+u[o[d+2]]+u[o[d+3]]+"-"+u[o[d+4]]+u[o[d+5]]+"-"+u[o[d+6]]+u[o[d+7]]+"-"+u[o[d+8]]+u[o[d+9]]+"-"+u[o[d+10]]+u[o[d+11]]+u[o[d+12]]+u[o[d+13]]+u[o[d+14]]+u[o[d+15]]}m.default=function i(o,d=0){const v=l(o,d);if(!(0,n.default)(v))throw TypeError("Stringified UUID is invalid");return v}},14400:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.default=void 0;var n=function u(M){return M&&M.__esModule?M:{default:M}}(s(98256)),c=s(6944);let l,i,e=0,o=0;m.default=function d(M,p,E){let S=p&&E||0;const y=p||new Array(16);let f=(M=M||{}).node||l,C=void 0!==M.clockseq?M.clockseq:i;if(null==f||null==C){const V=M.random||(M.rng||n.default)();null==f&&(f=l=[1|V[0],V[1],V[2],V[3],V[4],V[5]]),null==C&&(C=i=16383&(V[6]<<8|V[7]))}let _=void 0!==M.msecs?M.msecs:Date.now(),w=void 0!==M.nsecs?M.nsecs:o+1;const D=_-e+(w-o)/1e4;if(D<0&&void 0===M.clockseq&&(C=C+1&16383),(D<0||_>e)&&void 0===M.nsecs&&(w=0),w>=1e4)throw new Error("uuid.v1(): Can't create more than 10M uuids/sec");e=_,o=w,i=C,_+=122192928e5;const L=(1e4*(268435455&_)+w)%4294967296;y[S++]=L>>>24&255,y[S++]=L>>>16&255,y[S++]=L>>>8&255,y[S++]=255&L;const N=_/4294967296*1e4&268435455;y[S++]=N>>>8&255,y[S++]=255&N,y[S++]=N>>>24&15|16,y[S++]=N>>>16&255,y[S++]=C>>>8|128,y[S++]=255&C;for(let V=0;V<6;++V)y[S+V]=f[V];return p||(0,c.unsafeStringify)(y)}},86664:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.default=void 0;var n=u(s(65432)),c=u(s(75440));function u(e){return e&&e.__esModule?e:{default:e}}var i=(0,n.default)("v3",48,c.default);m.default=i},65432:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.URL=m.DNS=void 0,m.default=function o(d,v,M){function p(E,S,y,f){var C;if("string"==typeof E&&(E=function l(d){d=unescape(encodeURIComponent(d));const v=[];for(let M=0;M{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.default=void 0;var n=l(s(24400)),c=l(s(98256)),u=s(6944);function l(o){return o&&o.__esModule?o:{default:o}}m.default=function i(o,d,v){if(n.default.randomUUID&&!d&&!o)return n.default.randomUUID();const M=(o=o||{}).random||(o.rng||c.default)();if(M[6]=15&M[6]|64,M[8]=63&M[8]|128,d){v=v||0;for(let p=0;p<16;++p)d[v+p]=M[p];return d}return(0,u.unsafeStringify)(M)}},52632:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.default=void 0;var n=u(s(65432)),c=u(s(18780));function u(e){return e&&e.__esModule?e:{default:e}}var i=(0,n.default)("v5",80,c.default);m.default=i},54e3:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.default=void 0;var n=function c(i){return i&&i.__esModule?i:{default:i}}(s(18280));m.default=function u(i){return"string"==typeof i&&n.default.test(i)}},54424:(pe,m,s)=>{"use strict";Object.defineProperty(m,"__esModule",{value:!0}),m.default=void 0;var n=function c(i){return i&&i.__esModule?i:{default:i}}(s(54e3));m.default=function u(i){if(!(0,n.default)(i))throw TypeError("Invalid UUID");return parseInt(i.slice(14,15),16)}},21480:(pe,m,s)=>{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 c(u){if(!s.o(n,u))return Promise.resolve().then(()=>{var e=new Error("Cannot find module '"+u+"'");throw e.code="MODULE_NOT_FOUND",e});var l=n[u],i=l[0];return Promise.all(l.slice(1).map(s.e)).then(()=>s(i))}c.keys=()=>Object.keys(n),c.id=21480,pe.exports=c},92348:(pe,m,s)=>{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 c(l){var i=u(l);return s(i)}function u(l){if(!s.o(n,l)){var i=new Error("Cannot find module '"+l+"'");throw i.code="MODULE_NOT_FOUND",i}return n[l]}c.keys=function(){return Object.keys(n)},c.resolve=u,pe.exports=c,c.id=92348},1196:pe=>{function m(n,c,u,l,i,e,o){try{var d=n[e](o),v=d.value}catch(M){return void u(M)}d.done?c(v):Promise.resolve(v).then(l,i)}pe.exports=function s(n){return function(){var c=this,u=arguments;return new Promise(function(l,i){var e=n.apply(c,u);function o(v){m(e,l,i,o,d,"next",v)}function d(v){m(e,l,i,o,d,"throw",v)}o(void 0)})}},pe.exports.__esModule=!0,pe.exports.default=pe.exports},91368:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{APP_BASE_HREF:()=>f,AsyncPipe:()=>In,BrowserPlatformLocation:()=>M,CommonModule:()=>vo,CurrencyPipe:()=>ni,DATE_PIPE_DEFAULT_OPTIONS:()=>co,DATE_PIPE_DEFAULT_TIMEZONE:()=>st,DOCUMENT:()=>o,DatePipe:()=>Ri,DecimalPipe:()=>qr,FormStyle:()=>A,FormatWidth:()=>K,HashLocationStrategy:()=>_,I18nPluralPipe:()=>xn,I18nSelectPipe:()=>Jn,IMAGE_CONFIG:()=>n.\u0275IMAGE_CONFIG,IMAGE_LOADER:()=>ao,JsonPipe:()=>Gr,KeyValuePipe:()=>pi,LOCATION_INITIALIZED:()=>v,Location:()=>w,LocationStrategy:()=>y,LowerCasePipe:()=>Bn,NgClass:()=>gn,NgComponentOutlet:()=>wn,NgFor:()=>Xn,NgForOf:()=>Xn,NgForOfContext:()=>sr,NgIf:()=>Vr,NgIfContext:()=>Ir,NgLocaleLocalization:()=>Fr,NgLocalization:()=>dr,NgOptimizedImage:()=>yn,NgPlural:()=>fe,NgPluralCase:()=>nt,NgStyle:()=>mt,NgSwitch:()=>F,NgSwitchCase:()=>Q,NgSwitchDefault:()=>De,NgTemplateOutlet:()=>Et,NumberFormatStyle:()=>R,NumberSymbol:()=>ie,PRECONNECT_CHECK_BLOCKLIST:()=>Xo,PathLocationStrategy:()=>C,PercentPipe:()=>oi,PlatformLocation:()=>d,Plural:()=>k,SlicePipe:()=>Ji,TitleCasePipe:()=>hr,TranslationWidth:()=>H,UpperCasePipe:()=>Lr,VERSION:()=>ai,ViewportScroller:()=>pr,WeekDay:()=>J,XhrFactory:()=>Mo,formatCurrency:()=>Tr,formatDate:()=>ft,formatNumber:()=>nr,formatPercent:()=>lr,getCurrencySymbol:()=>nn,getLocaleCurrencyCode:()=>re,getLocaleCurrencyName:()=>je,getLocaleCurrencySymbol:()=>Se,getLocaleDateFormat:()=>Qe,getLocaleDateTimeFormat:()=>Be,getLocaleDayNames:()=>Ge,getLocaleDayPeriods:()=>ce,getLocaleDirection:()=>Te,getLocaleEraNames:()=>Oe,getLocaleExtraDayPeriodRules:()=>wt,getLocaleExtraDayPeriods:()=>ye,getLocaleFirstDayOfWeek:()=>ke,getLocaleId:()=>be,getLocaleMonthNames:()=>ct,getLocaleNumberFormat:()=>Me,getLocaleNumberSymbol:()=>_e,getLocalePluralCase:()=>rt,getLocaleTimeFormat:()=>$e,getLocaleWeekEndRange:()=>Re,getNumberOfCurrencyDigits:()=>Zt,isPlatformBrowser:()=>Pn,isPlatformServer:()=>bo,isPlatformWorkerApp:()=>gi,isPlatformWorkerUi:()=>Hi,provideCloudflareLoader:()=>so,provideCloudinaryLoader:()=>ya,provideImageKitLoader:()=>Lo,provideImgixLoader:()=>Wo,provideNetlifyLoader:()=>lt,registerLocaleData:()=>at,\u0275DomAdapter:()=>i,\u0275NullViewportScroller:()=>Pi,\u0275PLATFORM_BROWSER_ID:()=>ri,\u0275PLATFORM_SERVER_ID:()=>ro,\u0275PLATFORM_WORKER_APP_ID:()=>Rr,\u0275PLATFORM_WORKER_UI_ID:()=>oo,\u0275PlatformNavigation:()=>e,\u0275getDOM:()=>u,\u0275normalizeQueryParams:()=>S,\u0275parseCookieValue:()=>xt,\u0275setRootDomAdapter:()=>l});var n=s(54496);let c=null;function u(){return c}function l(Y){c??=Y}class i{}let e=(()=>{class Y{static#e=this.\u0275fac=function(Ee){return new(Ee||Y)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Y,factory:()=>window.navigation,providedIn:"platform"})}return Y})();const o=new n.InjectionToken("");let d=(()=>{class Y{historyGo(se){throw new Error("")}static#e=this.\u0275fac=function(Ee){return new(Ee||Y)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Y,factory:()=>(0,n.inject)(M),providedIn:"platform"})}return Y})();const v=new n.InjectionToken("");let M=(()=>{class Y extends d{constructor(){super(),this._doc=(0,n.inject)(o),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return u().getBaseHref(this._doc)}onPopState(se){const Ee=u().getGlobalEventTarget(this._doc,"window");return Ee.addEventListener("popstate",se,!1),()=>Ee.removeEventListener("popstate",se)}onHashChange(se){const Ee=u().getGlobalEventTarget(this._doc,"window");return Ee.addEventListener("hashchange",se,!1),()=>Ee.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,Ee,St){this._history.pushState(se,Ee,St)}replaceState(se,Ee,St){this._history.replaceState(se,Ee,St)}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(Ee){return new(Ee||Y)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Y,factory:()=>new Y,providedIn:"platform"})}return Y})();function p(Y,Ne){if(0==Y.length)return Ne;if(0==Ne.length)return Y;let se=0;return Y.endsWith("/")&&se++,Ne.startsWith("/")&&se++,2==se?Y+Ne.substring(1):1==se?Y+Ne:Y+"/"+Ne}function E(Y){const Ne=Y.match(/#|\?|$/),se=Ne&&Ne.index||Y.length;return Y.slice(0,se-("/"===Y[se-1]?1:0))+Y.slice(se)}function S(Y){return Y&&"?"!==Y[0]?"?"+Y:Y}let y=(()=>{class Y{historyGo(se){throw new Error("")}static#e=this.\u0275fac=function(Ee){return new(Ee||Y)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Y,factory:()=>(0,n.inject)(C),providedIn:"root"})}return Y})();const f=new n.InjectionToken("");let C=(()=>{class Y extends y{constructor(se,Ee){super(),this._platformLocation=se,this._removeListenerFns=[],this._baseHref=Ee??this._platformLocation.getBaseHrefFromDOM()??(0,n.inject)(o).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 Ee=this._platformLocation.pathname+S(this._platformLocation.search),St=this._platformLocation.hash;return St&&se?`${Ee}${St}`:Ee}pushState(se,Ee,St,P){const ne=this.prepareExternalUrl(St+S(P));this._platformLocation.pushState(se,Ee,ne)}replaceState(se,Ee,St,P){const ne=this.prepareExternalUrl(St+S(P));this._platformLocation.replaceState(se,Ee,ne)}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(Ee){return new(Ee||Y)(n.\u0275\u0275inject(d),n.\u0275\u0275inject(f,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Y,factory:Y.\u0275fac,providedIn:"root"})}return Y})(),_=(()=>{class Y extends y{constructor(se,Ee){super(),this._platformLocation=se,this._baseHref="",this._removeListenerFns=[],null!=Ee&&(this._baseHref=Ee)}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 Ee=this._platformLocation.hash??"#";return Ee.length>0?Ee.substring(1):Ee}prepareExternalUrl(se){const Ee=p(this._baseHref,se);return Ee.length>0?"#"+Ee:Ee}pushState(se,Ee,St,P){let ne=this.prepareExternalUrl(St+S(P));0==ne.length&&(ne=this._platformLocation.pathname),this._platformLocation.pushState(se,Ee,ne)}replaceState(se,Ee,St,P){let ne=this.prepareExternalUrl(St+S(P));0==ne.length&&(ne=this._platformLocation.pathname),this._platformLocation.replaceState(se,Ee,ne)}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(Ee){return new(Ee||Y)(n.\u0275\u0275inject(d),n.\u0275\u0275inject(f,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Y,factory:Y.\u0275fac})}return Y})(),w=(()=>{class Y{constructor(se){this._subject=new n.EventEmitter,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=se;const Ee=this._locationStrategy.getBaseHref();this._basePath=function V(Y){if(new RegExp("^(https?:)?//").test(Y)){const[,se]=Y.split(/\/\/[^\/]+/);return se}return Y}(E(N(Ee))),this._locationStrategy.onPopState(St=>{this._subject.emit({url:this.path(!0),pop:!0,state:St.state,type:St.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(se=!1){return this.normalize(this._locationStrategy.path(se))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(se,Ee=""){return this.path()==this.normalize(se+S(Ee))}normalize(se){return Y.stripTrailingSlash(function L(Y,Ne){if(!Y||!Ne.startsWith(Y))return Ne;const se=Ne.substring(Y.length);return""===se||["/",";","?","#"].includes(se[0])?se:Ne}(this._basePath,N(se)))}prepareExternalUrl(se){return se&&"/"!==se[0]&&(se="/"+se),this._locationStrategy.prepareExternalUrl(se)}go(se,Ee="",St=null){this._locationStrategy.pushState(St,"",se,Ee),this._notifyUrlChangeListeners(this.prepareExternalUrl(se+S(Ee)),St)}replaceState(se,Ee="",St=null){this._locationStrategy.replaceState(St,"",se,Ee),this._notifyUrlChangeListeners(this.prepareExternalUrl(se+S(Ee)),St)}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(Ee=>{this._notifyUrlChangeListeners(Ee.url,Ee.state)}),()=>{const Ee=this._urlChangeListeners.indexOf(se);this._urlChangeListeners.splice(Ee,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(se="",Ee){this._urlChangeListeners.forEach(St=>St(se,Ee))}subscribe(se,Ee,St){return this._subject.subscribe({next:se,error:Ee,complete:St})}static#e=this.normalizeQueryParams=S;static#t=this.joinWithSlash=p;static#n=this.stripTrailingSlash=E;static#r=this.\u0275fac=function(Ee){return new(Ee||Y)(n.\u0275\u0275inject(y))};static#i=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Y,factory:()=>function D(){return new w((0,n.\u0275\u0275inject)(y))}(),providedIn:"root"})}return Y})();function N(Y){return Y.replace(/\/index.html$/,"")}const G={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 R=function(Y){return Y[Y.Decimal=0]="Decimal",Y[Y.Percent=1]="Percent",Y[Y.Currency=2]="Currency",Y[Y.Scientific=3]="Scientific",Y}(R||{}),k=function(Y){return Y[Y.Zero=0]="Zero",Y[Y.One=1]="One",Y[Y.Two=2]="Two",Y[Y.Few=3]="Few",Y[Y.Many=4]="Many",Y[Y.Other=5]="Other",Y}(k||{}),A=function(Y){return Y[Y.Format=0]="Format",Y[Y.Standalone=1]="Standalone",Y}(A||{}),H=function(Y){return Y[Y.Narrow=0]="Narrow",Y[Y.Abbreviated=1]="Abbreviated",Y[Y.Wide=2]="Wide",Y[Y.Short=3]="Short",Y}(H||{}),K=function(Y){return Y[Y.Short=0]="Short",Y[Y.Medium=1]="Medium",Y[Y.Long=2]="Long",Y[Y.Full=3]="Full",Y}(K||{}),ie=function(Y){return Y[Y.Decimal=0]="Decimal",Y[Y.Group=1]="Group",Y[Y.List=2]="List",Y[Y.PercentSign=3]="PercentSign",Y[Y.PlusSign=4]="PlusSign",Y[Y.MinusSign=5]="MinusSign",Y[Y.Exponential=6]="Exponential",Y[Y.SuperscriptingExponent=7]="SuperscriptingExponent",Y[Y.PerMille=8]="PerMille",Y[Y.Infinity=9]="Infinity",Y[Y.NaN=10]="NaN",Y[Y.TimeSeparator=11]="TimeSeparator",Y[Y.CurrencyDecimal=12]="CurrencyDecimal",Y[Y.CurrencyGroup=13]="CurrencyGroup",Y}(ie||{}),J=function(Y){return Y[Y.Sunday=0]="Sunday",Y[Y.Monday=1]="Monday",Y[Y.Tuesday=2]="Tuesday",Y[Y.Wednesday=3]="Wednesday",Y[Y.Thursday=4]="Thursday",Y[Y.Friday=5]="Friday",Y[Y.Saturday=6]="Saturday",Y}(J||{});function be(Y){return(0,n.\u0275findLocaleData)(Y)[n.\u0275LocaleDataIndex.LocaleId]}function ce(Y,Ne,se){const Ee=(0,n.\u0275findLocaleData)(Y),P=ht([Ee[n.\u0275LocaleDataIndex.DayPeriodsFormat],Ee[n.\u0275LocaleDataIndex.DayPeriodsStandalone]],Ne);return ht(P,se)}function Ge(Y,Ne,se){const Ee=(0,n.\u0275findLocaleData)(Y),P=ht([Ee[n.\u0275LocaleDataIndex.DaysFormat],Ee[n.\u0275LocaleDataIndex.DaysStandalone]],Ne);return ht(P,se)}function ct(Y,Ne,se){const Ee=(0,n.\u0275findLocaleData)(Y),P=ht([Ee[n.\u0275LocaleDataIndex.MonthsFormat],Ee[n.\u0275LocaleDataIndex.MonthsStandalone]],Ne);return ht(P,se)}function Oe(Y,Ne){return ht((0,n.\u0275findLocaleData)(Y)[n.\u0275LocaleDataIndex.Eras],Ne)}function ke(Y){return(0,n.\u0275findLocaleData)(Y)[n.\u0275LocaleDataIndex.FirstDayOfWeek]}function Re(Y){return(0,n.\u0275findLocaleData)(Y)[n.\u0275LocaleDataIndex.WeekendRange]}function Qe(Y,Ne){return ht((0,n.\u0275findLocaleData)(Y)[n.\u0275LocaleDataIndex.DateFormat],Ne)}function $e(Y,Ne){return ht((0,n.\u0275findLocaleData)(Y)[n.\u0275LocaleDataIndex.TimeFormat],Ne)}function Be(Y,Ne){return ht((0,n.\u0275findLocaleData)(Y)[n.\u0275LocaleDataIndex.DateTimeFormat],Ne)}function _e(Y,Ne){const se=(0,n.\u0275findLocaleData)(Y),Ee=se[n.\u0275LocaleDataIndex.NumberSymbols][Ne];if(typeof Ee>"u"){if(Ne===ie.CurrencyDecimal)return se[n.\u0275LocaleDataIndex.NumberSymbols][ie.Decimal];if(Ne===ie.CurrencyGroup)return se[n.\u0275LocaleDataIndex.NumberSymbols][ie.Group]}return Ee}function Me(Y,Ne){return(0,n.\u0275findLocaleData)(Y)[n.\u0275LocaleDataIndex.NumberFormats][Ne]}function Se(Y){return(0,n.\u0275findLocaleData)(Y)[n.\u0275LocaleDataIndex.CurrencySymbol]||null}function je(Y){return(0,n.\u0275findLocaleData)(Y)[n.\u0275LocaleDataIndex.CurrencyName]||null}function re(Y){return(0,n.\u0275getLocaleCurrencyCode)(Y)}const rt=n.\u0275getLocalePluralCase;function tt(Y){if(!Y[n.\u0275LocaleDataIndex.ExtraData])throw new Error(`Missing extra locale data for the locale "${Y[n.\u0275LocaleDataIndex.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function wt(Y){const Ne=(0,n.\u0275findLocaleData)(Y);return tt(Ne),(Ne[n.\u0275LocaleDataIndex.ExtraData][2]||[]).map(Ee=>"string"==typeof Ee?Ft(Ee):[Ft(Ee[0]),Ft(Ee[1])])}function ye(Y,Ne,se){const Ee=(0,n.\u0275findLocaleData)(Y);tt(Ee);const P=ht([Ee[n.\u0275LocaleDataIndex.ExtraData][0],Ee[n.\u0275LocaleDataIndex.ExtraData][1]],Ne)||[];return ht(P,se)||[]}function Te(Y){return(0,n.\u0275findLocaleData)(Y)[n.\u0275LocaleDataIndex.Directionality]}function ht(Y,Ne){for(let se=Ne;se>-1;se--)if(typeof Y[se]<"u")return Y[se];throw new Error("Locale data API: locale data undefined")}function Ft(Y){const[Ne,se]=Y.split(":");return{hours:+Ne,minutes:+se}}function nn(Y,Ne,se="en"){const Ee=function we(Y){return(0,n.\u0275findLocaleData)(Y)[n.\u0275LocaleDataIndex.Currencies]}(se)[Y]||G[Y]||[],St=Ee[1];return"narrow"===Ne&&"string"==typeof St?St:Ee[0]||Y}const Yt=2;function Zt(Y){let Ne;const se=G[Y];return se&&(Ne=se[2]),"number"==typeof Ne?Ne:Yt}const Mn=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,Un={},zt=/((?:[^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 Hn=function(Y){return Y[Y.Short=0]="Short",Y[Y.ShortGMT=1]="ShortGMT",Y[Y.Long=2]="Long",Y[Y.Extended=3]="Extended",Y}(Hn||{}),kn=function(Y){return Y[Y.FullYear=0]="FullYear",Y[Y.Month=1]="Month",Y[Y.Date=2]="Date",Y[Y.Hours=3]="Hours",Y[Y.Minutes=4]="Minutes",Y[Y.Seconds=5]="Seconds",Y[Y.FractionalSeconds=6]="FractionalSeconds",Y[Y.Day=7]="Day",Y}(kn||{}),ln=function(Y){return Y[Y.DayPeriods=0]="DayPeriods",Y[Y.Days=1]="Days",Y[Y.Months=2]="Months",Y[Y.Eras=3]="Eras",Y}(ln||{});function ft(Y,Ne,se,Ee){let St=function He(Y){if(pt(Y))return Y;if("number"==typeof Y&&!isNaN(Y))return new Date(Y);if("string"==typeof Y){if(Y=Y.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(Y)){const[St,P=1,ne=1]=Y.split("-").map(B=>+B);return Pe(St,P-1,ne)}const se=parseFloat(Y);if(!isNaN(Y-se))return new Date(se);let Ee;if(Ee=Y.match(Mn))return function vt(Y){const Ne=new Date(0);let se=0,Ee=0;const St=Y[8]?Ne.setUTCFullYear:Ne.setFullYear,P=Y[8]?Ne.setUTCHours:Ne.setHours;Y[9]&&(se=Number(Y[9]+Y[10]),Ee=Number(Y[9]+Y[11])),St.call(Ne,Number(Y[1]),Number(Y[2])-1,Number(Y[3]));const ne=Number(Y[4]||0)-se,B=Number(Y[5]||0)-Ee,ue=Number(Y[6]||0),Ke=Math.floor(1e3*parseFloat("0."+(Y[7]||0)));return P.call(Ne,ne,B,ue,Ke),Ne}(Ee)}const Ne=new Date(Y);if(!pt(Ne))throw new Error(`Unable to convert "${Y}" into a date`);return Ne}(Y);Ne=le(se,Ne)||Ne;let B,ne=[];for(;Ne;){if(B=zt.exec(Ne),!B){ne.push(Ne);break}{ne=ne.concat(B.slice(1));const qt=ne.pop();if(!qt)break;Ne=qt}}let ue=St.getTimezoneOffset();Ee&&(ue=Ct(Ee,ue),St=function Nt(Y,Ne,se){const Ee=se?-1:1,St=Y.getTimezoneOffset();return function qe(Y,Ne){return(Y=new Date(Y.getTime())).setMinutes(Y.getMinutes()+Ne),Y}(Y,Ee*(Ct(Ne,St)-St))}(St,Ee,!0));let Ke="";return ne.forEach(qt=>{const Cn=function en(Y){if(It[Y])return It[Y];let Ne;switch(Y){case"G":case"GG":case"GGG":Ne=dn(ln.Eras,H.Abbreviated);break;case"GGGG":Ne=dn(ln.Eras,H.Wide);break;case"GGGGG":Ne=dn(ln.Eras,H.Narrow);break;case"y":Ne=gt(kn.FullYear,1,0,!1,!0);break;case"yy":Ne=gt(kn.FullYear,2,0,!0,!0);break;case"yyy":Ne=gt(kn.FullYear,3,0,!1,!0);break;case"yyyy":Ne=gt(kn.FullYear,4,0,!1,!0);break;case"Y":Ne=Yn(1);break;case"YY":Ne=Yn(2,!0);break;case"YYY":Ne=Yn(3);break;case"YYYY":Ne=Yn(4);break;case"M":case"L":Ne=gt(kn.Month,1,1);break;case"MM":case"LL":Ne=gt(kn.Month,2,1);break;case"MMM":Ne=dn(ln.Months,H.Abbreviated);break;case"MMMM":Ne=dn(ln.Months,H.Wide);break;case"MMMMM":Ne=dn(ln.Months,H.Narrow);break;case"LLL":Ne=dn(ln.Months,H.Abbreviated,A.Standalone);break;case"LLLL":Ne=dn(ln.Months,H.Wide,A.Standalone);break;case"LLLLL":Ne=dn(ln.Months,H.Narrow,A.Standalone);break;case"w":Ne=jr(1);break;case"ww":Ne=jr(2);break;case"W":Ne=jr(1,!0);break;case"d":Ne=gt(kn.Date,1);break;case"dd":Ne=gt(kn.Date,2);break;case"c":case"cc":Ne=gt(kn.Day,1);break;case"ccc":Ne=dn(ln.Days,H.Abbreviated,A.Standalone);break;case"cccc":Ne=dn(ln.Days,H.Wide,A.Standalone);break;case"ccccc":Ne=dn(ln.Days,H.Narrow,A.Standalone);break;case"cccccc":Ne=dn(ln.Days,H.Short,A.Standalone);break;case"E":case"EE":case"EEE":Ne=dn(ln.Days,H.Abbreviated);break;case"EEEE":Ne=dn(ln.Days,H.Wide);break;case"EEEEE":Ne=dn(ln.Days,H.Narrow);break;case"EEEEEE":Ne=dn(ln.Days,H.Short);break;case"a":case"aa":case"aaa":Ne=dn(ln.DayPeriods,H.Abbreviated);break;case"aaaa":Ne=dn(ln.DayPeriods,H.Wide);break;case"aaaaa":Ne=dn(ln.DayPeriods,H.Narrow);break;case"b":case"bb":case"bbb":Ne=dn(ln.DayPeriods,H.Abbreviated,A.Standalone,!0);break;case"bbbb":Ne=dn(ln.DayPeriods,H.Wide,A.Standalone,!0);break;case"bbbbb":Ne=dn(ln.DayPeriods,H.Narrow,A.Standalone,!0);break;case"B":case"BB":case"BBB":Ne=dn(ln.DayPeriods,H.Abbreviated,A.Format,!0);break;case"BBBB":Ne=dn(ln.DayPeriods,H.Wide,A.Format,!0);break;case"BBBBB":Ne=dn(ln.DayPeriods,H.Narrow,A.Format,!0);break;case"h":Ne=gt(kn.Hours,1,-12);break;case"hh":Ne=gt(kn.Hours,2,-12);break;case"H":Ne=gt(kn.Hours,1);break;case"HH":Ne=gt(kn.Hours,2);break;case"m":Ne=gt(kn.Minutes,1);break;case"mm":Ne=gt(kn.Minutes,2);break;case"s":Ne=gt(kn.Seconds,1);break;case"ss":Ne=gt(kn.Seconds,2);break;case"S":Ne=gt(kn.FractionalSeconds,1);break;case"SS":Ne=gt(kn.FractionalSeconds,2);break;case"SSS":Ne=gt(kn.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":Ne=tr(Hn.Short);break;case"ZZZZZ":Ne=tr(Hn.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":Ne=tr(Hn.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":Ne=tr(Hn.Long);break;default:return null}return It[Y]=Ne,Ne}(qt);Ke+=Cn?Cn(St,se,ue):"''"===qt?"'":qt.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),Ke}function Pe(Y,Ne,se){const Ee=new Date(0);return Ee.setFullYear(Y,Ne,se),Ee.setHours(0,0,0),Ee}function le(Y,Ne){const se=be(Y);if(Un[se]??={},Un[se][Ne])return Un[se][Ne];let Ee="";switch(Ne){case"shortDate":Ee=Qe(Y,K.Short);break;case"mediumDate":Ee=Qe(Y,K.Medium);break;case"longDate":Ee=Qe(Y,K.Long);break;case"fullDate":Ee=Qe(Y,K.Full);break;case"shortTime":Ee=$e(Y,K.Short);break;case"mediumTime":Ee=$e(Y,K.Medium);break;case"longTime":Ee=$e(Y,K.Long);break;case"fullTime":Ee=$e(Y,K.Full);break;case"short":const St=le(Y,"shortTime"),P=le(Y,"shortDate");Ee=he(Be(Y,K.Short),[St,P]);break;case"medium":const ne=le(Y,"mediumTime"),B=le(Y,"mediumDate");Ee=he(Be(Y,K.Medium),[ne,B]);break;case"long":const ue=le(Y,"longTime"),Ke=le(Y,"longDate");Ee=he(Be(Y,K.Long),[ue,Ke]);break;case"full":const qt=le(Y,"fullTime"),Cn=le(Y,"fullDate");Ee=he(Be(Y,K.Full),[qt,Cn])}return Ee&&(Un[se][Ne]=Ee),Ee}function he(Y,Ne){return Ne&&(Y=Y.replace(/\{([^}]+)}/g,function(se,Ee){return null!=Ne&&Ee in Ne?Ne[Ee]:se})),Y}function We(Y,Ne,se="-",Ee,St){let P="";(Y<0||St&&Y<=0)&&(St?Y=1-Y:(Y=-Y,P=se));let ne=String(Y);for(;ne.length0||B>-se)&&(B+=se),Y===kn.Hours)0===B&&-12===se&&(B=12);else if(Y===kn.FractionalSeconds)return function ze(Y,Ne){return We(Y,3).substring(0,Ne)}(B,Ne);const ue=_e(ne,ie.MinusSign);return We(B,Ne,ue,Ee,St)}}function dn(Y,Ne,se=A.Format,Ee=!1){return function(St,P){return function $n(Y,Ne,se,Ee,St,P){switch(se){case ln.Months:return ct(Ne,St,Ee)[Y.getMonth()];case ln.Days:return Ge(Ne,St,Ee)[Y.getDay()];case ln.DayPeriods:const ne=Y.getHours(),B=Y.getMinutes();if(P){const Ke=wt(Ne),qt=ye(Ne,St,Ee),Cn=Ke.findIndex(An=>{if(Array.isArray(An)){const[Kn,Sr]=An,Zr=ne>=Kn.hours&&B>=Kn.minutes,ho=ne0?Math.floor(St/60):Math.ceil(St/60);switch(Y){case Hn.Short:return(St>=0?"+":"")+We(ne,2,P)+We(Math.abs(St%60),2,P);case Hn.ShortGMT:return"GMT"+(St>=0?"+":"")+We(ne,1,P);case Hn.Long:return"GMT"+(St>=0?"+":"")+We(ne,2,P)+":"+We(Math.abs(St%60),2,P);case Hn.Extended:return 0===Ee?"Z":(St>=0?"+":"")+We(ne,2,P)+":"+We(Math.abs(St%60),2,P);default:throw new Error(`Unknown zone width "${Y}"`)}}}const br=0,or=4;function Cr(Y){const Ne=Y.getDay(),se=0===Ne?-3:or-Ne;return Pe(Y.getFullYear(),Y.getMonth(),Y.getDate()+se)}function jr(Y,Ne=!1){return function(se,Ee){let St;if(Ne){const P=new Date(se.getFullYear(),se.getMonth(),1).getDay()-1,ne=se.getDate();St=1+Math.floor((ne+P)/7)}else{const P=Cr(se),ne=function fi(Y){const Ne=Pe(Y,br,1).getDay();return Pe(Y,0,1+(Ne<=or?or:or+7)-Ne)}(P.getFullYear()),B=P.getTime()-ne.getTime();St=1+Math.round(B/6048e5)}return We(St,Y,_e(Ee,ie.MinusSign))}}function Yn(Y,Ne=!1){return function(se,Ee){return We(Cr(se).getFullYear(),Y,_e(Ee,ie.MinusSign),Ne)}}const It={};function Ct(Y,Ne){Y=Y.replace(/:/g,"");const se=Date.parse("Jan 01, 1970 00:00:00 "+Y)/6e4;return isNaN(se)?Ne:se}function pt(Y){return Y instanceof Date&&!isNaN(Y.valueOf())}const an=/^(\d+)?\.((\d+)(-(\d+))?)?$/,Ln=22,Vt=".",Sn="0",xe=";",_t=",",Pt="#",jt="\xa4",ar="%";function ur(Y,Ne,se,Ee,St,P,ne=!1){let B="",ue=!1;if(isFinite(Y)){let Ke=function rn(Y){let Ee,St,P,ne,B,Ne=Math.abs(Y)+"",se=0;for((St=Ne.indexOf(Vt))>-1&&(Ne=Ne.replace(Vt,"")),(P=Ne.search(/e/i))>0?(St<0&&(St=P),St+=+Ne.slice(P+1),Ne=Ne.substring(0,P)):St<0&&(St=Ne.length),P=0;Ne.charAt(P)===Sn;P++);if(P===(B=Ne.length))Ee=[0],St=1;else{for(B--;Ne.charAt(B)===Sn;)B--;for(St-=P,Ee=[],ne=0;P<=B;P++,ne++)Ee[ne]=Number(Ne.charAt(P))}return St>Ln&&(Ee=Ee.splice(0,Ln-1),se=St-1,St=1),{digits:Ee,exponent:se,integerLen:St}}(Y);ne&&(Ke=function Ci(Y){if(0===Y.digits[0])return Y;const Ne=Y.digits.length-Y.integerLen;return Y.exponent?Y.exponent+=2:(0===Ne?Y.digits.push(0,0):1===Ne&&Y.digits.push(0),Y.integerLen+=2),Y}(Ke));let qt=Ne.minInt,Cn=Ne.minFrac,An=Ne.maxFrac;if(P){const Fo=P.match(an);if(null===Fo)throw new Error(`${P} is not a valid digit info`);const xi=Fo[1],Yi=Fo[3],yi=Fo[5];null!=xi&&(qt=qn(xi)),null!=Yi&&(Cn=qn(Yi)),null!=yi?An=qn(yi):null!=Yi&&Cn>An&&(An=Cn)}!function Vn(Y,Ne,se){if(Ne>se)throw new Error(`The minimum number of digits after fraction (${Ne}) is higher than the maximum (${se}).`);let Ee=Y.digits,St=Ee.length-Y.integerLen;const P=Math.min(Math.max(Ne,St),se);let ne=P+Y.integerLen,B=Ee[ne];if(ne>0){Ee.splice(Math.max(Y.integerLen,ne));for(let Cn=ne;Cn=5)if(ne-1<0){for(let Cn=0;Cn>ne;Cn--)Ee.unshift(0),Y.integerLen++;Ee.unshift(1),Y.integerLen++}else Ee[ne-1]++;for(;St=Ke?Sr.pop():ue=!1),An>=10?1:0},0);qt&&(Ee.unshift(qt),Y.integerLen++)}(Ke,Cn,An);let Kn=Ke.digits,Sr=Ke.integerLen;const Zr=Ke.exponent;let ho=[];for(ue=Kn.every(Fo=>!Fo);Sr0?ho=Kn.splice(Sr,Kn.length):(ho=Kn,Kn=[0]);const Co=[];for(Kn.length>=Ne.lgSize&&Co.unshift(Kn.splice(-Ne.lgSize,Kn.length).join(""));Kn.length>Ne.gSize;)Co.unshift(Kn.splice(-Ne.gSize,Kn.length).join(""));Kn.length&&Co.unshift(Kn.join("")),B=Co.join(_e(se,Ee)),ho.length&&(B+=_e(se,St)+ho.join("")),Zr&&(B+=_e(se,ie.Exponential)+"+"+Zr)}else B=_e(se,ie.Infinity);return B=Y<0&&!ue?Ne.negPre+B+Ne.negSuf:Ne.posPre+B+Ne.posSuf,B}function Tr(Y,Ne,se,Ee,St){const ne=Nr(Me(Ne,R.Currency),_e(Ne,ie.MinusSign));return ne.minFrac=Zt(Ee),ne.maxFrac=ne.minFrac,ur(Y,ne,Ne,ie.CurrencyGroup,ie.CurrencyDecimal,St).replace(jt,se).replace(jt,"").trim()}function lr(Y,Ne,se){return ur(Y,Nr(Me(Ne,R.Percent),_e(Ne,ie.MinusSign)),Ne,ie.Group,ie.Decimal,se,!0).replace(new RegExp(ar,"g"),_e(Ne,ie.PercentSign))}function nr(Y,Ne,se){return ur(Y,Nr(Me(Ne,R.Decimal),_e(Ne,ie.MinusSign)),Ne,ie.Group,ie.Decimal,se)}function Nr(Y,Ne="-"){const se={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},Ee=Y.split(xe),St=Ee[0],P=Ee[1],ne=-1!==St.indexOf(Vt)?St.split(Vt):[St.substring(0,St.lastIndexOf(Sn)+1),St.substring(St.lastIndexOf(Sn)+1)],B=ne[0],ue=ne[1]||"";se.posPre=B.substring(0,B.indexOf(Pt));for(let qt=0;qt{class Y{static#e=this.\u0275fac=function(Ee){return new(Ee||Y)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Y,factory:function(Ee){let St=null;return Ee?St=new Ee:(P=n.\u0275\u0275inject(n.LOCALE_ID),St=new Fr(P)),St;var P},providedIn:"root"})}return Y})();function ii(Y,Ne,se,Ee){let St=`=${Y}`;if(Ne.indexOf(St)>-1||(St=se.getPluralCategory(Y,Ee),Ne.indexOf(St)>-1))return St;if(Ne.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${Y}"`)}let Fr=(()=>{class Y extends dr{constructor(se){super(),this.locale=se}getPluralCategory(se,Ee){switch(rt(Ee||this.locale)(se)){case k.Zero:return"zero";case k.One:return"one";case k.Two:return"two";case k.Few:return"few";case k.Many:return"many";default:return"other"}}static#e=this.\u0275fac=function(Ee){return new(Ee||Y)(n.\u0275\u0275inject(n.LOCALE_ID))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Y,factory:Y.\u0275fac})}return Y})();function at(Y,Ne,se){return(0,n.\u0275registerLocaleData)(Y,Ne,se)}function xt(Y,Ne){Ne=encodeURIComponent(Ne);for(const se of Y.split(";")){const Ee=se.indexOf("="),[St,P]=-1==Ee?[se,""]:[se.slice(0,Ee),se.slice(Ee+1)];if(St.trim()===Ne)return decodeURIComponent(P)}return null}const Dt=/\s+/,sn=[];let gn=(()=>{class Y{constructor(se,Ee){this._ngEl=se,this._renderer=Ee,this.initialClasses=sn,this.stateMap=new Map}set klass(se){this.initialClasses=null!=se?se.trim().split(Dt):sn}set ngClass(se){this.rawClass="string"==typeof se?se.trim().split(Dt):se}ngDoCheck(){for(const Ee of this.initialClasses)this._updateState(Ee,!0);const se=this.rawClass;if(Array.isArray(se)||se instanceof Set)for(const Ee of se)this._updateState(Ee,!0);else if(null!=se)for(const Ee of Object.keys(se))this._updateState(Ee,!!se[Ee]);this._applyStateDiff()}_updateState(se,Ee){const St=this.stateMap.get(se);void 0!==St?(St.enabled!==Ee&&(St.changed=!0,St.enabled=Ee),St.touched=!0):this.stateMap.set(se,{enabled:Ee,changed:!0,touched:!0})}_applyStateDiff(){for(const se of this.stateMap){const Ee=se[0],St=se[1];St.changed?(this._toggleClass(Ee,St.enabled),St.changed=!1):St.touched||(St.enabled&&this._toggleClass(Ee,!1),this.stateMap.delete(Ee)),St.touched=!1}}_toggleClass(se,Ee){(se=se.trim()).length>0&&se.split(Dt).forEach(St=>{Ee?this._renderer.addClass(this._ngEl.nativeElement,St):this._renderer.removeClass(this._ngEl.nativeElement,St)})}static#e=this.\u0275fac=function(Ee){return new(Ee||Y)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Y,selectors:[["","ngClass",""]],inputs:{klass:[n.\u0275\u0275InputFlags.None,"class","klass"],ngClass:"ngClass"},standalone:!0})}return Y})(),wn=(()=>{class Y{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 Ee=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;this._needToReCreateNgModuleInstance(se)&&(this._moduleRef?.destroy(),this._moduleRef=this.ngComponentOutletNgModule?(0,n.createNgModule)(this.ngComponentOutletNgModule,Dn(Ee)):this.ngComponentOutletNgModuleFactory?this.ngComponentOutletNgModuleFactory.create(Dn(Ee)):void 0),this._componentRef=this._viewContainerRef.createComponent(this.ngComponentOutlet,{injector:Ee,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[Ee,St]of this._inputsUsed)St?(se.setInput(Ee,this.ngComponentOutletInputs[Ee]),this._inputsUsed.set(Ee,!1)):(se.setInput(Ee,void 0),this._inputsUsed.delete(Ee))}static#e=this.\u0275fac=function(Ee){return new(Ee||Y)(n.\u0275\u0275directiveInject(n.ViewContainerRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Y,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInputs:"ngComponentOutletInputs",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModule:"ngComponentOutletNgModule",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return Y})();function Dn(Y){return Y.get(n.NgModuleRef).injector}class sr{constructor(Ne,se,Ee,St){this.$implicit=Ne,this.ngForOf=se,this.index=Ee,this.count=St}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 Xn=(()=>{class Y{set ngForOf(se){this._ngForOf=se,this._ngForOfDirty=!0}set ngForTrackBy(se){this._trackByFn=se}get ngForTrackBy(){return this._trackByFn}constructor(se,Ee,St){this._viewContainer=se,this._template=Ee,this._differs=St,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 Ee=this._viewContainer;se.forEachOperation((St,P,ne)=>{if(null==St.previousIndex)Ee.createEmbeddedView(this._template,new sr(St.item,this._ngForOf,-1,-1),null===ne?void 0:ne);else if(null==ne)Ee.remove(null===P?void 0:P);else if(null!==P){const B=Ee.get(P);Ee.move(B,ne),xr(B,St)}});for(let St=0,P=Ee.length;St{xr(Ee.get(St.currentIndex),St)})}static ngTemplateContextGuard(se,Ee){return!0}static#e=this.\u0275fac=function(Ee){return new(Ee||Y)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.IterableDiffers))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Y,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return Y})();function xr(Y,Ne){Y.context.$implicit=Ne.item}let Vr=(()=>{class Y{constructor(se,Ee){this._viewContainer=se,this._context=new Ir,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=Ee}set ngIf(se){this._context.$implicit=this._context.ngIf=se,this._updateView()}set ngIfThen(se){Er("ngIfThen",se),this._thenTemplateRef=se,this._thenViewRef=null,this._updateView()}set ngIfElse(se){Er("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,Ee){return!0}static#e=this.\u0275fac=function(Ee){return new(Ee||Y)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Y,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return Y})();class Ir{constructor(){this.$implicit=null,this.ngIf=null}}function Er(Y,Ne){if(Ne&&!Ne.createEmbeddedView)throw new Error(`${Y} must be a TemplateRef, but received '${(0,n.\u0275stringify)(Ne)}'.`)}class x{constructor(Ne,se){this._viewContainerRef=Ne,this._templateRef=se,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(Ne){Ne&&!this._created?this.create():!Ne&&this._created&&this.destroy()}}let F=(()=>{class Y{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 Ee=se===this._ngSwitch;return this._lastCasesMatched||=Ee,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),Ee}_updateDefaultCases(se){if(this._defaultViews.length>0&&se!==this._defaultUsed){this._defaultUsed=se;for(const Ee of this._defaultViews)Ee.enforceState(se)}}static#e=this.\u0275fac=function(Ee){return new(Ee||Y)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Y,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return Y})(),Q=(()=>{class Y{constructor(se,Ee,St){this.ngSwitch=St,St._addCase(),this._view=new x(se,Ee)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(Ee){return new(Ee||Y)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(F,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Y,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return Y})(),De=(()=>{class Y{constructor(se,Ee,St){St._addDefault(new x(se,Ee))}static#e=this.\u0275fac=function(Ee){return new(Ee||Y)(n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(F,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Y,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return Y})(),fe=(()=>{class Y{constructor(se){this._localization=se,this._caseViews={}}set ngPlural(se){this._updateView(se)}addCase(se,Ee){this._caseViews[se]=Ee}_updateView(se){this._clearViews();const St=ii(se,Object.keys(this._caseViews),this._localization);this._activateView(this._caseViews[St])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(se){se&&(this._activeView=se,this._activeView.create())}static#e=this.\u0275fac=function(Ee){return new(Ee||Y)(n.\u0275\u0275directiveInject(dr))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Y,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"},standalone:!0})}return Y})(),nt=(()=>{class Y{constructor(se,Ee,St,P){this.value=se;const ne=!isNaN(Number(se));P.addCase(ne?`=${se}`:se,new x(St,Ee))}static#e=this.\u0275fac=function(Ee){return new(Ee||Y)(n.\u0275\u0275injectAttribute("ngPluralCase"),n.\u0275\u0275directiveInject(n.TemplateRef),n.\u0275\u0275directiveInject(n.ViewContainerRef),n.\u0275\u0275directiveInject(fe,1))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Y,selectors:[["","ngPluralCase",""]],standalone:!0})}return Y})(),mt=(()=>{class Y{constructor(se,Ee,St){this._ngEl=se,this._differs=Ee,this._renderer=St,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,Ee){const[St,P]=se.split("."),ne=-1===St.indexOf("-")?void 0:n.RendererStyleFlags2.DashCase;null!=Ee?this._renderer.setStyle(this._ngEl.nativeElement,St,P?`${Ee}${P}`:Ee,ne):this._renderer.removeStyle(this._ngEl.nativeElement,St,ne)}_applyChanges(se){se.forEachRemovedItem(Ee=>this._setStyle(Ee.key,null)),se.forEachAddedItem(Ee=>this._setStyle(Ee.key,Ee.currentValue)),se.forEachChangedItem(Ee=>this._setStyle(Ee.key,Ee.currentValue))}static#e=this.\u0275fac=function(Ee){return new(Ee||Y)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.KeyValueDiffers),n.\u0275\u0275directiveInject(n.Renderer2))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Y,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return Y})(),Et=(()=>{class Y{constructor(se){this._viewContainerRef=se,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(se){if(this._shouldRecreateView(se)){const Ee=this._viewContainerRef;if(this._viewRef&&Ee.remove(Ee.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const St=this._createContextForwardProxy();this._viewRef=Ee.createEmbeddedView(this.ngTemplateOutlet,St,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(se){return!!se.ngTemplateOutlet||!!se.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(se,Ee,St)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,Ee,St),get:(se,Ee,St)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,Ee,St)}})}static#e=this.\u0275fac=function(Ee){return new(Ee||Y)(n.\u0275\u0275directiveInject(n.ViewContainerRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Y,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return Y})();function tn(Y,Ne){return new n.\u0275RuntimeError(2100,!1)}class pn{createSubscription(Ne,se){return(0,n.untracked)(()=>Ne.subscribe({next:se,error:Ee=>{throw Ee}}))}dispose(Ne){(0,n.untracked)(()=>Ne.unsubscribe())}}class vn{createSubscription(Ne,se){return Ne.then(se,Ee=>{throw Ee})}dispose(Ne){}}const bn=new vn,fn=new pn;let In=(()=>{class Y{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,Ee=>this._updateLatestValue(se,Ee))}_selectStrategy(se){if((0,n.\u0275isPromise)(se))return bn;if((0,n.\u0275isSubscribable)(se))return fn;throw tn()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(se,Ee){se===this._obj&&(this._latestValue=Ee,this.markForCheckOnValueUpdate&&this._ref?.markForCheck())}static#e=this.\u0275fac=function(Ee){return new(Ee||Y)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"async",type:Y,pure:!1,standalone:!0})}return Y})(),Bn=(()=>{class Y{transform(se){if(null==se)return null;if("string"!=typeof se)throw tn();return se.toLowerCase()}static#e=this.\u0275fac=function(Ee){return new(Ee||Y)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"lowercase",type:Y,pure:!0,standalone:!0})}return Y})();const _r=/(?:[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 hr=(()=>{class Y{transform(se){if(null==se)return null;if("string"!=typeof se)throw tn();return se.replace(_r,Ee=>Ee[0].toUpperCase()+Ee.slice(1).toLowerCase())}static#e=this.\u0275fac=function(Ee){return new(Ee||Y)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"titlecase",type:Y,pure:!0,standalone:!0})}return Y})(),Lr=(()=>{class Y{transform(se){if(null==se)return null;if("string"!=typeof se)throw tn();return se.toUpperCase()}static#e=this.\u0275fac=function(Ee){return new(Ee||Y)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"uppercase",type:Y,pure:!0,standalone:!0})}return Y})();const st=new n.InjectionToken(""),co=new n.InjectionToken("");let Ri=(()=>{class Y{constructor(se,Ee,St){this.locale=se,this.defaultTimezone=Ee,this.defaultOptions=St}transform(se,Ee,St,P){if(null==se||""===se||se!=se)return null;try{return ft(se,Ee??this.defaultOptions?.dateFormat??"mediumDate",P||this.locale,St??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(ne){throw tn()}}static#e=this.\u0275fac=function(Ee){return new(Ee||Y)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16),n.\u0275\u0275directiveInject(st,24),n.\u0275\u0275directiveInject(co,24))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"date",type:Y,pure:!0,standalone:!0})}return Y})();const Ur=/#/g;let xn=(()=>{class Y{constructor(se){this._localization=se}transform(se,Ee,St){if(null==se)return"";if("object"!=typeof Ee||null===Ee)throw tn();return Ee[ii(se,Object.keys(Ee),this._localization,St)].replace(Ur,se.toString())}static#e=this.\u0275fac=function(Ee){return new(Ee||Y)(n.\u0275\u0275directiveInject(dr,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nPlural",type:Y,pure:!0,standalone:!0})}return Y})(),Jn=(()=>{class Y{transform(se,Ee){if(null==se)return"";if("object"!=typeof Ee||"string"!=typeof se)throw tn();return Ee.hasOwnProperty(se)?Ee[se]:Ee.hasOwnProperty("other")?Ee.other:""}static#e=this.\u0275fac=function(Ee){return new(Ee||Y)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"i18nSelect",type:Y,pure:!0,standalone:!0})}return Y})(),Gr=(()=>{class Y{transform(se){return JSON.stringify(se,null,2)}static#e=this.\u0275fac=function(Ee){return new(Ee||Y)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"json",type:Y,pure:!1,standalone:!0})}return Y})(),pi=(()=>{class Y{constructor(se){this.differs=se,this.keyValues=[],this.compareFn=Zi}transform(se,Ee=Zi){if(!se||!(se instanceof Map)&&"object"!=typeof se)return null;this.differ??=this.differs.find(se).create();const St=this.differ.diff(se),P=Ee!==this.compareFn;return St&&(this.keyValues=[],St.forEachItem(ne=>{this.keyValues.push(function jn(Y,Ne){return{key:Y,value:Ne}}(ne.key,ne.currentValue))})),(St||P)&&(this.keyValues.sort(Ee),this.compareFn=Ee),this.keyValues}static#e=this.\u0275fac=function(Ee){return new(Ee||Y)(n.\u0275\u0275directiveInject(n.KeyValueDiffers,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"keyvalue",type:Y,pure:!1,standalone:!0})}return Y})();function Zi(Y,Ne){const se=Y.key,Ee=Ne.key;if(se===Ee)return 0;if(void 0===se)return 1;if(void 0===Ee)return-1;if(null===se)return 1;if(null===Ee)return-1;if("string"==typeof se&&"string"==typeof Ee)return se{class Y{constructor(se){this._locale=se}transform(se,Ee,St){if(!ji(se))return null;St||=this._locale;try{return nr(yr(se),St,Ee)}catch(P){throw tn()}}static#e=this.\u0275fac=function(Ee){return new(Ee||Y)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"number",type:Y,pure:!0,standalone:!0})}return Y})(),oi=(()=>{class Y{constructor(se){this._locale=se}transform(se,Ee,St){if(!ji(se))return null;St||=this._locale;try{return lr(yr(se),St,Ee)}catch(P){throw tn()}}static#e=this.\u0275fac=function(Ee){return new(Ee||Y)(n.\u0275\u0275directiveInject(n.LOCALE_ID,16))};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"percent",type:Y,pure:!0,standalone:!0})}return Y})(),ni=(()=>{class Y{constructor(se,Ee="USD"){this._locale=se,this._defaultCurrencyCode=Ee}transform(se,Ee=this._defaultCurrencyCode,St="symbol",P,ne){if(!ji(se))return null;ne||=this._locale,"boolean"==typeof St&&(St=St?"symbol":"code");let B=Ee||this._defaultCurrencyCode;"code"!==St&&(B="symbol"===St||"symbol-narrow"===St?nn(B,"symbol"===St?"wide":"narrow",ne):St);try{return Tr(yr(se),ne,B,Ee,P)}catch(ue){throw tn()}}static#e=this.\u0275fac=function(Ee){return new(Ee||Y)(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:Y,pure:!0,standalone:!0})}return Y})();function ji(Y){return!(null==Y||""===Y||Y!=Y)}function yr(Y){if("string"==typeof Y&&!isNaN(Number(Y)-parseFloat(Y)))return Number(Y);if("number"!=typeof Y)throw new Error(`${Y} is not a number`);return Y}let Ji=(()=>{class Y{transform(se,Ee,St){if(null==se)return null;if(!this.supports(se))throw tn();return se.slice(Ee,St)}supports(se){return"string"==typeof se||Array.isArray(se)}static#e=this.\u0275fac=function(Ee){return new(Ee||Y)};static#t=this.\u0275pipe=n.\u0275\u0275definePipe({name:"slice",type:Y,pure:!1,standalone:!0})}return Y})(),vo=(()=>{class Y{static#e=this.\u0275fac=function(Ee){return new(Ee||Y)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Y});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return Y})();const ri="browser",ro="server",Rr="browserWorkerApp",oo="browserWorkerUi";function Pn(Y){return Y===ri}function bo(Y){return Y===ro}function gi(Y){return Y===Rr}function Hi(Y){return Y===oo}const ai=new n.Version("17.2.3");let pr=(()=>{class Y{static#e=this.\u0275prov=(0,n.\u0275\u0275defineInjectable)({token:Y,providedIn:"root",factory:()=>Pn((0,n.inject)(n.PLATFORM_ID))?new yo((0,n.inject)(o),window):new Pi})}return Y})();class yo{constructor(Ne,se){this.document=Ne,this.window=se,this.offset=()=>[0,0]}setOffset(Ne){this.offset=Array.isArray(Ne)?()=>Ne:Ne}getScrollPosition(){return[this.window.scrollX,this.window.scrollY]}scrollToPosition(Ne){this.window.scrollTo(Ne[0],Ne[1])}scrollToAnchor(Ne){const se=function Ai(Y,Ne){const se=Y.getElementById(Ne)||Y.getElementsByName(Ne)[0];if(se)return se;if("function"==typeof Y.createTreeWalker&&Y.body&&"function"==typeof Y.body.attachShadow){const Ee=Y.createTreeWalker(Y.body,NodeFilter.SHOW_ELEMENT);let St=Ee.currentNode;for(;St;){const P=St.shadowRoot;if(P){const ne=P.getElementById(Ne)||P.querySelector(`[name="${Ne}"]`);if(ne)return ne}St=Ee.nextNode()}}return null}(this.document,Ne);se&&(this.scrollToElement(se),se.focus())}setHistoryScrollRestoration(Ne){this.window.history.scrollRestoration=Ne}scrollToElement(Ne){const se=Ne.getBoundingClientRect(),Ee=se.left+this.window.pageXOffset,St=se.top+this.window.pageYOffset,P=this.offset();this.window.scrollTo(Ee-P[0],St-P[1])}}class Pi{setOffset(Ne){}getScrollPosition(){return[0,0]}scrollToPosition(Ne){}scrollToAnchor(Ne){}setHistoryScrollRestoration(Ne){}}class Mo{}function Yr(Y){return/^https?:\/\//.test(Y)}function Vi(Y){if("string"!=typeof Y||""===Y.trim())return!1;try{return new URL(Y),!0}catch{return!1}}function Uo(Y){return Y.startsWith("/")?Y.slice(1):Y}const Fi=Y=>Y.src,ao=new n.InjectionToken("",{providedIn:"root",factory:()=>Fi});function Gi(Y,Ne){return function(Ee){return Vi(Ee)||function xo(Y,Ne){throw new n.\u0275RuntimeError(2959,!1)}(),Ee=function ei(Y){return Y.endsWith("/")?Y.slice(0,-1):Y}(Ee),[{provide:ao,useValue:ne=>(Yr(ne.src)&&function Bo(Y,Ne){throw new n.\u0275RuntimeError(2959,!1)}(),Y(Ee,{...ne,src:Uo(ne.src)}))}]}}const so=Gi(Oo);function Oo(Y,Ne){let se="format=auto";return Ne.width&&(se+=`,width=${Ne.width}`),`${Y}/cdn-cgi/image/${se}/${Ne.src}`}const ya=Gi(Qo);function Qo(Y,Ne){let se="f_auto,q_auto";return Ne.width&&(se+=`,w_${Ne.width}`),`${Y}/image/upload/${se}/${Ne.src}`}const Lo=Gi(Xi);function Xi(Y,Ne){const{src:se,width:Ee}=Ne;let St;return St=Ee?[Y,`tr:w-${Ee}`,se]:[Y,se],St.join("/")}const Wo=Gi(Jo);function Jo(Y,Ne){const se=new URL(`${Y}/${Ne.src}`);return se.searchParams.set("auto","format"),Ne.width&&se.searchParams.set("w",Ne.width.toString()),se.href}function lt(Y){if(Y&&!Vi(Y))throw new n.\u0275RuntimeError(2959,!1);return Y&&(Y=new URL(Y).origin),[{provide:ao,useValue:Ee=>function ir(Y,Ne){const se=new URL(Ne??"https://a/");se.pathname="/.netlify/images",!Yr(Y.src)&&!Y.src.startsWith("/")&&(Y.src="/"+Y.src),se.searchParams.set("url",Y.src),Y.width&&se.searchParams.set("w",Y.width.toString());for(const[Ee,St]of Object.entries(Y.loaderParams??{}))At.has(Ee)&&se.searchParams.set(At.get(Ee),St.toString());return"a"===se.hostname?se.href.replace(se.origin,""):se.href}(Ee,Y)}]}const At=new Map([["height","h"],["fit","fit"],["quality","q"],["q","q"],["position","position"]]),Xo=new n.InjectionToken(""),Ro=new n.InjectionToken("NG_OPTIMIZED_PRELOADED_IMAGES",{providedIn:"root",factory:()=>new Set});let wo=(()=>{class Y{constructor(){this.preloadedImages=(0,n.inject)(Ro),this.document=(0,n.inject)(o)}createPreloadLinkTag(se,Ee,St,P){if(this.preloadedImages.has(Ee))return;this.preloadedImages.add(Ee);const ne=se.createElement("link");se.setAttribute(ne,"as","image"),se.setAttribute(ne,"href",Ee),se.setAttribute(ne,"rel","preload"),se.setAttribute(ne,"fetchpriority","high"),P&&se.setAttribute(ne,"imageSizes",P),St&&se.setAttribute(ne,"imageSrcset",St),se.appendChild(this.document.head,ne)}static#e=this.\u0275fac=function(Ee){return new(Ee||Y)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Y,factory:Y.\u0275fac,providedIn:"root"})}return Y})();const Go=/^((\s*\d+w\s*(,|$)){1,})$/,ma=[1,2];let yn=(()=>{class Y{constructor(){this.imageLoader=(0,n.inject)(ao),this.config=function rr(Y){let Ne={};return Y.breakpoints&&(Ne.breakpoints=Y.breakpoints.sort((se,Ee)=>se-Ee)),Object.assign({},n.\u0275IMAGE_CONFIG_DEFAULTS,Y,Ne)}((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=bo((0,n.inject)(n.PLATFORM_ID)),this.preloadLinkCreator=(0,n.inject)(wo),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 Ee=this._renderedSrc;this.updateSrcAndSrcset(!0);const St=this._renderedSrc;null!==this.lcpObserver&&Ee&&St&&Ee!==St&&this.injector.get(n.NgZone).runOutsideAngular(()=>{this.lcpObserver?.updateImage(Ee,St)})}}callImageLoader(se){let Ee=se;return this.loaderParams&&(Ee.loaderParams=this.loaderParams),this.imageLoader(Ee)}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=Go.test(this.ngSrcset);return this.ngSrcset.split(",").filter(St=>""!==St).map(St=>{St=St.trim();const P=se?parseFloat(St):parseFloat(St)*this.width;return`${this.callImageLoader({src:this.ngSrc,width:P})} ${St}`}).join(", ")}getAutomaticSrcset(){return this.sizes?this.getResponsiveSrcset():this.getFixedSrcset()}getResponsiveSrcset(){const{breakpoints:se}=this.config;let Ee=se;return"100vw"===this.sizes?.trim()&&(Ee=se.filter(P=>P>=640)),Ee.map(P=>`${this.callImageLoader({src:this.ngSrc,width:P})} ${P}w`).join(", ")}updateSrcAndSrcset(se=!1){se&&(this._renderedSrc=null);const Ee=this.getRewrittenSrc();let St;return this.setHostAttribute("src",Ee),this.ngSrcset?St=this.getRewrittenSrcset():this.shouldGenerateAutomaticSrcset()&&(St=this.getAutomaticSrcset()),St&&this.setHostAttribute("srcset",St),St}getFixedSrcset(){return ma.map(Ee=>`${this.callImageLoader({src:this.ngSrc,width:this.width*Ee})} ${Ee}x`).join(", ")}shouldGenerateAutomaticSrcset(){let se=!1;return this.sizes||(se=this.width>1920||this.height>1080),!this.disableOptimizedSrcset&&!this.srcset&&this.imageLoader!==Fi&&!se}generatePlaceholder(se){const{placeholderResolution:Ee}=this.config;return!0===se?`url(${this.callImageLoader({src:this.ngSrc,width:Ee,isPlaceholder:!0})})`:"string"==typeof se&&se.startsWith("data:")?`url(${se})`:null}shouldBlurPlaceholder(se){return!se||!se.hasOwnProperty("blur")||!!se.blur}removePlaceholderOnLoad(se){const Ee=()=>{const ne=this.injector.get(n.ChangeDetectorRef);St(),P(),this.placeholder=!1,ne.markForCheck()},St=this.renderer.listen(se,"load",Ee),P=this.renderer.listen(se,"error",Ee)}ngOnDestroy(){}setHostAttribute(se,Ee){this.renderer.setAttribute(this.imgElement,se,Ee)}static#e=this.\u0275fac=function(Ee){return new(Ee||Y)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Y,selectors:[["img","ngSrc",""]],hostVars:18,hostBindings:function(Ee,St){2&Ee&&n.\u0275\u0275styleProp("position",St.fill?"absolute":null)("width",St.fill?"100%":null)("height",St.fill?"100%":null)("inset",St.fill?"0":null)("background-size",St.placeholder?"cover":null)("background-position",St.placeholder?"50% 50%":null)("background-repeat",St.placeholder?"no-repeat":null)("background-image",St.placeholder?St.generatePlaceholder(St.placeholder):null)("filter",St.placeholder&&St.shouldBlurPlaceholder(St.placeholderConfig)?"blur(15px)":null)},inputs:{ngSrc:[n.\u0275\u0275InputFlags.HasDecoratorInputTransform,"ngSrc","ngSrc",hn],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",Wn],placeholderConfig:"placeholderConfig",src:"src",srcset:"srcset"},standalone:!0,features:[n.\u0275\u0275InputTransformsFeature,n.\u0275\u0275NgOnChangesFeature]})}return Y})();function hn(Y){return"string"==typeof Y?Y:(0,n.\u0275unwrapSafeValue)(Y)}function Wn(Y){return"string"==typeof Y&&Y.startsWith("data:")?Y:(0,n.booleanAttribute)(Y)}},97048:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{FetchBackend:()=>Se,HTTP_INTERCEPTORS:()=>ye,HttpBackend:()=>y,HttpClient:()=>$e,HttpClientJsonpModule:()=>Pt,HttpClientModule:()=>_t,HttpClientXsrfModule:()=>xe,HttpContext:()=>k,HttpContextToken:()=>R,HttpErrorResponse:()=>ke,HttpEventType:()=>ce,HttpFeatureKind:()=>en,HttpHandler:()=>S,HttpHeaderResponse:()=>ct,HttpHeaders:()=>f,HttpParams:()=>G,HttpRequest:()=>be,HttpResponse:()=>Oe,HttpResponseBase:()=>Ge,HttpStatusCode:()=>Re,HttpUrlEncodingCodec:()=>_,HttpXhrBackend:()=>dn,HttpXsrfTokenExtractor:()=>Cr,JsonpClientBackend:()=>he,JsonpInterceptor:()=>ze,provideHttpClient:()=>qe,withFetch:()=>Sn,withInterceptors:()=>Nt,withInterceptorsFromDi:()=>vt,withJsonpSupport:()=>Ln,withNoXsrfProtection:()=>an,withRequestsMadeViaParent:()=>Vt,withXsrfConfiguration:()=>pt,\u0275HTTP_ROOT_INTERCEPTOR_FNS:()=>ht,\u0275HttpInterceptingHandler:()=>Mn,\u0275HttpInterceptorHandler:()=>Mn,\u0275PRIMARY_HTTP_BACKEND:()=>Ft,\u0275withHttpTransferCache:()=>ii});var n=s(1528),c=s(54496),u=s(82700),l=s(53252),i=s(74496),e=s(26020),o=s(66684),d=s(54704),v=s(68824),M=s(17368),p=s(19212),E=s(91368);class S{}class y{}class f{constructor(xt){this.normalizedNames=new Map,this.lazyUpdate=null,xt?"string"==typeof xt?this.lazyInit=()=>{this.headers=new Map,xt.split("\n").forEach(Dt=>{const sn=Dt.indexOf(":");if(sn>0){const gn=Dt.slice(0,sn),wn=gn.toLowerCase(),Dn=Dt.slice(sn+1).trim();this.maybeSetNormalizedName(gn,wn),this.headers.has(wn)?this.headers.get(wn).push(Dn):this.headers.set(wn,[Dn])}})}:typeof Headers<"u"&&xt instanceof Headers?(this.headers=new Map,xt.forEach((Dt,sn)=>{this.setHeaderEntries(sn,Dt)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(xt).forEach(([Dt,sn])=>{this.setHeaderEntries(Dt,sn)})}:this.headers=new Map}has(xt){return this.init(),this.headers.has(xt.toLowerCase())}get(xt){this.init();const Dt=this.headers.get(xt.toLowerCase());return Dt&&Dt.length>0?Dt[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(xt){return this.init(),this.headers.get(xt.toLowerCase())||null}append(xt,Dt){return this.clone({name:xt,value:Dt,op:"a"})}set(xt,Dt){return this.clone({name:xt,value:Dt,op:"s"})}delete(xt,Dt){return this.clone({name:xt,value:Dt,op:"d"})}maybeSetNormalizedName(xt,Dt){this.normalizedNames.has(Dt)||this.normalizedNames.set(Dt,xt)}init(){this.lazyInit&&(this.lazyInit instanceof f?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(xt=>this.applyUpdate(xt)),this.lazyUpdate=null))}copyFrom(xt){xt.init(),Array.from(xt.headers.keys()).forEach(Dt=>{this.headers.set(Dt,xt.headers.get(Dt)),this.normalizedNames.set(Dt,xt.normalizedNames.get(Dt))})}clone(xt){const Dt=new f;return Dt.lazyInit=this.lazyInit&&this.lazyInit instanceof f?this.lazyInit:this,Dt.lazyUpdate=(this.lazyUpdate||[]).concat([xt]),Dt}applyUpdate(xt){const Dt=xt.name.toLowerCase();switch(xt.op){case"a":case"s":let sn=xt.value;if("string"==typeof sn&&(sn=[sn]),0===sn.length)return;this.maybeSetNormalizedName(xt.name,Dt);const gn=("a"===xt.op?this.headers.get(Dt):void 0)||[];gn.push(...sn),this.headers.set(Dt,gn);break;case"d":const wn=xt.value;if(wn){let Dn=this.headers.get(Dt);if(!Dn)return;Dn=Dn.filter(sr=>-1===wn.indexOf(sr)),0===Dn.length?(this.headers.delete(Dt),this.normalizedNames.delete(Dt)):this.headers.set(Dt,Dn)}else this.headers.delete(Dt),this.normalizedNames.delete(Dt)}}setHeaderEntries(xt,Dt){const sn=(Array.isArray(Dt)?Dt:[Dt]).map(wn=>wn.toString()),gn=xt.toLowerCase();this.headers.set(gn,sn),this.maybeSetNormalizedName(xt,gn)}forEach(xt){this.init(),Array.from(this.normalizedNames.keys()).forEach(Dt=>xt(this.normalizedNames.get(Dt),this.headers.get(Dt)))}}class _{encodeKey(xt){return N(xt)}encodeValue(xt){return N(xt)}decodeKey(xt){return decodeURIComponent(xt)}decodeValue(xt){return decodeURIComponent(xt)}}const D=/%(\d[a-f0-9])/gi,L={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function N(at){return encodeURIComponent(at).replace(D,(xt,Dt)=>L[Dt]??xt)}function V(at){return`${at}`}class G{constructor(xt={}){if(this.updates=null,this.cloneFrom=null,this.encoder=xt.encoder||new _,xt.fromString){if(xt.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function w(at,xt){const Dt=new Map;return at.length>0&&at.replace(/^\?/,"").split("&").forEach(gn=>{const wn=gn.indexOf("="),[Dn,sr]=-1==wn?[xt.decodeKey(gn),""]:[xt.decodeKey(gn.slice(0,wn)),xt.decodeValue(gn.slice(wn+1))],Xn=Dt.get(Dn)||[];Xn.push(sr),Dt.set(Dn,Xn)}),Dt}(xt.fromString,this.encoder)}else xt.fromObject?(this.map=new Map,Object.keys(xt.fromObject).forEach(Dt=>{const sn=xt.fromObject[Dt],gn=Array.isArray(sn)?sn.map(V):[V(sn)];this.map.set(Dt,gn)})):this.map=null}has(xt){return this.init(),this.map.has(xt)}get(xt){this.init();const Dt=this.map.get(xt);return Dt?Dt[0]:null}getAll(xt){return this.init(),this.map.get(xt)||null}keys(){return this.init(),Array.from(this.map.keys())}append(xt,Dt){return this.clone({param:xt,value:Dt,op:"a"})}appendAll(xt){const Dt=[];return Object.keys(xt).forEach(sn=>{const gn=xt[sn];Array.isArray(gn)?gn.forEach(wn=>{Dt.push({param:sn,value:wn,op:"a"})}):Dt.push({param:sn,value:gn,op:"a"})}),this.clone(Dt)}set(xt,Dt){return this.clone({param:xt,value:Dt,op:"s"})}delete(xt,Dt){return this.clone({param:xt,value:Dt,op:"d"})}toString(){return this.init(),this.keys().map(xt=>{const Dt=this.encoder.encodeKey(xt);return this.map.get(xt).map(sn=>Dt+"="+this.encoder.encodeValue(sn)).join("&")}).filter(xt=>""!==xt).join("&")}clone(xt){const Dt=new G({encoder:this.encoder});return Dt.cloneFrom=this.cloneFrom||this,Dt.updates=(this.updates||[]).concat(xt),Dt}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(xt=>this.map.set(xt,this.cloneFrom.map.get(xt))),this.updates.forEach(xt=>{switch(xt.op){case"a":case"s":const Dt=("a"===xt.op?this.map.get(xt.param):void 0)||[];Dt.push(V(xt.value)),this.map.set(xt.param,Dt);break;case"d":if(void 0===xt.value){this.map.delete(xt.param);break}{let sn=this.map.get(xt.param)||[];const gn=sn.indexOf(V(xt.value));-1!==gn&&sn.splice(gn,1),sn.length>0?this.map.set(xt.param,sn):this.map.delete(xt.param)}}}),this.cloneFrom=this.updates=null)}}class R{constructor(xt){this.defaultValue=xt}}class k{constructor(){this.map=new Map}set(xt,Dt){return this.map.set(xt,Dt),this}get(xt){return this.map.has(xt)||this.map.set(xt,xt.defaultValue()),this.map.get(xt)}delete(xt){return this.map.delete(xt),this}has(xt){return this.map.has(xt)}keys(){return this.map.keys()}}function H(at){return typeof ArrayBuffer<"u"&&at instanceof ArrayBuffer}function K(at){return typeof Blob<"u"&&at instanceof Blob}function ie(at){return typeof FormData<"u"&&at instanceof FormData}class be{constructor(xt,Dt,sn,gn){let wn;if(this.url=Dt,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=xt.toUpperCase(),function A(at){switch(at){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||gn?(this.body=void 0!==sn?sn:null,wn=gn):wn=sn,wn&&(this.reportProgress=!!wn.reportProgress,this.withCredentials=!!wn.withCredentials,wn.responseType&&(this.responseType=wn.responseType),wn.headers&&(this.headers=wn.headers),wn.context&&(this.context=wn.context),wn.params&&(this.params=wn.params),this.transferCache=wn.transferCache),this.headers??=new f,this.context??=new k,this.params){const Dn=this.params.toString();if(0===Dn.length)this.urlWithParams=Dt;else{const sr=Dt.indexOf("?");this.urlWithParams=Dt+(-1===sr?"?":srVr.set(Ir,xt.setHeaders[Ir]),Xn)),xt.setParams&&(xr=Object.keys(xt.setParams).reduce((Vr,Ir)=>Vr.set(Ir,xt.setParams[Ir]),xr)),new be(Dt,sn,wn,{params:xr,headers:Xn,context:Or,reportProgress:sr,responseType:gn,withCredentials:Dn})}}var ce=function(at){return at[at.Sent=0]="Sent",at[at.UploadProgress=1]="UploadProgress",at[at.ResponseHeader=2]="ResponseHeader",at[at.DownloadProgress=3]="DownloadProgress",at[at.Response=4]="Response",at[at.User=5]="User",at}(ce||{});class Ge{constructor(xt,Dt=Re.Ok,sn="OK"){this.headers=xt.headers||new f,this.status=void 0!==xt.status?xt.status:Dt,this.statusText=xt.statusText||sn,this.url=xt.url||null,this.ok=this.status>=200&&this.status<300}}class ct extends Ge{constructor(xt={}){super(xt),this.type=ce.ResponseHeader}clone(xt={}){return new ct({headers:xt.headers||this.headers,status:void 0!==xt.status?xt.status:this.status,statusText:xt.statusText||this.statusText,url:xt.url||this.url||void 0})}}class Oe extends Ge{constructor(xt={}){super(xt),this.type=ce.Response,this.body=void 0!==xt.body?xt.body:null}clone(xt={}){return new Oe({body:void 0!==xt.body?xt.body:this.body,headers:xt.headers||this.headers,status:void 0!==xt.status?xt.status:this.status,statusText:xt.statusText||this.statusText,url:xt.url||this.url||void 0})}}class ke extends Ge{constructor(xt){super(xt,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${xt.url||"(unknown url)"}`:`Http failure response for ${xt.url||"(unknown url)"}: ${xt.status} ${xt.statusText}`,this.error=xt.error||null}}var Re=function(at){return at[at.Continue=100]="Continue",at[at.SwitchingProtocols=101]="SwitchingProtocols",at[at.Processing=102]="Processing",at[at.EarlyHints=103]="EarlyHints",at[at.Ok=200]="Ok",at[at.Created=201]="Created",at[at.Accepted=202]="Accepted",at[at.NonAuthoritativeInformation=203]="NonAuthoritativeInformation",at[at.NoContent=204]="NoContent",at[at.ResetContent=205]="ResetContent",at[at.PartialContent=206]="PartialContent",at[at.MultiStatus=207]="MultiStatus",at[at.AlreadyReported=208]="AlreadyReported",at[at.ImUsed=226]="ImUsed",at[at.MultipleChoices=300]="MultipleChoices",at[at.MovedPermanently=301]="MovedPermanently",at[at.Found=302]="Found",at[at.SeeOther=303]="SeeOther",at[at.NotModified=304]="NotModified",at[at.UseProxy=305]="UseProxy",at[at.Unused=306]="Unused",at[at.TemporaryRedirect=307]="TemporaryRedirect",at[at.PermanentRedirect=308]="PermanentRedirect",at[at.BadRequest=400]="BadRequest",at[at.Unauthorized=401]="Unauthorized",at[at.PaymentRequired=402]="PaymentRequired",at[at.Forbidden=403]="Forbidden",at[at.NotFound=404]="NotFound",at[at.MethodNotAllowed=405]="MethodNotAllowed",at[at.NotAcceptable=406]="NotAcceptable",at[at.ProxyAuthenticationRequired=407]="ProxyAuthenticationRequired",at[at.RequestTimeout=408]="RequestTimeout",at[at.Conflict=409]="Conflict",at[at.Gone=410]="Gone",at[at.LengthRequired=411]="LengthRequired",at[at.PreconditionFailed=412]="PreconditionFailed",at[at.PayloadTooLarge=413]="PayloadTooLarge",at[at.UriTooLong=414]="UriTooLong",at[at.UnsupportedMediaType=415]="UnsupportedMediaType",at[at.RangeNotSatisfiable=416]="RangeNotSatisfiable",at[at.ExpectationFailed=417]="ExpectationFailed",at[at.ImATeapot=418]="ImATeapot",at[at.MisdirectedRequest=421]="MisdirectedRequest",at[at.UnprocessableEntity=422]="UnprocessableEntity",at[at.Locked=423]="Locked",at[at.FailedDependency=424]="FailedDependency",at[at.TooEarly=425]="TooEarly",at[at.UpgradeRequired=426]="UpgradeRequired",at[at.PreconditionRequired=428]="PreconditionRequired",at[at.TooManyRequests=429]="TooManyRequests",at[at.RequestHeaderFieldsTooLarge=431]="RequestHeaderFieldsTooLarge",at[at.UnavailableForLegalReasons=451]="UnavailableForLegalReasons",at[at.InternalServerError=500]="InternalServerError",at[at.NotImplemented=501]="NotImplemented",at[at.BadGateway=502]="BadGateway",at[at.ServiceUnavailable=503]="ServiceUnavailable",at[at.GatewayTimeout=504]="GatewayTimeout",at[at.HttpVersionNotSupported=505]="HttpVersionNotSupported",at[at.VariantAlsoNegotiates=506]="VariantAlsoNegotiates",at[at.InsufficientStorage=507]="InsufficientStorage",at[at.LoopDetected=508]="LoopDetected",at[at.NotExtended=510]="NotExtended",at[at.NetworkAuthenticationRequired=511]="NetworkAuthenticationRequired",at}(Re||{});function Qe(at,xt){return{body:xt,headers:at.headers,context:at.context,observe:at.observe,params:at.params,reportProgress:at.reportProgress,responseType:at.responseType,withCredentials:at.withCredentials,transferCache:at.transferCache}}let $e=(()=>{class at{constructor(Dt){this.handler=Dt}request(Dt,sn,gn={}){let wn;if(Dt instanceof be)wn=Dt;else{let Xn,xr;Xn=gn.headers instanceof f?gn.headers:new f(gn.headers),gn.params&&(xr=gn.params instanceof G?gn.params:new G({fromObject:gn.params})),wn=new be(Dt,sn,void 0!==gn.body?gn.body:null,{headers:Xn,context:gn.context,params:xr,reportProgress:gn.reportProgress,responseType:gn.responseType||"json",withCredentials:gn.withCredentials,transferCache:gn.transferCache})}const Dn=(0,u.of)(wn).pipe((0,e.m)(Xn=>this.handler.handle(Xn)));if(Dt instanceof be||"events"===gn.observe)return Dn;const sr=Dn.pipe((0,o.I)(Xn=>Xn instanceof Oe));switch(gn.observe||"body"){case"body":switch(wn.responseType){case"arraybuffer":return sr.pipe((0,d.k)(Xn=>{if(null!==Xn.body&&!(Xn.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return Xn.body}));case"blob":return sr.pipe((0,d.k)(Xn=>{if(null!==Xn.body&&!(Xn.body instanceof Blob))throw new Error("Response is not a Blob.");return Xn.body}));case"text":return sr.pipe((0,d.k)(Xn=>{if(null!==Xn.body&&"string"!=typeof Xn.body)throw new Error("Response is not a string.");return Xn.body}));default:return sr.pipe((0,d.k)(Xn=>Xn.body))}case"response":return sr;default:throw new Error(`Unreachable: unhandled observe type ${gn.observe}}`)}}delete(Dt,sn={}){return this.request("DELETE",Dt,sn)}get(Dt,sn={}){return this.request("GET",Dt,sn)}head(Dt,sn={}){return this.request("HEAD",Dt,sn)}jsonp(Dt,sn){return this.request("JSONP",Dt,{params:(new G).append(sn,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(Dt,sn={}){return this.request("OPTIONS",Dt,sn)}patch(Dt,sn,gn={}){return this.request("PATCH",Dt,Qe(gn,sn))}post(Dt,sn,gn={}){return this.request("POST",Dt,Qe(gn,sn))}put(Dt,sn,gn={}){return this.request("PUT",Dt,Qe(gn,sn))}static#e=this.\u0275fac=function(sn){return new(sn||at)(c.\u0275\u0275inject(S))};static#t=this.\u0275prov=c.\u0275\u0275defineInjectable({token:at,factory:at.\u0275fac})}return at})();const Be=/^\)\]\}',?\n/;function Me(at){if(at.url)return at.url;const xt="X-Request-URL".toLocaleLowerCase();return at.headers.get(xt)}let Se=(()=>{class at{constructor(){this.fetchImpl=(0,c.inject)(je,{optional:!0})?.fetch??fetch.bind(globalThis),this.ngZone=(0,c.inject)(c.NgZone)}handle(Dt){return new l._(sn=>{const gn=new AbortController;return this.doRequest(Dt,gn.signal,sn).then(re,wn=>sn.error(new ke({error:wn}))),()=>gn.abort()})}doRequest(Dt,sn,gn){var wn=this;return(0,n.c)(function*(){const Dn=wn.createRequestInit(Dt);let sr;try{const un=wn.fetchImpl(Dt.urlWithParams,{signal:sn,...Dn});(function we(at){at.then(re,re)})(un),gn.next({type:ce.Sent}),sr=yield un}catch(un){return void gn.error(new ke({error:un,status:un.status??0,statusText:un.statusText,url:Dt.urlWithParams,headers:un.headers}))}const Xn=new f(sr.headers),xr=sr.statusText,Or=Me(sr)??Dt.urlWithParams;let Vr=sr.status,Ir=null;if(Dt.reportProgress&&gn.next(new ct({headers:Xn,status:Vr,statusText:xr,url:Or})),sr.body){const un=sr.headers.get("content-length"),x=[],F=sr.body.getReader();let De,me,Q=0;const q=typeof Zone<"u"&&Zone.current;yield wn.ngZone.runOutsideAngular((0,n.c)(function*(){for(;;){const{done:nt,value:mt}=yield F.read();if(nt)break;if(x.push(mt),Q+=mt.length,Dt.reportProgress){me="text"===Dt.responseType?(me??"")+(De??=new TextDecoder).decode(mt,{stream:!0}):void 0;const Et=()=>gn.next({type:ce.DownloadProgress,total:un?+un:void 0,loaded:Q,partialText:me});q?q.run(Et):Et()}}}));const fe=wn.concatChunks(x,Q);try{const nt=sr.headers.get("Content-Type")??"";Ir=wn.parseBody(Dt,fe,nt)}catch(nt){return void gn.error(new ke({error:nt,headers:new f(sr.headers),status:sr.status,statusText:sr.statusText,url:Me(sr)??Dt.urlWithParams}))}}0===Vr&&(Vr=Ir?Re.Ok:0),Vr>=200&&Vr<300?(gn.next(new Oe({body:Ir,headers:Xn,status:Vr,statusText:xr,url:Or})),gn.complete()):gn.error(new ke({error:Ir,headers:Xn,status:Vr,statusText:xr,url:Or}))})()}parseBody(Dt,sn,gn){switch(Dt.responseType){case"json":const wn=(new TextDecoder).decode(sn).replace(Be,"");return""===wn?null:JSON.parse(wn);case"text":return(new TextDecoder).decode(sn);case"blob":return new Blob([sn],{type:gn});case"arraybuffer":return sn.buffer}}createRequestInit(Dt){const sn={},gn=Dt.withCredentials?"include":void 0;if(Dt.headers.forEach((wn,Dn)=>sn[wn]=Dn.join(",")),sn.Accept??="application/json, text/plain, */*",!sn["Content-Type"]){const wn=Dt.detectContentTypeHeader();null!==wn&&(sn["Content-Type"]=wn)}return{body:Dt.serializeBody(),method:Dt.method,headers:sn,credentials:gn}}concatChunks(Dt,sn){const gn=new Uint8Array(sn);let wn=0;for(const Dn of Dt)gn.set(Dn,wn),wn+=Dn.length;return gn}static#e=this.\u0275fac=function(sn){return new(sn||at)};static#t=this.\u0275prov=c.\u0275\u0275defineInjectable({token:at,factory:at.\u0275fac})}return at})();class je{}function re(){}function rt(at,xt){return xt(at)}function tt(at,xt){return(Dt,sn)=>xt.intercept(Dt,{handle:gn=>at(gn,sn)})}const ye=new c.InjectionToken(""),Te=new c.InjectionToken(""),ht=new c.InjectionToken(""),Ft=new c.InjectionToken("");function nn(){let at=null;return(xt,Dt)=>{null===at&&(at=((0,c.inject)(ye,{optional:!0})??[]).reduceRight(tt,rt));const sn=(0,c.inject)(c.\u0275PendingTasks),gn=sn.add();return at(xt,Dt).pipe((0,v.U)(()=>sn.remove(gn)))}}let zt,Mn=(()=>{class at extends S{constructor(Dt,sn){super(),this.backend=Dt,this.injector=sn,this.chain=null,this.pendingTasks=(0,c.inject)(c.\u0275PendingTasks);const gn=(0,c.inject)(Ft,{optional:!0});this.backend=gn??Dt}handle(Dt){if(null===this.chain){const gn=Array.from(new Set([...this.injector.get(Te),...this.injector.get(ht,[])]));this.chain=gn.reduceRight((wn,Dn)=>function wt(at,xt,Dt){return(sn,gn)=>(0,c.runInInjectionContext)(Dt,()=>xt(sn,wn=>at(wn,gn)))}(wn,Dn,this.injector),rt)}const sn=this.pendingTasks.add();return this.chain(Dt,gn=>this.backend.handle(gn)).pipe((0,v.U)(()=>this.pendingTasks.remove(sn)))}static#e=this.\u0275fac=function(sn){return new(sn||at)(c.\u0275\u0275inject(y),c.\u0275\u0275inject(c.EnvironmentInjector))};static#t=this.\u0275prov=c.\u0275\u0275defineInjectable({token:at,factory:at.\u0275fac})}return at})(),Un=0;class Pe{}function le(){return"object"==typeof window?window:{}}let he=(()=>{class at{constructor(Dt,sn){this.callbackMap=Dt,this.document=sn,this.resolvedPromise=Promise.resolve()}nextCallback(){return"ng_jsonp_callback_"+Un++}handle(Dt){if("JSONP"!==Dt.method)throw new Error("JSONP requests must use JSONP request method.");if("json"!==Dt.responseType)throw new Error("JSONP requests must use Json response type.");if(Dt.headers.keys().length>0)throw new Error("JSONP requests do not support headers.");return new l._(sn=>{const gn=this.nextCallback(),wn=Dt.urlWithParams.replace(/=JSONP_CALLBACK(&|$)/,`=${gn}$1`),Dn=this.document.createElement("script");Dn.src=wn;let sr=null,Xn=!1;this.callbackMap[gn]=Ir=>{delete this.callbackMap[gn],sr=Ir,Xn=!0};const xr=()=>{Dn.parentNode&&Dn.parentNode.removeChild(Dn),delete this.callbackMap[gn]};return Dn.addEventListener("load",Ir=>{this.resolvedPromise.then(()=>{xr(),Xn?(sn.next(new Oe({body:sr,status:Re.Ok,statusText:"OK",url:wn})),sn.complete()):sn.error(new ke({url:wn,status:0,statusText:"JSONP Error",error:new Error("JSONP injected script did not invoke callback.")}))})}),Dn.addEventListener("error",Ir=>{xr(),sn.error(new ke({error:Ir,status:0,statusText:"JSONP Error",url:wn}))}),this.document.body.appendChild(Dn),sn.next({type:ce.Sent}),()=>{Xn||this.removeListeners(Dn),xr()}})}removeListeners(Dt){zt??=this.document.implementation.createHTMLDocument(),zt.adoptNode(Dt)}static#e=this.\u0275fac=function(sn){return new(sn||at)(c.\u0275\u0275inject(Pe),c.\u0275\u0275inject(E.DOCUMENT))};static#t=this.\u0275prov=c.\u0275\u0275defineInjectable({token:at,factory:at.\u0275fac})}return at})();function We(at,xt){return"JSONP"===at.method?(0,c.inject)(he).handle(at):xt(at)}let ze=(()=>{class at{constructor(Dt){this.injector=Dt}intercept(Dt,sn){return(0,c.runInInjectionContext)(this.injector,()=>We(Dt,gn=>sn.handle(gn)))}static#e=this.\u0275fac=function(sn){return new(sn||at)(c.\u0275\u0275inject(c.EnvironmentInjector))};static#t=this.\u0275prov=c.\u0275\u0275defineInjectable({token:at,factory:at.\u0275fac})}return at})();const gt=/^\)\]\}',?\n/;let dn=(()=>{class at{constructor(Dt){this.xhrFactory=Dt}handle(Dt){if("JSONP"===Dt.method)throw new c.\u0275RuntimeError(-2800,!1);const sn=this.xhrFactory;return(sn.\u0275loadImpl?(0,i.Q)(sn.\u0275loadImpl()):(0,u.of)(null)).pipe((0,M.G)(()=>new l._(wn=>{const Dn=sn.build();if(Dn.open(Dt.method,Dt.urlWithParams),Dt.withCredentials&&(Dn.withCredentials=!0),Dt.headers.forEach((x,F)=>Dn.setRequestHeader(x,F.join(","))),Dt.headers.has("Accept")||Dn.setRequestHeader("Accept","application/json, text/plain, */*"),!Dt.headers.has("Content-Type")){const x=Dt.detectContentTypeHeader();null!==x&&Dn.setRequestHeader("Content-Type",x)}if(Dt.responseType){const x=Dt.responseType.toLowerCase();Dn.responseType="json"!==x?x:"text"}const sr=Dt.serializeBody();let Xn=null;const xr=()=>{if(null!==Xn)return Xn;const x=Dn.statusText||"OK",F=new f(Dn.getAllResponseHeaders()),Q=function Gt(at){return"responseURL"in at&&at.responseURL?at.responseURL:/^X-Request-URL:/m.test(at.getAllResponseHeaders())?at.getResponseHeader("X-Request-URL"):null}(Dn)||Dt.url;return Xn=new ct({headers:F,status:Dn.status,statusText:x,url:Q}),Xn},Or=()=>{let{headers:x,status:F,statusText:Q,url:De}=xr(),me=null;F!==Re.NoContent&&(me=typeof Dn.response>"u"?Dn.responseText:Dn.response),0===F&&(F=me?Re.Ok:0);let q=F>=200&&F<300;if("json"===Dt.responseType&&"string"==typeof me){const fe=me;me=me.replace(gt,"");try{me=""!==me?JSON.parse(me):null}catch(nt){me=fe,q&&(q=!1,me={error:nt,text:me})}}q?(wn.next(new Oe({body:me,headers:x,status:F,statusText:Q,url:De||void 0})),wn.complete()):wn.error(new ke({error:me,headers:x,status:F,statusText:Q,url:De||void 0}))},Vr=x=>{const{url:F}=xr(),Q=new ke({error:x,status:Dn.status||0,statusText:Dn.statusText||"Unknown Error",url:F||void 0});wn.error(Q)};let Ir=!1;const Er=x=>{Ir||(wn.next(xr()),Ir=!0);let F={type:ce.DownloadProgress,loaded:x.loaded};x.lengthComputable&&(F.total=x.total),"text"===Dt.responseType&&Dn.responseText&&(F.partialText=Dn.responseText),wn.next(F)},un=x=>{let F={type:ce.UploadProgress,loaded:x.loaded};x.lengthComputable&&(F.total=x.total),wn.next(F)};return Dn.addEventListener("load",Or),Dn.addEventListener("error",Vr),Dn.addEventListener("timeout",Vr),Dn.addEventListener("abort",Vr),Dt.reportProgress&&(Dn.addEventListener("progress",Er),null!==sr&&Dn.upload&&Dn.upload.addEventListener("progress",un)),Dn.send(sr),wn.next({type:ce.Sent}),()=>{Dn.removeEventListener("error",Vr),Dn.removeEventListener("abort",Vr),Dn.removeEventListener("load",Or),Dn.removeEventListener("timeout",Vr),Dt.reportProgress&&(Dn.removeEventListener("progress",Er),null!==sr&&Dn.upload&&Dn.upload.removeEventListener("progress",un)),Dn.readyState!==Dn.DONE&&Dn.abort()}})))}static#e=this.\u0275fac=function(sn){return new(sn||at)(c.\u0275\u0275inject(E.XhrFactory))};static#t=this.\u0275prov=c.\u0275\u0275defineInjectable({token:at,factory:at.\u0275fac})}return at})();const $n=new c.InjectionToken(""),tr="XSRF-TOKEN",br=new c.InjectionToken("",{providedIn:"root",factory:()=>tr}),or="X-XSRF-TOKEN",fi=new c.InjectionToken("",{providedIn:"root",factory:()=>or});class Cr{}let jr=(()=>{class at{constructor(Dt,sn,gn){this.doc=Dt,this.platform=sn,this.cookieName=gn,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const Dt=this.doc.cookie||"";return Dt!==this.lastCookieString&&(this.parseCount++,this.lastToken=(0,E.\u0275parseCookieValue)(Dt,this.cookieName),this.lastCookieString=Dt),this.lastToken}static#e=this.\u0275fac=function(sn){return new(sn||at)(c.\u0275\u0275inject(E.DOCUMENT),c.\u0275\u0275inject(c.PLATFORM_ID),c.\u0275\u0275inject(br))};static#t=this.\u0275prov=c.\u0275\u0275defineInjectable({token:at,factory:at.\u0275fac})}return at})();function Yn(at,xt){const Dt=at.url.toLowerCase();if(!(0,c.inject)($n)||"GET"===at.method||"HEAD"===at.method||Dt.startsWith("http://")||Dt.startsWith("https://"))return xt(at);const sn=(0,c.inject)(Cr).getToken(),gn=(0,c.inject)(fi);return null!=sn&&!at.headers.has(gn)&&(at=at.clone({headers:at.headers.set(gn,sn)})),xt(at)}let It=(()=>{class at{constructor(Dt){this.injector=Dt}intercept(Dt,sn){return(0,c.runInInjectionContext)(this.injector,()=>Yn(Dt,gn=>sn.handle(gn)))}static#e=this.\u0275fac=function(sn){return new(sn||at)(c.\u0275\u0275inject(c.EnvironmentInjector))};static#t=this.\u0275prov=c.\u0275\u0275defineInjectable({token:at,factory:at.\u0275fac})}return at})();var en=function(at){return at[at.Interceptors=0]="Interceptors",at[at.LegacyInterceptors=1]="LegacyInterceptors",at[at.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",at[at.NoXsrfProtection=3]="NoXsrfProtection",at[at.JsonpSupport=4]="JsonpSupport",at[at.RequestsMadeViaParent=5]="RequestsMadeViaParent",at[at.Fetch=6]="Fetch",at}(en||{});function Ct(at,xt){return{\u0275kind:at,\u0275providers:xt}}function qe(...at){const xt=[$e,dn,Mn,{provide:S,useExisting:Mn},{provide:y,useExisting:dn},{provide:Te,useValue:Yn,multi:!0},{provide:$n,useValue:!0},{provide:Cr,useClass:jr}];for(const Dt of at)xt.push(...Dt.\u0275providers);return(0,c.makeEnvironmentProviders)(xt)}function Nt(at){return Ct(en.Interceptors,at.map(xt=>({provide:Te,useValue:xt,multi:!0})))}const He=new c.InjectionToken("");function vt(){return Ct(en.LegacyInterceptors,[{provide:He,useFactory:nn},{provide:Te,useExisting:He,multi:!0}])}function pt({cookieName:at,headerName:xt}){const Dt=[];return void 0!==at&&Dt.push({provide:br,useValue:at}),void 0!==xt&&Dt.push({provide:fi,useValue:xt}),Ct(en.CustomXsrfConfiguration,Dt)}function an(){return Ct(en.NoXsrfProtection,[{provide:$n,useValue:!1}])}function Ln(){return Ct(en.JsonpSupport,[he,{provide:Pe,useFactory:le},{provide:Te,useValue:We,multi:!0}])}function Vt(){return Ct(en.RequestsMadeViaParent,[{provide:y,useFactory:()=>(0,c.inject)(S,{skipSelf:!0,optional:!0})}])}function Sn(){return Ct(en.Fetch,[Se,{provide:y,useExisting:Se},{provide:Ft,useExisting:Se}])}let xe=(()=>{class at{static disable(){return{ngModule:at,providers:[an().\u0275providers]}}static withOptions(Dt={}){return{ngModule:at,providers:pt(Dt).\u0275providers}}static#e=this.\u0275fac=function(sn){return new(sn||at)};static#t=this.\u0275mod=c.\u0275\u0275defineNgModule({type:at});static#n=this.\u0275inj=c.\u0275\u0275defineInjector({providers:[It,{provide:ye,useExisting:It,multi:!0},{provide:Cr,useClass:jr},pt({cookieName:tr,headerName:or}).\u0275providers,{provide:$n,useValue:!0}]})}return at})(),_t=(()=>{class at{static#e=this.\u0275fac=function(sn){return new(sn||at)};static#t=this.\u0275mod=c.\u0275\u0275defineNgModule({type:at});static#n=this.\u0275inj=c.\u0275\u0275defineInjector({providers:[qe(vt())]})}return at})(),Pt=(()=>{class at{static#e=this.\u0275fac=function(sn){return new(sn||at)};static#t=this.\u0275mod=c.\u0275\u0275defineNgModule({type:at});static#n=this.\u0275inj=c.\u0275\u0275defineInjector({providers:[Ln().\u0275providers]})}return at})();const jt="b",ar="h",ur="s",Tr="st",lr="u",nr="rt",Nr=new c.InjectionToken(""),Ci=["GET","HEAD"];function rn(at,xt){const{isCacheActive:Dt,...sn}=(0,c.inject)(Nr),{transferCache:gn,method:wn}=at;if(!Dt||"POST"===wn&&!sn.includePostRequests&&!gn||"POST"!==wn&&!Ci.includes(wn)||!1===gn||!1===sn.filter?.(at))return xt(at);const Dn=(0,c.inject)(c.TransferState),sr=function qn(at){const{params:xt,method:Dt,responseType:sn,url:gn,body:wn}=at,xr=function dr(at){let xt=0;for(const Dt of at)xt=Math.imul(31,xt)+Dt.charCodeAt(0)<<0;return xt+=2147483648,xt.toString()}([Dt,sn,gn,"string"==typeof wn?wn:"",xt.keys().sort().map(Or=>`${Or}=${xt.getAll(Or)}`).join("&")].join("|"));return(0,c.makeStateKey)(xr)}(at),Xn=Dn.get(sr,null);let xr=sn.includeHeaders;if("object"==typeof gn&&gn.includeHeaders&&(xr=gn.includeHeaders),Xn){const{[jt]:Or,[nr]:Vr,[ar]:Ir,[ur]:Er,[Tr]:un,[lr]:x}=Xn;let F=Or;switch(Vr){case"arraybuffer":F=(new TextEncoder).encode(Or).buffer;break;case"blob":F=new Blob([Or])}let Q=new f(Ir);return(0,u.of)(new Oe({body:F,headers:Q,status:Er,statusText:un,url:x}))}return xt(at).pipe((0,p.y)(Or=>{Or instanceof Oe&&Dn.set(sr,{[jt]:Or.body,[ar]:Vn(Or.headers,xr),[ur]:Or.status,[Tr]:Or.statusText,[lr]:Or.url||"",[nr]:at.responseType})}))}function Vn(at,xt){if(!xt)return{};const Dt={};for(const sn of xt){const gn=at.getAll(sn);null!==gn&&(Dt[sn]=gn)}return Dt}function ii(at){return[{provide:Nr,useFactory:()=>((0,c.\u0275performanceMarkFeature)("NgHttpTransferCache"),{isCacheActive:!0,...at})},{provide:ht,useValue:rn,multi:!0,deps:[c.TransferState,Nr]},{provide:c.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:()=>{const xt=(0,c.inject)(c.ApplicationRef),Dt=(0,c.inject)(Nr);return()=>{(0,c.\u0275whenStable)(xt).then(()=>{Dt.isCacheActive=!1})}}}]}},54496:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{ANIMATION_MODULE_TYPE:()=>cr,APP_BOOTSTRAP_LISTENER:()=>hb,APP_ID:()=>Ue,APP_INITIALIZER:()=>fw,AfterRenderPhase:()=>el,ApplicationInitStatus:()=>_m,ApplicationModule:()=>Sb,ApplicationRef:()=>Ys,Attribute:()=>sg,COMPILER_OPTIONS:()=>bw,CSP_NONCE:()=>Jr,CUSTOM_ELEMENTS_SCHEMA:()=>Uy,ChangeDetectionStrategy:()=>xe,ChangeDetectorRef:()=>Cp,Compiler:()=>vw,CompilerFactory:()=>yw,Component:()=>NA,ComponentFactory:()=>qu,ComponentFactoryResolver:()=>ed,ComponentRef:()=>Jh,ContentChild:()=>YT,ContentChildren:()=>VT,DEFAULT_CURRENCY_CODE:()=>ww,DebugElement:()=>Rd,DebugEventListener:()=>Fw,DebugNode:()=>Sm,DefaultIterableDiffer:()=>YC,DestroyRef:()=>Lc,Directive:()=>zE,ENVIRONMENT_INITIALIZER:()=>ka,ElementRef:()=>Es,EmbeddedViewRef:()=>Rw,EnvironmentInjector:()=>es,ErrorHandler:()=>Ua,EventEmitter:()=>Pe,Host:()=>Kd,HostBinding:()=>BA,HostListener:()=>ib,INJECTOR:()=>Qd,Inject:()=>Qs,InjectFlags:()=>gt,Injectable:()=>my,InjectionToken:()=>oe,Injector:()=>Na,Input:()=>UA,IterableDiffers:()=>yp,KeyValueDiffers:()=>rd,LOCALE_ID:()=>ym,MissingTranslationStrategy:()=>Tw,ModuleWithComponentFactories:()=>_w,NO_ERRORS_SCHEMA:()=>By,NgModule:()=>jA,NgModuleFactory:()=>X0,NgModuleRef:()=>Fl,NgProbeToken:()=>tP,NgZone:()=>No,Optional:()=>Wd,Output:()=>fu,PACKAGE_ROOT_URL:()=>on,PLATFORM_ID:()=>mn,PLATFORM_INITIALIZER:()=>kt,Pipe:()=>WE,PlatformRef:()=>pb,Query:()=>Uc,QueryList:()=>Ts,Renderer2:()=>fp,RendererFactory2:()=>UC,RendererStyleFlags2:()=>Th,Sanitizer:()=>mp,SecurityContext:()=>Il,Self:()=>Au,SimpleChange:()=>Hb,SkipSelf:()=>Gd,TRANSLATIONS:()=>iP,TRANSLATIONS_FORMAT:()=>Dw,TemplateRef:()=>Qu,Testability:()=>eP,TestabilityRegistry:()=>hw,TransferState:()=>Eu,Type:()=>rh,VERSION:()=>KE,Version:()=>GE,ViewChild:()=>zT,ViewChildren:()=>$T,ViewContainerRef:()=>lf,ViewEncapsulation:()=>_t,ViewRef:()=>Lw,afterNextRender:()=>r0,afterRender:()=>wp,asNativeElements:()=>lP,assertInInjectionContext:()=>Cl,assertNotInReactiveContext:()=>yT,assertPlatform:()=>Aw,booleanAttribute:()=>Ik,computed:()=>sT,contentChild:()=>jT,contentChildren:()=>R0,createComponent:()=>Bk,createEnvironmentInjector:()=>$p,createNgModule:()=>q0,createNgModuleRef:()=>eM,createPlatform:()=>vb,createPlatformFactory:()=>Iw,defineInjectable:()=>Gs,destroyPlatform:()=>oP,effect:()=>Mp,enableProdMode:()=>aP,forwardRef:()=>no,getDebugNode:()=>zi,getModuleFactory:()=>Ow,getNgModuleById:()=>sP,getPlatform:()=>Ld,importProvidersFrom:()=>fa,inject:()=>it,input:()=>ze,isDevMode:()=>xw,isSignal:()=>gp,isStandalone:()=>_r,makeEnvironmentProviders:()=>Pu,makeStateKey:()=>qa,mergeApplicationConfig:()=>Hk,model:()=>U0,numberAttribute:()=>Ak,platformCore:()=>wa,provideZoneChangeDetection:()=>Ew,reflectComponentType:()=>jk,resolveForwardRef:()=>kr,runInInjectionContext:()=>Jm,setTestabilityGetter:()=>lb,signal:()=>Po,untracked:()=>uT,viewChild:()=>L0,viewChildren:()=>UT,\u0275ALLOW_MULTIPLE_PLATFORMS:()=>_b,\u0275AfterRenderEventManager:()=>Rl,\u0275CONTAINER_HEADER_OFFSET:()=>Yr,\u0275ChangeDetectionScheduler:()=>hp,\u0275ComponentFactory:()=>qu,\u0275Console:()=>QE,\u0275DEFAULT_LOCALE_ID:()=>ol,\u0275DEFER_BLOCK_CONFIG:()=>CM,\u0275DEFER_BLOCK_DEPENDENCY_INTERCEPTOR:()=>fI,\u0275DeferBlockBehavior:()=>Sf,\u0275DeferBlockState:()=>ko,\u0275EffectScheduler:()=>XC,\u0275IMAGE_CONFIG:()=>po,\u0275IMAGE_CONFIG_DEFAULTS:()=>ui,\u0275INJECTOR_SCOPE:()=>qd,\u0275INPUT_SIGNAL_BRAND_WRITE_TYPE:()=>Hn,\u0275IS_HYDRATION_DOM_REUSE_ENABLED:()=>bc,\u0275LContext:()=>Eh,\u0275LifecycleHooksFeature:()=>m0,\u0275LocaleDataIndex:()=>tu,\u0275NG_COMP_DEF:()=>Ci,\u0275NG_DIR_DEF:()=>rn,\u0275NG_ELEMENT_ID:()=>ii,\u0275NG_INJ_DEF:()=>W,\u0275NG_MOD_DEF:()=>qn,\u0275NG_PIPE_DEF:()=>Vn,\u0275NG_PROV_DEF:()=>_i,\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR:()=>td,\u0275NO_CHANGE:()=>li,\u0275NgModuleFactory:()=>_f,\u0275NoopNgZone:()=>Ep,\u0275PendingTasks:()=>md,\u0275ReflectionCapabilities:()=>jb,\u0275Render3ComponentFactory:()=>Fc,\u0275Render3ComponentRef:()=>sf,\u0275Render3NgModuleRef:()=>pf,\u0275RuntimeError:()=>Yt,\u0275SSR_CONTENT_INTEGRITY_MARKER:()=>Du,\u0275TESTABILITY:()=>sb,\u0275TESTABILITY_GETTER:()=>dw,\u0275USE_RUNTIME_DEPS_TRACKER_FOR_JIT:()=>sd,\u0275ViewRef:()=>Ol,\u0275XSS_SECURITY_URL:()=>nn,\u0275_sanitizeHtml:()=>Ay,\u0275_sanitizeUrl:()=>bh,\u0275allowSanitizationBypassAndThrow:()=>Dl,\u0275annotateForHydration:()=>vk,\u0275bypassSanitizationTrustHtml:()=>Sy,\u0275bypassSanitizationTrustResourceUrl:()=>fg,\u0275bypassSanitizationTrustScript:()=>PD,\u0275bypassSanitizationTrustStyle:()=>AD,\u0275bypassSanitizationTrustUrl:()=>kD,\u0275clearResolutionOfComponentResourcesQueue:()=>Bp,\u0275compileComponent:()=>LE,\u0275compileDirective:()=>nb,\u0275compileNgModule:()=>TE,\u0275compileNgModuleDefs:()=>Xv,\u0275compileNgModuleFactory:()=>Cw,\u0275compilePipe:()=>$E,\u0275convertToBitFlags:()=>Wt,\u0275createInjector:()=>gh,\u0275defaultIterableDiffers:()=>xa,\u0275defaultKeyValueDiffers:()=>vT,\u0275depsTracker:()=>Rc,\u0275devModeEqual:()=>KC,\u0275findLocaleData:()=>Qf,\u0275flushModuleScopingQueueAsMuchAsPossible:()=>DE,\u0275formatRuntimeError:()=>Zt,\u0275generateStandaloneInDeclarationsError:()=>IE,\u0275getAsyncClassMetadataFn:()=>iI,\u0275getDebugNode:()=>zi,\u0275getDeferBlocks:()=>Tm,\u0275getDirectives:()=>oE,\u0275getEnsureDirtyViewsAreAlwaysReachable:()=>Io,\u0275getHostElement:()=>Td,\u0275getInjectableDef:()=>As,\u0275getLContext:()=>Ma,\u0275getLocaleCurrencyCode:()=>BI,\u0275getLocalePluralCase:()=>Zf,\u0275getSanitizationBypassType:()=>My,\u0275getUnknownElementStrictMode:()=>_s,\u0275getUnknownPropertyStrictMode:()=>e1,\u0275global:()=>jt,\u0275injectChangeDetectorRef:()=>Oc,\u0275internalAfterNextRender:()=>rf,\u0275internalCreateApplication:()=>$o,\u0275isBoundToModule:()=>Vs,\u0275isComponentDefPendingResolution:()=>H0,\u0275isEnvironmentProviders:()=>ic,\u0275isInjectable:()=>Gn,\u0275isNgModule:()=>tl,\u0275isPromise:()=>ub,\u0275isSubscribable:()=>db,\u0275noSideEffects:()=>Pt,\u0275output:()=>le,\u0275patchComponentDefWithScope:()=>eb,\u0275performanceMarkFeature:()=>Wa,\u0275provideZonelessChangeDetection:()=>zs,\u0275queueStateUpdate:()=>Hr,\u0275readHydrationInfo:()=>jm,\u0275registerLocaleData:()=>UI,\u0275renderDeferBlockState:()=>js,\u0275resetCompiledComponents:()=>kA,\u0275resetJitOptions:()=>wE,\u0275resolveComponentResources:()=>j0,\u0275restoreComponentResolutionQueue:()=>GT,\u0275setAllowDuplicateNgModuleIdsForTest:()=>ZT,\u0275setAlternateWeakRefImpl:()=>bi,\u0275setClassDebugInfo:()=>SE,\u0275setClassMetadata:()=>rM,\u0275setClassMetadataAsync:()=>fd,\u0275setCurrentInjector:()=>O,\u0275setDocument:()=>vu,\u0275setEnsureDirtyViewsAreAlwaysReachable:()=>_o,\u0275setInjectorProfilerContext:()=>rc,\u0275setLocaleId:()=>U_,\u0275setUnknownElementStrictMode:()=>kl,\u0275setUnknownPropertyStrictMode:()=>qD,\u0275store:()=>zS,\u0275stringify:()=>Gt,\u0275transitiveScopesFor:()=>Kl,\u0275triggerResourceLoading:()=>kf,\u0275truncateMiddle:()=>$n,\u0275unregisterLocaleData:()=>hS,\u0275unwrapSafeValue:()=>Ls,\u0275unwrapWritableSignal:()=>lT,\u0275whenStable:()=>pw,\u0275withDomHydration:()=>Dk,\u0275\u0275CopyDefinitionFeature:()=>K0,\u0275\u0275FactoryTarget:()=>Ml,\u0275\u0275HostDirectivesFeature:()=>hd,\u0275\u0275InheritDefinitionFeature:()=>mf,\u0275\u0275InputFlags:()=>at,\u0275\u0275InputTransformsFeature:()=>J0,\u0275\u0275NgOnChangesFeature:()=>qm,\u0275\u0275ProvidersFeature:()=>Rv,\u0275\u0275StandaloneFeature:()=>Fv,\u0275\u0275advance:()=>iC,\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:()=>m_,\u0275\u0275classMap:()=>S_,\u0275\u0275classMapInterpolate1:()=>T_,\u0275\u0275classMapInterpolate2:()=>JM,\u0275\u0275classMapInterpolate3:()=>Hf,\u0275\u0275classMapInterpolate4:()=>XM,\u0275\u0275classMapInterpolate5:()=>I_,\u0275\u0275classMapInterpolate6:()=>qM,\u0275\u0275classMapInterpolate7:()=>eS,\u0275\u0275classMapInterpolate8:()=>zl,\u0275\u0275classMapInterpolateV:()=>tS,\u0275\u0275classProp:()=>M_,\u0275\u0275componentInstance:()=>nS,\u0275\u0275conditional:()=>iS,\u0275\u0275contentQuery:()=>uv,\u0275\u0275contentQuerySignal:()=>YS,\u0275\u0275defer:()=>MM,\u0275\u0275deferEnableTimerScheduling:()=>t_,\u0275\u0275deferOnHover:()=>TM,\u0275\u0275deferOnIdle:()=>EM,\u0275\u0275deferOnImmediate:()=>wM,\u0275\u0275deferOnInteraction:()=>IM,\u0275\u0275deferOnTimer:()=>DM,\u0275\u0275deferOnViewport:()=>Pf,\u0275\u0275deferPrefetchOnHover:()=>o_,\u0275\u0275deferPrefetchOnIdle:()=>r_,\u0275\u0275deferPrefetchOnImmediate:()=>Af,\u0275\u0275deferPrefetchOnInteraction:()=>AM,\u0275\u0275deferPrefetchOnTimer:()=>i_,\u0275\u0275deferPrefetchOnViewport:()=>PM,\u0275\u0275deferPrefetchWhen:()=>SM,\u0275\u0275deferWhen:()=>n_,\u0275\u0275defineComponent:()=>mt,\u0275\u0275defineDirective:()=>vn,\u0275\u0275defineInjectable:()=>si,\u0275\u0275defineInjector:()=>Va,\u0275\u0275defineNgModule:()=>tn,\u0275\u0275definePipe:()=>bn,\u0275\u0275directiveInject:()=>Dc,\u0275\u0275disableBindings:()=>Si,\u0275\u0275element:()=>F_,\u0275\u0275elementContainer:()=>Gf,\u0275\u0275elementContainerEnd:()=>Wf,\u0275\u0275elementContainerStart:()=>eu,\u0275\u0275elementEnd:()=>bd,\u0275\u0275elementStart:()=>zf,\u0275\u0275enableBindings:()=>wi,\u0275\u0275getComponentDepsFactory:()=>Zv,\u0275\u0275getCurrentView:()=>uS,\u0275\u0275getInheritedFactory:()=>oy,\u0275\u0275hostProperty:()=>N_,\u0275\u0275i18n:()=>tv,\u0275\u0275i18nApply:()=>LS,\u0275\u0275i18nAttributes:()=>OS,\u0275\u0275i18nEnd:()=>ev,\u0275\u0275i18nExp:()=>em,\u0275\u0275i18nPostprocess:()=>RS,\u0275\u0275i18nStart:()=>q_,\u0275\u0275inject:()=>ve,\u0275\u0275injectAttribute:()=>fh,\u0275\u0275invalidFactory:()=>aC,\u0275\u0275invalidFactoryDep:()=>Fe,\u0275\u0275listener:()=>nv,\u0275\u0275loadQuery:()=>VS,\u0275\u0275namespaceHTML:()=>ls,\u0275\u0275namespaceMathML:()=>ss,\u0275\u0275namespaceSVG:()=>da,\u0275\u0275nextContext:()=>US,\u0275\u0275ngDeclareClassMetadata:()=>kk,\u0275\u0275ngDeclareComponent:()=>xk,\u0275\u0275ngDeclareDirective:()=>Pk,\u0275\u0275ngDeclareFactory:()=>Ok,\u0275\u0275ngDeclareInjectable:()=>Rk,\u0275\u0275ngDeclareInjector:()=>Fk,\u0275\u0275ngDeclareNgModule:()=>Nk,\u0275\u0275ngDeclarePipe:()=>Uk,\u0275\u0275pipe:()=>_E,\u0275\u0275pipeBind1:()=>bE,\u0275\u0275pipeBind2:()=>Kv,\u0275\u0275pipeBind3:()=>yE,\u0275\u0275pipeBind4:()=>Qv,\u0275\u0275pipeBindV:()=>CE,\u0275\u0275projection:()=>jS,\u0275\u0275projectionDef:()=>BS,\u0275\u0275property:()=>y_,\u0275\u0275propertyInterpolate:()=>iv,\u0275\u0275propertyInterpolate1:()=>Dd,\u0275\u0275propertyInterpolate2:()=>ov,\u0275\u0275propertyInterpolate3:()=>tm,\u0275\u0275propertyInterpolate4:()=>av,\u0275\u0275propertyInterpolate5:()=>nm,\u0275\u0275propertyInterpolate6:()=>sv,\u0275\u0275propertyInterpolate7:()=>lv,\u0275\u0275propertyInterpolate8:()=>rm,\u0275\u0275propertyInterpolateV:()=>cv,\u0275\u0275pureFunction0:()=>Hv,\u0275\u0275pureFunction1:()=>cE,\u0275\u0275pureFunction2:()=>Vv,\u0275\u0275pureFunction3:()=>uE,\u0275\u0275pureFunction4:()=>Yv,\u0275\u0275pureFunction5:()=>dE,\u0275\u0275pureFunction6:()=>$v,\u0275\u0275pureFunction7:()=>hE,\u0275\u0275pureFunction8:()=>zv,\u0275\u0275pureFunctionV:()=>fE,\u0275\u0275queryAdvance:()=>hv,\u0275\u0275queryRefresh:()=>dv,\u0275\u0275reference:()=>fv,\u0275\u0275registerNgModuleType:()=>ff,\u0275\u0275repeater:()=>$f,\u0275\u0275repeaterCreate:()=>O_,\u0275\u0275repeaterTrackByIdentity:()=>x_,\u0275\u0275repeaterTrackByIndex:()=>aS,\u0275\u0275resetView:()=>ki,\u0275\u0275resolveBody:()=>Dh,\u0275\u0275resolveDocument:()=>Pg,\u0275\u0275resolveWindow:()=>Vy,\u0275\u0275restoreView:()=>eo,\u0275\u0275sanitizeHtml:()=>_g,\u0275\u0275sanitizeResourceUrl:()=>Ch,\u0275\u0275sanitizeScript:()=>yg,\u0275\u0275sanitizeStyle:()=>vg,\u0275\u0275sanitizeUrl:()=>bg,\u0275\u0275sanitizeUrlOrResourceUrl:()=>Ns,\u0275\u0275setComponentScope:()=>tE,\u0275\u0275setNgModuleScope:()=>Nv,\u0275\u0275styleMap:()=>Oa,\u0275\u0275styleMapInterpolate1:()=>WS,\u0275\u0275styleMapInterpolate2:()=>mv,\u0275\u0275styleMapInterpolate3:()=>GS,\u0275\u0275styleMapInterpolate4:()=>gv,\u0275\u0275styleMapInterpolate5:()=>KS,\u0275\u0275styleMapInterpolate6:()=>pv,\u0275\u0275styleMapInterpolate7:()=>QS,\u0275\u0275styleMapInterpolate8:()=>ZS,\u0275\u0275styleMapInterpolateV:()=>_v,\u0275\u0275styleProp:()=>Uf,\u0275\u0275stylePropInterpolate1:()=>vv,\u0275\u0275stylePropInterpolate2:()=>im,\u0275\u0275stylePropInterpolate3:()=>bv,\u0275\u0275stylePropInterpolate4:()=>yv,\u0275\u0275stylePropInterpolate5:()=>Cv,\u0275\u0275stylePropInterpolate6:()=>su,\u0275\u0275stylePropInterpolate7:()=>Mv,\u0275\u0275stylePropInterpolate8:()=>om,\u0275\u0275stylePropInterpolateV:()=>Sv,\u0275\u0275syntheticHostListener:()=>wd,\u0275\u0275syntheticHostProperty:()=>Kf,\u0275\u0275template:()=>Hc,\u0275\u0275templateRefExtractor:()=>ME,\u0275\u0275text:()=>Ev,\u0275\u0275textInterpolate:()=>am,\u0275\u0275textInterpolate1:()=>sm,\u0275\u0275textInterpolate2:()=>lu,\u0275\u0275textInterpolate3:()=>wv,\u0275\u0275textInterpolate4:()=>Dv,\u0275\u0275textInterpolate5:()=>Tv,\u0275\u0275textInterpolate6:()=>Iv,\u0275\u0275textInterpolate7:()=>Av,\u0275\u0275textInterpolate8:()=>lm,\u0275\u0275textInterpolateV:()=>Pv,\u0275\u0275trustConstantHtml:()=>Py,\u0275\u0275trustConstantResourceUrl:()=>Cg,\u0275\u0275twoWayBindingSet:()=>XS,\u0275\u0275twoWayListener:()=>um,\u0275\u0275twoWayProperty:()=>cm,\u0275\u0275validateIframeAttribute:()=>dd,\u0275\u0275viewQuery:()=>HS,\u0275\u0275viewQuerySignal:()=>$S});var n=s(1528);function c(t,r){return Object.is(t,r)}let u=null,l=!1,i=1;const e=Symbol("SIGNAL");function o(t){const r=u;return u=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 E(t){if(l)throw new Error("");if(null===u)return;u.consumerOnSignalRead(t);const r=u.nextProducerIndex++;k(u),rt.nextProducerIndex;)t.producerNode.pop(),t.producerLastReadVersion.pop(),t.producerIndexOfThis.pop()}}function L(t){k(t);for(let r=0;r0}function k(t){t.producerNode??=[],t.producerIndexOfThis??=[],t.producerLastReadVersion??=[]}function A(t){t.liveConsumerNode??=[],t.liveConsumerIndexOfThis??=[]}function H(t){const r=Object.create(be);r.computation=t;const a=()=>{if(y(r),E(r),r.value===J)throw r.error;return r.value};return a[e]=r,a}const K=Symbol("UNSET"),ie=Symbol("COMPUTING"),J=Symbol("ERRORED"),be={...p,value:K,dirty:!0,error:null,equal:c,producerMustRecompute:t=>t.value===K||t.value===ie,producerRecomputeValue(t){if(t.value===ie)throw new Error("Detected cycle in computations.");const r=t.value;t.value=ie;const a=w(t);let h;try{h=t.computation()}catch(b){h=J,t.error=b}finally{D(t,a)}r!==K&&r!==J&&h!==J&&t.equal(r,h)?t.value=r:(t.value=h,t.version++)}};let Ge=function ce(){throw new Error};function ct(){Ge()}let ke=null;function Be(t,r){C()||ct(),t.equal(t.value,r)||(t.value=r,function Se(t){t.version++,function S(){i++}(),f(t),ke?.()}(t))}const Me={...p,equal:c,value:void 0};const re=()=>{},we={...p,consumerIsAlwaysLive:!0,consumerAllowSignalWrites:!1,consumerMarkedDirty:t=>{null!==t.schedule&&t.schedule(t.ref)},hasRun:!1,cleanupFn:re};var tt=s(95657),wt=s(46928),ye=s(46700),Te=s(54704),ht=s(75084);const nn="https://g.co/ng/security#xss";class Yt extends Error{constructor(r,a){super(Zt(r,a)),this.code=r}}function Zt(t,r){return`NG0${Math.abs(t)}${r?": "+r:""}`}const Mn=Symbol("InputSignalNode#UNSET"),Un={...Me,transformFn:void 0,applyValueToInputSignal(t,r){Be(t,r)}},Hn=Symbol();function kn(t,r){const a=Object.create(Un);function h(){if(E(a),a.value===Mn)throw new Yt(-950,!1);return a.value}return a.value=t,a.transformFn=r?.transform,h[e]=a,h}function ft(t){return r=>{setTimeout(t,void 0,r)}}const Pe=class ln extends tt.E{constructor(r=!1){super(),this.__isAsync=r}emit(r){super.next(r)}subscribe(r,a,h){let b=r,I=a||(()=>null),U=h;if(r&&"object"==typeof r){const te=r;b=te.next?.bind(te),I=te.error?.bind(te),U=te.complete?.bind(te)}this.__isAsync&&(I=ft(I),b&&(b=ft(b)),U&&(U=ft(U)));const z=super.subscribe({next:b,error:I,complete:U});return r instanceof wt.wH&&r.add(z),z}};function le(t){return new Pe}function he(t,r){return kn(t,r)}const ze=(he.required=function We(t){return kn(Mn,t)},he);var gt=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}(gt||{});function Gt(t){if("string"==typeof t)return t;if(Array.isArray(t))return"["+t.map(Gt).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 a=r.indexOf("\n");return-1===a?r:r.substring(0,a)}function dn(t,r){return null==t||""===t?null===r?"":r:null==r||""===r?t:t+" "+r}function $n(t,r=100){if(!t||r<1||t.length<=r)return t;if(1==r)return t.substring(0,1)+"...";const a=Math.round(r/2);return t.substring(0,a)+"..."+t.substring(t.length-a)}function pt(t,r,a,h){throw new Error(`ASSERTION ERROR: ${t}`+(null==h?"":` [Expected=> ${a} ${h} ${r} <=Actual]`))}var xe=function(t){return t[t.OnPush=0]="OnPush",t[t.Default=1]="Default",t}(xe||{}),_t=function(t){return t[t.Emulated=0]="Emulated",t[t.None=2]="None",t[t.ShadowDom=3]="ShadowDom",t}(_t||{});function Pt(t){return{toString:t}.toString()}const jt=globalThis,Tr={},lr=[];function nr(t){for(let r in t)if(t[r]===nr)return r;throw Error("Could not find renamed property on target object.")}function Nr(t,r){for(const a in r)r.hasOwnProperty(a)&&!t.hasOwnProperty(a)&&(t[a]=r[a])}const Ci=nr({\u0275cmp:nr}),rn=nr({\u0275dir:nr}),Vn=nr({\u0275pipe:nr}),qn=nr({\u0275mod:nr}),dr=nr({\u0275fac:nr}),ii=nr({__NG_ELEMENT_ID__:nr}),Fr=nr({__NG_ENV_ID__:nr});var at=function(t){return t[t.None=0]="None",t[t.SignalBased=1]="SignalBased",t[t.HasDecoratorInputTransform=2]="HasDecoratorInputTransform",t}(at||{});function xt(t,r,a){let h=t.length;for(;;){const b=t.indexOf(r,a);if(-1===b)return b;if(0===b||t.charCodeAt(b-1)<=32){const I=r.length;if(b+I===h||t.charCodeAt(b+I)<=32)return b}a=b+1}}function Dt(t,r,a){let h=0;for(;hr){U=I-1;break}}}for(;II?"":b[yt+1].toLowerCase();const Xt=8&h?Ht:null;if(Xt&&-1!==xt(Xt,Ae,0)||2&h&&Ae!==Ht){if(Ir(h))return!1;U=!0}}}}else{if(!U&&!Ir(h)&&!Ir(te))return!1;if(U&&Ir(te))continue;U=!1,h=te|1&h}}return Ir(h)||U}function Ir(t){return 0==(1&t)}function Er(t,r,a,h){if(null===r)return-1;let b=0;if(h||!a){let I=!1;for(;b-1)for(a++;a0?'="'+z+'"':"")+"]"}else 8&h?b+="."+U:4&h&&(b+=" "+U);else""!==b&&!Ir(U)&&(r+=me(I,b),b=""),h=U,I=I||!Ir(h);a++}return""!==b&&(r+=me(I,b)),r}function mt(t){return Pt(()=>{const r=Lr(t),a={...r,decls:t.decls,vars:t.vars,template:t.template,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,onPush:t.changeDetection===xe.OnPush,directiveDefs:null,pipeDefs:null,dependencies:r.standalone&&t.dependencies||null,getStandaloneInjector:null,signals:t.signals??!1,data:t.data||{},encapsulation:t.encapsulation||_t.Emulated,styles:t.styles||lr,_:null,schemas:t.schemas||null,tView:null,id:""};ti(a);const h=t.dependencies;return a.directiveDefs=st(h,!1),a.pipeDefs=st(h,!0),a.id=function Ri(t){let r=0;const a=[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 b of a)r=Math.imul(31,r)+b.charCodeAt(0)<<0;return r+=2147483648,"c"+r}(a),a})}function Et(t){return fn(t)||In(t)}function Ut(t){return null!==t}function tn(t){return Pt(()=>({type:t.type,bootstrap:t.bootstrap||lr,declarations:t.declarations||lr,imports:t.imports||lr,exports:t.exports||lr,transitiveCompileScopes:null,schemas:t.schemas||null,id:t.id||null}))}function pn(t,r){if(null==t)return Tr;const a={};for(const h in t)if(t.hasOwnProperty(h)){const b=t[h];let I,U,z=at.None;Array.isArray(b)?(z=b[0],I=b[1],U=b[2]??I):(I=b,U=b),r?(a[I]=z!==at.None?[h,z]:h,r[I]=U):a[I]=h}return a}function vn(t){return Pt(()=>{const r=Lr(t);return ti(r),r})}function bn(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 fn(t){return t[Ci]||null}function In(t){return t[rn]||null}function Bn(t){return t[Vn]||null}function _r(t){const r=fn(t)||In(t)||Bn(t);return null!==r&&r.standalone}function hr(t,r){const a=t[qn]||null;if(!a&&!0===r)throw new Error(`Type ${Gt(t)} does not have '\u0275mod' property.`);return a}function Lr(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||Tr,exportAs:t.exportAs||null,standalone:!0===t.standalone,signals:!0===t.signals,selectors:t.selectors||lr,viewQuery:t.viewQuery||null,features:t.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:pn(t.inputs,r),outputs:pn(t.outputs),debugInfo:null}}function ti(t){t.features?.forEach(r=>r(t))}function st(t,r){if(!t)return null;const a=r?Bn:Et;return()=>("function"==typeof t?t():t).map(h=>a(h)).filter(Ut)}const co=new Map,Ur=0,xn=1,Jn=2,Gr=3,jn=4,pi=5,Zi=6,qr=7,oi=8,ni=9,ji=10,yr=11,Ji=12,Do=13,vo=14,ri=15,ro=16,Rr=17,oo=18,Pn=19,bo=20,gi=21,Hi=22,ai=23,pr=25,yo=1,Ai=6,Pi=7,uo=9,Yr=10;var So=function(t){return t[t.None=0]="None",t[t.HasTransplantedViews=2]="HasTransplantedViews",t}(So||{});function Vi(t){return Array.isArray(t)&&"object"==typeof t[yo]}function ei(t){return Array.isArray(t)&&!0===t[yo]}function Uo(t){return 0!=(4&t.flags)}function Fi(t){return t.componentOffset>-1}function ao(t){return 1==(1&t.flags)}function Gi(t){return!!t.template}function xo(t){return 0!=(512&t[Jn])}function Bo(t){return 16==(16&t.type)}function Oo(t){return 256==(256&t[Jn])}const Zn="svg",Mi="math";let Eo=!1;function Io(){return Eo}function _o(t){Eo=t}function $r(t){for(;Array.isArray(t);)t=t[Ur];return t}function Xo(t){for(;Array.isArray(t);){if("object"==typeof t[yo])return t;t=t[Ur]}return null}function aa(t,r){return $r(r[t])}function io(t,r){return $r(r[t.index])}function Ro(t,r){return t.data[r]}function wo(t,r){return t[r]}function qi(t,r){const a=r[t];return Vi(a)?a:a[Ur]}function la(t){return 128==(128&t[Jn])}function go(t,r){return null==r?null:t[r]}function ma(t){t[Rr]=0}function et(t){1024&t[Jn]||(t[Jn]|=1024,la(t)&&Ze(t))}function $(t,r){for(;t>0;)r=r[vo],t--;return r}function ee(t){return!!(9216&t[Jn]||t[ai]?.dirty)}function Ce(t){ee(t)?Ze(t):64&t[Jn]&&(Io()?(t[Jn]|=1024,Ze(t)):t[ji].changeDetectionScheduler?.notify())}function Ze(t){t[ji].changeDetectionScheduler?.notify();let r=$t(t);for(;null!==r&&!(8192&r[Jn])&&(r[Jn]|=8192,la(r));)r=$t(r)}function Mt(t,r){if(256==(256&t[Jn]))throw new Yt(911,!1);null===t[gi]&&(t[gi]=[]),t[gi].push(r)}function Rt(t,r){if(null===t[gi])return;const a=t[gi].indexOf(r);-1!==a&&t[gi].splice(a,1)}function $t(t){const r=t[Gr];return ei(r)?r[Gr]:r}const Kt={lFrame:Sr(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function fr(){return Kt.bindingsEnabled}function Dr(){return null!==Kt.skipHydrationRootTNode}function wi(){Kt.bindingsEnabled=!0}function Si(){Kt.bindingsEnabled=!1}function En(){return Kt.lFrame.lView}function Ar(){return Kt.lFrame.tView}function eo(t){return Kt.lFrame.contextLView=t,t[oi]}function ki(t){return Kt.lFrame.contextLView=null,t}function Qr(){let t=to();for(;null!==t&&64===t.type;)t=t.parent;return t}function to(){return Kt.lFrame.currentTNode}function Ie(){const t=Kt.lFrame,r=t.currentTNode;return t.isParent?r:r.parent}function ot(t,r){const a=Kt.lFrame;a.currentTNode=t,a.isParent=r}function Xe(){return Kt.lFrame.isParent}function dt(){Kt.lFrame.isParent=!1}function Qt(){const t=Kt.lFrame;let r=t.bindingRootIndex;return-1===r&&(r=t.bindingRootIndex=t.tView.bindingStartIndex),r}function hn(){return Kt.lFrame.bindingIndex}function Wn(t){return Kt.lFrame.bindingIndex=t}function Y(){return Kt.lFrame.bindingIndex++}function Ne(t){const r=Kt.lFrame,a=r.bindingIndex;return r.bindingIndex=r.bindingIndex+t,a}function Ee(t){Kt.lFrame.inI18n=t}function St(t,r){const a=Kt.lFrame;a.bindingIndex=a.bindingRootIndex=t,ne(r)}function ne(t){Kt.lFrame.currentDirectiveIndex=t}function B(t){const r=Kt.lFrame.currentDirectiveIndex;return-1===r?null:t[r]}function ue(){return Kt.lFrame.currentQueryIndex}function Ke(t){Kt.lFrame.currentQueryIndex=t}function qt(t){const r=t[xn];return 2===r.type?r.declTNode:1===r.type?t[pi]:null}function Cn(t,r,a){if(a>.SkipSelf){let b=r,I=t;for(;!(b=b.parent,null!==b||a>.Host||(b=qt(I),null===b||(I=I[vo],10&b.type))););if(null===b)return!1;r=b,t=I}const h=Kt.lFrame=Kn();return h.currentTNode=r,h.lView=t,!0}function An(t){const r=Kn(),a=t[xn];Kt.lFrame=r,r.currentTNode=a.firstChild,r.lView=t,r.tView=a,r.contextLView=t,r.bindingIndex=a.bindingStartIndex,r.inI18n=!1}function Kn(){const t=Kt.lFrame,r=null===t?null:t.child;return null===r?Sr(t):r}function Sr(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 Zr(){const t=Kt.lFrame;return Kt.lFrame=t.parent,t.currentTNode=null,t.lView=null,t}const ho=Zr;function Co(){const t=Zr();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 xi(){return Kt.lFrame.selectedIndex}function Yi(t){Kt.lFrame.selectedIndex=t}function yi(){const t=Kt.lFrame;return Ro(t.tView,t.selectedIndex)}function da(){Kt.lFrame.currentNamespace=Zn}function ss(){Kt.lFrame.currentNamespace=Mi}function ls(){!function Jl(){Kt.lFrame.currentNamespace=null}()}function Ms(){return Kt.lFrame.currentNamespace}let Xl=!0;function Ss(){return Xl}function La(t){Xl=t}function al(){return qo(Qr(),En())}function qo(t,r){return new Es(io(t,r))}let Es=(()=>{class t{constructor(a){this.nativeElement=a}static#e=this.__NG_ELEMENT_ID__=al}return t})();function sl(t){return t instanceof Es?t.nativeElement:t}function ca(t){return t.flat(Number.POSITIVE_INFINITY)}function ws(t,r){t.forEach(a=>Array.isArray(a)?ws(a,r):r(a))}function ql(t,r,a){r>=t.length?t.push(a):t.splice(r,0,a)}function Ws(t,r){return r>=t.length-1?t.pop():t.splice(r,1)[0]}function Ds(t,r){const a=[];for(let h=0;hr;)t[b]=t[b-2],b--;t[r]=a,t[r+1]=h}}function ea(t,r,a){let h=Ja(t,r);return h>=0?t[1|h]=a:(h=~h,ll(t,h,r,a)),h}function Za(t,r){const a=Ja(t,r);if(a>=0)return t[1|a]}function Ja(t,r){return function tc(t,r,a){let h=0,b=t.length>>a;for(;b!==h;){const I=h+(b-h>>1),U=t[I<r?b=I:h=I+1}return~(b<ut}),ut="ng",kt=new oe(""),mn=new oe("",{providedIn:"platform",factory:()=>"unknown"}),on=new oe(""),cr=new oe(""),Jr=new oe("",{providedIn:"root",factory:()=>ta().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null}),ui={breakpoints:[16,32,48,64,96,128,256,384,640,750,828,1080,1200,1920,2048,3840],placeholderResolution:30,disableImageSizeWarning:!1,disableImageLazyLoadWarning:!1},po=new oe("",{providedIn:"root",factory:()=>ui}),hs=nr({__forward_ref__:nr});function no(t){return t.__forward_ref__=no,t.toString=function(){return Gt(this())},t}function kr(t){return Ya(t)?t():t}function Ya(t){return"function"==typeof t&&t.hasOwnProperty(hs)&&t.__forward_ref__===no}let Ra,fl;function rc(t){pt("setInjectorProfilerContext should never be called in production mode");const r=Ra;return Ra=t,r}function ic(t){return t&&!!t.\u0275providers}function zr(t){return"string"==typeof t?t:null==t?"":String(t)}function $i(t){return"function"==typeof t?t.name||t.toString():"object"==typeof t&&null!=t&&"function"==typeof t.type?t.type.name||t.type.toString():zr(t)}function Cu(t,r){throw new Yt(-201,!1)}function jd(){return fl}function Ko(t){const r=fl;return fl=t,r}function Hd(t,r,a){const h=As(t);return h&&"root"==h.providedIn?void 0===h.value?h.value=h.factory():h.value:a>.Optional?null:void 0!==r?r:void Cu()}const gl={},Mu="__NG_DI_FLAG__",oc="ngTempTokenPath",xm=/\n/gm,ks="__source";let Xa;function O(t){const r=Xa;return Xa=t,r}function X(t,r=gt.Default){if(void 0===Xa)throw new Yt(-203,!1);return null===Xa?Hd(t,void 0,r):Xa.get(t,r>.Optional?null:void 0,r)}function ve(t,r=gt.Default){return(jd()||X)(kr(t),r)}function Fe(t){throw new Yt(202,!1)}function it(t,r=gt.Default){return ve(t,Wt(r))}function Wt(t){return typeof t>"u"||"number"==typeof t?t:0|(t.optional&&8)|(t.host&&1)|(t.self&&2)|(t.skipSelf&&4)}function Tn(t){const r=[];for(let a=0;a{class t{constructor(){this.store={},this.onSerializeCallbacks={}}static#e=this.\u0275prov=si({token:t,providedIn:"root",factory:ms});get(a,h){return void 0!==this.store[a]?this.store[a]:h}set(a,h){this.store[a]=h}remove(a){delete this.store[a]}hasKey(a){return this.store.hasOwnProperty(a)}get isEmpty(){return 0===Object.keys(this.store).length}onSerialize(a,h){this.onSerializeCallbacks[a]=h}toJson(){for(const a in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(a))try{this.store[a]=this.onSerializeCallbacks[a]()}catch(h){console.warn("Exception in onSerialize callback: ",h)}return JSON.stringify(this.store).replace(/null;function Kw(t,r,a=!1){let h=t.getAttribute(wu);if(null==h)return null;const[b,I]=h.split("|");if(h=a?I:b,!h)return null;const z=a?b:I?`|${I}`:"";let te={};if(""!==h){const Je=r.get(Eu,null,{optional:!0});null!==Je&&(te=Je.get(Um,[])[Number(h)])}const Ae={data:te,firstChild:t.firstChild??null};return a&&(Ae.firstChild=t,Yd(Ae,0,t.nextSibling)),z?t.setAttribute(wu,z):t.removeAttribute(wu),Ae}function Bm(t,r,a=!1){return kb(t,r,a)}function xb(t){let r=t._lView;return 2===r[xn].type?null:(xo(r)&&(r=r[pr]),r)}const vl="__ngDebugHydrationInfo__";function jm(t){return t[vl]??null}function Yd(t,r,a){t.segmentHeads??={},t.segmentHeads[r]=a}function Hm(t,r){return t.segmentHeads?.[r]??null}function Rb(t,r){return t.data[gs]?.[r]??null}function $d(t,r){const a=Rb(t,r)??[];let h=0;for(let b of a)h+=b[sc]*(b[pl]??1);return h}function zd(t,r){if(typeof t.disconnectedNodes>"u"){const a=t.data[Vd];t.disconnectedNodes=a?new Set(a):null}return!!t.disconnectedNodes?.has(r)}const Ti="__annotations__",uc="__parameters__",Fa="__prop__metadata__";function Iu(t,r,a,h,b){return Pt(()=>{const I=Vm(r);function U(...z){if(this instanceof U)return I.call(this,...z),this;const te=new U(...z);return function(Je){return b&&b(Je,...z),(Je.hasOwnProperty(Ti)?Je[Ti]:Object.defineProperty(Je,Ti,{value:[]})[Ti]).push(te),h&&h(Je),Je}}return a&&(U.prototype=Object.create(a.prototype)),U.prototype.ngMetadataName=t,U.annotationCls=U,U})}function Vm(t){return function(...a){if(t){const h=t(...a);for(const b in h)this[b]=h[b]}}}function Ca(t,r,a){return Pt(()=>{const h=Vm(r);function b(...I){if(this instanceof b)return h.apply(this,I),this;const U=new b(...I);return z.annotation=U,z;function z(te,Ae,Je){const yt=te.hasOwnProperty(uc)?te[uc]:Object.defineProperty(te,uc,{value:[]})[uc];for(;yt.length<=Je;)yt.push(null);return(yt[Je]=yt[Je]||[]).push(U),te}}return a&&(b.prototype=Object.create(a.prototype)),b.prototype.ngMetadataName=t,b.annotationCls=b,b})}function Ks(t,r,a,h){return Pt(()=>{const b=Vm(r);function I(...U){if(this instanceof I)return b.apply(this,U),this;const z=new I(...U);return function te(Ae,Je){if(void 0===Ae)throw new Error("Standard Angular field decorators are not supported in JIT mode.");const yt=Ae.constructor,Ht=yt.hasOwnProperty(Fa)?yt[Fa]:Object.defineProperty(yt,Fa,{value:{}})[Fa];Ht[Je]=Ht.hasOwnProperty(Je)&&Ht[Je]||[],Ht[Je].unshift(z),h&&h(Ae,Je,...U)}}return a&&(I.prototype=Object.create(a.prototype)),I.prototype.ngMetadataName=t,I.annotationCls=I,I})}const Qs=mr(Ca("Inject",t=>({token:t})),-1),Wd=mr(Ca("Optional"),8),Au=mr(Ca("Self"),2),Gd=mr(Ca("SkipSelf"),4),Kd=mr(Ca("Host"),1);function bl(t,r){return t.hasOwnProperty(dr)?t[dr]:null}const ka=new oe(""),Qd=new oe("",-1),Ym=new oe("");class Zd{get(r,a=gl){if(a===gl){const h=new Error(`NullInjectorError: No provider for ${Gt(r)}!`);throw h.name="NullInjectorError",h}return a}}function Pu(t){return{\u0275providers:t}}function fa(...t){return{\u0275providers:$m(0,t),\u0275fromNgModule:!0}}function $m(t,...r){const a=[],h=new Set;let b;const I=U=>{a.push(U)};return ws(r,U=>{const z=U;Xd(z,I,[],h)&&(b||=[],b.push(z))}),void 0!==b&&Jd(b,I),a}function Jd(t,r){for(let a=0;a{r(I,h)})}}function Xd(t,r,a,h){if(!(t=kr(t)))return!1;let b=null,I=ds(t);const U=!I&&fn(t);if(I||U){if(U&&!U.standalone)return!1;b=t}else{const te=t.ngModule;if(I=ds(te),!I)return!1;b=te}const z=h.has(b);if(U){if(z)return!1;if(h.add(b),U.dependencies){const te="function"==typeof U.dependencies?U.dependencies():U.dependencies;for(const Ae of te)Xd(Ae,r,a,h)}}else{if(!I)return!1;{if(null!=I.imports&&!z){let Ae;h.add(b);try{ws(I.imports,Je=>{Xd(Je,r,a,h)&&(Ae||=[],Ae.push(Je))})}finally{}void 0!==Ae&&Jd(Ae,r)}if(!z){const Ae=bl(b)||(()=>new b);r({provide:b,useFactory:Ae,deps:lr},b),r({provide:Ym,useValue:b,multi:!0},b),r({provide:ka,useValue:()=>ve(b),multi:!0},b)}const te=I.providers;if(null!=te&&!z){const Ae=t;zm(te,Je=>{r(Je,Ae)})}}}return b!==t&&void 0!==t.providers}function zm(t,r){for(let a of t)ic(a)&&(a=a.\u0275providers),Array.isArray(a)?zm(a,r):r(a)}const Fb=nr({provide:String,useValue:nr});function Wm(t){return null!==t&&"object"==typeof t&&Fb in t}function yl(t){return"function"==typeof t}const qd=new oe(""),eh={},tD={};let Gm;function xs(){return void 0===Gm&&(Gm=new Zd),Gm}class es{}class dc extends es{get destroyed(){return this._destroyed}constructor(r,a,h,b){super(),this.parent=a,this.source=h,this.scopes=b,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,Zm(r,U=>this.processProvider(U)),this.records.set(Qd,hc(void 0,this)),b.has("environment")&&this.records.set(es,hc(void 0,this));const I=this.records.get(qd);null!=I&&"string"==typeof I.value&&this.scopes.add(I.value),this.injectorDefTypes=new Set(this.get(Ym,lr,gt.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const a of this._ngOnDestroyHooks)a.ngOnDestroy();const r=this._onDestroyHooks;this._onDestroyHooks=[];for(const a of r)a()}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 a=O(this),h=Ko(void 0);try{return r()}finally{O(a),Ko(h)}}get(r,a=gl,h=gt.Default){if(this.assertNotDestroyed(),r.hasOwnProperty(Fr))return r[Fr](this);h=Wt(h);const I=O(this),U=Ko(void 0);try{if(!(h>.SkipSelf)){let te=this.records.get(r);if(void 0===te){const Ae=function iD(t){return"function"==typeof t||"object"==typeof t&&t instanceof oe}(r)&&As(r);te=Ae&&this.injectableDefInScope(Ae)?hc(Km(r),eh):null,this.records.set(r,te)}if(null!=te)return this.hydrate(r,te)}return(h>.Self?xs():this.parent).get(r,a=h>.Optional&&a===gl?null:a)}catch(z){if("NullInjectorError"===z.name){if((z[oc]=z[oc]||[]).unshift(Gt(r)),I)throw z;return function vi(t,r,a,h){const b=t[oc];throw r[ks]&&b.unshift(r[ks]),t.message=function ha(t,r,a,h=null){t=t&&"\n"===t.charAt(0)&&"\u0275"==t.charAt(1)?t.slice(2):t;let b=Gt(r);if(Array.isArray(r))b=r.map(Gt).join(" -> ");else if("object"==typeof r){let I=[];for(let U in r)if(r.hasOwnProperty(U)){let z=r[U];I.push(U+":"+("string"==typeof z?JSON.stringify(z):Gt(z)))}b=`{${I.join(", ")}}`}return`${a}${h?"("+h+")":""}[${b}]: ${t.replace(xm,"\n ")}`}("\n"+t.message,b,a,h),t.ngTokenPath=b,t[oc]=null,t}(z,r,"R3InjectorError",this.source)}throw z}finally{Ko(U),O(I)}}resolveInjectorInitializers(){const r=O(this),a=Ko(void 0);try{const b=this.get(ka,lr,gt.Self);for(const I of b)I()}finally{O(r),Ko(a)}}toString(){const r=[],a=this.records;for(const h of a.keys())r.push(Gt(h));return`R3Injector[${r.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Yt(205,!1)}processProvider(r){let a=yl(r=kr(r))?r:kr(r&&r.provide);const h=function nD(t){return Wm(t)?hc(void 0,t.useValue):hc(nh(t),eh)}(r);if(!yl(r)&&!0===r.multi){let b=this.records.get(a);b||(b=hc(void 0,eh,!0),b.factory=()=>Tn(b.multi),this.records.set(a,b)),a=r,b.multi.push(r)}this.records.set(a,h)}hydrate(r,a){return a.value===eh&&(a.value=tD,a.value=a.factory()),"object"==typeof a.value&&a.value&&function Qm(t){return null!==t&&"object"==typeof t&&"function"==typeof t.ngOnDestroy}(a.value)&&this._ngOnDestroyHooks.add(a.value),a.value}injectableDefInScope(r){if(!r.providedIn)return!1;const a=kr(r.providedIn);return"string"==typeof a?"any"===a||this.scopes.has(a):this.injectorDefTypes.has(a)}removeOnDestroy(r){const a=this._onDestroyHooks.indexOf(r);-1!==a&&this._onDestroyHooks.splice(a,1)}}function Km(t){const r=As(t),a=null!==r?r.factory:bl(t);if(null!==a)return a;if(t instanceof oe)throw new Yt(204,!1);if(t instanceof Function)return function th(t){if(t.length>0)throw new Yt(204,!1);const a=function ga(t){return t&&(t[_i]||t[ae])||null}(t);return null!==a?()=>a.factory(t):()=>new t}(t);throw new Yt(204,!1)}function nh(t,r,a){let h;if(yl(t)){const b=kr(t);return bl(b)||Km(b)}if(Wm(t))h=()=>kr(t.useValue);else if(function Nb(t){return!(!t||!t.useFactory)}(t))h=()=>t.useFactory(...Tn(t.deps||[]));else if(function ku(t){return!(!t||!t.useExisting)}(t))h=()=>ve(kr(t.useExisting));else{const b=kr(t&&(t.useClass||t.provide));if(!function rD(t){return!!t.deps}(t))return bl(b)||Km(b);h=()=>new b(...Tn(t.deps))}return h}function hc(t,r,a=!1){return{factory:t,value:r,multi:a?[]:void 0}}function Zm(t,r){for(const a of t)Array.isArray(a)?Zm(a,r):a&&ic(a)?Zm(a.\u0275providers,r):r(a)}function Jm(t,r){t instanceof dc&&t.assertNotDestroyed();const h=O(t),b=Ko(void 0);try{return r()}finally{O(h),Ko(b)}}function Cl(t){if(!jd()&&!function Di(){return Xa}())throw new Yt(-203,!1)}var Ml=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}(Ml||{});function na(t){const r=jt.ng;if(r&&r.\u0275compilerFacade)return r.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const Bb={\u0275\u0275defineInjectable:si,\u0275\u0275defineInjector:Va,\u0275\u0275inject:ve,\u0275\u0275invalidFactoryDep:Fe,resolveForwardRef:kr},rh=Function;function fc(t){return"function"==typeof t}const aD=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,$a=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,sD=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,Js=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{[^}]*super\(\.\.\.arguments\)/;class jb{constructor(r){this._reflect=r||jt.Reflect}factory(r){return(...a)=>new r(...a)}_zipTypesAndAnnotations(r,a){let h;h=Ds(typeof r>"u"?a.length:r.length);for(let b=0;b"u"?[]:r[b]&&r[b]!=Object?[r[b]]:[],a&&null!=a[b]&&(h[b]=h[b].concat(a[b]));return h}_ownParameters(r,a){if(function lD(t){return aD.test(t)||Js.test(t)||$a.test(t)&&!sD.test(t)}(r.toString()))return null;if(r.parameters&&r.parameters!==a.parameters)return r.parameters;const b=r.ctorParameters;if(b&&b!==a.ctorParameters){const z="function"==typeof b?b():b,te=z.map(Je=>Je&&Je.type),Ae=z.map(Je=>Je&&Xm(Je.decorators));return this._zipTypesAndAnnotations(te,Ae)}const I=r.hasOwnProperty(uc)&&r[uc],U=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",r);return U||I?this._zipTypesAndAnnotations(U,I):Ds(r.length)}parameters(r){if(!fc(r))return[];const a=ih(r);let h=this._ownParameters(r,a);return!h&&a!==Object&&(h=this.parameters(a)),h||[]}_ownAnnotations(r,a){if(r.annotations&&r.annotations!==a.annotations){let h=r.annotations;return"function"==typeof h&&h.annotations&&(h=h.annotations),h}return r.decorators&&r.decorators!==a.decorators?Xm(r.decorators):r.hasOwnProperty(Ti)?r[Ti]:null}annotations(r){if(!fc(r))return[];const a=ih(r),h=this._ownAnnotations(r,a)||[];return(a!==Object?this.annotations(a):[]).concat(h)}_ownPropMetadata(r,a){if(r.propMetadata&&r.propMetadata!==a.propMetadata){let h=r.propMetadata;return"function"==typeof h&&h.propMetadata&&(h=h.propMetadata),h}if(r.propDecorators&&r.propDecorators!==a.propDecorators){const h=r.propDecorators,b={};return Object.keys(h).forEach(I=>{b[I]=Xm(h[I])}),b}return r.hasOwnProperty(Fa)?r[Fa]:null}propMetadata(r){if(!fc(r))return{};const a=ih(r),h={};if(a!==Object){const I=this.propMetadata(a);Object.keys(I).forEach(U=>{h[U]=I[U]})}const b=this._ownPropMetadata(r,a);return b&&Object.keys(b).forEach(I=>{const U=[];h.hasOwnProperty(I)&&U.push(...h[I]),U.push(...b[I]),h[I]=U}),h}ownPropMetadata(r){return fc(r)&&this._ownPropMetadata(r,ih(r))||{}}hasLifecycleHook(r,a){return r instanceof rh&&a in r.prototype}}function Xm(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 Hb{constructor(r,a,h){this.previousValue=r,this.currentValue=a,this.firstChange=h}isFirstChange(){return this.firstChange}}function Vb(t,r,a,h){null!==r?r.applyValueToInputSignal(r,h):t[a]=h}function qm(){return Yb}function Yb(t){return t.type.prototype.ngOnChanges&&(t.setInput=mc),cD}function cD(){const t=zb(this),r=t?.current;if(r){const a=t.previous;if(a===Tr)t.previous=r;else for(let h in r)a[h]=r[h];t.current=null,this.ngOnChanges(r)}}function mc(t,r,a,h,b){const I=this.declaredInputs[h],U=zb(t)||function Wb(t,r){return t[$b]=r}(t,{previous:Tr,current:null}),z=U.current||(U.current={}),te=U.previous,Ae=te[I];z[I]=new Hb(Ae&&Ae.currentValue,a,te===Tr),Vb(t,r,b,a)}qm.ngInherit=!0;const $b="__ngSimpleChanges__";function zb(t){return t[$b]||null}const ps=function(t,r,a){};function oh(t,r){for(let a=r.directiveStart,h=r.directiveEnd;a=h)break}else r[te]<0&&(t[Rr]+=65536),(z>14>16&&(3&t[Jn])===r&&(t[Jn]+=16384,tg(z,I)):tg(z,I)}const Sl=-1;class Ou{constructor(r,a,h){this.factory=r,this.resolving=!1,this.canSeeViewProviders=a,this.injectImpl=h}}function hD(t){return null!=t&&"object"==typeof t&&(null===t.insertBeforeIndex||"number"==typeof t.insertBeforeIndex||Array.isArray(t.insertBeforeIndex))}function ng(t){return t!==Sl}function Lu(t){return 32767&t}function Ru(t,r){let a=function ts(t){return t>>16}(t),h=r;for(;a>0;)h=h[vo],a--;return h}let lh=!0;function ch(t){const r=lh;return lh=t,r}const Zb=255,uh=5;let gD=0;const za={};function pc(t,r){const a=Jb(t,r);if(-1!==a)return a;const h=r[xn];h.firstCreatePass&&(t.injectorIndex=r.length,ig(h.data,t),ig(r,null),ig(h.blueprint,null));const b=dh(t,r),I=t.injectorIndex;if(ng(b)){const U=Lu(b),z=Ru(b,r),te=z[xn].data;for(let Ae=0;Ae<8;Ae++)r[I+Ae]=z[U+Ae]|te[U+Ae]}return r[I+8]=b,I}function ig(t,r){t.push(0,0,0,0,0,0,0,0,r)}function Jb(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 a=0,h=null,b=r;for(;null!==b;){if(h=ay(b),null===h)return Sl;if(a++,b=b[vo],-1!==h.injectorIndex)return h.injectorIndex|a<<16}return Sl}function og(t,r,a){!function pD(t,r,a){let h;"string"==typeof a?h=a.charCodeAt(0)||0:a.hasOwnProperty(ii)&&(h=a[ii]),null==h&&(h=a[ii]=gD++);const b=h&Zb;r.data[t+(b>>uh)]|=1<=0?r&Zb:iy:r}(a);if("function"==typeof I){if(!Cn(r,t,h))return h>.Host?Xb(b,0,h):qb(r,a,h,b);try{let U;if(U=I(h),null!=U||h>.Optional)return U;Cu()}finally{ho()}}else if("number"==typeof I){let U=null,z=Jb(t,r),te=Sl,Ae=h>.Host?r[ri][pi]:null;for((-1===z||h>.SkipSelf)&&(te=-1===z?dh(t,r):r[z+8],te!==Sl&&ry(h,!1)?(U=r[xn],z=Lu(te),r=Ru(te,r)):z=-1);-1!==z;){const Je=r[xn];if(ny(I,z,Je.data)){const yt=vD(z,r,a,U,h,Ae);if(yt!==za)return yt}te=r[z+8],te!==Sl&&ry(h,r[xn].data[z+8]===Ae)&&ny(I,z,r)?(U=Je,z=Lu(te),r=Ru(te,r)):z=-1}}return b}function vD(t,r,a,h,b,I){const U=r[xn],z=U.data[t+8],Je=hh(z,U,a,null==h?Fi(z)&&lh:h!=U&&0!=(3&z.type),b>.Host&&I===z);return null!==Je?Os(r,U,Je,z):za}function hh(t,r,a,h,b){const I=t.providerIndexes,U=r.data,z=1048575&I,te=t.directiveStart,Je=I>>20,Ht=b?z+Je:t.directiveEnd;for(let Xt=h?z:z+Je;Xt=te&&_n.type===a)return Xt}if(b){const Xt=U[te];if(Xt&&Gi(Xt)&&Xt.type===a)return te}return null}function Os(t,r,a,h){let b=t[a];const I=r.data;if(function Qb(t){return t instanceof Ou}(b)){const U=b;U.resolving&&function Bd(t,r){throw r&&r.join(" > "),new Yt(-200,t)}($i(I[a]));const z=ch(U.canSeeViewProviders);U.resolving=!0;const Ae=U.injectImpl?Ko(U.injectImpl):null;Cn(t,h,gt.Default);try{b=t[a]=U.factory(void 0,I,t,h),r.firstCreatePass&&a>=h.directiveStart&&function dD(t,r,a){const{ngOnChanges:h,ngOnInit:b,ngDoCheck:I}=r.type.prototype;if(h){const U=Yb(r);(a.preOrderHooks??=[]).push(t,U),(a.preOrderCheckHooks??=[]).push(t,U)}b&&(a.preOrderHooks??=[]).push(0-t,b),I&&((a.preOrderHooks??=[]).push(t,I),(a.preOrderCheckHooks??=[]).push(t,I))}(a,I[a],r)}finally{null!==Ae&&Ko(Ae),ch(z),U.resolving=!1,ho()}}return b}function ny(t,r,a){return!!(a[r+(t>>uh)]&1<{const r=t.prototype.constructor,a=r[dr]||ag(r),h=Object.prototype;let b=Object.getPrototypeOf(t.prototype).constructor;for(;b&&b!==h;){const I=b[dr]||ag(b);if(I&&I!==a)return I;b=Object.getPrototypeOf(b)}return I=>new I})}function ag(t){return Ya(t)?()=>{const r=ag(kr(t));return r&&r()}:bl(t)}function ay(t){const r=t[xn],a=r.type;return 2===a?r.declTNode:1===a?t[pi]:null}function fh(t){return function _D(t,r){if("class"===r)return t.classes;if("style"===r)return t.styles;const a=t.attrs;if(a){const h=a.length;let b=0;for(;b({attributeName:t,__NG_ELEMENT_ID__:()=>fh(t)}));let sy=null;function lg(){return sy=sy||new jb}function mh(t){return ly(lg().parameters(t))}function ly(t){return t.map(r=>function cy(t){const r={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(t)&&t.length>0)for(let a=0;afunction CD(t,r){let a=null,h=null;t.hasOwnProperty(_i)||Object.defineProperty(t,_i,{get:()=>(null===a&&(a=na().compileInjectable(Bb,`ng:///${t.name}/\u0275prov.js`,function MD(t,r){const a=r||{providedIn:null},h={name:t.name,type:t,typeArgumentCount:0,providedIn:a.providedIn};return(cg(a)||hy(a))&&void 0!==a.deps&&(h.deps=ly(a.deps)),cg(a)?h.useClass=a.useClass:function dy(t){return uy in t}(a)?h.useValue=a.useValue:hy(a)?h.useFactory=a.useFactory:function fy(t){return void 0!==t.useExisting}(a)&&(h.useExisting=a.useExisting),h}(t,r))),a)}),t.hasOwnProperty(dr)||Object.defineProperty(t,dr,{get:()=>{if(null===h){const b=na();h=b.compileFactory(Bb,`ng:///${t.name}/\u0275fac.js`,{name:t.name,type:t,typeArgumentCount:0,deps:mh(t),target:b.FactoryTarget.Injectable})}return h},configurable:!0})}(t,r));function gh(t,r=null,a=null,h){const b=gy(t,r,a,h);return b.resolveInjectorInitializers(),b}function gy(t,r=null,a=null,h,b=new Set){const I=[a||lr,fa(t)];return h=h||("object"==typeof t?void 0:Gt(t)),new dc(I,r||xs(),h||null,b)}let Na=(()=>{class t{static#e=this.THROW_IF_NOT_FOUND=gl;static#t=this.NULL=new Zd;static create(a,h){if(Array.isArray(a))return gh({name:""},h,a,"");{const b=a.name??"";return gh({name:b},a.parent,a.providers,b)}}static#n=this.\u0275prov=si({token:t,providedIn:"any",factory:()=>ve(Qd)});static#r=this.__NG_ELEMENT_ID__=-1}return t})();function ph(t){return t.ngOriginalError}class Ua{constructor(){this._console=console}handleError(r){const a=this._findOriginalError(r);this._console.error("ERROR",r),a&&this._console.error("ORIGINAL ERROR",a)}_findOriginalError(r){let a=r&&ph(r);for(;a&&ph(a);)a=ph(a);return a||null}}const _y=new oe("",{providedIn:"root",factory:()=>it(Ua).handleError.bind(void 0)}),bc=new oe(""),ug=new oe("",{providedIn:"root",factory:()=>!1});let Fu,vh;function _h(){if(void 0===Fu&&(Fu=null,jt.trustedTypes))try{Fu=jt.trustedTypes.createPolicy("angular",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return Fu}function El(t){return _h()?.createHTML(t)||t}function dg(){if(void 0===vh&&(vh=null,jt.trustedTypes))try{vh=jt.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:t=>t,createScript:t=>t,createScriptURL:t=>t})}catch{}return vh}function by(t){return dg()?.createHTML(t)||t}function yy(t){return dg()?.createScript(t)||t}function Cy(t){return dg()?.createScriptURL(t)||t}class wl{constructor(r){this.changingThisBreaksApplicationSecurity=r}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${nn})`}}class hg extends wl{getTypeName(){return"HTML"}}class DD extends wl{getTypeName(){return"Style"}}class TD extends wl{getTypeName(){return"Script"}}class ID extends wl{getTypeName(){return"URL"}}class yc extends wl{getTypeName(){return"ResourceURL"}}function Ls(t){return t instanceof wl?t.changingThisBreaksApplicationSecurity:t}function Dl(t,r){const a=My(t);if(null!=a&&a!==r){if("ResourceURL"===a&&"URL"===r)return!0;throw new Error(`Required a safe ${r}, got a ${a} (see ${nn})`)}return a===r}function My(t){return t instanceof wl&&t.getTypeName()||null}function Sy(t){return new hg(t)}function AD(t){return new DD(t)}function PD(t){return new TD(t)}function kD(t){return new ID(t)}function fg(t){return new yc(t)}function Ey(t){const r=new xD(t);return function mg(){try{return!!(new window.DOMParser).parseFromString(El(""),"text/html")}catch{return!1}}()?new wy(r):r}class wy{constructor(r){this.inertDocumentHelper=r}getInertBodyElement(r){r=""+r;try{const a=(new window.DOMParser).parseFromString(El(r),"text/html").body;return null===a?this.inertDocumentHelper.getInertBodyElement(r):(a.removeChild(a.firstChild),a)}catch{return null}}}class xD{constructor(r){this.defaultDoc=r,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(r){const a=this.inertDocument.createElement("template");return a.innerHTML=El(r),a}}const OD=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function bh(t){return(t=String(t)).match(OD)?t:"unsafe:"+t}function Rs(t){const r={};for(const a of t.split(","))r[a]=!0;return r}function Cc(...t){const r={};for(const a of t)for(const h in a)a.hasOwnProperty(h)&&(r[h]=!0);return r}const Dy=Rs("area,br,col,hr,img,wbr"),Xs=Rs("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ty=Rs("rp,rt"),gg=Cc(Dy,Cc(Xs,Rs("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")),Cc(Ty,Rs("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")),Cc(Ty,Xs)),pg=Rs("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Iy=Cc(pg,Rs("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"),Rs("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=Rs("script,style,template");class FD{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(r){let a=r.firstChild,h=!0;for(;a;)if(a.nodeType===Node.ELEMENT_NODE?h=this.startElement(a):a.nodeType===Node.TEXT_NODE?this.chars(a.nodeValue):this.sanitizedSomething=!0,h&&a.firstChild)a=a.firstChild;else for(;a;){a.nodeType===Node.ELEMENT_NODE&&this.endElement(a);let b=this.checkClobberedElement(a,a.nextSibling);if(b){a=b;break}a=this.checkClobberedElement(a,a.parentNode)}return this.buf.join("")}startElement(r){const a=r.nodeName.toLowerCase();if(!gg.hasOwnProperty(a))return this.sanitizedSomething=!0,!RD.hasOwnProperty(a);this.buf.push("<"),this.buf.push(a);const h=r.attributes;for(let b=0;b"),!0}endElement(r){const a=r.nodeName.toLowerCase();gg.hasOwnProperty(a)&&!Dy.hasOwnProperty(a)&&(this.buf.push(""))}chars(r){this.buf.push(Tl(r))}checkClobberedElement(r,a){if(a&&(r.compareDocumentPosition(a)&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 a}}const ND=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,UD=/([^\#-~ |!])/g;function Tl(t){return t.replace(/&/g,"&").replace(ND,function(r){return"&#"+(1024*(r.charCodeAt(0)-55296)+(r.charCodeAt(1)-56320)+65536)+";"}).replace(UD,function(r){return"&#"+r.charCodeAt(0)+";"}).replace(//g,">")}let Fs;function Ay(t,r){let a=null;try{Fs=Fs||Ey(t);let h=r?String(r):"";a=Fs.getInertBodyElement(h);let b=5,I=h;do{if(0===b)throw new Error("Failed to sanitize html because the input is unstable");b--,h=I,I=a.innerHTML,a=Fs.getInertBodyElement(h)}while(h!==I);return El((new FD).sanitizeChildren(yh(a)||a))}finally{if(a){const h=yh(a)||a;for(;h.firstChild;)h.removeChild(h.firstChild)}}}function yh(t){return"content"in t&&function BD(t){return t.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===t.nodeName}(t)?t.content:null}var Il=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}(Il||{});function _g(t){const r=Nu();return r?by(r.sanitize(Il.HTML,t)||""):Dl(t,"HTML")?by(Ls(t)):Ay(ta(),zr(t))}function vg(t){const r=Nu();return r?r.sanitize(Il.STYLE,t)||"":Dl(t,"Style")?Ls(t):zr(t)}function bg(t){const r=Nu();return r?r.sanitize(Il.URL,t)||"":Dl(t,"URL")?Ls(t):bh(zr(t))}function Ch(t){const r=Nu();if(r)return Cy(r.sanitize(Il.RESOURCE_URL,t)||"");if(Dl(t,"ResourceURL"))return Cy(Ls(t));throw new Yt(904,!1)}function yg(t){const r=Nu();if(r)return yy(r.sanitize(Il.SCRIPT,t)||"");if(Dl(t,"Script"))return yy(Ls(t));throw new Yt(905,!1)}function Py(t){return El(t[0])}function Cg(t){return function wD(t){return _h()?.createScriptURL(t)||t}(t[0])}function Ns(t,r,a){return function jD(t,r){return"src"===r&&("embed"===t||"frame"===t||"iframe"===t||"media"===t||"script"===t)||"href"===r&&("base"===t||"link"===t)?Ch:bg}(r,a)(t)}function Nu(){const t=En();return t&&t[ji].sanitizer}const HD=/^>|^->||--!>|)/g,VD="\u200b$1\u200b";const Sh=new Map;let GD=0;function Sg(t){return Sh.get(t)||null}class Eh{get lView(){return Sg(this.lViewId)}constructor(r,a,h){this.lViewId=r,this.nodeIndex=a,this.native=h}}function Ma(t){let r=Al(t);if(r){if(Vi(r)){const a=r;let h,b,I;if(Pl(t)){if(h=function Eg(t,r){const a=t[xn].components;if(a)for(let h=0;h=0){const z=$r(I[U]),te=Uu(I,U,z);_a(z,te),r=te;break}}}}return r||null}function Uu(t,r,a){return new Eh(t[Pn],r,a)}const Bu="__ngContext__";function _a(t,r){Vi(r)?(t[Bu]=r[Pn],function QD(t){Sh.set(t[Pn],t)}(r)):t[Bu]=r}function Al(t){const r=t[Bu];return"number"==typeof r?Sg(r):r||null}function Pl(t){return t&&t.constructor&&t.constructor.\u0275cmp}function Ry(t,r){const a=t[xn];for(let h=pr;hr.replace(ky,VD))}(r))}function Ah(t,r,a){return t.createElement(r,a)}function Wy(t,r){Lh(t,r,r[yr],2,null,null)}function Rg(t,r){const a=t[uo],h=a.indexOf(r);a.splice(h,1)}function ju(t,r){if(t.length<=Yr)return;const a=Yr+r,h=t[a];if(h){const b=h[ro];null!==b&&b!==t&&Rg(b,h),r>0&&(t[a-1][jn]=h[jn]);const I=Ws(t,Yr+r);!function i1(t,r){Wy(t,r),r[Ur]=null,r[pi]=null}(h[xn],h);const U=I[oo];null!==U&&U.detachView(I[xn]),h[Gr]=null,h[jn]=null,h[Jn]&=-129}return h}function Ph(t,r){if(!(256&r[Jn])){const a=r[yr];a.destroyNode&&Lh(t,r,a,3,null,null),function a1(t){let r=t[Ji];if(!r)return Fg(t[xn],t);for(;r;){let a=null;if(Vi(r))a=r[Ji];else{const h=r[Yr];h&&(a=h)}if(!a){for(;r&&!r[jn]&&r!==t;)Vi(r)&&Fg(r[xn],r),r=r[Gr];null===r&&(r=t),Vi(r)&&Fg(r[xn],r),a=r&&r[jn]}r=a}}(r)}}function Fg(t,r){if(!(256&r[Jn])){r[Jn]&=-129,r[Jn]|=256,r[ai]&&N(r[ai]),function c1(t,r){let a;if(null!=t&&null!=(a=t.destroyHooks))for(let h=0;h=0?h[U]():h[-U].unsubscribe(),I+=2}else a[I].call(h[a[I+1]]);null!==h&&(r[qr]=null);const b=r[gi];if(null!==b){r[gi]=null;for(let I=0;I-1){const{encapsulation:I}=t.data[h.directiveStart+b];if(I===_t.None||I===_t.Emulated)return null}return io(h,a)}}function xl(t,r,a,h,b){t.insertBefore(r,a,h,b)}function Qy(t,r,a){t.appendChild(r,a)}function Ng(t,r,a,h,b){null!==h?xl(t,r,a,h,b):Qy(t,r,a)}function kh(t,r){return t.parentNode(r)}function Jy(t,r,a){return Xy(t,r,a)}function Ug(t,r,a){return 40&t.type?io(t,a):null}let Bg,Xy=Ug;function qy(t,r){Xy=t,Bg=r}function xh(t,r,a,h){const b=Hu(t,h,r),I=r[yr],z=Jy(h.parent||r[pi],h,r);if(null!=b)if(Array.isArray(a))for(let te=0;tepr&&oC(t,r,pr,!1),ps(U?2:0,b),a(h,b)}finally{Yi(I),ps(U?3:1,b)}}function Rh(t,r,a){if(Uo(r)){const h=o(null);try{const I=r.directiveEnd;for(let U=r.directiveStart;Unull;function y1(t){ul(t)?Hg(t):function Jw(t){const r=ta(),a=r.createNodeIterator(t,NodeFilter.SHOW_COMMENT,{acceptNode(I){const U=function Zw(t){return t.textContent?.replace(/\s/gm,"")}(I);return"ngetn"===U||"ngtns"===U?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT}});let h;const b=[];for(;h=a.nextNode();)b.push(h);for(const I of b)"ngetn"===I.textContent?I.replaceWith(r.createTextNode("")):I.remove()}(t)}function Nh(t,r,a,h,b){for(let I in r){if(!r.hasOwnProperty(I))continue;const U=r[I];if(void 0===U)continue;h??={};let z,te=at.None;Array.isArray(U)?(z=U[0],te=U[1]):z=U;let Ae=I;if(null!==b){if(!b.hasOwnProperty(I))continue;Ae=b[I]}0===t?dC(h,a,Ae,z,te):dC(h,a,Ae,z)}return h}function dC(t,r,a,h,b){let I;t.hasOwnProperty(a)?(I=t[a]).push(r,h):I=t[a]=[r,h],void 0!==b&&I.push(b)}function Sa(t,r,a,h,b,I,U,z){const te=io(r,a);let Je,Ae=r.inputs;!z&&null!=Ae&&(Je=Ae[h])?(Zg(t,a,Je,h,b),Fi(r)&&function E1(t,r){const a=qi(r,t);16&a[Jn]||(a[Jn]|=64)}(a,r.index)):3&r.type&&(h=function S1(t){return"class"===t?"className":"for"===t?"htmlFor":"formaction"===t?"formAction":"innerHtml"===t?"innerHTML":"readonly"===t?"readOnly":"tabindex"===t?"tabIndex":t}(h),b=null!=U?U(b,r.value||"",h):b,I.setProperty(te,h,b))}function Wg(t,r,a,h){if(fr()){const b=null===h?null:{"":-1},I=function Yu(t,r){const a=t.directiveRegistry;let h=null,b=null;if(a)for(let I=0;I0;){const a=t[--r];if("number"==typeof a&&a<0)return a}return 0})(U)!=z&&U.push(z),U.push(a,h,I)}}(t,r,h,Vu(t,a,b.hostVars,li),b)}function vs(t,r,a,h,b,I){const U=io(t,r);Tc(r[yr],U,I,t.value,a,h,b)}function Tc(t,r,a,h,b,I,U){if(null==I)t.removeAttribute(r,b,a);else{const z=null==U?zr(I):U(I,h||"",b);t.setAttribute(r,b,z,a)}}function k1(t,r,a,h,b,I){const U=I[r];if(null!==U)for(let z=0;z0&&(a[b-1][jn]=r),h{Ze(t.lView)},consumerOnSignalRead(){this.lView[ai]=this}};function Gu(t){return wC(t[Ji])}function EC(t){return wC(t[jn])}function wC(t){for(;null!==t&&!ei(t);)t=t[jn];return t}function Ac(t,r=!0,a=0){const h=t[ji],b=h.rendererFactory;b.begin?.();try{!function N1(t,r){ip(t,r);let a=0;for(;ee(t);){if(100===a)throw new Yt(103,!1);a++,ip(t,1)}}(t,a)}catch(U){throw r&&Vh(t,U),U}finally{b.end?.(),h.inlineEffectRunner?.flush()}}function B1(t,r,a,h){const b=r[Jn];if(256==(256&b))return;r[ji].inlineEffectRunner?.flush(),An(r);let U=null,z=null;(function np(t){return 2!==t.type})(t)&&(z=function Yh(t){return t[ai]??function L1(t){const r=tp.pop()??Object.create(R1);return r.lView=t,r}(t)}(r),U=w(z));try{ma(r),Wn(t.bindingStartIndex),null!==a&&lC(t,r,a,2,h);const te=3==(3&b);if(te){const yt=t.preOrderCheckHooks;null!==yt&&ah(r,yt,null)}else{const yt=t.preOrderHooks;null!==yt&&gc(r,yt,0,null),xu(r,0)}if(function IC(t){for(let r=Gu(t);null!==r;r=EC(r)){if(!(r[Jn]&So.HasTransplantedViews))continue;const a=r[uo];for(let h=0;h-1&&(ju(r,h),Ws(a,h))}this._attachedToViewContainer=!1}Ph(this._lView[xn],this._lView)}onDestroy(r){Mt(this._lView,r)}markForCheck(){Ku(this._cdRefInjectingView||this._lView)}detach(){this._lView[Jn]&=-129}reattach(){Ce(this._lView),this._lView[Jn]|=128}detectChanges(){this._lView[Jn]|=1024,Ac(this._lView,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new Yt(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,Wy(this._lView[xn],this._lView)}attachToAppRef(r){if(this._attachedToViewContainer)throw new Yt(902,!1);this._appRef=r,Ce(this._lView)}}let Qu=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=V1}return t})();const $h=Qu,H1=class extends $h{constructor(r,a,h){super(),this._declarationLView=r,this._declarationTContainer=a,this.elementRef=h}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(r,a){return this.createEmbeddedViewImpl(r,a)}createEmbeddedViewImpl(r,a,h){const b=$u(this._declarationLView,this._declarationTContainer,r,{injector:a,dehydratedView:h});return new Ol(b)}};function V1(){return zh(Qr(),En())}function zh(t,r){return 4&t.type?new H1(r,t,qo(t,r)):null}const Wh="<-- AT THIS LOCATION";function W1(t){const h=`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 a="";const h=t;return h.previousSibling&&(a+=" \u2026\n",a+=r+Pc(h.previousSibling)+"\n"),a+=r+Pc(h)+` ${Wh}\n`,t.nextSibling&&(a+=" \u2026\n"),t.parentNode&&(a=Pc(h.parentNode,"\n"+a)),a}(t)}\n\nNote: attributes are only displayed to better represent the DOM but have no effect on hydration mismatches.\n\n`;return new Yt(-503,h)}const K1=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 h=function G1(t){const r=[];if(t.attrs)for(let a=0;a${r}`;case 8:return"\x3c!-- ng-container --\x3e";case 4:return"\x3c!-- container --\x3e";default:return`#node(${function Y1(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 Pc(t,r="\u2026"){const a=t;switch(a.nodeType){case Node.ELEMENT_NODE:const h=a.tagName.toLowerCase(),b=function xC(t){const r=[];for(let a=0;a${r}`;case Node.TEXT_NODE:const I=a.textContent?kc(a.textContent):"";return"#text"+(I?`(${I})`:"");case Node.COMMENT_NODE:return`\x3c!-- ${kc(a.textContent??"")} --\x3e`;default:return`#node(${a.nodeType})`}}function kc(t,r=50){return t?(t=function Q1(t){return t.replace(/\s+/gm,"")}(t)).length>r?`${t.substring(0,r-1)}\u2026`:t:""}function LC(t){const r=t[Ai]??[],h=t[Gr][yr];for(const b of r)Z1(b,h);t[Ai]=lr}function Z1(t,r){let a=0,h=t.firstChild;if(h){const b=t.data[sc];for(;a0&&a[b-1]===h?a[b]=(a[b]||1)+1:a.push(h,"")}return a.join("")}(a,h)}function NC(t,r){let h,b,I,a=t.parent;for(;null!==a&&Xu(a,r);)a=a.parent;null!==a&&3&a.type?(h=a.index,b=$r(r[h]),I=zr(h-pr)):(h=I=Om,b=r[ri][Ur]);let U=$r(r[t.index]);if(12&t.type){const te=wc(r,t);te&&(U=te)}let z=FC(b,U,I);if(null===z&&b!==U&&(z=FC(b.ownerDocument.body,U,Lm),null===z))throw function z1(t,r){const h=`${function ap(t,r,a){const h=" ";let b="";r.prev?(b+=" \u2026\n",b+=h+op(r.prev)+"\n"):r.type&&12&r.type&&(b+=" \u2026\n"),a?(b+=h+op(r)+"\n",b+=h+`\x3c!-- container --\x3e ${Wh}\n`):b+=h+op(r)+` ${Wh}\n`,b+=" \u2026\n";const I=r.type?Hu(t[xn],r,t):null;return I&&(b=Pc(I,"\n"+b)),b}(t,r,!1)}\n\n`,b=function Zu(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 Yt(-502,"During serialization, Angular was unable to find an element in the DOM:\n\n"+h+b)}(r,t);return z}let up=()=>null;function rT(t,r){const a=t[Ai];return r&&null!==a&&0!==a.length?a[0].data[_l]===r?a.shift():(LC(t),null):null}function Ll(t,r){return up(t,r)}class hp{}class Jh{}class qu{}class oT{resolveComponentFactory(r){throw function iT(t){const r=Error(`No component factory found for ${Gt(t)}.`);return r.ngComponent=t,r}(r)}}let ed=(()=>{class t{static#e=this.NULL=new oT}return t})();class UC{}let fp=(()=>{class t{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function aT(){const t=En(),a=qi(Qr().index,t);return(Vi(a)?a:t)[yr]}()}return t})(),mp=(()=>{class t{static#e=this.\u0275prov=si({token:t,providedIn:"root",factory:()=>null})}return t})();const td={};function gp(t){return"function"==typeof t&&void 0!==t[e]}const BC=new Set;function Wa(t){BC.has(t)||(BC.add(t),performance?.mark?.("mark_feature_usage",{detail:{feature:t}}))}function sT(t,r){Wa("NgSignals");const a=H(t);return r?.equal&&(a[e].equal=r.equal),a}function lT(t){return null}function Po(t,r){Wa("NgSignals");const a=function Re(t){const r=Object.create(Me);r.value=t;const a=()=>(E(r),r.value);return a[e]=r,a}(t),h=a[e];return r?.equal&&(h.equal=r.equal),a.set=b=>Be(h,b),a.update=b=>function _e(t,r){C()||ct(),Be(t,r(t.value))}(h,b),a.asReadonly=cT.bind(a),a}function cT(){const t=this[e];if(void 0===t.readonlyFn){const r=()=>this();r[e]=t,t.readonlyFn=r}return t.readonlyFn}function Xh(t){return gp(t)&&"function"==typeof t.set}function uT(t){const r=o(null);try{return t()}finally{o(r)}}function qh(t){return!!nd(t)&&(Array.isArray(t)||!(t instanceof Map)&&Symbol.iterator in t)}function nd(t){return null!==t&&("function"==typeof t||"object"==typeof t)}class pp{constructor(){}supports(r){return qh(r)}create(r){return new YC(r)}}const hT=(t,r)=>r;class YC{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||hT}forEachItem(r){let a;for(a=this._itHead;null!==a;a=a._next)r(a)}forEachOperation(r){let a=this._itHead,h=this._removalsHead,b=0,I=null;for(;a||h;){const U=!h||a&&a.currentIndex<$C(h,b,I)?a:h,z=$C(U,b,I),te=U.currentIndex;if(U===h)b--,h=h._nextRemoved;else if(a=a._next,null==U.previousIndex)b++;else{I||(I=[]);const Ae=z-b,Je=te-b;if(Ae!=Je){for(let Ht=0;Ht{U=this._trackByFn(b,z),null!==a&&Object.is(a.trackById,U)?(h&&(a=this._verifyReinsertion(a,z,U,b)),Object.is(a.item,z)||this._addIdentityChange(a,z)):(a=this._mismatch(a,z,U,b),h=!0),a=a._next,b++}),this.length=b;return this._truncate(a),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,a,h,b){let I;return null===r?I=this._itTail:(I=r._prev,this._remove(r)),null!==(r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(h,null))?(Object.is(r.item,a)||this._addIdentityChange(r,a),this._reinsertAfter(r,I,b)):null!==(r=null===this._linkedRecords?null:this._linkedRecords.get(h,b))?(Object.is(r.item,a)||this._addIdentityChange(r,a),this._moveAfter(r,I,b)):r=this._addAfter(new _p(a,h),I,b),r}_verifyReinsertion(r,a,h,b){let I=null===this._unlinkedRecords?null:this._unlinkedRecords.get(h,null);return null!==I?r=this._reinsertAfter(I,r._prev,b):r.currentIndex!=b&&(r.currentIndex=b,this._addToMoves(r,b)),r}_truncate(r){for(;null!==r;){const a=r._next;this._addToRemovals(this._unlink(r)),r=a}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,a,h){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(r);const b=r._prevRemoved,I=r._nextRemoved;return null===b?this._removalsHead=I:b._nextRemoved=I,null===I?this._removalsTail=b:I._prevRemoved=b,this._insertAfter(r,a,h),this._addToMoves(r,h),r}_moveAfter(r,a,h){return this._unlink(r),this._insertAfter(r,a,h),this._addToMoves(r,h),r}_addAfter(r,a,h){return this._insertAfter(r,a,h),this._additionsTail=null===this._additionsTail?this._additionsHead=r:this._additionsTail._nextAdded=r,r}_insertAfter(r,a,h){const b=null===a?this._itHead:a._next;return r._next=b,r._prev=a,null===b?this._itTail=r:b._prev=r,null===a?this._itHead=r:a._next=r,null===this._linkedRecords&&(this._linkedRecords=new vp),this._linkedRecords.put(r),r.currentIndex=h,r}_remove(r){return this._addToRemovals(this._unlink(r))}_unlink(r){null!==this._linkedRecords&&this._linkedRecords.remove(r);const a=r._prev,h=r._next;return null===a?this._itHead=h:a._next=h,null===h?this._itTail=a:h._prev=a,r}_addToMoves(r,a){return r.previousIndex===a||(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,a){return r.item=a,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=r:this._identityChangesTail._nextIdentityChange=r,r}}class _p{constructor(r,a){this.item=r,this.trackById=a,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 fT{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,a){let h;for(h=this._head;null!==h;h=h._nextDup)if((null===a||a<=h.currentIndex)&&Object.is(h.trackById,r))return h;return null}remove(r){const a=r._prevDup,h=r._nextDup;return null===a?this._head=h:a._nextDup=h,null===h?this._tail=a:h._prevDup=a,null===this._head}}class vp{constructor(){this.map=new Map}put(r){const a=r.trackById;let h=this.map.get(a);h||(h=new fT,this.map.set(a,h)),h.add(r)}get(r,a){const b=this.map.get(r);return b?b.get(r,a):null}remove(r){const a=r.trackById;return this.map.get(a).remove(r)&&this.map.delete(a),r}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function $C(t,r,a){const h=t.previousIndex;if(null===h)return h;let b=0;return a&&h{if(a&&a.key===b)this._maybeAddToChanges(a,h),this._appendAfter=a,a=a._next;else{const I=this._getOrCreateRecordForKey(b,h);a=this._insertBeforeOrAppend(a,I)}}),a){a._prev&&(a._prev._next=null),this._removalsHead=a;for(let h=a;null!==h;h=h._nextRemoved)h===this._mapHead&&(this._mapHead=null),this._records.delete(h.key),h._nextRemoved=h._next,h.previousValue=h.currentValue,h.currentValue=null,h._prev=null,h._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(r,a){if(r){const h=r._prev;return a._next=r,a._prev=h,r._prev=a,h&&(h._next=a),r===this._mapHead&&(this._mapHead=a),this._appendAfter=r,r}return this._appendAfter?(this._appendAfter._next=a,a._prev=this._appendAfter):this._mapHead=a,this._appendAfter=a,null}_getOrCreateRecordForKey(r,a){if(this._records.has(r)){const b=this._records.get(r);this._maybeAddToChanges(b,a);const I=b._prev,U=b._next;return I&&(I._next=U),U&&(U._prev=I),b._next=null,b._prev=null,b}const h=new mT(r);return this._records.set(r,h),h.currentValue=a,this._addToAdditions(h),h}_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,a){Object.is(a,r.currentValue)||(r.previousValue=r.currentValue,r.currentValue=a,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,a){r instanceof Map?r.forEach(a):Object.keys(r).forEach(h=>a(r[h],h))}}class mT{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 bp(){return new yp([new pp])}let yp=(()=>{class t{static#e=this.\u0275prov=si({token:t,providedIn:"root",factory:bp});constructor(a){this.factories=a}static create(a,h){if(null!=h){const b=h.factories.slice();a=a.concat(b)}return new t(a)}static extend(a){return{provide:t,useFactory:h=>t.create(a,h||bp()),deps:[[t,new Gd,new Wd]]}}find(a){const h=this.factories.find(b=>b.supports(a));if(null!=h)return h;throw new Yt(901,!1)}}return t})();function GC(){return new rd([new zC])}let rd=(()=>{class t{static#e=this.\u0275prov=si({token:t,providedIn:"root",factory:GC});constructor(a){this.factories=a}static create(a,h){if(h){const b=h.factories.slice();a=a.concat(b)}return new t(a)}static extend(a){return{provide:t,useFactory:h=>t.create(a,h||GC()),deps:[[t,new Gd,new Wd]]}}find(a){const h=this.factories.find(b=>b.supports(a));if(h)return h;throw new Yt(901,!1)}}return t})();function KC(t,r){const a=qh(t),h=qh(r);return a&&h?function dT(t,r,a){const h=t[Symbol.iterator](),b=r[Symbol.iterator]();for(;;){const I=h.next(),U=b.next();if(I.done&&U.done)return!0;if(I.done||U.done||!a(I.value,U.value))return!1}}(t,r,KC):!(a||!t||"object"!=typeof t&&"function"!=typeof t||h||!r||"object"!=typeof r&&"function"!=typeof r)||Object.is(t,r)}let Cp=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=Oc}return t})();function Oc(t){return function pT(t,r,a){if(Fi(t)&&!a){const h=qi(t.index,r);return new Ol(h,h)}return 47&t.type?new Ol(r[ri],r):null}(Qr(),En(),16==(16&t))}const QC=[new zC],xa=new yp([new pp]),vT=new rd(QC);let Lc=(()=>{class t{static#e=this.__NG_ELEMENT_ID__=ZC;static#t=this.__NG_ENV_ID__=a=>a}return t})();class bT extends Lc{constructor(r){super(),this._lView=r}onDestroy(r){return Mt(this._lView,r),()=>Rt(this._lView,r)}}function ZC(){return new bT(En())}function yT(t,r){if(null!==function d(){return u}())throw new Yt(-602,!1)}const JC=new oe("",{providedIn:"root",factory:()=>it(XC)});let XC=(()=>{class t{static#e=this.\u0275prov=si({token:t,providedIn:"root",factory:()=>new qC})}return t})();class qC{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 a=r.creationZone;this.queues.has(a)||this.queues.set(a,new Set);const h=this.queues.get(a);h.has(r)||(this.queuedEffectCount++,h.add(r))}flush(){for(;this.queuedEffectCount>0;)for(const[r,a]of this.queues)null===r?this.flushQueue(a):r.run(()=>this.flushQueue(a))}flushQueue(r){for(const a of r)r.delete(a),this.queuedEffectCount--,a.run()}}class CT{constructor(r,a,h,b,I,U){this.scheduler=r,this.effectFn=a,this.creationZone=h,this.injector=I,this.watcher=function je(t,r,a){const h=Object.create(we);a&&(h.consumerAllowSignalWrites=!0),h.fn=t,h.schedule=r;const b=te=>{h.cleanupFn=te};return h.ref={notify:()=>_(h),run:()=>{if(null===h.fn)return;if(function v(){return l}())throw new Error("Schedulers cannot synchronously execute watches while scheduling.");if(h.dirty=!1,h.hasRun&&!L(h))return;h.hasRun=!0;const te=w(h);try{h.cleanupFn(),h.cleanupFn=re,h.fn(b)}finally{D(h,te)}},cleanup:()=>h.cleanupFn(),destroy:()=>function U(te){(function I(te){return null===te.fn&&null===te.schedule})(te)||(N(te),te.cleanupFn(),te.fn=null,te.schedule=null,te.cleanupFn=re)}(h),[e]:h},h.ref}(z=>this.runEffect(z),()=>this.schedule(),U),this.unregisterOnDestroy=b?.onDestroy(()=>this.destroy())}runEffect(r){try{this.effectFn(r)}catch(a){this.injector.get(Ua,null,{optional:!0})?.handleError(a)}}run(){this.watcher.run()}schedule(){this.scheduler.scheduleEffect(this)}destroy(){this.watcher.destroy(),this.unregisterOnDestroy?.()}}function Mp(t,r){Wa("NgSignals"),!r?.injector&&Cl();const a=r?.injector??it(Na),h=!0!==r?.manualCleanup?a.get(Lc):null,b=new CT(a.get(JC),t,typeof Zone>"u"?null:Zone.current,h,a,r?.allowSignalWrites??!1),I=a.get(Cp,null,{optional:!0});return I&&8&I._lView[Jn]?(I._lView[Hi]??=[]).push(b.watcher.notify):b.watcher.notify(),b}function e0(...t){}class No{constructor({enableLongStackTrace:r=!1,shouldCoalesceEventChangeDetection:a=!1,shouldCoalesceRunChangeDetection:h=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Pe(!1),this.onMicrotaskEmpty=new Pe(!1),this.onStable=new Pe(!1),this.onError=new Pe(!1),typeof Zone>"u")throw new Yt(908,!1);Zone.assertZonePatched();const b=this;b._nesting=0,b._outer=b._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(b._inner=b._inner.fork(new Zone.TaskTrackingZoneSpec)),r&&Zone.longStackTraceZoneSpec&&(b._inner=b._inner.fork(Zone.longStackTraceZoneSpec)),b.shouldCoalesceEventChangeDetection=!h&&a,b.shouldCoalesceRunChangeDetection=h,b.lastRequestAnimationFrameId=-1,b.nativeRequestAnimationFrame=function ef(){const t="function"==typeof jt.requestAnimationFrame;let r=jt[t?"requestAnimationFrame":"setTimeout"],a=jt[t?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&r&&a){const h=r[Zone.__symbol__("OriginalDelegate")];h&&(r=h);const b=a[Zone.__symbol__("OriginalDelegate")];b&&(a=b)}return{nativeRequestAnimationFrame:r,nativeCancelAnimationFrame:a}}().nativeRequestAnimationFrame,function ys(t){const r=()=>{!function ST(t){t.isCheckStableRunning||-1!==t.lastRequestAnimationFrameId||(t.lastRequestAnimationFrameId=t.nativeRequestAnimationFrame.call(jt,()=>{t.fakeTopEventTask||(t.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{t.lastRequestAnimationFrameId=-1,Sp(t),t.isCheckStableRunning=!0,tf(t),t.isCheckStableRunning=!1},void 0,()=>{},()=>{})),t.fakeTopEventTask.invoke()}),Sp(t))}(t)};t._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(a,h,b,I,U,z)=>{if(function ET(t){return!(!Array.isArray(t)||1!==t.length)&&!0===t[0].data?.__ignore_ng_zone__}(z))return a.invokeTask(b,I,U,z);try{return id(t),a.invokeTask(b,I,U,z)}finally{(t.shouldCoalesceEventChangeDetection&&"eventTask"===I.type||t.shouldCoalesceRunChangeDetection)&&r(),t0(t)}},onInvoke:(a,h,b,I,U,z,te)=>{try{return id(t),a.invoke(b,I,U,z,te)}finally{t.shouldCoalesceRunChangeDetection&&r(),t0(t)}},onHasTask:(a,h,b,I)=>{a.hasTask(b,I),h===b&&("microTask"==I.change?(t._hasPendingMicrotasks=I.microTask,Sp(t),tf(t)):"macroTask"==I.change&&(t.hasPendingMacrotasks=I.macroTask))},onHandleError:(a,h,b,I)=>(a.handleError(b,I),t.runOutsideAngular(()=>t.onError.emit(I)),!1)})}(b)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!No.isInAngularZone())throw new Yt(909,!1)}static assertNotInAngularZone(){if(No.isInAngularZone())throw new Yt(909,!1)}run(r,a,h){return this._inner.run(r,a,h)}runTask(r,a,h,b){const I=this._inner,U=I.scheduleEventTask("NgZoneEvent: "+b,r,MT,e0,e0);try{return I.runTask(U,a,h)}finally{I.cancelTask(U)}}runGuarded(r,a,h){return this._inner.runGuarded(r,a,h)}runOutsideAngular(r){return this._outer.run(r)}}const MT={};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 Sp(t){t.hasPendingMicrotasks=!!(t._hasPendingMicrotasks||(t.shouldCoalesceEventChangeDetection||t.shouldCoalesceRunChangeDetection)&&-1!==t.lastRequestAnimationFrameId)}function id(t){t._nesting++,t.isStable&&(t.isStable=!1,t.onUnstable.emit(null))}function t0(t){t._nesting--,tf(t)}class Ep{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Pe,this.onMicrotaskEmpty=new Pe,this.onStable=new Pe,this.onError=new Pe}run(r,a,h){return r.apply(a,h)}runGuarded(r,a,h){return r.apply(a,h)}runOutsideAngular(r){return r()}runTask(r,a,h,b){return r.apply(a,h)}}var el=function(t){return t[t.EarlyRead=0]="EarlyRead",t[t.Write=1]="Write",t[t.MixedReadWrite=2]="MixedReadWrite",t[t.Read=3]="Read",t}(el||{});const nf={destroy(){}};function rf(t,r){const a=r?.injector??it(Na);(r?.runOnServer||qs(a))&&a.get(Rl).internalCallbacks.push(t)}function wp(t,r){!r&&Cl();const a=r?.injector??it(Na);if(!qs(a))return nf;Wa("NgAfterRender");const h=a.get(Rl),b=h.handler??=new o0,I=r?.phase??el.MixedReadWrite,U=()=>{b.unregister(te),z()},z=a.get(Lc).onDestroy(U),te=new od(a,I,t);return b.register(te),{destroy:U}}function r0(t,r){!r&&Cl();const a=r?.injector??it(Na);if(!qs(a))return nf;Wa("NgAfterNextRender");const h=a.get(Rl),b=h.handler??=new o0,I=r?.phase??el.MixedReadWrite,U=()=>{b.unregister(te),z()},z=a.get(Lc).onDestroy(U),te=new od(a,I,()=>{U(),t()});return b.register(te),{destroy:U}}class od{constructor(r,a,h){this.phase=a,this.callbackFn=h,this.zone=r.get(No),this.errorHandler=r.get(Ua,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(r){this.errorHandler?.handleError(r)}}}class o0{constructor(){this.executingCallbacks=!1,this.buckets={[el.EarlyRead]:new Set,[el.Write]:new Set,[el.MixedReadWrite]:new Set,[el.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 a of r)a.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 Rl=(()=>{class t{constructor(){this.handler=null,this.internalCallbacks=[]}execute(){this.executeInternalCallbacks(),this.handler?.execute()}executeInternalCallbacks(){const a=[...this.internalCallbacks];this.internalCallbacks.length=0;for(const h of a)h()}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=si({token:t,providedIn:"root",factory:()=>new t})}return t})();function Dp(t){return void 0!==t.ngModule}function tl(t){return!!hr(t)}function of(t){return!!Bn(t)}function a0(t){return!!In(t)}function ad(t){return!!fn(t)}function DT(t,r){if(Ya(t)&&!(t=kr(t)))throw new Error(`Expected forwardRef function, imported from "${$i(r)}", to return a standalone entity or NgModule but got "${$i(t)||t}".`);if(null==hr(t)){const a=fn(t)||In(t)||Bn(t);if(null==a)throw Dp(t)?new Error(`A module with providers was imported from "${$i(r)}". Modules with providers are not supported in standalone components imports.`):new Error(`The "${$i(t)}" type, imported from "${$i(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(!a.standalone)throw new Error(`The "${$i(t)}" ${function wT(t){return fn(t)?"component":In(t)?"directive":Bn(t)?"pipe":"type"}(t)}, imported from "${$i(r)}", is not standalone. Did you forget to add the standalone: true flag?`)}}const sd=!0;class s0{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 a=hr(r);if(a?.declarations)for(const h of Ba(a.declarations))ad(h)&&this.ownerNgModule.set(h,r)}this.ngModulesWithSomeUnresolvedDecls.clear()}}getComponentDependencies(r,a){this.resolveNgModulesDecls();const h=fn(r);if(null===h)throw new Error(`Attempting to get component dependencies for a type that is not a component: ${r}`);if(h.standalone){const b=this.getStandaloneComponentScope(r,a);return b.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...b.compilation.directives,...b.compilation.pipes,...b.compilation.ngModules]}}{if(!this.ownerNgModule.has(r))return{dependencies:[]};const b=this.getNgModuleScope(this.ownerNgModule.get(r));return b.compilation.isPoisoned?{dependencies:[]}:{dependencies:[...b.compilation.directives,...b.compilation.pipes]}}}registerNgModule(r,a){if(!tl(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 a=this.computeNgModuleScope(r);return this.ngModulesScopeCache.set(r,a),a}computeNgModuleScope(r){const a=hr(r,!0),h={exported:{directives:new Set,pipes:new Set},compilation:{directives:new Set,pipes:new Set}};for(const b of Ba(a.imports))if(tl(b)){const I=this.getNgModuleScope(b);is(I.exported.directives,h.compilation.directives),is(I.exported.pipes,h.compilation.pipes)}else{if(!_r(b)){h.compilation.isPoisoned=!0;break}if(a0(b)||ad(b))h.compilation.directives.add(b);else{if(!of(b))throw new Yt(1e3,"The standalone imported type is neither a component nor a directive nor a pipe");h.compilation.pipes.add(b)}}if(!h.compilation.isPoisoned)for(const b of Ba(a.declarations)){if(tl(b)||_r(b)){h.compilation.isPoisoned=!0;break}of(b)?h.compilation.pipes.add(b):h.compilation.directives.add(b)}for(const b of Ba(a.exports))if(tl(b)){const I=this.getNgModuleScope(b);is(I.exported.directives,h.exported.directives),is(I.exported.pipes,h.exported.pipes),is(I.exported.directives,h.compilation.directives),is(I.exported.pipes,h.compilation.pipes)}else of(b)?h.exported.pipes.add(b):h.exported.directives.add(b);return h}getStandaloneComponentScope(r,a){if(this.standaloneComponentsScopeCache.has(r))return this.standaloneComponentsScopeCache.get(r);const h=this.computeStandaloneComponentScope(r,a);return this.standaloneComponentsScopeCache.set(r,h),h}computeStandaloneComponentScope(r,a){const h={compilation:{directives:new Set([r]),pipes:new Set,ngModules:new Set}};for(const b of ca(a??[])){const I=kr(b);try{DT(I,r)}catch{return h.compilation.isPoisoned=!0,h}if(tl(I)){h.compilation.ngModules.add(I);const U=this.getNgModuleScope(I);if(U.exported.isPoisoned)return h.compilation.isPoisoned=!0,h;is(U.exported.directives,h.compilation.directives),is(U.exported.pipes,h.compilation.pipes)}else if(of(I))h.compilation.pipes.add(I);else{if(!a0(I)&&!ad(I))return h.compilation.isPoisoned=!0,h;h.compilation.directives.add(I)}}return h}isOrphanComponent(r){const a=fn(r);return!(!a||a.standalone||(this.resolveNgModulesDecls(),this.ownerNgModule.has(r)))}}function is(t,r){for(const a of t)r.add(a)}const Rc=new s0;function af(t,r,a){let h=a?t.styles:null,b=a?t.classes:null,I=0;if(null!==r)for(let U=0;U0&&nC(t,a,I.join(" "))}}(Ht,Bi,_n,h),void 0!==a&&function f0(t,r,a){const h=t.projection=[];for(let b=0;b{class t{static#e=this.__NG_ELEMENT_ID__=kT}return t})();function kT(){return v0(Qr(),En())}const g0=lf,p0=class extends g0{constructor(r,a,h){super(),this._lContainer=r,this._hostTNode=a,this._hostLView=h}get element(){return qo(this._hostTNode,this._hostLView)}get injector(){return new ra(this._hostTNode,this._hostLView)}get parentInjector(){const r=dh(this._hostTNode,this._hostLView);if(ng(r)){const a=Ru(r,this._hostLView),h=Lu(r);return new ra(a[xn].data[h+8],a)}return new ra(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(r){const a=_0(this._lContainer);return null!==a&&a[r]||null}get length(){return this._lContainer.length-Yr}createEmbeddedView(r,a,h){let b,I;"number"==typeof h?b=h:null!=h&&(b=h.index,I=h.injector);const U=Ll(this._lContainer,r.ssrId),z=r.createEmbeddedViewImpl(a||{},I,U);return this.insertImpl(z,b,Ic(this._hostTNode,U)),z}createComponent(r,a,h,b,I){const U=r&&!fc(r);let z;if(U)z=a;else{const _n=a||{};z=_n.index,h=_n.injector,b=_n.projectableNodes,I=_n.environmentInjector||_n.ngModuleRef}const te=U?r:new Fc(fn(r)),Ae=h||this.parentInjector;if(!I&&null==te.ngModule){const On=(U?Ae:this.parentInjector).get(es,null);On&&(I=On)}const Je=fn(te.componentType??{}),yt=Ll(this._lContainer,Je?.id??null),Xt=te.create(Ae,b,yt?.firstChild??null,I);return this.insertImpl(Xt.hostView,z,Ic(this._hostTNode,yt)),Xt}insert(r,a){return this.insertImpl(r,a,!0)}insertImpl(r,a,h){const b=r._lView;if(function Ao(t){return ei(t[Gr])}(b)){const z=this.indexOf(r);if(-1!==z)this.detach(z);else{const te=b[Gr],Ae=new p0(te,te[pi],te[Gr]);Ae.detach(Ae.indexOf(r))}}const I=this._adjustIndex(a),U=this._lContainer;return zu(U,b,I,h),r.attachToViewContainerRef(),ql(ld(U),I,r),r}move(r,a){return this.insert(r,a)}indexOf(r){const a=_0(this._lContainer);return null!==a?a.indexOf(r):-1}remove(r){const a=this._adjustIndex(r,-1),h=ju(this._lContainer,a);h&&(Ws(ld(this._lContainer),a),Ph(h[xn],h))}detach(r){const a=this._adjustIndex(r,-1),h=ju(this._lContainer,a);return h&&null!=Ws(ld(this._lContainer),a)?new Ol(h):null}_adjustIndex(r,a=0){return r??this.length+a}};function _0(t){return t[8]}function ld(t){return t[8]||(t[8]=[])}function v0(t,r){let a;const h=r[t.index];return ei(h)?a=h:(a=gC(h,r,null,t),r[t.index]=a,Hh(r,a)),b0(a,r,t,h),new p0(a,t,r)}let b0=Ip,cf=()=>!1;function y0(t,r,a){return cf(t,r,a)}function Ip(t,r,a,h){if(t[Pi])return;let b;b=8&a.type?$r(h):function xT(t,r){const a=t[yr],h=a.createComment(""),b=io(r,t);return xl(a,kh(a,b),h,function d1(t,r){return t.nextSibling(r)}(a,b),!1),h}(r,a),t[Pi]=b}function OT(t,r,a){if(t[Pi]&&t[Ai])return!0;const h=a[Zi],b=r.index-pr;if(!h||Qi(r)||zd(h,b))return!1;const U=Hm(h,b),z=h.data[gs]?.[b],[te,Ae]=function nT(t,r){const a=[];for(const h of r)for(let b=0;b<(h[pl]??1);b++){const I={data:h,firstChild:null};h[sc]>0&&(I.firstChild=t,t=Qh(h[sc],t)),a.push(I)}return[t,a]}(U,z);return t[Pi]=te,t[Ai]=Ae,!0}function C0(t,r,a,h){cf(t,a,r)||Ip(t,r,a,h)}class uf{constructor(r){this.queryList=r,this.matches=null}clone(){return new uf(this.queryList)}setDirty(){this.queryList.setDirty()}}class Ap{constructor(r=[]){this.queries=r}createEmbeddedView(r){const a=r.queries;if(null!==a){const h=null!==r.contentQueries?r.contentQueries[0]:a.length,b=[];for(let I=0;Ir.trim())}(r):r}}class cd{constructor(r=[]){this.queries=r}elementStart(r,a){for(let h=0;h0)h.push(U[z/2]);else{const Ae=I[z+1],Je=r[-te];for(let yt=Yr;yt{a._dirtyCounter();const b=function x0(t,r){const a=t._lView,h=t._queryIndex;if(void 0===a||void 0===h||4&a[Jn])return r?void 0:lr;const b=Op(a,h),I=ud(a,h);return b.reset(I,sl),r?b.first:b._changesDetected||void 0===t._flatValue?t._flatValue=b.toArray():t._flatValue}(a,t);if(r&&void 0===b)throw new Yt(-951,!1);return b});return a=h[e],a._dirtyCounter=Po(0),a._flatValue=void 0,h}function Fp(){return Rp(!0,!1)}function P0(){return Rp(!0,!0)}function Nc(){return Rp(!1,!1)}function k0(t,r){const a=t[e];a._lView=En(),a._queryIndex=r,a._queryList=Op(a._lView,r),a._queryList.onDirty(()=>a._dirtyCounter.update(h=>h+1))}function O0(t,r){return Fp()}const L0=(O0.required=function NT(t,r){return P0()},O0);function UT(t,r){return Nc()}function Np(t,r){return Fp()}const jT=(Np.required=function BT(t,r){return P0()},Np);function R0(t,r){return Nc()}function F0(t){const r=[],a=Object.create(Un);function h(){return E(a),Up(a.value),a.value}return a.value=t,h[e]=a,h.asReadonly=()=>h(),h.set=I=>{a.equal(a.value,I)||(Be(a,I),function b(I){for(let U=0;U{Up(a.value),h.set(I(a.value))},h.subscribe=I=>(r.push(I),()=>{const U=r.indexOf(I);U>-1&&r.splice(U,1)}),h}function Up(t){if(t===Mn)throw new Yt(-952,!1)}function N0(t){return F0(t)}const U0=(N0.required=function HT(){return F0(Mn)},N0);class Uc{}const VT=Ks("ContentChildren",(t,r={})=>({selector:t,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:!0,...r}),Uc),YT=Ks("ContentChild",(t,r={})=>({selector:t,first:!0,isViewQuery:!1,descendants:!0,...r}),Uc),$T=Ks("ViewChildren",(t,r={})=>({selector:t,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:!0,...r}),Uc),zT=Ks("ViewChild",(t,r)=>({selector:t,first:!0,isViewQuery:!0,descendants:!0,...r}),Uc);function j0(t){const r=[],a=new Map;function h(b){let I=a.get(b);if(!I){const U=t(b);a.set(b,I=U.then(KT))}return I}return Bc.forEach((b,I)=>{const U=[];b.templateUrl&&U.push(h(b.templateUrl).then(Ae=>{b.template=Ae}));const z="string"==typeof b.styles?[b.styles]:b.styles||[];if(b.styles=z,b.styleUrl&&b.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(b.styleUrls?.length){const Ae=b.styles.length,Je=b.styleUrls;b.styleUrls.forEach((yt,Ht)=>{z.push(""),U.push(h(yt).then(Xt=>{z[Ae+Ht]=Xt,Je.splice(Je.indexOf(yt),1),0==Je.length&&(b.styleUrls=void 0)}))})}else b.styleUrl&&U.push(h(b.styleUrl).then(Ae=>{z.push(Ae),b.styleUrl=void 0}));const te=Promise.all(U).then(()=>function $0(t){jc.delete(t)}(I));r.push(te)}),Bp(),Promise.all(r).then(()=>{})}let Bc=new Map;const jc=new Set;function H0(t){return jc.has(t)}function V0(t){return!!(t.templateUrl&&!t.hasOwnProperty("template")||t.styleUrls&&t.styleUrls.length||t.styleUrl)}function Bp(){const t=Bc;return Bc=new Map,t}function GT(t){jc.clear(),t.forEach((r,a)=>jc.add(a)),Bc=t}function KT(t){return"string"==typeof t?t:t.text()}const hf=new Map;let jp=!0;function ff(t,r){(function QT(t,r,a){if(r&&r!==a&&jp)throw new Error(`Duplicate module registered for ${t} - ${Gt(r)} vs ${Gt(r.name)}`)})(r,hf.get(r)||null,t),hf.set(r,t)}function Hp(t){return hf.get(t)}function ZT(t){jp=!t}function dd(t,r,a){const h=En(),b=yi(),I=io(b,h);if(2===b.type&&"iframe"===r.toLowerCase()){const U=I;throw U.src="",U.srcdoc=El(""),Oh(h[yr],U),new Yt(-910,!1)}return t}function z0(t){return Object.getPrototypeOf(t.prototype).constructor}function mf(t){let r=z0(t.type),a=!0;const h=[t];for(;r;){let b;if(Gi(t))b=r.\u0275cmp||r.\u0275dir;else{if(r.\u0275cmp)throw new Yt(903,!1);b=r.\u0275dir}if(b){if(a){h.push(b);const U=t;U.inputs=gf(t.inputs),U.inputTransforms=gf(t.inputTransforms),U.declaredInputs=gf(t.declaredInputs),U.outputs=gf(t.outputs);const z=b.hostBindings;z&&G0(t,z);const te=b.viewQuery,Ae=b.contentQueries;if(te&&XT(t,te),Ae&&qT(t,Ae),JT(t,b),Nr(t.outputs,b.outputs),Gi(b)&&b.data.animation){const Je=t.data;Je.animation=(Je.animation||[]).concat(b.data.animation)}}const I=b.features;if(I)for(let U=0;U=0;h--){const b=t[h];b.hostVars=r+=b.hostVars,b.hostAttrs=wn(b.hostAttrs,a=wn(a,b.hostAttrs))}}(h)}function JT(t,r){for(const a in r.inputs){if(!r.inputs.hasOwnProperty(a)||t.inputs.hasOwnProperty(a))continue;const h=r.inputs[a];if(void 0!==h&&(t.inputs[a]=h,t.declaredInputs[a]=r.declaredInputs[a],null!==r.inputTransforms)){const b=Array.isArray(h)?h[0]:h;if(!r.inputTransforms.hasOwnProperty(b))continue;t.inputTransforms??={},t.inputTransforms[b]=r.inputTransforms[b]}}}function gf(t){return t===Tr?{}:t===lr?[]:t}function XT(t,r){const a=t.viewQuery;t.viewQuery=a?(h,b)=>{r(h,b),a(h,b)}:r}function qT(t,r){const a=t.contentQueries;t.contentQueries=a?(h,b,I)=>{r(h,b,I),a(h,b,I)}:r}function G0(t,r){const a=t.hostBindings;t.hostBindings=a?(h,b)=>{r(h,b),a(h,b)}:r}const eI=["providersResolver"],Vp=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function K0(t){let a,r=z0(t.type);a=Gi(t)?r.\u0275cmp:r.\u0275dir;const h=t;for(const b of eI)h[b]=a[b];if(Gi(a))for(const b of Vp)h[b]=a[b]}function hd(t){const r=a=>{const h=(Array.isArray(t)?t:t()).map(b=>"function"==typeof b?{directive:kr(b),inputs:Tr,outputs:Tr}:{directive:kr(b.directive),inputs:Yp(b.inputs),outputs:Yp(b.outputs)});null===a.hostDirectives?(a.findHostDirectiveDefs=Q0,a.hostDirectives=h):a.hostDirectives.unshift(...h)};return r.ngInherit=!0,r}function Q0(t,r,a){if(null!==t.hostDirectives)for(const h of t.hostDirectives){const b=In(h.directive);tI(b.declaredInputs,h.inputs),Q0(b,r,a),a.set(b,h),r.push(b)}}function Yp(t){if(void 0===t||0===t.length)return Tr;const r={};for(let a=0;aa()),this.destroyCbs=null}onDestroy(r){this.destroyCbs.push(r)}}class _f extends X0{constructor(r){super(),this.moduleType=r}create(r){return new pf(this.moduleType,r,[])}}class tM extends Fl{constructor(r){super(),this.componentFactoryResolver=new l0(this),this.instance=null;const a=new dc([...r.providers,{provide:Fl,useValue:this},{provide:ed,useValue:this.componentFactoryResolver}],r.parent||xs(),r.debugName,new Set(["environment"]));this.injector=a,r.runEnvironmentInitializers&&a.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(r){this.injector.onDestroy(r)}}function $p(t,r,a=null){return new tM({providers:t,parent:r,debugName:a,runEnvironmentInitializers:!0}).injector}let nM=(()=>{class t{constructor(){this.cachedInjectors=new Map}getOrCreateInjector(a,h,b,I){if(!this.cachedInjectors.has(a)){const U=b.length>0?$p(b,h,I):null;this.cachedInjectors.set(a,U)}return this.cachedInjectors.get(a)}ngOnDestroy(){try{for(const a of this.cachedInjectors.values())null!==a&&a.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=si({token:t,providedIn:"environment",factory:()=>new t})}return t})();const vf="__ngAsyncComponentMetadataFn__";function iI(t){return t[vf]??null}function fd(t,r,a){const h=t;return h[vf]=()=>Promise.all(r()).then(b=>(a(...b),h[vf]=null,b)),h[vf]}function rM(t,r,a,h){return Pt(()=>{const b=t;null!==r&&(b.hasOwnProperty("decorators")&&void 0!==b.decorators?b.decorators.push(...r):b.decorators=r),null!==a&&(b.ctorParameters=a),null!==h&&(b.propDecorators=b.hasOwnProperty("propDecorators")&&void 0!==b.propDecorators?{...b.propDecorators,...h}:h)})}let md=(()=>{class t{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new ye.g(!1)}get _hasPendingTasks(){return this.hasPendingTasks.value}add(){this._hasPendingTasks||this.hasPendingTasks.next(!0);const a=this.taskId++;return this.pendingTasks.add(a),a}remove(a){this.pendingTasks.delete(a),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(h){return new(h||t)};static#t=this.\u0275prov=si({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function va(t,r,a){return t[r]=a}function gd(t,r){return t[r]}function Ho(t,r,a){return!Object.is(t[r],a)&&(t[r]=a,!0)}function nl(t,r,a,h){const b=Ho(t,r,a);return Ho(t,r+1,h)||b}function bf(t,r,a,h,b){const I=nl(t,r,a,h);return Ho(t,r+2,b)||I}function Ga(t,r,a,h,b,I){const U=nl(t,r,a,h);return nl(t,r+2,b,I)||U}function Hc(t,r,a,h,b,I,U,z){const te=En(),Ae=Ar(),Je=t+pr,yt=Ae.firstCreatePass?function oM(t,r,a,h,b,I,U,z,te){const Ae=r.consts,Je=Us(r,t,4,U||null,go(Ae,z));Wg(r,a,Je,go(Ae,te)),oh(r,Je);const yt=Je.tView=Fh(2,Je,h,b,I,r.directiveRegistry,r.pipeRegistry,null,r.schemas,Ae,null);return null!==r.queries&&(r.queries.template(r,Je),yt.queries=r.queries.embeddedTView(Je)),Je}(Je,Ae,te,r,a,h,b,I,U):Ae.data[Je];ot(yt,!1);const Ht=zp(Ae,te,yt,t);Ss()&&xh(Ae,te,Ht,yt),_a(Ht,te);const Xt=gC(Ht,te,Ht,yt);return te[Je]=Xt,Hh(te,Xt),y0(Xt,yt,te),ao(yt)&&Yg(Ae,te,yt),null!=U&&$g(te,yt,z),Hc}let zp=aM;function aM(t,r,a,h){return La(!0),r[yr].createComment("")}function oI(t,r,a,h){const b=r[Zi],I=!b||Dr()||zd(b,h);if(La(I),I)return aM(0,r);const U=b.data[Fm]?.[h]??null;null!==U&&null!==a.tView&&null===a.tView.ssrId&&(a.tView.ssrId=U);const z=rs(b,t,r,a);return Yd(b,h,z),Qh($d(b,h),z)}var Vo=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}(Vo||{});const yf=0,aI=1;var ko=function(t){return t[t.Placeholder=0]="Placeholder",t[t.Loading=1]="Loading",t[t.Complete=2]="Complete",t[t.Error=3]="Error",t}(ko||{}),pd=function(t){return t[t.Initial=-1]="Initial",t}(pd||{});const Nl=0,Cf=1,Vc=2,Mf=3,sM=4,lM=5;var Sf=function(t){return t[t.Manual=0]="Manual",t[t.Playthrough=1]="Playthrough",t}(Sf||{});function Ef(t,r,a){const h=1===t?lM:sM;null===r[h]&&(r[h]=[]),r[h].push(a)}function Gp(t,r){const a=1===t?lM:sM,h=r[a];if(null!==h){for(const b of h)b();r[a]=null}}function cM(t){Gp(1,t),Gp(0,t)}function _d(t){return t+1}function rl(t,r){return t[_d(r.index)]}function ja(t,r){const a=_d(r.index);return t.data[a]}function Kp(t,r){return r===ko.Placeholder?t.placeholderBlockConfig?.[yf]??null:r===ko.Loading?t.loadingBlockConfig?.[yf]??null:null}function Qp(t){return t.loadingBlockConfig?.[aI]??null}function dM(t,r){if(!t||0===t.length)return r;const a=new Set(t);for(const h of r)a.add(h);return t.length===a.size?t:Array.from(a)}function hM(t){return null!==t&&"object"==typeof t&&"number"==typeof t.primaryTmplIndex}const wf={passive:!0,capture:!0},Df=new WeakMap,Zp=new WeakMap,Yc=new WeakMap,fM=["click","keydown"],Jp=["mouseenter","focusin"];let $c=null,Tf=0;class Xp{constructor(){this.callbacks=new Set,this.listener=()=>{for(const r of this.callbacks)r()}}}function mM(t,r){let a=Zp.get(t);if(!a){a=new Xp,Zp.set(t,a);for(const h of fM)t.addEventListener(h,a.listener,wf)}return a.callbacks.add(r),()=>{const{callbacks:h,listener:b}=a;if(h.delete(r),0===h.size){Zp.delete(t);for(const I of fM)t.removeEventListener(I,b,wf)}}}function qp(t,r){let a=Df.get(t);if(!a){a=new Xp,Df.set(t,a);for(const h of Jp)t.addEventListener(h,a.listener,wf)}return a.callbacks.add(r),()=>{const{callbacks:h,listener:b}=a;if(h.delete(r),0===h.size){for(const I of Jp)t.removeEventListener(I,b,wf);Df.delete(t)}}}function gM(t,r,a){const h=a.get(No);let b=Yc.get(t);return $c=$c||h.runOutsideAngular(()=>new IntersectionObserver(I=>{for(const U of I)U.isIntersecting&&Yc.has(U.target)&&h.run(Yc.get(U.target).listener)})),b||(b=new Xp,h.runOutsideAngular(()=>$c.observe(t)),Yc.set(t,b),Tf++),b.callbacks.add(r),()=>{Yc.has(t)&&(b.callbacks.delete(r),0===b.callbacks.size&&($c?.unobserve(t),Yc.delete(t),Tf--),0===Tf&&($c?.disconnect(),$c=null))}}function Ul(t,r,a,h,b,I,U){const z=t[ni];rf(function te(){if(Oo(t))return;const Ae=rl(t,r),Je=Ae[Cf];if(Je!==pd.Initial&&Je!==ko.Placeholder)return;const yt=function cI(t,r,a){return null==a?t:a>=0?$(a,t):t[r.index][Yr]??null}(t,r,h);if(!yt)return void rf(te,{injector:z});if(Oo(yt))return;const Ht=function uI(t,r){return aa(pr+r,t)}(yt,a),Xt=b(Ht,()=>{t!==yt&&Rt(yt,Xt),I()},z);t!==yt&&Mt(yt,Xt),Ef(U,Ae,Xt)},{injector:z})}function pM(t,r){const h=r[ni].get(vM);return h.add(t),()=>h.remove(t)}let vM=(()=>{class t{constructor(){this.executingCallbacks=!1,this.idleId=null,this.current=new Set,this.deferred=new Set,this.ngZone=it(No),this.requestIdleCallbackFn=(typeof requestIdleCallback<"u"?requestIdleCallback:setTimeout).bind(globalThis),this.cancelIdleCallbackFn=(typeof requestIdleCallback<"u"?cancelIdleCallback:clearTimeout).bind(globalThis)}add(a){(this.executingCallbacks?this.deferred:this.current).add(a),null===this.idleId&&this.scheduleIdleCallback()}remove(a){const{current:h,deferred:b}=this;h.delete(a),b.delete(a),0===h.size&&0===b.size&&this.cancelIdleCallback()}scheduleIdleCallback(){const a=()=>{this.cancelIdleCallback(),this.executingCallbacks=!0;for(const h of this.current)h();if(this.current.clear(),this.executingCallbacks=!1,this.deferred.size>0){for(const h of this.deferred)this.current.add(h);this.deferred.clear(),this.scheduleIdleCallback()}};this.idleId=this.requestIdleCallbackFn(()=>this.ngZone.run(a))}cancelIdleCallback(){null!==this.idleId&&(this.cancelIdleCallbackFn(this.idleId),this.idleId=null)}ngOnDestroy(){this.cancelIdleCallback(),this.current.clear(),this.deferred.clear()}static#e=this.\u0275prov=si({token:t,providedIn:"root",factory:()=>new t})}return t})();function bM(t){return(r,a)=>yM(t,r,a)}function yM(t,r,a){const b=a[ni].get(hI);return b.add(t,r),()=>b.remove(r)}let hI=(()=>{class t{constructor(){this.executingCallbacks=!1,this.timeoutId=null,this.invokeTimerAt=null,this.current=[],this.deferred=[]}add(a,h){this.addToQueue(this.executingCallbacks?this.deferred:this.current,Date.now()+a,h),this.scheduleTimer()}remove(a){const{current:h,deferred:b}=this;-1===this.removeFromQueue(h,a)&&this.removeFromQueue(b,a),0===h.length&&0===b.length&&this.clearTimeout()}addToQueue(a,h,b){let I=a.length;for(let U=0;Uh){I=U;break}ll(a,I,h,b)}removeFromQueue(a,h){let b=-1;for(let I=0;I-1&&cs(a,b,2),b}scheduleTimer(){const a=()=>{this.clearTimeout(),this.executingCallbacks=!0;const b=[...this.current],I=Date.now();for(let z=0;z=0&&cs(this.current,0,U+1),this.executingCallbacks=!1,this.deferred.length>0){for(let z=0;z0){const b=Date.now(),I=this.current[0];if(null===this.timeoutId||this.invokeTimerAt&&this.invokeTimerAt-I>16){this.clearTimeout();const U=Math.max(I-b,16);this.invokeTimerAt=I,this.timeoutId=setTimeout(a,U)}}}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=si({token:t,providedIn:"root",factory:()=>new t})}return t})();const fI=new oe("DEFER_BLOCK_DEPENDENCY_INTERCEPTOR"),CM=new oe("");function If(t){return t.get(CM,null,{optional:!0})?.behavior!==Sf.Manual&&qs(t)}let e_=null;function t_(t,r,a,h){const b=t.consts;null!=a&&(r.placeholderBlockConfig=go(b,a)),null!=h&&(r.loadingBlockConfig=go(b,h)),null===e_&&(e_=mI)}function MM(t,r,a,h,b,I,U,z,te){const Ae=En(),Je=Ar(),yt=t+pr;if(Hc(t,null,0,0),Je.firstCreatePass){Wa("NgDefer");const Qn={primaryTmplIndex:r,loadingTmplIndex:h??null,placeholderTmplIndex:b??null,errorTmplIndex:I??null,placeholderBlockConfig:null,loadingBlockConfig:null,dependencyResolverFn:a??null,loadingState:Vo.NOT_STARTED,loadingPromise:null,providers:null};te?.(Je,Qn,z,U),function lI(t,r,a){const h=_d(r);t.data[h]=a}(Je,yt,Qn)}const Ht=Qr();y0(Ae[yt],Ht,Ae);const _n=[null,pd.Initial,null,null,null,null];!function sI(t,r,a){t[_d(r)]=a}(Ae,yt,_n);const On=()=>cM(_n);Ef(0,_n,()=>Rt(Ae,On)),Mt(Ae,On)}function n_(t){const r=En();if(Ho(r,Y(),t)){const h=o(null);try{const b=!!t,I=yi(),z=rl(r,I)[Cf];!1===b&&z===pd.Initial?Bl(r,I):!0===b&&(z===pd.Initial||z===ko.Placeholder)&&Wc(r,I)}finally{o(h)}}}function SM(t){const r=En();if(Ho(r,Y(),t)){const h=o(null);try{const b=!!t,I=r[xn],U=yi(),z=ja(I,U);!0===b&&z.loadingState===Vo.NOT_STARTED&&zc(z,r,U)}finally{o(h)}}}function EM(){a_(pM)}function r_(){kM(pM)}function wM(){const t=En(),r=Qr(),h=t[ni],b=ja(t[xn],r);(!If(h)||null===b.loadingTmplIndex)&&Bl(t,r),Wc(t,r)}function Af(){const t=En(),r=Qr(),h=ja(t[xn],r);h.loadingState===Vo.NOT_STARTED&&kf(h,t,r)}function DM(t){a_(bM(t))}function i_(t){kM(bM(t))}function TM(t,r){const a=En(),h=Qr();Bl(a,h),Ul(a,h,t,r,qp,()=>Wc(a,h),0)}function o_(t,r){const a=En(),h=Qr(),I=ja(a[xn],h);I.loadingState===Vo.NOT_STARTED&&Ul(a,h,t,r,qp,()=>zc(I,a,h),1)}function IM(t,r){const a=En(),h=Qr();Bl(a,h),Ul(a,h,t,r,mM,()=>Wc(a,h),0)}function AM(t,r){const a=En(),h=Qr(),I=ja(a[xn],h);I.loadingState===Vo.NOT_STARTED&&Ul(a,h,t,r,mM,()=>zc(I,a,h),1)}function Pf(t,r){const a=En(),h=Qr();Bl(a,h),Ul(a,h,t,r,gM,()=>Wc(a,h),0)}function PM(t,r){const a=En(),h=Qr(),I=ja(a[xn],h);I.loadingState===Vo.NOT_STARTED&&Ul(a,h,t,r,gM,()=>zc(I,a,h),1)}function a_(t){const r=En(),a=Qr();Bl(r,a);const h=t(()=>Wc(r,a),r);Ef(0,rl(r,a),h)}function kM(t){const r=En(),a=Qr(),b=ja(r[xn],a);b.loadingState===Vo.NOT_STARTED&&Ef(1,rl(r,a),t(()=>zc(b,r,a),r))}function js(t,r,a,h=!1){const b=a[Gr],I=b[xn];if(Oo(b))return;const U=rl(b,r);if(OM(U[Cf],t)&&OM(U[Nl]??-1,t)){const te=ja(I,r),Je=h||null===Qp(te)&&null===Kp(te,ko.Loading)&&!Kp(te,ko.Placeholder)?xM:e_;try{Je(t,U,a,r,b)}catch(yt){Vh(b,yt)}}}function xM(t,r,a,h,b){const I=function uM(t,r,a){const b=ja(r[xn],a);switch(t){case ko.Complete:return b.primaryTmplIndex;case ko.Loading:return b.loadingTmplIndex;case ko.Error:return b.errorTmplIndex;case ko.Placeholder:return b.placeholderTmplIndex;default:return null}}(t,b,h);if(null!==I){r[Cf]=t;const U=b[xn],te=Ro(U,I+pr),Ae=0;let Je;if(qg(a,Ae),t===ko.Complete){const Xt=ja(U,h),_n=Xt.providers;if(_n&&_n.length>0){const Qn=b[ni].get(es);Je=Qn.get(nM).getOrCreateInjector(Xt,Qn,_n,"")}}const yt=Ll(a,te.tView.ssrId),Ht=$u(b,te,null,{dehydratedView:yt,injector:Je});zu(a,Ht,Ae,Ic(te,yt)),Ku(Ht)}}function mI(t,r,a,h,b){const I=Date.now(),z=ja(b[xn],h);if(null===r[Vc]||r[Vc]<=I){r[Vc]=null;const te=Qp(z),Ae=null!==r[Mf];if(t!==ko.Loading||null===te||Ae){t>ko.Loading&&Ae&&(r[Mf](),r[Mf]=null,r[Nl]=null),xM(t,r,a,h,b);const Je=Kp(z,t);null!==Je&&(r[Vc]=I+Je,s_(Je,r,h,a,b))}else{r[Nl]=t;const Je=s_(te,r,h,a,b);r[Mf]=Je}}else r[Nl]=t}function s_(t,r,a,h,b){return yM(t,()=>{const U=r[Nl];r[Vc]=null,r[Nl]=null,null!==U&&js(U,a,h)},b)}function OM(t,r){return t{let yt=!1;const Ht=[],Xt=[];for(const _n of Je){if("fulfilled"!==_n.status){yt=!0;break}{const On=_n.value,Qn=fn(On)||In(On);if(Qn)Ht.push(Qn);else{const vr=Bn(On);vr&&Xt.push(vr)}}}if(t.loadingPromise=null,te.remove(Ae),yt){if(t.loadingState=Vo.FAILED,null===t.errorTmplIndex){Ag(r);const On=new Yt(750,!1);Vh(r,On)}}else{t.loadingState=Vo.COMPLETE;const _n=U.tView;if(Ht.length>0){_n.directiveRegistry=dM(_n.directiveRegistry,Ht);const Qn=$m(!1,...Ht.map(vr=>vr.type));t.providers=Qn}Xt.length>0&&(_n.pipeRegistry=dM(_n.pipeRegistry,Xt))}}):Promise.resolve().then(()=>{t.loadingPromise=null,t.loadingState=Vo.COMPLETE,te.remove(Ae)})}function Bl(t,r){js(ko.Placeholder,r,t[r.index])}function LM(t,r,a){t.loadingPromise.then(()=>{t.loadingState===Vo.COMPLETE?js(ko.Complete,r,a):t.loadingState===Vo.FAILED&&js(ko.Error,r,a)})}function Wc(t,r){const a=t[xn],h=t[r.index];if(!If(t[ni]))return;const I=rl(t,r),U=ja(a,r);switch(cM(I),U.loadingState){case Vo.NOT_STARTED:js(ko.Loading,r,h),kf(U,t,r),U.loadingState===Vo.IN_PROGRESS&&LM(U,r,h);break;case Vo.IN_PROGRESS:js(ko.Loading,r,h),LM(U,r,h);break;case Vo.COMPLETE:js(ko.Complete,r,h);break;case Vo.FAILED:js(ko.Error,r,h)}}function l_(t,r,a,h){const b=En();return Ho(b,Y(),r)&&(Ar(),vs(yi(),b,t,r,a,h)),l_}function jl(t,r){let a=!1,h=hn();for(let I=1;I>17&32767}function Ff(t){return 2|t}function $l(t){return(131068&t)>>2}function Nf(t,r){return-131069&t|r<<2}function g_(t){return 1|t}function NM(t,r,a,h){const b=t[a+1],I=null===r;let U=h?il(b):$l(b),z=!1;for(;0!==U&&(!1===z||I);){const Ae=t[U+1];UM(t[U],r)&&(z=!0,t[U+1]=h?g_(Ae):Ff(Ae)),U=h?il(Ae):$l(Ae)}z&&(t[a+1]=h?Ff(b):g_(b))}function UM(t,r){return null===t||null==r||(Array.isArray(t)?t[1]:t)===r||!(!Array.isArray(t)||"string"!=typeof r)&&Ja(t,r)>=0}const ia={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function p_(t){return t.substring(ia.key,ia.keyEnd)}function vI(t){return t.substring(ia.value,ia.valueEnd)}function BM(t,r){const a=ia.textEnd;return a===r?-1:(r=ia.keyEnd=function VM(t,r,a){for(;r32;)r++;return r}(t,ia.key=r,a),Jc(t,r,a))}function HM(t,r){const a=ia.textEnd;let h=ia.key=Jc(t,r,a);return a===h?-1:(h=ia.keyEnd=function bI(t,r,a){let h;for(;r=65&&(-33&h)<=90||h>=48&&h<=57);)r++;return r}(t,h,a),h=b_(t,h,a),h=ia.value=Jc(t,h,a),h=ia.valueEnd=function yI(t,r,a){let h=-1,b=-1,I=-1,U=r,z=U;for(;U32&&(z=U),I=b,b=h,h=-33&te}return z}(t,h,a),b_(t,h,a))}function v_(t){ia.key=0,ia.keyEnd=0,ia.value=0,ia.valueEnd=0,ia.textEnd=t.length}function Jc(t,r,a){for(;r=0;a=HM(r,a))w_(t,p_(r),vI(r))}function S_(t){os(DI,Cs,t,!0)}function Cs(t,r){for(let a=function __(t){return v_(t),BM(t,Jc(t,0,ia.textEnd))}(r);a>=0;a=BM(r,a))ea(t,p_(r),!0)}function Ka(t,r,a,h){const b=En(),I=Ar(),U=Ne(2);I.firstUpdatePass&&$M(I,t,U,h),r!==li&&Ho(b,U,r)&&KM(I,I.data[xi()],b,b[yr],t,b[U+1]=function QM(t,r){return null==t||""===t||("string"==typeof r?t+=r:"object"==typeof t&&(t=Gt(Ls(t)))),t}(r,a),h,U)}function os(t,r,a,h){const b=Ar(),I=Ne(2);b.firstUpdatePass&&$M(b,null,I,h);const U=En();if(a!==li&&Ho(U,I,a)){const z=b.data[xi()];if(ZM(z,h)&&!Bf(b,I)){let te=h?z.classesWithoutHost:z.stylesWithoutHost;null!==te&&(a=dn(te,a||"")),C_(b,z,U,a,h)}else!function GM(t,r,a,h,b,I,U,z){b===li&&(b=lr);let te=0,Ae=0,Je=0=t.expandoStartIndex}function $M(t,r,a,h){const b=t.data;if(null===b[a+1]){const I=b[xi()],U=Bf(t,a);ZM(I,h)&&null===r&&!U&&(r=!1),r=function SI(t,r,a,h){const b=B(t);let I=h?r.residualClasses:r.residualStyles;if(null===b)0===(h?r.classBindings:r.styleBindings)&&(a=Xc(a=E_(null,t,r,a,h),r.attrs,h),I=null);else{const U=r.directiveStylingLast;if(-1===U||t[U]!==b)if(a=E_(b,t,r,a,h),null===I){let te=function zM(t,r,a){const h=a?r.classBindings:r.styleBindings;if(0!==$l(h))return t[il(h)]}(t,r,h);void 0!==te&&Array.isArray(te)&&(te=E_(null,t,r,te[1],h),te=Xc(te,r.attrs,h),function EI(t,r,a,h){t[il(a?r.classBindings:r.styleBindings)]=h}(t,r,h,te))}else I=function WM(t,r,a){let h;const b=r.directiveEnd;for(let I=1+r.directiveStylingLast;I0)&&(Ae=!0)):Je=a,b)if(0!==te){const Ht=il(t[z+1]);t[h+1]=Rf(Ht,z),0!==Ht&&(t[Ht+1]=Nf(t[Ht+1],h)),t[z+1]=function gI(t,r){return 131071&t|r<<17}(t[z+1],h)}else t[h+1]=Rf(z,0),0!==z&&(t[z+1]=Nf(t[z+1],h)),z=h;else t[h+1]=Rf(te,0),0===z?z=h:t[te+1]=Nf(t[te+1],h),te=h;Ae&&(t[h+1]=Ff(t[h+1])),NM(t,Je,h,!0),NM(t,Je,h,!1),function FM(t,r,a,h,b){const I=b?t.residualClasses:t.residualStyles;null!=I&&"string"==typeof r&&Ja(I,r)>=0&&(a[h+1]=g_(a[h+1]))}(r,Je,t,h,I),U=Rf(z,te),I?r.classBindings=U:r.styleBindings=U}(b,I,r,a,U,h)}}function E_(t,r,a,h,b){let I=null;const U=a.directiveEnd;let z=a.directiveStylingLast;for(-1===z?z=a.directiveStart:z++;z0;){const te=t[b],Ae=Array.isArray(te),Je=Ae?te[1]:te,yt=null===Je;let Ht=a[b+1];Ht===li&&(Ht=yt?lr:void 0);let Xt=yt?Za(Ht,h):Je===h?Ht:void 0;if(Ae&&!jf(Xt)&&(Xt=Za(te,h)),jf(Xt)&&(z=Xt,U))return z;const _n=t[b+1];b=U?il(_n):$l(_n)}if(null!==r){let te=I?r.residualClasses:r.residualStyles;null!=te&&(z=Za(te,h))}return z}function jf(t){return void 0!==t}function ZM(t,r){return 0!=(t.flags&(r?8:16))}function T_(t,r,a){os(ea,Cs,Gc(En(),t,r,a),!0)}function JM(t,r,a,h,b){os(ea,Cs,Hs(En(),t,r,a,h,b),!0)}function Hf(t,r,a,h,b,I,U){os(ea,Cs,Hl(En(),t,r,a,h,b,I,U),!0)}function XM(t,r,a,h,b,I,U,z,te){os(ea,Cs,Kc(En(),t,r,a,h,b,I,U,z,te),!0)}function I_(t,r,a,h,b,I,U,z,te,Ae,Je){os(ea,Cs,Vl(En(),t,r,a,h,b,I,U,z,te,Ae,Je),!0)}function qM(t,r,a,h,b,I,U,z,te,Ae,Je,yt,Ht){os(ea,Cs,Qc(En(),t,r,a,h,b,I,U,z,te,Ae,Je,yt,Ht),!0)}function eS(t,r,a,h,b,I,U,z,te,Ae,Je,yt,Ht,Xt,_n){os(ea,Cs,Yl(En(),t,r,a,h,b,I,U,z,te,Ae,Je,yt,Ht,Xt,_n),!0)}function zl(t,r,a,h,b,I,U,z,te,Ae,Je,yt,Ht,Xt,_n,On,Qn){os(ea,Cs,Zc(En(),t,r,a,h,b,I,U,z,te,Ae,Je,yt,Ht,Xt,_n,On,Qn),!0)}function tS(t){os(ea,Cs,jl(En(),t),!0)}function nS(){return En()[ri][oi]}class TI{destroy(r){}updateValue(r,a){}swap(r,a){const h=Math.min(r,a),b=Math.max(r,a),I=this.detach(b);if(b-h>1){const U=this.detach(h);this.attach(h,I),this.attach(b,U)}else this.attach(h,I)}move(r,a){this.attach(a,this.detach(r))}}function A_(t,r,a,h,b){return t===a&&Object.is(r,h)?1:Object.is(b(t,r),b(a,h))?-1:0}function k_(t,r,a,h){return!(void 0===r||!r.has(h)||(t.attach(a,r.get(h)),r.delete(h),0))}function Vf(t,r,a,h,b){if(k_(t,r,h,a(h,b)))t.updateValue(h,b);else{const I=t.create(h,b);t.attach(h,I)}}function rS(t,r,a,h){const b=new Set;for(let I=r;I<=a;I++)b.add(h(I,t.at(I)));return b}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 a=this.kvMap.get(r);return void 0!==this._vMap&&this._vMap.has(a)?(this.kvMap.set(r,this._vMap.get(a)),this._vMap.delete(a)):this.kvMap.delete(r),!0}get(r){return this.kvMap.get(r)}set(r,a){if(this.kvMap.has(r)){let h=this.kvMap.get(r);void 0===this._vMap&&(this._vMap=new Map);const b=this._vMap;for(;b.has(h);)h=b.get(h);b.set(h,a)}else this.kvMap.set(r,a)}forEach(r){for(let[a,h]of this.kvMap)if(r(h,a),void 0!==this._vMap){const b=this._vMap;for(;b.has(h);)h=b.get(h),r(h,a)}}}function iS(t,r,a){Wa("NgControlFlow");const h=En(),b=Y(),I=L_(h,pr+t);if(Ho(h,b,r)){const z=o(null);try{if(qg(I,0),-1!==r){const te=R_(h[xn],pr+r),Ae=Ll(I,te.tView.ssrId);zu(I,$u(h,te,a,{dehydratedView:Ae}),0,Ic(te,Ae))}}finally{o(z)}}else{const z=CC(I,0);void 0!==z&&(z[oi]=a)}}class oS{constructor(r,a,h){this.lContainer=r,this.$implicit=a,this.$index=h}get $count(){return this.lContainer.length-Yr}}function aS(t){return t}function x_(t,r){return r}class II{constructor(r,a,h){this.hasEmptyBlock=r,this.trackByFn=a,this.liveCollection=h}}function O_(t,r,a,h,b,I,U,z,te,Ae,Je,yt,Ht){Wa("NgControlFlow");const Xt=void 0!==te,_n=En(),On=z?U.bind(_n[ri][oi]):U,Qn=new II(Xt,On);_n[pr+t]=Qn,Hc(t+1,r,a,h,b,I),Xt&&Hc(t+2,te,Ae,Je,yt,Ht)}class AI extends TI{constructor(r,a,h){super(),this.lContainer=r,this.hostLView=a,this.templateTNode=h,this.needsIndexUpdate=!1}get length(){return this.lContainer.length-Yr}at(r){return this.getLView(r)[oi].$implicit}attach(r,a){const h=a[Zi];this.needsIndexUpdate||=r!==this.length,zu(this.lContainer,a,r,Ic(this.templateTNode,h))}detach(r){return this.needsIndexUpdate||=r!==this.length-1,function PI(t,r){return ju(t,r)}(this.lContainer,r)}create(r,a){const h=Ll(this.lContainer,this.templateTNode.tView.ssrId);return $u(this.hostLView,this.templateTNode,new oS(this.lContainer,a,r),{dehydratedView:h})}destroy(r){Ph(r[xn],r)}updateValue(r,a){this.getLView(r)[oi].$implicit=a}reset(){this.needsIndexUpdate=!1}updateIndexes(){if(this.needsIndexUpdate)for(let r=0;r{t.destroy(z)})}(U,t,I.trackByFn),U.updateIndexes(),I.hasEmptyBlock){const z=Y(),te=0===U.length;if(Ho(h,z,te)){const Ae=a+2,Je=L_(h,Ae);if(te){const yt=R_(b,Ae),Ht=Ll(Je,yt.tView.ssrId);zu(Je,$u(h,yt,void 0,{dehydratedView:Ht}),0,Ic(yt,Ht))}else qg(Je,0)}}}finally{o(r)}}function L_(t,r){return t[r]}function R_(t,r){return Ro(t,r)}function zf(t,r,a,h){const b=En(),I=Ar(),U=pr+t,z=b[yr],te=I.firstCreatePass?function xI(t,r,a,h,b,I){const U=r.consts,te=Us(r,t,2,h,go(U,b));return Wg(r,a,te,go(U,I)),null!==te.attrs&&af(te,te.attrs,!1),null!==te.mergedAttrs&&af(te,te.mergedAttrs,!0),null!==r.queries&&r.queries.elementStart(r,te),te}(U,I,b,r,a,h):I.data[U],Ae=qc(I,b,te,z,r,t);b[U]=Ae;const Je=ao(te);return ot(te,!0),rC(z,Ae,te),32!=(32&te.flags)&&Ss()&&xh(I,b,Ae,te),0===function er(){return Kt.lFrame.elementDepthCount}()&&_a(Ae,b),function Kr(){Kt.lFrame.elementDepthCount++}(),Je&&(Yg(I,b,te),Rh(I,te,b)),null!==h&&$g(b,te),zf}function bd(){let t=Qr();Xe()?dt():(t=t.parent,ot(t,!1));const r=t;(function mi(t){return Kt.skipHydrationRootTNode===t})(r)&&function Ki(){Kt.skipHydrationRootTNode=null}(),function Mr(){Kt.lFrame.elementDepthCount--}();const a=Ar();return a.firstCreatePass&&(oh(a,t),Uo(t)&&a.queries.elementEnd(t)),null!=r.classesWithoutHost&&function fD(t){return 0!=(8&t.flags)}(r)&&C_(a,r,En(),r.classesWithoutHost,!0),null!=r.stylesWithoutHost&&function mD(t){return 0!=(16&t.flags)}(r)&&C_(a,r,En(),r.stylesWithoutHost,!1),bd}function F_(t,r,a,h){return zf(t,r,a,h),bd(),F_}let qc=(t,r,a,h,b,I)=>(La(!0),Ah(h,b,Ms()));function OI(t,r,a,h,b,I){const U=r[Zi],z=!U||Dr()||zd(U,I);if(La(z),z)return Ah(h,b,Ms());const te=rs(U,t,r,a);return Rb(U,I)&&Yd(U,I,te.nextSibling),U&&(cl(a)||ul(te))&&Fi(a)&&(function Ui(t){Kt.skipHydrationRootTNode=t}(a),Hg(te)),te}function eu(t,r,a){const h=En(),b=Ar(),I=t+pr,U=b.firstCreatePass?function LI(t,r,a,h,b){const I=r.consts,U=go(I,h),z=Us(r,t,8,"ng-container",U);return null!==U&&af(z,U,!0),Wg(r,a,z,go(I,b)),null!==r.queries&&r.queries.elementStart(r,z),z}(I,b,h,r,a):b.data[I];ot(U,!0);const z=lS(b,h,U,t);return h[I]=z,Ss()&&xh(b,h,z,U),_a(z,h),ao(U)&&(Yg(b,h,U),Rh(b,U,h)),null!=a&&$g(h,U),eu}function Wf(){let t=Qr();const r=Ar();return Xe()?dt():(t=t.parent,ot(t,!1)),r.firstCreatePass&&(oh(r,t),Uo(t)&&r.queries.elementEnd(t)),Wf}function Gf(t,r,a){return eu(t,r,a),Wf(),Gf}let lS=(t,r,a,h)=>(La(!0),Lg(r[yr],""));function cS(t,r,a,h){let b;const I=r[Zi],U=!I||Dr();if(La(U),U)return Lg(r[yr],"");const z=rs(I,t,r,a),te=function qw(t,r){const a=t.data;let h=a[Rm]?.[r]??null;return null===h&&a[gs]?.[r]&&(h=$d(t,r)),h}(I,h);return Yd(I,h,z),b=Qh(te,z),b}function uS(){return En()}function N_(t,r,a){const h=En();return Ho(h,Y(),r)&&Sa(Ar(),yi(),h,t,r,h[yr],a,!0),N_}function Kf(t,r,a){const h=En();if(Ho(h,Y(),r)){const I=Ar(),U=yi();Sa(I,U,h,t,r,bC(B(I.data),U,h),a,!0)}return Kf}const Wl=void 0;var NI=["en",[["a","p"],["AM","PM"],Wl],[["AM","PM"],Wl,Wl],[["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"]],Wl,[["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"]],Wl,[["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}",Wl,"{1} 'at' {0}",Wl],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function FI(t){const a=Math.floor(Math.abs(t)),h=t.toString().replace(/^[^.]*\.?/,"").length;return 1===a&&0===h?1:5}];let Gl={};function UI(t,r,a){"string"!=typeof r&&(a=r,r=t[tu.LocaleId]),r=r.toLowerCase().replace(/_/g,"-"),Gl[r]=t,a&&(Gl[r][tu.ExtraData]=a)}function Qf(t){const r=function jI(t){return t.toLowerCase().replace(/_/g,"-")}(t);let a=dS(r);if(a)return a;const h=r.split("-")[0];if(a=dS(h),a)return a;if("en"===h)return NI;throw new Yt(701,!1)}function BI(t){return Qf(t)[tu.CurrencyCode]||null}function Zf(t){return Qf(t)[tu.PluralCase]}function dS(t){return t in Gl||(Gl[t]=jt.ng&&jt.ng.common&&jt.ng.common.locales&&jt.ng.common.locales[t]),Gl[t]}function hS(){Gl={}}var tu=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}(tu||{});const HI=["zero","one","two","few","many"],ol="en-US",yd={marker:"element"},Jf={marker:"ICU"};var Ea=function(t){return t[t.SHIFT=2]="SHIFT",t[t.APPEND_EAGERLY=1]="APPEND_EAGERLY",t[t.COMMENT=2]="COMMENT",t}(Ea||{});let fS=ol;function U_(t){"string"==typeof t&&(fS=t.toLowerCase().replace(/_/g,"-"))}function Xf(t,r,a){const h=r.insertBeforeIndex,b=Array.isArray(h)?h[0]:h;return null===b?Ug(t,0,a):$r(a[b])}function mS(t,r,a,h,b){const I=r.insertBeforeIndex;if(Array.isArray(I)){let U=h,z=null;if(3&r.type||(z=U,U=b),null!==U&&-1===r.componentOffset)for(let te=1;te1)for(let a=t.length-2;a>=0;a--){const h=t[a];B_(h)||zI(h,r)&&null===WI(h)&&GI(h,r.index)}}function B_(t){return!(64&t.type)}function zI(t,r){return B_(r)||t.index>r.index}function WI(t){const r=t.insertBeforeIndex;return Array.isArray(r)?r[0]:r}function GI(t,r){const a=t.insertBeforeIndex;Array.isArray(a)?a[0]=r:(qy(Xf,mS),t.insertBeforeIndex=r)}function Cd(t,r){const a=t.data[r];return null===a||"string"==typeof a?null:a.hasOwnProperty("currentCaseLViewIndex")?a:a.value}function j_(t,r,a){const h=ns(t,a,64,null,null);return gS(r,h),h}function nu(t,r){const a=r[t.currentCaseLViewIndex];return null===a?a:a<0?~a:a}function pS(t){return t>>>17}function H_(t){return(131070&t)>>>1}let Md=0,ru=0;function bS(t,r,a,h){const b=a[yr];let U,I=null;for(let z=0;z>>1,a),null,null,Xt,_n,null)}else switch(te){case Jf:const Ae=r[++z],Je=r[++z];null===a[Je]&&_a(a[Je]=Lg(b,Ae),a);break;case yd:const yt=r[++z],Ht=r[++z];null===a[Ht]&&_a(a[Ht]=Ah(b,yt,null),a)}}}function Y_(t,r,a,h,b){for(let I=0;I>>2;switch(3&Je){case 1:const Ht=a[++Ae],Xt=a[++Ae],_n=t.data[yt];"string"==typeof _n?Tc(r[yr],r[yt],null,_n,Ht,te,Xt):Sa(t,_n,r,Ht,te,r[yr],Xt,!1);break;case 0:const On=r[yt];null!==On&&zy(r[yr],On,te);break;case 2:XI(t,Cd(t,yt),r,te);break;case 3:yS(t,Cd(t,yt),h,r)}}}}else{const te=a[I+1];if(te>0&&3==(3&te)){const Je=Cd(t,te>>>2);r[Je.currentCaseLViewIndex]<0&&yS(t,Je,h,r)}}I+=z}}function yS(t,r,a,h){let b=h[r.currentCaseLViewIndex];if(null!==b){let I=Md;b<0&&(b=h[r.currentCaseLViewIndex]=~b,I=-1),Y_(t,h,r.update[b],a,I)}}function XI(t,r,a,h){const b=function iu(t,r){let a=t.cases.indexOf(r);if(-1===a)switch(t.type){case 1:{const h=function VI(t,r){const a=Zf(r)(parseInt(t,10)),h=HI[a];return void 0!==h?h:"other"}(r,function $I(){return fS}());a=t.cases.indexOf(h),-1===a&&"other"!==h&&(a=t.cases.indexOf("other"));break}case 0:a=t.cases.indexOf("other")}return-1===a?null:a}(r,h);if(nu(r,a)!==b&&(CS(t,r,a),a[r.currentCaseLViewIndex]=null===b?null:~b,null!==b)){const U=a[r.anchorIdx];U&&bS(t,r.create[b],a,U)}}function CS(t,r,a){let h=nu(r,a);if(null!==h){const b=r.remove[h];for(let I=0;I0){const z=aa(U,a);null!==z&&Oh(a[yr],z)}else CS(t,Cd(t,~U),a)}}}function qI(){const t=[];let a,h,r=-1;function I(z,te){r=0;const Ae=nu(z,te);h=null!==Ae?z.remove[Ae]:lr}function U(){if(r0?a[z]:(t.push(r,h),I(a[xn].data[~z],a),U())}return 0===t.length?null:(h=t.pop(),r=t.pop(),U())}return function b(z,te){for(a=te;t.length;)t.pop();return I(z.value,te),U}}const Sd=/\ufffd(\d+):?\d*\ufffd/gi,eA=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,SS=/\ufffd(\d+)\ufffd/,ES=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,ou="\ufffd",tA=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,nA=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,rA=/\uE500/g;function qf(t,r,a,h,b,I,U){const z=Vu(t,h,1,null);let te=z<a.length&&a.push(te)}return{type:h,mainBinding:b,cases:r,values:a}}function Ed(t){if(!t)return[];let r=0;const a=[],h=[],b=/[{}]/g;let I;for(b.lastIndex=0;I=b.exec(t);){const z=I.index;if("}"==I[0]){if(a.pop(),0==a.length){const te=t.substring(r,z);ES.test(te)?h.push(lA(te)):h.push(te),r=z+1}}else{if(0==a.length){const te=t.substring(r,z);h.push(te),r=z+1}a.push("{")}}const U=t.substring(r);return h.push(U),h}function cA(t,r,a,h,b,I,U,z){const te=[],Ae=[],Je=[];r.cases.push(I),r.create.push(te),r.remove.push(Ae),r.update.push(Je);const Ht=Ey(ta()).getInertBodyElement(U),Xt=yh(Ht)||Ht;return Xt?Q_(t,r,a,h,te,Ae,Je,Xt,b,z,0):0}function Q_(t,r,a,h,b,I,U,z,te,Ae,Je){let yt=0,Ht=z.firstChild;for(;Ht;){const Xt=Vu(t,a,1,null);switch(Ht.nodeType){case Node.ELEMENT_NODE:const _n=Ht,On=_n.tagName.toLowerCase();if(gg.hasOwnProperty(On)){Z_(b,yd,On,te,Xt),t.data[Xt]=On;const hi=_n.attributes;for(let Li=0;Li>>Ea.SHIFT;let yt=t[Je];null===yt&&(yt=t[Je]=(U&Ea.COMMENT)===Ea.COMMENT?b.createComment(z):Ih(b,z)),Ae&&null!==a&&xl(b,a,yt,h,!1)}})(b,te.create,Je,z&&8&z.type?b[z.index]:null),Ee(!0)}function ev(){Ee(!1)}function tv(t,r,a){q_(t,r,a),ev()}function OS(t,r){const a=Ar(),h=go(a.consts,r);!function W_(t,r,a){const b=Qr().index,I=[];if(t.firstCreatePass&&null===t.data[r]){for(let U=0;U0){const h=t.data[a];Y_(t,r,Array.isArray(h)?h:h.update,hn()-ru-1,Md)}Md=0,ru=0}(Ar(),En(),t+pr)}function RS(t,r={}){return function gA(t,r={}){let a=t;if(X_.test(t)){const h={},b=[AS];a=a.replace(hA,(I,U,z)=>{const te=U||z,Ae=h[te]||[];if(Ae.length||(te.split("|").forEach(On=>{const Qn=On.match(xS),vr=Qn?parseInt(Qn[1],10):AS,Nn=mA.test(On);Ae.push([vr,Nn,On])}),h[te]=Ae),!Ae.length)throw new Error(`i18n postprocess: unmatched placeholder - ${te}`);const Je=b[b.length-1];let yt=0;for(let On=0;Onr.hasOwnProperty(I)?`${b}${r[I]}${te}`:h),a=a.replace(fA,(h,b)=>r.hasOwnProperty(b)?r[b]:h),a=a.replace(kS,(h,b)=>{if(r.hasOwnProperty(b)){const I=r[b];if(!I.length)throw new Error(`i18n postprocess: unmatched ICU - ${h} with key: ${b}`);return I.shift()}return h})),a}(t,r)}function nv(t,r,a,h){const b=En(),I=Ar(),U=Qr();return rv(I,b,b[yr],U,t,r,h),nv}function wd(t,r){const a=Qr(),h=En(),b=Ar();return rv(b,h,bC(B(b.data),a,h),a,t,r),wd}function rv(t,r,a,h,b,I,U){const z=ao(h),Ae=t.firstCreatePass&&vC(t),Je=r[oi],yt=_C(r);let Ht=!0;if(3&h.type||U){const On=io(h,r),Qn=U?U(On):On,vr=yt.length,Nn=U?Li=>U($r(Li[h.index])):h.index;let hi=null;if(!U&&z&&(hi=function pA(t,r,a,h){const b=t.cleanup;if(null!=b)for(let I=0;Ite?z[te]:null}"string"==typeof U&&(I+=2)}return null}(t,r,b,h.index)),null!==hi)(hi.__ngLastListenerFn__||hi).__ngNextListenerFn__=I,hi.__ngLastListenerFn__=I,Ht=!1;else{I=NS(h,r,Je,I,!1);const Li=a.listen(Qn,b,I);yt.push(I,Li),Ae&&Ae.push(b,Nn,vr,vr+1)}}else I=NS(h,r,Je,I,!1);const Xt=h.outputs;let _n;if(Ht&&null!==Xt&&(_n=Xt[b])){const On=_n.length;if(On)for(let Qn=0;Qn-1?qi(t.index,r):r);let te=FS(r,a,h,U),Ae=I.__ngNextListenerFn__;for(;Ae;)te=FS(r,a,Ae,U)&&te,Ae=Ae.__ngNextListenerFn__;return b&&!1===te&&U.preventDefault(),te}}function US(t=1){return function Fo(t){return(Kt.lFrame.contextLView=$(t,Kt.lFrame.contextLView))[oi]}(t)}function vA(t,r){let a=null;const h=function x(t){const r=t.attrs;if(null!=r){const a=r.indexOf(5);if(!(1&a))return r[a+1]}return null}(t);for(let b=0;b=t.data.length&&(t.data[a]=null,t.blueprint[a]=null),r[a]=h}function fv(t){return wo(function Tt(){return Kt.lFrame.contextLView}(),pr+t)}function WS(t,r,a){Oa(Gc(En(),t,r,a))}function mv(t,r,a,h,b){Oa(Hs(En(),t,r,a,h,b))}function GS(t,r,a,h,b,I,U){Oa(Hl(En(),t,r,a,h,b,I,U))}function gv(t,r,a,h,b,I,U,z,te){Oa(Kc(En(),t,r,a,h,b,I,U,z,te))}function KS(t,r,a,h,b,I,U,z,te,Ae,Je){Oa(Vl(En(),t,r,a,h,b,I,U,z,te,Ae,Je))}function pv(t,r,a,h,b,I,U,z,te,Ae,Je,yt,Ht){Oa(Qc(En(),t,r,a,h,b,I,U,z,te,Ae,Je,yt,Ht))}function QS(t,r,a,h,b,I,U,z,te,Ae,Je,yt,Ht,Xt,_n){Oa(Yl(En(),t,r,a,h,b,I,U,z,te,Ae,Je,yt,Ht,Xt,_n))}function ZS(t,r,a,h,b,I,U,z,te,Ae,Je,yt,Ht,Xt,_n,On,Qn){Oa(Zc(En(),t,r,a,h,b,I,U,z,te,Ae,Je,yt,Ht,Xt,_n,On,Qn))}function _v(t){Oa(jl(En(),t))}function vv(t,r,a,h,b){return Ka(t,Gc(En(),r,a,h),b,!1),vv}function im(t,r,a,h,b,I,U){return Ka(t,Hs(En(),r,a,h,b,I),U,!1),im}function bv(t,r,a,h,b,I,U,z,te){return Ka(t,Hl(En(),r,a,h,b,I,U,z),te,!1),bv}function yv(t,r,a,h,b,I,U,z,te,Ae,Je){return Ka(t,Kc(En(),r,a,h,b,I,U,z,te,Ae),Je,!1),yv}function Cv(t,r,a,h,b,I,U,z,te,Ae,Je,yt,Ht){return Ka(t,Vl(En(),r,a,h,b,I,U,z,te,Ae,Je,yt),Ht,!1),Cv}function su(t,r,a,h,b,I,U,z,te,Ae,Je,yt,Ht,Xt,_n){return Ka(t,Qc(En(),r,a,h,b,I,U,z,te,Ae,Je,yt,Ht,Xt),_n,!1),su}function Mv(t,r,a,h,b,I,U,z,te,Ae,Je,yt,Ht,Xt,_n,On,Qn){return Ka(t,Yl(En(),r,a,h,b,I,U,z,te,Ae,Je,yt,Ht,Xt,_n,On),Qn,!1),Mv}function om(t,r,a,h,b,I,U,z,te,Ae,Je,yt,Ht,Xt,_n,On,Qn,vr,Nn){return Ka(t,Zc(En(),r,a,h,b,I,U,z,te,Ae,Je,yt,Ht,Xt,_n,On,Qn,vr),Nn,!1),om}function Sv(t,r,a){return Ka(t,jl(En(),r),a,!1),Sv}function Ev(t,r=""){const a=En(),h=Ar(),b=t+pr,I=h.firstCreatePass?Us(h,b,1,r,null):h.data[b],U=JS(h,a,I,r,t);a[b]=U,Ss()&&xh(h,a,U,I),ot(I,!1)}let JS=(t,r,a,h,b)=>(La(!0),Ih(r[yr],h));function bA(t,r,a,h,b){const I=r[Zi],U=!I||Dr()||zd(I,b);return La(U),U?Ih(r[yr],h):rs(I,t,r,a)}function am(t){return sm("",t,""),am}function sm(t,r,a){const h=En(),b=Gc(h,t,r,a);return b!==li&&Bs(h,xi(),b),sm}function lu(t,r,a,h,b){const I=En(),U=Hs(I,t,r,a,h,b);return U!==li&&Bs(I,xi(),U),lu}function wv(t,r,a,h,b,I,U){const z=En(),te=Hl(z,t,r,a,h,b,I,U);return te!==li&&Bs(z,xi(),te),wv}function Dv(t,r,a,h,b,I,U,z,te){const Ae=En(),Je=Kc(Ae,t,r,a,h,b,I,U,z,te);return Je!==li&&Bs(Ae,xi(),Je),Dv}function Tv(t,r,a,h,b,I,U,z,te,Ae,Je){const yt=En(),Ht=Vl(yt,t,r,a,h,b,I,U,z,te,Ae,Je);return Ht!==li&&Bs(yt,xi(),Ht),Tv}function Iv(t,r,a,h,b,I,U,z,te,Ae,Je,yt,Ht){const Xt=En(),_n=Qc(Xt,t,r,a,h,b,I,U,z,te,Ae,Je,yt,Ht);return _n!==li&&Bs(Xt,xi(),_n),Iv}function Av(t,r,a,h,b,I,U,z,te,Ae,Je,yt,Ht,Xt,_n){const On=En(),Qn=Yl(On,t,r,a,h,b,I,U,z,te,Ae,Je,yt,Ht,Xt,_n);return Qn!==li&&Bs(On,xi(),Qn),Av}function lm(t,r,a,h,b,I,U,z,te,Ae,Je,yt,Ht,Xt,_n,On,Qn){const vr=En(),Nn=Zc(vr,t,r,a,h,b,I,U,z,te,Ae,Je,yt,Ht,Xt,_n,On,Qn);return Nn!==li&&Bs(vr,xi(),Nn),lm}function Pv(t){const r=En(),a=jl(r,t);return a!==li&&Bs(r,xi(),a),Pv}function cm(t,r,a){Xh(r)&&(r=r());const h=En();return Ho(h,Y(),r)&&Sa(Ar(),yi(),h,t,r,h[yr],a,!1),cm}function XS(t,r){const a=Xh(t);return a&&t.set(r),a}function um(t,r){const a=En(),h=Ar(),b=Qr();return rv(h,a,a[yr],b,t,r),um}function kv(t,r,a,h,b){if(t=kr(t),Array.isArray(t))for(let I=0;I>20;if(yl(t)||!t.multi){const Xt=new Ou(Ae,b,Dc),_n=Ov(te,r,b?Je:Je+Ht,yt);-1===_n?(og(pc(z,U),I,te),xv(I,t,r.length),r.push(te),z.directiveStart++,z.directiveEnd++,b&&(z.providerIndexes+=1048576),a.push(Xt),U.push(Xt)):(a[_n]=Xt,U[_n]=Xt)}else{const Xt=Ov(te,r,Je+Ht,yt),_n=Ov(te,r,Je,Je+Ht),Qn=_n>=0&&a[_n];if(b&&!Qn||!b&&!(Xt>=0&&a[Xt])){og(pc(z,U),I,te);const vr=function SA(t,r,a,h,b){const I=new Ou(t,a,Dc);return I.multi=[],I.index=r,I.componentProviders=0,qS(I,b,h&&!a),I}(b?MA:eE,a.length,b,h,Ae);!b&&Qn&&(a[_n].providerFactory=vr),xv(I,t,r.length,0),r.push(te),z.directiveStart++,z.directiveEnd++,b&&(z.providerIndexes+=1048576),a.push(vr),U.push(vr)}else xv(I,t,Xt>-1?Xt:_n,qS(a[b?_n:Xt],Ae,!b&&h));!b&&h&&Qn&&a[_n].componentProviders++}}}function xv(t,r,a,h){const b=yl(r),I=function eD(t){return!!t.useClass}(r);if(b||I){const te=(I?kr(r.useClass):r).prototype.ngOnDestroy;if(te){const Ae=t.destroyHooks||(t.destroyHooks=[]);if(!b&&r.multi){const Je=Ae.indexOf(a);-1===Je?Ae.push(a,[h,te]):Ae[Je+1].push(h,te)}else Ae.push(a,te)}}}function qS(t,r,a){return a&&t.componentProviders++,t.multi.push(r)-1}function Ov(t,r,a,h){for(let b=a;b{a.providersResolver=(h,b)=>function CA(t,r,a){const h=Ar();if(h.firstCreatePass){const b=Gi(t);kv(a,h.data,h.blueprint,b,!0),kv(r,h.data,h.blueprint,b,!1)}}(h,b?b(t):t,r)}}let EA=(()=>{class t{constructor(a){this._injector=a,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(a){if(!a.standalone)return null;if(!this.cachedInjectors.has(a)){const h=$m(0,a.type),b=h.length>0?$p([h],this._injector,`Standalone[${a.type.name}]`):null;this.cachedInjectors.set(a,b)}return this.cachedInjectors.get(a)}ngOnDestroy(){try{for(const a of this.cachedInjectors.values())null!==a&&a.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=si({token:t,providedIn:"environment",factory:()=>new t(ve(es))})}return t})();function Fv(t){Wa("NgStandalone"),t.getStandaloneInjector=r=>r.get(EA).getOrCreateStandaloneInjector(t)}function tE(t,r,a){const h=t.\u0275cmp;h.directiveDefs=st(r,!1),h.pipeDefs=st(a,!0)}function Nv(t,r){return Pt(()=>{const a=hr(t,!0);a.declarations=dm(r.declarations||lr),a.imports=dm(r.imports||lr),a.exports=dm(r.exports||lr),r.bootstrap&&(a.bootstrap=dm(r.bootstrap)),Rc.registerNgModule(t,r)})}function dm(t){if("function"==typeof t)return t;const r=ca(t);return r.some(Ya)?()=>r.map(kr).map(nE):r.map(nE)}function nE(t){return Dp(t)?t.ngModule:t}function Uv(t){const r=Ma(t);if(null===r)return null;if(void 0===r.component){const a=r.lView;if(null===a)return null;r.component=function JD(t,r){const a=r[xn].data[t],{directiveStart:h,componentOffset:b}=a;return b>-1?r[h+b]:null}(r.nodeIndex,a)}return r.component}function oE(t){if(t instanceof Text)return[];const r=Ma(t),a=r?r.lView:null;if(null===a)return[];const h=a[xn],b=r.nodeIndex;return h?.data[b]?(void 0===r.directives&&(r.directives=wg(b,a)),null===r.directives?[]:[...r.directives]):[]}function Td(t){return Ma(t).native}function IA(t,r){return t.name==r.name?0:t.name=0;a--){const h=r[a];if(t===h.name)return h}}(r,a.pipeRegistry),a.data[b]=h,h.onDestroy&&(a.destroyHooks??=[]).push(b,h.onDestroy)):h=a.data[b];const I=h.factory||(h.factory=bl(h.type)),z=Ko(Dc);try{const te=ch(!1),Ae=I();return ch(te),zS(a,En(),b,Ae),Ae}finally{Ko(z)}}function bE(t,r,a){const h=t+pr,b=En(),I=wo(b,h);return uu(b,h)?mE(b,Qt(),r,I.transform,a,I):I.transform(a)}function Kv(t,r,a,h){const b=t+pr,I=En(),U=wo(I,b);return uu(I,b)?Wv(I,Qt(),r,U.transform,a,h,U):U.transform(a,h)}function yE(t,r,a,h,b){const I=t+pr,U=En(),z=wo(U,I);return uu(U,I)?gE(U,Qt(),r,z.transform,a,h,b,z):z.transform(a,h,b)}function Qv(t,r,a,h,b,I){const U=t+pr,z=En(),te=wo(z,U);return uu(z,U)?Gv(z,Qt(),r,te.transform,a,h,b,I,te):te.transform(a,h,b,I)}function CE(t,r,a){const h=t+pr,b=En(),I=wo(b,h);return uu(b,h)?pE(b,Qt(),r,I.transform,a,I):I.transform.apply(I,a)}function uu(t,r){return t[xn].data[r].pure}function ME(t,r){return zh(t,r)}function Zv(t,r){return()=>{try{return Rc.getComponentDependencies(t,r).dependencies}catch(a){throw console.error(`Computing dependencies in local compilation mode for the component "${t.name}" failed with the exception:`,a),a}}}function SE(t,r){const a=fn(t);null!==a&&(a.debugInfo=r)}const ba={\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:m_,\u0275\u0275defineComponent:mt,\u0275\u0275defineDirective:vn,\u0275\u0275defineInjectable:si,\u0275\u0275defineInjector:Va,\u0275\u0275defineNgModule:tn,\u0275\u0275definePipe:bn,\u0275\u0275directiveInject:Dc,\u0275\u0275getInheritedFactory:oy,\u0275\u0275inject:ve,\u0275\u0275injectAttribute:fh,\u0275\u0275invalidFactory:aC,\u0275\u0275invalidFactoryDep:Fe,\u0275\u0275templateRefExtractor:ME,\u0275\u0275resetView:ki,\u0275\u0275HostDirectivesFeature:hd,\u0275\u0275NgOnChangesFeature:qm,\u0275\u0275ProvidersFeature:Rv,\u0275\u0275CopyDefinitionFeature:K0,\u0275\u0275InheritDefinitionFeature:mf,\u0275\u0275InputTransformsFeature:J0,\u0275\u0275StandaloneFeature:Fv,\u0275\u0275nextContext:US,\u0275\u0275namespaceHTML:ls,\u0275\u0275namespaceMathML:ss,\u0275\u0275namespaceSVG:da,\u0275\u0275enableBindings:wi,\u0275\u0275disableBindings:Si,\u0275\u0275elementStart:zf,\u0275\u0275elementEnd:bd,\u0275\u0275element:F_,\u0275\u0275elementContainerStart:eu,\u0275\u0275elementContainerEnd:Wf,\u0275\u0275elementContainer:Gf,\u0275\u0275pureFunction0:Hv,\u0275\u0275pureFunction1:cE,\u0275\u0275pureFunction2:Vv,\u0275\u0275pureFunction3:uE,\u0275\u0275pureFunction4:Yv,\u0275\u0275pureFunction5:dE,\u0275\u0275pureFunction6:$v,\u0275\u0275pureFunction7:hE,\u0275\u0275pureFunction8:zv,\u0275\u0275pureFunctionV:fE,\u0275\u0275getCurrentView:uS,\u0275\u0275restoreView:eo,\u0275\u0275listener:nv,\u0275\u0275projection:jS,\u0275\u0275syntheticHostProperty:Kf,\u0275\u0275syntheticHostListener:wd,\u0275\u0275pipeBind1:bE,\u0275\u0275pipeBind2:Kv,\u0275\u0275pipeBind3:yE,\u0275\u0275pipeBind4:Qv,\u0275\u0275pipeBindV:CE,\u0275\u0275projectionDef:BS,\u0275\u0275hostProperty:N_,\u0275\u0275property:y_,\u0275\u0275propertyInterpolate:iv,\u0275\u0275propertyInterpolate1:Dd,\u0275\u0275propertyInterpolate2:ov,\u0275\u0275propertyInterpolate3:tm,\u0275\u0275propertyInterpolate4:av,\u0275\u0275propertyInterpolate5:nm,\u0275\u0275propertyInterpolate6:sv,\u0275\u0275propertyInterpolate7:lv,\u0275\u0275propertyInterpolate8:rm,\u0275\u0275propertyInterpolateV:cv,\u0275\u0275pipe:_E,\u0275\u0275queryRefresh:dv,\u0275\u0275queryAdvance:hv,\u0275\u0275viewQuery:HS,\u0275\u0275viewQuerySignal:$S,\u0275\u0275loadQuery:VS,\u0275\u0275contentQuery:uv,\u0275\u0275contentQuerySignal:YS,\u0275\u0275reference:fv,\u0275\u0275classMap:S_,\u0275\u0275classMapInterpolate1:T_,\u0275\u0275classMapInterpolate2:JM,\u0275\u0275classMapInterpolate3:Hf,\u0275\u0275classMapInterpolate4:XM,\u0275\u0275classMapInterpolate5:I_,\u0275\u0275classMapInterpolate6:qM,\u0275\u0275classMapInterpolate7:eS,\u0275\u0275classMapInterpolate8:zl,\u0275\u0275classMapInterpolateV:tS,\u0275\u0275styleMap:Oa,\u0275\u0275styleMapInterpolate1:WS,\u0275\u0275styleMapInterpolate2:mv,\u0275\u0275styleMapInterpolate3:GS,\u0275\u0275styleMapInterpolate4:gv,\u0275\u0275styleMapInterpolate5:KS,\u0275\u0275styleMapInterpolate6:pv,\u0275\u0275styleMapInterpolate7:QS,\u0275\u0275styleMapInterpolate8:ZS,\u0275\u0275styleMapInterpolateV:_v,\u0275\u0275styleProp:Uf,\u0275\u0275stylePropInterpolate1:vv,\u0275\u0275stylePropInterpolate2:im,\u0275\u0275stylePropInterpolate3:bv,\u0275\u0275stylePropInterpolate4:yv,\u0275\u0275stylePropInterpolate5:Cv,\u0275\u0275stylePropInterpolate6:su,\u0275\u0275stylePropInterpolate7:Mv,\u0275\u0275stylePropInterpolate8:om,\u0275\u0275stylePropInterpolateV:Sv,\u0275\u0275classProp:M_,\u0275\u0275advance:iC,\u0275\u0275template:Hc,\u0275\u0275conditional:iS,\u0275\u0275defer:MM,\u0275\u0275deferWhen:n_,\u0275\u0275deferOnIdle:EM,\u0275\u0275deferOnImmediate:wM,\u0275\u0275deferOnTimer:DM,\u0275\u0275deferOnHover:TM,\u0275\u0275deferOnInteraction:IM,\u0275\u0275deferOnViewport:Pf,\u0275\u0275deferPrefetchWhen:SM,\u0275\u0275deferPrefetchOnIdle:r_,\u0275\u0275deferPrefetchOnImmediate:Af,\u0275\u0275deferPrefetchOnTimer:i_,\u0275\u0275deferPrefetchOnHover:o_,\u0275\u0275deferPrefetchOnInteraction:AM,\u0275\u0275deferPrefetchOnViewport:PM,\u0275\u0275deferEnableTimerScheduling:t_,\u0275\u0275repeater:$f,\u0275\u0275repeaterCreate:O_,\u0275\u0275repeaterTrackByIndex:aS,\u0275\u0275repeaterTrackByIdentity:x_,\u0275\u0275componentInstance:nS,\u0275\u0275text:Ev,\u0275\u0275textInterpolate:am,\u0275\u0275textInterpolate1:sm,\u0275\u0275textInterpolate2:lu,\u0275\u0275textInterpolate3:wv,\u0275\u0275textInterpolate4:Dv,\u0275\u0275textInterpolate5:Tv,\u0275\u0275textInterpolate6:Iv,\u0275\u0275textInterpolate7:Av,\u0275\u0275textInterpolate8:lm,\u0275\u0275textInterpolateV:Pv,\u0275\u0275i18n:tv,\u0275\u0275i18nAttributes:OS,\u0275\u0275i18nExp:em,\u0275\u0275i18nStart:q_,\u0275\u0275i18nEnd:ev,\u0275\u0275i18nApply:LS,\u0275\u0275i18nPostprocess:RS,\u0275\u0275resolveWindow:Vy,\u0275\u0275resolveDocument:Pg,\u0275\u0275resolveBody:Dh,\u0275\u0275setComponentScope:tE,\u0275\u0275setNgModuleScope:Nv,\u0275\u0275registerNgModuleType:ff,\u0275\u0275getComponentDepsFactory:Zv,\u0275setClassDebugInfo:SE,\u0275\u0275sanitizeHtml:_g,\u0275\u0275sanitizeStyle:vg,\u0275\u0275sanitizeResourceUrl:Ch,\u0275\u0275sanitizeScript:yg,\u0275\u0275sanitizeUrl:bg,\u0275\u0275sanitizeUrlOrResourceUrl:Ns,\u0275\u0275trustConstantHtml:Py,\u0275\u0275trustConstantResourceUrl:Cg,\u0275\u0275validateIframeAttribute:dd,forwardRef:no,resolveForwardRef:kr,\u0275\u0275twoWayProperty:cm,\u0275\u0275twoWayBindingSet:XS,\u0275\u0275twoWayListener:um,\u0275\u0275InputFlags:at};let du=null;function wE(){du=null}const hu=[];let fm=!1;function DE(){if(!fm){fm=!0;try{for(let t=hu.length-1;t>=0;t--){const{moduleType:r,ngModule:a}=hu[t];a.declarations&&a.declarations.every(Jv)&&(hu.splice(t,1),kE(r,a))}}finally{fm=!1}}}function Jv(t){return Array.isArray(t)?t.every(Jv):!!kr(t)}function TE(t,r={}){Xv(t,r),void 0!==r.id&&ff(t,r.id),function PA(t,r){hu.push({moduleType:t,ngModule:r})}(t,r)}function Xv(t,r,a=!1){const h=ca(r.declarations||lr);let b=null;Object.defineProperty(t,qn,{configurable:!0,get:()=>(null===b&&(b=na().compileNgModule(ba,`ng:///${t.name}/\u0275mod.js`,{type:t,bootstrap:ca(r.bootstrap||lr).map(kr),declarations:h.map(kr),imports:ca(r.imports||lr).map(kr).map(OE),exports:ca(r.exports||lr).map(kr).map(OE),schemas:r.schemas?ca(r.schemas):null,id:r.id||null}),b.schemas||(b.schemas=[])),b)});let I=null;Object.defineProperty(t,dr,{get:()=>{if(null===I){const z=na();I=z.compileFactory(ba,`ng:///${t.name}/\u0275fac.js`,{name:t.name,type:t,deps:mh(t),target:z.FactoryTarget.NgModule,typeArgumentCount:0})}return I},configurable:!1});let U=null;Object.defineProperty(t,W,{get:()=>{if(null===U){const z={name:t.name,type:t,providers:r.providers||lr,imports:[(r.imports||lr).map(kr),(r.exports||lr).map(kr)]};U=na().compileInjector(ba,`ng:///${t.name}/\u0275inj.js`,z)}return U},configurable:!1})}function IE(t,r){return`Unexpected "${$i(t)}" found in the "declarations" array of the ${r}, "${$i(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 gm=new WeakMap,pm=new WeakMap;function kA(){gm=new WeakMap,pm=new WeakMap,hu.length=0,co.clear()}function kE(t,r){const a=ca(r.declarations||lr),h=Kl(t);a.forEach(b=>{(b=kr(b)).hasOwnProperty(Ci)?eb(fn(b),h):!b.hasOwnProperty(rn)&&!b.hasOwnProperty(Vn)&&(b.ngSelectorScope=t)})}function eb(t,r){t.directiveDefs=()=>Array.from(r.compilation.directives).map(a=>a.hasOwnProperty(Ci)?fn(a):In(a)).filter(a=>!!a),t.pipeDefs=()=>Array.from(r.compilation.pipes).map(a=>Bn(a)),t.schemas=r.schemas,t.tView=null}function Kl(t){if(tl(t)){if(sd){const r=Rc.getNgModuleScope(t);return{schemas:hr(t,!0).schemas||null,...r}}return function xE(t){const r=hr(t,!0);if(null!==r.transitiveCompileScopes)return r.transitiveCompileScopes;const a={schemas:r.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return Ba(r.imports).forEach(h=>{const b=Kl(h);b.exported.directives.forEach(I=>a.compilation.directives.add(I)),b.exported.pipes.forEach(I=>a.compilation.pipes.add(I))}),Ba(r.declarations).forEach(h=>{Bn(h)?a.compilation.pipes.add(h):a.compilation.directives.add(h)}),Ba(r.exports).forEach(h=>{const b=h;if(tl(b)){const I=Kl(b);I.exported.directives.forEach(U=>{a.compilation.directives.add(U),a.exported.directives.add(U)}),I.exported.pipes.forEach(U=>{a.compilation.pipes.add(U),a.exported.pipes.add(U)})}else Bn(b)?a.exported.pipes.add(b):a.exported.directives.add(b)}),r.transitiveCompileScopes=a,a}(t)}if(_r(t)){if(null!==(fn(t)||In(t)))return{schemas:null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set([t]),pipes:new Set}};if(null!==Bn(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 tb=0;function LE(t,r){let a=null;(function WT(t,r){V0(r)&&(Bc.set(t,r),jc.add(t))})(t,r),NE(t,r),Object.defineProperty(t,Ci,{get:()=>{if(null===a){const h=na();if(V0(r)){const Ae=[`Component '${t.name}' is not resolved:`];throw r.templateUrl&&Ae.push(` - templateUrl: ${r.templateUrl}`),r.styleUrls&&r.styleUrls.length&&Ae.push(` - styleUrls: ${JSON.stringify(r.styleUrls)}`),r.styleUrl&&Ae.push(` - styleUrl: ${r.styleUrl}`),Ae.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(Ae.join("\n"))}const b=function AA(){return du}();let I=r.preserveWhitespaces;void 0===I&&(I=null!==b&&void 0!==b.preserveWhitespaces&&b.preserveWhitespaces);let U=r.encapsulation;void 0===U&&(U=null!==b&&void 0!==b.defaultEncapsulation?b.defaultEncapsulation:_t.Emulated);const z=r.templateUrl||`ng:///${t.name}/template.html`,te={...UE(t,r),typeSourceSpan:h.createParseSourceSpan("Component",t.name,z),template:r.template||"",preserveWhitespaces:I,styles:"string"==typeof r.styles?[r.styles]:r.styles||lr,animations:r.animations,declarations:[],changeDetection:r.changeDetection,encapsulation:U,interpolation:r.interpolation,viewProviders:r.viewProviders||null};tb++;try{if(te.usesInheritance&&Id(t),a=h.compileComponent(ba,z,te),r.standalone){const Ae=ca(r.imports||lr),{directiveDefs:Je,pipeDefs:yt}=function xA(t,r){let a=null,h=null;return{directiveDefs:()=>{if(sd)return ad(t)?[...Rc.getStandaloneComponentScope(t,r).compilation.directives].map(z=>fn(z)||In(z)).filter(z=>null!==z):[];if(null===a){a=[fn(t)];const U=new Set([t]);for(const z of r){const te=kr(z);if(!U.has(te))if(U.add(te),hr(te)){const Ae=Kl(te);for(const Je of Ae.exported.directives){const yt=fn(Je)||In(Je);yt&&!U.has(Je)&&(U.add(Je),a.push(yt))}}else{const Ae=fn(te)||In(te);Ae&&a.push(Ae)}}}return a},pipeDefs:()=>{if(sd)return ad(t)?[...Rc.getStandaloneComponentScope(t,r).compilation.pipes].map(z=>Bn(z)).filter(z=>null!==z):[];if(null===h){h=[];const U=new Set;for(const z of r){const te=kr(z);if(!U.has(te))if(U.add(te),hr(te)){const Ae=Kl(te);for(const Je of Ae.exported.pipes){const yt=Bn(Je);yt&&!U.has(Je)&&(U.add(Je),h.push(yt))}}else{const Ae=Bn(te);Ae&&h.push(Ae)}}}return h}}}(t,Ae);a.directiveDefs=Je,a.pipeDefs=yt,a.dependencies=()=>Ae.map(kr)}}finally{tb--}if(0===tb&&DE(),function RE(t){return void 0!==t.ngSelectorScope}(t)){const Ae=Kl(t.ngSelectorScope);eb(a,Ae)}if(r.schemas){if(!r.standalone)throw new Error(`The 'schemas' was specified for the ${$i(t)} but is only valid on a component that is standalone.`);a.schemas=r.schemas}else r.standalone&&(a.schemas=[])}return a},configurable:!1})}function nb(t,r){let a=null;NE(t,r||{}),Object.defineProperty(t,rn,{get:()=>{if(null===a){const h=FE(t,r||{});a=na().compileDirective(ba,h.sourceMapUrl,h.metadata)}return a},configurable:!1})}function FE(t,r){const a=t&&t.name,h=`ng:///${a}/\u0275dir.js`,b=na(),I=UE(t,r);return I.typeSourceSpan=b.createParseSourceSpan("Directive",a,h),I.usesInheritance&&Id(t),{metadata:I,sourceMapUrl:h}}function NE(t,r){let a=null;Object.defineProperty(t,dr,{get:()=>{if(null===a){const h=FE(t,r),b=na();a=b.compileFactory(ba,`ng:///${t.name}/\u0275fac.js`,{name:h.metadata.name,type:h.metadata.type,typeArgumentCount:0,deps:mh(t),target:b.FactoryTarget.Directive})}return a},configurable:!1})}function qP(t){return Object.getPrototypeOf(t.prototype)===Object.prototype}function UE(t,r){const a=lg(),h=a.ownPropMetadata(t);return{name:t.name,type:t,selector:void 0!==r.selector?r.selector:null,host:r.host||Tr,propMetadata:h,inputs:r.inputs||lr,outputs:r.outputs||lr,queries:BE(t,h,jE),lifecycle:{usesOnChanges:a.hasLifecycleHook(t,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!qP(t),exportAs:RA(r.exportAs),providers:r.providers||null,viewQueries:BE(t,h,HE),isStandalone:!!r.standalone,isSignal:!!r.signals,hostDirectives:r.hostDirectives?.map(b=>"function"==typeof b?{directive:b}:b)||null}}function Id(t){const r=Object.prototype;let a=Object.getPrototypeOf(t.prototype).constructor;for(;a&&a!==r;)!In(a)&&!fn(a)&&YE(a)&&nb(a,null),a=Object.getPrototypeOf(a)}function OA(t){return"string"==typeof t?VE(t):kr(t)}function LA(t,r){return{propertyName:t,predicate:OA(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,a){const h=[];for(const b in r)if(r.hasOwnProperty(b)){const I=r[b];I.forEach(U=>{if(a(U)){if(!U.selector)throw new Error(`Can't construct a query for the property "${b}" of "${$i(t)}" since the query selector wasn't defined.`);if(I.some(Ad))throw new Error("Cannot combine @Input decorators with query decorators");h.push(LA(b,U))}})}return h}function RA(t){return void 0===t?null:VE(t)}function jE(t){const r=t.ngMetadataName;return"ContentChild"===r||"ContentChildren"===r}function HE(t){const r=t.ngMetadataName;return"ViewChild"===r||"ViewChildren"===r}function Ad(t){return"Input"===t.ngMetadataName}function VE(t){return t.split(",").map(r=>r.trim())}const FA=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function YE(t){const r=lg();if(FA.some(h=>r.hasLifecycleHook(t,h)))return!0;const a=r.propMetadata(t);for(const h in a){const b=a[h];for(let I=0;I{if(null===h){const b=rb(t,r),I=na();h=I.compileFactory(ba,`ng:///${b.name}/\u0275fac.js`,{name:b.name,type:b.type,typeArgumentCount:0,deps:mh(t),target:I.FactoryTarget.Pipe})}return h},configurable:!1}),Object.defineProperty(t,Vn,{get:()=>{if(null===a){const b=rb(t,r);a=na().compilePipe(ba,`ng:///${b.name}/\u0275pipe.js`,b)}return a},configurable:!1})}function rb(t,r){return{type:t,name:t.name,pipeName:r.name,pure:void 0===r.pure||r.pure,isStandalone:!!r.standalone}}const zE=Iu("Directive",(t={})=>t,void 0,void 0,(t,r)=>nb(t,r)),NA=Iu("Component",(t={})=>({changeDetection:xe.Default,...t}),zE,void 0,(t,r)=>LE(t,r)),WE=Iu("Pipe",t=>({pure:!0,...t}),void 0,void 0,(t,r)=>$E(t,r)),UA=Ks("Input",t=>t?"string"==typeof t?{alias:t}:t:{}),fu=Ks("Output",t=>({alias:t})),BA=Ks("HostBinding",t=>({hostPropertyName:t})),ib=Ks("HostListener",(t,r)=>({eventName:t,args:r})),jA=Iu("NgModule",t=>t,void 0,void 0,(t,r)=>TE(t,r));class GE{constructor(r){this.full=r;const a=r.split(".");this.major=a[0],this.minor=a[1],this.patch=a.slice(2).join(".")}}const KE=new GE("17.2.3");let QE=(()=>{class t{log(a){console.log(a)}warn(a){console.warn(a)}static#e=this.\u0275fac=function(h){return new(h||t)};static#t=this.\u0275prov=si({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();const sb=new oe(""),dw=new oe("");let cb,eP=(()=>{class t{constructor(a,h,b){this._ngZone=a,this.registry=h,this._pendingCount=0,this._isZoneStable=!0,this._callbacks=[],this.taskTrackingZone=null,cb||(lb(b),b.addToWindow(h)),this._watchAngularEvents(),a.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:()=>{No.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 a=this._callbacks.pop();clearTimeout(a.timeoutId),a.doneCb()}});else{let a=this.getPendingTasks();this._callbacks=this._callbacks.filter(h=>!h.updateCb||!h.updateCb(a)||(clearTimeout(h.timeoutId),!1))}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(a=>({source:a.source,creationLocation:a.creationLocation,data:a.data})):[]}addCallback(a,h,b){let I=-1;h&&h>0&&(I=setTimeout(()=>{this._callbacks=this._callbacks.filter(U=>U.timeoutId!==I),a()},h)),this._callbacks.push({doneCb:a,timeoutId:I,updateCb:b})}whenStable(a,h,b){if(b&&!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(a,h,b),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(a){this.registry.registerApplication(a,this)}unregisterApplication(a){this.registry.unregisterApplication(a)}findProviders(a,h,b){return[]}static#e=this.\u0275fac=function(h){return new(h||t)(ve(No),ve(hw),ve(dw))};static#t=this.\u0275prov=si({token:t,factory:t.\u0275fac})}return t})(),hw=(()=>{class t{constructor(){this._applications=new Map}registerApplication(a,h){this._applications.set(a,h)}unregisterApplication(a){this._applications.delete(a)}unregisterAllApplications(){this._applications.clear()}getTestability(a){return this._applications.get(a)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(a,h=!0){return cb?.findTestabilityInTree(this,a,h)??null}static#e=this.\u0275fac=function(h){return new(h||t)};static#t=this.\u0275prov=si({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})();function lb(t){cb=t}function ub(t){return!!t&&"function"==typeof t.then}function db(t){return!!t&&"function"==typeof t.subscribe}const fw=new oe("");let _m=(()=>{class t{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((a,h)=>{this.resolve=a,this.reject=h}),this.appInits=it(fw,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const a=[];for(const b of this.appInits){const I=b();if(ub(I))a.push(I);else if(db(I)){const U=new Promise((z,te)=>{I.subscribe({complete:z,error:te})});a.push(U)}}const h=()=>{this.done=!0,this.resolve()};Promise.all(a).then(()=>{h()}).catch(b=>{this.reject(b)}),0===a.length&&h(),this.initialized=!0}static#e=this.\u0275fac=function(h){return new(h||t)};static#t=this.\u0275prov=si({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const hb=new oe("");function mw(){!function Oe(t){Ge=t}(()=>{throw new Yt(600,!1)})}function Vs(t){return t.isBoundToModule}class tP{constructor(r,a){this.name=r,this.token=a}}function fb(t,r,a){try{const h=a();return ub(h)?h.catch(b=>{throw r.runOutsideAngular(()=>t.handleError(b)),b}):h}catch(h){throw r.runOutsideAngular(()=>t.handleError(h)),h}}function gw(t,r){return Array.isArray(r)?r.reduce(gw,t):{...t,...r}}let xd,Ys=(()=>{class t{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=it(_y),this.afterRenderEffectManager=it(Rl),this.componentTypes=[],this.components=[],this.isStable=it(md).hasPendingTasks.pipe((0,Te.k)(a=>!a)),this._injector=it(es)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(a,h){const b=a instanceof qu;if(!this._injector.get(_m).done)throw!b&&_r(a),new Yt(405,!1);let U;U=b?a:this._injector.get(ed).resolveComponentFactory(a),this.componentTypes.push(U.componentType);const z=Vs(U)?void 0:this._injector.get(Fl),Ae=U.create(Na.NULL,[],h||U.selector,z),Je=Ae.location.nativeElement,yt=Ae.injector.get(sb,null);return yt?.registerApplication(Je),Ae.onDestroy(()=>{this.detachView(Ae.hostView),vm(this.components,Ae),yt?.unregisterApplication(Je)}),this._loadComponent(Ae),Ae}tick(){if(this._runningTick)throw new Yt(101,!1);try{this._runningTick=!0,this.detectChangesInAttachedViews()}catch(a){this.internalErrorHandler(a)}finally{this._runningTick=!1}}detectChangesInAttachedViews(){let a=0;const h=this.afterRenderEffectManager;for(;;){if(100===a)throw new Yt(103,!1);const b=0===a;for(let{_lView:I,notifyErrorHandler:U}of this._views)!b&&!bm(I)||this.detectChangesInView(I,U,b);if(a++,h.executeInternalCallbacks(),!this._views.some(({_lView:I})=>bm(I))&&(h.execute(),!this._views.some(({_lView:I})=>bm(I))))break}}detectChangesInView(a,h,b){let I;b?(I=0,a[Jn]|=1024):I=64&a[Jn]?0:1,Ac(a,h,I)}attachView(a){const h=a;this._views.push(h),h.attachToAppRef(this)}detachView(a){const h=a;vm(this._views,h),h.detachFromAppRef()}_loadComponent(a){this.attachView(a.hostView),this.tick(),this.components.push(a);const h=this._injector.get(hb,[]);[...this._bootstrapListeners,...h].forEach(b=>b(a))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(a=>a()),this._views.slice().forEach(a=>a.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(a){return this._destroyListeners.push(a),()=>vm(this._destroyListeners,a)}destroy(){if(this._destroyed)throw new Yt(406,!1);const a=this._injector;a.destroy&&!a.destroyed&&a.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(h){return new(h||t)};static#t=this.\u0275prov=si({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function vm(t,r){const a=t.indexOf(r);a>-1&&t.splice(a,1)}function pw(t){xd??=new WeakMap;const r=xd.get(t);if(r)return r;const a=t.isStable.pipe((0,ht.K)(h=>h)).toPromise().then(()=>{});return xd.set(t,a),t.onDestroy(()=>xd?.delete(t)),a}function bm(t){return ee(t)}class _w{constructor(r,a){this.ngModuleFactory=r,this.componentFactories=a}}let vw=(()=>{class t{compileModuleSync(a){return new _f(a)}compileModuleAsync(a){return Promise.resolve(this.compileModuleSync(a))}compileModuleAndAllComponentsSync(a){const h=this.compileModuleSync(a),I=Ba(hr(a).declarations).reduce((U,z)=>{const te=fn(z);return te&&U.push(new Fc(te)),U},[]);return new _w(h,I)}compileModuleAndAllComponentsAsync(a){return Promise.resolve(this.compileModuleAndAllComponentsSync(a))}clearCache(){}clearCacheFor(a){}getModuleId(a){}static#e=this.\u0275fac=function(h){return new(h||t)};static#t=this.\u0275prov=si({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const bw=new oe("");class yw{}function Cw(t,r,a){const h=new _f(a);return Promise.resolve(h)}let Sw=(()=>{class t{constructor(){this.zone=it(No),this.applicationRef=it(Ys)}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(h){return new(h||t)};static#t=this.\u0275prov=si({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function mb(t){return[{provide:No,useFactory:t},{provide:ka,multi:!0,useFactory:()=>{const r=it(Sw,{optional:!0});return()=>r.initialize()}},{provide:ka,multi:!0,useFactory:()=>{const r=it(rP);return()=>{r.initialize()}}},{provide:_y,useFactory:nP}]}function nP(){const t=it(No),r=it(Ua);return a=>t.runOutsideAngular(()=>r.handleError(a))}function Ew(t){return Pu([[],mb(()=>new No(Od(t)))])}function Od(t){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:t?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:t?.runCoalescing??!1}}let rP=(()=>{class t{constructor(){this.subscription=new wt.wH,this.initialized=!1,this.zone=it(No),this.pendingTasks=it(md)}initialize(){if(this.initialized)return;this.initialized=!0;let a=null;!this.zone.isStable&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(a=this.pendingTasks.add()),this.zone.runOutsideAngular(()=>{this.subscription.add(this.zone.onStable.subscribe(()=>{No.assertNotInAngularZone(),queueMicrotask(()=>{null!==a&&!this.zone.hasPendingMacrotasks&&!this.zone.hasPendingMicrotasks&&(this.pendingTasks.remove(a),a=null)})}))}),this.subscription.add(this.zone.onUnstable.subscribe(()=>{No.assertInAngularZone(),a??=this.pendingTasks.add()}))}ngOnDestroy(){this.subscription.unsubscribe()}static#e=this.\u0275fac=function(h){return new(h||t)};static#t=this.\u0275prov=si({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();const ym=new oe("",{providedIn:"root",factory:()=>it(ym,gt.Optional|gt.SkipSelf)||function gb(){return typeof $localize<"u"&&$localize.locale||ol}()}),ww=new oe("",{providedIn:"root",factory:()=>"USD"}),iP=new oe(""),Dw=new oe("");var Tw=function(t){return t[t.Error=0]="Error",t[t.Warning=1]="Warning",t[t.Ignore=2]="Ignore",t}(Tw||{});const Cm=new oe("");let pb=(()=>{class t{constructor(a){this._injector=a,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(a,h){const b=function n0(t="zone.js",r){return"noop"===t?new Ep:"zone.js"===t?new No(r):t}(h?.ngZone,Od({eventCoalescing:h?.ngZoneEventCoalescing,runCoalescing:h?.ngZoneRunCoalescing}));return b.run(()=>{const I=function rI(t,r,a){return new pf(t,r,a)}(a.moduleType,this.injector,mb(()=>b)),U=I.injector.get(Ua,null);return b.runOutsideAngular(()=>{const z=b.onError.subscribe({next:te=>{U.handleError(te)}});I.onDestroy(()=>{vm(this._modules,I),z.unsubscribe()})}),fb(U,b,()=>{const z=I.injector.get(_m);return z.runInitializers(),z.donePromise.then(()=>(U_(I.injector.get(ym,ol)||ol),this._moduleDoBootstrap(I),I))})})}bootstrapModule(a,h=[]){const b=gw({},h);return Cw(0,0,a).then(I=>this.bootstrapModuleFactory(I,b))}_moduleDoBootstrap(a){const h=a.injector.get(Ys);if(a._bootstrapComponents.length>0)a._bootstrapComponents.forEach(b=>h.bootstrap(b));else{if(!a.instance.ngDoBootstrap)throw new Yt(-403,!1);a.instance.ngDoBootstrap(h)}this._modules.push(a)}onDestroy(a){this._destroyListeners.push(a)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Yt(404,!1);this._modules.slice().forEach(h=>h.destroy()),this._destroyListeners.forEach(h=>h());const a=this._injector.get(Cm,null);a&&(a.forEach(h=>h()),a.clear()),this._destroyed=!0}get destroyed(){return this._destroyed}static#e=this.\u0275fac=function(h){return new(h||t)(ve(Na))};static#t=this.\u0275prov=si({token:t,factory:t.\u0275fac,providedIn:"platform"})}return t})(),$s=null;const _b=new oe("");function vb(t){if($s&&!$s.get(_b,!1))throw new Yt(400,!1);mw(),$s=t;const r=t.get(pb);return kw(t),r}function Iw(t,r,a=[]){const h=`Platform: ${r}`,b=new oe(h);return(I=[])=>{let U=Ld();if(!U||U.injector.get(_b,!1)){const z=[...a,...I,{provide:b,useValue:!0}];t?t(z):vb(bb(z,h))}return Aw()}}function bb(t=[],r){return Na.create({name:r,providers:[{provide:qd,useValue:"platform"},{provide:Cm,useValue:new Set([()=>$s=null])},...t]})}function Aw(t){const r=Ld();if(!r)throw new Yt(401,!1);return r}function Ld(){return $s?.get(pb)??null}function oP(){Ld()?.destroy()}function kw(t){t.get(kt,null)?.forEach(a=>a())}function xw(){return!1}function aP(){}function Ow(t){const r=Hp(t);if(!r)throw Mm(t);return new _f(r)}function sP(t){const r=Hp(t);if(!r)throw Mm(t);return r}function Mm(t){return new Error(`No module with ID ${t} loaded`)}class Lw extends Cp{}class Rw extends Lw{}class Fw{constructor(r,a){this.name=r,this.callback=a}}function lP(t){return t.map(r=>r.nativeElement)}class Sm{constructor(r){this.nativeNode=r}get parent(){const r=this.nativeNode.parentNode;return r?new Rd(r):null}get injector(){return function iE(t){const r=Ma(t),a=r?r.lView:null;return null===a?Na.NULL:new ra(a[xn].data[r.nodeIndex],a)}(this.nativeNode)}get componentInstance(){const r=this.nativeNode;return r&&(Uv(r)||function rE(t){const r=Ma(t);let h,a=r?r.lView:null;if(null===a)return null;for(;2===a[xn].type&&(h=$t(a));)a=h;return 512&a[Jn]?null:a[oi]}(r))}get context(){return Uv(this.nativeNode)||function Bv(t){!function sE(t){if(typeof Element<"u"&&!(t instanceof Element))throw new Error("Expecting instance of DOM Element")}(t);const r=Ma(t),a=r?r.lView:null;return null===a?null:a[oi]}(this.nativeNode)}get listeners(){return function aE(t){const r=Ma(t),a=null===r?null:r.lView;if(null===a)return[];const b=a[qr],I=a[xn].cleanup,U=[];if(I&&b)for(let z=0;z=0?"dom":"output"})}}return U.sort(IA),U}(this.nativeNode).filter(r=>"dom"===r.type)}get references(){return function TA(t){const r=Ma(t);if(null===r)return{};if(void 0===r.localRefs){const a=r.lView;if(null===a)return{};r.localRefs=function XD(t,r){const a=t[xn].data[r];if(a&&a.localNames){const h={};let b=a.index+1;for(let I=0;I1){let Je=te[1];for(let yt=1;ytr[I]=!0),r}get childNodes(){const r=this.nativeNode.childNodes,a=[];for(let h=0;h{if(I.name===r){const U=I.callback;U.call(h,a),b.push(U)}}),"function"==typeof h.eventListeners&&h.eventListeners(r).forEach(I=>{if(-1!==I.toString().indexOf("__ngUnwrap__")){const U=I("__ngUnwrap__");return-1===b.indexOf(U)&&U.call(h,a)}})}}function cP(t){return"string"==typeof t||"boolean"==typeof t||"number"==typeof t||null===t}function yb(t,r,a,h){const b=Ma(t.nativeNode),I=b?b.lView:null;null!==I?Zl(I[xn].data[b.nodeIndex],I,r,a,h,t.nativeNode):Em(t.nativeNode,r,a,h)}function Zl(t,r,a,h,b,I){const U=function sa(t,r){const a=null===t?-1:t.index;return-1!==a?$r(r[a]):null}(t,r);if(11&t.type){if(Mb(U,a,h,b,I),Fi(t)){const te=qi(t.index,r);te&&te[xn].firstChild&&Zl(te[xn].firstChild,te,a,h,b,I)}else t.child&&Zl(t.child,r,a,h,b,I),U&&Em(U,a,h,b);const z=r[t.index];ei(z)&&Cb(z,a,h,b,I)}else if(4&t.type){const z=r[t.index];Mb(z[Pi],a,h,b,I),Cb(z,a,h,b,I)}else if(16&t.type){const z=r[ri],Ae=z[pi].projection[t.projection];if(Array.isArray(Ae))for(let Je of Ae)Mb(Je,a,h,b,I);else if(Ae){const Je=z[Gr];Zl(Je[xn].data[Ae.index],Je,a,h,b,I)}}else t.child&&Zl(t.child,r,a,h,b,I);if(I!==U){const z=2&t.flags?t.projectionNext:t.next;z&&Zl(z,r,a,h,b,I)}}function Cb(t,r,a,h,b){for(let I=Yr;I{class t{constructor(a){}static#e=this.\u0275fac=function(h){return new(h||t)(ve(Ys))};static#t=this.\u0275mod=tn({type:t});static#n=this.\u0275inj=Va({})}return t})();function bi(t){}function Hr(t,r){!r&&Cl();const a=r?.injector??it(Na),h=a.get(Ys);let b=!1;const I=()=>{b||h.destroyed||(b=!0,t())};rf(I,{injector:a,runOnServer:!0}),queueMicrotask(()=>{I()})}function $o(t){try{const{rootComponent:r,appProviders:a,platformProviders:h}=t,b=function Pw(t=[]){if($s)return $s;const r=bb(t);return $s=r,mw(),kw(r),r}(h),I=[Ew(),...a||[]],z=new tM({providers:I,parent:b,debugName:"",runEnvironmentInitializers:!1}).injector,te=z.get(No);return te.run(()=>{z.resolveInjectorInitializers();const Ae=z.get(Ua,null);let Je;te.runOutsideAngular(()=>{Je=te.onError.subscribe({next:Xt=>{Ae.handleError(Xt)}})});const yt=()=>z.destroy(),Ht=b.get(Cm);return Ht.add(yt),z.onDestroy(()=>{Je.unsubscribe(),Ht.delete(yt)}),fb(Ae,te,()=>{const Xt=z.get(_m);return Xt.runInitializers(),Xt.donePromise.then(()=>{U_(z.get(ym,ol)||ol);const On=z.get(Ys);return void 0!==r&&On.bootstrap(r),On})})})}catch(r){return Promise.reject(r)}}let as=(()=>{class t{constructor(){this.appRef=it(Ys),this.taskService=it(md),this.pendingRenderTaskId=null}notify(){null===this.pendingRenderTaskId&&(this.pendingRenderTaskId=this.taskService.add(),this.raceTimeoutAndRequestAnimationFrame())}raceTimeoutAndRequestAnimationFrame(){var a=this;return(0,n.c)(function*(){const h=new Promise(I=>setTimeout(I)),b="function"==typeof jt.requestAnimationFrame?new Promise(I=>requestAnimationFrame(()=>I())):null;yield Promise.race([h,b]),a.tick()})()}tick(){try{this.appRef.destroyed||this.appRef.tick()}finally{const a=this.pendingRenderTaskId;this.pendingRenderTaskId=null,this.taskService.remove(a)}}static#e=this.\u0275fac=function(h){return new(h||t)};static#t=this.\u0275prov=si({token:t,factory:t.\u0275fac,providedIn:"root"})}return t})();function zs(){return Pu([{provide:hp,useExisting:as},{provide:No,useClass:Ep}])}function Tm(t,r){const a=t[xn];for(let h=pr;h0&&Ae===h){const Je=a[a.length-1];Je[pl]??=1,Je[pl]++}else h=Ae,a.push(te)}return a}function zw(t,r,a){const h=r.index-pr;t[Nm]??={},t[Nm][h]=NC(r,a)}function hk(t,r){const a=r.index-pr;t[Vd]??=[],t[Vd].includes(a)||t[Vd].push(a)}function fk(t,r){const a={},h=t[xn];for(let b=pr;b{let t=!0;return qs()&&(t=!!it(Eu,{optional:!0})?.get(Um,null)),t&&Wa("NgHydration"),t}},{provide:ka,useValue:()=>{qs()&&it(bc)&&(function Tk(){const t=ta();let r;for(const a of t.body.childNodes)if(a.nodeType===Node.COMMENT_NODE&&a.textContent?.trim()===Du){r=a;break}if(!r)throw new Yt(-507,!1)}(),function Ek(){mk||(mk=!0,function Qw(){kb=Kw}(),function sS(){qc=OI}(),function yA(){JS=bA}(),function RI(){lS=cS}(),function Wp(){zp=oI}(),function LT(){b0=C0,cf=OT}(),function dp(){up=rT}(),function C1(){zg=y1}())}())},multi:!0},{provide:ug,useFactory:()=>qs()&&it(bc)},{provide:hb,useFactory:()=>{if(qs()&&it(bc)){const t=it(Ys);return it(Na),()=>{(function wk(t,r){return pw(t)})(t).then(()=>{No.assertInAngularZone(),function J1(t){const r=t._views;for(const a of r){const h=xb(a);null!==h&&null!==h[Ur]&&(Vi(h)?Ju(h):(Ju(h[Ur]),RC(h)))}}(t)})}}return()=>{}},multi:!0}])}function Ik(t){return"boolean"==typeof t?t:null!=t&&"false"!==t}function Ak(t,r=NaN){return isNaN(parseFloat(t))||isNaN(Number(t))?r:Number(t)}function Pk(t){return na().compileDirectiveDeclaration(ba,`ng:///${t.type.name}/\u0275fac.js`,t)}function kk(t){rM(t.type,t.decorators,t.ctorParameters??null,t.propDecorators??null)}function xk(t){return na().compileComponentDeclaration(ba,`ng:///${t.type.name}/\u0275cmp.js`,t)}function Ok(t){return na(function Lk(t){switch(t){case Ml.Directive:return"directive";case Ml.Component:return"component";case Ml.Injectable:return"injectable";case Ml.Pipe:return"pipe";case Ml.NgModule:return"NgModule"}}(t.target)).compileFactoryDeclaration(ba,`ng:///${t.type.name}/\u0275fac.js`,t)}function Rk(t){return na().compileInjectableDeclaration(ba,`ng:///${t.type.name}/\u0275prov.js`,t)}function Fk(t){return na().compileInjectorDeclaration(ba,`ng:///${t.type.name}/\u0275inj.js`,t)}function Nk(t){return na().compileNgModuleDeclaration(ba,`ng:///${t.type.name}/\u0275mod.js`,t)}function Uk(t){return na().compilePipeDeclaration(ba,`ng:///${t.type.name}/\u0275pipe.js`,t)}function Bk(t,r){const a=fn(t),h=r.elementInjector||xs();return new Fc(a).create(h,r.projectableNodes,r.hostElement,r.environmentInjector)}function jk(t){const r=fn(t);if(!r)return null;const a=new Fc(r);return{get selector(){return a.selector},get type(){return a.componentType},get inputs(){return a.inputs},get outputs(){return a.outputs},get ngContentSelectors(){return a.ngContentSelectors},get isStandalone(){return r.standalone},get isSignal(){return r.signals}}}function Hk(...t){return t.reduce((r,a)=>Object.assign(r,a,{providers:[...r.providers,...a.providers]}),{providers:[]})}},44716:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{AbstractControl:()=>Vt,AbstractControlDirective:()=>nn,AbstractFormGroupDirective:()=>nt,COMPOSITION_BUFFER_MODE:()=>L,CheckboxControlValueAccessor:()=>_,CheckboxRequiredValidator:()=>Uo,ControlContainer:()=>Yt,DefaultValueAccessor:()=>N,EmailValidator:()=>ao,FormArray:()=>Ni,FormArrayName:()=>ni,FormBuilder:()=>Xi,FormControl:()=>me,FormControlDirective:()=>Gr,FormControlName:()=>Ji,FormGroup:()=>Sn,FormGroupDirective:()=>pi,FormGroupName:()=>qr,FormRecord:()=>jt,FormsModule:()=>Wo,MaxLengthValidator:()=>so,MaxValidator:()=>Mo,MinLengthValidator:()=>xo,MinValidator:()=>Yr,NG_ASYNC_VALIDATORS:()=>k,NG_VALIDATORS:()=>R,NG_VALUE_ACCESSOR:()=>f,NgControl:()=>Zt,NgControlStatus:()=>Hn,NgControlStatusGroup:()=>kn,NgForm:()=>F,NgModel:()=>In,NgModelGroup:()=>vn,NgSelectOption:()=>Rr,NonNullableFormBuilder:()=>ua,NumberValueAccessor:()=>hr,PatternValidator:()=>mo,RadioControlValueAccessor:()=>co,RangeValueAccessor:()=>Ur,ReactiveFormsModule:()=>Jo,RequiredValidator:()=>ei,SelectControlValueAccessor:()=>ro,SelectMultipleControlValueAccessor:()=>Hi,UntypedFormArray:()=>jo,UntypedFormBuilder:()=>Zo,UntypedFormControl:()=>q,UntypedFormGroup:()=>_t,VERSION:()=>To,Validators:()=>H,isFormArray:()=>zo,isFormControl:()=>fe,isFormGroup:()=>Pt,isFormRecord:()=>ar,\u0275InternalFormsSharedModule:()=>Qo,\u0275NgNoValidate:()=>Bn,\u0275NgSelectMultipleOption:()=>ai});var n=s(54496),c=s(91368),u=s(74496),l=s(53252),i=s(64300),e=s(50560),o=s(59472),d=s(87773),v=s(74187),M=s(67904),E=s(54704);let S=(()=>{class Le{constructor(ge,lt){this._renderer=ge,this._elementRef=lt,this.onChange=At=>{},this.onTouched=()=>{}}setProperty(ge,lt){this._renderer.setProperty(this._elementRef.nativeElement,ge,lt)}registerOnTouched(ge){this.onTouched=ge}registerOnChange(ge){this.onChange=ge}setDisabledState(ge){this.setProperty("disabled",ge)}static#e=this.\u0275fac=function(lt){return new(lt||Le)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Le})}return Le})(),y=(()=>{class Le extends S{static#e=this.\u0275fac=(()=>{let ge;return function(At){return(ge||(ge=n.\u0275\u0275getInheritedFactory(Le)))(At||Le)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Le,features:[n.\u0275\u0275InheritDefinitionFeature]})}return Le})();const f=new n.InjectionToken(""),C={provide:f,useExisting:(0,n.forwardRef)(()=>_),multi:!0};let _=(()=>{class Le extends y{writeValue(ge){this.setProperty("checked",ge)}static#e=this.\u0275fac=(()=>{let ge;return function(At){return(ge||(ge=n.\u0275\u0275getInheritedFactory(Le)))(At||Le)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Le,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(lt,At){1<&&n.\u0275\u0275listener("change",function(Zn){return At.onChange(Zn.target.checked)})("blur",function(){return At.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([C]),n.\u0275\u0275InheritDefinitionFeature]})}return Le})();const w={provide:f,useExisting:(0,n.forwardRef)(()=>N),multi:!0},L=new n.InjectionToken("");let N=(()=>{class Le extends S{constructor(ge,lt,At){super(ge,lt),this._compositionMode=At,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function D(){const Le=(0,c.\u0275getDOM)()?(0,c.\u0275getDOM)().getUserAgent():"";return/android (\d+)/.test(Le.toLowerCase())}())}writeValue(ge){this.setProperty("value",ge??"")}_handleInput(ge){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(ge)}_compositionStart(){this._composing=!0}_compositionEnd(ge){this._composing=!1,this._compositionMode&&this.onChange(ge)}static#e=this.\u0275fac=function(lt){return new(lt||Le)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(L,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Le,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(lt,At){1<&&n.\u0275\u0275listener("input",function(Zn){return At._handleInput(Zn.target.value)})("blur",function(){return At.onTouched()})("compositionstart",function(){return At._compositionStart()})("compositionend",function(Zn){return At._compositionEnd(Zn.target.value)})},features:[n.\u0275\u0275ProvidersFeature([w]),n.\u0275\u0275InheritDefinitionFeature]})}return Le})();function V(Le){return null==Le||("string"==typeof Le||Array.isArray(Le))&&0===Le.length}function G(Le){return null!=Le&&"number"==typeof Le.length}const R=new n.InjectionToken(""),k=new n.InjectionToken(""),A=/^(?=.{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 H{static min(Ye){return K(Ye)}static max(Ye){return ie(Ye)}static required(Ye){return J(Ye)}static requiredTrue(Ye){return be(Ye)}static email(Ye){return ce(Ye)}static minLength(Ye){return Ge(Ye)}static maxLength(Ye){return ct(Ye)}static pattern(Ye){return Oe(Ye)}static nullValidator(Ye){return null}static compose(Ye){return Se(Ye)}static composeAsync(Ye){return re(Ye)}}function K(Le){return Ye=>{if(V(Ye.value)||V(Le))return null;const ge=parseFloat(Ye.value);return!isNaN(ge)&&ge{if(V(Ye.value)||V(Le))return null;const ge=parseFloat(Ye.value);return!isNaN(ge)&&ge>Le?{max:{max:Le,actual:Ye.value}}:null}}function J(Le){return V(Le.value)?{required:!0}:null}function be(Le){return!0===Le.value?null:{required:!0}}function ce(Le){return V(Le.value)||A.test(Le.value)?null:{email:!0}}function Ge(Le){return Ye=>V(Ye.value)||!G(Ye.value)?null:Ye.value.lengthG(Ye.value)&&Ye.value.length>Le?{maxlength:{requiredLength:Le,actualLength:Ye.value.length}}:null}function Oe(Le){if(!Le)return ke;let Ye,ge;return"string"==typeof Le?(ge="","^"!==Le.charAt(0)&&(ge+="^"),ge+=Le,"$"!==Le.charAt(Le.length-1)&&(ge+="$"),Ye=new RegExp(ge)):(ge=Le.toString(),Ye=Le),lt=>{if(V(lt.value))return null;const At=lt.value;return Ye.test(At)?null:{pattern:{requiredPattern:ge,actualValue:At}}}}function ke(Le){return null}function Re(Le){return null!=Le}function Qe(Le){return(0,n.\u0275isPromise)(Le)?(0,u.Q)(Le):Le}function $e(Le){let Ye={};return Le.forEach(ge=>{Ye=null!=ge?{...Ye,...ge}:Ye}),0===Object.keys(Ye).length?null:Ye}function Be(Le,Ye){return Ye.map(ge=>ge(Le))}function Me(Le){return Le.map(Ye=>function _e(Le){return!Le.validate}(Ye)?Ye:ge=>Ye.validate(ge))}function Se(Le){if(!Le)return null;const Ye=Le.filter(Re);return 0==Ye.length?null:function(ge){return $e(Be(ge,Ye))}}function je(Le){return null!=Le?Se(Me(Le)):null}function re(Le){if(!Le)return null;const Ye=Le.filter(Re);return 0==Ye.length?null:function(ge){return function p(...Le){const Ye=(0,o.yu)(Le),{args:ge,keys:lt}=(0,i.Q)(Le),At=new l._(ir=>{const{length:Zn}=ge;if(!Zn)return void ir.complete();const Mi=new Array(Zn);let Eo=Zn,Io=Zn;for(let _o=0;_o{$r||($r=!0,Io--),Mi[_o]=Xo},()=>Eo--,void 0,()=>{(!Eo||!$r)&&(Io||ir.next(lt?(0,M.q)(lt,Mi):Mi),ir.complete())}))}});return Ye?At.pipe((0,v.j)(Ye)):At}(Be(ge,Ye).map(Qe)).pipe((0,E.k)($e))}}function we(Le){return null!=Le?re(Me(Le)):null}function rt(Le,Ye){return null===Le?[Ye]:Array.isArray(Le)?[...Le,Ye]:[Le,Ye]}function tt(Le){return Le._rawValidators}function wt(Le){return Le._rawAsyncValidators}function ye(Le){return Le?Array.isArray(Le)?Le:[Le]:[]}function Te(Le,Ye){return Array.isArray(Le)?Le.includes(Ye):Le===Ye}function ht(Le,Ye){const ge=ye(Ye);return ye(Le).forEach(At=>{Te(ge,At)||ge.push(At)}),ge}function Ft(Le,Ye){return ye(Ye).filter(ge=>!Te(Le,ge))}class nn{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(Ye){this._rawValidators=Ye||[],this._composedValidatorFn=je(this._rawValidators)}_setAsyncValidators(Ye){this._rawAsyncValidators=Ye||[],this._composedAsyncValidatorFn=we(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(Ye){this._onDestroyCallbacks.push(Ye)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(Ye=>Ye()),this._onDestroyCallbacks=[]}reset(Ye=void 0){this.control&&this.control.reset(Ye)}hasError(Ye,ge){return!!this.control&&this.control.hasError(Ye,ge)}getError(Ye,ge){return this.control?this.control.getError(Ye,ge):null}}class Yt extends nn{get formDirective(){return null}get path(){return null}}class Zt extends nn{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Mn{constructor(Ye){this._cd=Ye}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 Hn=(()=>{class Le extends Mn{constructor(ge){super(ge)}static#e=this.\u0275fac=function(lt){return new(lt||Le)(n.\u0275\u0275directiveInject(Zt,2))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Le,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(lt,At){2<&&n.\u0275\u0275classProp("ng-untouched",At.isUntouched)("ng-touched",At.isTouched)("ng-pristine",At.isPristine)("ng-dirty",At.isDirty)("ng-valid",At.isValid)("ng-invalid",At.isInvalid)("ng-pending",At.isPending)},features:[n.\u0275\u0275InheritDefinitionFeature]})}return Le})(),kn=(()=>{class Le extends Mn{constructor(ge){super(ge)}static#e=this.\u0275fac=function(lt){return new(lt||Le)(n.\u0275\u0275directiveInject(Yt,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Le,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(lt,At){2<&&n.\u0275\u0275classProp("ng-untouched",At.isUntouched)("ng-touched",At.isTouched)("ng-pristine",At.isPristine)("ng-dirty",At.isDirty)("ng-valid",At.isValid)("ng-invalid",At.isInvalid)("ng-pending",At.isPending)("ng-submitted",At.isSubmitted)},features:[n.\u0275\u0275InheritDefinitionFeature]})}return Le})();const Yn="VALID",It="INVALID",en="PENDING",Ct="DISABLED";function qe(Le){return(pt(Le)?Le.validators:Le)||null}function He(Le,Ye){return(pt(Ye)?Ye.asyncValidators:Le)||null}function pt(Le){return null!=Le&&!Array.isArray(Le)&&"object"==typeof Le}function an(Le,Ye,ge){const lt=Le.controls;if(!(Ye?Object.keys(lt):lt).length)throw new n.\u0275RuntimeError(1e3,"");if(!lt[ge])throw new n.\u0275RuntimeError(1001,"")}function Ln(Le,Ye,ge){Le._forEachChild((lt,At)=>{if(void 0===ge[At])throw new n.\u0275RuntimeError(1002,"")})}class Vt{constructor(Ye,ge){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(Ye),this._assignAsyncValidators(ge)}get validator(){return this._composedValidatorFn}set validator(Ye){this._rawValidators=this._composedValidatorFn=Ye}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(Ye){this._rawAsyncValidators=this._composedAsyncValidatorFn=Ye}get parent(){return this._parent}get valid(){return this.status===Yn}get invalid(){return this.status===It}get pending(){return this.status==en}get disabled(){return this.status===Ct}get enabled(){return this.status!==Ct}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(Ye){this._assignValidators(Ye)}setAsyncValidators(Ye){this._assignAsyncValidators(Ye)}addValidators(Ye){this.setValidators(ht(Ye,this._rawValidators))}addAsyncValidators(Ye){this.setAsyncValidators(ht(Ye,this._rawAsyncValidators))}removeValidators(Ye){this.setValidators(Ft(Ye,this._rawValidators))}removeAsyncValidators(Ye){this.setAsyncValidators(Ft(Ye,this._rawAsyncValidators))}hasValidator(Ye){return Te(this._rawValidators,Ye)}hasAsyncValidator(Ye){return Te(this._rawAsyncValidators,Ye)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(Ye={}){this.touched=!0,this._parent&&!Ye.onlySelf&&this._parent.markAsTouched(Ye)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(Ye=>Ye.markAllAsTouched())}markAsUntouched(Ye={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(ge=>{ge.markAsUntouched({onlySelf:!0})}),this._parent&&!Ye.onlySelf&&this._parent._updateTouched(Ye)}markAsDirty(Ye={}){this.pristine=!1,this._parent&&!Ye.onlySelf&&this._parent.markAsDirty(Ye)}markAsPristine(Ye={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(ge=>{ge.markAsPristine({onlySelf:!0})}),this._parent&&!Ye.onlySelf&&this._parent._updatePristine(Ye)}markAsPending(Ye={}){this.status=en,!1!==Ye.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!Ye.onlySelf&&this._parent.markAsPending(Ye)}disable(Ye={}){const ge=this._parentMarkedDirty(Ye.onlySelf);this.status=Ct,this.errors=null,this._forEachChild(lt=>{lt.disable({...Ye,onlySelf:!0})}),this._updateValue(),!1!==Ye.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...Ye,skipPristineCheck:ge}),this._onDisabledChange.forEach(lt=>lt(!0))}enable(Ye={}){const ge=this._parentMarkedDirty(Ye.onlySelf);this.status=Yn,this._forEachChild(lt=>{lt.enable({...Ye,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:Ye.emitEvent}),this._updateAncestors({...Ye,skipPristineCheck:ge}),this._onDisabledChange.forEach(lt=>lt(!1))}_updateAncestors(Ye){this._parent&&!Ye.onlySelf&&(this._parent.updateValueAndValidity(Ye),Ye.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(Ye){this._parent=Ye}getRawValue(){return this.value}updateValueAndValidity(Ye={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===Yn||this.status===en)&&this._runAsyncValidator(Ye.emitEvent)),!1!==Ye.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!Ye.onlySelf&&this._parent.updateValueAndValidity(Ye)}_updateTreeValidity(Ye={emitEvent:!0}){this._forEachChild(ge=>ge._updateTreeValidity(Ye)),this.updateValueAndValidity({onlySelf:!0,emitEvent:Ye.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?Ct:Yn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(Ye){if(this.asyncValidator){this.status=en,this._hasOwnPendingAsyncValidator=!0;const ge=Qe(this.asyncValidator(this));this._asyncValidationSubscription=ge.subscribe(lt=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(lt,{emitEvent:Ye})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(Ye,ge={}){this.errors=Ye,this._updateControlsErrors(!1!==ge.emitEvent)}get(Ye){let ge=Ye;return null==ge||(Array.isArray(ge)||(ge=ge.split(".")),0===ge.length)?null:ge.reduce((lt,At)=>lt&<._find(At),this)}getError(Ye,ge){const lt=ge?this.get(ge):this;return lt&<.errors?lt.errors[Ye]:null}hasError(Ye,ge){return!!this.getError(Ye,ge)}get root(){let Ye=this;for(;Ye._parent;)Ye=Ye._parent;return Ye}_updateControlsErrors(Ye){this.status=this._calculateStatus(),Ye&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(Ye)}_initObservables(){this.valueChanges=new n.EventEmitter,this.statusChanges=new n.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?Ct:this.errors?It:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(en)?en:this._anyControlsHaveStatus(It)?It:Yn}_anyControlsHaveStatus(Ye){return this._anyControls(ge=>ge.status===Ye)}_anyControlsDirty(){return this._anyControls(Ye=>Ye.dirty)}_anyControlsTouched(){return this._anyControls(Ye=>Ye.touched)}_updatePristine(Ye={}){this.pristine=!this._anyControlsDirty(),this._parent&&!Ye.onlySelf&&this._parent._updatePristine(Ye)}_updateTouched(Ye={}){this.touched=this._anyControlsTouched(),this._parent&&!Ye.onlySelf&&this._parent._updateTouched(Ye)}_registerOnCollectionChange(Ye){this._onCollectionChange=Ye}_setUpdateStrategy(Ye){pt(Ye)&&null!=Ye.updateOn&&(this._updateOn=Ye.updateOn)}_parentMarkedDirty(Ye){return!Ye&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(Ye){return null}_assignValidators(Ye){this._rawValidators=Array.isArray(Ye)?Ye.slice():Ye,this._composedValidatorFn=function Nt(Le){return Array.isArray(Le)?je(Le):Le||null}(this._rawValidators)}_assignAsyncValidators(Ye){this._rawAsyncValidators=Array.isArray(Ye)?Ye.slice():Ye,this._composedAsyncValidatorFn=function vt(Le){return Array.isArray(Le)?we(Le):Le||null}(this._rawAsyncValidators)}}class Sn extends Vt{constructor(Ye,ge,lt){super(qe(ge),He(lt,ge)),this.controls=Ye,this._initObservables(),this._setUpdateStrategy(ge),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(Ye,ge){return this.controls[Ye]?this.controls[Ye]:(this.controls[Ye]=ge,ge.setParent(this),ge._registerOnCollectionChange(this._onCollectionChange),ge)}addControl(Ye,ge,lt={}){this.registerControl(Ye,ge),this.updateValueAndValidity({emitEvent:lt.emitEvent}),this._onCollectionChange()}removeControl(Ye,ge={}){this.controls[Ye]&&this.controls[Ye]._registerOnCollectionChange(()=>{}),delete this.controls[Ye],this.updateValueAndValidity({emitEvent:ge.emitEvent}),this._onCollectionChange()}setControl(Ye,ge,lt={}){this.controls[Ye]&&this.controls[Ye]._registerOnCollectionChange(()=>{}),delete this.controls[Ye],ge&&this.registerControl(Ye,ge),this.updateValueAndValidity({emitEvent:lt.emitEvent}),this._onCollectionChange()}contains(Ye){return this.controls.hasOwnProperty(Ye)&&this.controls[Ye].enabled}setValue(Ye,ge={}){Ln(this,0,Ye),Object.keys(Ye).forEach(lt=>{an(this,!0,lt),this.controls[lt].setValue(Ye[lt],{onlySelf:!0,emitEvent:ge.emitEvent})}),this.updateValueAndValidity(ge)}patchValue(Ye,ge={}){null!=Ye&&(Object.keys(Ye).forEach(lt=>{const At=this.controls[lt];At&&At.patchValue(Ye[lt],{onlySelf:!0,emitEvent:ge.emitEvent})}),this.updateValueAndValidity(ge))}reset(Ye={},ge={}){this._forEachChild((lt,At)=>{lt.reset(Ye?Ye[At]:null,{onlySelf:!0,emitEvent:ge.emitEvent})}),this._updatePristine(ge),this._updateTouched(ge),this.updateValueAndValidity(ge)}getRawValue(){return this._reduceChildren({},(Ye,ge,lt)=>(Ye[lt]=ge.getRawValue(),Ye))}_syncPendingControls(){let Ye=this._reduceChildren(!1,(ge,lt)=>!!lt._syncPendingControls()||ge);return Ye&&this.updateValueAndValidity({onlySelf:!0}),Ye}_forEachChild(Ye){Object.keys(this.controls).forEach(ge=>{const lt=this.controls[ge];lt&&Ye(lt,ge)})}_setUpControls(){this._forEachChild(Ye=>{Ye.setParent(this),Ye._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(Ye){for(const[ge,lt]of Object.entries(this.controls))if(this.contains(ge)&&Ye(lt))return!0;return!1}_reduceValue(){return this._reduceChildren({},(ge,lt,At)=>((lt.enabled||this.disabled)&&(ge[At]=lt.value),ge))}_reduceChildren(Ye,ge){let lt=Ye;return this._forEachChild((At,ir)=>{lt=ge(lt,At,ir)}),lt}_allControlsDisabled(){for(const Ye of Object.keys(this.controls))if(this.controls[Ye].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(Ye){return this.controls.hasOwnProperty(Ye)?this.controls[Ye]:null}}const _t=Sn,Pt=Le=>Le instanceof Sn;class jt extends Sn{}const ar=Le=>Le instanceof jt,ur=new n.InjectionToken("CallSetDisabledState",{providedIn:"root",factory:()=>Tr}),Tr="always";function lr(Le,Ye){return[...Ye.path,Le]}function nr(Le,Ye,ge=Tr){Vn(Le,Ye),Ye.valueAccessor.writeValue(Le.value),(Le.disabled||"always"===ge)&&Ye.valueAccessor.setDisabledState?.(Le.disabled),function dr(Le,Ye){Ye.valueAccessor.registerOnChange(ge=>{Le._pendingValue=ge,Le._pendingChange=!0,Le._pendingDirty=!0,"change"===Le.updateOn&&Fr(Le,Ye)})}(Le,Ye),function at(Le,Ye){const ge=(lt,At)=>{Ye.valueAccessor.writeValue(lt),At&&Ye.viewToModelUpdate(lt)};Le.registerOnChange(ge),Ye._registerOnDestroy(()=>{Le._unregisterOnChange(ge)})}(Le,Ye),function ii(Le,Ye){Ye.valueAccessor.registerOnTouched(()=>{Le._pendingTouched=!0,"blur"===Le.updateOn&&Le._pendingChange&&Fr(Le,Ye),"submit"!==Le.updateOn&&Le.markAsTouched()})}(Le,Ye),function rn(Le,Ye){if(Ye.valueAccessor.setDisabledState){const ge=lt=>{Ye.valueAccessor.setDisabledState(lt)};Le.registerOnDisabledChange(ge),Ye._registerOnDestroy(()=>{Le._unregisterOnDisabledChange(ge)})}}(Le,Ye)}function Nr(Le,Ye,ge=!0){const lt=()=>{};Ye.valueAccessor&&(Ye.valueAccessor.registerOnChange(lt),Ye.valueAccessor.registerOnTouched(lt)),qn(Le,Ye),Le&&(Ye._invokeOnDestroyCallbacks(),Le._registerOnCollectionChange(()=>{}))}function Ci(Le,Ye){Le.forEach(ge=>{ge.registerOnValidatorChange&&ge.registerOnValidatorChange(Ye)})}function Vn(Le,Ye){const ge=tt(Le);null!==Ye.validator?Le.setValidators(rt(ge,Ye.validator)):"function"==typeof ge&&Le.setValidators([ge]);const lt=wt(Le);null!==Ye.asyncValidator?Le.setAsyncValidators(rt(lt,Ye.asyncValidator)):"function"==typeof lt&&Le.setAsyncValidators([lt]);const At=()=>Le.updateValueAndValidity();Ci(Ye._rawValidators,At),Ci(Ye._rawAsyncValidators,At)}function qn(Le,Ye){let ge=!1;if(null!==Le){if(null!==Ye.validator){const At=tt(Le);if(Array.isArray(At)&&At.length>0){const ir=At.filter(Zn=>Zn!==Ye.validator);ir.length!==At.length&&(ge=!0,Le.setValidators(ir))}}if(null!==Ye.asyncValidator){const At=wt(Le);if(Array.isArray(At)&&At.length>0){const ir=At.filter(Zn=>Zn!==Ye.asyncValidator);ir.length!==At.length&&(ge=!0,Le.setAsyncValidators(ir))}}}const lt=()=>{};return Ci(Ye._rawValidators,lt),Ci(Ye._rawAsyncValidators,lt),ge}function Fr(Le,Ye){Le._pendingDirty&&Le.markAsDirty(),Le.setValue(Le._pendingValue,{emitModelToViewChange:!1}),Ye.viewToModelUpdate(Le._pendingValue),Le._pendingChange=!1}function xt(Le,Ye){Vn(Le,Ye)}function Xn(Le,Ye){if(!Le.hasOwnProperty("model"))return!1;const ge=Le.model;return!!ge.isFirstChange()||!Object.is(Ye,ge.currentValue)}function Or(Le,Ye){Le._syncPendingControls(),Ye.forEach(ge=>{const lt=ge.control;"submit"===lt.updateOn&<._pendingChange&&(ge.viewToModelUpdate(lt._pendingValue),lt._pendingChange=!1)})}function Vr(Le,Ye){if(!Ye)return null;let ge,lt,At;return Array.isArray(Ye),Ye.forEach(ir=>{ir.constructor===N?ge=ir:function xr(Le){return Object.getPrototypeOf(Le.constructor)===y}(ir)?lt=ir:At=ir}),At||lt||ge||null}const un={provide:Yt,useExisting:(0,n.forwardRef)(()=>F)},x=Promise.resolve();let F=(()=>{class Le extends Yt{constructor(ge,lt,At){super(),this.callSetDisabledState=At,this.submitted=!1,this._directives=new Set,this.ngSubmit=new n.EventEmitter,this.form=new Sn({},je(ge),we(lt))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(ge){x.then(()=>{const lt=this._findContainer(ge.path);ge.control=lt.registerControl(ge.name,ge.control),nr(ge.control,ge,this.callSetDisabledState),ge.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(ge)})}getControl(ge){return this.form.get(ge.path)}removeControl(ge){x.then(()=>{const lt=this._findContainer(ge.path);lt&<.removeControl(ge.name),this._directives.delete(ge)})}addFormGroup(ge){x.then(()=>{const lt=this._findContainer(ge.path),At=new Sn({});xt(At,ge),lt.registerControl(ge.name,At),At.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(ge){x.then(()=>{const lt=this._findContainer(ge.path);lt&<.removeControl(ge.name)})}getFormGroup(ge){return this.form.get(ge.path)}updateModel(ge,lt){x.then(()=>{this.form.get(ge.path).setValue(lt)})}setValue(ge){this.control.setValue(ge)}onSubmit(ge){return this.submitted=!0,Or(this.form,this._directives),this.ngSubmit.emit(ge),"dialog"===ge?.target?.method}onReset(){this.resetForm()}resetForm(ge=void 0){this.form.reset(ge),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(ge){return ge.pop(),ge.length?this.form.get(ge):this.form}static#e=this.\u0275fac=function(lt){return new(lt||Le)(n.\u0275\u0275directiveInject(R,10),n.\u0275\u0275directiveInject(k,10),n.\u0275\u0275directiveInject(ur,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Le,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(lt,At){1<&&n.\u0275\u0275listener("submit",function(Zn){return At.onSubmit(Zn)})("reset",function(){return At.onReset()})},inputs:{options:[n.\u0275\u0275InputFlags.None,"ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([un]),n.\u0275\u0275InheritDefinitionFeature]})}return Le})();function Q(Le,Ye){const ge=Le.indexOf(Ye);ge>-1&&Le.splice(ge,1)}function De(Le){return"object"==typeof Le&&null!==Le&&2===Object.keys(Le).length&&"value"in Le&&"disabled"in Le}const me=class extends Vt{constructor(Ye=null,ge,lt){super(qe(ge),He(lt,ge)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(Ye),this._setUpdateStrategy(ge),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),pt(ge)&&(ge.nonNullable||ge.initialValueIsDefault)&&(this.defaultValue=De(Ye)?Ye.value:Ye)}setValue(Ye,ge={}){this.value=this._pendingValue=Ye,this._onChange.length&&!1!==ge.emitModelToViewChange&&this._onChange.forEach(lt=>lt(this.value,!1!==ge.emitViewToModelChange)),this.updateValueAndValidity(ge)}patchValue(Ye,ge={}){this.setValue(Ye,ge)}reset(Ye=this.defaultValue,ge={}){this._applyFormState(Ye),this.markAsPristine(ge),this.markAsUntouched(ge),this.setValue(this.value,ge),this._pendingChange=!1}_updateValue(){}_anyControls(Ye){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(Ye){this._onChange.push(Ye)}_unregisterOnChange(Ye){Q(this._onChange,Ye)}registerOnDisabledChange(Ye){this._onDisabledChange.push(Ye)}_unregisterOnDisabledChange(Ye){Q(this._onDisabledChange,Ye)}_forEachChild(Ye){}_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(Ye){De(Ye)?(this.value=this._pendingValue=Ye.value,Ye.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=Ye}},q=me,fe=Le=>Le instanceof me;let nt=(()=>{class Le extends Yt{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return lr(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 ge;return function(At){return(ge||(ge=n.\u0275\u0275getInheritedFactory(Le)))(At||Le)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Le,features:[n.\u0275\u0275InheritDefinitionFeature]})}return Le})();const pn={provide:Yt,useExisting:(0,n.forwardRef)(()=>vn)};let vn=(()=>{class Le extends nt{constructor(ge,lt,At){super(),this.name="",this._parent=ge,this._setValidators(lt),this._setAsyncValidators(At)}_checkParentType(){}static#e=this.\u0275fac=function(lt){return new(lt||Le)(n.\u0275\u0275directiveInject(Yt,5),n.\u0275\u0275directiveInject(R,10),n.\u0275\u0275directiveInject(k,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Le,selectors:[["","ngModelGroup",""]],inputs:{name:[n.\u0275\u0275InputFlags.None,"ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[n.\u0275\u0275ProvidersFeature([pn]),n.\u0275\u0275InheritDefinitionFeature]})}return Le})();const bn={provide:Zt,useExisting:(0,n.forwardRef)(()=>In)},fn=Promise.resolve();let In=(()=>{class Le extends Zt{constructor(ge,lt,At,ir,Zn,Mi){super(),this._changeDetectorRef=Zn,this.callSetDisabledState=Mi,this.control=new me,this._registered=!1,this.name="",this.update=new n.EventEmitter,this._parent=ge,this._setValidators(lt),this._setAsyncValidators(At),this.valueAccessor=Vr(0,ir)}ngOnChanges(ge){if(this._checkForErrors(),!this._registered||"name"in ge){if(this._registered&&(this._checkName(),this.formDirective)){const lt=ge.name.previousValue;this.formDirective.removeControl({name:lt,path:this._getPath(lt)})}this._setUpControl()}"isDisabled"in ge&&this._updateDisabled(ge),Xn(ge,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(ge){this.viewModel=ge,this.update.emit(ge)}_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(){nr(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(ge){fn.then(()=>{this.control.setValue(ge,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(ge){const lt=ge.isDisabled.currentValue,At=0!==lt&&(0,n.booleanAttribute)(lt);fn.then(()=>{At&&!this.control.disabled?this.control.disable():!At&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(ge){return this._parent?lr(ge,this._parent):[ge]}static#e=this.\u0275fac=function(lt){return new(lt||Le)(n.\u0275\u0275directiveInject(Yt,9),n.\u0275\u0275directiveInject(R,10),n.\u0275\u0275directiveInject(k,10),n.\u0275\u0275directiveInject(f,10),n.\u0275\u0275directiveInject(n.ChangeDetectorRef,8),n.\u0275\u0275directiveInject(ur,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Le,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([bn]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return Le})(),Bn=(()=>{class Le{static#e=this.\u0275fac=function(lt){return new(lt||Le)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Le,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return Le})();const _r={provide:f,useExisting:(0,n.forwardRef)(()=>hr),multi:!0};let hr=(()=>{class Le extends y{writeValue(ge){this.setProperty("value",ge??"")}registerOnChange(ge){this.onChange=lt=>{ge(""==lt?null:parseFloat(lt))}}static#e=this.\u0275fac=(()=>{let ge;return function(At){return(ge||(ge=n.\u0275\u0275getInheritedFactory(Le)))(At||Le)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Le,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(lt,At){1<&&n.\u0275\u0275listener("input",function(Zn){return At.onChange(Zn.target.value)})("blur",function(){return At.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([_r]),n.\u0275\u0275InheritDefinitionFeature]})}return Le})();const Lr={provide:f,useExisting:(0,n.forwardRef)(()=>co),multi:!0};let st=(()=>{class Le{constructor(){this._accessors=[]}add(ge,lt){this._accessors.push([ge,lt])}remove(ge){for(let lt=this._accessors.length-1;lt>=0;--lt)if(this._accessors[lt][1]===ge)return void this._accessors.splice(lt,1)}select(ge){this._accessors.forEach(lt=>{this._isSameGroup(lt,ge)&<[1]!==ge&<[1].fireUncheck(ge.value)})}_isSameGroup(ge,lt){return!!ge[0].control&&ge[0]._parent===lt._control._parent&&ge[1].name===lt.name}static#e=this.\u0275fac=function(lt){return new(lt||Le)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Le,factory:Le.\u0275fac,providedIn:"root"})}return Le})(),co=(()=>{class Le extends y{constructor(ge,lt,At,ir){super(ge,lt),this._registry=At,this._injector=ir,this.setDisabledStateFired=!1,this.onChange=()=>{},this.callSetDisabledState=(0,n.inject)(ur,{optional:!0})??Tr}ngOnInit(){this._control=this._injector.get(Zt),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(ge){this._state=ge===this.value,this.setProperty("checked",this._state)}registerOnChange(ge){this._fn=ge,this.onChange=()=>{ge(this.value),this._registry.select(this)}}setDisabledState(ge){(this.setDisabledStateFired||ge||"whenDisabledForLegacyCode"===this.callSetDisabledState)&&this.setProperty("disabled",ge),this.setDisabledStateFired=!0}fireUncheck(ge){this.writeValue(ge)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}static#e=this.\u0275fac=function(lt){return new(lt||Le)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(st),n.\u0275\u0275directiveInject(n.Injector))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Le,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(lt,At){1<&&n.\u0275\u0275listener("change",function(){return At.onChange()})("blur",function(){return At.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[n.\u0275\u0275ProvidersFeature([Lr]),n.\u0275\u0275InheritDefinitionFeature]})}return Le})();const Ri={provide:f,useExisting:(0,n.forwardRef)(()=>Ur),multi:!0};let Ur=(()=>{class Le extends y{writeValue(ge){this.setProperty("value",parseFloat(ge))}registerOnChange(ge){this.onChange=lt=>{ge(""==lt?null:parseFloat(lt))}}static#e=this.\u0275fac=(()=>{let ge;return function(At){return(ge||(ge=n.\u0275\u0275getInheritedFactory(Le)))(At||Le)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Le,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(lt,At){1<&&n.\u0275\u0275listener("change",function(Zn){return At.onChange(Zn.target.value)})("input",function(Zn){return At.onChange(Zn.target.value)})("blur",function(){return At.onTouched()})},features:[n.\u0275\u0275ProvidersFeature([Ri]),n.\u0275\u0275InheritDefinitionFeature]})}return Le})();const xn=new n.InjectionToken(""),Jn={provide:Zt,useExisting:(0,n.forwardRef)(()=>Gr)};let Gr=(()=>{class Le extends Zt{set isDisabled(ge){}static#e=this._ngModelWarningSentOnce=!1;constructor(ge,lt,At,ir,Zn){super(),this._ngModelWarningConfig=ir,this.callSetDisabledState=Zn,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._setValidators(ge),this._setAsyncValidators(lt),this.valueAccessor=Vr(0,At)}ngOnChanges(ge){if(this._isControlChanged(ge)){const lt=ge.form.previousValue;lt&&Nr(lt,this,!1),nr(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}Xn(ge,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Nr(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(ge){this.viewModel=ge,this.update.emit(ge)}_isControlChanged(ge){return ge.hasOwnProperty("form")}static#t=this.\u0275fac=function(lt){return new(lt||Le)(n.\u0275\u0275directiveInject(R,10),n.\u0275\u0275directiveInject(k,10),n.\u0275\u0275directiveInject(f,10),n.\u0275\u0275directiveInject(xn,8),n.\u0275\u0275directiveInject(ur,8))};static#n=this.\u0275dir=n.\u0275\u0275defineDirective({type:Le,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([Jn]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return Le})();const jn={provide:Yt,useExisting:(0,n.forwardRef)(()=>pi)};let pi=(()=>{class Le extends Yt{constructor(ge,lt,At){super(),this.callSetDisabledState=At,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new n.EventEmitter,this._setValidators(ge),this._setAsyncValidators(lt)}ngOnChanges(ge){this._checkFormPresent(),ge.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(qn(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(ge){const lt=this.form.get(ge.path);return nr(lt,ge,this.callSetDisabledState),lt.updateValueAndValidity({emitEvent:!1}),this.directives.push(ge),lt}getControl(ge){return this.form.get(ge.path)}removeControl(ge){Nr(ge.control||null,ge,!1),function Ir(Le,Ye){const ge=Le.indexOf(Ye);ge>-1&&Le.splice(ge,1)}(this.directives,ge)}addFormGroup(ge){this._setUpFormContainer(ge)}removeFormGroup(ge){this._cleanUpFormContainer(ge)}getFormGroup(ge){return this.form.get(ge.path)}addFormArray(ge){this._setUpFormContainer(ge)}removeFormArray(ge){this._cleanUpFormContainer(ge)}getFormArray(ge){return this.form.get(ge.path)}updateModel(ge,lt){this.form.get(ge.path).setValue(lt)}onSubmit(ge){return this.submitted=!0,Or(this.form,this.directives),this.ngSubmit.emit(ge),"dialog"===ge?.target?.method}onReset(){this.resetForm()}resetForm(ge=void 0){this.form.reset(ge),this.submitted=!1}_updateDomValue(){this.directives.forEach(ge=>{const lt=ge.control,At=this.form.get(ge.path);lt!==At&&(Nr(lt||null,ge),fe(At)&&(nr(At,ge,this.callSetDisabledState),ge.control=At))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(ge){const lt=this.form.get(ge.path);xt(lt,ge),lt.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(ge){if(this.form){const lt=this.form.get(ge.path);lt&&function Dt(Le,Ye){return qn(Le,Ye)}(lt,ge)&<.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){Vn(this.form,this),this._oldForm&&qn(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(lt){return new(lt||Le)(n.\u0275\u0275directiveInject(R,10),n.\u0275\u0275directiveInject(k,10),n.\u0275\u0275directiveInject(ur,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Le,selectors:[["","formGroup",""]],hostBindings:function(lt,At){1<&&n.\u0275\u0275listener("submit",function(Zn){return At.onSubmit(Zn)})("reset",function(){return At.onReset()})},inputs:{form:[n.\u0275\u0275InputFlags.None,"formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[n.\u0275\u0275ProvidersFeature([jn]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return Le})();const Zi={provide:Yt,useExisting:(0,n.forwardRef)(()=>qr)};let qr=(()=>{class Le extends nt{constructor(ge,lt,At){super(),this.name=null,this._parent=ge,this._setValidators(lt),this._setAsyncValidators(At)}_checkParentType(){ji(this._parent)}static#e=this.\u0275fac=function(lt){return new(lt||Le)(n.\u0275\u0275directiveInject(Yt,13),n.\u0275\u0275directiveInject(R,10),n.\u0275\u0275directiveInject(k,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Le,selectors:[["","formGroupName",""]],inputs:{name:[n.\u0275\u0275InputFlags.None,"formGroupName","name"]},features:[n.\u0275\u0275ProvidersFeature([Zi]),n.\u0275\u0275InheritDefinitionFeature]})}return Le})();const oi={provide:Yt,useExisting:(0,n.forwardRef)(()=>ni)};let ni=(()=>{class Le extends Yt{constructor(ge,lt,At){super(),this.name=null,this._parent=ge,this._setValidators(lt),this._setAsyncValidators(At)}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 lr(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){ji(this._parent)}static#e=this.\u0275fac=function(lt){return new(lt||Le)(n.\u0275\u0275directiveInject(Yt,13),n.\u0275\u0275directiveInject(R,10),n.\u0275\u0275directiveInject(k,10))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Le,selectors:[["","formArrayName",""]],inputs:{name:[n.\u0275\u0275InputFlags.None,"formArrayName","name"]},features:[n.\u0275\u0275ProvidersFeature([oi]),n.\u0275\u0275InheritDefinitionFeature]})}return Le})();function ji(Le){return!(Le instanceof qr||Le instanceof pi||Le instanceof ni)}const yr={provide:Zt,useExisting:(0,n.forwardRef)(()=>Ji)};let Ji=(()=>{class Le extends Zt{set isDisabled(ge){}static#e=this._ngModelWarningSentOnce=!1;constructor(ge,lt,At,ir,Zn){super(),this._ngModelWarningConfig=Zn,this._added=!1,this.name=null,this.update=new n.EventEmitter,this._ngModelWarningSent=!1,this._parent=ge,this._setValidators(lt),this._setAsyncValidators(At),this.valueAccessor=Vr(0,ir)}ngOnChanges(ge){this._added||this._setUpControl(),Xn(ge,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(ge){this.viewModel=ge,this.update.emit(ge)}get path(){return lr(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(lt){return new(lt||Le)(n.\u0275\u0275directiveInject(Yt,13),n.\u0275\u0275directiveInject(R,10),n.\u0275\u0275directiveInject(k,10),n.\u0275\u0275directiveInject(f,10),n.\u0275\u0275directiveInject(xn,8))};static#n=this.\u0275dir=n.\u0275\u0275defineDirective({type:Le,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([yr]),n.\u0275\u0275InheritDefinitionFeature,n.\u0275\u0275NgOnChangesFeature]})}return Le})();const Do={provide:f,useExisting:(0,n.forwardRef)(()=>ro),multi:!0};function vo(Le,Ye){return null==Le?`${Ye}`:(Ye&&"object"==typeof Ye&&(Ye="Object"),`${Le}: ${Ye}`.slice(0,50))}let ro=(()=>{class Le extends y{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(ge){this._compareWith=ge}writeValue(ge){this.value=ge;const At=vo(this._getOptionId(ge),ge);this.setProperty("value",At)}registerOnChange(ge){this.onChange=lt=>{this.value=this._getOptionValue(lt),ge(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(ge){for(const lt of this._optionMap.keys())if(this._compareWith(this._optionMap.get(lt),ge))return lt;return null}_getOptionValue(ge){const lt=function ri(Le){return Le.split(":")[0]}(ge);return this._optionMap.has(lt)?this._optionMap.get(lt):ge}static#e=this.\u0275fac=(()=>{let ge;return function(At){return(ge||(ge=n.\u0275\u0275getInheritedFactory(Le)))(At||Le)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Le,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(lt,At){1<&&n.\u0275\u0275listener("change",function(Zn){return At.onChange(Zn.target.value)})("blur",function(){return At.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([Do]),n.\u0275\u0275InheritDefinitionFeature]})}return Le})(),Rr=(()=>{class Le{constructor(ge,lt,At){this._element=ge,this._renderer=lt,this._select=At,this._select&&(this.id=this._select._registerOption())}set ngValue(ge){null!=this._select&&(this._select._optionMap.set(this.id,ge),this._setElementValue(vo(this.id,ge)),this._select.writeValue(this._select.value))}set value(ge){this._setElementValue(ge),this._select&&this._select.writeValue(this._select.value)}_setElementValue(ge){this._renderer.setProperty(this._element.nativeElement,"value",ge)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(lt){return new(lt||Le)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(ro,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Le,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return Le})();const oo={provide:f,useExisting:(0,n.forwardRef)(()=>Hi),multi:!0};function Pn(Le,Ye){return null==Le?`${Ye}`:("string"==typeof Ye&&(Ye=`'${Ye}'`),Ye&&"object"==typeof Ye&&(Ye="Object"),`${Le}: ${Ye}`.slice(0,50))}let Hi=(()=>{class Le extends y{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(ge){this._compareWith=ge}writeValue(ge){let lt;if(this.value=ge,Array.isArray(ge)){const At=ge.map(ir=>this._getOptionId(ir));lt=(ir,Zn)=>{ir._setSelected(At.indexOf(Zn.toString())>-1)}}else lt=(At,ir)=>{At._setSelected(!1)};this._optionMap.forEach(lt)}registerOnChange(ge){this.onChange=lt=>{const At=[],ir=lt.selectedOptions;if(void 0!==ir){const Zn=ir;for(let Mi=0;Mi{let ge;return function(At){return(ge||(ge=n.\u0275\u0275getInheritedFactory(Le)))(At||Le)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Le,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(lt,At){1<&&n.\u0275\u0275listener("change",function(Zn){return At.onChange(Zn.target)})("blur",function(){return At.onTouched()})},inputs:{compareWith:"compareWith"},features:[n.\u0275\u0275ProvidersFeature([oo]),n.\u0275\u0275InheritDefinitionFeature]})}return Le})(),ai=(()=>{class Le{constructor(ge,lt,At){this._element=ge,this._renderer=lt,this._select=At,this._select&&(this.id=this._select._registerOption(this))}set ngValue(ge){null!=this._select&&(this._value=ge,this._setElementValue(Pn(this.id,ge)),this._select.writeValue(this._select.value))}set value(ge){this._select?(this._value=ge,this._setElementValue(Pn(this.id,ge)),this._select.writeValue(this._select.value)):this._setElementValue(ge)}_setElementValue(ge){this._renderer.setProperty(this._element.nativeElement,"value",ge)}_setSelected(ge){this._renderer.setProperty(this._element.nativeElement,"selected",ge)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}static#e=this.\u0275fac=function(lt){return new(lt||Le)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(Hi,9))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Le,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}})}return Le})();function pr(Le){return"number"==typeof Le?Le:parseInt(Le,10)}function yo(Le){return"number"==typeof Le?Le:parseFloat(Le)}let Ai=(()=>{class Le{constructor(){this._validator=ke}ngOnChanges(ge){if(this.inputName in ge){const lt=this.normalizeInput(ge[this.inputName].currentValue);this._enabled=this.enabled(lt),this._validator=this._enabled?this.createValidator(lt):ke,this._onChange&&this._onChange()}}validate(ge){return this._validator(ge)}registerOnValidatorChange(ge){this._onChange=ge}enabled(ge){return null!=ge}static#e=this.\u0275fac=function(lt){return new(lt||Le)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Le,features:[n.\u0275\u0275NgOnChangesFeature]})}return Le})();const Pi={provide:R,useExisting:(0,n.forwardRef)(()=>Mo),multi:!0};let Mo=(()=>{class Le extends Ai{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=ge=>yo(ge),this.createValidator=ge=>ie(ge)}static#e=this.\u0275fac=(()=>{let ge;return function(At){return(ge||(ge=n.\u0275\u0275getInheritedFactory(Le)))(At||Le)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Le,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(lt,At){2<&&n.\u0275\u0275attribute("max",At._enabled?At.max:null)},inputs:{max:"max"},features:[n.\u0275\u0275ProvidersFeature([Pi]),n.\u0275\u0275InheritDefinitionFeature]})}return Le})();const uo={provide:R,useExisting:(0,n.forwardRef)(()=>Yr),multi:!0};let Yr=(()=>{class Le extends Ai{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=ge=>yo(ge),this.createValidator=ge=>K(ge)}static#e=this.\u0275fac=(()=>{let ge;return function(At){return(ge||(ge=n.\u0275\u0275getInheritedFactory(Le)))(At||Le)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Le,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(lt,At){2<&&n.\u0275\u0275attribute("min",At._enabled?At.min:null)},inputs:{min:"min"},features:[n.\u0275\u0275ProvidersFeature([uo]),n.\u0275\u0275InheritDefinitionFeature]})}return Le})();const So={provide:R,useExisting:(0,n.forwardRef)(()=>ei),multi:!0},Vi={provide:R,useExisting:(0,n.forwardRef)(()=>Uo),multi:!0};let ei=(()=>{class Le extends Ai{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=n.booleanAttribute,this.createValidator=ge=>J}enabled(ge){return ge}static#e=this.\u0275fac=(()=>{let ge;return function(At){return(ge||(ge=n.\u0275\u0275getInheritedFactory(Le)))(At||Le)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Le,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(lt,At){2<&&n.\u0275\u0275attribute("required",At._enabled?"":null)},inputs:{required:"required"},features:[n.\u0275\u0275ProvidersFeature([So]),n.\u0275\u0275InheritDefinitionFeature]})}return Le})(),Uo=(()=>{class Le extends ei{constructor(){super(...arguments),this.createValidator=ge=>be}static#e=this.\u0275fac=(()=>{let ge;return function(At){return(ge||(ge=n.\u0275\u0275getInheritedFactory(Le)))(At||Le)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Le,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(lt,At){2<&&n.\u0275\u0275attribute("required",At._enabled?"":null)},features:[n.\u0275\u0275ProvidersFeature([Vi]),n.\u0275\u0275InheritDefinitionFeature]})}return Le})();const Fi={provide:R,useExisting:(0,n.forwardRef)(()=>ao),multi:!0};let ao=(()=>{class Le extends Ai{constructor(){super(...arguments),this.inputName="email",this.normalizeInput=n.booleanAttribute,this.createValidator=ge=>ce}enabled(ge){return ge}static#e=this.\u0275fac=(()=>{let ge;return function(At){return(ge||(ge=n.\u0275\u0275getInheritedFactory(Le)))(At||Le)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Le,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[n.\u0275\u0275ProvidersFeature([Fi]),n.\u0275\u0275InheritDefinitionFeature]})}return Le})();const Gi={provide:R,useExisting:(0,n.forwardRef)(()=>xo),multi:!0};let xo=(()=>{class Le extends Ai{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=ge=>pr(ge),this.createValidator=ge=>Ge(ge)}static#e=this.\u0275fac=(()=>{let ge;return function(At){return(ge||(ge=n.\u0275\u0275getInheritedFactory(Le)))(At||Le)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Le,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(lt,At){2<&&n.\u0275\u0275attribute("minlength",At._enabled?At.minlength:null)},inputs:{minlength:"minlength"},features:[n.\u0275\u0275ProvidersFeature([Gi]),n.\u0275\u0275InheritDefinitionFeature]})}return Le})();const Bo={provide:R,useExisting:(0,n.forwardRef)(()=>so),multi:!0};let so=(()=>{class Le extends Ai{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=ge=>pr(ge),this.createValidator=ge=>ct(ge)}static#e=this.\u0275fac=(()=>{let ge;return function(At){return(ge||(ge=n.\u0275\u0275getInheritedFactory(Le)))(At||Le)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Le,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(lt,At){2<&&n.\u0275\u0275attribute("maxlength",At._enabled?At.maxlength:null)},inputs:{maxlength:"maxlength"},features:[n.\u0275\u0275ProvidersFeature([Bo]),n.\u0275\u0275InheritDefinitionFeature]})}return Le})();const Oo={provide:R,useExisting:(0,n.forwardRef)(()=>mo),multi:!0};let mo=(()=>{class Le extends Ai{constructor(){super(...arguments),this.inputName="pattern",this.normalizeInput=ge=>ge,this.createValidator=ge=>Oe(ge)}static#e=this.\u0275fac=(()=>{let ge;return function(At){return(ge||(ge=n.\u0275\u0275getInheritedFactory(Le)))(At||Le)}})();static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Le,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(lt,At){2<&&n.\u0275\u0275attribute("pattern",At._enabled?At.pattern:null)},inputs:{pattern:"pattern"},features:[n.\u0275\u0275ProvidersFeature([Oo]),n.\u0275\u0275InheritDefinitionFeature]})}return Le})(),Qo=(()=>{class Le{static#e=this.\u0275fac=function(lt){return new(lt||Le)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Le});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return Le})();class Ni extends Vt{constructor(Ye,ge,lt){super(qe(ge),He(lt,ge)),this.controls=Ye,this._initObservables(),this._setUpdateStrategy(ge),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(Ye){return this.controls[this._adjustIndex(Ye)]}push(Ye,ge={}){this.controls.push(Ye),this._registerControl(Ye),this.updateValueAndValidity({emitEvent:ge.emitEvent}),this._onCollectionChange()}insert(Ye,ge,lt={}){this.controls.splice(Ye,0,ge),this._registerControl(ge),this.updateValueAndValidity({emitEvent:lt.emitEvent})}removeAt(Ye,ge={}){let lt=this._adjustIndex(Ye);lt<0&&(lt=0),this.controls[lt]&&this.controls[lt]._registerOnCollectionChange(()=>{}),this.controls.splice(lt,1),this.updateValueAndValidity({emitEvent:ge.emitEvent})}setControl(Ye,ge,lt={}){let At=this._adjustIndex(Ye);At<0&&(At=0),this.controls[At]&&this.controls[At]._registerOnCollectionChange(()=>{}),this.controls.splice(At,1),ge&&(this.controls.splice(At,0,ge),this._registerControl(ge)),this.updateValueAndValidity({emitEvent:lt.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(Ye,ge={}){Ln(this,0,Ye),Ye.forEach((lt,At)=>{an(this,!1,At),this.at(At).setValue(lt,{onlySelf:!0,emitEvent:ge.emitEvent})}),this.updateValueAndValidity(ge)}patchValue(Ye,ge={}){null!=Ye&&(Ye.forEach((lt,At)=>{this.at(At)&&this.at(At).patchValue(lt,{onlySelf:!0,emitEvent:ge.emitEvent})}),this.updateValueAndValidity(ge))}reset(Ye=[],ge={}){this._forEachChild((lt,At)=>{lt.reset(Ye[At],{onlySelf:!0,emitEvent:ge.emitEvent})}),this._updatePristine(ge),this._updateTouched(ge),this.updateValueAndValidity(ge)}getRawValue(){return this.controls.map(Ye=>Ye.getRawValue())}clear(Ye={}){this.controls.length<1||(this._forEachChild(ge=>ge._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:Ye.emitEvent}))}_adjustIndex(Ye){return Ye<0?Ye+this.length:Ye}_syncPendingControls(){let Ye=this.controls.reduce((ge,lt)=>!!lt._syncPendingControls()||ge,!1);return Ye&&this.updateValueAndValidity({onlySelf:!0}),Ye}_forEachChild(Ye){this.controls.forEach((ge,lt)=>{Ye(ge,lt)})}_updateValue(){this.value=this.controls.filter(Ye=>Ye.enabled||this.disabled).map(Ye=>Ye.value)}_anyControls(Ye){return this.controls.some(ge=>ge.enabled&&Ye(ge))}_setUpControls(){this._forEachChild(Ye=>this._registerControl(Ye))}_allControlsDisabled(){for(const Ye of this.controls)if(Ye.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(Ye){Ye.setParent(this),Ye._registerOnCollectionChange(this._onCollectionChange)}_find(Ye){return this.at(Ye)??null}}const jo=Ni,zo=Le=>Le instanceof Ni;function Lo(Le){return!!Le&&(void 0!==Le.asyncValidators||void 0!==Le.validators||void 0!==Le.updateOn)}let Xi=(()=>{class Le{constructor(){this.useNonNullable=!1}get nonNullable(){const ge=new Le;return ge.useNonNullable=!0,ge}group(ge,lt=null){const At=this._reduceControls(ge);let ir={};return Lo(lt)?ir=lt:null!==lt&&(ir.validators=lt.validator,ir.asyncValidators=lt.asyncValidator),new Sn(At,ir)}record(ge,lt=null){const At=this._reduceControls(ge);return new jt(At,lt)}control(ge,lt,At){let ir={};return this.useNonNullable?(Lo(lt)?ir=lt:(ir.validators=lt,ir.asyncValidators=At),new me(ge,{...ir,nonNullable:!0})):new me(ge,lt,At)}array(ge,lt,At){const ir=ge.map(Zn=>this._createControl(Zn));return new Ni(ir,lt,At)}_reduceControls(ge){const lt={};return Object.keys(ge).forEach(At=>{lt[At]=this._createControl(ge[At])}),lt}_createControl(ge){return ge instanceof me||ge instanceof Vt?ge:Array.isArray(ge)?this.control(ge[0],ge.length>1?ge[1]:null,ge.length>2?ge[2]:null):this.control(ge)}static#e=this.\u0275fac=function(lt){return new(lt||Le)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Le,factory:Le.\u0275fac,providedIn:"root"})}return Le})(),ua=(()=>{class Le{static#e=this.\u0275fac=function(lt){return new(lt||Le)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Le,factory:()=>(0,n.inject)(Xi).nonNullable,providedIn:"root"})}return Le})(),Zo=(()=>{class Le extends Xi{group(ge,lt=null){return super.group(ge,lt)}control(ge,lt,At){return super.control(ge,lt,At)}array(ge,lt,At){return super.array(ge,lt,At)}static#e=this.\u0275fac=(()=>{let ge;return function(At){return(ge||(ge=n.\u0275\u0275getInheritedFactory(Le)))(At||Le)}})();static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Le,factory:Le.\u0275fac,providedIn:"root"})}return Le})();const To=new n.Version("17.2.3");let Wo=(()=>{class Le{static withConfig(ge){return{ngModule:Le,providers:[{provide:ur,useValue:ge.callSetDisabledState??Tr}]}}static#e=this.\u0275fac=function(lt){return new(lt||Le)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Le});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[Qo]})}return Le})(),Jo=(()=>{class Le{static withConfig(ge){return{ngModule:Le,providers:[{provide:xn,useValue:ge.warnOnNgModelWithFormControl??"always"},{provide:ur,useValue:ge.callSetDisabledState??Tr}]}}static#e=this.\u0275fac=function(lt){return new(lt||Le)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Le});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({imports:[Qo]})}return Le})()},44556:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{ANIMATION_MODULE_TYPE:()=>n.ANIMATION_MODULE_TYPE,BrowserAnimationsModule:()=>la,NoopAnimationsModule:()=>go,provideAnimations:()=>Ao,provideNoopAnimations:()=>ma,\u0275InjectableAnimationEngine:()=>io});var n=s(54496),c=s(14476),u=function(et){return et[et.State=0]="State",et[et.Transition=1]="Transition",et[et.Sequence=2]="Sequence",et[et.Group=3]="Group",et[et.Animate=4]="Animate",et[et.Keyframes=5]="Keyframes",et[et.Style=6]="Style",et[et.Trigger=7]="Trigger",et[et.Reference=8]="Reference",et[et.AnimateChild=9]="AnimateChild",et[et.AnimateRef=10]="AnimateRef",et[et.Query=11]="Query",et[et.Stagger=12]="Stagger",et}(u||{});const l="*";function v(et){return{type:u.Style,styles:et,offset:null}}class A{constructor($=0,ee=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=$+ee}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach($=>$()),this._onDoneFns=[])}onStart($){this._originalOnStartFns.push($),this._onStartFns.push($)}onDone($){this._originalOnDoneFns.push($),this._onDoneFns.push($)}onDestroy($){this._onDestroyFns.push($)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach($=>$()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach($=>$()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition($){this._position=this.totalTime?$*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback($){const ee="start"==$?this._onStartFns:this._onDoneFns;ee.forEach(Ce=>Ce()),ee.length=0}}class H{constructor($){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=$;let ee=0,Ce=0,Ze=0;const Mt=this.players.length;0==Mt?queueMicrotask(()=>this._onFinish()):this.players.forEach(Rt=>{Rt.onDone(()=>{++ee==Mt&&this._onFinish()}),Rt.onDestroy(()=>{++Ce==Mt&&this._onDestroy()}),Rt.onStart(()=>{++Ze==Mt&&this._onStart()})}),this.totalTime=this.players.reduce((Rt,$t)=>Math.max(Rt,$t.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach($=>$()),this._onDoneFns=[])}init(){this.players.forEach($=>$.init())}onStart($){this._onStartFns.push($)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach($=>$()),this._onStartFns=[])}onDone($){this._onDoneFns.push($)}onDestroy($){this._onDestroyFns.push($)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach($=>$.play())}pause(){this.players.forEach($=>$.pause())}restart(){this.players.forEach($=>$.restart())}finish(){this._onFinish(),this.players.forEach($=>$.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach($=>$.destroy()),this._onDestroyFns.forEach($=>$()),this._onDestroyFns=[])}reset(){this.players.forEach($=>$.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition($){const ee=$*this.totalTime;this.players.forEach(Ce=>{const Ze=Ce.totalTime?Math.min(1,ee/Ce.totalTime):1;Ce.setPosition(Ze)})}getPosition(){const $=this.players.reduce((ee,Ce)=>null===ee||Ce.totalTime>ee.totalTime?Ce:ee,null);return null!=$?$.getPosition():0}beforeDestroy(){this.players.forEach($=>{$.beforeDestroy&&$.beforeDestroy()})}triggerCallback($){const ee="start"==$?this._onStartFns:this._onDoneFns;ee.forEach(Ce=>Ce()),ee.length=0}}function J(et){return new n.\u0275RuntimeError(3e3,!1)}function We(et){switch(et.length){case 0:return new A;case 1:return et[0];default:return new H(et)}}function ze(et,$,ee=new Map,Ce=new Map){const Ze=[],Mt=[];let Rt=-1,$t=null;if($.forEach(Kt=>{const yn=Kt.get("offset"),rr=yn==Rt,er=rr&&$t||new Map;Kt.forEach((Kr,Mr)=>{let fr=Mr,Dr=Kr;if("offset"!==Mr)switch(fr=et.normalizePropertyName(fr,Ze),Dr){case"!":Dr=ee.get(Mr);break;case l:Dr=Ce.get(Mr);break;default:Dr=et.normalizeStyleValue(Mr,fr,Dr,Ze)}er.set(fr,Dr)}),rr||Mt.push(er),$t=er,Rt=yn}),Ze.length)throw function nn(et){return new n.\u0275RuntimeError(3502,!1)}();return Mt}function gt(et,$,ee,Ce){switch($){case"start":et.onStart(()=>Ce(ee&&Gt(ee,"start",et)));break;case"done":et.onDone(()=>Ce(ee&&Gt(ee,"done",et)));break;case"destroy":et.onDestroy(()=>Ce(ee&&Gt(ee,"destroy",et)))}}function Gt(et,$,ee){const Mt=dn(et.element,et.triggerName,et.fromState,et.toState,$||et.phaseName,ee.totalTime??et.totalTime,!!ee.disabled),Rt=et._data;return null!=Rt&&(Mt._data=Rt),Mt}function dn(et,$,ee,Ce,Ze="",Mt=0,Rt){return{element:et,triggerName:$,fromState:ee,toState:Ce,phaseName:Ze,totalTime:Mt,disabled:!!Rt}}function $n(et,$,ee){let Ce=et.get($);return Ce||et.set($,Ce=ee),Ce}function tr(et){const $=et.indexOf(":");return[et.substring(1,$),et.slice($+1)]}const br=typeof document>"u"?null:document.documentElement;function or(et){const $=et.parentNode||et.host||null;return $===br?null:$}let Cr=null,jr=!1;function Ct(et,$){for(;$;){if($===et)return!0;$=or($)}return!1}function qe(et,$,ee){if(ee)return Array.from(et.querySelectorAll($));const Ce=et.querySelector($);return Ce?[Ce]:[]}let He=(()=>{class et{validateStyleProperty(ee){return function Yn(et){Cr||(Cr=function en(){return typeof document<"u"?document.body:null}()||{},jr=!!Cr.style&&"WebkitAppearance"in Cr.style);let $=!0;return Cr.style&&!function fi(et){return"ebkit"==et.substring(1,6)}(et)&&($=et in Cr.style,!$&&jr&&($="Webkit"+et.charAt(0).toUpperCase()+et.slice(1)in Cr.style)),$}(ee)}matchesElement(ee,Ce){return!1}containsElement(ee,Ce){return Ct(ee,Ce)}getParentElement(ee){return or(ee)}query(ee,Ce,Ze){return qe(ee,Ce,Ze)}computeStyle(ee,Ce,Ze){return Ze||""}animate(ee,Ce,Ze,Mt,Rt,$t=[],Kt){return new A(Ze,Mt)}static#e=this.\u0275fac=function(Ce){return new(Ce||et)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:et,factory:et.\u0275fac})}return et})();class vt{static#e=this.NOOP=new He}class pt{}const Ln=1e3,xe="ng-enter",_t="ng-leave",Pt="ng-trigger",jt=".ng-trigger",ar="ng-animating",ur=".ng-animating";function Tr(et){if("number"==typeof et)return et;const $=et.match(/^(-?[\.\d]+)(m?s)/);return!$||$.length<2?0:lr(parseFloat($[1]),$[2])}function lr(et,$){return"s"===$?et*Ln:et}function nr(et,$,ee){return et.hasOwnProperty("duration")?et:function Nr(et,$,ee){let Ze,Mt=0,Rt="";if("string"==typeof et){const $t=et.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===$t)return $.push(J()),{duration:0,delay:0,easing:""};Ze=lr(parseFloat($t[1]),$t[2]);const Kt=$t[3];null!=Kt&&(Mt=lr(parseFloat(Kt),$t[4]));const yn=$t[5];yn&&(Rt=yn)}else Ze=et;if(!ee){let $t=!1,Kt=$.length;Ze<0&&($.push(function be(){return new n.\u0275RuntimeError(3100,!1)}()),$t=!0),Mt<0&&($.push(function ce(){return new n.\u0275RuntimeError(3101,!1)}()),$t=!0),$t&&$.splice(Kt,0,J())}return{duration:Ze,delay:Mt,easing:Rt}}(et,$,ee)}function Vn(et,$,ee){$.forEach((Ce,Ze)=>{const Mt=sn(Ze);ee&&!ee.has(Ze)&&ee.set(Ze,et.style[Mt]),et.style[Mt]=Ce})}function qn(et,$){$.forEach((ee,Ce)=>{const Ze=sn(Ce);et.style[Ze]=""})}function dr(et){return Array.isArray(et)?1==et.length?et[0]:function d(et,$=null){return{type:u.Sequence,steps:et,options:$}}(et):et}const Fr=new RegExp("{{\\s*(.+?)\\s*}}","g");function at(et){let $=[];if("string"==typeof et){let ee;for(;ee=Fr.exec(et);)$.push(ee[1]);Fr.lastIndex=0}return $}function xt(et,$,ee){const Ce=`${et}`,Ze=Ce.replace(Fr,(Mt,Rt)=>{let $t=$[Rt];return null==$t&&(ee.push(function ct(et){return new n.\u0275RuntimeError(3003,!1)}()),$t=""),$t.toString()});return Ze==Ce?et:Ze}const Dt=/-+([a-z0-9])/g;function sn(et){return et.replace(Dt,(...$)=>$[1].toUpperCase())}function sr(et,$,ee){switch($.type){case u.Trigger:return et.visitTrigger($,ee);case u.State:return et.visitState($,ee);case u.Transition:return et.visitTransition($,ee);case u.Sequence:return et.visitSequence($,ee);case u.Group:return et.visitGroup($,ee);case u.Animate:return et.visitAnimate($,ee);case u.Keyframes:return et.visitKeyframes($,ee);case u.Style:return et.visitStyle($,ee);case u.Reference:return et.visitReference($,ee);case u.AnimateChild:return et.visitAnimateChild($,ee);case u.AnimateRef:return et.visitAnimateRef($,ee);case u.Query:return et.visitQuery($,ee);case u.Stagger:return et.visitStagger($,ee);default:throw function Oe(et){return new n.\u0275RuntimeError(3004,!1)}()}}function Xn(et,$){return window.getComputedStyle(et)[$]}const xr=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 Or extends pt{normalizePropertyName($,ee){return sn($)}normalizeStyleValue($,ee,Ce,Ze){let Mt="";const Rt=Ce.toString().trim();if(xr.has(ee)&&0!==Ce&&"0"!==Ce)if("number"==typeof Ce)Mt="px";else{const $t=Ce.match(/^[+-]?[\d\.]+([a-z]*)$/);$t&&0==$t[1].length&&Ze.push(function ke(et,$){return new n.\u0275RuntimeError(3005,!1)}())}return Rt+Mt}}const Q="*";const fe=new Set(["true","1"]),nt=new Set(["false","0"]);function mt(et,$){const ee=fe.has(et)||nt.has(et),Ce=fe.has($)||nt.has($);return(Ze,Mt)=>{let Rt=et==Q||et==Ze,$t=$==Q||$==Mt;return!Rt&&ee&&"boolean"==typeof Ze&&(Rt=Ze?fe.has(et):nt.has(et)),!$t&&Ce&&"boolean"==typeof Mt&&($t=Mt?fe.has($):nt.has($)),Rt&&$t}}const Ut=new RegExp("s*:selfs*,?","g");function tn(et,$,ee,Ce){return new vn(et).build($,ee,Ce)}class vn{constructor($){this._driver=$}build($,ee,Ce){const Ze=new In(ee);return this._resetContextStyleTimingState(Ze),sr(this,dr($),Ze)}_resetContextStyleTimingState($){$.currentQuerySelector="",$.collectedStyles=new Map,$.collectedStyles.set("",new Map),$.currentTime=0}visitTrigger($,ee){let Ce=ee.queryCount=0,Ze=ee.depCount=0;const Mt=[],Rt=[];return"@"==$.name.charAt(0)&&ee.errors.push(function Re(){return new n.\u0275RuntimeError(3006,!1)}()),$.definitions.forEach($t=>{if(this._resetContextStyleTimingState(ee),$t.type==u.State){const Kt=$t,yn=Kt.name;yn.toString().split(/\s*,\s*/).forEach(rr=>{Kt.name=rr,Mt.push(this.visitState(Kt,ee))}),Kt.name=yn}else if($t.type==u.Transition){const Kt=this.visitTransition($t,ee);Ce+=Kt.queryCount,Ze+=Kt.depCount,Rt.push(Kt)}else ee.errors.push(function Qe(){return new n.\u0275RuntimeError(3007,!1)}())}),{type:u.Trigger,name:$.name,states:Mt,transitions:Rt,queryCount:Ce,depCount:Ze,options:null}}visitState($,ee){const Ce=this.visitStyle($.styles,ee),Ze=$.options&&$.options.params||null;if(Ce.containsDynamicStyles){const Mt=new Set,Rt=Ze||{};Ce.styles.forEach($t=>{$t instanceof Map&&$t.forEach(Kt=>{at(Kt).forEach(yn=>{Rt.hasOwnProperty(yn)||Mt.add(yn)})})}),Mt.size&&ee.errors.push(function $e(et,$){return new n.\u0275RuntimeError(3008,!1)}(0,Mt.values()))}return{type:u.State,name:$.name,style:Ce,options:Ze?{params:Ze}:null}}visitTransition($,ee){ee.queryCount=0,ee.depCount=0;const Ce=sr(this,dr($.animation),ee),Ze=function De(et,$){const ee=[];return"string"==typeof et?et.split(/\s*,\s*/).forEach(Ce=>function me(et,$,ee){if(":"==et[0]){const Kt=function q(et,$){switch(et){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(ee,Ce)=>parseFloat(Ce)>parseFloat(ee);case":decrement":return(ee,Ce)=>parseFloat(Ce) *"}}(et,ee);if("function"==typeof Kt)return void $.push(Kt);et=Kt}const Ce=et.match(/^(\*|[-\w]+)\s*()\s*(\*|[-\w]+)$/);if(null==Ce||Ce.length<4)return ee.push(function wt(et){return new n.\u0275RuntimeError(3015,!1)}()),$;const Ze=Ce[1],Mt=Ce[2],Rt=Ce[3];$.push(mt(Ze,Rt)),"<"==Mt[0]&&(Ze!=Q||Rt!=Q)&&$.push(mt(Rt,Ze))}(Ce,ee,$)):ee.push(et),ee}($.expr,ee.errors);return{type:u.Transition,matchers:Ze,animation:Ce,queryCount:ee.queryCount,depCount:ee.depCount,options:hr($.options)}}visitSequence($,ee){return{type:u.Sequence,steps:$.steps.map(Ce=>sr(this,Ce,ee)),options:hr($.options)}}visitGroup($,ee){const Ce=ee.currentTime;let Ze=0;const Mt=$.steps.map(Rt=>{ee.currentTime=Ce;const $t=sr(this,Rt,ee);return Ze=Math.max(Ze,ee.currentTime),$t});return ee.currentTime=Ze,{type:u.Group,steps:Mt,options:hr($.options)}}visitAnimate($,ee){const Ce=function _r(et,$){if(et.hasOwnProperty("duration"))return et;if("number"==typeof et)return Lr(nr(et,$).duration,0,"");const ee=et;if(ee.split(/\s+/).some(Mt=>"{"==Mt.charAt(0)&&"{"==Mt.charAt(1))){const Mt=Lr(0,0,"");return Mt.dynamic=!0,Mt.strValue=ee,Mt}const Ze=nr(ee,$);return Lr(Ze.duration,Ze.delay,Ze.easing)}($.timings,ee.errors);ee.currentAnimateTimings=Ce;let Ze,Mt=$.styles?$.styles:v({});if(Mt.type==u.Keyframes)Ze=this.visitKeyframes(Mt,ee);else{let Rt=$.styles,$t=!1;if(!Rt){$t=!0;const yn={};Ce.easing&&(yn.easing=Ce.easing),Rt=v(yn)}ee.currentTime+=Ce.duration+Ce.delay;const Kt=this.visitStyle(Rt,ee);Kt.isEmptyStep=$t,Ze=Kt}return ee.currentAnimateTimings=null,{type:u.Animate,timings:Ce,style:Ze,options:null}}visitStyle($,ee){const Ce=this._makeStyleAst($,ee);return this._validateStyleAst(Ce,ee),Ce}_makeStyleAst($,ee){const Ce=[],Ze=Array.isArray($.styles)?$.styles:[$.styles];for(let $t of Ze)"string"==typeof $t?$t===l?Ce.push($t):ee.errors.push(new n.\u0275RuntimeError(3002,!1)):Ce.push(new Map(Object.entries($t)));let Mt=!1,Rt=null;return Ce.forEach($t=>{if($t instanceof Map&&($t.has("easing")&&(Rt=$t.get("easing"),$t.delete("easing")),!Mt))for(let Kt of $t.values())if(Kt.toString().indexOf("{{")>=0){Mt=!0;break}}),{type:u.Style,styles:Ce,easing:Rt,offset:$.offset,containsDynamicStyles:Mt,options:null}}_validateStyleAst($,ee){const Ce=ee.currentAnimateTimings;let Ze=ee.currentTime,Mt=ee.currentTime;Ce&&Mt>0&&(Mt-=Ce.duration+Ce.delay),$.styles.forEach(Rt=>{"string"!=typeof Rt&&Rt.forEach(($t,Kt)=>{const yn=ee.collectedStyles.get(ee.currentQuerySelector),rr=yn.get(Kt);let er=!0;rr&&(Mt!=Ze&&Mt>=rr.startTime&&Ze<=rr.endTime&&(ee.errors.push(function Me(et,$,ee,Ce,Ze){return new n.\u0275RuntimeError(3010,!1)}()),er=!1),Mt=rr.startTime),er&&yn.set(Kt,{startTime:Mt,endTime:Ze}),ee.options&&function ii(et,$,ee){const Ce=$.params||{},Ze=at(et);Ze.length&&Ze.forEach(Mt=>{Ce.hasOwnProperty(Mt)||ee.push(function Ge(et){return new n.\u0275RuntimeError(3001,!1)}())})}($t,ee.options,ee.errors)})})}visitKeyframes($,ee){const Ce={type:u.Keyframes,styles:[],options:null};if(!ee.currentAnimateTimings)return ee.errors.push(function Se(){return new n.\u0275RuntimeError(3011,!1)}()),Ce;let Mt=0;const Rt=[];let $t=!1,Kt=!1,yn=0;const rr=$.steps.map(wi=>{const Ui=this._makeStyleAst(wi,ee);let Si=null!=Ui.offset?Ui.offset:function Bn(et){if("string"==typeof et)return null;let $=null;if(Array.isArray(et))et.forEach(ee=>{if(ee instanceof Map&&ee.has("offset")){const Ce=ee;$=parseFloat(Ce.get("offset")),Ce.delete("offset")}});else if(et instanceof Map&&et.has("offset")){const ee=et;$=parseFloat(ee.get("offset")),ee.delete("offset")}return $}(Ui.styles),Ki=0;return null!=Si&&(Mt++,Ki=Ui.offset=Si),Kt=Kt||Ki<0||Ki>1,$t=$t||Ki0&&Mt{const Si=Kr>0?Ui==Mr?1:Kr*Ui:Rt[Ui],Ki=Si*mi;ee.currentTime=fr+Dr.delay+Ki,Dr.duration=Ki,this._validateStyleAst(wi,ee),wi.offset=Si,Ce.styles.push(wi)}),Ce}visitReference($,ee){return{type:u.Reference,animation:sr(this,dr($.animation),ee),options:hr($.options)}}visitAnimateChild($,ee){return ee.depCount++,{type:u.AnimateChild,options:hr($.options)}}visitAnimateRef($,ee){return{type:u.AnimateRef,animation:this.visitReference($.animation,ee),options:hr($.options)}}visitQuery($,ee){const Ce=ee.currentQuerySelector,Ze=$.options||{};ee.queryCount++,ee.currentQuery=$;const[Mt,Rt]=function bn(et){const $=!!et.split(/\s*,\s*/).find(ee=>":self"==ee);return $&&(et=et.replace(Ut,"")),et=et.replace(/@\*/g,jt).replace(/@\w+/g,ee=>jt+"-"+ee.slice(1)).replace(/:animating/g,ur),[et,$]}($.selector);ee.currentQuerySelector=Ce.length?Ce+" "+Mt:Mt,$n(ee.collectedStyles,ee.currentQuerySelector,new Map);const $t=sr(this,dr($.animation),ee);return ee.currentQuery=null,ee.currentQuerySelector=Ce,{type:u.Query,selector:Mt,limit:Ze.limit||0,optional:!!Ze.optional,includeSelf:Rt,animation:$t,originalSelector:$.selector,options:hr($.options)}}visitStagger($,ee){ee.currentQuery||ee.errors.push(function rt(){return new n.\u0275RuntimeError(3013,!1)}());const Ce="full"===$.timings?{duration:0,delay:0,easing:"full"}:nr($.timings,ee.errors,!0);return{type:u.Stagger,animation:sr(this,dr($.animation),ee),timings:Ce,options:null}}}class In{constructor($){this.errors=$,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 hr(et){return et?(et={...et}).params&&(et.params=function fn(et){return et?{...et}:null}(et.params)):et={},et}function Lr(et,$,ee){return{duration:et,delay:$,easing:ee}}function ti(et,$,ee,Ce,Ze,Mt,Rt=null,$t=!1){return{type:1,element:et,keyframes:$,preStyleProps:ee,postStyleProps:Ce,duration:Ze,delay:Mt,totalTime:Ze+Mt,easing:Rt,subTimeline:$t}}class st{constructor(){this._map=new Map}get($){return this._map.get($)||[]}append($,ee){let Ce=this._map.get($);Ce||this._map.set($,Ce=[]),Ce.push(...ee)}has($){return this._map.has($)}clear(){this._map.clear()}}const Ur=new RegExp(":enter","g"),Jn=new RegExp(":leave","g");function Gr(et,$,ee,Ce,Ze,Mt=new Map,Rt=new Map,$t,Kt,yn=[]){return(new jn).buildKeyframes(et,$,ee,Ce,Ze,Mt,Rt,$t,Kt,yn)}class jn{buildKeyframes($,ee,Ce,Ze,Mt,Rt,$t,Kt,yn,rr=[]){yn=yn||new st;const er=new Zi($,ee,yn,Ze,Mt,rr,[]);er.options=Kt;const Kr=Kt.delay?Tr(Kt.delay):0;er.currentTimeline.delayNextStep(Kr),er.currentTimeline.setStyles([Rt],null,er.errors,Kt),sr(this,Ce,er);const Mr=er.timelines.filter(fr=>fr.containsAnimation());if(Mr.length&&$t.size){let fr;for(let Dr=Mr.length-1;Dr>=0;Dr--){const mi=Mr[Dr];if(mi.element===ee){fr=mi;break}}fr&&!fr.allowOnlyTimelineStyles()&&fr.setStyles([$t],null,er.errors,Kt)}return Mr.length?Mr.map(fr=>fr.buildKeyframes()):[ti(ee,[],[],[],0,Kr,"",!1)]}visitTrigger($,ee){}visitState($,ee){}visitTransition($,ee){}visitAnimateChild($,ee){const Ce=ee.subInstructions.get(ee.element);if(Ce){const Ze=ee.createSubContext($.options),Mt=ee.currentTimeline.currentTime,Rt=this._visitSubInstructions(Ce,Ze,Ze.options);Mt!=Rt&&ee.transformIntoNewTimeline(Rt)}ee.previousNode=$}visitAnimateRef($,ee){const Ce=ee.createSubContext($.options);Ce.transformIntoNewTimeline(),this._applyAnimationRefDelays([$.options,$.animation.options],ee,Ce),this.visitReference($.animation,Ce),ee.transformIntoNewTimeline(Ce.currentTimeline.currentTime),ee.previousNode=$}_applyAnimationRefDelays($,ee,Ce){for(const Ze of $){const Mt=Ze?.delay;if(Mt){const Rt="number"==typeof Mt?Mt:Tr(xt(Mt,Ze?.params??{},ee.errors));Ce.delayNextStep(Rt)}}}_visitSubInstructions($,ee,Ce){let Mt=ee.currentTimeline.currentTime;const Rt=null!=Ce.duration?Tr(Ce.duration):null,$t=null!=Ce.delay?Tr(Ce.delay):null;return 0!==Rt&&$.forEach(Kt=>{const yn=ee.appendInstructionToTimeline(Kt,Rt,$t);Mt=Math.max(Mt,yn.duration+yn.delay)}),Mt}visitReference($,ee){ee.updateOptions($.options,!0),sr(this,$.animation,ee),ee.previousNode=$}visitSequence($,ee){const Ce=ee.subContextCount;let Ze=ee;const Mt=$.options;if(Mt&&(Mt.params||Mt.delay)&&(Ze=ee.createSubContext(Mt),Ze.transformIntoNewTimeline(),null!=Mt.delay)){Ze.previousNode.type==u.Style&&(Ze.currentTimeline.snapshotCurrentStyles(),Ze.previousNode=pi);const Rt=Tr(Mt.delay);Ze.delayNextStep(Rt)}$.steps.length&&($.steps.forEach(Rt=>sr(this,Rt,Ze)),Ze.currentTimeline.applyStylesToKeyframe(),Ze.subContextCount>Ce&&Ze.transformIntoNewTimeline()),ee.previousNode=$}visitGroup($,ee){const Ce=[];let Ze=ee.currentTimeline.currentTime;const Mt=$.options&&$.options.delay?Tr($.options.delay):0;$.steps.forEach(Rt=>{const $t=ee.createSubContext($.options);Mt&&$t.delayNextStep(Mt),sr(this,Rt,$t),Ze=Math.max(Ze,$t.currentTimeline.currentTime),Ce.push($t.currentTimeline)}),Ce.forEach(Rt=>ee.currentTimeline.mergeTimelineCollectedStyles(Rt)),ee.transformIntoNewTimeline(Ze),ee.previousNode=$}_visitTiming($,ee){if($.dynamic){const Ce=$.strValue;return nr(ee.params?xt(Ce,ee.params,ee.errors):Ce,ee.errors)}return{duration:$.duration,delay:$.delay,easing:$.easing}}visitAnimate($,ee){const Ce=ee.currentAnimateTimings=this._visitTiming($.timings,ee),Ze=ee.currentTimeline;Ce.delay&&(ee.incrementTime(Ce.delay),Ze.snapshotCurrentStyles());const Mt=$.style;Mt.type==u.Keyframes?this.visitKeyframes(Mt,ee):(ee.incrementTime(Ce.duration),this.visitStyle(Mt,ee),Ze.applyStylesToKeyframe()),ee.currentAnimateTimings=null,ee.previousNode=$}visitStyle($,ee){const Ce=ee.currentTimeline,Ze=ee.currentAnimateTimings;!Ze&&Ce.hasCurrentStyleProperties()&&Ce.forwardFrame();const Mt=Ze&&Ze.easing||$.easing;$.isEmptyStep?Ce.applyEmptyStep(Mt):Ce.setStyles($.styles,Mt,ee.errors,ee.options),ee.previousNode=$}visitKeyframes($,ee){const Ce=ee.currentAnimateTimings,Ze=ee.currentTimeline.duration,Mt=Ce.duration,$t=ee.createSubContext().currentTimeline;$t.easing=Ce.easing,$.styles.forEach(Kt=>{$t.forwardTime((Kt.offset||0)*Mt),$t.setStyles(Kt.styles,Kt.easing,ee.errors,ee.options),$t.applyStylesToKeyframe()}),ee.currentTimeline.mergeTimelineCollectedStyles($t),ee.transformIntoNewTimeline(Ze+Mt),ee.previousNode=$}visitQuery($,ee){const Ce=ee.currentTimeline.currentTime,Ze=$.options||{},Mt=Ze.delay?Tr(Ze.delay):0;Mt&&(ee.previousNode.type===u.Style||0==Ce&&ee.currentTimeline.hasCurrentStyleProperties())&&(ee.currentTimeline.snapshotCurrentStyles(),ee.previousNode=pi);let Rt=Ce;const $t=ee.invokeQuery($.selector,$.originalSelector,$.limit,$.includeSelf,!!Ze.optional,ee.errors);ee.currentQueryTotal=$t.length;let Kt=null;$t.forEach((yn,rr)=>{ee.currentQueryIndex=rr;const er=ee.createSubContext($.options,yn);Mt&&er.delayNextStep(Mt),yn===ee.element&&(Kt=er.currentTimeline),sr(this,$.animation,er),er.currentTimeline.applyStylesToKeyframe(),Rt=Math.max(Rt,er.currentTimeline.currentTime)}),ee.currentQueryIndex=0,ee.currentQueryTotal=0,ee.transformIntoNewTimeline(Rt),Kt&&(ee.currentTimeline.mergeTimelineCollectedStyles(Kt),ee.currentTimeline.snapshotCurrentStyles()),ee.previousNode=$}visitStagger($,ee){const Ce=ee.parentContext,Ze=ee.currentTimeline,Mt=$.timings,Rt=Math.abs(Mt.duration),$t=Rt*(ee.currentQueryTotal-1);let Kt=Rt*ee.currentQueryIndex;switch(Mt.duration<0?"reverse":Mt.easing){case"reverse":Kt=$t-Kt;break;case"full":Kt=Ce.currentStaggerTime}const rr=ee.currentTimeline;Kt&&rr.delayNextStep(Kt);const er=rr.currentTime;sr(this,$.animation,ee),ee.previousNode=$,Ce.currentStaggerTime=Ze.currentTime-er+(Ze.startTime-Ce.currentTimeline.startTime)}}const pi={};class Zi{constructor($,ee,Ce,Ze,Mt,Rt,$t,Kt){this._driver=$,this.element=ee,this.subInstructions=Ce,this._enterClassName=Ze,this._leaveClassName=Mt,this.errors=Rt,this.timelines=$t,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=pi,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=Kt||new qr(this._driver,ee,0),$t.push(this.currentTimeline)}get params(){return this.options.params}updateOptions($,ee){if(!$)return;const Ce=$;let Ze=this.options;null!=Ce.duration&&(Ze.duration=Tr(Ce.duration)),null!=Ce.delay&&(Ze.delay=Tr(Ce.delay));const Mt=Ce.params;if(Mt){let Rt=Ze.params;Rt||(Rt=this.options.params={}),Object.keys(Mt).forEach($t=>{(!ee||!Rt.hasOwnProperty($t))&&(Rt[$t]=xt(Mt[$t],Rt,this.errors))})}}_copyOptions(){const $={};if(this.options){const ee=this.options.params;if(ee){const Ce=$.params={};Object.keys(ee).forEach(Ze=>{Ce[Ze]=ee[Ze]})}}return $}createSubContext($=null,ee,Ce){const Ze=ee||this.element,Mt=new Zi(this._driver,Ze,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(Ze,Ce||0));return Mt.previousNode=this.previousNode,Mt.currentAnimateTimings=this.currentAnimateTimings,Mt.options=this._copyOptions(),Mt.updateOptions($),Mt.currentQueryIndex=this.currentQueryIndex,Mt.currentQueryTotal=this.currentQueryTotal,Mt.parentContext=this,this.subContextCount++,Mt}transformIntoNewTimeline($){return this.previousNode=pi,this.currentTimeline=this.currentTimeline.fork(this.element,$),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline($,ee,Ce){const Ze={duration:ee??$.duration,delay:this.currentTimeline.currentTime+(Ce??0)+$.delay,easing:""},Mt=new oi(this._driver,$.element,$.keyframes,$.preStyleProps,$.postStyleProps,Ze,$.stretchStartingKeyframe);return this.timelines.push(Mt),Ze}incrementTime($){this.currentTimeline.forwardTime(this.currentTimeline.duration+$)}delayNextStep($){$>0&&this.currentTimeline.delayNextStep($)}invokeQuery($,ee,Ce,Ze,Mt,Rt){let $t=[];if(Ze&&$t.push(this.element),$.length>0){$=($=$.replace(Ur,"."+this._enterClassName)).replace(Jn,"."+this._leaveClassName);let yn=this._driver.query(this.element,$,1!=Ce);0!==Ce&&(yn=Ce<0?yn.slice(yn.length+Ce,yn.length):yn.slice(0,Ce)),$t.push(...yn)}return!Mt&&0==$t.length&&Rt.push(function tt(et){return new n.\u0275RuntimeError(3014,!1)}()),$t}}class qr{constructor($,ee,Ce,Ze){this._driver=$,this.element=ee,this.startTime=Ce,this._elementTimelineStylesLookup=Ze,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(ee),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(ee,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($){const ee=1===this._keyframes.size&&this._pendingStyles.size;this.duration||ee?(this.forwardTime(this.currentTime+$),ee&&this.snapshotCurrentStyles()):this.startTime+=$}fork($,ee){return this.applyStylesToKeyframe(),new qr(this._driver,$,ee||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($){this.applyStylesToKeyframe(),this.duration=$,this._loadKeyframe()}_updateStyle($,ee){this._localTimelineStyles.set($,ee),this._globalTimelineStyles.set($,ee),this._styleSummary.set($,{time:this.currentTime,value:ee})}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep($){$&&this._previousKeyframe.set("easing",$);for(let[ee,Ce]of this._globalTimelineStyles)this._backFill.set(ee,Ce||l),this._currentKeyframe.set(ee,l);this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles($,ee,Ce,Ze){ee&&this._previousKeyframe.set("easing",ee);const Mt=Ze&&Ze.params||{},Rt=function ji(et,$){const ee=new Map;let Ce;return et.forEach(Ze=>{if("*"===Ze){Ce??=$.keys();for(let Mt of Ce)ee.set(Mt,l)}else for(let[Mt,Rt]of Ze)ee.set(Mt,Rt)}),ee}($,this._globalTimelineStyles);for(let[$t,Kt]of Rt){const yn=xt(Kt,Mt,Ce);this._pendingStyles.set($t,yn),this._localTimelineStyles.has($t)||this._backFill.set($t,this._globalTimelineStyles.get($t)??l),this._updateStyle($t,yn)}}applyStylesToKeyframe(){0!=this._pendingStyles.size&&(this._pendingStyles.forEach(($,ee)=>{this._currentKeyframe.set(ee,$)}),this._pendingStyles.clear(),this._localTimelineStyles.forEach(($,ee)=>{this._currentKeyframe.has(ee)||this._currentKeyframe.set(ee,$)}))}snapshotCurrentStyles(){for(let[$,ee]of this._localTimelineStyles)this._pendingStyles.set($,ee),this._updateStyle($,ee)}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const $=[];for(let ee in this._currentKeyframe)$.push(ee);return $}mergeTimelineCollectedStyles($){$._styleSummary.forEach((ee,Ce)=>{const Ze=this._styleSummary.get(Ce);(!Ze||ee.time>Ze.time)&&this._updateStyle(Ce,ee.value)})}buildKeyframes(){this.applyStylesToKeyframe();const $=new Set,ee=new Set,Ce=1===this._keyframes.size&&0===this.duration;let Ze=[];this._keyframes.forEach(($t,Kt)=>{const yn=new Map([...this._backFill,...$t]);yn.forEach((rr,er)=>{"!"===rr?$.add(er):rr===l&&ee.add(er)}),Ce||yn.set("offset",Kt/this.duration),Ze.push(yn)});const Mt=[...$.values()],Rt=[...ee.values()];if(Ce){const $t=Ze[0],Kt=new Map($t);$t.set("offset",0),Kt.set("offset",1),Ze=[$t,Kt]}return ti(this.element,Ze,Mt,Rt,this.duration,this.startTime,this.easing,!1)}}class oi extends qr{constructor($,ee,Ce,Ze,Mt,Rt,$t=!1){super($,ee,Rt.delay),this.keyframes=Ce,this.preStyleProps=Ze,this.postStyleProps=Mt,this._stretchStartingKeyframe=$t,this.timings={duration:Rt.duration,delay:Rt.delay,easing:Rt.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let $=this.keyframes,{delay:ee,duration:Ce,easing:Ze}=this.timings;if(this._stretchStartingKeyframe&&ee){const Mt=[],Rt=Ce+ee,$t=ee/Rt,Kt=new Map($[0]);Kt.set("offset",0),Mt.push(Kt);const yn=new Map($[0]);yn.set("offset",ni($t)),Mt.push(yn);const rr=$.length-1;for(let er=1;er<=rr;er++){let Kr=new Map($[er]);const Mr=Kr.get("offset");Kr.set("offset",ni((ee+Mr*Ce)/Rt)),Mt.push(Kr)}Ce=Rt,ee=0,Ze="",$=Mt}return ti(this.element,$,this.preStyleProps,this.postStyleProps,Ce,ee,Ze,!0)}}function ni(et,$=3){const ee=Math.pow(10,$-1);return Math.round(et*ee)/ee}function yr(et,$,ee,Ce,Ze,Mt,Rt,$t,Kt,yn,rr,er,Kr){return{type:0,element:et,triggerName:$,isRemovalTransition:Ze,fromState:ee,fromStyles:Mt,toState:Ce,toStyles:Rt,timelines:$t,queriedElements:Kt,preStyleProps:yn,postStyleProps:rr,totalTime:er,errors:Kr}}const Ji={};class Do{constructor($,ee,Ce){this._triggerName=$,this.ast=ee,this._stateStyles=Ce}match($,ee,Ce,Ze){return function ri(et,$,ee,Ce,Ze){return et.some(Mt=>Mt($,ee,Ce,Ze))}(this.ast.matchers,$,ee,Ce,Ze)}buildStyles($,ee,Ce){let Ze=this._stateStyles.get("*");return void 0!==$&&(Ze=this._stateStyles.get($?.toString())||Ze),Ze?Ze.buildStyles(ee,Ce):new Map}build($,ee,Ce,Ze,Mt,Rt,$t,Kt,yn,rr){const er=[],Kr=this.ast.options&&this.ast.options.params||Ji,fr=this.buildStyles(Ce,$t&&$t.params||Ji,er),Dr=Kt&&Kt.params||Ji,mi=this.buildStyles(Ze,Dr,er),wi=new Set,Ui=new Map,Si=new Map,Ki="void"===Ze,En={params:ro(Dr,Kr),delay:this.ast.options?.delay},Ar=rr?[]:Gr($,ee,this.ast.animation,Mt,Rt,fr,mi,En,yn,er);let eo=0;return Ar.forEach(ki=>{eo=Math.max(ki.duration+ki.delay,eo)}),er.length?yr(ee,this._triggerName,Ce,Ze,Ki,fr,mi,[],[],Ui,Si,eo,er):(Ar.forEach(ki=>{const Qr=ki.element,to=$n(Ui,Qr,new Set);ki.preStyleProps.forEach(ot=>to.add(ot));const Ie=$n(Si,Qr,new Set);ki.postStyleProps.forEach(ot=>Ie.add(ot)),Qr!==ee&&wi.add(Qr)}),yr(ee,this._triggerName,Ce,Ze,Ki,fr,mi,Ar,[...wi.values()],Ui,Si,eo))}}function ro(et,$){const ee={...$};return Object.entries(et).forEach(([Ce,Ze])=>{null!=Ze&&(ee[Ce]=Ze)}),ee}class Rr{constructor($,ee,Ce){this.styles=$,this.defaultParams=ee,this.normalizer=Ce}buildStyles($,ee){const Ce=new Map,Ze=ro($,this.defaultParams);return this.styles.styles.forEach(Mt=>{"string"!=typeof Mt&&Mt.forEach((Rt,$t)=>{Rt&&(Rt=xt(Rt,Ze,ee));const Kt=this.normalizer.normalizePropertyName($t,ee);Rt=this.normalizer.normalizeStyleValue($t,Kt,Rt,ee),Ce.set($t,Rt)})}),Ce}}class Pn{constructor($,ee,Ce){this.name=$,this.ast=ee,this._normalizer=Ce,this.transitionFactories=[],this.states=new Map,ee.states.forEach(Ze=>{this.states.set(Ze.name,new Rr(Ze.style,Ze.options&&Ze.options.params||{},Ce))}),gi(this.states,"true","1"),gi(this.states,"false","0"),ee.transitions.forEach(Ze=>{this.transitionFactories.push(new Do($,Ze,this.states))}),this.fallbackTransition=function bo(et,$,ee){return new Do(et,{type:u.Transition,animation:{type:u.Sequence,steps:[],options:null},matchers:[(Rt,$t)=>!0],options:null,queryCount:0,depCount:0},$)}($,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition($,ee,Ce,Ze){return this.transitionFactories.find(Rt=>Rt.match($,ee,Ce,Ze))||null}matchStyles($,ee,Ce){return this.fallbackTransition.buildStyles($,ee,Ce)}}function gi(et,$,ee){et.has($)?et.has(ee)||et.set(ee,et.get($)):et.has(ee)&&et.set($,et.get(ee))}const Hi=new st;class ai{constructor($,ee,Ce){this.bodyNode=$,this._driver=ee,this._normalizer=Ce,this._animations=new Map,this._playersById=new Map,this.players=[]}register($,ee){const Ce=[],Mt=tn(this._driver,ee,Ce,[]);if(Ce.length)throw function Yt(et){return new n.\u0275RuntimeError(3503,!1)}();this._animations.set($,Mt)}_buildPlayer($,ee,Ce){const Ze=$.element,Mt=ze(this._normalizer,$.keyframes,ee,Ce);return this._driver.animate(Ze,Mt,$.duration,$.delay,$.easing,[],!0)}create($,ee,Ce={}){const Ze=[],Mt=this._animations.get($);let Rt;const $t=new Map;if(Mt?(Rt=Gr(this._driver,ee,Mt,xe,_t,new Map,new Map,Ce,Hi,Ze),Rt.forEach(rr=>{const er=$n($t,rr.element,new Map);rr.postStyleProps.forEach(Kr=>er.set(Kr,null))})):(Ze.push(function Zt(){return new n.\u0275RuntimeError(3300,!1)}()),Rt=[]),Ze.length)throw function Mn(et){return new n.\u0275RuntimeError(3504,!1)}();$t.forEach((rr,er)=>{rr.forEach((Kr,Mr)=>{rr.set(Mr,this._driver.computeStyle(er,Mr,l))})});const yn=We(Rt.map(rr=>{const er=$t.get(rr.element);return this._buildPlayer(rr,new Map,er)}));return this._playersById.set($,yn),yn.onDestroy(()=>this.destroy($)),this.players.push(yn),yn}destroy($){const ee=this._getPlayer($);ee.destroy(),this._playersById.delete($);const Ce=this.players.indexOf(ee);Ce>=0&&this.players.splice(Ce,1)}_getPlayer($){const ee=this._playersById.get($);if(!ee)throw function Un(et){return new n.\u0275RuntimeError(3301,!1)}();return ee}listen($,ee,Ce,Ze){const Mt=dn(ee,"","","");return gt(this._getPlayer($),Ce,Mt,Ze),()=>{}}command($,ee,Ce,Ze){if("register"==Ce)return void this.register($,Ze[0]);if("create"==Ce)return void this.create($,ee,Ze[0]||{});const Mt=this._getPlayer($);switch(Ce){case"play":Mt.play();break;case"pause":Mt.pause();break;case"reset":Mt.reset();break;case"restart":Mt.restart();break;case"finish":Mt.finish();break;case"init":Mt.init();break;case"setPosition":Mt.setPosition(parseFloat(Ze[0]));break;case"destroy":this.destroy($)}}}const pr="ng-animate-queued",Ai="ng-animate-disabled",Yr=[],So={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Vi={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},ei="__ng_removed";class Uo{get params(){return this.options.params}constructor($,ee=""){this.namespaceId=ee;const Ce=$&&$.hasOwnProperty("value");if(this.value=function Oo(et){return et??null}(Ce?$.value:$),Ce){const{value:Mt,...Rt}=$;this.options=Rt}else this.options={};this.options.params||(this.options.params={})}absorbOptions($){const ee=$.params;if(ee){const Ce=this.options.params;Object.keys(ee).forEach(Ze=>{null==Ce[Ze]&&(Ce[Ze]=ee[Ze])})}}}const Fi="void",ao=new Uo(Fi);class Gi{constructor($,ee,Ce){this.id=$,this.hostElement=ee,this._engine=Ce,this.players=[],this._triggers=new Map,this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+$,Ni(ee,this._hostClassName)}listen($,ee,Ce,Ze){if(!this._triggers.has(ee))throw function zt(et,$){return new n.\u0275RuntimeError(3302,!1)}();if(null==Ce||0==Ce.length)throw function Hn(et){return new n.\u0275RuntimeError(3303,!1)}();if(!function Ia(et){return"start"==et||"done"==et}(Ce))throw function kn(et,$){return new n.\u0275RuntimeError(3400,!1)}();const Mt=$n(this._elementListeners,$,[]),Rt={name:ee,phase:Ce,callback:Ze};Mt.push(Rt);const $t=$n(this._engine.statesByElement,$,new Map);return $t.has(ee)||(Ni($,Pt),Ni($,Pt+"-"+ee),$t.set(ee,ao)),()=>{this._engine.afterFlush(()=>{const Kt=Mt.indexOf(Rt);Kt>=0&&Mt.splice(Kt,1),this._triggers.has(ee)||$t.delete(ee)})}}register($,ee){return!this._triggers.has($)&&(this._triggers.set($,ee),!0)}_getTrigger($){const ee=this._triggers.get($);if(!ee)throw function ln(et){return new n.\u0275RuntimeError(3401,!1)}();return ee}trigger($,ee,Ce,Ze=!0){const Mt=this._getTrigger(ee),Rt=new Bo(this.id,ee,$);let $t=this._engine.statesByElement.get($);$t||(Ni($,Pt),Ni($,Pt+"-"+ee),this._engine.statesByElement.set($,$t=new Map));let Kt=$t.get(ee);const yn=new Uo(Ce,this.id);if(!(Ce&&Ce.hasOwnProperty("value"))&&Kt&&yn.absorbOptions(Kt.options),$t.set(ee,yn),Kt||(Kt=ao),yn.value!==Fi&&Kt.value===yn.value){if(!function ua(et,$){const ee=Object.keys(et),Ce=Object.keys($);if(ee.length!=Ce.length)return!1;for(let Ze=0;Ze{qn($,mi),Vn($,wi)})}return}const Kr=$n(this._engine.playersByElement,$,[]);Kr.forEach(Dr=>{Dr.namespaceId==this.id&&Dr.triggerName==ee&&Dr.queued&&Dr.destroy()});let Mr=Mt.matchTransition(Kt.value,yn.value,$,yn.params),fr=!1;if(!Mr){if(!Ze)return;Mr=Mt.fallbackTransition,fr=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:$,triggerName:ee,transition:Mr,fromState:Kt,toState:yn,player:Rt,isFallbackTransition:fr}),fr||(Ni($,pr),Rt.onStart(()=>{jo($,pr)})),Rt.onDone(()=>{let Dr=this.players.indexOf(Rt);Dr>=0&&this.players.splice(Dr,1);const mi=this._engine.playersByElement.get($);if(mi){let wi=mi.indexOf(Rt);wi>=0&&mi.splice(wi,1)}}),this.players.push(Rt),Kr.push(Rt),Rt}deregister($){this._triggers.delete($),this._engine.statesByElement.forEach(ee=>ee.delete($)),this._elementListeners.forEach((ee,Ce)=>{this._elementListeners.set(Ce,ee.filter(Ze=>Ze.name!=$))})}clearElementCache($){this._engine.statesByElement.delete($),this._elementListeners.delete($);const ee=this._engine.playersByElement.get($);ee&&(ee.forEach(Ce=>Ce.destroy()),this._engine.playersByElement.delete($))}_signalRemovalForInnerTriggers($,ee){const Ce=this._engine.driver.query($,jt,!0);Ce.forEach(Ze=>{if(Ze[ei])return;const Mt=this._engine.fetchNamespacesByElement(Ze);Mt.size?Mt.forEach(Rt=>Rt.triggerLeaveAnimation(Ze,ee,!1,!0)):this.clearElementCache(Ze)}),this._engine.afterFlushAnimationsDone(()=>Ce.forEach(Ze=>this.clearElementCache(Ze)))}triggerLeaveAnimation($,ee,Ce,Ze){const Mt=this._engine.statesByElement.get($),Rt=new Map;if(Mt){const $t=[];if(Mt.forEach((Kt,yn)=>{if(Rt.set(yn,Kt.value),this._triggers.has(yn)){const rr=this.trigger($,yn,Fi,Ze);rr&&$t.push(rr)}}),$t.length)return this._engine.markElementAsRemoved(this.id,$,!0,ee,Rt),Ce&&We($t).onDone(()=>this._engine.processLeaveNode($)),!0}return!1}prepareLeaveAnimationListeners($){const ee=this._elementListeners.get($),Ce=this._engine.statesByElement.get($);if(ee&&Ce){const Ze=new Set;ee.forEach(Mt=>{const Rt=Mt.name;if(Ze.has(Rt))return;Ze.add(Rt);const Kt=this._triggers.get(Rt).fallbackTransition,yn=Ce.get(Rt)||ao,rr=new Uo(Fi),er=new Bo(this.id,Rt,$);this._engine.totalQueuedPlayers++,this._queue.push({element:$,triggerName:Rt,transition:Kt,fromState:yn,toState:rr,player:er,isFallbackTransition:!0})})}}removeNode($,ee){const Ce=this._engine;if($.childElementCount&&this._signalRemovalForInnerTriggers($,ee),this.triggerLeaveAnimation($,ee,!0))return;let Ze=!1;if(Ce.totalAnimations){const Mt=Ce.players.length?Ce.playersByQueriedElement.get($):[];if(Mt&&Mt.length)Ze=!0;else{let Rt=$;for(;Rt=Rt.parentNode;)if(Ce.statesByElement.get(Rt)){Ze=!0;break}}}if(this.prepareLeaveAnimationListeners($),Ze)Ce.markElementAsRemoved(this.id,$,!1,ee);else{const Mt=$[ei];(!Mt||Mt===So)&&(Ce.afterFlush(()=>this.clearElementCache($)),Ce.destroyInnerAnimations($),Ce._onRemovalComplete($,ee))}}insertNode($,ee){Ni($,this._hostClassName)}drainQueuedTransitions($){const ee=[];return this._queue.forEach(Ce=>{const Ze=Ce.player;if(Ze.destroyed)return;const Mt=Ce.element,Rt=this._elementListeners.get(Mt);Rt&&Rt.forEach($t=>{if($t.name==Ce.triggerName){const Kt=dn(Mt,Ce.triggerName,Ce.fromState.value,Ce.toState.value);Kt._data=$,gt(Ce.player,$t.phase,Kt,$t.callback)}}),Ze.markedForDestroy?this._engine.afterFlush(()=>{Ze.destroy()}):ee.push(Ce)}),this._queue=[],ee.sort((Ce,Ze)=>{const Mt=Ce.transition.ast.depCount,Rt=Ze.transition.ast.depCount;return 0==Mt||0==Rt?Mt-Rt:this._engine.driver.containsElement(Ce.element,Ze.element)?1:-1})}destroy($){this.players.forEach(ee=>ee.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,$)}}class xo{_onRemovalComplete($,ee){this.onRemovalComplete($,ee)}constructor($,ee,Ce,Ze){this.bodyNode=$,this.driver=ee,this._normalizer=Ce,this.scheduler=Ze,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=(Mt,Rt)=>{}}get queuedPlayers(){const $=[];return this._namespaceList.forEach(ee=>{ee.players.forEach(Ce=>{Ce.queued&&$.push(Ce)})}),$}createNamespace($,ee){const Ce=new Gi($,ee,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,ee)?this._balanceNamespaceList(Ce,ee):(this.newHostElements.set(ee,Ce),this.collectEnterElement(ee)),this._namespaceLookup[$]=Ce}_balanceNamespaceList($,ee){const Ce=this._namespaceList,Ze=this.namespacesByHostElement;if(Ce.length-1>=0){let Rt=!1,$t=this.driver.getParentElement(ee);for(;$t;){const Kt=Ze.get($t);if(Kt){const yn=Ce.indexOf(Kt);Ce.splice(yn+1,0,$),Rt=!0;break}$t=this.driver.getParentElement($t)}Rt||Ce.unshift($)}else Ce.push($);return Ze.set(ee,$),$}register($,ee){let Ce=this._namespaceLookup[$];return Ce||(Ce=this.createNamespace($,ee)),Ce}registerTrigger($,ee,Ce){let Ze=this._namespaceLookup[$];Ze&&Ze.register(ee,Ce)&&this.totalAnimations++}destroy($,ee){$&&(this.afterFlush(()=>{}),this.afterFlushAnimationsDone(()=>{const Ce=this._fetchNamespace($);this.namespacesByHostElement.delete(Ce.hostElement);const Ze=this._namespaceList.indexOf(Ce);Ze>=0&&this._namespaceList.splice(Ze,1),Ce.destroy(ee),delete this._namespaceLookup[$]}))}_fetchNamespace($){return this._namespaceLookup[$]}fetchNamespacesByElement($){const ee=new Set,Ce=this.statesByElement.get($);if(Ce)for(let Ze of Ce.values())if(Ze.namespaceId){const Mt=this._fetchNamespace(Ze.namespaceId);Mt&&ee.add(Mt)}return ee}trigger($,ee,Ce,Ze){if(mo(ee)){const Mt=this._fetchNamespace($);if(Mt)return Mt.trigger(ee,Ce,Ze),!0}return!1}insertNode($,ee,Ce,Ze){if(!mo(ee))return;const Mt=ee[ei];if(Mt&&Mt.setForRemoval){Mt.setForRemoval=!1,Mt.setForMove=!0;const Rt=this.collectedLeaveElements.indexOf(ee);Rt>=0&&this.collectedLeaveElements.splice(Rt,1)}if($){const Rt=this._fetchNamespace($);Rt&&Rt.insertNode(ee,Ce)}Ze&&this.collectEnterElement(ee)}collectEnterElement($){this.collectedEnterElements.push($)}markElementAsDisabled($,ee){ee?this.disabledNodes.has($)||(this.disabledNodes.add($),Ni($,Ai)):this.disabledNodes.has($)&&(this.disabledNodes.delete($),jo($,Ai))}removeNode($,ee,Ce){if(mo(ee)){this.scheduler?.notify();const Ze=$?this._fetchNamespace($):null;Ze?Ze.removeNode(ee,Ce):this.markElementAsRemoved($,ee,!1,Ce);const Mt=this.namespacesByHostElement.get(ee);Mt&&Mt.id!==$&&Mt.removeNode(ee,Ce)}else this._onRemovalComplete(ee,Ce)}markElementAsRemoved($,ee,Ce,Ze,Mt){this.collectedLeaveElements.push(ee),ee[ei]={namespaceId:$,setForRemoval:Ze,hasAnimation:Ce,removedBeforeQueried:!1,previousTriggersValues:Mt}}listen($,ee,Ce,Ze,Mt){return mo(ee)?this._fetchNamespace($).listen(ee,Ce,Ze,Mt):()=>{}}_buildInstruction($,ee,Ce,Ze,Mt){return $.transition.build(this.driver,$.element,$.fromState.value,$.toState.value,Ce,Ze,$.fromState.options,$.toState.options,ee,Mt)}destroyInnerAnimations($){let ee=this.driver.query($,jt,!0);ee.forEach(Ce=>this.destroyActiveAnimationsForElement(Ce)),0!=this.playersByQueriedElement.size&&(ee=this.driver.query($,ur,!0),ee.forEach(Ce=>this.finishActiveQueriedAnimationOnElement(Ce)))}destroyActiveAnimationsForElement($){const ee=this.playersByElement.get($);ee&&ee.forEach(Ce=>{Ce.queued?Ce.markedForDestroy=!0:Ce.destroy()})}finishActiveQueriedAnimationOnElement($){const ee=this.playersByQueriedElement.get($);ee&&ee.forEach(Ce=>Ce.finish())}whenRenderingDone(){return new Promise($=>{if(this.players.length)return We(this.players).onDone(()=>$());$()})}processLeaveNode($){const ee=$[ei];if(ee&&ee.setForRemoval){if($[ei]=So,ee.namespaceId){this.destroyInnerAnimations($);const Ce=this._fetchNamespace(ee.namespaceId);Ce&&Ce.clearElementCache($)}this._onRemovalComplete($,ee.setForRemoval)}$.classList?.contains(Ai)&&this.markElementAsDisabled($,!1),this.driver.query($,".ng-animate-disabled",!0).forEach(Ce=>{this.markElementAsDisabled(Ce,!1)})}flush($=-1){let ee=[];if(this.newHostElements.size&&(this.newHostElements.forEach((Ce,Ze)=>this._balanceNamespaceList(Ce,Ze)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let Ce=0;CeCe()),this._flushFns=[],this._whenQuietFns.length){const Ce=this._whenQuietFns;this._whenQuietFns=[],ee.length?We(ee).onDone(()=>{Ce.forEach(Ze=>Ze())}):Ce.forEach(Ze=>Ze())}}reportError($){throw function ft(et){return new n.\u0275RuntimeError(3402,!1)}()}_flushAnimations($,ee){const Ce=new st,Ze=[],Mt=new Map,Rt=[],$t=new Map,Kt=new Map,yn=new Map,rr=new Set;this.disabledNodes.forEach(Ot=>{rr.add(Ot);const Bt=this.driver.query(Ot,".ng-animate-queued",!0);for(let Qt=0;Qt{const Qt=xe+Dr++;fr.set(Bt,Qt),Ot.forEach(hn=>Ni(hn,Qt))});const mi=[],wi=new Set,Ui=new Set;for(let Ot=0;Otwi.add(hn)):Ui.add(Bt))}const Si=new Map,Ki=Qo(Kr,Array.from(wi));Ki.forEach((Ot,Bt)=>{const Qt=_t+Dr++;Si.set(Bt,Qt),Ot.forEach(hn=>Ni(hn,Qt))}),$.push(()=>{Mr.forEach((Ot,Bt)=>{const Qt=fr.get(Bt);Ot.forEach(hn=>jo(hn,Qt))}),Ki.forEach((Ot,Bt)=>{const Qt=Si.get(Bt);Ot.forEach(hn=>jo(hn,Qt))}),mi.forEach(Ot=>{this.processLeaveNode(Ot)})});const En=[],Ar=[];for(let Ot=this._namespaceList.length-1;Ot>=0;Ot--)this._namespaceList[Ot].drainQueuedTransitions(ee).forEach(Qt=>{const hn=Qt.player,Wn=Qt.element;if(En.push(hn),this.collectedEnterElements.length){const ne=Wn[ei];if(ne&&ne.setForMove){if(ne.previousTriggersValues&&ne.previousTriggersValues.has(Qt.triggerName)){const B=ne.previousTriggersValues.get(Qt.triggerName),ue=this.statesByElement.get(Qt.element);if(ue&&ue.has(Qt.triggerName)){const Ke=ue.get(Qt.triggerName);Ke.value=B,ue.set(Qt.triggerName,Ke)}}return void hn.destroy()}}const Y=!er||!this.driver.containsElement(er,Wn),Ne=Si.get(Wn),se=fr.get(Wn),Ee=this._buildInstruction(Qt,Ce,se,Ne,Y);if(Ee.errors&&Ee.errors.length)return void Ar.push(Ee);if(Y)return hn.onStart(()=>qn(Wn,Ee.fromStyles)),hn.onDestroy(()=>Vn(Wn,Ee.toStyles)),void Ze.push(hn);if(Qt.isFallbackTransition)return hn.onStart(()=>qn(Wn,Ee.fromStyles)),hn.onDestroy(()=>Vn(Wn,Ee.toStyles)),void Ze.push(hn);const St=[];Ee.timelines.forEach(ne=>{ne.stretchStartingKeyframe=!0,this.disabledNodes.has(ne.element)||St.push(ne)}),Ee.timelines=St,Ce.append(Wn,Ee.timelines),Rt.push({instruction:Ee,player:hn,element:Wn}),Ee.queriedElements.forEach(ne=>$n($t,ne,[]).push(hn)),Ee.preStyleProps.forEach((ne,B)=>{if(ne.size){let ue=Kt.get(B);ue||Kt.set(B,ue=new Set),ne.forEach((Ke,qt)=>ue.add(qt))}}),Ee.postStyleProps.forEach((ne,B)=>{let ue=yn.get(B);ue||yn.set(B,ue=new Set),ne.forEach((Ke,qt)=>ue.add(qt))})});if(Ar.length){const Ot=[];Ar.forEach(Bt=>{Ot.push(function le(et,$){return new n.\u0275RuntimeError(3505,!1)}())}),En.forEach(Bt=>Bt.destroy()),this.reportError(Ot)}const eo=new Map,ki=new Map;Rt.forEach(Ot=>{const Bt=Ot.element;Ce.has(Bt)&&(ki.set(Bt,Bt),this._beforeAnimationBuild(Ot.player.namespaceId,Ot.instruction,eo))}),Ze.forEach(Ot=>{const Bt=Ot.element;this._getPreviousPlayers(Bt,!1,Ot.namespaceId,Ot.triggerName,null).forEach(hn=>{$n(eo,Bt,[]).push(hn),hn.destroy()})});const Qr=mi.filter(Ot=>Zo(Ot,Kt,yn)),to=new Map;ya(to,this.driver,Ui,yn,l).forEach(Ot=>{Zo(Ot,Kt,yn)&&Qr.push(Ot)});const ot=new Map;Mr.forEach((Ot,Bt)=>{ya(ot,this.driver,new Set(Ot),Kt,"!")}),Qr.forEach(Ot=>{const Bt=to.get(Ot),Qt=ot.get(Ot);to.set(Ot,new Map([...Bt?.entries()??[],...Qt?.entries()??[]]))});const Xe=[],dt=[],Tt={};Rt.forEach(Ot=>{const{element:Bt,player:Qt,instruction:hn}=Ot;if(Ce.has(Bt)){if(rr.has(Bt))return Qt.onDestroy(()=>Vn(Bt,hn.toStyles)),Qt.disabled=!0,Qt.overrideTotalTime(hn.totalTime),void Ze.push(Qt);let Wn=Tt;if(ki.size>1){let Ne=Bt;const se=[];for(;Ne=Ne.parentNode;){const Ee=ki.get(Ne);if(Ee){Wn=Ee;break}se.push(Ne)}se.forEach(Ee=>ki.set(Ee,Wn))}const Y=this._buildAnimation(Qt.namespaceId,hn,eo,Mt,ot,to);if(Qt.setRealPlayer(Y),Wn===Tt)Xe.push(Qt);else{const Ne=this.playersByElement.get(Wn);Ne&&Ne.length&&(Qt.parentPlayer=We(Ne)),Ze.push(Qt)}}else qn(Bt,hn.fromStyles),Qt.onDestroy(()=>Vn(Bt,hn.toStyles)),dt.push(Qt),rr.has(Bt)&&Ze.push(Qt)}),dt.forEach(Ot=>{const Bt=Mt.get(Ot.element);if(Bt&&Bt.length){const Qt=We(Bt);Ot.setRealPlayer(Qt)}}),Ze.forEach(Ot=>{Ot.parentPlayer?Ot.syncPlayerEvents(Ot.parentPlayer):Ot.destroy()});for(let Ot=0;Ot!Y.destroyed);Wn.length?zo(this,Bt,Wn):this.processLeaveNode(Bt)}return mi.length=0,Xe.forEach(Ot=>{this.players.push(Ot),Ot.onDone(()=>{Ot.destroy();const Bt=this.players.indexOf(Ot);this.players.splice(Bt,1)}),Ot.play()}),Xe}afterFlush($){this._flushFns.push($)}afterFlushAnimationsDone($){this._whenQuietFns.push($)}_getPreviousPlayers($,ee,Ce,Ze,Mt){let Rt=[];if(ee){const $t=this.playersByQueriedElement.get($);$t&&(Rt=$t)}else{const $t=this.playersByElement.get($);if($t){const Kt=!Mt||Mt==Fi;$t.forEach(yn=>{yn.queued||!Kt&&yn.triggerName!=Ze||Rt.push(yn)})}}return(Ce||Ze)&&(Rt=Rt.filter($t=>!(Ce&&Ce!=$t.namespaceId||Ze&&Ze!=$t.triggerName))),Rt}_beforeAnimationBuild($,ee,Ce){const Mt=ee.element,Rt=ee.isRemovalTransition?void 0:$,$t=ee.isRemovalTransition?void 0:ee.triggerName;for(const Kt of ee.timelines){const yn=Kt.element,rr=yn!==Mt,er=$n(Ce,yn,[]);this._getPreviousPlayers(yn,rr,Rt,$t,ee.toState).forEach(Mr=>{const fr=Mr.getRealPlayer();fr.beforeDestroy&&fr.beforeDestroy(),Mr.destroy(),er.push(Mr)})}qn(Mt,ee.fromStyles)}_buildAnimation($,ee,Ce,Ze,Mt,Rt){const $t=ee.triggerName,Kt=ee.element,yn=[],rr=new Set,er=new Set,Kr=ee.timelines.map(fr=>{const Dr=fr.element;rr.add(Dr);const mi=Dr[ei];if(mi&&mi.removedBeforeQueried)return new A(fr.duration,fr.delay);const wi=Dr!==Kt,Ui=function Lo(et){const $=[];return Xi(et,$),$}((Ce.get(Dr)||Yr).map(eo=>eo.getRealPlayer())).filter(eo=>!!eo.element&&eo.element===Dr),Si=Mt.get(Dr),Ki=Rt.get(Dr),En=ze(this._normalizer,fr.keyframes,Si,Ki),Ar=this._buildPlayer(fr,En,Ui);if(fr.subTimeline&&Ze&&er.add(Dr),wi){const eo=new Bo($,$t,Dr);eo.setRealPlayer(Ar),yn.push(eo)}return Ar});yn.forEach(fr=>{$n(this.playersByQueriedElement,fr.element,[]).push(fr),fr.onDone(()=>function so(et,$,ee){let Ce=et.get($);if(Ce){if(Ce.length){const Ze=Ce.indexOf(ee);Ce.splice(Ze,1)}0==Ce.length&&et.delete($)}return Ce}(this.playersByQueriedElement,fr.element,fr))}),rr.forEach(fr=>Ni(fr,ar));const Mr=We(Kr);return Mr.onDestroy(()=>{rr.forEach(fr=>jo(fr,ar)),Vn(Kt,ee.toStyles)}),er.forEach(fr=>{$n(Ze,fr,[]).push(Mr)}),Mr}_buildPlayer($,ee,Ce){return ee.length>0?this.driver.animate($.element,ee,$.duration,$.delay,$.easing,Ce):new A($.duration,$.delay)}}class Bo{constructor($,ee,Ce){this.namespaceId=$,this.triggerName=ee,this.element=Ce,this._player=new A,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($){this._containsRealPlayer||(this._player=$,this._queuedCallbacks.forEach((ee,Ce)=>{ee.forEach(Ze=>gt($,Ce,void 0,Ze))}),this._queuedCallbacks.clear(),this._containsRealPlayer=!0,this.overrideTotalTime($.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime($){this.totalTime=$}syncPlayerEvents($){const ee=this._player;ee.triggerCallback&&$.onStart(()=>ee.triggerCallback("start")),$.onDone(()=>this.finish()),$.onDestroy(()=>this.destroy())}_queueEvent($,ee){$n(this._queuedCallbacks,$,[]).push(ee)}onDone($){this.queued&&this._queueEvent("done",$),this._player.onDone($)}onStart($){this.queued&&this._queueEvent("start",$),this._player.onStart($)}onDestroy($){this.queued&&this._queueEvent("destroy",$),this._player.onDestroy($)}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($){this.queued||this._player.setPosition($)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback($){const ee=this._player;ee.triggerCallback&&ee.triggerCallback($)}}function mo(et){return et&&1===et.nodeType}function oa(et,$){const ee=et.style.display;return et.style.display=$??"none",ee}function ya(et,$,ee,Ce,Ze){const Mt=[];ee.forEach(Kt=>Mt.push(oa(Kt)));const Rt=[];Ce.forEach((Kt,yn)=>{const rr=new Map;Kt.forEach(er=>{const Kr=$.computeStyle(yn,er,Ze);rr.set(er,Kr),(!Kr||0==Kr.length)&&(yn[ei]=Vi,Rt.push(yn))}),et.set(yn,rr)});let $t=0;return ee.forEach(Kt=>oa(Kt,Mt[$t++])),Rt}function Qo(et,$){const ee=new Map;if(et.forEach($t=>ee.set($t,[])),0==$.length)return ee;const Ze=new Set($),Mt=new Map;function Rt($t){if(!$t)return 1;let Kt=Mt.get($t);if(Kt)return Kt;const yn=$t.parentNode;return Kt=ee.has(yn)?yn:Ze.has(yn)?1:Rt(yn),Mt.set($t,Kt),Kt}return $.forEach($t=>{const Kt=Rt($t);1!==Kt&&ee.get(Kt).push($t)}),ee}function Ni(et,$){et.classList?.add($)}function jo(et,$){et.classList?.remove($)}function zo(et,$,ee){We(ee).onDone(()=>et.processLeaveNode($))}function Xi(et,$){for(let ee=0;eeZe.add(Mt)):$.set(et,Ce),ee.delete(et),!0}class To{constructor($,ee,Ce,Ze){this._driver=ee,this._normalizer=Ce,this._triggerCache={},this.onRemovalComplete=(Mt,Rt)=>{},this._transitionEngine=new xo($.body,ee,Ce,Ze),this._timelineEngine=new ai($.body,ee,Ce),this._transitionEngine.onRemovalComplete=(Mt,Rt)=>this.onRemovalComplete(Mt,Rt)}registerTrigger($,ee,Ce,Ze,Mt){const Rt=$+"-"+Ze;let $t=this._triggerCache[Rt];if(!$t){const Kt=[],rr=tn(this._driver,Mt,Kt,[]);if(Kt.length)throw function Ft(et,$){return new n.\u0275RuntimeError(3404,!1)}();$t=function oo(et,$,ee){return new Pn(et,$,ee)}(Ze,rr,this._normalizer),this._triggerCache[Rt]=$t}this._transitionEngine.registerTrigger(ee,Ze,$t)}register($,ee){this._transitionEngine.register($,ee)}destroy($,ee){this._transitionEngine.destroy($,ee)}onInsert($,ee,Ce,Ze){this._transitionEngine.insertNode($,ee,Ce,Ze)}onRemove($,ee,Ce){this._transitionEngine.removeNode($,ee,Ce)}disableAnimations($,ee){this._transitionEngine.markElementAsDisabled($,ee)}process($,ee,Ce,Ze){if("@"==Ce.charAt(0)){const[Mt,Rt]=tr(Ce);this._timelineEngine.command(Mt,ee,Rt,Ze)}else this._transitionEngine.trigger($,ee,Ce,Ze)}listen($,ee,Ce,Ze,Mt){if("@"==Ce.charAt(0)){const[Rt,$t]=tr(Ce);return this._timelineEngine.listen(Rt,ee,$t,Mt)}return this._transitionEngine.listen($,ee,Ce,Ze,Mt)}flush($=-1){this._transitionEngine.flush($)}get players(){return[...this._transitionEngine.players,...this._timelineEngine.players]}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}afterFlushAnimationsDone($){this._transitionEngine.afterFlushAnimationsDone($)}}class Jo{static#e=this.initialStylesByElement=new WeakMap;constructor($,ee,Ce){this._element=$,this._startStyles=ee,this._endStyles=Ce,this._state=0;let Ze=Jo.initialStylesByElement.get($);Ze||Jo.initialStylesByElement.set($,Ze=new Map),this._initialStyles=Ze}start(){this._state<1&&(this._startStyles&&Vn(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(Vn(this._element,this._initialStyles),this._endStyles&&(Vn(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(Jo.initialStylesByElement.delete(this._element),this._startStyles&&(qn(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(qn(this._element,this._endStyles),this._endStyles=null),Vn(this._element,this._initialStyles),this._state=3)}}function Le(et){let $=null;return et.forEach((ee,Ce)=>{(function Ye(et){return"display"===et||"position"===et})(Ce)&&($=$||new Map,$.set(Ce,ee))}),$}class ge{constructor($,ee,Ce,Ze){this.element=$,this.keyframes=ee,this.options=Ce,this._specialStyles=Ze,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=Ce.duration,this._delay=Ce.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach($=>$()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const $=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,$,this.options),this._finalKeyframe=$.length?$[$.length-1]:new Map;const ee=()=>this._onFinish();this.domPlayer.addEventListener("finish",ee),this.onDestroy(()=>{this.domPlayer.removeEventListener("finish",ee)})}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_convertKeyframesToObject($){const ee=[];return $.forEach(Ce=>{ee.push(Object.fromEntries(Ce))}),ee}_triggerWebAnimation($,ee,Ce){return $.animate(this._convertKeyframesToObject(ee),Ce)}onStart($){this._originalOnStartFns.push($),this._onStartFns.push($)}onDone($){this._originalOnDoneFns.push($),this._onDoneFns.push($)}onDestroy($){this._onDestroyFns.push($)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach($=>$()),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($=>$()),this._onDestroyFns=[])}setPosition($){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=$*this.time}getPosition(){return+(this.domPlayer.currentTime??0)/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const $=new Map;this.hasStarted()&&this._finalKeyframe.forEach((Ce,Ze)=>{"offset"!==Ze&&$.set(Ze,this._finished?Ce:Xn(this.element,Ze))}),this.currentSnapshot=$}triggerCallback($){const ee="start"===$?this._onStartFns:this._onDoneFns;ee.forEach(Ce=>Ce()),ee.length=0}}class lt{validateStyleProperty($){return!0}validateAnimatableStyleProperty($){return!0}matchesElement($,ee){return!1}containsElement($,ee){return Ct($,ee)}getParentElement($){return or($)}query($,ee,Ce){return qe($,ee,Ce)}computeStyle($,ee,Ce){return Xn($,ee)}animate($,ee,Ce,Ze,Mt,Rt=[]){const Kt={duration:Ce,delay:Ze,fill:0==Ze?"both":"forwards"};Mt&&(Kt.easing=Mt);const yn=new Map,rr=Rt.filter(Mr=>Mr instanceof ge);(function wn(et,$){return 0===et||0===$})(Ce,Ze)&&rr.forEach(Mr=>{Mr.currentSnapshot.forEach((fr,Dr)=>yn.set(Dr,fr))});let er=function Ci(et){return et.length?et[0]instanceof Map?et:et.map($=>new Map(Object.entries($))):[]}(ee).map(Mr=>new Map(Mr));er=function Dn(et,$,ee){if(ee.size&&$.length){let Ce=$[0],Ze=[];if(ee.forEach((Mt,Rt)=>{Ce.has(Rt)||Ze.push(Rt),Ce.set(Rt,Mt)}),Ze.length)for(let Mt=1;Mt<$.length;Mt++){let Rt=$[Mt];Ze.forEach($t=>Rt.set($t,Xn(et,$t)))}}return $}($,er,yn);const Kr=function Wo(et,$){let ee=null,Ce=null;return Array.isArray($)&&$.length?(ee=Le($[0]),$.length>1&&(Ce=Le($[$.length-1]))):$ instanceof Map&&(ee=Le($)),ee||Ce?new Jo(et,ee,Ce):null}($,er);return new ge($,er,Kt,Kr)}}const Mi="@.disabled";class Eo{constructor($,ee,Ce,Ze){this.namespaceId=$,this.delegate=ee,this.engine=Ce,this._onDestroy=Ze,this.\u0275type=0}get data(){return this.delegate.data}destroyNode($){this.delegate.destroyNode?.($)}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.engine.afterFlushAnimationsDone(()=>{queueMicrotask(()=>{this.delegate.destroy()})}),this._onDestroy?.()}createElement($,ee){return this.delegate.createElement($,ee)}createComment($){return this.delegate.createComment($)}createText($){return this.delegate.createText($)}appendChild($,ee){this.delegate.appendChild($,ee),this.engine.onInsert(this.namespaceId,ee,$,!1)}insertBefore($,ee,Ce,Ze=!0){this.delegate.insertBefore($,ee,Ce),this.engine.onInsert(this.namespaceId,ee,$,Ze)}removeChild($,ee,Ce){this.engine.onRemove(this.namespaceId,ee,this.delegate)}selectRootElement($,ee){return this.delegate.selectRootElement($,ee)}parentNode($){return this.delegate.parentNode($)}nextSibling($){return this.delegate.nextSibling($)}setAttribute($,ee,Ce,Ze){this.delegate.setAttribute($,ee,Ce,Ze)}removeAttribute($,ee,Ce){this.delegate.removeAttribute($,ee,Ce)}addClass($,ee){this.delegate.addClass($,ee)}removeClass($,ee){this.delegate.removeClass($,ee)}setStyle($,ee,Ce,Ze){this.delegate.setStyle($,ee,Ce,Ze)}removeStyle($,ee,Ce){this.delegate.removeStyle($,ee,Ce)}setProperty($,ee,Ce){"@"==ee.charAt(0)&&ee==Mi?this.disableAnimations($,!!Ce):this.delegate.setProperty($,ee,Ce)}setValue($,ee){this.delegate.setValue($,ee)}listen($,ee,Ce){return this.delegate.listen($,ee,Ce)}disableAnimations($,ee){this.engine.disableAnimations($,ee)}}class Io extends Eo{constructor($,ee,Ce,Ze,Mt){super(ee,Ce,Ze,Mt),this.factory=$,this.namespaceId=ee}setProperty($,ee,Ce){"@"==ee.charAt(0)?"."==ee.charAt(1)&&ee==Mi?this.disableAnimations($,Ce=void 0===Ce||!!Ce):this.engine.process(this.namespaceId,$,ee.slice(1),Ce):this.delegate.setProperty($,ee,Ce)}listen($,ee,Ce){if("@"==ee.charAt(0)){const Ze=function _o(et){switch(et){case"body":return document.body;case"document":return document;case"window":return window;default:return et}}($);let Mt=ee.slice(1),Rt="";return"@"!=Mt.charAt(0)&&([Mt,Rt]=function $r(et){const $=et.indexOf(".");return[et.substring(0,$),et.slice($+1)]}(Mt)),this.engine.listen(this.namespaceId,Ze,Mt,Rt,$t=>{this.factory.scheduleListenerCallback($t._data||-1,Ce,$t)})}return this.delegate.listen($,ee,Ce)}}class Xo{constructor($,ee,Ce){this.delegate=$,this.engine=ee,this._zone=Ce,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,ee.onRemovalComplete=(Ze,Mt)=>{const Rt=Mt?.parentNode(Ze);Rt&&Mt.removeChild(Rt,Ze)}}createRenderer($,ee){const Ze=this.delegate.createRenderer($,ee);if(!$||!ee?.data?.animation){const yn=this._rendererCache;let rr=yn.get(Ze);return rr||(rr=new Eo("",Ze,this.engine,()=>yn.delete(Ze)),yn.set(Ze,rr)),rr}const Mt=ee.id,Rt=ee.id+"-"+this._currentId;this._currentId++,this.engine.register(Rt,$);const $t=yn=>{Array.isArray(yn)?yn.forEach($t):this.engine.registerTrigger(Mt,Rt,$,yn.name,yn)};return ee.data.animation.forEach($t),new Io(this,Rt,Ze,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){queueMicrotask(()=>{this._microtaskId++})}scheduleListenerCallback($,ee,Ce){if($>=0&&$ee(Ce));const Ze=this._animationCallbacksBuffer;0==Ze.length&&queueMicrotask(()=>{this._zone.run(()=>{Ze.forEach(Mt=>{const[Rt,$t]=Mt;Rt($t)}),this._animationCallbacksBuffer=[]})}),Ze.push([ee,Ce])}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 aa=s(91368);let io=(()=>{class et extends To{constructor(ee,Ce,Ze){super(ee,Ce,Ze,(0,n.inject)(n.\u0275ChangeDetectionScheduler,{optional:!0}))}ngOnDestroy(){this.flush()}static#e=this.\u0275fac=function(Ce){return new(Ce||et)(n.\u0275\u0275inject(aa.DOCUMENT),n.\u0275\u0275inject(vt),n.\u0275\u0275inject(pt))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:et,factory:et.\u0275fac})}return et})();const wo=[{provide:pt,useFactory:function sa(){return new Or}},{provide:To,useClass:io},{provide:n.RendererFactory2,useFactory:function Ro(et,$,ee){return new Xo(et,$,ee)},deps:[c.\u0275DomRendererFactory2,To,n.NgZone]}],qi=[{provide:vt,useFactory:()=>new lt},{provide:n.ANIMATION_MODULE_TYPE,useValue:"BrowserAnimations"},...wo],Go=[{provide:vt,useClass:He},{provide:n.ANIMATION_MODULE_TYPE,useValue:"NoopAnimations"},...wo];let la=(()=>{class et{static withConfig(ee){return{ngModule:et,providers:ee.disableAnimations?Go:qi}}static#e=this.\u0275fac=function(Ce){return new(Ce||et)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:et});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:qi,imports:[c.BrowserModule]})}return et})();function Ao(){return(0,n.\u0275performanceMarkFeature)("NgEagerAnimations"),[...qi]}let go=(()=>{class et{static#e=this.\u0275fac=function(Ce){return new(Ce||et)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:et});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:Go,imports:[c.BrowserModule]})}return et})();function ma(){return[...Go]}},14476:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{BrowserModule:()=>Te,By:()=>kn,DomSanitizer:()=>gt,EVENT_MANAGER_PLUGINS:()=>p,EventManager:()=>E,EventManagerPlugin:()=>S,HAMMER_GESTURE_CONFIG:()=>Pe,HAMMER_LOADER:()=>le,HammerGestureConfig:()=>he,HammerModule:()=>ze,HydrationFeatureKind:()=>dn,Meta:()=>ht,REMOVE_STYLES_ON_COMPONENT_DESTROY:()=>V,Title:()=>nn,TransferState:()=>Yn,VERSION:()=>Cr,bootstrapApplication:()=>$e,createApplication:()=>Be,disableDebugTools:()=>Hn,enableDebugTools:()=>zt,makeStateKey:()=>jr,platformBrowser:()=>rt,provideClientHydration:()=>fi,provideProtractorTestingSupport:()=>Me,withHttpTransferCacheOptions:()=>br,withNoHttpTransferCache:()=>tr,\u0275BrowserDomAdapter:()=>i,\u0275BrowserGetTestability:()=>v,\u0275DomEventsPlugin:()=>ct,\u0275DomRendererFactory2:()=>A,\u0275DomSanitizerImpl:()=>Gt,\u0275HammerGesturesPlugin:()=>We,\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS:()=>we,\u0275KeyEventsPlugin:()=>Qe,\u0275SharedStylesHost:()=>f,\u0275getDOM:()=>c.\u0275getDOM,\u0275initDomAdapter:()=>Se});var n=s(54496),c=s(91368),u=s(97048);class l extends c.\u0275DomAdapter{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class i extends l{static makeCurrent(){(0,c.\u0275setRootDomAdapter)(new i)}onAndCancel(en,Ct,qe){return en.addEventListener(Ct,qe),()=>{en.removeEventListener(Ct,qe)}}dispatchEvent(en,Ct){en.dispatchEvent(Ct)}remove(en){en.parentNode&&en.parentNode.removeChild(en)}createElement(en,Ct){return(Ct=Ct||this.getDefaultDocument()).createElement(en)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(en){return en.nodeType===Node.ELEMENT_NODE}isShadowRoot(en){return en instanceof DocumentFragment}getGlobalEventTarget(en,Ct){return"window"===Ct?window:"document"===Ct?en:"body"===Ct?en.body:null}getBaseHref(en){const Ct=function o(){return e=e||document.querySelector("base"),e?e.getAttribute("href"):null}();return null==Ct?null:function d(It){return new URL(It,document.baseURI).pathname}(Ct)}resetBaseElement(){e=null}getUserAgent(){return window.navigator.userAgent}getCookie(en){return(0,c.\u0275parseCookieValue)(document.cookie,en)}}let e=null;class v{addToWindow(en){n.\u0275global.getAngularTestability=(qe,Nt=!0)=>{const He=en.findTestabilityInTree(qe,Nt);if(null==He)throw new n.\u0275RuntimeError(5103,!1);return He},n.\u0275global.getAllAngularTestabilities=()=>en.getAllTestabilities(),n.\u0275global.getAllAngularRootElements=()=>en.getAllRootElements(),n.\u0275global.frameworkStabilizers||(n.\u0275global.frameworkStabilizers=[]),n.\u0275global.frameworkStabilizers.push(qe=>{const Nt=n.\u0275global.getAllAngularTestabilities();let He=Nt.length;const vt=function(){He--,0==He&&qe()};Nt.forEach(pt=>{pt.whenStable(vt)})})}findTestabilityInTree(en,Ct,qe){return null==Ct?null:en.getTestability(Ct)??(qe?(0,c.\u0275getDOM)().isShadowRoot(Ct)?this.findTestabilityInTree(en,Ct.host,!0):this.findTestabilityInTree(en,Ct.parentElement,!0):null)}}let M=(()=>{class It{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(qe){return new(qe||It)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:It,factory:It.\u0275fac})}return It})();const p=new n.InjectionToken("");let E=(()=>{class It{constructor(Ct,qe){this._zone=qe,this._eventNameToPlugin=new Map,Ct.forEach(Nt=>{Nt.manager=this}),this._plugins=Ct.slice().reverse()}addEventListener(Ct,qe,Nt){return this._findPluginFor(qe).addEventListener(Ct,qe,Nt)}getZone(){return this._zone}_findPluginFor(Ct){let qe=this._eventNameToPlugin.get(Ct);if(qe)return qe;if(qe=this._plugins.find(He=>He.supports(Ct)),!qe)throw new n.\u0275RuntimeError(5101,!1);return this._eventNameToPlugin.set(Ct,qe),qe}static#e=this.\u0275fac=function(qe){return new(qe||It)(n.\u0275\u0275inject(p),n.\u0275\u0275inject(n.NgZone))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:It,factory:It.\u0275fac})}return It})();class S{constructor(en){this._doc=en}}const y="ng-app-id";let f=(()=>{class It{constructor(Ct,qe,Nt,He={}){this.doc=Ct,this.appId=qe,this.nonce=Nt,this.platformId=He,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=(0,c.isPlatformServer)(He),this.resetHostNodes()}addStyles(Ct){for(const qe of Ct)1===this.changeUsageCount(qe,1)&&this.onStyleAdded(qe)}removeStyles(Ct){for(const qe of Ct)this.changeUsageCount(qe,-1)<=0&&this.onStyleRemoved(qe)}ngOnDestroy(){const Ct=this.styleNodesInDOM;Ct&&(Ct.forEach(qe=>qe.remove()),Ct.clear());for(const qe of this.getAllStyles())this.onStyleRemoved(qe);this.resetHostNodes()}addHost(Ct){this.hostNodes.add(Ct);for(const qe of this.getAllStyles())this.addStyleToHost(Ct,qe)}removeHost(Ct){this.hostNodes.delete(Ct)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(Ct){for(const qe of this.hostNodes)this.addStyleToHost(qe,Ct)}onStyleRemoved(Ct){const qe=this.styleRef;qe.get(Ct)?.elements?.forEach(Nt=>Nt.remove()),qe.delete(Ct)}collectServerRenderedStyles(){const Ct=this.doc.head?.querySelectorAll(`style[${y}="${this.appId}"]`);if(Ct?.length){const qe=new Map;return Ct.forEach(Nt=>{null!=Nt.textContent&&qe.set(Nt.textContent,Nt)}),qe}return null}changeUsageCount(Ct,qe){const Nt=this.styleRef;if(Nt.has(Ct)){const He=Nt.get(Ct);return He.usage+=qe,He.usage}return Nt.set(Ct,{usage:qe,elements:[]}),qe}getStyleElement(Ct,qe){const Nt=this.styleNodesInDOM,He=Nt?.get(qe);if(He?.parentNode===Ct)return Nt.delete(qe),He.removeAttribute(y),He;{const vt=this.doc.createElement("style");return this.nonce&&vt.setAttribute("nonce",this.nonce),vt.textContent=qe,this.platformIsServer&&vt.setAttribute(y,this.appId),Ct.appendChild(vt),vt}}addStyleToHost(Ct,qe){const Nt=this.getStyleElement(Ct,qe),He=this.styleRef,vt=He.get(qe)?.elements;vt?vt.push(Nt):He.set(qe,{elements:[Nt],usage:1})}resetHostNodes(){const Ct=this.hostNodes;Ct.clear(),Ct.add(this.doc.head)}static#e=this.\u0275fac=function(qe){return new(qe||It)(n.\u0275\u0275inject(c.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:It,factory:It.\u0275fac})}return It})();const C={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/"},_=/%COMP%/g,w="%COMP%",D=`_nghost-${w}`,L=`_ngcontent-${w}`,V=new n.InjectionToken("",{providedIn:"root",factory:()=>!0});function k(It,en){return en.map(Ct=>Ct.replace(_,It))}let A=(()=>{class It{constructor(Ct,qe,Nt,He,vt,pt,an,Ln=null){this.eventManager=Ct,this.sharedStylesHost=qe,this.appId=Nt,this.removeStylesOnCompDestroy=He,this.doc=vt,this.platformId=pt,this.ngZone=an,this.nonce=Ln,this.rendererByCompId=new Map,this.platformIsServer=(0,c.isPlatformServer)(pt),this.defaultRenderer=new H(Ct,vt,an,this.platformIsServer)}createRenderer(Ct,qe){if(!Ct||!qe)return this.defaultRenderer;this.platformIsServer&&qe.encapsulation===n.ViewEncapsulation.ShadowDom&&(qe={...qe,encapsulation:n.ViewEncapsulation.Emulated});const Nt=this.getOrCreateRenderer(Ct,qe);return Nt instanceof Ge?Nt.applyToHost(Ct):Nt instanceof ce&&Nt.applyStyles(),Nt}getOrCreateRenderer(Ct,qe){const Nt=this.rendererByCompId;let He=Nt.get(qe.id);if(!He){const vt=this.doc,pt=this.ngZone,an=this.eventManager,Ln=this.sharedStylesHost,Vt=this.removeStylesOnCompDestroy,Sn=this.platformIsServer;switch(qe.encapsulation){case n.ViewEncapsulation.Emulated:He=new Ge(an,Ln,qe,this.appId,Vt,vt,pt,Sn);break;case n.ViewEncapsulation.ShadowDom:return new be(an,Ln,Ct,qe,vt,pt,this.nonce,Sn);default:He=new ce(an,Ln,qe,Vt,vt,pt,Sn)}Nt.set(qe.id,He)}return He}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(qe){return new(qe||It)(n.\u0275\u0275inject(E),n.\u0275\u0275inject(f),n.\u0275\u0275inject(n.APP_ID),n.\u0275\u0275inject(V),n.\u0275\u0275inject(c.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:It,factory:It.\u0275fac})}return It})();class H{constructor(en,Ct,qe,Nt){this.eventManager=en,this.doc=Ct,this.ngZone=qe,this.platformIsServer=Nt,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(en,Ct){return Ct?this.doc.createElementNS(C[Ct]||Ct,en):this.doc.createElement(en)}createComment(en){return this.doc.createComment(en)}createText(en){return this.doc.createTextNode(en)}appendChild(en,Ct){(J(en)?en.content:en).appendChild(Ct)}insertBefore(en,Ct,qe){en&&(J(en)?en.content:en).insertBefore(Ct,qe)}removeChild(en,Ct){en&&en.removeChild(Ct)}selectRootElement(en,Ct){let qe="string"==typeof en?this.doc.querySelector(en):en;if(!qe)throw new n.\u0275RuntimeError(-5104,!1);return Ct||(qe.textContent=""),qe}parentNode(en){return en.parentNode}nextSibling(en){return en.nextSibling}setAttribute(en,Ct,qe,Nt){if(Nt){Ct=Nt+":"+Ct;const He=C[Nt];He?en.setAttributeNS(He,Ct,qe):en.setAttribute(Ct,qe)}else en.setAttribute(Ct,qe)}removeAttribute(en,Ct,qe){if(qe){const Nt=C[qe];Nt?en.removeAttributeNS(Nt,Ct):en.removeAttribute(`${qe}:${Ct}`)}else en.removeAttribute(Ct)}addClass(en,Ct){en.classList.add(Ct)}removeClass(en,Ct){en.classList.remove(Ct)}setStyle(en,Ct,qe,Nt){Nt&(n.RendererStyleFlags2.DashCase|n.RendererStyleFlags2.Important)?en.style.setProperty(Ct,qe,Nt&n.RendererStyleFlags2.Important?"important":""):en.style[Ct]=qe}removeStyle(en,Ct,qe){qe&n.RendererStyleFlags2.DashCase?en.style.removeProperty(Ct):en.style[Ct]=""}setProperty(en,Ct,qe){null!=en&&(en[Ct]=qe)}setValue(en,Ct){en.nodeValue=Ct}listen(en,Ct,qe){if("string"==typeof en&&!(en=(0,c.\u0275getDOM)().getGlobalEventTarget(this.doc,en)))throw new Error(`Unsupported event target ${en} for event ${Ct}`);return this.eventManager.addEventListener(en,Ct,this.decoratePreventDefault(qe))}decoratePreventDefault(en){return Ct=>{if("__ngUnwrap__"===Ct)return en;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>en(Ct)):en(Ct))&&Ct.preventDefault()}}}function J(It){return"TEMPLATE"===It.tagName&&void 0!==It.content}class be extends H{constructor(en,Ct,qe,Nt,He,vt,pt,an){super(en,He,vt,an),this.sharedStylesHost=Ct,this.hostEl=qe,this.shadowRoot=qe.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const Ln=k(Nt.id,Nt.styles);for(const Vt of Ln){const Sn=document.createElement("style");pt&&Sn.setAttribute("nonce",pt),Sn.textContent=Vt,this.shadowRoot.appendChild(Sn)}}nodeOrShadowRoot(en){return en===this.hostEl?this.shadowRoot:en}appendChild(en,Ct){return super.appendChild(this.nodeOrShadowRoot(en),Ct)}insertBefore(en,Ct,qe){return super.insertBefore(this.nodeOrShadowRoot(en),Ct,qe)}removeChild(en,Ct){return super.removeChild(this.nodeOrShadowRoot(en),Ct)}parentNode(en){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(en)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class ce extends H{constructor(en,Ct,qe,Nt,He,vt,pt,an){super(en,He,vt,pt),this.sharedStylesHost=Ct,this.removeStylesOnCompDestroy=Nt,this.styles=an?k(an,qe.styles):qe.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Ge extends ce{constructor(en,Ct,qe,Nt,He,vt,pt,an){const Ln=Nt+"-"+qe.id;super(en,Ct,qe,He,vt,pt,an,Ln),this.contentAttr=function G(It){return L.replace(_,It)}(Ln),this.hostAttr=function R(It){return D.replace(_,It)}(Ln)}applyToHost(en){this.applyStyles(),this.setAttribute(en,this.hostAttr,"")}createElement(en,Ct){const qe=super.createElement(en,Ct);return super.setAttribute(qe,this.contentAttr,""),qe}}let ct=(()=>{class It extends S{constructor(Ct){super(Ct)}supports(Ct){return!0}addEventListener(Ct,qe,Nt){return Ct.addEventListener(qe,Nt,!1),()=>this.removeEventListener(Ct,qe,Nt)}removeEventListener(Ct,qe,Nt){return Ct.removeEventListener(qe,Nt)}static#e=this.\u0275fac=function(qe){return new(qe||It)(n.\u0275\u0275inject(c.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:It,factory:It.\u0275fac})}return It})();const Oe=["alt","control","meta","shift"],ke={"\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"},Re={alt:It=>It.altKey,control:It=>It.ctrlKey,meta:It=>It.metaKey,shift:It=>It.shiftKey};let Qe=(()=>{class It extends S{constructor(Ct){super(Ct)}supports(Ct){return null!=It.parseEventName(Ct)}addEventListener(Ct,qe,Nt){const He=It.parseEventName(qe),vt=It.eventCallback(He.fullKey,Nt,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,c.\u0275getDOM)().onAndCancel(Ct,He.domEventName,vt))}static parseEventName(Ct){const qe=Ct.toLowerCase().split("."),Nt=qe.shift();if(0===qe.length||"keydown"!==Nt&&"keyup"!==Nt)return null;const He=It._normalizeKey(qe.pop());let vt="",pt=qe.indexOf("code");if(pt>-1&&(qe.splice(pt,1),vt="code."),Oe.forEach(Ln=>{const Vt=qe.indexOf(Ln);Vt>-1&&(qe.splice(Vt,1),vt+=Ln+".")}),vt+=He,0!=qe.length||0===He.length)return null;const an={};return an.domEventName=Nt,an.fullKey=vt,an}static matchEventFullKeyCode(Ct,qe){let Nt=ke[Ct.key]||Ct.key,He="";return qe.indexOf("code.")>-1&&(Nt=Ct.code,He="code."),!(null==Nt||!Nt)&&(Nt=Nt.toLowerCase()," "===Nt?Nt="space":"."===Nt&&(Nt="dot"),Oe.forEach(vt=>{vt!==Nt&&(0,Re[vt])(Ct)&&(He+=vt+".")}),He+=Nt,He===qe)}static eventCallback(Ct,qe,Nt){return He=>{It.matchEventFullKeyCode(He,Ct)&&Nt.runGuarded(()=>qe(He))}}static _normalizeKey(Ct){return"esc"===Ct?"escape":Ct}static#e=this.\u0275fac=function(qe){return new(qe||It)(n.\u0275\u0275inject(c.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:It,factory:It.\u0275fac})}return It})();function $e(It,en){return(0,n.\u0275internalCreateApplication)({rootComponent:It,..._e(en)})}function Be(It){return(0,n.\u0275internalCreateApplication)(_e(It))}function _e(It){return{appProviders:[...ye,...It?.providers??[]],platformProviders:we}}function Me(){return[...wt]}function Se(){i.makeCurrent()}const we=[{provide:n.PLATFORM_ID,useValue:c.\u0275PLATFORM_BROWSER_ID},{provide:n.PLATFORM_INITIALIZER,useValue:Se,multi:!0},{provide:c.DOCUMENT,useFactory:function re(){return(0,n.\u0275setDocument)(document),document},deps:[]}],rt=(0,n.createPlatformFactory)(n.platformCore,"browser",we),tt=new n.InjectionToken(""),wt=[{provide:n.\u0275TESTABILITY_GETTER,useClass:v,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]}],ye=[{provide:n.\u0275INJECTOR_SCOPE,useValue:"root"},{provide:n.ErrorHandler,useFactory:function je(){return new n.ErrorHandler},deps:[]},{provide:p,useClass:ct,multi:!0,deps:[c.DOCUMENT,n.NgZone,n.PLATFORM_ID]},{provide:p,useClass:Qe,multi:!0,deps:[c.DOCUMENT]},A,f,E,{provide:n.RendererFactory2,useExisting:A},{provide:c.XhrFactory,useClass:M,deps:[]},[]];let Te=(()=>{class It{constructor(Ct){}static withServerTransition(Ct){return{ngModule:It,providers:[{provide:n.APP_ID,useValue:Ct.appId}]}}static#e=this.\u0275fac=function(qe){return new(qe||It)(n.\u0275\u0275inject(tt,12))};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:It});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:[...ye,...wt],imports:[c.CommonModule,n.ApplicationModule]})}return It})(),ht=(()=>{class It{constructor(Ct){this._doc=Ct,this._dom=(0,c.\u0275getDOM)()}addTag(Ct,qe=!1){return Ct?this._getOrCreateElement(Ct,qe):null}addTags(Ct,qe=!1){return Ct?Ct.reduce((Nt,He)=>(He&&Nt.push(this._getOrCreateElement(He,qe)),Nt),[]):[]}getTag(Ct){return Ct&&this._doc.querySelector(`meta[${Ct}]`)||null}getTags(Ct){if(!Ct)return[];const qe=this._doc.querySelectorAll(`meta[${Ct}]`);return qe?[].slice.call(qe):[]}updateTag(Ct,qe){if(!Ct)return null;qe=qe||this._parseSelector(Ct);const Nt=this.getTag(qe);return Nt?this._setMetaElementAttributes(Ct,Nt):this._getOrCreateElement(Ct,!0)}removeTag(Ct){this.removeTagElement(this.getTag(Ct))}removeTagElement(Ct){Ct&&this._dom.remove(Ct)}_getOrCreateElement(Ct,qe=!1){if(!qe){const vt=this._parseSelector(Ct),pt=this.getTags(vt).filter(an=>this._containsAttributes(Ct,an))[0];if(void 0!==pt)return pt}const Nt=this._dom.createElement("meta");return this._setMetaElementAttributes(Ct,Nt),this._doc.getElementsByTagName("head")[0].appendChild(Nt),Nt}_setMetaElementAttributes(Ct,qe){return Object.keys(Ct).forEach(Nt=>qe.setAttribute(this._getMetaKeyMap(Nt),Ct[Nt])),qe}_parseSelector(Ct){const qe=Ct.name?"name":"property";return`${qe}="${Ct[qe]}"`}_containsAttributes(Ct,qe){return Object.keys(Ct).every(Nt=>qe.getAttribute(this._getMetaKeyMap(Nt))===Ct[Nt])}_getMetaKeyMap(Ct){return Ft[Ct]||Ct}static#e=this.\u0275fac=function(qe){return new(qe||It)(n.\u0275\u0275inject(c.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:It,factory:It.\u0275fac,providedIn:"root"})}return It})();const Ft={httpEquiv:"http-equiv"};let nn=(()=>{class It{constructor(Ct){this._doc=Ct}getTitle(){return this._doc.title}setTitle(Ct){this._doc.title=Ct||""}static#e=this.\u0275fac=function(qe){return new(qe||It)(n.\u0275\u0275inject(c.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:It,factory:It.\u0275fac,providedIn:"root"})}return It})();function Yt(It,en){(typeof COMPILED>"u"||!COMPILED)&&((n.\u0275global.ng=n.\u0275global.ng||{})[It]=en)}class Zt{constructor(en,Ct){this.msPerTick=en,this.numTicks=Ct}}class Mn{constructor(en){this.appRef=en.injector.get(n.ApplicationRef)}timeChangeDetection(en){const Ct=en&&en.record,qe="Change Detection";Ct&&"profile"in console&&"function"==typeof console.profile&&console.profile(qe);const Nt=performance.now();let He=0;for(;He<5||performance.now()-Nt<500;)this.appRef.tick(),He++;const vt=performance.now();Ct&&"profileEnd"in console&&"function"==typeof console.profileEnd&&console.profileEnd(qe);const pt=(vt-Nt)/He;return console.log(`ran ${He} change detection cycles`),console.log(`${pt.toFixed(2)} ms per check`),new Zt(pt,He)}}const Un="profiler";function zt(It){return Yt(Un,new Mn(It)),It}function Hn(){Yt(Un,null)}class kn{static all(){return()=>!0}static css(en){return Ct=>null!=Ct.nativeElement&&function ln(It,en){return!!(0,c.\u0275getDOM)().isElementNode(It)&&(It.matches&&It.matches(en)||It.msMatchesSelector&&It.msMatchesSelector(en)||It.webkitMatchesSelector&&It.webkitMatchesSelector(en))}(Ct.nativeElement,en)}static directive(en){return Ct=>-1!==Ct.providerTokens.indexOf(en)}}const ft={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},Pe=new n.InjectionToken("HammerGestureConfig"),le=new n.InjectionToken("HammerLoader");let he=(()=>{class It{constructor(){this.events=[],this.overrides={}}buildHammer(Ct){const qe=new Hammer(Ct,this.options);qe.get("pinch").set({enable:!0}),qe.get("rotate").set({enable:!0});for(const Nt in this.overrides)qe.get(Nt).set(this.overrides[Nt]);return qe}static#e=this.\u0275fac=function(qe){return new(qe||It)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:It,factory:It.\u0275fac})}return It})(),We=(()=>{class It extends S{constructor(Ct,qe,Nt,He){super(Ct),this._config=qe,this.console=Nt,this.loader=He,this._loaderPromise=null}supports(Ct){return!(!ft.hasOwnProperty(Ct.toLowerCase())&&!this.isCustomEvent(Ct)||!window.Hammer&&!this.loader)}addEventListener(Ct,qe,Nt){const He=this.manager.getZone();if(qe=qe.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||He.runOutsideAngular(()=>this.loader());let vt=!1,pt=()=>{vt=!0};return He.runOutsideAngular(()=>this._loaderPromise.then(()=>{window.Hammer?vt||(pt=this.addEventListener(Ct,qe,Nt)):pt=()=>{}}).catch(()=>{pt=()=>{}})),()=>{pt()}}return He.runOutsideAngular(()=>{const vt=this._config.buildHammer(Ct),pt=function(an){He.runGuarded(function(){Nt(an)})};return vt.on(qe,pt),()=>{vt.off(qe,pt),"function"==typeof vt.destroy&&vt.destroy()}})}isCustomEvent(Ct){return this._config.events.indexOf(Ct)>-1}static#e=this.\u0275fac=function(qe){return new(qe||It)(n.\u0275\u0275inject(c.DOCUMENT),n.\u0275\u0275inject(Pe),n.\u0275\u0275inject(n.\u0275Console),n.\u0275\u0275inject(le,8))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:It,factory:It.\u0275fac})}return It})(),ze=(()=>{class It{static#e=this.\u0275fac=function(qe){return new(qe||It)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:It});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({providers:[{provide:p,useClass:We,multi:!0,deps:[c.DOCUMENT,Pe,n.\u0275Console,[new n.Optional,le]]},{provide:Pe,useClass:he,deps:[]}]})}return It})(),gt=(()=>{class It{static#e=this.\u0275fac=function(qe){return new(qe||It)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:It,factory:function(qe){let Nt=null;return Nt=qe?new(qe||It):n.\u0275\u0275inject(Gt),Nt},providedIn:"root"})}return It})(),Gt=(()=>{class It extends gt{constructor(Ct){super(),this._doc=Ct}sanitize(Ct,qe){if(null==qe)return null;switch(Ct){case n.SecurityContext.NONE:return qe;case n.SecurityContext.HTML:return(0,n.\u0275allowSanitizationBypassAndThrow)(qe,"HTML")?(0,n.\u0275unwrapSafeValue)(qe):(0,n.\u0275_sanitizeHtml)(this._doc,String(qe)).toString();case n.SecurityContext.STYLE:return(0,n.\u0275allowSanitizationBypassAndThrow)(qe,"Style")?(0,n.\u0275unwrapSafeValue)(qe):qe;case n.SecurityContext.SCRIPT:if((0,n.\u0275allowSanitizationBypassAndThrow)(qe,"Script"))return(0,n.\u0275unwrapSafeValue)(qe);throw new n.\u0275RuntimeError(5200,!1);case n.SecurityContext.URL:return(0,n.\u0275allowSanitizationBypassAndThrow)(qe,"URL")?(0,n.\u0275unwrapSafeValue)(qe):(0,n.\u0275_sanitizeUrl)(String(qe));case n.SecurityContext.RESOURCE_URL:if((0,n.\u0275allowSanitizationBypassAndThrow)(qe,"ResourceURL"))return(0,n.\u0275unwrapSafeValue)(qe);throw new n.\u0275RuntimeError(5201,!1);default:throw new n.\u0275RuntimeError(5202,!1)}}bypassSecurityTrustHtml(Ct){return(0,n.\u0275bypassSanitizationTrustHtml)(Ct)}bypassSecurityTrustStyle(Ct){return(0,n.\u0275bypassSanitizationTrustStyle)(Ct)}bypassSecurityTrustScript(Ct){return(0,n.\u0275bypassSanitizationTrustScript)(Ct)}bypassSecurityTrustUrl(Ct){return(0,n.\u0275bypassSanitizationTrustUrl)(Ct)}bypassSecurityTrustResourceUrl(Ct){return(0,n.\u0275bypassSanitizationTrustResourceUrl)(Ct)}static#e=this.\u0275fac=function(qe){return new(qe||It)(n.\u0275\u0275inject(c.DOCUMENT))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:It,factory:It.\u0275fac,providedIn:"root"})}return It})();var dn=function(It){return It[It.NoHttpTransferCache=0]="NoHttpTransferCache",It[It.HttpTransferCacheOptions=1]="HttpTransferCacheOptions",It}(dn||{});function $n(It,en=[],Ct={}){return{\u0275kind:It,\u0275providers:en}}function tr(){return $n(dn.NoHttpTransferCache)}function br(It){return $n(dn.HttpTransferCacheOptions,(0,u.\u0275withHttpTransferCache)(It))}function fi(...It){const en=[],Ct=new Set,qe=Ct.has(dn.HttpTransferCacheOptions);for(const{\u0275providers:Nt,\u0275kind:He}of It)Ct.add(He),Nt.length&&en.push(Nt);return(0,n.makeEnvironmentProviders)([[],(0,n.\u0275withDomHydration)(),Ct.has(dn.NoHttpTransferCache)||qe?[]:(0,u.\u0275withHttpTransferCache)({}),en])}const Cr=new n.Version("17.2.3"),jr=n.makeStateKey,Yn=n.TransferState},53076:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{ActivatedRoute:()=>qr,ActivatedRouteSnapshot:()=>ni,ActivationEnd:()=>Bn,ActivationStart:()=>In,BaseRouteReuseStrategy:()=>Cn,ChildActivationEnd:()=>fn,ChildActivationStart:()=>bn,ChildrenOutletContexts:()=>co,DefaultTitleStrategy:()=>Ot,DefaultUrlSerializer:()=>or,EventType:()=>Er,GuardsCheckEnd:()=>Et,GuardsCheckStart:()=>mt,NavigationCancel:()=>me,NavigationCancellationCode:()=>Q,NavigationEnd:()=>F,NavigationError:()=>fe,NavigationSkipped:()=>q,NavigationSkippedCode:()=>De,NavigationStart:()=>x,NoPreloading:()=>Ss,OutletContext:()=>st,PRIMARY_OUTLET:()=>tt,PreloadAllModules:()=>Xl,PreloadingStrategy:()=>Ms,ROUTER_CONFIGURATION:()=>Bt,ROUTER_INITIALIZER:()=>Gs,ROUTES:()=>Qt,ResolveEnd:()=>tn,ResolveStart:()=>Ut,RouteConfigLoadEnd:()=>vn,RouteConfigLoadStart:()=>pn,RouteReuseStrategy:()=>qt,Router:()=>Yi,RouterEvent:()=>un,RouterLink:()=>ss,RouterLinkActive:()=>ls,RouterLinkWithHref:()=>ss,RouterModule:()=>Is,RouterOutlet:()=>ro,RouterPreloader:()=>La,RouterState:()=>jn,RouterStateSnapshot:()=>ji,RoutesRecognized:()=>nt,Scroll:()=>_r,TitleStrategy:()=>Tt,UrlHandlingStrategy:()=>se,UrlSegment:()=>Gt,UrlSegmentGroup:()=>gt,UrlSerializer:()=>br,UrlTree:()=>ze,VERSION:()=>_i,convertToParamMap:()=>Te,createUrlTreeFromSnapshot:()=>Nr,defaultUrlMatcher:()=>ht,mapToCanActivate:()=>Gn,mapToCanActivateChild:()=>nc,mapToCanDeactivate:()=>ga,mapToCanMatch:()=>As,mapToResolve:()=>ds,provideRouter:()=>Es,provideRoutes:()=>ql,withComponentInputBinding:()=>Ts,withDebugTracing:()=>ea,withDisabledInitialNavigation:()=>gu,withEnabledBlockingInitialNavigation:()=>ll,withHashLocation:()=>tc,withInMemoryScrolling:()=>Ws,withNavigationErrorHandler:()=>pu,withPreloading:()=>Ja,withRouterConfig:()=>Ud,withViewTransitions:()=>us,\u0275EmptyOutletComponent:()=>uo,\u0275ROUTER_PROVIDERS:()=>ul,\u0275afterNextNavigation:()=>ho,\u0275loadChildren:()=>Wn});var n=s(54496),c=s(53252),u=s(38880),i=s(74496),e=s(82700),o=s(46700),d=s(56040),v=s(37696),M=s(7400),p=s(528);function E(W=1/0){return(0,M.O)(p.Z,W)}var y=s(59472);function f(...W){return function S(){return E(1)}()((0,i.Q)(W,(0,y.e_)(W)))}var C=s(50560);function _(W){return new c._(ae=>{(0,C.Uv)(W()).subscribe(ae)})}var w=s(83928);function D(W,ae){const Z=(0,u.m)(W)?W:()=>W,oe=Ue=>Ue.error(Z());return new c._(ae?Ue=>ae.schedule(oe,0,Ue):oe)}var L=s(28960),N=s(46928),V=s(95448),G=s(87773);function R(){return(0,V.i)((W,ae)=>{let Z=null;W._refCount++;const oe=(0,G.e)(ae,void 0,void 0,void 0,()=>{if(!W||W._refCount<=0||0<--W._refCount)return void(Z=null);const Ue=W._connection,ut=Z;Z=null,Ue&&(!ut||Ue===ut)&&Ue.unsubscribe(),ae.unsubscribe()});W.subscribe(oe),oe.closed||(Z=W.connect())})}class k extends c._{constructor(ae,Z){super(),this.source=ae,this.subjectFactory=Z,this._subject=null,this._refCount=0,this._connection=null,(0,V.e)(ae)&&(this.lift=ae.lift)}_subscribe(ae){return this.getSubject().subscribe(ae)}getSubject(){const ae=this._subject;return(!ae||ae.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:ae}=this;this._subject=this._connection=null,ae?.unsubscribe()}connect(){let ae=this._connection;if(!ae){ae=this._connection=new N.wH;const Z=this.getSubject();ae.add(this.source.subscribe((0,G.e)(Z,void 0,()=>{this._teardown(),Z.complete()},oe=>{this._teardown(),Z.error(oe)},()=>this._teardown()))),ae.closed&&(this._connection=null,ae=N.wH.EMPTY)}return ae}refCount(){return R()(this)}}var A=s(95657),H=s(91368),K=s(54704),ie=s(17368),J=s(3992),ce=s(66684),Ge=s(75084),ct=s(26020),Oe=s(19212),ke=s(39144);var $e=s(22156);function Be(W){return W<=0?()=>L.k:(0,V.i)((ae,Z)=>{let oe=[];ae.subscribe((0,G.e)(Z,Ue=>{oe.push(Ue),W{for(const Ue of oe)Z.next(Ue);Z.complete()},void 0,()=>{oe=null}))})}var _e=s(98124),je=s(68824),re=s(20308),rt=s(14476);const tt="primary",wt=Symbol("RouteTitle");class ye{constructor(ae){this.params=ae||{}}has(ae){return Object.prototype.hasOwnProperty.call(this.params,ae)}get(ae){if(this.has(ae)){const Z=this.params[ae];return Array.isArray(Z)?Z[0]:Z}return null}getAll(ae){if(this.has(ae)){const Z=this.params[ae];return Array.isArray(Z)?Z:[Z]}return[]}get keys(){return Object.keys(this.params)}}function Te(W){return new ye(W)}function ht(W,ae,Z){const oe=Z.path.split("/");if(oe.length>W.length||"full"===Z.pathMatch&&(ae.hasChildren()||oe.lengthoe[ut]===Ue)}return W===ae}function Mn(W){return W.length>0?W[W.length-1]:null}function Un(W){return function l(W){return!!W&&(W instanceof c._||(0,u.m)(W.lift)&&(0,u.m)(W.subscribe))}(W)?W:(0,n.\u0275isPromise)(W)?(0,i.Q)(Promise.resolve(W)):(0,e.of)(W)}const zt={exact:function ft(W,ae,Z){if(!$n(W.segments,ae.segments)||!We(W.segments,ae.segments,Z)||W.numberOfChildren!==ae.numberOfChildren)return!1;for(const oe in ae.children)if(!W.children[oe]||!ft(W.children[oe],ae.children[oe],Z))return!1;return!0},subset:le},Hn={exact:function ln(W,ae){return nn(W,ae)},subset:function Pe(W,ae){return Object.keys(ae).length<=Object.keys(W).length&&Object.keys(ae).every(Z=>Zt(W[Z],ae[Z]))},ignored:()=>!0};function kn(W,ae,Z){return zt[Z.paths](W.root,ae.root,Z.matrixParams)&&Hn[Z.queryParams](W.queryParams,ae.queryParams)&&!("exact"===Z.fragment&&W.fragment!==ae.fragment)}function le(W,ae,Z){return he(W,ae,ae.segments,Z)}function he(W,ae,Z,oe){if(W.segments.length>Z.length){const Ue=W.segments.slice(0,Z.length);return!(!$n(Ue,Z)||ae.hasChildren()||!We(Ue,Z,oe))}if(W.segments.length===Z.length){if(!$n(W.segments,Z)||!We(W.segments,Z,oe))return!1;for(const Ue in ae.children)if(!W.children[Ue]||!le(W.children[Ue],ae.children[Ue],oe))return!1;return!0}{const Ue=Z.slice(0,W.segments.length),ut=Z.slice(W.segments.length);return!!($n(W.segments,Ue)&&We(W.segments,Ue,oe)&&W.children[tt])&&he(W.children[tt],ae,ut,oe)}}function We(W,ae,Z){return ae.every((oe,Ue)=>Hn[Z](W[Ue].parameters,oe.parameters))}class ze{constructor(ae=new gt([],{}),Z={},oe=null){this.root=ae,this.queryParams=Z,this.fragment=oe}get queryParamMap(){return this._queryParamMap??=Te(this.queryParams),this._queryParamMap}toString(){return fi.serialize(this)}}class gt{constructor(ae,Z){this.segments=ae,this.children=Z,this.parent=null,Object.values(Z).forEach(oe=>oe.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return Cr(this)}}class Gt{constructor(ae,Z){this.path=ae,this.parameters=Z}get parameterMap(){return this._parameterMap??=Te(this.parameters),this._parameterMap}toString(){return He(this)}}function $n(W,ae){return W.length===ae.length&&W.every((Z,oe)=>Z.path===ae[oe].path)}let br=(()=>{class W{static#e=this.\u0275fac=function(oe){return new(oe||W)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:W,factory:()=>new or,providedIn:"root"})}return W})();class or{parse(ae){const Z=new ar(ae);return new ze(Z.parseRootSegment(),Z.parseQueryParams(),Z.parseFragment())}serialize(ae){const Z=`/${jr(ae.root,!0)}`,oe=function pt(W){const ae=Object.entries(W).map(([Z,oe])=>Array.isArray(oe)?oe.map(Ue=>`${It(Z)}=${It(Ue)}`).join("&"):`${It(Z)}=${It(oe)}`).filter(Z=>Z);return ae.length?`?${ae.join("&")}`:""}(ae.queryParams);return`${Z}${oe}${"string"==typeof ae.fragment?`#${function en(W){return encodeURI(W)}(ae.fragment)}`:""}`}}const fi=new or;function Cr(W){return W.segments.map(ae=>He(ae)).join("/")}function jr(W,ae){if(!W.hasChildren())return Cr(W);if(ae){const Z=W.children[tt]?jr(W.children[tt],!1):"",oe=[];return Object.entries(W.children).forEach(([Ue,ut])=>{Ue!==tt&&oe.push(`${Ue}:${jr(ut,!1)}`)}),oe.length>0?`${Z}(${oe.join("//")})`:Z}{const Z=function tr(W,ae){let Z=[];return Object.entries(W.children).forEach(([oe,Ue])=>{oe===tt&&(Z=Z.concat(ae(Ue,oe)))}),Object.entries(W.children).forEach(([oe,Ue])=>{oe!==tt&&(Z=Z.concat(ae(Ue,oe)))}),Z}(W,(oe,Ue)=>Ue===tt?[jr(W.children[tt],!1)]:[`${Ue}:${jr(oe,!1)}`]);return 1===Object.keys(W.children).length&&null!=W.children[tt]?`${Cr(W)}/${Z[0]}`:`${Cr(W)}/(${Z.join("//")})`}}function Yn(W){return encodeURIComponent(W).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function It(W){return Yn(W).replace(/%3B/gi,";")}function Ct(W){return Yn(W).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function qe(W){return decodeURIComponent(W)}function Nt(W){return qe(W.replace(/\+/g,"%20"))}function He(W){return`${Ct(W.path)}${function vt(W){return Object.entries(W).map(([ae,Z])=>`;${Ct(ae)}=${Ct(Z)}`).join("")}(W.parameters)}`}const an=/^[^\/()?;#]+/;function Ln(W){const ae=W.match(an);return ae?ae[0]:""}const Vt=/^[^\/()?;=#]+/,xe=/^[^=?&#]+/,Pt=/^[^&#]+/;class ar{constructor(ae){this.url=ae,this.remaining=ae}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new gt([],{}):new gt([],this.parseChildren())}parseQueryParams(){const ae={};if(this.consumeOptional("?"))do{this.parseQueryParam(ae)}while(this.consumeOptional("&"));return ae}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const ae=[];for(this.peekStartsWith("(")||ae.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),ae.push(this.parseSegment());let Z={};this.peekStartsWith("/(")&&(this.capture("/"),Z=this.parseParens(!0));let oe={};return this.peekStartsWith("(")&&(oe=this.parseParens(!1)),(ae.length>0||Object.keys(Z).length>0)&&(oe[tt]=new gt(ae,Z)),oe}parseSegment(){const ae=Ln(this.remaining);if(""===ae&&this.peekStartsWith(";"))throw new n.\u0275RuntimeError(4009,!1);return this.capture(ae),new Gt(qe(ae),this.parseMatrixParams())}parseMatrixParams(){const ae={};for(;this.consumeOptional(";");)this.parseParam(ae);return ae}parseParam(ae){const Z=function Sn(W){const ae=W.match(Vt);return ae?ae[0]:""}(this.remaining);if(!Z)return;this.capture(Z);let oe="";if(this.consumeOptional("=")){const Ue=Ln(this.remaining);Ue&&(oe=Ue,this.capture(oe))}ae[qe(Z)]=qe(oe)}parseQueryParam(ae){const Z=function _t(W){const ae=W.match(xe);return ae?ae[0]:""}(this.remaining);if(!Z)return;this.capture(Z);let oe="";if(this.consumeOptional("=")){const kt=function jt(W){const ae=W.match(Pt);return ae?ae[0]:""}(this.remaining);kt&&(oe=kt,this.capture(oe))}const Ue=Nt(Z),ut=Nt(oe);if(ae.hasOwnProperty(Ue)){let kt=ae[Ue];Array.isArray(kt)||(kt=[kt],ae[Ue]=kt),kt.push(ut)}else ae[Ue]=ut}parseParens(ae){const Z={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const oe=Ln(this.remaining),Ue=this.remaining[oe.length];if("/"!==Ue&&")"!==Ue&&";"!==Ue)throw new n.\u0275RuntimeError(4010,!1);let ut;oe.indexOf(":")>-1?(ut=oe.slice(0,oe.indexOf(":")),this.capture(ut),this.capture(":")):ae&&(ut=tt);const kt=this.parseChildren();Z[ut]=1===Object.keys(kt).length?kt[tt]:new gt([],kt),this.consumeOptional("//")}return Z}peekStartsWith(ae){return this.remaining.startsWith(ae)}consumeOptional(ae){return!!this.peekStartsWith(ae)&&(this.remaining=this.remaining.substring(ae.length),!0)}capture(ae){if(!this.consumeOptional(ae))throw new n.\u0275RuntimeError(4011,!1)}}function ur(W){return W.segments.length>0?new gt([],{[tt]:W}):W}function Tr(W){const ae={};for(const[oe,Ue]of Object.entries(W.children)){const ut=Tr(Ue);if(oe===tt&&0===ut.segments.length&&ut.hasChildren())for(const[kt,mn]of Object.entries(ut.children))ae[kt]=mn;else(ut.segments.length>0||ut.hasChildren())&&(ae[oe]=ut)}return function lr(W){if(1===W.numberOfChildren&&W.children[tt]){const ae=W.children[tt];return new gt(W.segments.concat(ae.segments),ae.children)}return W}(new gt(W.segments,ae))}function nr(W){return W instanceof ze}function Nr(W,ae,Z=null,oe=null){return rn(Ci(W),ae,Z,oe)}function Ci(W){let ae;const Ue=ur(function Z(ut){const kt={};for(const on of ut.children){const cr=Z(on);kt[on.outlet]=cr}const mn=new gt(ut.url,kt);return ut===W&&(ae=mn),mn}(W.root));return ae??Ue}function rn(W,ae,Z,oe){let Ue=W;for(;Ue.parent;)Ue=Ue.parent;if(0===ae.length)return dr(Ue,Ue,Ue,Z,oe);const ut=function at(W){if("string"==typeof W[0]&&1===W.length&&"/"===W[0])return new Fr(!0,0,W);let ae=0,Z=!1;const oe=W.reduce((Ue,ut,kt)=>{if("object"==typeof ut&&null!=ut){if(ut.outlets){const mn={};return Object.entries(ut.outlets).forEach(([on,cr])=>{mn[on]="string"==typeof cr?cr.split("/"):cr}),[...Ue,{outlets:mn}]}if(ut.segmentPath)return[...Ue,ut.segmentPath]}return"string"!=typeof ut?[...Ue,ut]:0===kt?(ut.split("/").forEach((mn,on)=>{0==on&&"."===mn||(0==on&&""===mn?Z=!0:".."===mn?ae++:""!=mn&&Ue.push(mn))}),Ue):[...Ue,ut]},[]);return new Fr(Z,ae,oe)}(ae);if(ut.toRoot())return dr(Ue,Ue,new gt([],{}),Z,oe);const kt=function Dt(W,ae,Z){if(W.isAbsolute)return new xt(ae,!0,0);if(!Z)return new xt(ae,!1,NaN);if(null===Z.parent)return new xt(Z,!0,0);const oe=Vn(W.commands[0])?0:1;return function sn(W,ae,Z){let oe=W,Ue=ae,ut=Z;for(;ut>Ue;){if(ut-=Ue,oe=oe.parent,!oe)throw new n.\u0275RuntimeError(4005,!1);Ue=oe.segments.length}return new xt(oe,!1,Ue-ut)}(Z,Z.segments.length-1+oe,W.numberOfDoubleDots)}(ut,Ue,W),mn=kt.processChildren?Dn(kt.segmentGroup,kt.index,ut.commands):wn(kt.segmentGroup,kt.index,ut.commands);return dr(Ue,kt.segmentGroup,mn,Z,oe)}function Vn(W){return"object"==typeof W&&null!=W&&!W.outlets&&!W.segmentPath}function qn(W){return"object"==typeof W&&null!=W&&W.outlets}function dr(W,ae,Z,oe,Ue){let kt,ut={};oe&&Object.entries(oe).forEach(([on,cr])=>{ut[on]=Array.isArray(cr)?cr.map(Jr=>`${Jr}`):`${cr}`}),kt=W===ae?Z:ii(W,ae,Z);const mn=ur(Tr(kt));return new ze(mn,ut,Ue)}function ii(W,ae,Z){const oe={};return Object.entries(W.children).forEach(([Ue,ut])=>{oe[Ue]=ut===ae?Z:ii(ut,ae,Z)}),new gt(W.segments,oe)}class Fr{constructor(ae,Z,oe){if(this.isAbsolute=ae,this.numberOfDoubleDots=Z,this.commands=oe,ae&&oe.length>0&&Vn(oe[0]))throw new n.\u0275RuntimeError(4003,!1);const Ue=oe.find(qn);if(Ue&&Ue!==Mn(oe))throw new n.\u0275RuntimeError(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class xt{constructor(ae,Z,oe){this.segmentGroup=ae,this.processChildren=Z,this.index=oe}}function wn(W,ae,Z){if(W??=new gt([],{}),0===W.segments.length&&W.hasChildren())return Dn(W,ae,Z);const oe=function sr(W,ae,Z){let oe=0,Ue=ae;const ut={match:!1,pathIndex:0,commandIndex:0};for(;Ue=Z.length)return ut;const kt=W.segments[Ue],mn=Z[oe];if(qn(mn))break;const on=`${mn}`,cr=oe0&&void 0===on)break;if(on&&cr&&"object"==typeof cr&&void 0===cr.outlets){if(!Vr(on,cr,kt))return ut;oe+=2}else{if(!Vr(on,{},kt))return ut;oe++}Ue++}return{match:!0,pathIndex:Ue,commandIndex:oe}}(W,ae,Z),Ue=Z.slice(oe.commandIndex);if(oe.match&&oe.pathIndexut!==tt)&&W.children[tt]&&1===W.numberOfChildren&&0===W.children[tt].segments.length){const ut=Dn(W.children[tt],ae,Z);return new gt(W.segments,ut.children)}return Object.entries(oe).forEach(([ut,kt])=>{"string"==typeof kt&&(kt=[kt]),null!==kt&&(Ue[ut]=wn(W.children[ut],ae,kt))}),Object.entries(W.children).forEach(([ut,kt])=>{void 0===oe[ut]&&(Ue[ut]=kt)}),new gt(W.segments,Ue)}}function Xn(W,ae,Z){const oe=W.segments.slice(0,ae);let Ue=0;for(;Ue{"string"==typeof oe&&(oe=[oe]),null!==oe&&(ae[Z]=Xn(new gt([],{}),0,oe))}),ae}function Or(W){const ae={};return Object.entries(W).forEach(([Z,oe])=>ae[Z]=`${oe}`),ae}function Vr(W,ae,Z){return W==Z.path&&nn(ae,Z.parameters)}const Ir="imperative";var Er=function(W){return W[W.NavigationStart=0]="NavigationStart",W[W.NavigationEnd=1]="NavigationEnd",W[W.NavigationCancel=2]="NavigationCancel",W[W.NavigationError=3]="NavigationError",W[W.RoutesRecognized=4]="RoutesRecognized",W[W.ResolveStart=5]="ResolveStart",W[W.ResolveEnd=6]="ResolveEnd",W[W.GuardsCheckStart=7]="GuardsCheckStart",W[W.GuardsCheckEnd=8]="GuardsCheckEnd",W[W.RouteConfigLoadStart=9]="RouteConfigLoadStart",W[W.RouteConfigLoadEnd=10]="RouteConfigLoadEnd",W[W.ChildActivationStart=11]="ChildActivationStart",W[W.ChildActivationEnd=12]="ChildActivationEnd",W[W.ActivationStart=13]="ActivationStart",W[W.ActivationEnd=14]="ActivationEnd",W[W.Scroll=15]="Scroll",W[W.NavigationSkipped=16]="NavigationSkipped",W}(Er||{});class un{constructor(ae,Z){this.id=ae,this.url=Z}}class x extends un{constructor(ae,Z,oe="imperative",Ue=null){super(ae,Z),this.type=Er.NavigationStart,this.navigationTrigger=oe,this.restoredState=Ue}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class F extends un{constructor(ae,Z,oe){super(ae,Z),this.urlAfterRedirects=oe,this.type=Er.NavigationEnd}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}var Q=function(W){return W[W.Redirect=0]="Redirect",W[W.SupersededByNewNavigation=1]="SupersededByNewNavigation",W[W.NoDataFromResolver=2]="NoDataFromResolver",W[W.GuardRejected=3]="GuardRejected",W}(Q||{}),De=function(W){return W[W.IgnoredSameUrlNavigation=0]="IgnoredSameUrlNavigation",W[W.IgnoredByUrlHandlingStrategy=1]="IgnoredByUrlHandlingStrategy",W}(De||{});class me extends un{constructor(ae,Z,oe,Ue){super(ae,Z),this.reason=oe,this.code=Ue,this.type=Er.NavigationCancel}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class q extends un{constructor(ae,Z,oe,Ue){super(ae,Z),this.reason=oe,this.code=Ue,this.type=Er.NavigationSkipped}}class fe extends un{constructor(ae,Z,oe,Ue){super(ae,Z),this.error=oe,this.target=Ue,this.type=Er.NavigationError}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class nt extends un{constructor(ae,Z,oe,Ue){super(ae,Z),this.urlAfterRedirects=oe,this.state=Ue,this.type=Er.RoutesRecognized}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class mt extends un{constructor(ae,Z,oe,Ue){super(ae,Z),this.urlAfterRedirects=oe,this.state=Ue,this.type=Er.GuardsCheckStart}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class Et extends un{constructor(ae,Z,oe,Ue,ut){super(ae,Z),this.urlAfterRedirects=oe,this.state=Ue,this.shouldActivate=ut,this.type=Er.GuardsCheckEnd}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class Ut extends un{constructor(ae,Z,oe,Ue){super(ae,Z),this.urlAfterRedirects=oe,this.state=Ue,this.type=Er.ResolveStart}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class tn extends un{constructor(ae,Z,oe,Ue){super(ae,Z),this.urlAfterRedirects=oe,this.state=Ue,this.type=Er.ResolveEnd}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class pn{constructor(ae){this.route=ae,this.type=Er.RouteConfigLoadStart}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class vn{constructor(ae){this.route=ae,this.type=Er.RouteConfigLoadEnd}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class bn{constructor(ae){this.snapshot=ae,this.type=Er.ChildActivationStart}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class fn{constructor(ae){this.snapshot=ae,this.type=Er.ChildActivationEnd}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class In{constructor(ae){this.snapshot=ae,this.type=Er.ActivationStart}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class Bn{constructor(ae){this.snapshot=ae,this.type=Er.ActivationEnd}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class _r{constructor(ae,Z,oe){this.routerEvent=ae,this.position=Z,this.anchor=oe,this.type=Er.Scroll}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class hr{}class Lr{constructor(ae){this.url=ae}}class st{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new co,this.attachRef=null}}let co=(()=>{class W{constructor(){this.contexts=new Map}onChildOutletCreated(Z,oe){const Ue=this.getOrCreateContext(Z);Ue.outlet=oe,this.contexts.set(Z,Ue)}onChildOutletDestroyed(Z){const oe=this.getContext(Z);oe&&(oe.outlet=null,oe.attachRef=null)}onOutletDeactivated(){const Z=this.contexts;return this.contexts=new Map,Z}onOutletReAttached(Z){this.contexts=Z}getOrCreateContext(Z){let oe=this.getContext(Z);return oe||(oe=new st,this.contexts.set(Z,oe)),oe}getContext(Z){return this.contexts.get(Z)||null}static#e=this.\u0275fac=function(oe){return new(oe||W)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();class Ri{constructor(ae){this._root=ae}get root(){return this._root.value}parent(ae){const Z=this.pathFromRoot(ae);return Z.length>1?Z[Z.length-2]:null}children(ae){const Z=Ur(ae,this._root);return Z?Z.children.map(oe=>oe.value):[]}firstChild(ae){const Z=Ur(ae,this._root);return Z&&Z.children.length>0?Z.children[0].value:null}siblings(ae){const Z=xn(ae,this._root);return Z.length<2?[]:Z[Z.length-2].children.map(Ue=>Ue.value).filter(Ue=>Ue!==ae)}pathFromRoot(ae){return xn(ae,this._root).map(Z=>Z.value)}}function Ur(W,ae){if(W===ae.value)return ae;for(const Z of ae.children){const oe=Ur(W,Z);if(oe)return oe}return null}function xn(W,ae){if(W===ae.value)return[ae];for(const Z of ae.children){const oe=xn(W,Z);if(oe.length)return oe.unshift(ae),oe}return[]}class Jn{constructor(ae,Z){this.value=ae,this.children=Z}toString(){return`TreeNode(${this.value})`}}function Gr(W){const ae={};return W&&W.children.forEach(Z=>ae[Z.value.outlet]=Z),ae}class jn extends Ri{constructor(ae,Z){super(ae),this.snapshot=Z,yr(this,ae)}toString(){return this.snapshot.toString()}}function pi(W){const ae=function Zi(W){const ut=new ni([],{},{},"",{},tt,W,null,{});return new ji("",new Jn(ut,[]))}(W),Z=new o.g([new Gt("",{})]),oe=new o.g({}),Ue=new o.g({}),ut=new o.g({}),kt=new o.g(""),mn=new qr(Z,oe,ut,kt,Ue,tt,W,ae.root);return mn.snapshot=ae.root,new jn(new Jn(mn,[]),ae)}class qr{constructor(ae,Z,oe,Ue,ut,kt,mn,on){this.urlSubject=ae,this.paramsSubject=Z,this.queryParamsSubject=oe,this.fragmentSubject=Ue,this.dataSubject=ut,this.outlet=kt,this.component=mn,this._futureSnapshot=on,this.title=this.dataSubject?.pipe((0,K.k)(cr=>cr[wt]))??(0,e.of)(void 0),this.url=ae,this.params=Z,this.queryParams=oe,this.fragment=Ue,this.data=ut}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,K.k)(ae=>Te(ae))),this._paramMap}get queryParamMap(){return this._queryParamMap??=this.queryParams.pipe((0,K.k)(ae=>Te(ae))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function oi(W,ae,Z="emptyOnly"){let oe;const{routeConfig:Ue}=W;return oe=null===ae||"always"!==Z&&""!==Ue?.path&&(ae.component||ae.routeConfig?.loadComponent)?{params:{...W.params},data:{...W.data},resolve:{...W.data,...W._resolvedData??{}}}:{params:{...ae.params,...W.params},data:{...ae.data,...W.data},resolve:{...W.data,...ae.data,...Ue?.data,...W._resolvedData}},Ue&&ri(Ue)&&(oe.resolve[wt]=Ue.title),oe}class ni{get title(){return this.data?.[wt]}constructor(ae,Z,oe,Ue,ut,kt,mn,on,cr){this.url=ae,this.params=Z,this.queryParams=oe,this.fragment=Ue,this.data=ut,this.outlet=kt,this.component=mn,this.routeConfig=on,this._resolve=cr}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??=Te(this.params),this._paramMap}get queryParamMap(){return this._queryParamMap??=Te(this.queryParams),this._queryParamMap}toString(){return`Route(url:'${this.url.map(oe=>oe.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class ji extends Ri{constructor(ae,Z){super(Z),this.url=ae,yr(this,Z)}toString(){return Ji(this._root)}}function yr(W,ae){ae.value._routerState=W,ae.children.forEach(Z=>yr(W,Z))}function Ji(W){const ae=W.children.length>0?` { ${W.children.map(Ji).join(", ")} } `:"";return`${W.value}${ae}`}function Do(W){if(W.snapshot){const ae=W.snapshot,Z=W._futureSnapshot;W.snapshot=Z,nn(ae.queryParams,Z.queryParams)||W.queryParamsSubject.next(Z.queryParams),ae.fragment!==Z.fragment&&W.fragmentSubject.next(Z.fragment),nn(ae.params,Z.params)||W.paramsSubject.next(Z.params),function Ft(W,ae){if(W.length!==ae.length)return!1;for(let Z=0;Znn(Z.parameters,ae[oe].parameters))}(W.url,ae.url);return Z&&!(!W.parent!=!ae.parent)&&(!W.parent||vo(W.parent,ae.parent))}function ri(W){return"string"==typeof W.title||null===W.title}let ro=(()=>{class W{constructor(){this.activated=null,this._activatedRoute=null,this.name=tt,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)(co),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)(oo,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(Z){if(Z.name){const{firstChange:oe,previousValue:Ue}=Z.name;if(oe)return;this.isTrackedInParentContexts(Ue)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(Ue)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(Z){return this.parentContexts.getContext(Z)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const Z=this.parentContexts.getContext(this.name);Z?.route&&(Z.attachRef?this.attach(Z.attachRef,Z.route):this.activateWith(Z.route,Z.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 Z=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(Z.instance),Z}attach(Z,oe){this.activated=Z,this._activatedRoute=oe,this.location.insert(Z.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(Z.instance)}deactivate(){if(this.activated){const Z=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(Z)}}activateWith(Z,oe){if(this.isActivated)throw new n.\u0275RuntimeError(4013,!1);this._activatedRoute=Z;const Ue=this.location,kt=Z.snapshot.component,mn=this.parentContexts.getOrCreateContext(this.name).children,on=new Rr(Z,mn,Ue.injector);this.activated=Ue.createComponent(kt,{index:Ue.length,injector:on,environmentInjector:oe??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(oe){return new(oe||W)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:W,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return W})();class Rr{constructor(ae,Z,oe){this.route=ae,this.childContexts=Z,this.parent=oe}get(ae,Z){return ae===qr?this.route:ae===co?this.childContexts:this.parent.get(ae,Z)}}const oo=new n.InjectionToken("");let Pn=(()=>{class W{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(Z){this.unsubscribeFromRouteData(Z),this.subscribeToRouteData(Z)}unsubscribeFromRouteData(Z){this.outletDataSubscriptions.get(Z)?.unsubscribe(),this.outletDataSubscriptions.delete(Z)}subscribeToRouteData(Z){const{activatedRoute:oe}=Z,Ue=(0,d.E)([oe.queryParams,oe.params,oe.data]).pipe((0,ie.G)(([ut,kt,mn],on)=>(mn={...ut,...kt,...mn},0===on?(0,e.of)(mn):Promise.resolve(mn)))).subscribe(ut=>{if(!Z.isActivated||!Z.activatedComponentRef||Z.activatedRoute!==oe||null===oe.component)return void this.unsubscribeFromRouteData(Z);const kt=(0,n.reflectComponentType)(oe.component);if(kt)for(const{templateName:mn}of kt.inputs)Z.activatedComponentRef.setInput(mn,ut[mn]);else this.unsubscribeFromRouteData(Z)});this.outletDataSubscriptions.set(Z,Ue)}static#e=this.\u0275fac=function(oe){return new(oe||W)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac})}return W})();function gi(W,ae,Z){if(Z&&W.shouldReuseRoute(ae.value,Z.value.snapshot)){const oe=Z.value;oe._futureSnapshot=ae.value;const Ue=function Hi(W,ae,Z){return ae.children.map(oe=>{for(const Ue of Z.children)if(W.shouldReuseRoute(oe.value,Ue.value.snapshot))return gi(W,oe,Ue);return gi(W,oe)})}(W,ae,Z);return new Jn(oe,Ue)}{if(W.shouldAttach(ae.value)){const ut=W.retrieve(ae.value);if(null!==ut){const kt=ut.route;return kt.value._futureSnapshot=ae.value,kt.children=ae.children.map(mn=>gi(W,mn)),kt}}const oe=function ai(W){return new qr(new o.g(W.url),new o.g(W.params),new o.g(W.queryParams),new o.g(W.fragment),new o.g(W.data),W.outlet,W.component,W)}(ae.value),Ue=ae.children.map(ut=>gi(W,ut));return new Jn(oe,Ue)}}const pr="ngNavigationCancelingError";function yo(W,ae){const{redirectTo:Z,navigationBehaviorOptions:oe}=nr(ae)?{redirectTo:ae,navigationBehaviorOptions:void 0}:ae,Ue=Ai(!1,Q.Redirect);return Ue.url=Z,Ue.navigationBehaviorOptions=oe,Ue}function Ai(W,ae){const Z=new Error(`NavigationCancelingError: ${W||""}`);return Z[pr]=!0,Z.cancellationCode=ae,Z}function Mo(W){return!!W&&W[pr]}let uo=(()=>{class W{static#e=this.\u0275fac=function(oe){return new(oe||W)};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:W,selectors:[["ng-component"]],standalone:!0,features:[n.\u0275\u0275StandaloneFeature],decls:1,vars:0,template:function(oe,Ue){1&oe&&n.\u0275\u0275element(0,"router-outlet")},dependencies:[ro],encapsulation:2})}return W})();function Bo(W){const ae=W.children&&W.children.map(Bo),Z=ae?{...W,children:ae}:{...W};return!Z.component&&!Z.loadComponent&&(ae||Z.loadChildren)&&Z.outlet&&Z.outlet!==tt&&(Z.component=uo),Z}function so(W){return W.outlet||tt}function mo(W){if(!W)return null;if(W.routeConfig?._injector)return W.routeConfig._injector;for(let ae=W.parent;ae;ae=ae.parent){const Z=ae.routeConfig;if(Z?._loadedInjector)return Z._loadedInjector;if(Z?._injector)return Z._injector}return null}class ya{constructor(ae,Z,oe,Ue,ut){this.routeReuseStrategy=ae,this.futureState=Z,this.currState=oe,this.forwardEvent=Ue,this.inputBindingEnabled=ut}activate(ae){const Z=this.futureState._root,oe=this.currState?this.currState._root:null;this.deactivateChildRoutes(Z,oe,ae),Do(this.futureState.root),this.activateChildRoutes(Z,oe,ae)}deactivateChildRoutes(ae,Z,oe){const Ue=Gr(Z);ae.children.forEach(ut=>{const kt=ut.value.outlet;this.deactivateRoutes(ut,Ue[kt],oe),delete Ue[kt]}),Object.values(Ue).forEach(ut=>{this.deactivateRouteAndItsChildren(ut,oe)})}deactivateRoutes(ae,Z,oe){const Ue=ae.value,ut=Z?Z.value:null;if(Ue===ut)if(Ue.component){const kt=oe.getContext(Ue.outlet);kt&&this.deactivateChildRoutes(ae,Z,kt.children)}else this.deactivateChildRoutes(ae,Z,oe);else ut&&this.deactivateRouteAndItsChildren(Z,oe)}deactivateRouteAndItsChildren(ae,Z){ae.value.component&&this.routeReuseStrategy.shouldDetach(ae.value.snapshot)?this.detachAndStoreRouteSubtree(ae,Z):this.deactivateRouteAndOutlet(ae,Z)}detachAndStoreRouteSubtree(ae,Z){const oe=Z.getContext(ae.value.outlet),Ue=oe&&ae.value.component?oe.children:Z,ut=Gr(ae);for(const kt of Object.values(ut))this.deactivateRouteAndItsChildren(kt,Ue);if(oe&&oe.outlet){const kt=oe.outlet.detach(),mn=oe.children.onOutletDeactivated();this.routeReuseStrategy.store(ae.value.snapshot,{componentRef:kt,route:ae,contexts:mn})}}deactivateRouteAndOutlet(ae,Z){const oe=Z.getContext(ae.value.outlet),Ue=oe&&ae.value.component?oe.children:Z,ut=Gr(ae);for(const kt of Object.values(ut))this.deactivateRouteAndItsChildren(kt,Ue);oe&&(oe.outlet&&(oe.outlet.deactivate(),oe.children.onOutletDeactivated()),oe.attachRef=null,oe.route=null)}activateChildRoutes(ae,Z,oe){const Ue=Gr(Z);ae.children.forEach(ut=>{this.activateRoutes(ut,Ue[ut.value.outlet],oe),this.forwardEvent(new Bn(ut.value.snapshot))}),ae.children.length&&this.forwardEvent(new fn(ae.value.snapshot))}activateRoutes(ae,Z,oe){const Ue=ae.value,ut=Z?Z.value:null;if(Do(Ue),Ue===ut)if(Ue.component){const kt=oe.getOrCreateContext(Ue.outlet);this.activateChildRoutes(ae,Z,kt.children)}else this.activateChildRoutes(ae,Z,oe);else if(Ue.component){const kt=oe.getOrCreateContext(Ue.outlet);if(this.routeReuseStrategy.shouldAttach(Ue.snapshot)){const mn=this.routeReuseStrategy.retrieve(Ue.snapshot);this.routeReuseStrategy.store(Ue.snapshot,null),kt.children.onOutletReAttached(mn.contexts),kt.attachRef=mn.componentRef,kt.route=mn.route.value,kt.outlet&&kt.outlet.attach(mn.componentRef,mn.route.value),Do(mn.route.value),this.activateChildRoutes(ae,null,kt.children)}else{const mn=mo(Ue.snapshot);kt.attachRef=null,kt.route=Ue,kt.injector=mn,kt.outlet&&kt.outlet.activateWith(Ue,kt.injector),this.activateChildRoutes(ae,null,kt.children)}}else this.activateChildRoutes(ae,null,oe)}}class Qo{constructor(ae){this.path=ae,this.route=this.path[this.path.length-1]}}class Ni{constructor(ae,Z){this.component=ae,this.route=Z}}function jo(W,ae,Z){const oe=W._root;return Xi(oe,ae?ae._root:null,Z,[oe.value])}function Lo(W,ae){const Z=Symbol(),oe=ae.get(W,Z);return oe===Z?"function"!=typeof W||(0,n.\u0275isInjectable)(W)?ae.get(W):W:oe}function Xi(W,ae,Z,oe,Ue={canDeactivateChecks:[],canActivateChecks:[]}){const ut=Gr(ae);return W.children.forEach(kt=>{(function ua(W,ae,Z,oe,Ue={canDeactivateChecks:[],canActivateChecks:[]}){const ut=W.value,kt=ae?ae.value:null,mn=Z?Z.getContext(W.value.outlet):null;if(kt&&ut.routeConfig===kt.routeConfig){const on=function Zo(W,ae,Z){if("function"==typeof Z)return Z(W,ae);switch(Z){case"pathParamsChange":return!$n(W.url,ae.url);case"pathParamsOrQueryParamsChange":return!$n(W.url,ae.url)||!nn(W.queryParams,ae.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!vo(W,ae)||!nn(W.queryParams,ae.queryParams);default:return!vo(W,ae)}}(kt,ut,ut.routeConfig.runGuardsAndResolvers);on?Ue.canActivateChecks.push(new Qo(oe)):(ut.data=kt.data,ut._resolvedData=kt._resolvedData),Xi(W,ae,ut.component?mn?mn.children:null:Z,oe,Ue),on&&mn&&mn.outlet&&mn.outlet.isActivated&&Ue.canDeactivateChecks.push(new Ni(mn.outlet.component,kt))}else kt&&To(ae,mn,Ue),Ue.canActivateChecks.push(new Qo(oe)),Xi(W,null,ut.component?mn?mn.children:null:Z,oe,Ue)})(kt,ut[kt.value.outlet],Z,oe.concat([kt.value]),Ue),delete ut[kt.value.outlet]}),Object.entries(ut).forEach(([kt,mn])=>To(mn,Z.getContext(kt),Ue)),Ue}function To(W,ae,Z){const oe=Gr(W),Ue=W.value;Object.entries(oe).forEach(([ut,kt])=>{To(kt,Ue.component?ae?ae.children.getContext(ut):null:ae,Z)}),Z.canDeactivateChecks.push(new Ni(Ue.component&&ae&&ae.outlet&&ae.outlet.isActivated?ae.outlet.component:null,Ue))}function Wo(W){return"function"==typeof W}function ir(W){return W instanceof v.G||"EmptyError"===W?.name}const Zn=Symbol("INITIAL_VALUE");function Mi(){return(0,ie.G)(W=>(0,d.E)(W.map(ae=>ae.pipe((0,J.U)(1),function be(...W){const ae=(0,y.e_)(W);return(0,V.i)((Z,oe)=>{(ae?f(W,Z,ae):f(W,Z)).subscribe(oe)})}(Zn)))).pipe((0,K.k)(ae=>{for(const Z of ae)if(!0!==Z){if(Z===Zn)return Zn;if(!1===Z||Z instanceof ze)return Z}return!0}),(0,ce.I)(ae=>ae!==Zn),(0,J.U)(1)))}function wo(W){return(0,w.W)((0,Oe.y)(ae=>{if(nr(ae))throw yo(0,ae)}),(0,K.k)(ae=>!0===ae))}class Go{constructor(ae){this.segmentGroup=ae||null}}class la extends Error{constructor(ae){super(),this.urlTree=ae}}function Ao(W){return D(new Go(W))}class ${constructor(ae,Z){this.urlSerializer=ae,this.urlTree=Z}lineralizeSegments(ae,Z){let oe=[],Ue=Z.root;for(;;){if(oe=oe.concat(Ue.segments),0===Ue.numberOfChildren)return(0,e.of)(oe);if(Ue.numberOfChildren>1||!Ue.children[tt])return D(new n.\u0275RuntimeError(4e3,!1));Ue=Ue.children[tt]}}applyRedirectCommands(ae,Z,oe){const Ue=this.applyRedirectCreateUrlTree(Z,this.urlSerializer.parse(Z),ae,oe);if(Z.startsWith("/"))throw new la(Ue);return Ue}applyRedirectCreateUrlTree(ae,Z,oe,Ue){const ut=this.createSegmentGroup(ae,Z.root,oe,Ue);return new ze(ut,this.createQueryParams(Z.queryParams,this.urlTree.queryParams),Z.fragment)}createQueryParams(ae,Z){const oe={};return Object.entries(ae).forEach(([Ue,ut])=>{if("string"==typeof ut&&ut.startsWith(":")){const mn=ut.substring(1);oe[Ue]=Z[mn]}else oe[Ue]=ut}),oe}createSegmentGroup(ae,Z,oe,Ue){const ut=this.createSegments(ae,Z.segments,oe,Ue);let kt={};return Object.entries(Z.children).forEach(([mn,on])=>{kt[mn]=this.createSegmentGroup(ae,on,oe,Ue)}),new gt(ut,kt)}createSegments(ae,Z,oe,Ue){return Z.map(ut=>ut.path.startsWith(":")?this.findPosParam(ae,ut,Ue):this.findOrReturn(ut,oe))}findPosParam(ae,Z,oe){const Ue=oe[Z.path.substring(1)];if(!Ue)throw new n.\u0275RuntimeError(4001,!1);return Ue}findOrReturn(ae,Z){let oe=0;for(const Ue of Z){if(Ue.path===ae.path)return Z.splice(oe),Ue;oe++}return ae}}const ee={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function Ce(W,ae,Z,oe,Ue){const ut=Ze(W,ae,Z);return ut.matched?(oe=function Yr(W,ae){return W.providers&&!W._injector&&(W._injector=(0,n.createEnvironmentInjector)(W.providers,ae,`Route: ${W.path}`)),W._injector??ae}(ae,oe),function qi(W,ae,Z,oe){const Ue=ae.canMatch;if(!Ue||0===Ue.length)return(0,e.of)(!0);const ut=Ue.map(kt=>{const mn=Lo(kt,W);return Un(function At(W){return W&&Wo(W.canMatch)}(mn)?mn.canMatch(ae,Z):(0,n.runInInjectionContext)(W,()=>mn(ae,Z)))});return(0,e.of)(ut).pipe(Mi(),wo())}(oe,ae,Z).pipe((0,K.k)(kt=>!0===kt?ut:{...ee}))):(0,e.of)(ut)}function Ze(W,ae,Z){if("**"===ae.path)return function Mt(W){return{matched:!0,parameters:W.length>0?Mn(W).parameters:{},consumedSegments:W,remainingSegments:[],positionalParamSegments:{}}}(Z);if(""===ae.path)return"full"===ae.pathMatch&&(W.hasChildren()||Z.length>0)?{...ee}:{matched:!0,consumedSegments:[],remainingSegments:Z,parameters:{},positionalParamSegments:{}};const Ue=(ae.matcher||ht)(Z,W,ae);if(!Ue)return{...ee};const ut={};Object.entries(Ue.posParams??{}).forEach(([mn,on])=>{ut[mn]=on.path});const kt=Ue.consumed.length>0?{...ut,...Ue.consumed[Ue.consumed.length-1].parameters}:ut;return{matched:!0,consumedSegments:Ue.consumed,remainingSegments:Z.slice(Ue.consumed.length),parameters:kt,positionalParamSegments:Ue.posParams??{}}}function Rt(W,ae,Z,oe){return Z.length>0&&function yn(W,ae,Z){return Z.some(oe=>er(W,ae,oe)&&so(oe)!==tt)}(W,Z,oe)?{segmentGroup:new gt(ae,Kt(oe,new gt(Z,W.children))),slicedSegments:[]}:0===Z.length&&function rr(W,ae,Z){return Z.some(oe=>er(W,ae,oe))}(W,Z,oe)?{segmentGroup:new gt(W.segments,$t(W,Z,oe,W.children)),slicedSegments:Z}:{segmentGroup:new gt(W.segments,W.children),slicedSegments:Z}}function $t(W,ae,Z,oe){const Ue={};for(const ut of Z)if(er(W,ae,ut)&&!oe[so(ut)]){const kt=new gt([],{});Ue[so(ut)]=kt}return{...oe,...Ue}}function Kt(W,ae){const Z={};Z[tt]=ae;for(const oe of W)if(""===oe.path&&so(oe)!==tt){const Ue=new gt([],{});Z[so(oe)]=Ue}return Z}function er(W,ae,Z){return(!(W.hasChildren()||ae.length>0)||"full"!==Z.pathMatch)&&""===Z.path}class fr{}class wi{constructor(ae,Z,oe,Ue,ut,kt,mn){this.injector=ae,this.configLoader=Z,this.rootComponentType=oe,this.config=Ue,this.urlTree=ut,this.paramsInheritanceStrategy=kt,this.urlSerializer=mn,this.applyRedirects=new $(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(ae){return new n.\u0275RuntimeError(4002,`'${ae.segmentGroup}'`)}recognize(){const ae=Rt(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(ae).pipe((0,K.k)(Z=>{const oe=new ni([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},tt,this.rootComponentType,null,{}),Ue=new Jn(oe,Z),ut=new ji("",Ue),kt=Nr(oe,[],this.urlTree.queryParams,this.urlTree.fragment);return kt.queryParams=this.urlTree.queryParams,ut.url=this.urlSerializer.serialize(kt),this.inheritParamsAndData(ut._root,null),{state:ut,tree:kt}}))}match(ae){return this.processSegmentGroup(this.injector,this.config,ae,tt).pipe((0,ke.a)(oe=>{if(oe instanceof la)return this.urlTree=oe.urlTree,this.match(oe.urlTree.root);throw oe instanceof Go?this.noMatchError(oe):oe}))}inheritParamsAndData(ae,Z){const oe=ae.value,Ue=oi(oe,Z,this.paramsInheritanceStrategy);oe.params=Object.freeze(Ue.params),oe.data=Object.freeze(Ue.data),ae.children.forEach(ut=>this.inheritParamsAndData(ut,oe))}processSegmentGroup(ae,Z,oe,Ue){return 0===oe.segments.length&&oe.hasChildren()?this.processChildren(ae,Z,oe):this.processSegment(ae,Z,oe,oe.segments,Ue,!0).pipe((0,K.k)(ut=>ut instanceof Jn?[ut]:[]))}processChildren(ae,Z,oe){const Ue=[];for(const ut of Object.keys(oe.children))"primary"===ut?Ue.unshift(ut):Ue.push(ut);return(0,i.Q)(Ue).pipe((0,ct.m)(ut=>{const kt=oe.children[ut],mn=function Oo(W,ae){const Z=W.filter(oe=>so(oe)===ae);return Z.push(...W.filter(oe=>so(oe)!==ae)),Z}(Z,ut);return this.processSegmentGroup(ae,mn,kt,ut)}),function Qe(W,ae){return(0,V.i)(function Re(W,ae,Z,oe,Ue){return(ut,kt)=>{let mn=Z,on=ae,cr=0;ut.subscribe((0,G.e)(kt,Jr=>{const ui=cr++;on=mn?W(on,Jr,ui):(mn=!0,Jr),oe&&kt.next(on)},Ue&&(()=>{mn&&kt.next(on),kt.complete()})))}}(W,ae,arguments.length>=2,!0))}((ut,kt)=>(ut.push(...kt),ut)),(0,$e.G)(null),function Me(W,ae){const Z=arguments.length>=2;return oe=>oe.pipe(W?(0,ce.I)((Ue,ut)=>W(Ue,ut,oe)):p.Z,Be(1),Z?(0,$e.G)(ae):(0,_e._)(()=>new v.G))}(),(0,M.O)(ut=>{if(null===ut)return Ao(oe);const kt=Ki(ut);return function Ui(W){W.sort((ae,Z)=>ae.value.outlet===tt?-1:Z.value.outlet===tt?1:ae.value.outlet.localeCompare(Z.value.outlet))}(kt),(0,e.of)(kt)}))}processSegment(ae,Z,oe,Ue,ut,kt){return(0,i.Q)(Z).pipe((0,ct.m)(mn=>this.processSegmentAgainstRoute(mn._injector??ae,Z,mn,oe,Ue,ut,kt).pipe((0,ke.a)(on=>{if(on instanceof Go)return(0,e.of)(null);throw on}))),(0,Ge.K)(mn=>!!mn),(0,ke.a)(mn=>{if(ir(mn))return function Mr(W,ae,Z){return 0===ae.length&&!W.children[Z]}(oe,Ue,ut)?(0,e.of)(new fr):Ao(oe);throw mn}))}processSegmentAgainstRoute(ae,Z,oe,Ue,ut,kt,mn){return function Kr(W,ae,Z,oe){return!!(so(W)===oe||oe!==tt&&er(ae,Z,W))&&Ze(ae,W,Z).matched}(oe,Ue,ut,kt)?void 0===oe.redirectTo?this.matchSegmentAgainstRoute(ae,Ue,oe,ut,kt):this.allowRedirects&&mn?this.expandSegmentAgainstRouteUsingRedirect(ae,Ue,Z,oe,ut,kt):Ao(Ue):Ao(Ue)}expandSegmentAgainstRouteUsingRedirect(ae,Z,oe,Ue,ut,kt){const{matched:mn,consumedSegments:on,positionalParamSegments:cr,remainingSegments:Jr}=Ze(Z,Ue,ut);if(!mn)return Ao(Z);Ue.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const ui=this.applyRedirects.applyRedirectCommands(on,Ue.redirectTo,cr);return this.applyRedirects.lineralizeSegments(Ue,ui).pipe((0,M.O)(po=>this.processSegment(ae,oe,Z,po.concat(Jr),kt,!1)))}matchSegmentAgainstRoute(ae,Z,oe,Ue,ut){const kt=Ce(Z,oe,Ue,ae);return"**"===oe.path&&(Z.children={}),kt.pipe((0,ie.G)(mn=>mn.matched?this.getChildConfig(ae=oe._injector??ae,oe,Ue).pipe((0,ie.G)(({routes:on})=>{const cr=oe._loadedInjector??ae,{consumedSegments:Jr,remainingSegments:ui,parameters:po}=mn,hs=new ni(Jr,po,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function Ar(W){return W.data||{}}(oe),so(oe),oe.component??oe._loadedComponent??null,oe,function eo(W){return W.resolve||{}}(oe)),{segmentGroup:no,slicedSegments:kr}=Rt(Z,Jr,ui,on);if(0===kr.length&&no.hasChildren())return this.processChildren(cr,on,no).pipe((0,K.k)(Ra=>null===Ra?null:new Jn(hs,Ra)));if(0===on.length&&0===kr.length)return(0,e.of)(new Jn(hs,[]));const Ya=so(oe)===ut;return this.processSegment(cr,on,no,kr,Ya?tt:ut,!0).pipe((0,K.k)(Ra=>new Jn(hs,Ra instanceof Jn?[Ra]:[])))})):Ao(Z)))}getChildConfig(ae,Z,oe){return Z.children?(0,e.of)({routes:Z.children,injector:ae}):Z.loadChildren?void 0!==Z._loadedRoutes?(0,e.of)({routes:Z._loadedRoutes,injector:Z._loadedInjector}):function Ro(W,ae,Z,oe){const Ue=ae.canLoad;if(void 0===Ue||0===Ue.length)return(0,e.of)(!0);const ut=Ue.map(kt=>{const mn=Lo(kt,W);return Un(function Le(W){return W&&Wo(W.canLoad)}(mn)?mn.canLoad(ae,Z):(0,n.runInInjectionContext)(W,()=>mn(ae,Z)))});return(0,e.of)(ut).pipe(Mi(),wo())}(ae,Z,oe).pipe((0,M.O)(Ue=>Ue?this.configLoader.loadChildren(ae,Z).pipe((0,Oe.y)(ut=>{Z._loadedRoutes=ut.routes,Z._loadedInjector=ut.injector})):function et(W){return D(Ai(!1,Q.GuardRejected))}())):(0,e.of)({routes:[],injector:ae})}}function Si(W){const ae=W.value.routeConfig;return ae&&""===ae.path}function Ki(W){const ae=[],Z=new Set;for(const oe of W){if(!Si(oe)){ae.push(oe);continue}const Ue=ae.find(ut=>oe.value.routeConfig===ut.value.routeConfig);void 0!==Ue?(Ue.children.push(...oe.children),Z.add(Ue)):ae.push(oe)}for(const oe of Z){const Ue=Ki(oe.children);ae.push(new Jn(oe.value,Ue))}return ae.filter(oe=>!Z.has(oe))}function to(W){const ae=W.children.map(Z=>to(Z)).flat();return[W,...ae]}function dt(W){return(0,ie.G)(ae=>{const Z=W(ae);return Z?(0,i.Q)(Z).pipe((0,K.k)(()=>ae)):(0,e.of)(ae)})}let Tt=(()=>{class W{buildTitle(Z){let oe,Ue=Z.root;for(;void 0!==Ue;)oe=this.getResolvedTitleForRoute(Ue)??oe,Ue=Ue.children.find(ut=>ut.outlet===tt);return oe}getResolvedTitleForRoute(Z){return Z.data[wt]}static#e=this.\u0275fac=function(oe){return new(oe||W)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:W,factory:()=>(0,n.inject)(Ot),providedIn:"root"})}return W})(),Ot=(()=>{class W extends Tt{constructor(Z){super(),this.title=Z}updateTitle(Z){const oe=this.buildTitle(Z);void 0!==oe&&this.title.setTitle(oe)}static#e=this.\u0275fac=function(oe){return new(oe||W)(n.\u0275\u0275inject(rt.Title))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();const Bt=new n.InjectionToken("",{providedIn:"root",factory:()=>({})}),Qt=new n.InjectionToken("");let hn=(()=>{class W{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=(0,n.inject)(n.Compiler)}loadComponent(Z){if(this.componentLoaders.get(Z))return this.componentLoaders.get(Z);if(Z._loadedComponent)return(0,e.of)(Z._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(Z);const oe=Un(Z.loadComponent()).pipe((0,K.k)(Ne),(0,Oe.y)(ut=>{this.onLoadEndListener&&this.onLoadEndListener(Z),Z._loadedComponent=ut}),(0,je.U)(()=>{this.componentLoaders.delete(Z)})),Ue=new k(oe,()=>new A.E).pipe(R());return this.componentLoaders.set(Z,Ue),Ue}loadChildren(Z,oe){if(this.childrenLoaders.get(oe))return this.childrenLoaders.get(oe);if(oe._loadedRoutes)return(0,e.of)({routes:oe._loadedRoutes,injector:oe._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(oe);const ut=Wn(oe,this.compiler,Z,this.onLoadEndListener).pipe((0,je.U)(()=>{this.childrenLoaders.delete(oe)})),kt=new k(ut,()=>new A.E).pipe(R());return this.childrenLoaders.set(oe,kt),kt}static#e=this.\u0275fac=function(oe){return new(oe||W)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();function Wn(W,ae,Z,oe){return Un(W.loadChildren()).pipe((0,K.k)(Ne),(0,M.O)(Ue=>Ue instanceof n.NgModuleFactory||Array.isArray(Ue)?(0,e.of)(Ue):(0,i.Q)(ae.compileModuleAsync(Ue))),(0,K.k)(Ue=>{oe&&oe(W);let ut,kt;return Array.isArray(Ue)?kt=Ue:(ut=Ue.create(Z).injector,kt=ut.get(Qt,[],{optional:!0,self:!0}).flat()),{routes:kt.map(Bo),injector:ut}}))}function Ne(W){return function Y(W){return W&&"object"==typeof W&&"default"in W}(W)?W.default:W}let se=(()=>{class W{static#e=this.\u0275fac=function(oe){return new(oe||W)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:W,factory:()=>(0,n.inject)(Ee),providedIn:"root"})}return W})(),Ee=(()=>{class W{shouldProcessUrl(Z){return!0}extract(Z){return Z}merge(Z,oe){return Z}static#e=this.\u0275fac=function(oe){return new(oe||W)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();const St=new n.InjectionToken(""),P=new n.InjectionToken("");function ne(W,ae,Z){const oe=W.get(P),Ue=W.get(H.DOCUMENT);return W.get(n.NgZone).runOutsideAngular(()=>{if(!Ue.startViewTransition||oe.skipNextTransition)return oe.skipNextTransition=!1,Promise.resolve();let ut;const kt=new Promise(cr=>{ut=cr}),mn=Ue.startViewTransition(()=>(ut(),function B(W){return new Promise(ae=>{(0,n.afterNextRender)(ae,{injector:W})})}(W))),{onViewTransitionCreated:on}=oe;return on&&(0,n.runInInjectionContext)(W,()=>on({transition:mn,from:ae,to:Z})),kt})}let ue=(()=>{class W{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new A.E,this.transitionAbortSubject=new A.E,this.configLoader=(0,n.inject)(hn),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector),this.urlSerializer=(0,n.inject)(br),this.rootContexts=(0,n.inject)(co),this.location=(0,n.inject)(H.Location),this.inputBindingEnabled=null!==(0,n.inject)(oo,{optional:!0}),this.titleStrategy=(0,n.inject)(Tt),this.options=(0,n.inject)(Bt,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=(0,n.inject)(se),this.createViewTransition=(0,n.inject)(St,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>(0,e.of)(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=Ue=>this.events.next(new vn(Ue)),this.configLoader.onLoadStartListener=Ue=>this.events.next(new pn(Ue))}complete(){this.transitions?.complete()}handleNavigationRequest(Z){const oe=++this.navigationId;this.transitions?.next({...this.transitions.value,...Z,id:oe})}setupNavigations(Z,oe,Ue){return this.transitions=new o.g({id:0,currentUrlTree:oe,currentRawUrl:oe,extractedUrl:this.urlHandlingStrategy.extract(oe),urlAfterRedirects:this.urlHandlingStrategy.extract(oe),rawUrl:oe,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:Ir,restoredState:null,currentSnapshot:Ue.snapshot,targetSnapshot:null,currentRouterState:Ue,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe((0,ce.I)(ut=>0!==ut.id),(0,K.k)(ut=>({...ut,extractedUrl:this.urlHandlingStrategy.extract(ut.rawUrl)})),(0,ie.G)(ut=>{this.currentTransition=ut;let kt=!1,mn=!1;return(0,e.of)(ut).pipe((0,Oe.y)(on=>{this.currentNavigation={id:on.id,initialUrl:on.rawUrl,extractedUrl:on.extractedUrl,trigger:on.source,extras:on.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),(0,ie.G)(on=>{const cr=!Z.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!cr&&"reload"!==(on.extras.onSameUrlNavigation??Z.onSameUrlNavigation)){const ui="";return this.events.next(new q(on.id,this.urlSerializer.serialize(on.rawUrl),ui,De.IgnoredSameUrlNavigation)),on.resolve(null),L.k}if(this.urlHandlingStrategy.shouldProcessUrl(on.rawUrl))return(0,e.of)(on).pipe((0,ie.G)(ui=>{const po=this.transitions?.getValue();return this.events.next(new x(ui.id,this.urlSerializer.serialize(ui.extractedUrl),ui.source,ui.restoredState)),po!==this.transitions?.getValue()?L.k:Promise.resolve(ui)}),function ki(W,ae,Z,oe,Ue,ut){return(0,M.O)(kt=>function Dr(W,ae,Z,oe,Ue,ut,kt="emptyOnly"){return new wi(W,ae,Z,oe,Ue,kt,ut).recognize()}(W,ae,Z,oe,kt.extractedUrl,Ue,ut).pipe((0,K.k)(({state:mn,tree:on})=>({...kt,targetSnapshot:mn,urlAfterRedirects:on}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,Z.config,this.urlSerializer,this.paramsInheritanceStrategy),(0,Oe.y)(ui=>{ut.targetSnapshot=ui.targetSnapshot,ut.urlAfterRedirects=ui.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:ui.urlAfterRedirects};const po=new nt(ui.id,this.urlSerializer.serialize(ui.extractedUrl),this.urlSerializer.serialize(ui.urlAfterRedirects),ui.targetSnapshot);this.events.next(po)}));if(cr&&this.urlHandlingStrategy.shouldProcessUrl(on.currentRawUrl)){const{id:ui,extractedUrl:po,source:hs,restoredState:no,extras:kr}=on,Ya=new x(ui,this.urlSerializer.serialize(po),hs,no);this.events.next(Ya);const Ra=pi(this.rootComponentType).snapshot;return this.currentTransition=ut={...on,targetSnapshot:Ra,urlAfterRedirects:po,extras:{...kr,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=po,(0,e.of)(ut)}{const ui="";return this.events.next(new q(on.id,this.urlSerializer.serialize(on.extractedUrl),ui,De.IgnoredByUrlHandlingStrategy)),on.resolve(null),L.k}}),(0,Oe.y)(on=>{const cr=new mt(on.id,this.urlSerializer.serialize(on.extractedUrl),this.urlSerializer.serialize(on.urlAfterRedirects),on.targetSnapshot);this.events.next(cr)}),(0,K.k)(on=>(this.currentTransition=ut={...on,guards:jo(on.targetSnapshot,on.currentSnapshot,this.rootContexts)},ut)),function Eo(W,ae){return(0,M.O)(Z=>{const{targetSnapshot:oe,currentSnapshot:Ue,guards:{canActivateChecks:ut,canDeactivateChecks:kt}}=Z;return 0===kt.length&&0===ut.length?(0,e.of)({...Z,guardsResult:!0}):function Io(W,ae,Z,oe){return(0,i.Q)(W).pipe((0,M.O)(Ue=>function sa(W,ae,Z,oe,Ue){const ut=ae&&ae.routeConfig?ae.routeConfig.canDeactivate:null;if(!ut||0===ut.length)return(0,e.of)(!0);const kt=ut.map(mn=>{const on=mo(ae)??Ue,cr=Lo(mn,on);return Un(function lt(W){return W&&Wo(W.canDeactivate)}(cr)?cr.canDeactivate(W,ae,Z,oe):(0,n.runInInjectionContext)(on,()=>cr(W,ae,Z,oe))).pipe((0,Ge.K)())});return(0,e.of)(kt).pipe(Mi())}(Ue.component,Ue.route,Z,ae,oe)),(0,Ge.K)(Ue=>!0!==Ue,!0))}(kt,oe,Ue,W).pipe((0,M.O)(mn=>mn&&function Jo(W){return"boolean"==typeof W}(mn)?function _o(W,ae,Z,oe){return(0,i.Q)(ae).pipe((0,ct.m)(Ue=>f(function Xo(W,ae){return null!==W&&ae&&ae(new bn(W)),(0,e.of)(!0)}(Ue.route.parent,oe),function $r(W,ae){return null!==W&&ae&&ae(new In(W)),(0,e.of)(!0)}(Ue.route,oe),function io(W,ae,Z){const oe=ae[ae.length-1],ut=ae.slice(0,ae.length-1).reverse().map(kt=>function zo(W){const ae=W.routeConfig?W.routeConfig.canActivateChild:null;return ae&&0!==ae.length?{node:W,guards:ae}:null}(kt)).filter(kt=>null!==kt).map(kt=>_(()=>{const mn=kt.guards.map(on=>{const cr=mo(kt.node)??Z,Jr=Lo(on,cr);return Un(function ge(W){return W&&Wo(W.canActivateChild)}(Jr)?Jr.canActivateChild(oe,W):(0,n.runInInjectionContext)(cr,()=>Jr(oe,W))).pipe((0,Ge.K)())});return(0,e.of)(mn).pipe(Mi())}));return(0,e.of)(ut).pipe(Mi())}(W,Ue.path,Z),function aa(W,ae,Z){const oe=ae.routeConfig?ae.routeConfig.canActivate:null;if(!oe||0===oe.length)return(0,e.of)(!0);const Ue=oe.map(ut=>_(()=>{const kt=mo(ae)??Z,mn=Lo(ut,kt);return Un(function Ye(W){return W&&Wo(W.canActivate)}(mn)?mn.canActivate(ae,W):(0,n.runInInjectionContext)(kt,()=>mn(ae,W))).pipe((0,Ge.K)())}));return(0,e.of)(Ue).pipe(Mi())}(W,Ue.route,Z))),(0,Ge.K)(Ue=>!0!==Ue,!0))}(oe,ut,W,ae):(0,e.of)(mn)),(0,K.k)(mn=>({...Z,guardsResult:mn})))})}(this.environmentInjector,on=>this.events.next(on)),(0,Oe.y)(on=>{if(ut.guardsResult=on.guardsResult,nr(on.guardsResult))throw yo(0,on.guardsResult);const cr=new Et(on.id,this.urlSerializer.serialize(on.extractedUrl),this.urlSerializer.serialize(on.urlAfterRedirects),on.targetSnapshot,!!on.guardsResult);this.events.next(cr)}),(0,ce.I)(on=>!!on.guardsResult||(this.cancelNavigationTransition(on,"",Q.GuardRejected),!1)),dt(on=>{if(on.guards.canActivateChecks.length)return(0,e.of)(on).pipe((0,Oe.y)(cr=>{const Jr=new Ut(cr.id,this.urlSerializer.serialize(cr.extractedUrl),this.urlSerializer.serialize(cr.urlAfterRedirects),cr.targetSnapshot);this.events.next(Jr)}),(0,ie.G)(cr=>{let Jr=!1;return(0,e.of)(cr).pipe(function Qr(W,ae){return(0,M.O)(Z=>{const{targetSnapshot:oe,guards:{canActivateChecks:Ue}}=Z;if(!Ue.length)return(0,e.of)(Z);const ut=new Set(Ue.map(on=>on.route)),kt=new Set;for(const on of ut)if(!kt.has(on))for(const cr of to(on))kt.add(cr);let mn=0;return(0,i.Q)(kt).pipe((0,ct.m)(on=>ut.has(on)?function Ie(W,ae,Z,oe){const Ue=W.routeConfig,ut=W._resolve;return void 0!==Ue?.title&&!ri(Ue)&&(ut[wt]=Ue.title),function ot(W,ae,Z,oe){const Ue=Yt(W);if(0===Ue.length)return(0,e.of)({});const ut={};return(0,i.Q)(Ue).pipe((0,M.O)(kt=>function Xe(W,ae,Z,oe){const Ue=mo(ae)??oe,ut=Lo(W,Ue);return Un(ut.resolve?ut.resolve(ae,Z):(0,n.runInInjectionContext)(Ue,()=>ut(ae,Z)))}(W[kt],ae,Z,oe).pipe((0,Ge.K)(),(0,Oe.y)(mn=>{ut[kt]=mn}))),Be(1),function Se(W){return(0,K.k)(()=>W)}(ut),(0,ke.a)(kt=>ir(kt)?L.k:D(kt)))}(ut,W,ae,oe).pipe((0,K.k)(kt=>(W._resolvedData=kt,W.data=oi(W,W.parent,Z).resolve,null)))}(on,oe,W,ae):(on.data=oi(on,on.parent,W).resolve,(0,e.of)(void 0))),(0,Oe.y)(()=>mn++),Be(1),(0,M.O)(on=>mn===kt.size?(0,e.of)(Z):L.k))})}(this.paramsInheritanceStrategy,this.environmentInjector),(0,Oe.y)({next:()=>Jr=!0,complete:()=>{Jr||this.cancelNavigationTransition(cr,"",Q.NoDataFromResolver)}}))}),(0,Oe.y)(cr=>{const Jr=new tn(cr.id,this.urlSerializer.serialize(cr.extractedUrl),this.urlSerializer.serialize(cr.urlAfterRedirects),cr.targetSnapshot);this.events.next(Jr)}))}),dt(on=>{const cr=Jr=>{const ui=[];Jr.routeConfig?.loadComponent&&!Jr.routeConfig._loadedComponent&&ui.push(this.configLoader.loadComponent(Jr.routeConfig).pipe((0,Oe.y)(po=>{Jr.component=po}),(0,K.k)(()=>{})));for(const po of Jr.children)ui.push(...cr(po));return ui};return(0,d.E)(cr(on.targetSnapshot.root)).pipe((0,$e.G)(null),(0,J.U)(1))}),dt(()=>this.afterPreactivation()),(0,ie.G)(()=>{const{currentSnapshot:on,targetSnapshot:cr}=ut,Jr=this.createViewTransition?.(this.environmentInjector,on.root,cr.root);return Jr?(0,i.Q)(Jr).pipe((0,K.k)(()=>ut)):(0,e.of)(ut)}),(0,K.k)(on=>{const cr=function bo(W,ae,Z){const oe=gi(W,ae._root,Z?Z._root:void 0);return new jn(oe,ae)}(Z.routeReuseStrategy,on.targetSnapshot,on.currentRouterState);return this.currentTransition=ut={...on,targetRouterState:cr},this.currentNavigation.targetRouterState=cr,ut}),(0,Oe.y)(()=>{this.events.next(new hr)}),((W,ae,Z,oe)=>(0,K.k)(Ue=>(new ya(ae,Ue.targetRouterState,Ue.currentRouterState,Z,oe).activate(W),Ue)))(this.rootContexts,Z.routeReuseStrategy,on=>this.events.next(on),this.inputBindingEnabled),(0,J.U)(1),(0,Oe.y)({next:on=>{kt=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new F(on.id,this.urlSerializer.serialize(on.extractedUrl),this.urlSerializer.serialize(on.urlAfterRedirects))),this.titleStrategy?.updateTitle(on.targetRouterState.snapshot),on.resolve(!0)},complete:()=>{kt=!0}}),function we(W){return(0,V.i)((ae,Z)=>{(0,C.Uv)(W).subscribe((0,G.e)(Z,()=>Z.complete(),re.K)),!Z.closed&&ae.subscribe(Z)})}(this.transitionAbortSubject.pipe((0,Oe.y)(on=>{throw on}))),(0,je.U)(()=>{!kt&&!mn&&this.cancelNavigationTransition(ut,"",Q.SupersededByNewNavigation),this.currentTransition?.id===ut.id&&(this.currentNavigation=null,this.currentTransition=null)}),(0,ke.a)(on=>{if(mn=!0,Mo(on))this.events.next(new me(ut.id,this.urlSerializer.serialize(ut.extractedUrl),on.message,on.cancellationCode)),function Pi(W){return Mo(W)&&nr(W.url)}(on)?this.events.next(new Lr(on.url)):ut.resolve(!1);else{this.events.next(new fe(ut.id,this.urlSerializer.serialize(ut.extractedUrl),on,ut.targetSnapshot??void 0));try{ut.resolve(Z.errorHandler(on))}catch(cr){this.options.resolveNavigationPromiseOnError?ut.resolve(!1):ut.reject(cr)}}return L.k}))}))}cancelNavigationTransition(Z,oe,Ue){const ut=new me(Z.id,this.urlSerializer.serialize(Z.extractedUrl),oe,Ue);this.events.next(ut),Z.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(oe){return new(oe||W)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();function Ke(W){return W!==Ir}let qt=(()=>{class W{static#e=this.\u0275fac=function(oe){return new(oe||W)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:W,factory:()=>(0,n.inject)(An),providedIn:"root"})}return W})();class Cn{shouldDetach(ae){return!1}store(ae,Z){}shouldAttach(ae){return!1}retrieve(ae){return null}shouldReuseRoute(ae,Z){return ae.routeConfig===Z.routeConfig}}let An=(()=>{class W extends Cn{static#e=this.\u0275fac=(()=>{let Z;return function(Ue){return(Z||(Z=n.\u0275\u0275getInheritedFactory(W)))(Ue||W)}})();static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})(),Kn=(()=>{class W{static#e=this.\u0275fac=function(oe){return new(oe||W)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:W,factory:()=>(0,n.inject)(Sr),providedIn:"root"})}return W})(),Sr=(()=>{class W extends Kn{constructor(){super(...arguments),this.location=(0,n.inject)(H.Location),this.urlSerializer=(0,n.inject)(br),this.options=(0,n.inject)(Bt,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=(0,n.inject)(se),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new ze,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=pi(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(Z){return this.location.subscribe(oe=>{"popstate"===oe.type&&Z(oe.url,oe.state)})}handleRouterEvent(Z,oe){if(Z instanceof x)this.stateMemento=this.createStateMemento();else if(Z instanceof q)this.rawUrlTree=oe.initialUrl;else if(Z instanceof nt){if("eager"===this.urlUpdateStrategy&&!oe.extras.skipLocationChange){const Ue=this.urlHandlingStrategy.merge(oe.finalUrl,oe.initialUrl);this.setBrowserUrl(Ue,oe)}}else Z instanceof hr?(this.currentUrlTree=oe.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(oe.finalUrl,oe.initialUrl),this.routerState=oe.targetRouterState,"deferred"===this.urlUpdateStrategy&&(oe.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,oe))):Z instanceof me&&(Z.code===Q.GuardRejected||Z.code===Q.NoDataFromResolver)?this.restoreHistory(oe):Z instanceof fe?this.restoreHistory(oe,!0):Z instanceof F&&(this.lastSuccessfulId=Z.id,this.currentPageId=this.browserPageId)}setBrowserUrl(Z,oe){const Ue=this.urlSerializer.serialize(Z);if(this.location.isCurrentPathEqualTo(Ue)||oe.extras.replaceUrl){const kt={...oe.extras.state,...this.generateNgRouterState(oe.id,this.browserPageId)};this.location.replaceState(Ue,"",kt)}else{const ut={...oe.extras.state,...this.generateNgRouterState(oe.id,this.browserPageId+1)};this.location.go(Ue,"",ut)}}restoreHistory(Z,oe=!1){if("computed"===this.canceledNavigationResolution){const ut=this.currentPageId-this.browserPageId;0!==ut?this.location.historyGo(ut):this.currentUrlTree===Z.finalUrl&&0===ut&&(this.resetState(Z),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(oe&&this.resetState(Z),this.resetUrlToCurrentUrlTree())}resetState(Z){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,Z.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(Z,oe){return"computed"===this.canceledNavigationResolution?{navigationId:Z,\u0275routerPageId:oe}:{navigationId:Z}}static#e=this.\u0275fac=(()=>{let Z;return function(Ue){return(Z||(Z=n.\u0275\u0275getInheritedFactory(W)))(Ue||W)}})();static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();var Zr=function(W){return W[W.COMPLETE=0]="COMPLETE",W[W.FAILED=1]="FAILED",W[W.REDIRECTING=2]="REDIRECTING",W}(Zr||{});function ho(W,ae){W.events.pipe((0,ce.I)(Z=>Z instanceof F||Z instanceof me||Z instanceof fe||Z instanceof q),(0,K.k)(Z=>Z instanceof F||Z instanceof q?Zr.COMPLETE:Z instanceof me&&(Z.code===Q.Redirect||Z.code===Q.SupersededByNewNavigation)?Zr.REDIRECTING:Zr.FAILED),(0,ce.I)(Z=>Z!==Zr.REDIRECTING),(0,J.U)(1)).subscribe(()=>{ae()})}function Co(W){throw W}const Fo={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},xi={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let Yi=(()=>{class W{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)(Kn),this.options=(0,n.inject)(Bt,{optional:!0})||{},this.pendingTasks=(0,n.inject)(n.\u0275PendingTasks),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=(0,n.inject)(ue),this.urlSerializer=(0,n.inject)(br),this.location=(0,n.inject)(H.Location),this.urlHandlingStrategy=(0,n.inject)(se),this._events=new A.E,this.errorHandler=this.options.errorHandler||Co,this.navigated=!1,this.routeReuseStrategy=(0,n.inject)(qt),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=(0,n.inject)(Qt,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!(0,n.inject)(oo,{optional:!0}),this.eventsSubscription=new N.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:Z=>{this.console.warn(Z)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const Z=this.navigationTransitions.events.subscribe(oe=>{try{const Ue=this.navigationTransitions.currentTransition,ut=this.navigationTransitions.currentNavigation;if(null!==Ue&&null!==ut)if(this.stateManager.handleRouterEvent(oe,ut),oe instanceof me&&oe.code!==Q.Redirect&&oe.code!==Q.SupersededByNewNavigation)this.navigated=!0;else if(oe instanceof F)this.navigated=!0;else if(oe instanceof Lr){const kt=this.urlHandlingStrategy.merge(oe.url,Ue.currentRawUrl),mn={info:Ue.extras.info,skipLocationChange:Ue.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||Ke(Ue.source)};this.scheduleNavigation(kt,Ir,null,mn,{resolve:Ue.resolve,reject:Ue.reject,promise:Ue.promise})}(function da(W){return!(W instanceof hr||W instanceof Lr)})(oe)&&this._events.next(oe)}catch(Ue){this.navigationTransitions.transitionAbortSubject.next(Ue)}});this.eventsSubscription.add(Z)}resetRootComponentType(Z){this.routerState.root.component=Z,this.navigationTransitions.rootComponentType=Z}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),Ir,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription??=this.stateManager.registerNonRouterCurrentEntryChangeListener((Z,oe)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(Z,"popstate",oe)},0)})}navigateToSyncWithBrowser(Z,oe,Ue){const ut={replaceUrl:!0},kt=Ue?.navigationId?Ue:null;if(Ue){const on={...Ue};delete on.navigationId,delete on.\u0275routerPageId,0!==Object.keys(on).length&&(ut.state=on)}const mn=this.parseUrl(Z);this.scheduleNavigation(mn,oe,kt,ut)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(Z){this.config=Z.map(Bo),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(Z,oe={}){const{relativeTo:Ue,queryParams:ut,fragment:kt,queryParamsHandling:mn,preserveFragment:on}=oe,cr=on?this.currentUrlTree.fragment:kt;let ui,Jr=null;switch(mn){case"merge":Jr={...this.currentUrlTree.queryParams,...ut};break;case"preserve":Jr=this.currentUrlTree.queryParams;break;default:Jr=ut||null}null!==Jr&&(Jr=this.removeEmptyProps(Jr));try{ui=Ci(Ue?Ue.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof Z[0]||!Z[0].startsWith("/"))&&(Z=[]),ui=this.currentUrlTree.root}return rn(ui,Z,Jr,cr??null)}navigateByUrl(Z,oe={skipLocationChange:!1}){const Ue=nr(Z)?Z:this.parseUrl(Z),ut=this.urlHandlingStrategy.merge(Ue,this.rawUrlTree);return this.scheduleNavigation(ut,Ir,null,oe)}navigate(Z,oe={skipLocationChange:!1}){return function yi(W){for(let ae=0;ae(null!=ut&&(oe[Ue]=ut),oe),{})}scheduleNavigation(Z,oe,Ue,ut,kt){if(this.disposed)return Promise.resolve(!1);let mn,on,cr;kt?(mn=kt.resolve,on=kt.reject,cr=kt.promise):cr=new Promise((ui,po)=>{mn=ui,on=po});const Jr=this.pendingTasks.add();return ho(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(Jr))}),this.navigationTransitions.handleNavigationRequest({source:oe,restoredState:Ue,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:Z,extras:ut,resolve:mn,reject:on,promise:cr,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),cr.catch(ui=>Promise.reject(ui))}static#e=this.\u0275fac=function(oe){return new(oe||W)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})(),ss=(()=>{class W{constructor(Z,oe,Ue,ut,kt,mn){this.router=Z,this.route=oe,this.tabIndexAttribute=Ue,this.renderer=ut,this.el=kt,this.locationStrategy=mn,this.href=null,this.commands=null,this.onChanges=new A.E,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const on=kt.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===on||"area"===on,this.isAnchorElement?this.subscription=Z.events.subscribe(cr=>{cr instanceof F&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(Z){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",Z)}ngOnChanges(Z){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(Z){null!=Z?(this.commands=Array.isArray(Z)?Z:[Z],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(Z,oe,Ue,ut,kt){const mn=this.urlTree;return!!(null===mn||this.isAnchorElement&&(0!==Z||oe||Ue||ut||kt||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(mn,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state,info:this.info}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){const Z=this.urlTree;this.href=null!==Z&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(Z)):null;const oe=null===this.href?null:(0,n.\u0275\u0275sanitizeUrlOrResourceUrl)(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",oe)}applyAttributeValue(Z,oe){const Ue=this.renderer,ut=this.el.nativeElement;null!==oe?Ue.setAttribute(ut,Z,oe):Ue.removeAttribute(ut,Z)}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(oe){return new(oe||W)(n.\u0275\u0275directiveInject(Yi),n.\u0275\u0275directiveInject(qr),n.\u0275\u0275injectAttribute("tabindex"),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(H.LocationStrategy))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:W,selectors:[["","routerLink",""]],hostVars:1,hostBindings:function(oe,Ue){1&oe&&n.\u0275\u0275listener("click",function(kt){return Ue.onClick(kt.button,kt.ctrlKey,kt.shiftKey,kt.altKey,kt.metaKey)}),2&oe&&n.\u0275\u0275attribute("target",Ue.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 W})(),ls=(()=>{class W{get isActive(){return this._isActive}constructor(Z,oe,Ue,ut,kt){this.router=Z,this.element=oe,this.renderer=Ue,this.cdr=ut,this.link=kt,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new n.EventEmitter,this.routerEventsSubscription=Z.events.subscribe(mn=>{mn instanceof F&&this.update()})}ngAfterContentInit(){(0,e.of)(this.links.changes,(0,e.of)(null)).pipe(E()).subscribe(Z=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const Z=[...this.links.toArray(),this.link].filter(oe=>!!oe).map(oe=>oe.onChanges);this.linkInputChangesSubscription=(0,i.Q)(Z).pipe(E()).subscribe(oe=>{this._isActive!==this.isLinkActive(this.router)(oe)&&this.update()})}set routerLinkActive(Z){const oe=Array.isArray(Z)?Z:Z.split(" ");this.classes=oe.filter(Ue=>!!Ue)}ngOnChanges(Z){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const Z=this.hasActiveLinks();this._isActive!==Z&&(this._isActive=Z,this.cdr.markForCheck(),this.classes.forEach(oe=>{Z?this.renderer.addClass(this.element.nativeElement,oe):this.renderer.removeClass(this.element.nativeElement,oe)}),Z&&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(Z))})}isLinkActive(Z){const oe=function Jl(W){return!!W.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return Ue=>{const ut=Ue.urlTree;return!!ut&&Z.isActive(ut,oe)}}hasActiveLinks(){const Z=this.isLinkActive(this.router);return this.link&&Z(this.link)||this.links.some(Z)}static#e=this.\u0275fac=function(oe){return new(oe||W)(n.\u0275\u0275directiveInject(Yi),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(ss,8))};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:W,selectors:[["","routerLinkActive",""]],contentQueries:function(oe,Ue,ut){if(1&oe&&n.\u0275\u0275contentQuery(ut,ss,5),2&oe){let kt;n.\u0275\u0275queryRefresh(kt=n.\u0275\u0275loadQuery())&&(Ue.links=kt)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return W})();class Ms{}let Xl=(()=>{class W{preload(Z,oe){return oe().pipe((0,ke.a)(()=>(0,e.of)(null)))}static#e=this.\u0275fac=function(oe){return new(oe||W)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})(),Ss=(()=>{class W{preload(Z,oe){return(0,e.of)(null)}static#e=this.\u0275fac=function(oe){return new(oe||W)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})(),La=(()=>{class W{constructor(Z,oe,Ue,ut,kt){this.router=Z,this.injector=Ue,this.preloadingStrategy=ut,this.loader=kt}setUpPreloading(){this.subscription=this.router.events.pipe((0,ce.I)(Z=>Z instanceof F),(0,ct.m)(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(Z,oe){const Ue=[];for(const ut of oe){ut.providers&&!ut._injector&&(ut._injector=(0,n.createEnvironmentInjector)(ut.providers,Z,`Route: ${ut.path}`));const kt=ut._injector??Z,mn=ut._loadedInjector??kt;(ut.loadChildren&&!ut._loadedRoutes&&void 0===ut.canLoad||ut.loadComponent&&!ut._loadedComponent)&&Ue.push(this.preloadConfig(kt,ut)),(ut.children||ut._loadedRoutes)&&Ue.push(this.processRoutes(mn,ut.children??ut._loadedRoutes))}return(0,i.Q)(Ue).pipe(E())}preloadConfig(Z,oe){return this.preloadingStrategy.preload(oe,()=>{let Ue;Ue=oe.loadChildren&&void 0===oe.canLoad?this.loader.loadChildren(Z,oe):(0,e.of)(null);const ut=Ue.pipe((0,M.O)(kt=>null===kt?(0,e.of)(void 0):(oe._loadedRoutes=kt.routes,oe._loadedInjector=kt.injector,this.processRoutes(kt.injector??Z,kt.routes))));if(oe.loadComponent&&!oe._loadedComponent){const kt=this.loader.loadComponent(oe);return(0,i.Q)([ut,kt]).pipe(E())}return ut})}static#e=this.\u0275fac=function(oe){return new(oe||W)(n.\u0275\u0275inject(Yi),n.\u0275\u0275inject(n.Compiler),n.\u0275\u0275inject(n.EnvironmentInjector),n.\u0275\u0275inject(Ms),n.\u0275\u0275inject(hn))};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac,providedIn:"root"})}return W})();const al=new n.InjectionToken("");let qo=(()=>{class W{constructor(Z,oe,Ue,ut,kt={}){this.urlSerializer=Z,this.transitions=oe,this.viewportScroller=Ue,this.zone=ut,this.options=kt,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},kt.scrollPositionRestoration||="disabled",kt.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(Z=>{Z instanceof x?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=Z.navigationTrigger,this.restoredId=Z.restoredState?Z.restoredState.navigationId:0):Z instanceof F?(this.lastId=Z.id,this.scheduleScrollEvent(Z,this.urlSerializer.parse(Z.urlAfterRedirects).fragment)):Z instanceof q&&Z.code===De.IgnoredSameUrlNavigation&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(Z,this.urlSerializer.parse(Z.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(Z=>{Z instanceof _r&&(Z.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(Z.position):Z.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(Z.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(Z,oe){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new _r(Z,"popstate"===this.lastSource?this.store[this.restoredId]:null,oe))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(oe){n.\u0275\u0275invalidFactory()};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:W,factory:W.\u0275fac})}return W})();function Es(W,...ae){return(0,n.makeEnvironmentProviders)([{provide:Qt,multi:!0,useValue:W},[],{provide:qr,useFactory:sl,deps:[Yi]},{provide:n.APP_BOOTSTRAP_LISTENER,multi:!0,useFactory:Ds},ae.map(Z=>Z.\u0275providers)])}function sl(W){return W.routerState.root}function Aa(W,ae){return{\u0275kind:W,\u0275providers:ae}}function ql(W){return[{provide:Qt,multi:!0,useValue:W},[]]}function Ws(W={}){return Aa(4,[{provide:al,useFactory:()=>{const Z=(0,n.inject)(H.ViewportScroller),oe=(0,n.inject)(n.NgZone),Ue=(0,n.inject)(ue),ut=(0,n.inject)(br);return new qo(ut,Ue,Z,oe,W)}}])}function Ds(){const W=(0,n.inject)(n.Injector);return ae=>{const Z=W.get(n.ApplicationRef);if(ae!==Z.components[0])return;const oe=W.get(Yi),Ue=W.get(cs);1===W.get(ec)&&oe.initialNavigation(),W.get(Za,null,n.InjectFlags.Optional)?.setUpPreloading(),W.get(al,null,n.InjectFlags.Optional)?.init(),oe.resetRootComponentType(Z.componentTypes[0]),Ue.closed||(Ue.next(),Ue.complete(),Ue.unsubscribe())}}const cs=new n.InjectionToken("",{factory:()=>new A.E}),ec=new n.InjectionToken("",{providedIn:"root",factory:()=>1});function ll(){return Aa(2,[{provide:ec,useValue:0},{provide:n.APP_INITIALIZER,multi:!0,deps:[n.Injector],useFactory:ae=>{const Z=ae.get(H.LOCATION_INITIALIZED,Promise.resolve());return()=>Z.then(()=>new Promise(oe=>{const Ue=ae.get(Yi),ut=ae.get(cs);ho(Ue,()=>{oe(!0)}),ae.get(ue).afterPreactivation=()=>(oe(!0),ut.closed?(0,e.of)(void 0):ut),Ue.initialNavigation()}))}}])}function gu(){return Aa(3,[{provide:n.APP_INITIALIZER,multi:!0,useFactory:()=>{const ae=(0,n.inject)(Yi);return()=>{ae.setUpLocationChangeListener()}}},{provide:ec,useValue:2}])}function ea(){let W=[];return W=[],Aa(1,W)}const Za=new n.InjectionToken("");function Ja(W){return Aa(0,[{provide:Za,useExisting:La},{provide:Ms,useExisting:W}])}function Ud(W){return Aa(5,[{provide:Bt,useValue:W}])}function tc(){return Aa(6,[{provide:H.LocationStrategy,useClass:H.HashLocationStrategy}])}function pu(W){return Aa(7,[{provide:n.ENVIRONMENT_INITIALIZER,multi:!0,useValue:()=>{const Z=(0,n.inject)(n.EnvironmentInjector);(0,n.inject)(Yi).events.subscribe(oe=>{oe instanceof fe&&(0,n.runInInjectionContext)(Z,()=>W(oe))})}}])}function Ts(){return Aa(8,[Pn,{provide:oo,useExisting:Pn}])}function us(W){return Aa(9,[{provide:St,useValue:ne},{provide:P,useValue:{skipNextTransition:!!W?.skipInitialTransition,...W}}])}const cl=new n.InjectionToken("ROUTER_FORROOT_GUARD"),ul=[H.Location,{provide:br,useClass:or},Yi,co,{provide:qr,useFactory:sl,deps:[Yi]},hn,[]];let Is=(()=>{class W{constructor(Z){}static forRoot(Z,oe){return{ngModule:W,providers:[ul,[],{provide:Qt,multi:!0,useValue:Z},{provide:cl,useFactory:ta,deps:[[Yi,new n.Optional,new n.SkipSelf]]},{provide:Bt,useValue:oe||{}},oe?.useHash?{provide:H.LocationStrategy,useClass:H.HashLocationStrategy}:{provide:H.LocationStrategy,useClass:H.PathLocationStrategy},{provide:al,useFactory:()=>{const W=(0,n.inject)(H.ViewportScroller),ae=(0,n.inject)(n.NgZone),Z=(0,n.inject)(Bt),oe=(0,n.inject)(ue),Ue=(0,n.inject)(br);return Z.scrollOffset&&W.setOffset(Z.scrollOffset),new qo(Ue,oe,W,ae,Z)}},oe?.preloadingStrategy?Ja(oe.preloadingStrategy).\u0275providers:[],oe?.initialNavigation?si(oe):[],oe?.bindToComponentInputs?Ts().\u0275providers:[],oe?.enableViewTransitions?us().\u0275providers:[],[{provide:Gs,useFactory:Ds},{provide:n.APP_BOOTSTRAP_LISTENER,multi:!0,useExisting:Gs}]]}}static forChild(Z){return{ngModule:W,providers:[{provide:Qt,multi:!0,useValue:Z}]}}static#e=this.\u0275fac=function(oe){return new(oe||W)(n.\u0275\u0275inject(cl,8))};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:W});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return W})();function ta(W){return"guarded"}function si(W){return["disabled"===W.initialNavigation?gu().\u0275providers:[],"enabledBlocking"===W.initialNavigation?ll().\u0275providers:[]]}const Gs=new n.InjectionToken("");function As(W){return W.map(ae=>(...Z)=>(0,n.inject)(ae).canMatch(...Z))}function Gn(W){return W.map(ae=>(...Z)=>(0,n.inject)(ae).canActivate(...Z))}function nc(W){return W.map(ae=>(...Z)=>(0,n.inject)(ae).canActivateChild(...Z))}function ga(W){return W.map(ae=>(...Z)=>(0,n.inject)(ae).canDeactivate(...Z))}function ds(W){return(...ae)=>(0,n.inject)(W).resolve(...ae)}const _i=new n.Version("17.2.3")},23476:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{MSAL_BROADCAST_CONFIG:()=>J,MSAL_GUARD_CONFIG:()=>K,MSAL_INSTANCE:()=>H,MSAL_INTERCEPTOR_CONFIG:()=>ie,MsalBroadcastService:()=>ce,MsalCustomNavigationClient:()=>Re,MsalGuard:()=>Ge,MsalInterceptor:()=>ct,MsalModule:()=>ke,MsalRedirectComponent:()=>Oe,MsalService:()=>be,version:()=>A});var n=s(1528),c=s(54496),u=s(26956),l=s(88904),i=s(72592),e=s(67648),o=s(84644),d=s(7828),v=s(64952),M=s(74496),p=s(95657);const E={now:()=>(E.delegate||Date).now(),delegate:void 0};class S extends p.E{constructor($e=1/0,Be=1/0,_e=E){super(),this._bufferSize=$e,this._windowTime=Be,this._timestampProvider=_e,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=Be===1/0,this._bufferSize=Math.max(1,$e),this._windowTime=Math.max(1,Be)}next($e){const{isStopped:Be,_buffer:_e,_infiniteTimeWindow:Me,_timestampProvider:Se,_windowTime:je}=this;Be||(_e.push($e),!Me&&_e.push(Se.now()+je)),this._trimBuffer(),super.next($e)}_subscribe($e){this._throwIfClosed(),this._trimBuffer();const Be=this._innerSubscribe($e),{_infiniteTimeWindow:_e,_buffer:Me}=this,Se=Me.slice();for(let je=0;je{class Qe{constructor(Be,_e){this.instance=Be,this.location=_e;const Me=this.location.path(!0).split("#").pop();Me&&(this.redirectHash=`#${Me}`),this.instance.initializeWrapperLibrary(u.Lm.Angular,A)}initialize(){return(0,M.Q)(this.instance.initialize())}acquireTokenPopup(Be){return(0,M.Q)(this.instance.acquireTokenPopup(Be))}acquireTokenRedirect(Be){return(0,M.Q)(this.instance.acquireTokenRedirect(Be))}acquireTokenSilent(Be){return(0,M.Q)(this.instance.acquireTokenSilent(Be))}handleRedirectObservable(Be){return(0,M.Q)(this.instance.initialize().then(()=>this.instance.handleRedirectPromise(Be||this.redirectHash)))}loginPopup(Be){return(0,M.Q)(this.instance.loginPopup(Be))}loginRedirect(Be){return(0,M.Q)(this.instance.loginRedirect(Be))}logout(Be){return(0,M.Q)(this.instance.logout(Be))}logoutRedirect(Be){return(0,M.Q)(this.instance.logoutRedirect(Be))}logoutPopup(Be){return(0,M.Q)(this.instance.logoutPopup(Be))}ssoSilent(Be){return(0,M.Q)(this.instance.ssoSilent(Be))}getLogger(){return this.logger||(this.logger=this.instance.getLogger().clone(k,A)),this.logger}setLogger(Be){this.logger=Be.clone(k,A),this.instance.setLogger(Be)}}return Qe.\u0275fac=function(Be){return new(Be||Qe)(c.\u0275\u0275inject(H),c.\u0275\u0275inject(_.Location))},Qe.\u0275prov=c.\u0275\u0275defineInjectable({token:Qe,factory:Qe.\u0275fac}),Qe})(),ce=(()=>{class Qe{constructor(Be,_e,Me){this.msalInstance=Be,this.authService=_e,this.msalBroadcastConfig=Me,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 S(this.msalBroadcastConfig.eventsToReplay)):this._msalSubject=new p.E,this.msalSubject$=this._msalSubject.asObservable(),this._inProgress=new y.g(u.Yz.Startup),this.inProgress$=this._inProgress.asObservable(),this.msalInstance.addEventCallback(Se=>{this._msalSubject.next(Se);const je=l.M.getInteractionStatusFromEvent(Se,this._inProgress.value);null!==je&&(this.authService.getLogger().verbose(`BroadcastService - ${Se.eventType} results in setting inProgress from ${this._inProgress.value} to ${je}`),this._inProgress.next(je))})}}return Qe.\u0275fac=function(Be){return new(Be||Qe)(c.\u0275\u0275inject(H),c.\u0275\u0275inject(be),c.\u0275\u0275inject(J,8))},Qe.\u0275prov=c.\u0275\u0275defineInjectable({token:Qe,factory:Qe.\u0275fac}),Qe})(),Ge=(()=>{class Qe{constructor(Be,_e,Me,Se,je){this.msalGuardConfig=Be,this.msalBroadcastService=_e,this.authService=Me,this.location=Se,this.router=je,this.msalBroadcastService.inProgress$.subscribe()}parseUrl(Be){return this.router.parseUrl(Be)}getDestinationUrl(Be){this.authService.getLogger().verbose("Guard - getting destination url");const _e=document.getElementsByTagName("base"),Me=this.location.normalize(_e.length?_e[0].href:window.location.origin),Se=this.location.prepareExternalUrl(Be);return Se.startsWith("#")?(this.authService.getLogger().verbose("Guard - destination by hash routing"),`${Me}/${Se}`):`${Me}${Be}`}loginInteractively(Be){const _e="function"==typeof this.msalGuardConfig.authRequest?this.msalGuardConfig.authRequest(this.authService,Be):{...this.msalGuardConfig.authRequest};if(this.msalGuardConfig.interactionType===u.wV.Popup)return this.authService.getLogger().verbose("Guard - logging in by popup"),this.authService.loginPopup(_e).pipe((0,w.k)(Se=>(this.authService.getLogger().verbose("Guard - login by popup successful, can activate, setting active account"),this.authService.instance.setActiveAccount(Se.account),!0)));this.authService.getLogger().verbose("Guard - logging in by redirect");const Me=this.getDestinationUrl(Be.url);return this.authService.loginRedirect({redirectStartPage:Me,..._e}).pipe((0,w.k)(()=>!1))}activateHelper(Be){if(this.msalGuardConfig.interactionType!==u.wV.Popup&&this.msalGuardConfig.interactionType!==u.wV.Redirect)throw new i.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,f.of)(!0);if(e._.hashContainsKnownProperties(window.location.hash)&&o.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,f.of)(!1);this.msalGuardConfig.loginFailedRoute&&(this.loginFailedRoute=this.parseUrl(this.msalGuardConfig.loginFailedRoute));const _e=this.location.path(!0);return this.authService.initialize().pipe((0,D.m)(()=>this.authService.handleRedirectObservable()),(0,D.m)(()=>{if(!this.authService.instance.getAllAccounts().length)return Be?(this.authService.getLogger().verbose("Guard - no accounts retrieved, log in required to activate"),this.loginInteractively(Be)):(this.authService.getLogger().verbose("Guard - no accounts retrieved, no state, cannot load"),(0,f.of)(!1));if(this.authService.getLogger().verbose("Guard - at least 1 account exists, can activate or load"),Be){const Me=this.includesCode(Be.url),Se=!!Be.root&&!!Be.root.fragment&&this.includesCode(`#${Be.root.fragment}`),je=0===this.location.prepareExternalUrl(Be.url).indexOf("#");if(Me&&(Se||je))return this.authService.getLogger().info("Guard - Hash contains known code response, stopping navigation."),_e.indexOf("#")>-1?(0,f.of)(this.parseUrl(this.location.path())):(0,f.of)(this.parseUrl(""))}return(0,f.of)(!0)}),(0,L.a)(Me=>(this.authService.getLogger().error("Guard - error while logging in, unable to activate"),this.authService.getLogger().errorPii(`Guard - error: ${Me.message}`),this.loginFailedRoute&&Be?(this.authService.getLogger().verbose("Guard - loginFailedRoute set, redirecting"),(0,f.of)(this.loginFailedRoute)):(0,f.of)(!1))))}includesCode(Be){return Be.lastIndexOf("/code")>-1&&Be.lastIndexOf("/code")===Be.length-5||Be.indexOf("#code=")>-1||Be.indexOf("&code=")>-1}canActivate(Be,_e){return this.authService.getLogger().verbose("Guard - canActivate"),this.activateHelper(_e)}canActivateChild(Be,_e){return this.authService.getLogger().verbose("Guard - canActivateChild"),this.activateHelper(_e)}canMatch(){return this.authService.getLogger().verbose("Guard - canLoad"),this.activateHelper()}}return Qe.\u0275fac=function(Be){return new(Be||Qe)(c.\u0275\u0275inject(K),c.\u0275\u0275inject(ce),c.\u0275\u0275inject(be),c.\u0275\u0275inject(_.Location),c.\u0275\u0275inject(R.Router))},Qe.\u0275prov=c.\u0275\u0275defineInjectable({token:Qe,factory:Qe.\u0275fac}),Qe})(),ct=(()=>{class Qe{constructor(Be,_e,Me,Se,je){this.msalInterceptorConfig=Be,this.authService=_e,this.location=Me,this.msalBroadcastService=Se,this._document=je}intercept(Be,_e){if(this.msalInterceptorConfig.interactionType!==u.wV.Popup&&this.msalInterceptorConfig.interactionType!==u.wV.Redirect)throw new i.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 Me=this.getScopesForEndpoint(Be.url,Be.method);if(!Me||0===Me.length)return this.authService.getLogger().verbose("Interceptor - no scopes for endpoint"),_e.handle(Be);let Se;this.authService.instance.getActiveAccount()?(this.authService.getLogger().verbose("Interceptor - active account selected"),Se=this.authService.instance.getActiveAccount()):(this.authService.getLogger().verbose("Interceptor - no active account, fallback to first account"),Se=this.authService.instance.getAllAccounts()[0]);const je="function"==typeof this.msalInterceptorConfig.authRequest?this.msalInterceptorConfig.authRequest(this.authService,Be,{account:Se}):{...this.msalInterceptorConfig.authRequest,account:Se};return this.authService.getLogger().info(`Interceptor - ${Me.length} scopes found for endpoint`),this.authService.getLogger().infoPii(`Interceptor - [${Me}] scopes found for ${Be.url}`),this.acquireToken(je,Me,Se).pipe((0,N.G)(re=>{this.authService.getLogger().verbose("Interceptor - setting authorization headers");const we=Be.headers.set("Authorization",`Bearer ${re.accessToken}`),rt=Be.clone({headers:we});return _e.handle(rt)}))}acquireToken(Be,_e,Me){return this.authService.acquireTokenSilent({...Be,scopes:_e,account:Me}).pipe((0,L.a)(()=>(this.authService.getLogger().error("Interceptor - acquireTokenSilent rejected with error. Invoking interaction to resolve."),this.msalBroadcastService.inProgress$.pipe((0,V.U)(1),(0,N.G)(Se=>Se===u.Yz.None?this.acquireTokenInteractively(Be,_e):this.msalBroadcastService.inProgress$.pipe((0,G.I)(je=>je===u.Yz.None),(0,V.U)(1),(0,N.G)(()=>this.acquireToken(Be,_e,Me))))))),(0,N.G)(Se=>Se.accessToken?(0,f.of)(Se):(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,G.I)(je=>je===u.Yz.None),(0,V.U)(1),(0,N.G)(()=>this.acquireTokenInteractively(Be,_e))))))}acquireTokenInteractively(Be,_e){if(this.msalInterceptorConfig.interactionType===u.wV.Popup)return this.authService.getLogger().verbose("Interceptor - error acquiring token silently, acquiring by popup"),this.authService.acquireTokenPopup({...Be,scopes:_e});this.authService.getLogger().verbose("Interceptor - error acquiring token silently, acquiring by redirect");const Me=window.location.href;return this.authService.acquireTokenRedirect({...Be,scopes:_e,redirectStartPage:Me}),C.k}getScopesForEndpoint(Be,_e){this.authService.getLogger().verbose("Interceptor - getting scopes for endpoint");const Me=this.location.normalize(Be),Se=Array.from(this.msalInterceptorConfig.protectedResourceMap.keys()),je=this.matchResourcesToEndpoint(Se,Me);return je.absoluteResources.length>0?this.matchScopesToEndpoint(this.msalInterceptorConfig.protectedResourceMap,je.absoluteResources,_e):je.relativeResources.length>0?this.matchScopesToEndpoint(this.msalInterceptorConfig.protectedResourceMap,je.relativeResources,_e):null}matchResourcesToEndpoint(Be,_e){const Me={absoluteResources:[],relativeResources:[]};return Be.forEach(Se=>{const je=this.location.normalize(Se);d.e.matchPattern(je,_e)&&Me.absoluteResources.push(Se);const re=this.getAbsoluteUrl(Se),we=new e._(re).getUrlComponents(),rt=this.getAbsoluteUrl(_e),tt=new e._(rt).getUrlComponents(),wt=we.QueryString?`${we.AbsolutePath}?${we.QueryString}`:this.location.normalize(we.AbsolutePath);we.HostNameAndPort===tt.HostNameAndPort&&d.e.matchPattern(wt,rt)&&""!==wt&&"/*"!==wt&&Me.relativeResources.push(Se)}),Me}getAbsoluteUrl(Be){const _e=this._document.createElement("a");return _e.href=Be,_e.href}matchScopesToEndpoint(Be,_e,Me){const Se=[];return _e.forEach(je=>{const re=[],we=Be.get(je);null!==we?(we.forEach(rt=>{if("string"==typeof rt)re.push(rt);else{const tt=Me.toLowerCase();rt.httpMethod.toLowerCase()===tt&&(null===rt.scopes?Se.push(null):rt.scopes.forEach(ye=>{re.push(ye)}))}}),re.length>0&&Se.push(re)):Se.push(null)}),Se.length>0?(Se.length>1&&this.authService.getLogger().warning("Interceptor - More than 1 matching scopes for endpoint found."),Se[0]):null}}return Qe.\u0275fac=function(Be){return new(Be||Qe)(c.\u0275\u0275inject(ie),c.\u0275\u0275inject(be),c.\u0275\u0275inject(_.Location),c.\u0275\u0275inject(ce),c.\u0275\u0275inject(_.DOCUMENT))},Qe.\u0275prov=c.\u0275\u0275defineInjectable({token:Qe,factory:Qe.\u0275fac}),Qe})(),Oe=(()=>{class Qe{constructor(Be){this.authService=Be}ngOnInit(){this.authService.getLogger().verbose("MsalRedirectComponent activated"),this.authService.handleRedirectObservable().subscribe()}}return Qe.\u0275fac=function(Be){return new(Be||Qe)(c.\u0275\u0275directiveInject(be))},Qe.\u0275cmp=c.\u0275\u0275defineComponent({type:Qe,selectors:[["app-redirect"]],decls:0,vars:0,template:function(Be,_e){},encapsulation:2}),Qe})(),ke=(()=>{class Qe{static forRoot(Be,_e,Me){return{ngModule:Qe,providers:[{provide:H,useValue:Be},{provide:K,useValue:_e},{provide:ie,useValue:Me},be]}}}return Qe.\u0275fac=function(Be){return new(Be||Qe)},Qe.\u0275mod=c.\u0275\u0275defineNgModule({type:Qe}),Qe.\u0275inj=c.\u0275\u0275defineInjector({providers:[Ge,ce],imports:[_.CommonModule]}),Qe})(),Re=(()=>{class Qe extends v.m{constructor(Be,_e,Me){super(),this.authService=Be,this.router=_e,this.location=Me}navigateInternal(Be,_e){var Me=()=>super.navigateInternal,Se=this;return(0,n.c)(function*(){if(Se.authService.getLogger().trace("MsalCustomNavigationClient called"),Se.authService.getLogger().verbose("MsalCustomNavigationClient - navigating"),Se.authService.getLogger().verbosePii(`MsalCustomNavigationClient - navigating to url: ${Be}`),_e.noHistory)return Me().call(Se,Be,_e);{const je=new e._(Be).getUrlComponents(),re=je.QueryString?`${je.AbsolutePath}?${je.QueryString}`:Se.location.normalize(je.AbsolutePath);yield Se.router.navigateByUrl(re,{replaceUrl:_e.noHistory})}return Promise.resolve(_e.noHistory)})()}}return Qe.\u0275fac=function(Be){return new(Be||Qe)(c.\u0275\u0275inject(be),c.\u0275\u0275inject(R.Router),c.\u0275\u0275inject(_.Location))},Qe.\u0275prov=c.\u0275\u0275defineInjectable({token:Qe,factory:Qe.\u0275fac}),Qe})()},69812:(pe,m,s)=>{"use strict";s.d(m,{S:()=>R,Y:()=>G});var n=s(1528),c=s(6536),u=s(34739),l=s(72584),i=s(98416),e=s(28876),o=s(71408),d=s(85348),v=s(7828),M=s(86144),p=s(16256),E=s(6400),S=s(9488),y=s(65172),f=s(4792),C=s(26956),_=s(71720),w=s(61744),D=s(99632),L=s(55084),N=s(37988),V=s(32828);class G extends c.B{constructor(A,H,K,ie,J){super(A,K,ie,J),this.COOKIE_LIFE_MULTIPLIER=864e5,this.cacheConfig=H,this.logger=ie,this.internalStorage=new w.W,this.browserStorage=this.setupBrowserStorage(this.cacheConfig.cacheLocation),this.temporaryCacheStorage=this.setupTemporaryCacheStorage(this.cacheConfig.temporaryCacheLocation,this.cacheConfig.cacheLocation),H.cacheMigrationEnabled&&(this.migrateCacheEntries(),this.createKeyMaps())}setupBrowserStorage(A){switch(A){case C.Ir.LocalStorage:case C.Ir.SessionStorage:try{return new _.K(A)}catch(H){this.logger.verbose(H);break}}return this.cacheConfig.cacheLocation=C.Ir.MemoryStorage,new w.W}setupTemporaryCacheStorage(A,H){switch(H){case C.Ir.LocalStorage:case C.Ir.SessionStorage:try{return new _.K(A||C.Ir.SessionStorage)}catch(K){return this.logger.verbose(K),this.internalStorage}default:return this.internalStorage}}migrateCacheEntries(){const H=`${u.Mv.CACHE_PREFIX}.${u.IH.CLIENT_INFO}`,K=`${u.Mv.CACHE_PREFIX}.${u.IH.ERROR}`,ie=`${u.Mv.CACHE_PREFIX}.${u.IH.ERROR_DESC}`,ct=[this.browserStorage.getItem(`${u.Mv.CACHE_PREFIX}.${u.IH.ID_TOKEN}`),this.browserStorage.getItem(H),this.browserStorage.getItem(K),this.browserStorage.getItem(ie)];[u.IH.ID_TOKEN,u.IH.CLIENT_INFO,u.IH.ERROR,u.IH.ERROR_DESC].forEach((ke,Re)=>this.migrateCacheEntry(ke,ct[Re]))}migrateCacheEntry(A,H){H&&this.setTemporaryCache(A,H,!0)}createKeyMaps(){this.logger.trace("BrowserCacheManager - createKeyMaps called.");const A=this.getItem(C.UZ.ACCOUNT_KEYS),H=this.getItem(`${C.UZ.TOKEN_KEYS}.${this.clientId}`);A&&H?this.logger.verbose("BrowserCacheManager:createKeyMaps - account and token key maps already exist, skipping migration."):this.browserStorage.getKeys().forEach(ie=>{if(this.isCredentialKey(ie)){const J=this.getItem(ie);if(J){const be=this.validateAndParseJson(J);if(be&&be.hasOwnProperty("credentialType"))switch(be.credentialType){case u.yu.ID_TOKEN:if(l.LS(be)){this.logger.trace("BrowserCacheManager:createKeyMaps - idToken found, saving key to token key map"),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - idToken with key: ${ie} found, saving key to token key map`);const Ge=this.updateCredentialCacheKey(ie,be);return void this.addTokenKey(Ge,u.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: ${ie}`);break;case u.yu.ACCESS_TOKEN:case u.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME:if(l.Ul(be)){this.logger.trace("BrowserCacheManager:createKeyMaps - accessToken found, saving key to token key map"),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - accessToken with key: ${ie} found, saving key to token key map`);const Ge=this.updateCredentialCacheKey(ie,be);return void this.addTokenKey(Ge,u.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: ${ie}`);break;case u.yu.REFRESH_TOKEN:if(l.U5(be)){this.logger.trace("BrowserCacheManager:createKeyMaps - refreshToken found, saving key to token key map"),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - refreshToken with key: ${ie} found, saving key to token key map`);const Ge=this.updateCredentialCacheKey(ie,be);return void this.addTokenKey(Ge,u.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: ${ie}`)}}}if(this.isAccountKey(ie)){const J=this.getItem(ie);if(J){const be=this.validateAndParseJson(J);be&&i.M.isAccountEntity(be)&&(this.logger.trace("BrowserCacheManager:createKeyMaps - account found, saving key to account key map"),this.logger.tracePii(`BrowserCacheManager:createKeyMaps - account with key: ${ie} found, saving key to account key map`),this.addAccountKeyToMap(ie))}}})}validateAndParseJson(A){try{const H=JSON.parse(A);return H&&"object"==typeof H?H:null}catch{return null}}getItem(A){return this.browserStorage.getItem(A)}setItem(A,H){this.browserStorage.setItem(A,H)}getAccount(A,H){this.logger.trace("BrowserCacheManager.getAccount called");const K=this.getCachedAccountEntity(A);return this.updateOutdatedCachedAccount(A,K,H)}getCachedAccountEntity(A){const H=this.getItem(A);if(!H)return this.removeAccountKeyFromMap(A),null;const K=this.validateAndParseJson(H);return K&&i.M.isAccountEntity(K)?c.B.toObject(new i.M,K):(this.removeAccountKeyFromMap(A),null)}setAccount(A){this.logger.trace("BrowserCacheManager.setAccount called");const H=A.generateAccountKey();this.setItem(H,JSON.stringify(A)),this.addAccountKeyToMap(H)}getAccountKeys(){this.logger.trace("BrowserCacheManager.getAccountKeys called");const A=this.getItem(C.UZ.ACCOUNT_KEYS);return A?JSON.parse(A):(this.logger.verbose("BrowserCacheManager.getAccountKeys - No account keys found"),[])}addAccountKeyToMap(A){this.logger.trace("BrowserCacheManager.addAccountKeyToMap called"),this.logger.tracePii(`BrowserCacheManager.addAccountKeyToMap called with key: ${A}`);const H=this.getAccountKeys();-1===H.indexOf(A)?(H.push(A),this.setItem(C.UZ.ACCOUNT_KEYS,JSON.stringify(H)),this.logger.verbose("BrowserCacheManager.addAccountKeyToMap account key added")):this.logger.verbose("BrowserCacheManager.addAccountKeyToMap account key already exists in map")}removeAccountKeyFromMap(A){this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap called"),this.logger.tracePii(`BrowserCacheManager.removeAccountKeyFromMap called with key: ${A}`);const H=this.getAccountKeys(),K=H.indexOf(A);K>-1?(H.splice(K,1),this.setItem(C.UZ.ACCOUNT_KEYS,JSON.stringify(H)),this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap account key removed")):this.logger.trace("BrowserCacheManager.removeAccountKeyFromMap key not found in existing map")}removeAccount(A){var H=()=>super.removeAccount,K=this;return(0,n.c)(function*(){H().call(K,A),K.removeAccountKeyFromMap(A)})()}removeOutdatedAccount(A){this.removeItem(A),this.removeAccountKeyFromMap(A)}removeIdToken(A){super.removeIdToken(A),this.removeTokenKey(A,u.yu.ID_TOKEN)}removeAccessToken(A){var H=()=>super.removeAccessToken,K=this;return(0,n.c)(function*(){H().call(K,A),K.removeTokenKey(A,u.yu.ACCESS_TOKEN)})()}removeRefreshToken(A){super.removeRefreshToken(A),this.removeTokenKey(A,u.yu.REFRESH_TOKEN)}getTokenKeys(){this.logger.trace("BrowserCacheManager.getTokenKeys called");const A=this.getItem(`${C.UZ.TOKEN_KEYS}.${this.clientId}`);if(A){const H=this.validateAndParseJson(A);if(H&&H.hasOwnProperty("idToken")&&H.hasOwnProperty("accessToken")&&H.hasOwnProperty("refreshToken"))return H;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(A,H){this.logger.trace("BrowserCacheManager addTokenKey called");const K=this.getTokenKeys();switch(H){case u.yu.ID_TOKEN:-1===K.idToken.indexOf(A)&&(this.logger.info("BrowserCacheManager: addTokenKey - idToken added to map"),K.idToken.push(A));break;case u.yu.ACCESS_TOKEN:-1===K.accessToken.indexOf(A)&&(this.logger.info("BrowserCacheManager: addTokenKey - accessToken added to map"),K.accessToken.push(A));break;case u.yu.REFRESH_TOKEN:-1===K.refreshToken.indexOf(A)&&(this.logger.info("BrowserCacheManager: addTokenKey - refreshToken added to map"),K.refreshToken.push(A));break;default:throw this.logger.error(`BrowserCacheManager:addTokenKey - CredentialType provided invalid. CredentialType: ${H}`),(0,e.mQ)(o.unexpectedCredentialType)}this.setItem(`${C.UZ.TOKEN_KEYS}.${this.clientId}`,JSON.stringify(K))}removeTokenKey(A,H){this.logger.trace("BrowserCacheManager removeTokenKey called");const K=this.getTokenKeys();switch(H){case u.yu.ID_TOKEN:this.logger.infoPii(`BrowserCacheManager: removeTokenKey - attempting to remove idToken with key: ${A} from map`);const ie=K.idToken.indexOf(A);ie>-1?(this.logger.info("BrowserCacheManager: removeTokenKey - idToken removed from map"),K.idToken.splice(ie,1)):this.logger.info("BrowserCacheManager: removeTokenKey - idToken does not exist in map. Either it was previously removed or it was never added.");break;case u.yu.ACCESS_TOKEN:this.logger.infoPii(`BrowserCacheManager: removeTokenKey - attempting to remove accessToken with key: ${A} from map`);const J=K.accessToken.indexOf(A);J>-1?(this.logger.info("BrowserCacheManager: removeTokenKey - accessToken removed from map"),K.accessToken.splice(J,1)):this.logger.info("BrowserCacheManager: removeTokenKey - accessToken does not exist in map. Either it was previously removed or it was never added.");break;case u.yu.REFRESH_TOKEN:this.logger.infoPii(`BrowserCacheManager: removeTokenKey - attempting to remove refreshToken with key: ${A} from map`);const be=K.refreshToken.indexOf(A);be>-1?(this.logger.info("BrowserCacheManager: removeTokenKey - refreshToken removed from map"),K.refreshToken.splice(be,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: ${H}`),(0,e.mQ)(o.unexpectedCredentialType)}this.setItem(`${C.UZ.TOKEN_KEYS}.${this.clientId}`,JSON.stringify(K))}getIdTokenCredential(A){const H=this.getItem(A);if(!H)return this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit"),this.removeTokenKey(A,u.yu.ID_TOKEN),null;const K=this.validateAndParseJson(H);return K&&l.LS(K)?(this.logger.trace("BrowserCacheManager.getIdTokenCredential: cache hit"),K):(this.logger.trace("BrowserCacheManager.getIdTokenCredential: called, no cache hit"),this.removeTokenKey(A,u.yu.ID_TOKEN),null)}setIdTokenCredential(A){this.logger.trace("BrowserCacheManager.setIdTokenCredential called");const H=l.AZ(A);this.setItem(H,JSON.stringify(A)),this.addTokenKey(H,u.yu.ID_TOKEN)}getAccessTokenCredential(A){const H=this.getItem(A);if(!H)return this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit"),this.removeTokenKey(A,u.yu.ACCESS_TOKEN),null;const K=this.validateAndParseJson(H);return K&&l.Ul(K)?(this.logger.trace("BrowserCacheManager.getAccessTokenCredential: cache hit"),K):(this.logger.trace("BrowserCacheManager.getAccessTokenCredential: called, no cache hit"),this.removeTokenKey(A,u.yu.ACCESS_TOKEN),null)}setAccessTokenCredential(A){this.logger.trace("BrowserCacheManager.setAccessTokenCredential called");const H=l.AZ(A);this.setItem(H,JSON.stringify(A)),this.addTokenKey(H,u.yu.ACCESS_TOKEN)}getRefreshTokenCredential(A){const H=this.getItem(A);if(!H)return this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit"),this.removeTokenKey(A,u.yu.REFRESH_TOKEN),null;const K=this.validateAndParseJson(H);return K&&l.U5(K)?(this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: cache hit"),K):(this.logger.trace("BrowserCacheManager.getRefreshTokenCredential: called, no cache hit"),this.removeTokenKey(A,u.yu.REFRESH_TOKEN),null)}setRefreshTokenCredential(A){this.logger.trace("BrowserCacheManager.setRefreshTokenCredential called");const H=l.AZ(A);this.setItem(H,JSON.stringify(A)),this.addTokenKey(H,u.yu.REFRESH_TOKEN)}getAppMetadata(A){const H=this.getItem(A);if(!H)return this.logger.trace("BrowserCacheManager.getAppMetadata: called, no cache hit"),null;const K=this.validateAndParseJson(H);return K&&l.q6(A,K)?(this.logger.trace("BrowserCacheManager.getAppMetadata: cache hit"),K):(this.logger.trace("BrowserCacheManager.getAppMetadata: called, no cache hit"),null)}setAppMetadata(A){this.logger.trace("BrowserCacheManager.setAppMetadata called");const H=l.S(A);this.setItem(H,JSON.stringify(A))}getServerTelemetry(A){const H=this.getItem(A);if(!H)return this.logger.trace("BrowserCacheManager.getServerTelemetry: called, no cache hit"),null;const K=this.validateAndParseJson(H);return K&&l.sX(A,K)?(this.logger.trace("BrowserCacheManager.getServerTelemetry: cache hit"),K):(this.logger.trace("BrowserCacheManager.getServerTelemetry: called, no cache hit"),null)}setServerTelemetry(A,H){this.logger.trace("BrowserCacheManager.setServerTelemetry called"),this.setItem(A,JSON.stringify(H))}getAuthorityMetadata(A){const H=this.internalStorage.getItem(A);if(!H)return this.logger.trace("BrowserCacheManager.getAuthorityMetadata: called, no cache hit"),null;const K=this.validateAndParseJson(H);return K&&l.aA(A,K)?(this.logger.trace("BrowserCacheManager.getAuthorityMetadata: cache hit"),K):null}getAuthorityMetadataKeys(){return this.internalStorage.getKeys().filter(H=>this.isAuthorityMetadata(H))}setWrapperMetadata(A,H){this.internalStorage.setItem(C.CM.WRAPPER_SKU,A),this.internalStorage.setItem(C.CM.WRAPPER_VER,H)}getWrapperMetadata(){return[this.internalStorage.getItem(C.CM.WRAPPER_SKU)||u.Mv.EMPTY_STRING,this.internalStorage.getItem(C.CM.WRAPPER_VER)||u.Mv.EMPTY_STRING]}setAuthorityMetadata(A,H){this.logger.trace("BrowserCacheManager.setAuthorityMetadata called"),this.internalStorage.setItem(A,JSON.stringify(H))}getActiveAccount(){const A=this.generateCacheKey(u.IH.ACTIVE_ACCOUNT_FILTERS),H=this.getItem(A);if(!H){this.logger.trace("BrowserCacheManager.getActiveAccount: No active account filters cache schema found, looking for legacy schema");const ie=this.generateCacheKey(u.IH.ACTIVE_ACCOUNT),J=this.getItem(ie);if(!J)return this.logger.trace("BrowserCacheManager.getActiveAccount: No active account found"),null;const be=this.getAccountInfoFilteredBy({localAccountId:J});return be?(this.logger.trace("BrowserCacheManager.getActiveAccount: Legacy active account cache schema found"),this.logger.trace("BrowserCacheManager.getActiveAccount: Adding active account filters cache schema"),this.setActiveAccount(be),be):null}const K=this.validateAndParseJson(H);return K?(this.logger.trace("BrowserCacheManager.getActiveAccount: Active account filters schema found"),this.getAccountInfoFilteredBy({homeAccountId:K.homeAccountId,localAccountId:K.localAccountId,tenantId:K.tenantId})):(this.logger.trace("BrowserCacheManager.getActiveAccount: No active account found"),null)}setActiveAccount(A){const H=this.generateCacheKey(u.IH.ACTIVE_ACCOUNT_FILTERS),K=this.generateCacheKey(u.IH.ACTIVE_ACCOUNT);A?(this.logger.verbose("setActiveAccount: Active account set"),this.browserStorage.setItem(H,JSON.stringify({homeAccountId:A.homeAccountId,localAccountId:A.localAccountId,tenantId:A.tenantId})),this.browserStorage.setItem(K,A.localAccountId)):(this.logger.verbose("setActiveAccount: No account passed, active account not set"),this.browserStorage.removeItem(H),this.browserStorage.removeItem(K))}getThrottlingCache(A){const H=this.getItem(A);if(!H)return this.logger.trace("BrowserCacheManager.getThrottlingCache: called, no cache hit"),null;const K=this.validateAndParseJson(H);return K&&l.s7(A,K)?(this.logger.trace("BrowserCacheManager.getThrottlingCache: cache hit"),K):(this.logger.trace("BrowserCacheManager.getThrottlingCache: called, no cache hit"),null)}setThrottlingCache(A,H){this.logger.trace("BrowserCacheManager.setThrottlingCache called"),this.setItem(A,JSON.stringify(H))}getTemporaryCache(A,H){const K=H?this.generateCacheKey(A):A;if(this.cacheConfig.storeAuthStateInCookie){const J=this.getItemCookie(K);if(J)return this.logger.trace("BrowserCacheManager.getTemporaryCache: storeAuthStateInCookies set to true, retrieving from cookies"),J}const ie=this.temporaryCacheStorage.getItem(K);if(!ie){if(this.cacheConfig.cacheLocation===C.Ir.LocalStorage){const J=this.browserStorage.getItem(K);if(J)return this.logger.trace("BrowserCacheManager.getTemporaryCache: Temporary cache item found in local storage"),J}return this.logger.trace("BrowserCacheManager.getTemporaryCache: No cache item found in local storage"),null}return this.logger.trace("BrowserCacheManager.getTemporaryCache: Temporary cache item returned"),ie}setTemporaryCache(A,H,K){const ie=K?this.generateCacheKey(A):A;this.temporaryCacheStorage.setItem(ie,H),this.cacheConfig.storeAuthStateInCookie&&(this.logger.trace("BrowserCacheManager.setTemporaryCache: storeAuthStateInCookie set to true, setting item cookie"),this.setItemCookie(ie,H))}removeItem(A){this.browserStorage.removeItem(A),this.temporaryCacheStorage.removeItem(A),this.cacheConfig.storeAuthStateInCookie&&(this.logger.trace("BrowserCacheManager.removeItem: storeAuthStateInCookie is true, clearing item cookie"),this.clearItemCookie(A))}containsKey(A){return this.browserStorage.containsKey(A)||this.temporaryCacheStorage.containsKey(A)}getKeys(){return[...this.browserStorage.getKeys(),...this.temporaryCacheStorage.getKeys()]}clear(){var A=this;return(0,n.c)(function*(){yield A.removeAllAccounts(),A.removeAppMetadata(),A.getKeys().forEach(H=>{(A.browserStorage.containsKey(H)||A.temporaryCacheStorage.containsKey(H))&&(-1!==H.indexOf(u.Mv.CACHE_PREFIX)||-1!==H.indexOf(A.clientId))&&A.removeItem(H)}),A.internalStorage.clear()})()}clearTokensAndKeysWithClaims(A){var H=this;return(0,n.c)(function*(){A.addQueueMeasurement(d.Xv.ClearTokensAndKeysWithClaims);const K=H.getTokenKeys(),ie=[];K.accessToken.forEach(J=>{const be=H.getAccessTokenCredential(J);be?.requestedClaimsHash&&J.includes(be.requestedClaimsHash.toLowerCase())&&ie.push(H.removeAccessToken(J))}),yield Promise.all(ie),ie.length>0&&H.logger.warning(`${ie.length} access tokens with claims in the cache keys have been removed from the cache.`)})()}setItemCookie(A,H,K){let ie=`${encodeURIComponent(A)}=${encodeURIComponent(H)};path=/;SameSite=Lax;`;K&&(ie+=`expires=${this.getCookieExpirationTime(K)};`),this.cacheConfig.secureCookies&&(ie+="Secure;"),document.cookie=ie}getItemCookie(A){const H=`${encodeURIComponent(A)}=`,K=document.cookie.split(";");for(let ie=0;ie{for(;" "===K.charAt(0);)K=K.substring(1);if(0===K.indexOf(A)){const ie=K.split("=")[0];this.clearItemCookie(ie)}})}clearItemCookie(A){this.setItemCookie(A,u.Mv.EMPTY_STRING,-1)}getCookieExpirationTime(A){return new Date((new Date).getTime()+A*this.COOKIE_LIFE_MULTIPLIER).toUTCString()}getCache(){return this.browserStorage}setCache(){}generateCacheKey(A){return this.validateAndParseJson(A)?JSON.stringify(A):v.e.startsWith(A,u.Mv.CACHE_PREFIX)||v.e.startsWith(A,u.IH.ADAL_ID_TOKEN)?A:`${u.Mv.CACHE_PREFIX}.${this.clientId}.${A}`}generateAuthorityKey(A){const{libraryState:{id:H}}=M.c.parseRequestState(this.cryptoImpl,A);return this.generateCacheKey(`${C.zH.AUTHORITY}.${H}`)}generateNonceKey(A){const{libraryState:{id:H}}=M.c.parseRequestState(this.cryptoImpl,A);return this.generateCacheKey(`${C.zH.NONCE_IDTOKEN}.${H}`)}generateStateKey(A){const{libraryState:{id:H}}=M.c.parseRequestState(this.cryptoImpl,A);return this.generateCacheKey(`${C.zH.REQUEST_STATE}.${H}`)}getCachedAuthority(A){const H=this.generateStateKey(A),K=this.getTemporaryCache(H);if(!K)return null;const ie=this.generateAuthorityKey(K);return this.getTemporaryCache(ie)}updateCacheEntries(A,H,K,ie,J){this.logger.trace("BrowserCacheManager.updateCacheEntries called");const be=this.generateStateKey(A);this.setTemporaryCache(be,A,!1);const ce=this.generateNonceKey(A);this.setTemporaryCache(ce,H,!1);const Ge=this.generateAuthorityKey(A);this.setTemporaryCache(Ge,K,!1),J?this.setTemporaryCache(C.zH.CCS_CREDENTIAL,JSON.stringify({credential:J.homeAccountId,type:p.s.HOME_ACCOUNT_ID}),!0):ie&&this.setTemporaryCache(C.zH.CCS_CREDENTIAL,JSON.stringify({credential:ie,type:p.s.UPN}),!0)}resetRequestCache(A){this.logger.trace("BrowserCacheManager.resetRequestCache called"),A&&(this.getKeys().forEach(H=>{-1!==H.indexOf(A)&&this.removeItem(H)}),this.removeItem(this.generateStateKey(A)),this.removeItem(this.generateNonceKey(A)),this.removeItem(this.generateAuthorityKey(A))),this.removeItem(this.generateCacheKey(C.zH.REQUEST_PARAMS)),this.removeItem(this.generateCacheKey(C.zH.ORIGIN_URI)),this.removeItem(this.generateCacheKey(C.zH.URL_HASH)),this.removeItem(this.generateCacheKey(C.zH.CORRELATION_ID)),this.removeItem(this.generateCacheKey(C.zH.CCS_CREDENTIAL)),this.removeItem(this.generateCacheKey(C.zH.NATIVE_REQUEST)),this.setInteractionInProgress(!1)}cleanRequestByState(A){if(this.logger.trace("BrowserCacheManager.cleanRequestByState called"),A){const H=this.generateStateKey(A),K=this.temporaryCacheStorage.getItem(H);this.logger.infoPii(`BrowserCacheManager.cleanRequestByState: Removing temporary cache items for state: ${K}`),this.resetRequestCache(K||u.Mv.EMPTY_STRING)}this.clearMsalCookies()}cleanRequestByInteractionType(A){this.logger.trace("BrowserCacheManager.cleanRequestByInteractionType called"),this.getKeys().forEach(H=>{if(-1===H.indexOf(C.zH.REQUEST_STATE))return;const K=this.temporaryCacheStorage.getItem(H);if(!K)return;const ie=(0,D.Q)(this.cryptoImpl,K);ie&&ie.interactionType===A&&(this.logger.infoPii(`BrowserCacheManager.cleanRequestByInteractionType: Removing temporary cache items for state: ${K}`),this.resetRequestCache(K))}),this.clearMsalCookies(),this.setInteractionInProgress(!1)}cacheCodeRequest(A){this.logger.trace("BrowserCacheManager.cacheCodeRequest called");const H=(0,N.c9)(JSON.stringify(A));this.setTemporaryCache(C.zH.REQUEST_PARAMS,H,!0)}getCachedRequest(A){this.logger.trace("BrowserCacheManager.getCachedRequest called");const H=this.getTemporaryCache(C.zH.REQUEST_PARAMS,!0);if(!H)throw(0,f.Wq)(V.noTokenRequestCacheError);let K;try{K=JSON.parse((0,L.W)(H))}catch(ie){throw this.logger.errorPii(`Attempted to parse: ${H}`),this.logger.error(`Parsing cached token request threw with error: ${ie}`),(0,f.Wq)(V.unableToParseTokenRequestCacheError)}if(this.removeItem(this.generateCacheKey(C.zH.REQUEST_PARAMS)),!K.authority){const ie=this.generateAuthorityKey(A),J=this.getTemporaryCache(ie);if(!J)throw(0,f.Wq)(V.noCachedAuthorityError);K.authority=J}return K}getCachedNativeRequest(){this.logger.trace("BrowserCacheManager.getCachedNativeRequest called");const A=this.getTemporaryCache(C.zH.NATIVE_REQUEST,!0);return A?this.validateAndParseJson(A)||(this.logger.error("BrowserCacheManager.getCachedNativeRequest: Unable to parse native request"),null):(this.logger.trace("BrowserCacheManager.getCachedNativeRequest: No cached native request found"),null)}isInteractionInProgress(A){const H=this.getInteractionInProgress();return A?H===this.clientId:!!H}getInteractionInProgress(){return this.getTemporaryCache(`${u.Mv.CACHE_PREFIX}.${C.zH.INTERACTION_STATUS_KEY}`,!1)}setInteractionInProgress(A){const H=`${u.Mv.CACHE_PREFIX}.${C.zH.INTERACTION_STATUS_KEY}`;if(A){if(this.getInteractionInProgress())throw(0,f.Wq)(V.interactionInProgress);this.setTemporaryCache(H,this.clientId,!1)}else!A&&this.getInteractionInProgress()===this.clientId&&this.removeItem(H)}getLegacyLoginHint(){const A=this.getTemporaryCache(u.IH.ADAL_ID_TOKEN);A&&(this.browserStorage.removeItem(u.IH.ADAL_ID_TOKEN),this.logger.verbose("Cached ADAL id token retrieved."));const H=this.getTemporaryCache(u.IH.ID_TOKEN,!0);H&&(this.removeItem(this.generateCacheKey(u.IH.ID_TOKEN)),this.logger.verbose("Cached MSAL.js v1 id token retrieved"));const K=H||A;if(K){const ie=E.aw(K,L.W);if(ie.preferred_username)return this.logger.verbose("No SSO params used and ADAL/MSAL v1 token retrieved, setting ADAL/MSAL v1 preferred_username as loginHint"),ie.preferred_username;if(ie.upn)return this.logger.verbose("No SSO params used and ADAL/MSAL v1 token retrieved, setting ADAL/MSAL v1 upn as loginHint"),ie.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(A,H){const K=l.AZ(H);if(A!==K){const ie=this.getItem(A);if(ie)return this.removeItem(A),this.setItem(K,ie),this.logger.verbose(`Updated an outdated ${H.credentialType} cache key`),K;this.logger.error(`Attempted to update an outdated ${H.credentialType} cache key but no item matching the outdated key was found in storage`)}return A}getRedirectRequestContext(){return this.getTemporaryCache(C.zH.REDIRECT_CONTEXT,!0)}setRedirectRequestContext(A){this.setTemporaryCache(C.zH.REDIRECT_CONTEXT,A,!0)}hydrateCache(A,H){var K=this;return(0,n.c)(function*(){const ie=l.YF(A.account?.homeAccountId,A.account?.environment,A.idToken,K.clientId,A.tenantId);let J;H.claims&&(J=yield K.cryptoImpl.hashString(H.claims));const be=l.MJ(A.account?.homeAccountId,A.account.environment,A.accessToken,K.clientId,A.tenantId,A.scopes.join(" "),A.expiresOn?.getTime()||0,A.extExpiresOn?.getTime()||0,L.W,void 0,A.tokenType,void 0,H.sshKid,H.claims,J),ce=new S.O(void 0,ie,be);return K.saveCacheRecord(ce)})()}}const R=(k,A)=>new G(k,{cacheLocation:C.Ir.MemoryStorage,temporaryCacheLocation:C.Ir.MemoryStorage,storeAuthStateInCookie:!1,secureCookies:!1,cacheMigrationEnabled:!1,claimsBasedCachingEnabled:!1},y.K,A)},71720:(pe,m,s)=>{"use strict";s.d(m,{K:()=>l});var n=s(72592),c=s(26956),u=s(85288);class l{constructor(e){this.validateWindowStorage(e),this.windowStorage=window[e]}validateWindowStorage(e){if(e!==c.Ir.LocalStorage&&e!==c.Ir.SessionStorage||!window[e])throw(0,n.cf)(u.storageNotSupported)}getItem(e){return this.windowStorage.getItem(e)}setItem(e,o){this.windowStorage.setItem(e,o)}removeItem(e){this.windowStorage.removeItem(e)}getKeys(){return Object.keys(this.windowStorage)}containsKey(e){return this.windowStorage.hasOwnProperty(e)}}},61744:(pe,m,s)=>{"use strict";s.d(m,{W:()=>n});class n{constructor(){this.cache=new Map}getItem(u){return this.cache.get(u)||null}setItem(u,l){this.cache.set(u,l)}removeItem(u){this.cache.delete(u)}getKeys(){const u=[];return this.cache.forEach((l,i)=>{u.push(i)}),u}containsKey(u){return this.cache.has(u)}clear(){this.cache.clear()}}},48124:(pe,m,s)=>{"use strict";s.d(m,{Ks:()=>D,k5:()=>V});var n=s(34739),c=s(65072),u=s(67952),l=s(73364),i=s(80660),e=s(28876),o=s(71408);const d={sendGetRequestAsync:()=>Promise.reject((0,e.mQ)(o.methodNotImplemented)),sendPostRequestAsync:()=>Promise.reject((0,e.mQ)(o.methodNotImplemented))};var v=s(35128),M=s(59684),p=s(32336),E=s(26956),S=s(64952),y=s(1528),f=s(4792),C=s(32828);class _{sendGetRequestAsync(R,k){var A=this;return(0,y.c)(function*(){let H;try{H=yield fetch(R,{method:E.yI.GET,headers:A.getFetchHeaders(k)})}catch{throw window.navigator.onLine?(0,f.Wq)(C.getRequestFailed):(0,f.Wq)(C.noNetworkConnectivity)}try{return{headers:A.getHeaderDict(H.headers),body:yield H.json(),status:H.status}}catch{throw(0,f.Wq)(C.failedToParseResponse)}})()}sendPostRequestAsync(R,k){var A=this;return(0,y.c)(function*(){const H=k&&k.body||n.Mv.EMPTY_STRING;let K;try{K=yield fetch(R,{method:E.yI.POST,headers:A.getFetchHeaders(k),body:H})}catch{throw window.navigator.onLine?(0,f.Wq)(C.postRequestFailed):(0,f.Wq)(C.noNetworkConnectivity)}try{return{headers:A.getHeaderDict(K.headers),body:yield K.json(),status:K.status}}catch{throw(0,f.Wq)(C.failedToParseResponse)}})()}getFetchHeaders(R){const k=new Headers;if(!R||!R.headers)return k;const A=R.headers;return Object.keys(A).forEach(H=>{k.append(H,A[H])}),k}getHeaderDict(R){const k={};return R.forEach((A,H)=>{k[H]=A}),k}}const w=6e4,D=1e4,L=3e4,N=2e3;function V({auth:G,cache:R,system:k,telemetry:A},H){const K={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:c.g.AAD,OIDCOptions:{serverResponseType:n.eE.FRAGMENT,defaultScopes:[n.Mv.OPENID_SCOPE,n.Mv.PROFILE_SCOPE,n.Mv.OFFLINE_ACCESS_SCOPE]},azureCloudOptions:{azureCloudInstance:u.C.None,tenant:n.Mv.EMPTY_STRING},skipAuthorityMetadataCache:!1,supportsNestedAppAuth:!1},ie={cacheLocation:E.Ir.SessionStorage,temporaryCacheLocation:E.Ir.SessionStorage,storeAuthStateInCookie:!1,secureCookies:!1,cacheMigrationEnabled:!(!R||R.cacheLocation!==E.Ir.LocalStorage),claimsBasedCachingEnabled:!1},J={loggerCallback:()=>{},logLevel:l.G.Info,piiLoggingEnabled:!1},ce={...{...i.k5,loggerOptions:J,networkClient:H?new _:d,navigationClient:new S.m,loadFrameTimeout:0,windowHashTimeout:k?.loadFrameTimeout||w,iframeHashTimeout:k?.loadFrameTimeout||D,navigateFrameWait:0,redirectNavigationTimeout:L,asyncPopups:!1,allowRedirectInIframe:!1,allowNativeBroker:!1,nativeBrokerHandshakeTimeout:k?.nativeBrokerHandshakeTimeout||N,pollIntervalMilliseconds:E.ig.DEFAULT_POLL_INTERVAL_MS},...k,loggerOptions:k?.loggerOptions||J},Ge={application:{appName:n.Mv.EMPTY_STRING,appVersion:n.Mv.EMPTY_STRING},client:new v._};if(G?.protocolMode!==c.g.OIDC&&G?.OIDCOptions&&new l.Y(ce.loggerOptions).warning(JSON.stringify((0,M.QN)(p.cannotSetOIDCOptions))),G?.protocolMode&&G.protocolMode!==c.g.AAD&&ce?.allowNativeBroker)throw(0,M.QN)(p.cannotAllowNativeBroker);return{auth:{...K,...G,OIDCOptions:{...K.OIDCOptions,...G?.OIDCOptions}},cache:{...ie,...R},system:ce,telemetry:{...Ge,...A}}}},65304:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{StandardController:()=>Ir});var n=s(1528),c=s(7184),u=s(65172),l=s(25988),e=s(67648),o=s(28876),d=s(34739),v=s(74968),M=s(59684),p=s(65072),E=s(67952),f=s(85348),C=s(14035);let _=(()=>{class un{constructor(F,Q,De,me){this.networkInterface=F,this.logger=Q,this.performanceClient=De,this.correlationId=me}detectRegion(F,Q){var De=this;return(0,n.c)(function*(){De.performanceClient?.addQueueMeasurement(f.Xv.RegionDiscoveryDetectRegion,De.correlationId);let me=F;if(me)Q.region_source=d.Q$.ENVIRONMENT_VARIABLE;else{const q=un.IMDS_OPTIONS;try{const fe=yield(0,C.C)(De.getRegionFromIMDS.bind(De),f.Xv.RegionDiscoveryGetRegionFromIMDS,De.logger,De.performanceClient,De.correlationId)(d.Mv.IMDS_VERSION,q);if(fe.status===d.sL.httpSuccess&&(me=fe.body,Q.region_source=d.Q$.IMDS),fe.status===d.sL.httpBadRequest){const nt=yield(0,C.C)(De.getCurrentVersion.bind(De),f.Xv.RegionDiscoveryGetCurrentVersion,De.logger,De.performanceClient,De.correlationId)(q);if(!nt)return Q.region_source=d.Q$.FAILED_AUTO_DETECTION,null;const mt=yield(0,C.C)(De.getRegionFromIMDS.bind(De),f.Xv.RegionDiscoveryGetRegionFromIMDS,De.logger,De.performanceClient,De.correlationId)(nt,q);mt.status===d.sL.httpSuccess&&(me=mt.body,Q.region_source=d.Q$.IMDS)}}catch{return Q.region_source=d.Q$.FAILED_AUTO_DETECTION,null}}return me||(Q.region_source=d.Q$.FAILED_AUTO_DETECTION),me||null})()}getRegionFromIMDS(F,Q){var De=this;return(0,n.c)(function*(){return De.performanceClient?.addQueueMeasurement(f.Xv.RegionDiscoveryGetRegionFromIMDS,De.correlationId),De.networkInterface.sendGetRequestAsync(`${d.Mv.IMDS_ENDPOINT}?api-version=${F}&format=text`,Q,d.Mv.IMDS_TIMEOUT)})()}getCurrentVersion(F){var Q=this;return(0,n.c)(function*(){Q.performanceClient?.addQueueMeasurement(f.Xv.RegionDiscoveryGetCurrentVersion,Q.correlationId);try{const De=yield Q.networkInterface.sendGetRequestAsync(`${d.Mv.IMDS_ENDPOINT}?format=json`,F);return De.status===d.sL.httpBadRequest&&De.body&&De.body["newest-versions"]&&De.body["newest-versions"].length>0?De.body["newest-versions"][0]:null}catch{return null}})()}}return un.IMDS_OPTIONS={headers:{Metadata:"true"}},un})();var w=s(66936),D=s(72584),L=s(71408),N=s(32336);class V{constructor(x,F,Q,De,me,q,fe){this.canonicalAuthority=x,this._canonicalAuthority.validateAsUri(),this.networkInterface=F,this.cacheManager=Q,this.authorityOptions=De,this.regionDiscoveryMetadata={region_used:void 0,region_source:void 0,region_outcome:void 0},this.logger=me,this.performanceClient=fe,this.correlationId=q,this.regionDiscovery=new _(F,this.logger,this.performanceClient,this.correlationId)}getAuthorityType(x){if(x.HostNameAndPort.endsWith(d.Mv.CIAM_AUTH_URL))return l.O.Ciam;const F=x.PathSegments;if(F.length)switch(F[0].toLowerCase()){case d.Mv.ADFS:return l.O.Adfs;case d.Mv.DSTS:return l.O.Dsts}return l.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(x){this._canonicalAuthority=new e._(x),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,o.mQ)(L.endpointResolutionError)}get tokenEndpoint(){if(this.discoveryComplete())return this.replacePath(this.metadata.token_endpoint);throw(0,o.mQ)(L.endpointResolutionError)}get deviceCodeEndpoint(){if(this.discoveryComplete())return this.replacePath(this.metadata.token_endpoint.replace("/token","/devicecode"));throw(0,o.mQ)(L.endpointResolutionError)}get endSessionEndpoint(){if(this.discoveryComplete()){if(!this.metadata.end_session_endpoint)throw(0,o.mQ)(L.endSessionEndpointNotSupported);return this.replacePath(this.metadata.end_session_endpoint)}throw(0,o.mQ)(L.endpointResolutionError)}get selfSignedJwtAudience(){if(this.discoveryComplete())return this.replacePath(this.metadata.issuer);throw(0,o.mQ)(L.endpointResolutionError)}get jwksUri(){if(this.discoveryComplete())return this.replacePath(this.metadata.jwks_uri);throw(0,o.mQ)(L.endpointResolutionError)}canReplaceTenant(x){return 1===x.PathSegments.length&&!V.reservedTenantDomains.has(x.PathSegments[0])&&this.getAuthorityType(x)===l.O.Default&&this.protocolMode===p.g.AAD}replaceTenant(x){return x.replace(/{tenant}|{tenantid}/g,this.tenant)}replacePath(x){let F=x;const De=new e._(this.metadata.canonical_authority).getUrlComponents(),me=De.PathSegments;return this.canonicalAuthorityUrlComponents.PathSegments.forEach((fe,nt)=>{let mt=me[nt];if(0===nt&&this.canReplaceTenant(De)){const Et=new e._(this.metadata.authorization_endpoint).getUrlComponents().PathSegments[0];mt!==Et&&(this.logger.verbose(`Replacing tenant domain name ${mt} with id ${Et}`),mt=Et)}fe!==mt&&(F=F.replace(`/${mt}/`,`/${fe}/`))}),this.replaceTenant(F)}get defaultOpenIdConfigurationEndpoint(){const x=this.hostnameAndPort;return this.canonicalAuthority.endsWith("v2.0/")||this.authorityType===l.O.Adfs||this.protocolMode!==p.g.AAD&&!this.isAliasOfKnownMicrosoftAuthority(x)?`${this.canonicalAuthority}.well-known/openid-configuration`:`${this.canonicalAuthority}v2.0/.well-known/openid-configuration`}discoveryComplete(){return!!this.metadata}resolveEndpointsAsync(){var x=this;return(0,n.c)(function*(){x.performanceClient?.addQueueMeasurement(f.Xv.AuthorityResolveEndpointsAsync,x.correlationId);const F=x.getCurrentMetadataEntity(),Q=yield(0,C.C)(x.updateCloudDiscoveryMetadata.bind(x),f.Xv.AuthorityUpdateCloudDiscoveryMetadata,x.logger,x.performanceClient,x.correlationId)(F);x.canonicalAuthority=x.canonicalAuthority.replace(x.hostnameAndPort,F.preferred_network);const De=yield(0,C.C)(x.updateEndpointMetadata.bind(x),f.Xv.AuthorityUpdateEndpointMetadata,x.logger,x.performanceClient,x.correlationId)(F);x.updateCachedMetadata(F,Q,{source:De}),x.performanceClient?.addFields({cloudDiscoverySource:Q,authorityEndpointSource:De},x.correlationId)})()}getCurrentMetadataEntity(){let x=this.cacheManager.getAuthorityMetadataByAlias(this.hostnameAndPort);return x||(x={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,D.gv)(),jwks_uri:""}),x}updateCachedMetadata(x,F,Q){F!==d.cv.CACHE&&Q?.source!==d.cv.CACHE&&(x.expiresAt=(0,D.gv)(),x.canonical_authority=this.canonicalAuthority);const De=this.cacheManager.generateAuthorityMetadataCacheKey(x.preferred_cache);this.cacheManager.setAuthorityMetadata(De,x),this.metadata=x}updateEndpointMetadata(x){var F=this;return(0,n.c)(function*(){F.performanceClient?.addQueueMeasurement(f.Xv.AuthorityUpdateEndpointMetadata,F.correlationId);const Q=F.updateEndpointMetadataFromLocalSources(x);if(Q){if(Q.source===d.cv.HARDCODED_VALUES&&F.authorityOptions.azureRegionConfiguration?.azureRegion&&Q.metadata){const me=yield(0,C.C)(F.updateMetadataWithRegionalInformation.bind(F),f.Xv.AuthorityUpdateMetadataWithRegionalInformation,F.logger,F.performanceClient,F.correlationId)(Q.metadata);(0,D.sH)(x,me,!1),x.canonical_authority=F.canonicalAuthority}return Q.source}let De=yield(0,C.C)(F.getEndpointMetadataFromNetwork.bind(F),f.Xv.AuthorityGetEndpointMetadataFromNetwork,F.logger,F.performanceClient,F.correlationId)();if(De)return F.authorityOptions.azureRegionConfiguration?.azureRegion&&(De=yield(0,C.C)(F.updateMetadataWithRegionalInformation.bind(F),f.Xv.AuthorityUpdateMetadataWithRegionalInformation,F.logger,F.performanceClient,F.correlationId)(De)),(0,D.sH)(x,De,!0),d.cv.NETWORK;throw(0,o.mQ)(L.openIdConfigError,F.defaultOpenIdConfigurationEndpoint)})()}updateEndpointMetadataFromLocalSources(x){this.logger.verbose("Attempting to get endpoint metadata from authority configuration");const F=this.getEndpointMetadataFromConfig();if(F)return this.logger.verbose("Found endpoint metadata in authority configuration"),(0,D.sH)(x,F,!1),{source:d.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 De=this.getEndpointMetadataFromHardcodedValues();if(De)return(0,D.sH)(x,De,!1),{source:d.cv.HARDCODED_VALUES,metadata:De};this.logger.verbose("Did not find endpoint metadata in hardcoded values... Attempting to get endpoint metadata from the network metadata cache.")}const Q=(0,D.mk)(x);return this.isAuthoritySameType(x)&&x.endpointsFromNetwork&&!Q?(this.logger.verbose("Found endpoint metadata in the cache."),{source:d.cv.CACHE}):(Q&&this.logger.verbose("The metadata entity is expired."),null)}isAuthoritySameType(x){return new e._(x.canonical_authority).getUrlComponents().PathSegments.length===this.canonicalAuthorityUrlComponents.PathSegments.length}getEndpointMetadataFromConfig(){if(this.authorityOptions.authorityMetadata)try{return JSON.parse(this.authorityOptions.authorityMetadata)}catch{throw(0,M.QN)(N.invalidAuthorityMetadata)}return null}getEndpointMetadataFromNetwork(){var x=this;return(0,n.c)(function*(){x.performanceClient?.addQueueMeasurement(f.Xv.AuthorityGetEndpointMetadataFromNetwork,x.correlationId);const F={},Q=x.defaultOpenIdConfigurationEndpoint;x.logger.verbose(`Authority.getEndpointMetadataFromNetwork: attempting to retrieve OAuth endpoints from ${Q}`);try{const De=yield x.networkInterface.sendGetRequestAsync(Q,F);return function i(un){return un.hasOwnProperty("authorization_endpoint")&&un.hasOwnProperty("token_endpoint")&&un.hasOwnProperty("issuer")&&un.hasOwnProperty("jwks_uri")}(De.body)?De.body:(x.logger.verbose("Authority.getEndpointMetadataFromNetwork: could not parse response as OpenID configuration"),null)}catch(De){return x.logger.verbose(`Authority.getEndpointMetadataFromNetwork: ${De}`),null}})()}getEndpointMetadataFromHardcodedValues(){return this.hostnameAndPort in v.gB?v.gB[this.hostnameAndPort]:null}updateMetadataWithRegionalInformation(x){var F=this;return(0,n.c)(function*(){F.performanceClient?.addQueueMeasurement(f.Xv.AuthorityUpdateMetadataWithRegionalInformation,F.correlationId);const Q=F.authorityOptions.azureRegionConfiguration?.azureRegion;if(Q){if(Q!==d.Mv.AZURE_REGION_AUTO_DISCOVER_FLAG)return F.regionDiscoveryMetadata.region_outcome=d.wR.CONFIGURED_NO_AUTO_DETECTION,F.regionDiscoveryMetadata.region_used=Q,V.replaceWithRegionalInformation(x,Q);const De=yield(0,C.C)(F.regionDiscovery.detectRegion.bind(F.regionDiscovery),f.Xv.RegionDiscoveryDetectRegion,F.logger,F.performanceClient,F.correlationId)(F.authorityOptions.azureRegionConfiguration?.environmentRegion,F.regionDiscoveryMetadata);if(De)return F.regionDiscoveryMetadata.region_outcome=d.wR.AUTO_DETECTION_REQUESTED_SUCCESSFUL,F.regionDiscoveryMetadata.region_used=De,V.replaceWithRegionalInformation(x,De);F.regionDiscoveryMetadata.region_outcome=d.wR.AUTO_DETECTION_REQUESTED_FAILED}return x})()}updateCloudDiscoveryMetadata(x){var F=this;return(0,n.c)(function*(){F.performanceClient?.addQueueMeasurement(f.Xv.AuthorityUpdateCloudDiscoveryMetadata,F.correlationId);const Q=F.updateCloudDiscoveryMetadataFromLocalSources(x);if(Q)return Q;const De=yield(0,C.C)(F.getCloudDiscoveryMetadataFromNetwork.bind(F),f.Xv.AuthorityGetCloudDiscoveryMetadataFromNetwork,F.logger,F.performanceClient,F.correlationId)();if(De)return(0,D.cb)(x,De,!0),d.cv.NETWORK;throw(0,M.QN)(N.untrustedAuthority)})()}updateCloudDiscoveryMetadataFromLocalSources(x){this.logger.verbose("Attempting to get cloud discovery metadata from authority configuration"),this.logger.verbosePii(`Known Authorities: ${this.authorityOptions.knownAuthorities||d.Mv.NOT_APPLICABLE}`),this.logger.verbosePii(`Authority Metadata: ${this.authorityOptions.authorityMetadata||d.Mv.NOT_APPLICABLE}`),this.logger.verbosePii(`Canonical Authority: ${x.canonical_authority||d.Mv.NOT_APPLICABLE}`);const F=this.getCloudDiscoveryMetadataFromConfig();if(F)return this.logger.verbose("Found cloud discovery metadata in authority configuration"),(0,D.cb)(x,F,!1),d.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 De=(0,v.UD)(this.hostnameAndPort);if(De)return this.logger.verbose("Found cloud discovery metadata from hardcoded values."),(0,D.cb)(x,De,!1),d.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 Q=(0,D.mk)(x);return this.isAuthoritySameType(x)&&x.aliasesFromNetwork&&!Q?(this.logger.verbose("Found cloud discovery metadata in the cache."),d.cv.CACHE):(Q&&this.logger.verbose("The metadata entity is expired."),null)}getCloudDiscoveryMetadataFromConfig(){if(this.authorityType===l.O.Ciam)return this.logger.verbose("CIAM authorities do not support cloud discovery metadata, generate the aliases from authority host."),V.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 x=JSON.parse(this.authorityOptions.cloudDiscoveryMetadata),F=(0,v._8)(x.metadata,this.hostnameAndPort);if(this.logger.verbose("Parsed the cloud discovery metadata."),F)return this.logger.verbose("There is returnable metadata attached to the parsed cloud discovery metadata."),F;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,M.QN)(N.invalidCloudDiscoveryMetadata)}}return this.isInKnownAuthorities()?(this.logger.verbose("The host is included in knownAuthorities. Creating new cloud discovery metadata from the host."),V.createCloudDiscoveryMetadataFromHost(this.hostnameAndPort)):null}getCloudDiscoveryMetadataFromNetwork(){var x=this;return(0,n.c)(function*(){x.performanceClient?.addQueueMeasurement(f.Xv.AuthorityGetCloudDiscoveryMetadataFromNetwork,x.correlationId);const F=`${d.Mv.AAD_INSTANCE_DISCOVERY_ENDPT}${x.canonicalAuthority}oauth2/v2.0/authorize`,Q={};let De=null;try{const me=yield x.networkInterface.sendGetRequestAsync(F,Q);let q,fe;if(function S(un){return un.hasOwnProperty("tenant_discovery_endpoint")&&un.hasOwnProperty("metadata")}(me.body))q=me.body,fe=q.metadata,x.logger.verbosePii(`tenant_discovery_endpoint is: ${q.tenant_discovery_endpoint}`);else{if(!function y(un){return un.hasOwnProperty("error")&&un.hasOwnProperty("error_description")}(me.body))return x.logger.error("AAD did not return a CloudInstanceDiscoveryResponse or CloudInstanceDiscoveryErrorResponse"),null;if(x.logger.warning(`A CloudInstanceDiscoveryErrorResponse was returned. The cloud instance discovery network request's status code is: ${me.status}`),q=me.body,q.error===d.Mv.INVALID_INSTANCE)return x.logger.error("The CloudInstanceDiscoveryErrorResponse error is invalid_instance."),null;x.logger.warning(`The CloudInstanceDiscoveryErrorResponse error is ${q.error}`),x.logger.warning(`The CloudInstanceDiscoveryErrorResponse error description is ${q.error_description}`),x.logger.warning("Setting the value of the CloudInstanceDiscoveryMetadata (returned from the network) to []"),fe=[]}x.logger.verbose("Attempting to find a match between the developer's authority and the CloudInstanceDiscoveryMetadata returned from the network request."),De=(0,v._8)(fe,x.hostnameAndPort)}catch(me){return x.logger.error(me instanceof w.WM?`There was a network error while attempting to get the cloud discovery instance metadata.\nError: ${me.errorCode}\nError Description: ${me.errorMessage}`:`A non-MSALJS error was thrown while attempting to get the cloud instance discovery metadata.\nError: ${me.name}\nError Description: ${me.message}`),null}return De||(x.logger.warning("The developer's authority was not found within the CloudInstanceDiscoveryMetadata returned from the network request."),x.logger.verbose("Creating custom Authority for custom domain scenario."),De=V.createCloudDiscoveryMetadataFromHost(x.hostnameAndPort)),De})()}isInKnownAuthorities(){return this.authorityOptions.knownAuthorities.filter(F=>F&&e._.getDomainFromUrl(F).toLowerCase()===this.hostnameAndPort).length>0}static generateAuthority(x,F){let Q;return F&&F.azureCloudInstance!==E.C.None&&(Q=`${F.azureCloudInstance}/${F.tenant?F.tenant:d.Mv.DEFAULT_COMMON_TENANT}/`),Q||x}static createCloudDiscoveryMetadataFromHost(x){return{preferred_network:x,preferred_cache:x,aliases:[x]}}getPreferredCache(){if(this.discoveryComplete())return this.metadata.preferred_cache;throw(0,o.mQ)(L.endpointResolutionError)}isAlias(x){return this.metadata.aliases.indexOf(x)>-1}isAliasOfKnownMicrosoftAuthority(x){return v.IP.has(x)}static isPublicCloudAuthority(x){return d.Mv.KNOWN_PUBLIC_CLOUDS.indexOf(x)>=0}static buildRegionalAuthorityString(x,F,Q){const De=new e._(x);De.validateAsUri();const me=De.getUrlComponents();let q=`${F}.${me.HostNameAndPort}`;this.isPublicCloudAuthority(me.HostNameAndPort)&&(q=`${F}.${d.Mv.REGIONAL_AUTH_PUBLIC_CLOUD_SUFFIX}`);const fe=e._.constructAuthorityUriFromObject({...De.getUrlComponents(),HostNameAndPort:q}).urlString;return Q?`${fe}?${Q}`:fe}static replaceWithRegionalInformation(x,F){const Q={...x};return Q.authorization_endpoint=V.buildRegionalAuthorityString(Q.authorization_endpoint,F),Q.token_endpoint=V.buildRegionalAuthorityString(Q.token_endpoint,F),Q.end_session_endpoint&&(Q.end_session_endpoint=V.buildRegionalAuthorityString(Q.end_session_endpoint,F)),Q}static transformCIAMAuthority(x){let F=x;const De=new e._(x).getUrlComponents();return 0===De.PathSegments.length&&De.HostNameAndPort.endsWith(d.Mv.CIAM_AUTH_URL)&&(F=`${F}${De.HostNameAndPort.split(".")[0]}${d.Mv.AAD_TENANT_DOMAIN_SUFFIX}`),F}}function R(un){return un.endsWith(d.Mv.FORWARD_SLASH)?un:`${un}${d.Mv.FORWARD_SLASH}`}V.reservedTenantDomains=new Set(["{tenant}","{tenantid}",d.sN.COMMON,d.sN.CONSUMERS,d.sN.ORGANIZATIONS]);var A=s(53408),H=s(98416),K=s(72896),ie=s(69812),J=s(26956),be=s(84644),ce=s(28612),Ge=s(72592),ct=s(85968),Oe=s(76944);class ke{static generateThrottlingStorageKey(x){return`${d.gr.THROTTLING_PREFIX}.${JSON.stringify(x)}`}static preProcess(x,F){const Q=ke.generateThrottlingStorageKey(F),De=x.getThrottlingCache(Q);if(De){if(De.throttleTime=500&&x.status<600}static checkResponseForRetryAfter(x){return!!x.headers&&x.headers.hasOwnProperty(d.MF.RETRY_AFTER)&&(x.status<200||x.status>=300)}static calculateThrottleTime(x){const F=x<=0?0:x,Q=Date.now()/1e3;return Math.floor(1e3*Math.min(Q+(F||d.gr.DEFAULT_THROTTLE_TIME_SECONDS),Q+d.gr.DEFAULT_MAX_THROTTLE_TIME_SECONDS))}static removeThrottle(x,F,Q,De){const q=this.generateThrottlingStorageKey({clientId:F,authority:Q.authority,scopes:Q.scopes,homeAccountIdentifier:De,claims:Q.claims,authenticationScheme:Q.authenticationScheme,resourceRequestMethod:Q.resourceRequestMethod,resourceRequestUri:Q.resourceRequestUri,shrClaims:Q.shrClaims,sshKid:Q.sshKid});x.removeItem(q)}}var Re=s(86144),Qe=s(80660);class $e{constructor(x,F){this.networkClient=x,this.cacheManager=F}sendPostRequest(x,F,Q){var De=this;return(0,n.c)(function*(){let me;ke.preProcess(De.cacheManager,x);try{me=yield De.networkClient.sendPostRequestAsync(F,Q)}catch(q){throw q instanceof w.WM?q:(0,o.mQ)(L.networkError)}return ke.postProcess(De.cacheManager,x,me),me})()}}var Be=s(73364),_e=s(75205),Me=s(16256),Se=s(22045),je=s(33363);function re(un,x,F,Q,De,me,q){return we.apply(this,arguments)}function we(){return(we=(0,n.c)(function*(un,x,F,Q,De,me,q){q?.addQueueMeasurement(f.Xv.AuthorityFactoryCreateDiscoveredInstance,me);const fe=V.transformCIAMAuthority(R(un)),nt=new V(fe,x,F,Q,De,me,q);try{return yield(0,C.C)(nt.resolveEndpointsAsync.bind(nt),f.Xv.AuthorityResolveEndpointsAsync,De,q,me)(),nt}catch{throw(0,o.mQ)(L.endpointResolutionError)}})).apply(this,arguments)}class rt{constructor(x,F){this.config=(0,Qe.cJ)(x),this.logger=new Be.Y(this.config.loggerOptions,_e.N,_e.W),this.cryptoUtils=this.config.cryptoInterface,this.cacheManager=this.config.storageInterface,this.networkClient=this.config.networkInterface,this.networkManager=new $e(this.networkClient,this.cacheManager),this.serverTelemetryManager=this.config.serverTelemetryManager,this.authority=this.config.authOptions.authority,this.performanceClient=F}createTokenRequestHeaders(x){const F={};if(F[d.MF.CONTENT_TYPE]=d.Mv.URL_FORM_CONTENT_TYPE,!this.config.systemOptions.preventCorsPreflight&&x)switch(x.type){case Me.s.HOME_ACCOUNT_ID:try{const Q=(0,Se.k)(x.credential);F[d.MF.CCS_HEADER]=`Oid:${Q.uid}@${Q.utid}`}catch(Q){this.logger.verbose("Could not parse home account ID for CCS Header: "+Q)}break;case Me.s.UPN:F[d.MF.CCS_HEADER]=`UPN: ${x.credential}`}return F}executePostToTokenEndpoint(x,F,Q,De,me,q){var fe=this;return(0,n.c)(function*(){q&&fe.performanceClient?.addQueueMeasurement(q,me);const nt=yield fe.networkManager.sendPostRequest(De,x,{body:F,headers:Q});return fe.performanceClient?.addFields({refreshTokenSize:nt.body.refresh_token?.length||0,httpVerToken:nt.headers?.[d.MF.X_MS_HTTP_VERSION]||""},me),fe.config.serverTelemetryManager&&nt.status<500&&429!==nt.status&&fe.config.serverTelemetryManager.clearTelemetryCache(),nt})()}updateAuthority(x,F){var Q=this;return(0,n.c)(function*(){Q.performanceClient?.addQueueMeasurement(f.Xv.UpdateTokenEndpointAuthority,F);const De=`https://${x}/${Q.authority.tenant}/`,me=yield re(De,Q.networkClient,Q.cacheManager,Q.authority.options,Q.logger,F,Q.performanceClient);Q.authority=me})()}createTokenQueryParameters(x){const F=new je.I;return x.tokenQueryParameters&&F.addExtraQueryParameters(x.tokenQueryParameters),F.createQueryString()}}var tt=s(91076),wt=s(95248),ye=s(9488),Te=s(46392);class ht{constructor(x,F){this.cache=x,this.hasChanged=F}get cacheHasChanged(){return this.hasChanged}get tokenCache(){return this.cache}}var Ft=s(6400),nn=s(79032),Yt=s(60928);class Zt{constructor(x,F,Q,De,me,q,fe){this.clientId=x,this.cacheStorage=F,this.cryptoObj=Q,this.logger=De,this.serializableCache=me,this.persistencePlugin=q,this.performanceClient=fe}validateServerAuthorizationCodeResponse(x,F){if(!x.state||!F)throw(0,o.mQ)(L.stateNotFound,x.state?"Cached State":"Server State");let Q,De;try{Q=decodeURIComponent(x.state)}catch{throw(0,o.mQ)(L.invalidState,x.state)}try{De=decodeURIComponent(F)}catch{throw(0,o.mQ)(L.invalidState,x.state)}if(Q!==De)throw(0,o.mQ)(L.stateMismatch);if(x.error||x.error_description||x.suberror)throw(0,A.aq)(x.error,x.error_description,x.suberror)?new A.uw(x.error||"",x.error_description,x.suberror,x.timestamp||"",x.trace_id||"",x.correlation_id||"",x.claims||""):new Oe.s(x.error||"",x.error_description,x.suberror)}validateTokenResponse(x,F){if(x.error||x.error_description||x.suberror){const De=new Oe.s(x.error,`${x.error_codes} - [${x.timestamp}]: ${x.error_description} - Correlation ID: ${x.correlation_id} - Trace ID: ${x.trace_id}`,x.suberror);if(F&&x.status&&x.status>=d.Q3.SERVER_ERROR_RANGE_START&&x.status<=d.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${De}`);if(F&&x.status&&x.status>=d.Q3.CLIENT_ERROR_RANGE_START&&x.status<=d.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${De}`);throw(0,A.aq)(x.error,x.error_description,x.suberror)?new A.uw(x.error,x.error_description,x.suberror,x.timestamp||d.Mv.EMPTY_STRING,x.trace_id||d.Mv.EMPTY_STRING,x.correlation_id||d.Mv.EMPTY_STRING,x.claims||d.Mv.EMPTY_STRING):De}}handleServerTokenResponse(x,F,Q,De,me,q,fe,nt,mt){var Et=this;return(0,n.c)(function*(){let Ut,tn;if(Et.performanceClient?.addQueueMeasurement(f.Xv.HandleServerTokenResponse,x.correlation_id),x.id_token){if(Ut=(0,Ft.aw)(x.id_token||d.Mv.EMPTY_STRING,Et.cryptoObj.base64Decode),me&&me.nonce&&Ut.nonce!==me.nonce)throw(0,o.mQ)(L.nonceMismatch);if(De.maxAge||0===De.maxAge){const bn=Ut.auth_time;if(!bn)throw(0,o.mQ)(L.authTimeNotFound);(0,Ft.UH)(bn,De.maxAge)}}Et.homeAccountIdentifier=H.M.generateHomeAccountId(x.client_info||d.Mv.EMPTY_STRING,F.authorityType,Et.logger,Et.cryptoObj,Ut),me&&me.state&&(tn=Re.c.parseRequestState(Et.cryptoObj,me.state)),x.key_id=x.key_id||De.sshKid||void 0;const pn=Et.generateCacheRecord(x,F,Q,De,Ut,q,me);let vn;try{if(Et.persistencePlugin&&Et.serializableCache&&(Et.logger.verbose("Persistence enabled, calling beforeCacheAccess"),vn=new ht(Et.serializableCache,!0),yield Et.persistencePlugin.beforeCacheAccess(vn)),fe&&!nt&&pn.account){const bn=pn.account.generateAccountKey();if(!Et.cacheStorage.getAccount(bn,Et.logger))return Et.logger.warning("Account used to refresh tokens not in persistence, refreshed tokens will not be stored in the cache"),yield Zt.generateAuthenticationResult(Et.cryptoObj,F,pn,!1,De,Ut,tn,void 0,mt)}yield Et.cacheStorage.saveCacheRecord(pn,De.storeInCache)}finally{Et.persistencePlugin&&Et.serializableCache&&vn&&(Et.logger.verbose("Persistence enabled, calling afterCacheAccess"),yield Et.persistencePlugin.afterCacheAccess(vn))}return Zt.generateAuthenticationResult(Et.cryptoObj,F,pn,!1,De,Ut,tn,x,mt)})()}generateCacheRecord(x,F,Q,De,me,q,fe){const nt=F.getPreferredCache();if(!nt)throw(0,o.mQ)(L.invalidCacheEnvironment);const mt=(0,nn.c)(me);let Et,Ut;x.id_token&&me&&(Et=(0,D.YF)(this.homeAccountIdentifier,nt,x.id_token,this.clientId,mt||""),Ut=Mn(this.cacheStorage,F,this.homeAccountIdentifier,me,this.cryptoObj.base64Decode,x.client_info,nt,mt,fe,void 0,this.logger));let tn=null;if(x.access_token){const bn=x.scope?wt.k.fromString(x.scope):new wt.k(De.scopes||[]),fn=("string"==typeof x.expires_in?parseInt(x.expires_in,10):x.expires_in)||0,In=("string"==typeof x.ext_expires_in?parseInt(x.ext_expires_in,10):x.ext_expires_in)||0,Bn=("string"==typeof x.refresh_in?parseInt(x.refresh_in,10):x.refresh_in)||void 0,_r=Q+fn,hr=_r+In,Lr=Bn&&Bn>0?Q+Bn:void 0;tn=(0,D.MJ)(this.homeAccountIdentifier,nt,x.access_token,this.clientId,mt||F.tenant||"",bn.printScopes(),_r,hr,this.cryptoObj.base64Decode,Lr,x.token_type,q,x.key_id,De.claims,De.requestedClaimsHash)}let pn=null;if(x.refresh_token){let bn;x.refresh_token_expires_in&&(bn=Q+("string"==typeof x.refresh_token_expires_in?parseInt(x.refresh_token_expires_in,10):x.refresh_token_expires_in)),pn=(0,D._c)(this.homeAccountIdentifier,nt,x.refresh_token,this.clientId,x.foci,q,bn)}let vn=null;return x.foci&&(vn={clientId:this.clientId,environment:nt,familyId:x.foci}),new ye.O(Ut,Et,tn,pn,vn)}static generateAuthenticationResult(x,F,Q,De,me,q,fe,nt,mt){return(0,n.c)(function*(){let pn,vn,Et=d.Mv.EMPTY_STRING,Ut=[],tn=null,bn=d.Mv.EMPTY_STRING;if(Q.accessToken){if(Q.accessToken.tokenType===d.me.POP){const _r=new Te.w(x),{secret:hr,keyId:Lr}=Q.accessToken;if(!Lr)throw(0,o.mQ)(L.keyIdMissing);Et=yield _r.signPopToken(hr,Lr,me)}else Et=Q.accessToken.secret;Ut=wt.k.fromString(Q.accessToken.target).asArray(),tn=new Date(1e3*Number(Q.accessToken.expiresOn)),pn=new Date(1e3*Number(Q.accessToken.extendedExpiresOn)),Q.accessToken.refreshOn&&(vn=new Date(1e3*Number(Q.accessToken.refreshOn)))}Q.appMetadata&&(bn=Q.appMetadata.familyId===d.wj?d.wj:"");const fn=q?.oid||q?.sub||"",In=q?.tid||"";nt?.spa_accountid&&Q.account&&(Q.account.nativeAccountId=nt?.spa_accountid);const Bn=Q.account?(0,Yt.Ho)(Q.account.getAccountInfo(),void 0,q,Q.idToken?.secret):null;return{authority:F.canonicalAuthority,uniqueId:fn,tenantId:In,scopes:Ut,account:Bn,idToken:Q?.idToken?.secret||"",idTokenClaims:q||{},accessToken:Et,fromCache:De,expiresOn:tn,extExpiresOn:pn,refreshOn:vn,correlationId:me.correlationId,requestId:mt||d.Mv.EMPTY_STRING,familyId:bn,tokenType:Q.accessToken?.tokenType||d.Mv.EMPTY_STRING,state:fe?fe.userRequestState:d.Mv.EMPTY_STRING,cloudGraphHostName:Q.account?.cloudGraphHostName||d.Mv.EMPTY_STRING,msGraphHost:Q.account?.msGraphHost||d.Mv.EMPTY_STRING,code:nt?.spa_code,fromNativeBroker:!1}})()}}function Mn(un,x,F,Q,De,me,q,fe,nt,mt,Et){Et?.verbose("setCachedAccount called");const tn=un.getAccountKeys().find(fn=>fn.startsWith(F));let pn=null;tn&&(pn=un.getAccount(tn,Et));const vn=pn||H.M.createAccount({homeAccountId:F,idTokenClaims:Q,clientInfo:me,environment:q,cloudGraphHostName:nt?.cloud_graph_host_name,msGraphHost:nt?.msgraph_host,nativeAccountId:mt},x,De),bn=vn.tenantProfiles||[];if(fe&&!bn.find(fn=>fn.tenantId===fe)){const fn=(0,Yt.EJ)(F,Q);bn.push(fn)}return vn.tenantProfiles=bn,vn}var Un=s(7828),zt=s(50160),Hn=s(77768);class kn extends rt{constructor(x,F){super(x,F),this.includeRedirectUri=!0,this.oidcDefaultScopes=this.config.authOptions.authority.options.OIDCOptions?.defaultScopes}getAuthCodeUrl(x){var F=this;return(0,n.c)(function*(){F.performanceClient?.addQueueMeasurement(f.Xv.GetAuthCodeUrl,x.correlationId);const Q=yield(0,C.C)(F.createAuthCodeUrlQueryString.bind(F),f.Xv.AuthClientCreateQueryString,F.logger,F.performanceClient,x.correlationId)(x);return e._.appendQueryString(F.authority.authorizationEndpoint,Q)})()}acquireToken(x,F){var Q=this;return(0,n.c)(function*(){if(Q.performanceClient?.addQueueMeasurement(f.Xv.AuthClientAcquireToken,x.correlationId),!x.code)throw(0,o.mQ)(L.requestCannotBeMade);const De=(0,zt.GO)(),me=yield(0,C.C)(Q.executeTokenRequest.bind(Q),f.Xv.AuthClientExecuteTokenRequest,Q.logger,Q.performanceClient,x.correlationId)(Q.authority,x),q=me.headers?.[d.MF.X_MS_REQUEST_ID],fe=new Zt(Q.config.authOptions.clientId,Q.cacheManager,Q.cryptoUtils,Q.logger,Q.config.serializableCache,Q.config.persistencePlugin,Q.performanceClient);return fe.validateTokenResponse(me.body),(0,C.C)(fe.handleServerTokenResponse.bind(fe),f.Xv.HandleServerTokenResponse,Q.logger,Q.performanceClient,x.correlationId)(me.body,Q.authority,De,x,F,void 0,void 0,void 0,q)})()}handleFragmentResponse(x,F){if(new Zt(this.config.authOptions.clientId,this.cacheManager,this.cryptoUtils,this.logger,null,null).validateServerAuthorizationCodeResponse(x,F),!x.code)throw(0,o.mQ)(L.authorizationCodeMissingFromServerResponse);return x}getLogoutUri(x){if(!x)throw(0,M.QN)(N.logoutRequestEmpty);const F=this.createLogoutUrlQueryString(x);return e._.appendQueryString(this.authority.endSessionEndpoint,F)}executeTokenRequest(x,F){var Q=this;return(0,n.c)(function*(){Q.performanceClient?.addQueueMeasurement(f.Xv.AuthClientExecuteTokenRequest,F.correlationId);const De=Q.createTokenQueryParameters(F),me=e._.appendQueryString(x.tokenEndpoint,De),q=yield(0,C.C)(Q.createTokenRequestBody.bind(Q),f.Xv.AuthClientCreateTokenRequestBody,Q.logger,Q.performanceClient,F.correlationId)(F);let fe;if(F.clientInfo)try{const Et=(0,Se.G)(F.clientInfo,Q.cryptoUtils.base64Decode);fe={credential:`${Et.uid}${d.Mj.CLIENT_INFO_SEPARATOR}${Et.utid}`,type:Me.s.HOME_ACCOUNT_ID}}catch(Et){Q.logger.verbose("Could not parse client info for CCS Header: "+Et)}const nt=Q.createTokenRequestHeaders(fe||F.ccsCredential),mt={clientId:F.tokenBodyParameters?.clientId||Q.config.authOptions.clientId,authority:x.canonicalAuthority,scopes:F.scopes,claims:F.claims,authenticationScheme:F.authenticationScheme,resourceRequestMethod:F.resourceRequestMethod,resourceRequestUri:F.resourceRequestUri,shrClaims:F.shrClaims,sshKid:F.sshKid};return(0,C.C)(Q.executePostToTokenEndpoint.bind(Q),f.Xv.AuthorizationCodeClientExecutePostToTokenEndpoint,Q.logger,Q.performanceClient,F.correlationId)(me,q,nt,mt,F.correlationId,f.Xv.AuthorizationCodeClientExecutePostToTokenEndpoint)})()}createTokenRequestBody(x){var F=this;return(0,n.c)(function*(){F.performanceClient?.addQueueMeasurement(f.Xv.AuthClientCreateTokenRequestBody,x.correlationId);const Q=new je.I;if(Q.addClientId(x.tokenBodyParameters?.[tt._k]||F.config.authOptions.clientId),F.includeRedirectUri?Q.addRedirectUri(x.redirectUri):Hn.e.validateRedirectUri(x.redirectUri),Q.addScopes(x.scopes,!0,F.oidcDefaultScopes),Q.addAuthorizationCode(x.code),Q.addLibraryInfo(F.config.libraryInfo),Q.addApplicationTelemetry(F.config.telemetry.application),Q.addThrottling(),F.serverTelemetryManager&&!(0,Qe.qW)(F.config)&&Q.addServerTelemetry(F.serverTelemetryManager),x.codeVerifier&&Q.addCodeVerifier(x.codeVerifier),F.config.clientCredentials.clientSecret&&Q.addClientSecret(F.config.clientCredentials.clientSecret),F.config.clientCredentials.clientAssertion){const q=F.config.clientCredentials.clientAssertion;Q.addClientAssertion(q.assertion),Q.addClientAssertionType(q.assertionType)}if(Q.addGrantType(d.Ku.AUTHORIZATION_CODE_GRANT),Q.addClientInfo(),x.authenticationScheme===d.me.POP){const q=new Te.w(F.cryptoUtils,F.performanceClient),fe=yield(0,C.C)(q.generateCnf.bind(q),f.Xv.PopTokenGenerateCnf,F.logger,F.performanceClient,x.correlationId)(x,F.logger);Q.addPopToken(fe.reqCnfString)}else if(x.authenticationScheme===d.me.SSH){if(!x.sshJwk)throw(0,M.QN)(N.missingSshJwk);Q.addSshJwk(x.sshJwk)}const De=x.correlationId||F.config.cryptoInterface.createNewGuid();let me;if(Q.addCorrelationId(De),(!Un.e.isEmptyObj(x.claims)||F.config.authOptions.clientCapabilities&&F.config.authOptions.clientCapabilities.length>0)&&Q.addClaims(x.claims,F.config.authOptions.clientCapabilities),x.clientInfo)try{const q=(0,Se.G)(x.clientInfo,F.cryptoUtils.base64Decode);me={credential:`${q.uid}${d.Mj.CLIENT_INFO_SEPARATOR}${q.utid}`,type:Me.s.HOME_ACCOUNT_ID}}catch(q){F.logger.verbose("Could not parse client info for CCS Header: "+q)}else me=x.ccsCredential;if(F.config.systemOptions.preventCorsPreflight&&me)switch(me.type){case Me.s.HOME_ACCOUNT_ID:try{const q=(0,Se.k)(me.credential);Q.addCcsOid(q)}catch(q){F.logger.verbose("Could not parse home account ID for CCS Header: "+q)}break;case Me.s.UPN:Q.addCcsUpn(me.credential)}return x.tokenBodyParameters&&Q.addExtraQueryParameters(x.tokenBodyParameters),x.enableSpaAuthorizationCode&&(!x.tokenBodyParameters||!x.tokenBodyParameters[tt.SS])&&Q.addExtraQueryParameters({[tt.SS]:"1"}),Q.createQueryString()})()}createAuthCodeUrlQueryString(x){var F=this;return(0,n.c)(function*(){F.performanceClient?.addQueueMeasurement(f.Xv.AuthClientCreateQueryString,x.correlationId);const Q=new je.I;Q.addClientId(x.extraQueryParameters?.[tt._k]||F.config.authOptions.clientId);const De=[...x.scopes||[],...x.extraScopesToConsent||[]];Q.addScopes(De,!0,F.oidcDefaultScopes),Q.addRedirectUri(x.redirectUri);const me=x.correlationId||F.config.cryptoInterface.createNewGuid();if(Q.addCorrelationId(me),Q.addResponseMode(x.responseMode),Q.addResponseTypeCode(),Q.addLibraryInfo(F.config.libraryInfo),(0,Qe.qW)(F.config)||Q.addApplicationTelemetry(F.config.telemetry.application),Q.addClientInfo(),x.codeChallenge&&x.codeChallengeMethod&&Q.addCodeChallengeParams(x.codeChallenge,x.codeChallengeMethod),x.prompt&&Q.addPrompt(x.prompt),x.domainHint&&Q.addDomainHint(x.domainHint),x.prompt!==d.GI.SELECT_ACCOUNT)if(x.sid&&x.prompt===d.GI.NONE)F.logger.verbose("createAuthCodeUrlQueryString: Prompt is none, adding sid from request"),Q.addSid(x.sid);else if(x.account){const q=F.extractAccountSid(x.account),fe=F.extractLoginHint(x.account);if(fe){F.logger.verbose("createAuthCodeUrlQueryString: login_hint claim present on account"),Q.addLoginHint(fe);try{const nt=(0,Se.k)(x.account.homeAccountId);Q.addCcsOid(nt)}catch{F.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header")}}else if(q&&x.prompt===d.GI.NONE){F.logger.verbose("createAuthCodeUrlQueryString: Prompt is none, adding sid from account"),Q.addSid(q);try{const nt=(0,Se.k)(x.account.homeAccountId);Q.addCcsOid(nt)}catch{F.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header")}}else if(x.loginHint)F.logger.verbose("createAuthCodeUrlQueryString: Adding login_hint from request"),Q.addLoginHint(x.loginHint),Q.addCcsUpn(x.loginHint);else if(x.account.username){F.logger.verbose("createAuthCodeUrlQueryString: Adding login_hint from account"),Q.addLoginHint(x.account.username);try{const nt=(0,Se.k)(x.account.homeAccountId);Q.addCcsOid(nt)}catch{F.logger.verbose("createAuthCodeUrlQueryString: Could not parse home account ID for CCS Header")}}}else x.loginHint&&(F.logger.verbose("createAuthCodeUrlQueryString: No account, adding login_hint from request"),Q.addLoginHint(x.loginHint),Q.addCcsUpn(x.loginHint));else F.logger.verbose("createAuthCodeUrlQueryString: Prompt is select_account, ignoring account hints");if(x.nonce&&Q.addNonce(x.nonce),x.state&&Q.addState(x.state),(x.claims||F.config.authOptions.clientCapabilities&&F.config.authOptions.clientCapabilities.length>0)&&Q.addClaims(x.claims,F.config.authOptions.clientCapabilities),x.extraQueryParameters&&Q.addExtraQueryParameters(x.extraQueryParameters),x.nativeBroker&&(Q.addNativeBroker(),x.authenticationScheme===d.me.POP)){const q=new Te.w(F.cryptoUtils),fe=yield(0,C.C)(q.generateCnf.bind(q),f.Xv.PopTokenGenerateCnf,F.logger,F.performanceClient,x.correlationId)(x,F.logger);Q.addPopToken(fe.reqCnfHash)}return Q.createQueryString()})()}createLogoutUrlQueryString(x){const F=new je.I;return x.postLogoutRedirectUri&&F.addPostLogoutRedirectUri(x.postLogoutRedirectUri),x.correlationId&&F.addCorrelationId(x.correlationId),x.idTokenHint&&F.addIdTokenHint(x.idTokenHint),x.state&&F.addState(x.state),x.logoutHint&&F.addLogoutHint(x.logoutHint),x.extraQueryParameters&&F.addExtraQueryParameters(x.extraQueryParameters),F.createQueryString()}extractAccountSid(x){return x.idTokenClaims?.sid||null}extractLoginHint(x){return x.idTokenClaims?.login_hint||null}}class ln{constructor(x,F){this.cacheOutcome=d.Mf.NOT_APPLICABLE,this.cacheManager=F,this.apiId=x.apiId,this.correlationId=x.correlationId,this.wrapperSKU=x.wrapperSKU||d.Mv.EMPTY_STRING,this.wrapperVer=x.wrapperVer||d.Mv.EMPTY_STRING,this.telemetryCacheKey=d.ic.CACHE_KEY+d.Mj.CACHE_KEY_SEPARATOR+x.clientId}generateCurrentRequestHeaderValue(){const x=`${this.apiId}${d.ic.VALUE_SEPARATOR}${this.cacheOutcome}`,F=[this.wrapperSKU,this.wrapperVer].join(d.ic.VALUE_SEPARATOR),De=[x,this.getRegionDiscoveryFields()].join(d.ic.VALUE_SEPARATOR);return[d.ic.SCHEMA_VERSION,De,F].join(d.ic.CATEGORY_SEPARATOR)}generateLastRequestHeaderValue(){const x=this.getLastRequests(),F=ln.maxErrorsToSend(x),Q=x.failedRequests.slice(0,2*F).join(d.ic.VALUE_SEPARATOR),De=x.errors.slice(0,F).join(d.ic.VALUE_SEPARATOR),me=x.errors.length,fe=[me,F=d.ic.MAX_CACHED_ERRORS&&(F.failedRequests.shift(),F.failedRequests.shift(),F.errors.shift()),F.failedRequests.push(this.apiId,this.correlationId),x instanceof Error&&x&&x.toString()?F.errors.push(x instanceof w.WM?x.subError?x.subError:x.errorCode?x.errorCode:x.toString():x.toString()):F.errors.push(d.ic.UNKNOWN_ERROR),this.cacheManager.setServerTelemetry(this.telemetryCacheKey,F)}incrementCacheHits(){const x=this.getLastRequests();return x.cacheHits+=1,this.cacheManager.setServerTelemetry(this.telemetryCacheKey,x),x.cacheHits}getLastRequests(){return this.cacheManager.getServerTelemetry(this.telemetryCacheKey)||{failedRequests:[],errors:[],cacheHits:0}}clearTelemetryCache(){const x=this.getLastRequests(),F=ln.maxErrorsToSend(x);if(F===x.errors.length)this.cacheManager.removeItem(this.telemetryCacheKey);else{const De={failedRequests:x.failedRequests.slice(2*F),errors:x.errors.slice(F),cacheHits:0};this.cacheManager.setServerTelemetry(this.telemetryCacheKey,De)}}static maxErrorsToSend(x){let F,Q=0,De=0;const me=x.errors.length;for(F=0;F0)&&De.addClaims(x.claims,F.config.authOptions.clientCapabilities),F.config.systemOptions.preventCorsPreflight&&x.ccsCredential)switch(x.ccsCredential.type){case Me.s.HOME_ACCOUNT_ID:try{const me=(0,Se.k)(x.ccsCredential.credential);De.addCcsOid(me)}catch(me){F.logger.verbose("Could not parse home account ID for CCS Header: "+me)}break;case Me.s.UPN:De.addCcsUpn(x.ccsCredential.credential)}return x.tokenBodyParameters&&De.addExtraQueryParameters(x.tokenBodyParameters),De.createQueryString()})()}}class xe extends rt{constructor(x,F){super(x,F)}acquireToken(x){var F=this;return(0,n.c)(function*(){try{const[Q,De]=yield F.acquireCachedToken(x);return De===d.Mf.PROACTIVELY_REFRESHED&&(F.logger.info("SilentFlowClient:acquireCachedToken - Cached access token's refreshOn property has been exceeded'. It's not expired, but must be refreshed."),new Sn(F.config,F.performanceClient).acquireTokenByRefreshToken(x).catch(()=>{})),Q}catch(Q){if(Q instanceof o.oJ&&Q.errorCode===L.tokenRefreshRequired)return new Sn(F.config,F.performanceClient).acquireTokenByRefreshToken(x);throw Q}})()}acquireCachedToken(x){var F=this;return(0,n.c)(function*(){F.performanceClient?.addQueueMeasurement(f.Xv.SilentFlowClientAcquireCachedToken,x.correlationId);let Q=d.Mf.NOT_APPLICABLE;if(x.forceRefresh||!F.config.cacheOptions.claimsBasedCachingEnabled&&!Un.e.isEmptyObj(x.claims))throw F.setCacheOutcome(d.Mf.FORCE_REFRESH_OR_CLAIMS,x.correlationId),(0,o.mQ)(L.tokenRefreshRequired);if(!x.account)throw(0,o.mQ)(L.noAccountInSilentRequest);const De=x.account.tenantId||function G(un){const Q=new e._(un).getUrlComponents().PathSegments.slice(-1)[0]?.toLowerCase();switch(Q){case d.sN.COMMON:case d.sN.ORGANIZATIONS:case d.sN.CONSUMERS:return;default:return Q}}(x.authority),me=F.cacheManager.getTokenKeys(),q=F.cacheManager.getAccessToken(x.account,x,me,De,F.performanceClient,x.correlationId);if(!q)throw F.setCacheOutcome(d.Mf.NO_CACHED_ACCESS_TOKEN,x.correlationId),(0,o.mQ)(L.tokenRefreshRequired);if((0,zt.G4)(q.cachedAt)||(0,zt.WY)(q.expiresOn,F.config.systemOptions.tokenRenewalOffsetSeconds))throw F.setCacheOutcome(d.Mf.CACHED_ACCESS_TOKEN_EXPIRED,x.correlationId),(0,o.mQ)(L.tokenRefreshRequired);q.refreshOn&&(0,zt.WY)(q.refreshOn,0)&&(Q=d.Mf.PROACTIVELY_REFRESHED);const fe=x.authority||F.authority.getPreferredCache(),nt={account:F.cacheManager.readAccountFromCache(x.account),accessToken:q,idToken:F.cacheManager.getIdToken(x.account,me,De,F.performanceClient,x.correlationId),refreshToken:null,appMetadata:F.cacheManager.readAppMetadataFromCache(fe)};return F.setCacheOutcome(Q,x.correlationId),F.config.serverTelemetryManager&&F.config.serverTelemetryManager.incrementCacheHits(),[yield(0,C.C)(F.generateResultFromCacheRecord.bind(F),f.Xv.SilentFlowClientGenerateResultFromCacheRecord,F.logger,F.performanceClient,x.correlationId)(nt,x),Q]})()}setCacheOutcome(x,F){this.serverTelemetryManager?.setCacheOutcome(x),this.performanceClient?.addFields({cacheOutcome:x},F),x!==d.Mf.NOT_APPLICABLE&&this.logger.info(`Token refresh is required due to cache outcome: ${x}`)}generateResultFromCacheRecord(x,F){var Q=this;return(0,n.c)(function*(){let De;if(Q.performanceClient?.addQueueMeasurement(f.Xv.SilentFlowClientGenerateResultFromCacheRecord,F.correlationId),x.idToken&&(De=(0,Ft.aw)(x.idToken.secret,Q.config.cryptoInterface.base64Decode)),F.maxAge||0===F.maxAge){const me=De?.auth_time;if(!me)throw(0,o.mQ)(L.authTimeNotFound);(0,Ft.UH)(me,F.maxAge)}return Zt.generateAuthenticationResult(Q.cryptoUtils,Q.authority,x,!0,F,De)})()}}class _t extends or{acquireToken(x){var F=this;return(0,n.c)(function*(){F.performanceClient.addQueueMeasurement(f.Xv.SilentCacheClientAcquireToken,x.correlationId);const Q=F.initializeServerTelemetryManager(J.Ed.acquireTokenSilent_silentFlow),De=yield F.createSilentFlowClient(Q,x.authority,x.azureCloudOptions,x.account);F.logger.verbose("Silent auth client created");try{const q=(yield(0,C.C)(De.acquireCachedToken.bind(De),f.Xv.SilentFlowClientAcquireCachedToken,F.logger,F.performanceClient,x.correlationId)(x))[0];return F.performanceClient.addFields({fromCache:!0},x.correlationId),q}catch(me){throw me instanceof he.G&&me.errorCode===ze.cryptoKeyNotFound&&F.logger.verbose("Signing keypair for bound access token not found. Refreshing bound access token and generating a new crypto keypair."),me}})()}logout(x){this.logger.verbose("logoutRedirect called");const F=this.initializeLogoutRequest(x);return this.clearCacheOnLogout(F?.account)}createSilentFlowClient(x,F,Q,De){var me=this;return(0,n.c)(function*(){const q=yield(0,C.C)(me.getClientConfiguration.bind(me),f.Xv.StandardInteractionClientGetClientConfiguration,me.logger,me.performanceClient,me.correlationId)(x,F,Q,De);return new xe(q,me.performanceClient)})()}initializeSilentRequest(x,F){var Q=this;return(0,n.c)(function*(){Q.performanceClient.addQueueMeasurement(f.Xv.InitializeSilentRequest,Q.correlationId);const De=yield(0,C.C)(Q.initializeBaseRequest.bind(Q),f.Xv.InitializeBaseRequest,Q.logger,Q.performanceClient,Q.correlationId)(x);return{...x,...De,account:F,forceRefresh:x.forceRefresh||!1}})()}}var Pt=s(55084);class ar extends le{constructor(x,F,Q,De,me,q,fe,nt,mt,Et,Ut,tn){super(x,F,Q,De,me,q,nt,mt,tn),this.apiId=fe,this.accountId=Et,this.nativeMessageHandler=mt,this.nativeStorageManager=Ut,this.silentCacheClient=new _t(x,this.nativeStorageManager,Q,De,me,q,nt,mt,tn)}acquireToken(x){var F=this;return(0,n.c)(function*(){F.performanceClient.addQueueMeasurement(f.Xv.NativeInteractionClientAcquireToken,x.correlationId),F.logger.trace("NativeInteractionClient - acquireToken called.");const Q=F.performanceClient.startMeasurement(f.Xv.NativeInteractionClientAcquireToken,x.correlationId),De=zt.GO(),me=yield F.initializeNativeRequest(x);try{const mt=yield F.acquireTokensFromCache(F.accountId,me);return Q.end({success:!0,isNativeBroker:!1,fromCache:!0}),mt}catch{F.logger.info("MSAL internal Cache does not contain tokens, proceed to make a native call")}const q={method:J.Ce.GetToken,request:me},fe=yield F.nativeMessageHandler.sendMessage(q),nt=F.validateNativeResponse(fe);return F.handleNativeResponse(nt,me,De).then(mt=>(Q.end({success:!0,isNativeBroker:!0,requestId:mt.requestId}),mt)).catch(mt=>{throw Q.end({success:!1,errorCode:mt.errorCode,subErrorCode:mt.subError,isNativeBroker:!0}),mt})})()}createSilentCacheRequest(x,F){return{authority:x.authority,correlationId:this.correlationId,scopes:wt.k.fromString(x.scope).asArray(),account:F,forceRefresh:!1}}acquireTokensFromCache(x,F){var Q=this;return(0,n.c)(function*(){if(!x)throw Q.logger.warning("NativeInteractionClient:acquireTokensFromCache - No nativeAccountId provided"),(0,o.mQ)(L.noAccountFound);const De=Q.browserStorage.getBaseAccountInfo({nativeAccountId:x});if(!De)throw(0,o.mQ)(L.noAccountFound);try{const me=Q.createSilentCacheRequest(F,De),q=yield Q.silentCacheClient.acquireToken(me),fe={...De,idTokenClaims:q?.idTokenClaims,idToken:q?.idToken};return{...q,account:fe}}catch(me){throw me}})()}acquireTokenRedirect(x){var F=this;return(0,n.c)(function*(){F.logger.trace("NativeInteractionClient - acquireTokenRedirect called.");const Q=yield F.initializeNativeRequest(x),De={method:J.Ce.GetToken,request:Q};try{const fe=yield F.nativeMessageHandler.sendMessage(De);F.validateNativeResponse(fe)}catch(fe){if(fe instanceof pt&&an(fe))throw fe}F.browserStorage.setTemporaryCache(J.zH.NATIVE_REQUEST,JSON.stringify(Q),!0);const me={apiId:J.Ed.acquireTokenRedirect,timeout:F.config.system.redirectNavigationTimeout,noHistory:!1},q=F.config.auth.navigateToLoginRequestUrl?window.location.href:F.getRedirectUri(x.redirectUri);yield F.navigationClient.navigateExternal(q,me)})()}handleRedirectPromise(x,F){var Q=this;return(0,n.c)(function*(){if(Q.logger.trace("NativeInteractionClient - handleRedirectPromise called."),!Q.browserStorage.isInteractionInProgress(!0))return Q.logger.info("handleRedirectPromise called but there is no interaction in progress, returning null."),null;const De=Q.browserStorage.getCachedNativeRequest();if(!De)return Q.logger.verbose("NativeInteractionClient - handleRedirectPromise called but there is no cached request, returning null."),x&&F&&x?.addFields({errorCode:"no_cached_request"},F),null;const{prompt:me,...q}=De;me&&Q.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."),Q.browserStorage.removeItem(Q.browserStorage.generateCacheKey(J.zH.NATIVE_REQUEST));const fe={method:J.Ce.GetToken,request:q},nt=zt.GO();try{Q.logger.verbose("NativeInteractionClient - handleRedirectPromise sending message to native broker.");const mt=yield Q.nativeMessageHandler.sendMessage(fe);Q.validateNativeResponse(mt);const Et=Q.handleNativeResponse(mt,q,nt);return Q.browserStorage.setInteractionInProgress(!1),yield Et}catch(mt){throw Q.browserStorage.setInteractionInProgress(!1),mt}})()}logout(){return this.logger.trace("NativeInteractionClient - logout called."),Promise.reject("Logout not implemented yet")}handleNativeResponse(x,F,Q){var De=this;return(0,n.c)(function*(){De.logger.trace("NativeInteractionClient - handleNativeResponse called.");const me=Ft.aw(x.id_token,Pt.W),q=De.createHomeAccountIdentifier(x,me),fe=De.browserStorage.getAccountInfoFilteredBy({nativeAccountId:F.accountId})?.homeAccountId;if(q!==fe&&x.account.id!==F.accountId)throw Ln(jr);const nt=yield De.getDiscoveredAuthority(F.authority),mt=Mn(De.browserStorage,nt,q,me,Pt.W,x.client_info,void 0,me.tid,void 0,x.account.id,De.logger),Et=yield De.generateAuthenticationResult(x,F,me,mt,nt.canonicalAuthority,Q);return De.cacheAccount(mt),De.cacheNativeTokens(x,F,q,me,Et.accessToken,Et.tenantId,Q),Et})()}createHomeAccountIdentifier(x,F){return H.M.generateHomeAccountId(x.client_info||d.Mv.EMPTY_STRING,l.O.Default,this.logger,this.browserCrypto,F)}generateScopes(x,F){return wt.k.fromString(x.scope?x.scope:F.scope)}generatePopAccessToken(x,F){var Q=this;return(0,n.c)(function*(){if(F.tokenType===d.me.POP){if(x.shr)return Q.logger.trace("handleNativeServerResponse: SHR is enabled in native layer"),x.shr;const De=new Te.w(Q.browserCrypto),me={resourceRequestMethod:F.resourceRequestMethod,resourceRequestUri:F.resourceRequestUri,shrClaims:F.shrClaims,shrNonce:F.shrNonce};if(!F.keyId)throw(0,o.mQ)(L.keyIdMissing);return De.signPopToken(x.access_token,F.keyId,me)}return x.access_token})()}generateAuthenticationResult(x,F,Q,De,me,q){var fe=this;return(0,n.c)(function*(){const nt=fe.addTelemetryFromNativeResponse(x),mt=wt.k.fromString(x.scope?x.scope:F.scope),Et=x.account.properties||{},Ut=Et.UID||Q.oid||Q.sub||d.Mv.EMPTY_STRING,tn=Et.TenantId||Q.tid||d.Mv.EMPTY_STRING,pn=(0,Yt.Ho)(De.getAccountInfo(),void 0,Q,x.id_token);pn.nativeAccountId!==x.account.id&&(pn.nativeAccountId=x.account.id);const vn=yield fe.generatePopAccessToken(x,F),bn=F.tokenType===d.me.POP?d.me.POP:d.me.BEARER;return{authority:me,uniqueId:Ut,tenantId:tn,scopes:mt.asArray(),account:pn,idToken:x.id_token,idTokenClaims:Q,accessToken:vn,fromCache:!!nt&&fe.isResponseFromCache(nt),expiresOn:new Date(1e3*Number(q+x.expires_in)),tokenType:bn,correlationId:fe.correlationId,state:x.state,fromNativeBroker:!0}})()}cacheAccount(x){this.browserStorage.setAccount(x),this.browserStorage.removeAccountContext(x).catch(F=>{this.logger.error(`Error occurred while removing account context from browser storage. ${F}`)})}cacheNativeTokens(x,F,Q,De,me,q,fe){const nt=D.YF(Q,F.authority,x.id_token||"",F.clientId,De.tid||""),Et=fe+(F.tokenType===d.me.POP?d.Mv.SHR_NONCE_VALIDITY:("string"==typeof x.expires_in?parseInt(x.expires_in,10):x.expires_in)||0),Ut=this.generateScopes(x,F),tn=D.MJ(Q,F.authority,me,F.clientId,De.tid||q,Ut.printScopes(),Et,0,Pt.W),pn=new ye.O(void 0,nt,tn);this.nativeStorageManager.saveCacheRecord(pn,F.storeInCache)}addTelemetryFromNativeResponse(x){const F=this.getMATSFromResponse(x);return F?(this.performanceClient.addFields({extensionId:this.nativeMessageHandler.getExtensionId(),extensionVersion:this.nativeMessageHandler.getExtensionVersion(),matsBrokerVersion:F.broker_version,matsAccountJoinOnStart:F.account_join_on_start,matsAccountJoinOnEnd:F.account_join_on_end,matsDeviceJoin:F.device_join,matsPromptBehavior:F.prompt_behavior,matsApiErrorCode:F.api_error_code,matsUiVisible:F.ui_visible,matsSilentCode:F.silent_code,matsSilentBiSubCode:F.silent_bi_sub_code,matsSilentMessage:F.silent_message,matsSilentStatus:F.silent_status,matsHttpStatus:F.http_status,matsHttpEventCount:F.http_event_count},this.correlationId),F):null}validateNativeResponse(x){if(x.hasOwnProperty("access_token")&&x.hasOwnProperty("id_token")&&x.hasOwnProperty("client_info")&&x.hasOwnProperty("account")&&x.hasOwnProperty("scope")&&x.hasOwnProperty("expires_in"))return x;throw(0,w.Ub)(fi.unexpectedError,"Response missing expected properties.")}getMATSFromResponse(x){if(x.properties.MATS)try{return JSON.parse(x.properties.MATS)}catch{this.logger.error("NativeInteractionClient - Error parsing MATS telemetry, returning null instead")}return null}isResponseFromCache(x){return typeof x.is_cached>"u"?(this.logger.verbose("NativeInteractionClient - MATS telemetry does not contain field indicating if response was served from cache. Returning false."),!1):!!x.is_cached}initializeNativeRequest(x){var F=this;return(0,n.c)(function*(){F.logger.trace("NativeInteractionClient - initializeNativeRequest called");const Q=x.authority||F.config.auth.authority;x.account&&(yield F.getDiscoveredAuthority(Q,x.azureCloudOptions,x.account));const De=new e._(Q);De.validateAsUri();const{scopes:me,...q}=x,fe=new wt.k(me||[]);fe.appendScopes(d.ac);const mt={...q,accountId:F.accountId,clientId:F.config.auth.clientId,authority:De.urlString,scope:fe.printScopes(),redirectUri:F.getRedirectUri(x.redirectUri),prompt:(()=>{switch(F.apiId){case J.Ed.ssoSilent:case J.Ed.acquireTokenSilent_silentFlow:return F.logger.trace("initializeNativeRequest: silent request sets prompt to none"),d.GI.NONE}if(x.prompt)switch(x.prompt){case d.GI.NONE:case d.GI.CONSENT:case d.GI.LOGIN:return F.logger.trace("initializeNativeRequest: prompt is compatible with native flow"),x.prompt;default:throw F.logger.trace(`initializeNativeRequest: prompt = ${x.prompt} is not compatible with native flow`),(0,he.Wq)(ze.nativePromptNotSupported)}else F.logger.trace("initializeNativeRequest: prompt was not provided")})(),correlationId:F.correlationId,tokenType:x.authenticationScheme,windowTitleSubstring:document.title,extraParameters:{...x.extraQueryParameters,...x.tokenQueryParameters},extendedExpiryToken:!1};if(F.handleExtraBrokerParams(mt),mt.extraParameters=mt.extraParameters||{},mt.extraParameters.telemetry=J.sJ.MATS_TELEMETRY,x.authenticationScheme===d.me.POP){const Et={resourceRequestUri:x.resourceRequestUri,resourceRequestMethod:x.resourceRequestMethod,shrClaims:x.shrClaims,shrNonce:x.shrNonce},Ut=new Te.w(F.browserCrypto),tn=yield(0,C.C)(Ut.generateCnf.bind(Ut),f.Xv.PopTokenGenerateCnf,F.logger,F.performanceClient,F.correlationId)(Et,F.logger);mt.reqCnf=tn.reqCnfHash,mt.keyId=tn.kid}return mt})()}handleExtraBrokerParams(x){if(x.extraParameters&&x.extraParameters.hasOwnProperty("brk_client_id")&&x.extraParameters.hasOwnProperty("brk_redirect_uri")&&x.extraParameters.hasOwnProperty(tt._k)){const De=x.extraParameters.brk_redirect_uri;x.extraParameters={child_client_id:x.extraParameters[tt._k],child_redirect_uri:x.redirectUri},x.redirectUri=De}}}class ur{constructor(x,F,Q,De){this.logger=x,this.handshakeTimeoutMs=F,this.extensionId=De,this.resolvers=new Map,this.handshakeResolvers=new Map,this.messageChannel=new MessageChannel,this.windowListener=this.onWindowMessage.bind(this),this.performanceClient=Q,this.handshakeEvent=Q.startMeasurement(f.Xv.NativeMessageHandlerHandshake)}sendMessage(x){var F=this;return(0,n.c)(function*(){F.logger.trace("NativeMessageHandler - sendMessage called.");const Q={channel:J.sJ.CHANNEL_ID,extensionId:F.extensionId,responseId:(0,Pe.E5)(),body:x};return F.logger.trace("NativeMessageHandler - Sending request to browser extension"),F.logger.tracePii(`NativeMessageHandler - Sending request to browser extension: ${JSON.stringify(Q)}`),F.messageChannel.port1.postMessage(Q),new Promise((De,me)=>{F.resolvers.set(Q.responseId,{resolve:De,reject:me})})})()}static createProvider(x,F,Q){return(0,n.c)(function*(){x.trace("NativeMessageHandler - createProvider called.");try{const De=new ur(x,F,Q,J.sJ.PREFERRED_EXTENSION_ID);return yield De.sendHandshakeRequest(),De}catch{const me=new ur(x,F,Q);return yield me.sendHandshakeRequest(),me}})()}sendHandshakeRequest(){var x=this;return(0,n.c)(function*(){x.logger.trace("NativeMessageHandler - sendHandshakeRequest called."),window.addEventListener("message",x.windowListener,!1);const F={channel:J.sJ.CHANNEL_ID,extensionId:x.extensionId,responseId:(0,Pe.E5)(),body:{method:J.Ce.HandshakeRequest}};return x.handshakeEvent.add({extensionId:x.extensionId,extensionHandshakeTimeoutMs:x.handshakeTimeoutMs}),x.messageChannel.port1.onmessage=Q=>{x.onChannelMessage(Q)},window.postMessage(F,window.origin,[x.messageChannel.port2]),new Promise((Q,De)=>{x.handshakeResolvers.set(F.responseId,{resolve:Q,reject:De}),x.timeoutId=window.setTimeout(()=>{window.removeEventListener("message",x.windowListener,!1),x.messageChannel.port1.close(),x.messageChannel.port2.close(),x.handshakeEvent.end({extensionHandshakeTimedOut:!0,success:!1}),De((0,he.Wq)(ze.nativeHandshakeTimeout)),x.handshakeResolvers.delete(F.responseId)},x.handshakeTimeoutMs)})})()}onWindowMessage(x){if(this.logger.trace("NativeMessageHandler - onWindowMessage called"),x.source!==window)return;const F=x.data;if(F.channel&&F.channel===J.sJ.CHANNEL_ID&&(!F.extensionId||F.extensionId===this.extensionId)&&F.body.method===J.Ce.HandshakeRequest){const Q=this.handshakeResolvers.get(F.responseId);if(!Q)return void this.logger.trace(`NativeMessageHandler.onWindowMessage - resolver can't be found for request ${F.responseId}`);this.logger.verbose(F.extensionId?`Extension with id: ${F.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}),Q.reject((0,he.Wq)(ze.nativeExtensionNotInstalled))}}onChannelMessage(x){this.logger.trace("NativeMessageHandler - onChannelMessage called.");const F=x.data,Q=this.resolvers.get(F.responseId),De=this.handshakeResolvers.get(F.responseId);try{const me=F.body.method;if(me===J.Ce.Response){if(!Q)return;const q=F.body.response;if(this.logger.trace("NativeMessageHandler - Received response from browser extension"),this.logger.tracePii(`NativeMessageHandler - Received response from browser extension: ${JSON.stringify(q)}`),"Success"!==q.status)Q.reject(Ln(q.code,q.description,q.ext));else{if(!q.result)throw(0,w.Ub)(fi.unexpectedError,"Event does not contain result.");q.result.code&&q.result.description?Q.reject(Ln(q.result.code,q.result.description,q.result.ext)):Q.resolve(q.result)}this.resolvers.delete(F.responseId)}else if(me===J.Ce.HandshakeResponse){if(!De)return void this.logger.trace(`NativeMessageHandler.onChannelMessage - resolver can't be found for request ${F.responseId}`);clearTimeout(this.timeoutId),window.removeEventListener("message",this.windowListener,!1),this.extensionId=F.extensionId,this.extensionVersion=F.body.version,this.logger.verbose(`NativeMessageHandler - Received HandshakeResponse from extension: ${this.extensionId}`),this.handshakeEvent.end({extensionInstalled:!0,success:!0}),De.resolve(),this.handshakeResolvers.delete(F.responseId)}}catch(me){this.logger.error("Error parsing response from WAM Extension"),this.logger.errorPii(`Error parsing response from WAM Extension: ${me}`),this.logger.errorPii(`Unable to parse ${x}`),Q?Q.reject(me):De&&De.reject(me)}}getExtensionId(){return this.extensionId}getExtensionVersion(){return this.extensionVersion}static isNativeAvailable(x,F,Q,De){if(F.trace("isNativeAvailable called"),!x.system.allowNativeBroker)return F.trace("isNativeAvailable: allowNativeBroker is not enabled, returning false"),!1;if(!Q)return F.trace("isNativeAvailable: WAM extension provider is not initialized, returning false"),!1;if(De)switch(De){case d.me.BEARER:case d.me.POP:return F.trace("isNativeAvailable: authenticationScheme is supported, returning true"),!0;default:return F.trace("isNativeAvailable: authenticationScheme is not supported, returning false"),!1}return!0}}class Tr{constructor(x,F,Q,De,me){this.authModule=x,this.browserStorage=F,this.authCodeRequest=Q,this.logger=De,this.performanceClient=me}handleCodeResponse(x,F){var Q=this;return(0,n.c)(function*(){let De;Q.performanceClient.addQueueMeasurement(f.Xv.HandleCodeResponse,F.correlationId);try{De=Q.authModule.handleFragmentResponse(x,F.state)}catch(me){throw me instanceof Oe.s&&me.subError===ze.userCancelled?(0,he.Wq)(ze.userCancelled):me}return(0,C.C)(Q.handleCodeResponseFromServer.bind(Q),f.Xv.HandleCodeResponseFromServer,Q.logger,Q.performanceClient,F.correlationId)(De,F)})()}handleCodeResponseFromServer(x,F,Q=!0){var De=this;return(0,n.c)(function*(){if(De.performanceClient.addQueueMeasurement(f.Xv.HandleCodeResponseFromServer,F.correlationId),De.logger.trace("InteractionHandler.handleCodeResponseFromServer called"),De.authCodeRequest.code=x.code,x.cloud_instance_host_name&&(yield(0,C.C)(De.authModule.updateAuthority.bind(De.authModule),f.Xv.UpdateTokenEndpointAuthority,De.logger,De.performanceClient,F.correlationId)(x.cloud_instance_host_name,F.correlationId)),Q&&(x.nonce=F.nonce||void 0),x.state=F.state,x.client_info)De.authCodeRequest.clientInfo=x.client_info;else{const q=De.createCcsCredentials(F);q&&(De.authCodeRequest.ccsCredential=q)}return yield(0,C.C)(De.authModule.acquireToken.bind(De.authModule),f.Xv.AuthClientAcquireToken,De.logger,De.performanceClient,F.correlationId)(De.authCodeRequest,x)})()}createCcsCredentials(x){return x.account?{credential:x.account.homeAccountId,type:Me.s.HOME_ACCOUNT_ID}:x.loginHint?{credential:x.loginHint,type:Me.s.UPN}:null}}var lr=s(33680),nr=s(99632);function Nr(un,x,F){const Q=lr.u(un);if(!Q)throw lr.w(un)?(F.error(`A ${x} is present in the iframe but it does not contain known properties. It's likely that the ${x} has been replaced by code running on the redirectUri page.`),F.errorPii(`The ${x} detected is: ${un}`),(0,he.Wq)(ze.hashDoesNotContainKnownProperties)):(F.error(`The request has returned to the redirectUri but a ${x} is not present. It's likely that the ${x} has been removed or the page has been redirected by code running on the redirectUri page.`),(0,he.Wq)(ze.hashEmptyError));return Q}class rn extends or{constructor(x,F,Q,De,me,q,fe,nt,mt,Et){super(x,F,Q,De,me,q,fe,mt,Et),this.unloadWindow=this.unloadWindow.bind(this),this.nativeStorage=nt}acquireToken(x){try{const F=this.generatePopupName(x.scopes||d.ac,x.authority||this.config.auth.authority),Q=x.popupWindowAttributes||{};if(this.config.system.asyncPopups)return this.logger.verbose("asyncPopups set to true, acquiring token"),this.acquireTokenPopupAsync(x,F,Q);{this.logger.verbose("asyncPopup set to false, opening popup before acquiring token");const De=this.openSizedPopup("about:blank",F,Q);return this.acquireTokenPopupAsync(x,F,Q,De)}}catch(F){return Promise.reject(F)}}logout(x){try{this.logger.verbose("logoutPopup called");const F=this.initializeLogoutRequest(x),Q=this.generateLogoutPopupName(F),De=x&&x.authority,me=x&&x.mainWindowRedirectUri,q=x?.popupWindowAttributes||{};if(this.config.system.asyncPopups)return this.logger.verbose("asyncPopups set to true"),this.logoutPopupAsync(F,Q,q,De,void 0,me);{this.logger.verbose("asyncPopup set to false, opening popup");const fe=this.openSizedPopup("about:blank",Q,q);return this.logoutPopupAsync(F,Q,q,De,fe,me)}}catch(F){return Promise.reject(F)}}acquireTokenPopupAsync(x,F,Q,De){var me=this;return(0,n.c)(function*(){me.logger.verbose("acquireTokenPopupAsync called");const q=me.initializeServerTelemetryManager(J.Ed.acquireTokenPopup),fe=yield(0,C.C)(me.initializeAuthorizationRequest.bind(me),f.Xv.StandardInteractionClientInitializeAuthorizationRequest,me.logger,me.performanceClient,me.correlationId)(x,J.wV.Popup);(0,be.preconnect)(fe.authority);try{const nt=yield(0,C.C)(me.initializeAuthorizationCodeRequest.bind(me),f.Xv.StandardInteractionClientInitializeAuthorizationCodeRequest,me.logger,me.performanceClient,me.correlationId)(fe),mt=yield(0,C.C)(me.createAuthCodeClient.bind(me),f.Xv.StandardInteractionClientCreateAuthCodeClient,me.logger,me.performanceClient,me.correlationId)(q,fe.authority,fe.azureCloudOptions,fe.account),Et=ur.isNativeAvailable(me.config,me.logger,me.nativeMessageHandler,x.authenticationScheme);let Ut;Et&&(Ut=me.performanceClient.startMeasurement(f.Xv.FetchAccountIdWithNativeBroker,x.correlationId));const tn=yield mt.getAuthCodeUrl({...fe,nativeBroker:Et}),pn=new Tr(mt,me.browserStorage,nt,me.logger,me.performanceClient),bn=me.initiateAuthRequest(tn,{popup:De,popupName:F,popupWindowAttributes:Q});me.eventHandler.emitEvent(ce.W.POPUP_OPENED,J.wV.Popup,{popupWindow:bn},null);const fn=yield me.monitorPopupForHash(bn),In=(0,C.q)(Nr,f.Xv.DeserializeResponse,me.logger,me.performanceClient,me.correlationId)(fn,me.config.auth.OIDCOptions.serverResponseType,me.logger);if(ke.removeThrottle(me.browserStorage,me.config.auth.clientId,nt),In.accountId){if(me.logger.verbose("Account id found in hash, calling WAM for token"),Ut&&Ut.end({success:!0,isNativeBroker:!0}),!me.nativeMessageHandler)throw(0,he.Wq)(ze.nativeConnectionNotEstablished);const _r=new ar(me.config,me.browserStorage,me.browserCrypto,me.logger,me.eventHandler,me.navigationClient,J.Ed.acquireTokenPopup,me.performanceClient,me.nativeMessageHandler,In.accountId,me.nativeStorage,fe.correlationId),{userRequestState:hr}=Re.c.parseRequestState(me.browserCrypto,fe.state);return yield _r.acquireToken({...fe,state:hr,prompt:void 0})}return yield pn.handleCodeResponse(In,fe)}catch(nt){throw De&&De.close(),nt instanceof w.WM&&(nt.setCorrelationId(me.correlationId),q.cacheFailedRequest(nt)),nt}})()}logoutPopupAsync(x,F,Q,De,me,q){var fe=this;return(0,n.c)(function*(){fe.logger.verbose("logoutPopupAsync called"),fe.eventHandler.emitEvent(ce.W.LOGOUT_START,J.wV.Popup,x);const nt=fe.initializeServerTelemetryManager(J.Ed.logoutPopup);try{yield fe.clearCacheOnLogout(x.account);const Et=(yield(0,C.C)(fe.createAuthCodeClient.bind(fe),f.Xv.StandardInteractionClientCreateAuthCodeClient,fe.logger,fe.performanceClient,fe.correlationId)(nt,De,void 0,x.account||void 0)).getLogoutUri(x);fe.eventHandler.emitEvent(ce.W.LOGOUT_SUCCESS,J.wV.Popup,x);const Ut=fe.openPopup(Et,{popupName:F,popupWindowAttributes:Q,popup:me});if(fe.eventHandler.emitEvent(ce.W.POPUP_OPENED,J.wV.Popup,{popupWindow:Ut},null),yield fe.monitorPopupForHash(Ut).catch(()=>{}),q){const tn={apiId:J.Ed.logoutPopup,timeout:fe.config.system.redirectNavigationTimeout,noHistory:!1},pn=e._.getAbsoluteUrl(q,(0,be.getCurrentUri)());fe.logger.verbose("Redirecting main window to url specified in the request"),fe.logger.verbosePii(`Redirecting main window to: ${pn}`),yield fe.navigationClient.navigateInternal(pn,tn)}else fe.logger.verbose("No main window navigation requested")}catch(mt){throw me&&me.close(),mt instanceof w.WM&&(mt.setCorrelationId(fe.correlationId),nt.cacheFailedRequest(mt)),fe.browserStorage.setInteractionInProgress(!1),fe.eventHandler.emitEvent(ce.W.LOGOUT_FAILURE,J.wV.Popup,null,mt),fe.eventHandler.emitEvent(ce.W.LOGOUT_END,J.wV.Popup),mt}fe.eventHandler.emitEvent(ce.W.LOGOUT_END,J.wV.Popup)})()}initiateAuthRequest(x,F){if(x)return this.logger.infoPii(`Navigate to: ${x}`),this.openPopup(x,F);throw this.logger.error("Navigate url is empty"),(0,he.Wq)(ze.emptyNavigateUri)}monitorPopupForHash(x){return new Promise((F,Q)=>{this.logger.verbose("PopupHandler.monitorPopupForHash - polling started");const De=setInterval(()=>{if(x.closed)return this.logger.error("PopupHandler.monitorPopupForHash - window closed"),clearInterval(De),void Q((0,he.Wq)(ze.userCancelled));let me="";try{me=x.location.href}catch{}if(!me||"about:blank"===me)return;clearInterval(De);let q="";x&&(q=this.config.auth.OIDCOptions.serverResponseType===d.eE.QUERY?x.location.search:x.location.hash),this.logger.verbose("PopupHandler.monitorPopupForHash - popup window is on same origin as caller"),F(q)},this.config.system.pollIntervalMilliseconds)}).finally(()=>{this.cleanPopup(x)})}openPopup(x,F){try{let Q;if(F.popup?(Q=F.popup,this.logger.verbosePii(`Navigating popup window to: ${x}`),Q.location.assign(x)):typeof F.popup>"u"&&(this.logger.verbosePii(`Opening popup window to: ${x}`),Q=this.openSizedPopup(x,F.popupName,F.popupWindowAttributes)),!Q)throw(0,he.Wq)(ze.emptyWindowError);return Q.focus&&Q.focus(),this.currentWindow=Q,window.addEventListener("beforeunload",this.unloadWindow),Q}catch(Q){throw this.logger.error("error opening popup "+Q.message),this.browserStorage.setInteractionInProgress(!1),(0,he.Wq)(ze.popupWindowError)}}openSizedPopup(x,F,Q){const De=window.screenLeft?window.screenLeft:window.screenX,me=window.screenTop?window.screenTop:window.screenY,q=window.innerWidth||document.documentElement.clientWidth||document.body.clientWidth,fe=window.innerHeight||document.documentElement.clientHeight||document.body.clientHeight;let nt=Q.popupSize?.width,mt=Q.popupSize?.height,Et=Q.popupPosition?.top,Ut=Q.popupPosition?.left;return(!nt||nt<0||nt>q)&&(this.logger.verbose("Default popup window width used. Window width not configured or invalid."),nt=J.ig.POPUP_WIDTH),(!mt||mt<0||mt>fe)&&(this.logger.verbose("Default popup window height used. Window height not configured or invalid."),mt=J.ig.POPUP_HEIGHT),(!Et||Et<0||Et>fe)&&(this.logger.verbose("Default popup window top position used. Window top not configured or invalid."),Et=Math.max(0,fe/2-J.ig.POPUP_HEIGHT/2+me)),(!Ut||Ut<0||Ut>q)&&(this.logger.verbose("Default popup window left position used. Window left not configured or invalid."),Ut=Math.max(0,q/2-J.ig.POPUP_WIDTH/2+De)),window.open(x,F,`width=${nt}, height=${mt}, top=${Et}, left=${Ut}, scrollbars=yes`)}unloadWindow(x){this.browserStorage.cleanRequestByInteractionType(J.wV.Popup),this.currentWindow&&this.currentWindow.close(),x.preventDefault()}cleanPopup(x){x&&x.close(),window.removeEventListener("beforeunload",this.unloadWindow),this.browserStorage.setInteractionInProgress(!1)}generatePopupName(x,F){return`${J.ig.POPUP_NAME_PREFIX}.${this.config.auth.clientId}.${x.join("-")}.${F}.${this.correlationId}`}generateLogoutPopupName(x){return`${J.ig.POPUP_NAME_PREFIX}.${this.config.auth.clientId}.${x.account&&x.account.homeAccountId}.${this.correlationId}`}}class Vn{constructor(x,F,Q,De,me){this.authModule=x,this.browserStorage=F,this.authCodeRequest=Q,this.logger=De,this.performanceClient=me}initiateAuthRequest(x,F){var Q=this;return(0,n.c)(function*(){if(Q.logger.verbose("RedirectHandler.initiateAuthRequest called"),x){F.redirectStartPage&&(Q.logger.verbose("RedirectHandler.initiateAuthRequest: redirectStartPage set, caching start page"),Q.browserStorage.setTemporaryCache(J.zH.ORIGIN_URI,F.redirectStartPage,!0)),Q.browserStorage.setTemporaryCache(J.zH.CORRELATION_ID,Q.authCodeRequest.correlationId,!0),Q.browserStorage.cacheCodeRequest(Q.authCodeRequest),Q.logger.infoPii(`RedirectHandler.initiateAuthRequest: Navigate to: ${x}`);const De={apiId:J.Ed.acquireTokenRedirect,timeout:F.redirectTimeout,noHistory:!1};return"function"==typeof F.onRedirectNavigate?(Q.logger.verbose("RedirectHandler.initiateAuthRequest: Invoking onRedirectNavigate callback"),!1!==F.onRedirectNavigate(x)?(Q.logger.verbose("RedirectHandler.initiateAuthRequest: onRedirectNavigate did not return false, navigating"),void(yield F.navigationClient.navigateExternal(x,De))):void Q.logger.verbose("RedirectHandler.initiateAuthRequest: onRedirectNavigate returned false, stopping navigation")):(Q.logger.verbose("RedirectHandler.initiateAuthRequest: Navigating window to navigate url"),void(yield F.navigationClient.navigateExternal(x,De)))}throw Q.logger.info("RedirectHandler.initiateAuthRequest: Navigate url is empty"),(0,he.Wq)(ze.emptyNavigateUri)})()}handleCodeResponse(x,F){var Q=this;return(0,n.c)(function*(){Q.logger.verbose("RedirectHandler.handleCodeResponse called"),Q.browserStorage.setInteractionInProgress(!1);const De=Q.browserStorage.generateStateKey(F),me=Q.browserStorage.getTemporaryCache(De);if(!me)throw(0,o.mQ)(L.stateNotFound,"Cached State");let q;try{q=Q.authModule.handleFragmentResponse(x,me)}catch(Et){throw Et instanceof Oe.s&&Et.subError===ze.userCancelled?(0,he.Wq)(ze.userCancelled):Et}const fe=Q.browserStorage.generateNonceKey(me),nt=Q.browserStorage.getTemporaryCache(fe);if(Q.authCodeRequest.code=q.code,q.cloud_instance_host_name&&(yield(0,C.C)(Q.authModule.updateAuthority.bind(Q.authModule),f.Xv.UpdateTokenEndpointAuthority,Q.logger,Q.performanceClient,Q.authCodeRequest.correlationId)(q.cloud_instance_host_name,Q.authCodeRequest.correlationId)),q.nonce=nt||void 0,q.state=me,q.client_info)Q.authCodeRequest.clientInfo=q.client_info;else{const Et=Q.checkCcsCredentials();Et&&(Q.authCodeRequest.ccsCredential=Et)}const mt=yield Q.authModule.acquireToken(Q.authCodeRequest,q);return Q.browserStorage.cleanRequestByState(F),mt})()}checkCcsCredentials(){const x=this.browserStorage.getTemporaryCache(J.zH.CCS_CREDENTIAL,!0);if(x)try{return JSON.parse(x)}catch{this.authModule.logger.error("Cache credential could not be parsed"),this.authModule.logger.errorPii(`Cache credential could not be parsed: ${x}`)}return null}}class qn extends or{constructor(x,F,Q,De,me,q,fe,nt,mt,Et){super(x,F,Q,De,me,q,fe,mt,Et),this.nativeStorage=nt}acquireToken(x){var F=this;return(0,n.c)(function*(){const Q=yield(0,C.C)(F.initializeAuthorizationRequest.bind(F),f.Xv.StandardInteractionClientInitializeAuthorizationRequest,F.logger,F.performanceClient,F.correlationId)(x,J.wV.Redirect);F.browserStorage.updateCacheEntries(Q.state,Q.nonce,Q.authority,Q.loginHint||"",Q.account||null);const De=F.initializeServerTelemetryManager(J.Ed.acquireTokenRedirect),me=q=>{q.persisted&&(F.logger.verbose("Page was restored from back/forward cache. Clearing temporary cache."),F.browserStorage.cleanRequestByState(Q.state),F.eventHandler.emitEvent(ce.W.RESTORE_FROM_BFCACHE,J.wV.Redirect))};try{const q=yield(0,C.C)(F.initializeAuthorizationCodeRequest.bind(F),f.Xv.StandardInteractionClientInitializeAuthorizationCodeRequest,F.logger,F.performanceClient,F.correlationId)(Q),fe=yield(0,C.C)(F.createAuthCodeClient.bind(F),f.Xv.StandardInteractionClientCreateAuthCodeClient,F.logger,F.performanceClient,F.correlationId)(De,Q.authority,Q.azureCloudOptions,Q.account),nt=new Vn(fe,F.browserStorage,q,F.logger,F.performanceClient),mt=yield fe.getAuthCodeUrl({...Q,nativeBroker:ur.isNativeAvailable(F.config,F.logger,F.nativeMessageHandler,x.authenticationScheme)}),Et=F.getRedirectStartPage(x.redirectStartPage);return F.logger.verbosePii(`Redirect start page: ${Et}`),window.addEventListener("pageshow",me),yield nt.initiateAuthRequest(mt,{navigationClient:F.navigationClient,redirectTimeout:F.config.system.redirectNavigationTimeout,redirectStartPage:Et,onRedirectNavigate:x.onRedirectNavigate})}catch(q){throw q instanceof w.WM&&(q.setCorrelationId(F.correlationId),De.cacheFailedRequest(q)),window.removeEventListener("pageshow",me),F.browserStorage.cleanRequestByState(Q.state),q}})()}handleRedirectPromise(x,F,Q){var De=this;return(0,n.c)(function*(){const me=De.initializeServerTelemetryManager(J.Ed.handleRedirectPromise);try{if(!De.browserStorage.isInteractionInProgress(!0))return De.logger.info("handleRedirectPromise called but there is no interaction in progress, returning null."),null;const[q,fe]=De.getRedirectResponse(x||"");if(!q)return De.logger.info("handleRedirectPromise did not detect a response as a result of a redirect. Cleaning temporary cache."),De.browserStorage.cleanRequestByInteractionType(J.wV.Redirect),F&&Q&&F?.addFields({errorCode:"no_server_response"},Q),null;const nt=De.browserStorage.getTemporaryCache(J.zH.ORIGIN_URI,!0)||d.Mv.EMPTY_STRING;if(e._.removeHashFromUrl(nt)===e._.removeHashFromUrl(window.location.href)&&De.config.auth.navigateToLoginRequestUrl)return De.logger.verbose("Current page is loginRequestUrl, handling response"),nt.indexOf("#")>-1&&(0,be.replaceHash)(nt),yield De.handleResponse(q,me);if(!De.config.auth.navigateToLoginRequestUrl)return De.logger.verbose("NavigateToLoginRequestUrl set to false, handling response"),yield De.handleResponse(q,me);if(!(0,be.isInIframe)()||De.config.system.allowRedirectInIframe){De.browserStorage.setTemporaryCache(J.zH.URL_HASH,fe,!0);const Ut={apiId:J.Ed.handleRedirectPromise,timeout:De.config.system.redirectNavigationTimeout,noHistory:!0};let tn=!0;if(nt&&"null"!==nt)De.logger.verbose(`Navigating to loginRequestUrl: ${nt}`),tn=yield De.navigationClient.navigateInternal(nt,Ut);else{const pn=(0,be.getHomepage)();De.browserStorage.setTemporaryCache(J.zH.ORIGIN_URI,pn,!0),De.logger.warning("Unable to get valid login request url from cache, redirecting to home page"),tn=yield De.navigationClient.navigateInternal(pn,Ut)}if(!tn)return yield De.handleResponse(q,me)}return null}catch(q){throw q instanceof w.WM&&(q.setCorrelationId(De.correlationId),me.cacheFailedRequest(q)),De.browserStorage.cleanRequestByInteractionType(J.wV.Redirect),q}})()}getRedirectResponse(x){this.logger.verbose("getRedirectResponseHash called");let F=x;F||(F=this.config.auth.OIDCOptions.serverResponseType===d.eE.QUERY?window.location.search:window.location.hash);let Q=lr.u(F);if(Q){try{!function Ci(un,x,F){if(!un.state)throw(0,he.Wq)(ze.noStateInHash);const Q=(0,nr.Q)(x,un.state);if(!Q)throw(0,he.Wq)(ze.unableToParseState);if(Q.interactionType!==F)throw(0,he.Wq)(ze.stateInteractionTypeMismatch)}(Q,this.browserCrypto,J.wV.Redirect)}catch(me){return me instanceof w.WM&&this.logger.error(`Interaction type validation failed due to ${me.errorCode}: ${me.errorMessage}`),[null,""]}return(0,be.clearHash)(window),this.logger.verbose("Hash contains known properties, returning response hash"),[Q,F]}const De=this.browserStorage.getTemporaryCache(J.zH.URL_HASH,!0);return this.browserStorage.removeItem(this.browserStorage.generateCacheKey(J.zH.URL_HASH)),De&&(Q=lr.u(De),Q)?(this.logger.verbose("Hash does not contain known properties, returning cached hash"),[Q,De]):[null,""]}handleResponse(x,F){var Q=this;return(0,n.c)(function*(){const De=x.state;if(!De)throw(0,he.Wq)(ze.noStateInHash);const me=Q.browserStorage.getCachedRequest(De);if(Q.logger.verbose("handleResponse called, retrieved cached request"),x.accountId){if(Q.logger.verbose("Account id found in hash, calling WAM for token"),!Q.nativeMessageHandler)throw(0,he.Wq)(ze.nativeConnectionNotEstablished);const mt=new ar(Q.config,Q.browserStorage,Q.browserCrypto,Q.logger,Q.eventHandler,Q.navigationClient,J.Ed.acquireTokenPopup,Q.performanceClient,Q.nativeMessageHandler,x.accountId,Q.nativeStorage,me.correlationId),{userRequestState:Et}=Re.c.parseRequestState(Q.browserCrypto,De);return mt.acquireToken({...me,state:Et,prompt:void 0}).finally(()=>{Q.browserStorage.cleanRequestByState(De)})}const q=Q.browserStorage.getCachedAuthority(De);if(!q)throw(0,he.Wq)(ze.noCachedAuthorityError);const fe=yield(0,C.C)(Q.createAuthCodeClient.bind(Q),f.Xv.StandardInteractionClientCreateAuthCodeClient,Q.logger,Q.performanceClient,Q.correlationId)(F,q);return ke.removeThrottle(Q.browserStorage,Q.config.auth.clientId,me),new Vn(fe,Q.browserStorage,me,Q.logger,Q.performanceClient).handleCodeResponse(x,De)})()}logout(x){var F=this;return(0,n.c)(function*(){F.logger.verbose("logoutRedirect called");const Q=F.initializeLogoutRequest(x),De=F.initializeServerTelemetryManager(J.Ed.logout);try{F.eventHandler.emitEvent(ce.W.LOGOUT_START,J.wV.Redirect,x),yield F.clearCacheOnLogout(Q.account);const me={apiId:J.Ed.logout,timeout:F.config.system.redirectNavigationTimeout,noHistory:!1},fe=(yield(0,C.C)(F.createAuthCodeClient.bind(F),f.Xv.StandardInteractionClientCreateAuthCodeClient,F.logger,F.performanceClient,F.correlationId)(De,x&&x.authority,void 0,x&&x.account||void 0)).getLogoutUri(Q);if(F.eventHandler.emitEvent(ce.W.LOGOUT_SUCCESS,J.wV.Redirect,Q),!x||"function"!=typeof x.onRedirectNavigate)return F.browserStorage.getInteractionInProgress()||F.browserStorage.setInteractionInProgress(!0),void(yield F.navigationClient.navigateExternal(fe,me));if(!1!==x.onRedirectNavigate(fe))return F.logger.verbose("Logout onRedirectNavigate did not return false, navigating"),F.browserStorage.getInteractionInProgress()||F.browserStorage.setInteractionInProgress(!0),void(yield F.navigationClient.navigateExternal(fe,me));F.browserStorage.setInteractionInProgress(!1),F.logger.verbose("Logout onRedirectNavigate returned false, stopping navigation")}catch(me){throw me instanceof w.WM&&(me.setCorrelationId(F.correlationId),De.cacheFailedRequest(me)),F.eventHandler.emitEvent(ce.W.LOGOUT_FAILURE,J.wV.Redirect,null,me),F.eventHandler.emitEvent(ce.W.LOGOUT_END,J.wV.Redirect),me}F.eventHandler.emitEvent(ce.W.LOGOUT_END,J.wV.Redirect)})()}getRedirectStartPage(x){const F=x||window.location.href;return e._.getAbsoluteUrl(F,(0,be.getCurrentUri)())}}var dr=s(48124);function ii(un,x,F,Q,De){return Fr.apply(this,arguments)}function Fr(){return(Fr=(0,n.c)(function*(un,x,F,Q,De){if(x.addQueueMeasurement(f.Xv.SilentHandlerInitiateAuthRequest,Q),!un)throw F.info("Navigate url is empty"),(0,he.Wq)(ze.emptyNavigateUri);return De?(0,C.C)(Dt,f.Xv.SilentHandlerLoadFrame,F,x,Q)(un,De,x,Q):(0,C.q)(sn,f.Xv.SilentHandlerLoadFrameSync,F,x,Q)(un)})).apply(this,arguments)}function at(un,x,F,Q,De,me,q){return xt.apply(this,arguments)}function xt(){return(xt=(0,n.c)(function*(un,x,F,Q,De,me,q){return Q.addQueueMeasurement(f.Xv.SilentHandlerMonitorIframeForHash,me),new Promise((fe,nt)=>{x{window.clearInterval(Et),nt((0,he.Wq)(ze.monitorWindowTimeout))},x),Et=window.setInterval(()=>{let Ut="";const tn=un.contentWindow;try{Ut=tn?tn.location.href:""}catch{}if(!Ut||"about:blank"===Ut)return;let pn="";tn&&(pn=q===d.eE.QUERY?tn.location.search:tn.location.hash),window.clearTimeout(mt),window.clearInterval(Et),fe(pn)},F)}).finally(()=>{(0,C.q)(wn,f.Xv.RemoveHiddenIframe,De,Q,me)(un)})})).apply(this,arguments)}function Dt(un,x,F,Q){return F.addQueueMeasurement(f.Xv.SilentHandlerLoadFrame,Q),new Promise((De,me)=>{const q=gn();window.setTimeout(()=>{q?(q.src=un,De(q)):me("Unable to load iframe")},x)})}function sn(un){const x=gn();return x.src=un,x}function gn(){const un=document.createElement("iframe");return un.style.visibility="hidden",un.style.position="absolute",un.style.width=un.style.height="0",un.style.border="0",un.setAttribute("sandbox","allow-scripts allow-same-origin allow-forms"),document.body.appendChild(un),un}function wn(un){document.body===un.parentNode&&document.body.removeChild(un)}class Dn extends or{constructor(x,F,Q,De,me,q,fe,nt,mt,Et,Ut){super(x,F,Q,De,me,q,nt,Et,Ut),this.apiId=fe,this.nativeStorage=mt}acquireToken(x){var F=this;return(0,n.c)(function*(){F.performanceClient.addQueueMeasurement(f.Xv.SilentIframeClientAcquireToken,x.correlationId),!x.loginHint&&!x.sid&&(!x.account||!x.account.username)&&F.logger.warning("No user hint provided. The authorization server may need more information to complete this request.");const Q={...x};Q.prompt?Q.prompt!==d.GI.NONE&&Q.prompt!==d.GI.NO_SESSION&&(F.logger.warning(`SilentIframeClient. Replacing invalid prompt ${Q.prompt} with ${d.GI.NONE}`),Q.prompt=d.GI.NONE):Q.prompt=d.GI.NONE;const De=yield(0,C.C)(F.initializeAuthorizationRequest.bind(F),f.Xv.StandardInteractionClientInitializeAuthorizationRequest,F.logger,F.performanceClient,x.correlationId)(Q,J.wV.Silent);(0,be.preconnect)(De.authority);const me=F.initializeServerTelemetryManager(F.apiId);try{const q=yield(0,C.C)(F.createAuthCodeClient.bind(F),f.Xv.StandardInteractionClientCreateAuthCodeClient,F.logger,F.performanceClient,x.correlationId)(me,De.authority,De.azureCloudOptions,De.account);return yield(0,C.C)(F.silentTokenHelper.bind(F),f.Xv.SilentIframeClientTokenHelper,F.logger,F.performanceClient,x.correlationId)(q,De)}catch(q){throw q instanceof w.WM&&(q.setCorrelationId(F.correlationId),me.cacheFailedRequest(q)),q}})()}logout(){return Promise.reject((0,he.Wq)(ze.silentLogoutUnsupported))}silentTokenHelper(x,F){var Q=this;return(0,n.c)(function*(){const De=F.correlationId;Q.performanceClient.addQueueMeasurement(f.Xv.SilentIframeClientTokenHelper,De);const me=yield(0,C.C)(Q.initializeAuthorizationCodeRequest.bind(Q),f.Xv.StandardInteractionClientInitializeAuthorizationCodeRequest,Q.logger,Q.performanceClient,De)(F),q=yield(0,C.C)(x.getAuthCodeUrl.bind(x),f.Xv.GetAuthCodeUrl,Q.logger,Q.performanceClient,De)({...F,nativeBroker:ur.isNativeAvailable(Q.config,Q.logger,Q.nativeMessageHandler,F.authenticationScheme)}),fe=new Tr(x,Q.browserStorage,me,Q.logger,Q.performanceClient),nt=yield(0,C.C)(ii,f.Xv.SilentHandlerInitiateAuthRequest,Q.logger,Q.performanceClient,De)(q,Q.performanceClient,Q.logger,De,Q.config.system.navigateFrameWait),mt=Q.config.auth.OIDCOptions.serverResponseType,Et=yield(0,C.C)(at,f.Xv.SilentHandlerMonitorIframeForHash,Q.logger,Q.performanceClient,De)(nt,Q.config.system.iframeHashTimeout,Q.config.system.pollIntervalMilliseconds,Q.performanceClient,Q.logger,De,mt),Ut=(0,C.q)(Nr,f.Xv.DeserializeResponse,Q.logger,Q.performanceClient,Q.correlationId)(Et,mt,Q.logger);if(Ut.accountId){if(Q.logger.verbose("Account id found in hash, calling WAM for token"),!Q.nativeMessageHandler)throw(0,he.Wq)(ze.nativeConnectionNotEstablished);const tn=new ar(Q.config,Q.browserStorage,Q.browserCrypto,Q.logger,Q.eventHandler,Q.navigationClient,Q.apiId,Q.performanceClient,Q.nativeMessageHandler,Ut.accountId,Q.browserStorage,De),{userRequestState:pn}=Re.c.parseRequestState(Q.browserCrypto,F.state);return(0,C.C)(tn.acquireToken.bind(tn),f.Xv.NativeInteractionClientAcquireToken,Q.logger,Q.performanceClient,De)({...F,state:pn,prompt:F.prompt||d.GI.NONE})}return(0,C.C)(fe.handleCodeResponse.bind(fe),f.Xv.HandleCodeResponse,Q.logger,Q.performanceClient,De)(Ut,F)})()}}class sr extends or{acquireToken(x){var F=this;return(0,n.c)(function*(){F.performanceClient.addQueueMeasurement(f.Xv.SilentRefreshClientAcquireToken,x.correlationId);const Q=yield(0,C.C)(F.initializeBaseRequest.bind(F),f.Xv.InitializeBaseRequest,F.logger,F.performanceClient,x.correlationId)(x),De={...x,...Q};x.redirectUri&&(De.redirectUri=F.getRedirectUri(x.redirectUri));const me=F.initializeServerTelemetryManager(J.Ed.acquireTokenSilent_silentFlow),q=yield F.createRefreshTokenClient(me,De.authority,De.azureCloudOptions,De.account);return(0,C.C)(q.acquireTokenByRefreshToken.bind(q),f.Xv.RefreshTokenClientAcquireTokenByRefreshToken,F.logger,F.performanceClient,x.correlationId)(De).catch(fe=>{throw fe.setCorrelationId(F.correlationId),me.cacheFailedRequest(fe),fe})})()}logout(){return Promise.reject((0,he.Wq)(ze.silentLogoutUnsupported))}createRefreshTokenClient(x,F,Q,De){var me=this;return(0,n.c)(function*(){const q=yield(0,C.C)(me.getClientConfiguration.bind(me),f.Xv.StandardInteractionClientGetClientConfiguration,me.logger,me.performanceClient,me.correlationId)(x,F,Q,De);return new Sn(q,me.performanceClient)})()}}class Xn{constructor(x,F,Q,De){this.isBrowserEnvironment=typeof window<"u",this.config=x,this.storage=F,this.logger=Q,this.cryptoObj=De}loadExternalTokens(x,F,Q){if(this.logger.info("TokenCache - loadExternalTokens called"),!F.id_token)throw(0,he.Wq)(ze.unableToLoadToken);const De=Ft.aw(F.id_token,Pt.W);let me,q,fe;if(x.account)fe=H.M.createFromAccountInfo(x.account),me=new ye.O(fe,this.loadIdToken(F.id_token,fe.homeAccountId,x.account.environment,x.account.tenantId),this.loadAccessToken(x,F,fe.homeAccountId,x.account.environment,x.account.tenantId,Q),this.loadRefreshToken(x,F,fe.homeAccountId,x.account.environment));else{if(!x.authority)throw(0,he.Wq)(ze.unableToLoadToken);{const nt=V.generateAuthority(x.authority,x.azureCloudOptions);if(q=new V(nt,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,x.correlationId||(0,Pe.E5)()),Q.clientInfo)this.logger.trace("TokenCache - homeAccountId from options"),fe=this.loadAccount(De,q,Q.clientInfo),me=new ye.O(fe,this.loadIdToken(F.id_token,fe.homeAccountId,q.hostnameAndPort,q.tenant),this.loadAccessToken(x,F,fe.homeAccountId,q.hostnameAndPort,q.tenant,Q),this.loadRefreshToken(x,F,fe.homeAccountId,q.hostnameAndPort));else{if(!F.client_info)throw(0,he.Wq)(ze.unableToLoadToken);this.logger.trace("TokenCache - homeAccountId from response"),fe=this.loadAccount(De,q,F.client_info),me=new ye.O(fe,this.loadIdToken(F.id_token,fe.homeAccountId,q.hostnameAndPort,q.tenant),this.loadAccessToken(x,F,fe.homeAccountId,q.hostnameAndPort,q.tenant,Q),this.loadRefreshToken(x,F,fe.homeAccountId,q.hostnameAndPort))}}}return this.generateAuthenticationResult(x,De,me,fe,q)}loadAccount(x,F,Q,De){if(this.isBrowserEnvironment){let me;if(this.logger.verbose("TokenCache - loading account"),De?me=De:void 0!==F.authorityType&&Q&&(me=H.M.generateHomeAccountId(Q,F.authorityType,this.logger,this.cryptoObj,x)),!me)throw(0,he.Wq)(ze.unableToLoadToken);const fe=Mn(this.storage,F,me,x,Pt.W,Q,F.hostnameAndPort,x.tid,void 0,void 0,this.logger);return this.storage.setAccount(fe),fe}throw(0,he.Wq)(ze.unableToLoadToken)}loadIdToken(x,F,Q,De){const me=D.YF(F,Q,x,this.config.auth.clientId,De);if(this.isBrowserEnvironment)return this.logger.verbose("TokenCache - loading id token"),this.storage.setIdTokenCredential(me),me;throw(0,he.Wq)(ze.unableToLoadToken)}loadAccessToken(x,F,Q,De,me,q){if(!F.access_token)return this.logger.verbose("TokenCache - No access token provided for caching"),null;if(!F.expires_in||!q.extendedExpiresOn)throw(0,he.Wq)(ze.unableToLoadToken);const fe=new wt.k(x.scopes).printScopes(),nt=q.expiresOn||F.expires_in+(new Date).getTime()/1e3,Et=D.MJ(Q,De,F.access_token,this.config.auth.clientId,me,fe,nt,q.extendedExpiresOn,Pt.W);if(this.isBrowserEnvironment)return this.logger.verbose("TokenCache - loading access token"),this.storage.setAccessTokenCredential(Et),Et;throw(0,he.Wq)(ze.unableToLoadToken)}loadRefreshToken(x,F,Q,De){if(!F.refresh_token)return this.logger.verbose("TokenCache - No refresh token provided for caching"),null;const me=D._c(Q,De,F.refresh_token,this.config.auth.clientId);if(this.isBrowserEnvironment)return this.logger.verbose("TokenCache - loading refresh token"),this.storage.setRefreshTokenCredential(me),me;throw(0,he.Wq)(ze.unableToLoadToken)}generateAuthenticationResult(x,F,Q,De,me){let mt,q=d.Mv.EMPTY_STRING,fe=[],nt=null;return Q?.accessToken&&(q=Q.accessToken.secret,fe=wt.k.fromString(Q.accessToken.target).asArray(),nt=new Date(1e3*Number(Q.accessToken.expiresOn)),mt=new Date(1e3*Number(Q.accessToken.extendedExpiresOn))),{authority:me?me.canonicalAuthority:d.Mv.EMPTY_STRING,uniqueId:F.oid||F.sub||d.Mv.EMPTY_STRING,tenantId:F.tid||d.Mv.EMPTY_STRING,scopes:fe,account:De.getAccountInfo(),idToken:Q.idToken?.secret||"",idTokenClaims:F||{},accessToken:q,fromCache:!0,expiresOn:nt,correlationId:x.correlationId||d.Mv.EMPTY_STRING,requestId:d.Mv.EMPTY_STRING,extExpiresOn:mt,familyId:d.Mv.EMPTY_STRING,tokenType:Q?.accessToken?.tokenType||d.Mv.EMPTY_STRING,state:d.Mv.EMPTY_STRING,cloudGraphHostName:De.cloudGraphHostName||d.Mv.EMPTY_STRING,msGraphHost:De.msGraphHost||d.Mv.EMPTY_STRING,code:void 0,fromNativeBroker:!1}}}class xr extends kn{constructor(x){super(x),this.includeRedirectUri=!1}}class Or extends or{constructor(x,F,Q,De,me,q,fe,nt,mt,Et){super(x,F,Q,De,me,q,nt,mt,Et),this.apiId=fe}acquireToken(x){var F=this;return(0,n.c)(function*(){if(!x.code)throw(0,he.Wq)(ze.authCodeRequired);const Q=yield(0,C.C)(F.initializeAuthorizationRequest.bind(F),f.Xv.StandardInteractionClientInitializeAuthorizationRequest,F.logger,F.performanceClient,x.correlationId)(x,J.wV.Silent),De=F.initializeServerTelemetryManager(F.apiId);try{const me={...Q,code:x.code},q=yield(0,C.C)(F.getClientConfiguration.bind(F),f.Xv.StandardInteractionClientGetClientConfiguration,F.logger,F.performanceClient,x.correlationId)(De,Q.authority,Q.azureCloudOptions,Q.account),fe=new xr(q);F.logger.verbose("Auth code client created");const nt=new Tr(fe,F.browserStorage,me,F.logger,F.performanceClient);return yield(0,C.C)(nt.handleCodeResponseFromServer.bind(nt),f.Xv.HandleCodeResponseFromServer,F.logger,F.performanceClient,x.correlationId)({code:x.code,msgraph_host:x.msGraphHost,cloud_graph_host_name:x.cloudGraphHostName,cloud_instance_host_name:x.cloudInstanceHostName},Q,!1)}catch(me){throw me instanceof w.WM&&(me.setCorrelationId(F.correlationId),De.cacheFailedRequest(me)),me}})()}logout(){return Promise.reject((0,he.Wq)(ze.silentLogoutUnsupported))}}var Vr=s(85288);class Ir{constructor(x){this.atsAsyncMeasurement=void 0,this.operatingContext=x,this.isBrowserEnvironment=this.operatingContext.isBrowserEnvironment(),this.config=x.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 c.A(this.logger,this.performanceClient):u.K,this.eventHandler=new ct.c(this.logger,this.browserCrypto),this.browserStorage=this.isBrowserEnvironment?new ie.Y(this.config.auth.clientId,this.config.cache,this.browserCrypto,this.logger,function k(un){const x=un.cloudDiscoveryMetadata;let F;if(x)try{F=JSON.parse(x)}catch{throw(0,M.QN)(N.invalidCloudDiscoveryMetadata)}return{canonicalAuthority:un.authority?R(un.authority):void 0,knownAuthorities:un.knownAuthorities,cloudDiscoveryMetadata:F}}(this.config.auth)):(0,ie.S)(this.config.auth.clientId,this.logger),this.nativeInternalStorage=new ie.Y(this.config.auth.clientId,{cacheLocation:J.Ir.MemoryStorage,temporaryCacheLocation:J.Ir.MemoryStorage,storeAuthStateInCookie:!1,secureCookies:!1,cacheMigrationEnabled:!1,claimsBasedCachingEnabled:!1},this.browserCrypto,this.logger),this.tokenCache=new Xn(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(x){return(0,n.c)(function*(){const F=new Ir(x);return yield F.initialize(),F})()}trackPageVisibility(){this.atsAsyncMeasurement&&(this.logger.info("Perf: Visibility change detected"),this.atsAsyncMeasurement.increment({visibilityChangeCount:1}))}initialize(){var x=this;return(0,n.c)(function*(){if(x.logger.trace("initialize called"),x.initialized)return void x.logger.info("initialize has already been called, exiting early.");const F=x.config.system.allowNativeBroker,Q=x.performanceClient.startMeasurement(f.Xv.InitializeClientApplication);if(x.eventHandler.emitEvent(ce.W.INITIALIZE_START),F)try{x.nativeExtensionProvider=yield ur.createProvider(x.logger,x.config.system.nativeBrokerHandshakeTimeout,x.performanceClient)}catch(De){x.logger.verbose(De)}x.config.cache.claimsBasedCachingEnabled||(x.logger.verbose("Claims-based caching is disabled. Clearing the previous cache with claims"),yield(0,C.C)(x.browserStorage.clearTokensAndKeysWithClaims.bind(x.browserStorage),f.Xv.ClearTokensAndKeysWithClaims,x.logger,x.performanceClient)(x.performanceClient)),x.initialized=!0,x.eventHandler.emitEvent(ce.W.INITIALIZE_END),Q.end({allowNativeBroker:F,success:!0})})()}handleRedirectPromise(x){var F=this;return(0,n.c)(function*(){F.logger.verbose("handleRedirectPromise called"),(0,be.blockAPICallsBeforeInitialize)(F.initialized);const Q=F.getAllAccounts();if(F.isBrowserEnvironment){const De=x||"";let me=F.redirectResponse.get(De);if(typeof me>"u"){const q=F.browserStorage.getCachedNativeRequest(),fe=q&&ur.isNativeAvailable(F.config,F.logger,F.nativeExtensionProvider)&&F.nativeExtensionProvider&&!x,nt=fe?q?.correlationId:F.browserStorage.getTemporaryCache(J.zH.CORRELATION_ID,!0)||"",mt=F.performanceClient.startMeasurement("acquireTokenRedirect",nt);let Et;if(F.eventHandler.emitEvent(ce.W.HANDLE_REDIRECT_START,J.wV.Redirect),F.logger.verbose("handleRedirectPromise has been called for the first time, storing the promise"),fe&&F.nativeExtensionProvider){F.logger.trace("handleRedirectPromise - acquiring token from native platform");const Ut=new ar(F.config,F.browserStorage,F.browserCrypto,F.logger,F.eventHandler,F.navigationClient,J.Ed.handleRedirectPromise,F.performanceClient,F.nativeExtensionProvider,q.accountId,F.nativeInternalStorage,q.correlationId);Et=(0,C.C)(Ut.handleRedirectPromise.bind(Ut),f.Xv.HandleNativeRedirectPromiseMeasurement,F.logger,F.performanceClient,mt.event.correlationId)(F.performanceClient,mt.event.correlationId)}else{F.logger.trace("handleRedirectPromise - acquiring token from web flow");const Ut=F.createRedirectClient(nt);Et=(0,C.C)(Ut.handleRedirectPromise.bind(Ut),f.Xv.HandleRedirectPromiseMeasurement,F.logger,F.performanceClient,mt.event.correlationId)(x,F.performanceClient,mt.event.correlationId)}me=Et.then(Ut=>(Ut&&(Q.length{const tn=Ut;throw F.eventHandler.emitEvent(Q.length>0?ce.W.ACQUIRE_TOKEN_FAILURE:ce.W.LOGIN_FAILURE,J.wV.Redirect,null,tn),F.eventHandler.emitEvent(ce.W.HANDLE_REDIRECT_END,J.wV.Redirect),mt.end(tn instanceof w.WM?{success:!1,errorCode:tn.errorCode,subErrorCode:tn.subError}:{success:!1}),Ut}),F.redirectResponse.set(De,me)}else F.logger.verbose("handleRedirectPromise has been called previously, returning the result from the first call");return me}return F.logger.verbose("handleRedirectPromise returns null, not browser environment"),null})()}acquireTokenRedirect(x){var F=this;return(0,n.c)(function*(){const Q=F.getRequestCorrelationId(x);F.logger.verbose("acquireTokenRedirect called",Q),F.preflightBrowserEnvironmentCheck(J.wV.Redirect);const De=F.getAllAccounts().length>0;let me;return F.eventHandler.emitEvent(De?ce.W.ACQUIRE_TOKEN_START:ce.W.LOGIN_START,J.wV.Redirect,x),me=F.nativeExtensionProvider&&F.canUseNative(x)?new ar(F.config,F.browserStorage,F.browserCrypto,F.logger,F.eventHandler,F.navigationClient,J.Ed.acquireTokenRedirect,F.performanceClient,F.nativeExtensionProvider,F.getNativeAccountId(x),F.nativeInternalStorage,Q).acquireTokenRedirect(x).catch(fe=>{if(fe instanceof pt&&an(fe))return F.nativeExtensionProvider=void 0,F.createRedirectClient(Q).acquireToken(x);if(fe instanceof A.uw)return F.logger.verbose("acquireTokenRedirect - Resolving interaction required error thrown by native broker by falling back to web flow"),F.createRedirectClient(Q).acquireToken(x);throw F.getBrowserStorage().setInteractionInProgress(!1),fe}):F.createRedirectClient(Q).acquireToken(x),me.catch(q=>{throw F.eventHandler.emitEvent(De?ce.W.ACQUIRE_TOKEN_FAILURE:ce.W.LOGIN_FAILURE,J.wV.Redirect,null,q),q})})()}acquireTokenPopup(x){const F=this.getRequestCorrelationId(x),Q=this.performanceClient.startMeasurement(f.Xv.AcquireTokenPopup,F);try{this.logger.verbose("acquireTokenPopup called",F),this.preflightBrowserEnvironmentCheck(J.wV.Popup)}catch(q){return Promise.reject(q)}const De=this.getAllAccounts();let me;return this.eventHandler.emitEvent(De.length>0?ce.W.ACQUIRE_TOKEN_START:ce.W.LOGIN_START,J.wV.Popup,x),me=this.canUseNative(x)?this.acquireTokenNative({...x,correlationId:F},J.Ed.acquireTokenPopup).then(q=>(this.getBrowserStorage().setInteractionInProgress(!1),Q.end({success:!0,isNativeBroker:!0,requestId:q.requestId}),q)).catch(q=>{if(q instanceof pt&&an(q))return this.nativeExtensionProvider=void 0,this.createPopupClient(F).acquireToken(x);if(q instanceof A.uw)return this.logger.verbose("acquireTokenPopup - Resolving interaction required error thrown by native broker by falling back to web flow"),this.createPopupClient(F).acquireToken(x);throw this.getBrowserStorage().setInteractionInProgress(!1),q}):this.createPopupClient(F).acquireToken(x),me.then(q=>(De.length(this.eventHandler.emitEvent(De.length>0?ce.W.ACQUIRE_TOKEN_FAILURE:ce.W.LOGIN_FAILURE,J.wV.Popup,null,q),Q.end({errorCode:q.errorCode,subErrorCode:q.subError,success:!1}),Promise.reject(q)))}trackPageVisibilityWithMeasurement(){const x=this.ssoSilentMeasurement||this.acquireTokenByCodeAsyncMeasurement;x&&(this.logger.info("Perf: Visibility change detected in ",x.event.name),x.increment({visibilityChangeCount:1}))}ssoSilent(x){var F=this;return(0,n.c)(function*(){const Q=F.getRequestCorrelationId(x),De={...x,prompt:x.prompt,correlationId:Q};let me;return F.preflightBrowserEnvironmentCheck(J.wV.Silent),F.ssoSilentMeasurement=F.performanceClient.startMeasurement(f.Xv.SsoSilent,Q),F.ssoSilentMeasurement?.increment({visibilityChangeCount:0}),document.addEventListener("visibilitychange",F.trackPageVisibilityWithMeasurement),F.logger.verbose("ssoSilent called",Q),F.eventHandler.emitEvent(ce.W.SSO_SILENT_START,J.wV.Silent,De),me=F.canUseNative(De)?F.acquireTokenNative(De,J.Ed.ssoSilent).catch(q=>{if(q instanceof pt&&an(q))return F.nativeExtensionProvider=void 0,F.createSilentIframeClient(De.correlationId).acquireToken(De);throw q}):F.createSilentIframeClient(De.correlationId).acquireToken(De),me.then(q=>(F.eventHandler.emitEvent(ce.W.SSO_SILENT_SUCCESS,J.wV.Silent,q),F.ssoSilentMeasurement?.add({accessTokenSize:q.accessToken.length,idTokenSize:q.idToken.length}),F.ssoSilentMeasurement?.end({success:!0,isNativeBroker:q.fromNativeBroker,requestId:q.requestId}),q)).catch(q=>{throw F.eventHandler.emitEvent(ce.W.SSO_SILENT_FAILURE,J.wV.Silent,null,q),F.ssoSilentMeasurement?.end({errorCode:q.errorCode,subErrorCode:q.subError,success:!1}),q}).finally(()=>{document.removeEventListener("visibilitychange",F.trackPageVisibilityWithMeasurement)})})()}acquireTokenByCode(x){var F=this;return(0,n.c)(function*(){const Q=F.getRequestCorrelationId(x);F.preflightBrowserEnvironmentCheck(J.wV.Silent),F.logger.trace("acquireTokenByCode called",Q),F.eventHandler.emitEvent(ce.W.ACQUIRE_TOKEN_BY_CODE_START,J.wV.Silent,x);const De=F.performanceClient.startMeasurement(f.Xv.AcquireTokenByCode,Q);try{if(x.code&&x.nativeAccountId)throw(0,he.Wq)(ze.spaCodeAndNativeAccountIdPresent);if(x.code){const me=x.code;let q=F.hybridAuthCodeResponses.get(me);return q?(F.logger.verbose("Existing acquireTokenByCode request found",Q),De.discard()):(F.logger.verbose("Initiating new acquireTokenByCode request",Q),q=F.acquireTokenByCodeAsync({...x,correlationId:Q}).then(fe=>(F.eventHandler.emitEvent(ce.W.ACQUIRE_TOKEN_BY_CODE_SUCCESS,J.wV.Silent,fe),F.hybridAuthCodeResponses.delete(me),De.add({accessTokenSize:fe.accessToken.length,idTokenSize:fe.idToken.length}),De.end({success:!0,isNativeBroker:fe.fromNativeBroker,requestId:fe.requestId}),fe)).catch(fe=>{throw F.hybridAuthCodeResponses.delete(me),F.eventHandler.emitEvent(ce.W.ACQUIRE_TOKEN_BY_CODE_FAILURE,J.wV.Silent,null,fe),De.end({errorCode:fe.errorCode,subErrorCode:fe.subError,success:!1}),fe}),F.hybridAuthCodeResponses.set(me,q)),yield q}if(x.nativeAccountId){if(F.canUseNative(x,x.nativeAccountId))return yield F.acquireTokenNative({...x,correlationId:Q},J.Ed.acquireTokenByCode,x.nativeAccountId).catch(me=>{throw me instanceof pt&&an(me)&&(F.nativeExtensionProvider=void 0),me});throw(0,he.Wq)(ze.unableToAcquireTokenFromNativePlatform)}throw(0,he.Wq)(ze.authCodeOrNativeAccountIdRequired)}catch(me){throw F.eventHandler.emitEvent(ce.W.ACQUIRE_TOKEN_BY_CODE_FAILURE,J.wV.Silent,null,me),De.end({errorCode:me instanceof w.WM&&me.errorCode||void 0,subErrorCode:me instanceof w.WM&&me.subError||void 0,success:!1}),me}})()}acquireTokenByCodeAsync(x){var F=this;return(0,n.c)(function*(){return F.logger.trace("acquireTokenByCodeAsync called",x.correlationId),F.acquireTokenByCodeAsyncMeasurement=F.performanceClient.startMeasurement(f.Xv.AcquireTokenByCodeAsync,x.correlationId),F.acquireTokenByCodeAsyncMeasurement?.increment({visibilityChangeCount:0}),document.addEventListener("visibilitychange",F.trackPageVisibilityWithMeasurement),yield F.createSilentAuthCodeClient(x.correlationId).acquireToken(x).then(me=>(F.acquireTokenByCodeAsyncMeasurement?.end({success:!0,fromCache:me.fromCache,isNativeBroker:me.fromNativeBroker,requestId:me.requestId}),me)).catch(me=>{throw F.acquireTokenByCodeAsyncMeasurement?.end({errorCode:me.errorCode,subErrorCode:me.subError,success:!1}),me}).finally(()=>{document.removeEventListener("visibilitychange",F.trackPageVisibilityWithMeasurement)})})()}acquireTokenFromCache(x,F,Q){var De=this;return(0,n.c)(function*(){switch(De.performanceClient.addQueueMeasurement(f.Xv.AcquireTokenFromCache,F.correlationId),Q){case J.wd.Default:case J.wd.AccessToken:case J.wd.AccessTokenAndRefreshToken:return(0,C.C)(x.acquireToken.bind(x),f.Xv.SilentCacheClientAcquireToken,De.logger,De.performanceClient,F.correlationId)(F);default:throw(0,o.mQ)(L.tokenRefreshRequired)}})()}acquireTokenByRefreshToken(x,F){var Q=this;return(0,n.c)(function*(){switch(Q.performanceClient.addQueueMeasurement(f.Xv.AcquireTokenByRefreshToken,x.correlationId),F){case J.wd.Default:case J.wd.AccessTokenAndRefreshToken:case J.wd.RefreshToken:case J.wd.RefreshTokenAndNetwork:const De=Q.createSilentRefreshClient(x.correlationId);return(0,C.C)(De.acquireToken.bind(De),f.Xv.SilentRefreshClientAcquireToken,Q.logger,Q.performanceClient,x.correlationId)(x);default:throw(0,o.mQ)(L.tokenRefreshRequired)}})()}acquireTokenBySilentIframe(x){var F=this;return(0,n.c)(function*(){F.performanceClient.addQueueMeasurement(f.Xv.AcquireTokenBySilentIframe,x.correlationId);const Q=F.createSilentIframeClient(x.correlationId);return(0,C.C)(Q.acquireToken.bind(Q),f.Xv.SilentIframeClientAcquireToken,F.logger,F.performanceClient,x.correlationId)(x)})()}logout(x){var F=this;return(0,n.c)(function*(){const Q=F.getRequestCorrelationId(x);return F.logger.warning("logout API is deprecated and will be removed in msal-browser v3.0.0. Use logoutRedirect instead.",Q),F.logoutRedirect({correlationId:Q,...x})})()}logoutRedirect(x){var F=this;return(0,n.c)(function*(){const Q=F.getRequestCorrelationId(x);return F.preflightBrowserEnvironmentCheck(J.wV.Redirect),F.createRedirectClient(Q).logout(x)})()}logoutPopup(x){try{const F=this.getRequestCorrelationId(x);return this.preflightBrowserEnvironmentCheck(J.wV.Popup),this.createPopupClient(F).logout(x)}catch(F){return Promise.reject(F)}}clearCache(x){var F=this;return(0,n.c)(function*(){const Q=F.getRequestCorrelationId(x);return F.createSilentCacheClient(Q).logout(x)})()}getAllAccounts(x){return this.logger.verbose("getAllAccounts called"),this.isBrowserEnvironment?this.browserStorage.getAllAccounts(x):[]}getAccount(x){if(this.logger.trace("getAccount called"),0===Object.keys(x).length)return this.logger.warning("getAccount: No accountFilter provided"),null;const F=this.browserStorage.getAccountInfoFilteredBy(x);return F?(this.logger.verbose("getAccount: Account matching provided filter found, returning"),F):(this.logger.verbose("getAccount: No matching account found, returning null"),null)}getAccountByUsername(x){if(this.logger.trace("getAccountByUsername called"),!x)return this.logger.warning("getAccountByUsername: No username provided"),null;const F=this.browserStorage.getAccountInfoFilteredBy({username:x});return F?(this.logger.verbose("getAccountByUsername: Account matching username found, returning"),this.logger.verbosePii(`getAccountByUsername: Returning signed-in accounts matching username: ${x}`),F):(this.logger.verbose("getAccountByUsername: No matching account found, returning null"),null)}getAccountByHomeId(x){if(this.logger.trace("getAccountByHomeId called"),!x)return this.logger.warning("getAccountByHomeId: No homeAccountId provided"),null;const F=this.browserStorage.getAccountInfoFilteredBy({homeAccountId:x});return F?(this.logger.verbose("getAccountByHomeId: Account matching homeAccountId found, returning"),this.logger.verbosePii(`getAccountByHomeId: Returning signed-in accounts matching homeAccountId: ${x}`),F):(this.logger.verbose("getAccountByHomeId: No matching account found, returning null"),null)}getAccountByLocalId(x){if(this.logger.trace("getAccountByLocalId called"),!x)return this.logger.warning("getAccountByLocalId: No localAccountId provided"),null;const F=this.browserStorage.getAccountInfoFilteredBy({localAccountId:x});return F?(this.logger.verbose("getAccountByLocalId: Account matching localAccountId found, returning"),this.logger.verbosePii(`getAccountByLocalId: Returning signed-in accounts matching localAccountId: ${x}`),F):(this.logger.verbose("getAccountByLocalId: No matching account found, returning null"),null)}setActiveAccount(x){this.browserStorage.setActiveAccount(x)}getActiveAccount(){return this.browserStorage.getActiveAccount()}hydrateCache(x,F){var Q=this;return(0,n.c)(function*(){Q.logger.verbose("hydrateCache called");const De=H.M.createFromAccountInfo(x.account,x.cloudGraphHostName,x.msGraphHost);return Q.browserStorage.setAccount(De),x.fromNativeBroker?(Q.logger.verbose("Response was from native broker, storing in-memory"),Q.nativeInternalStorage.hydrateCache(x,F)):Q.browserStorage.hydrateCache(x,F)})()}preflightBrowserEnvironmentCheck(x,F=!1){if(this.logger.verbose("preflightBrowserEnvironmentCheck started"),(0,be.blockNonBrowserEnvironment)(this.isBrowserEnvironment),(0,be.blockRedirectInIframe)(x,this.config.system.allowRedirectInIframe),(0,be.blockReloadInHiddenIframes)(),(0,be.blockAcquireTokenInPopups)(),(0,be.blockAPICallsBeforeInitialize)(this.initialized),x===J.wV.Redirect&&this.config.cache.cacheLocation===J.Ir.MemoryStorage&&!this.config.cache.storeAuthStateInCookie)throw(0,Ge.cf)(Vr.inMemRedirectUnavailable);(x===J.wV.Redirect||x===J.wV.Popup)&&this.preflightInteractiveRequest(!F)}preflightInteractiveRequest(x){this.logger.verbose("preflightInteractiveRequest called, validating app environment"),(0,be.blockReloadInHiddenIframes)(),x&&this.getBrowserStorage().setInteractionInProgress(!0)}acquireTokenNative(x,F,Q){var De=this;return(0,n.c)(function*(){if(De.logger.trace("acquireTokenNative called"),!De.nativeExtensionProvider)throw(0,he.Wq)(ze.nativeConnectionNotEstablished);return new ar(De.config,De.browserStorage,De.browserCrypto,De.logger,De.eventHandler,De.navigationClient,F,De.performanceClient,De.nativeExtensionProvider,Q||De.getNativeAccountId(x),De.nativeInternalStorage,x.correlationId).acquireToken(x)})()}canUseNative(x,F){if(this.logger.trace("canUseNative called"),!ur.isNativeAvailable(this.config,this.logger,this.nativeExtensionProvider,x.authenticationScheme))return this.logger.trace("canUseNative: isNativeAvailable returned false, returning false"),!1;if(x.prompt)switch(x.prompt){case d.GI.NONE:case d.GI.CONSENT:case d.GI.LOGIN:this.logger.trace("canUseNative: prompt is compatible with native flow");break;default:return this.logger.trace(`canUseNative: prompt = ${x.prompt} is not compatible with native flow, returning false`),!1}return!(!F&&!this.getNativeAccountId(x)&&(this.logger.trace("canUseNative: nativeAccountId is not available, returning false"),1))}getNativeAccountId(x){const F=x.account||this.getAccount({loginHint:x.loginHint,sid:x.sid})||this.getActiveAccount();return F&&F.nativeAccountId||""}createPopupClient(x){return new rn(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeInternalStorage,this.nativeExtensionProvider,x)}createRedirectClient(x){return new qn(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeInternalStorage,this.nativeExtensionProvider,x)}createSilentIframeClient(x){return new Dn(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,J.Ed.ssoSilent,this.performanceClient,this.nativeInternalStorage,this.nativeExtensionProvider,x)}createSilentCacheClient(x){return new _t(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeExtensionProvider,x)}createSilentRefreshClient(x){return new sr(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,this.performanceClient,this.nativeExtensionProvider,x)}createSilentAuthCodeClient(x){return new Or(this.config,this.browserStorage,this.browserCrypto,this.logger,this.eventHandler,this.navigationClient,J.Ed.acquireTokenByCode,this.performanceClient,this.nativeExtensionProvider,x)}addEventCallback(x){return this.eventHandler.addEventCallback(x)}removeEventCallback(x){this.eventHandler.removeEventCallback(x)}addPerformanceCallback(x){return this.performanceClient.addPerformanceCallback(x)}removePerformanceCallback(x){return this.performanceClient.removePerformanceCallback(x)}enableAccountStorageEvents(){this.eventHandler.enableAccountStorageEvents()}disableAccountStorageEvents(){this.eventHandler.disableAccountStorageEvents()}getTokenCache(){return this.tokenCache}getLogger(){return this.logger}setLogger(x){this.logger=x}initializeWrapperLibrary(x,F){this.browserStorage.setWrapperMetadata(x,F)}setNavigationClient(x){this.navigationClient=x}getConfiguration(){return this.config}getPerformanceClient(){return this.performanceClient}getBrowserStorage(){return this.browserStorage}isBrowserEnv(){return this.isBrowserEnvironment}getEventHandler(){return this.eventHandler}getRequestCorrelationId(x){return x?.correlationId?x.correlationId:this.isBrowserEnvironment?(0,Pe.E5)():d.Mv.EMPTY_STRING}loginRedirect(x){var F=this;return(0,n.c)(function*(){const Q=F.getRequestCorrelationId(x);return F.logger.verbose("loginRedirect called",Q),F.acquireTokenRedirect({correlationId:Q,...x||J.wv})})()}loginPopup(x){const F=this.getRequestCorrelationId(x);return this.logger.verbose("loginPopup called",F),this.acquireTokenPopup({correlationId:F,...x||J.wv})}acquireTokenSilent(x){var F=this;return(0,n.c)(function*(){const Q=F.getRequestCorrelationId(x),De=F.performanceClient.startMeasurement(f.Xv.AcquireTokenSilent,Q);De.add({cacheLookupPolicy:x.cacheLookupPolicy}),F.preflightBrowserEnvironmentCheck(J.wV.Silent),F.logger.verbose("acquireTokenSilent called",Q);const me=x.account||F.getActiveAccount();if(!me)throw(0,he.Wq)(ze.noAccountError);const fe=JSON.stringify({clientId:F.config.auth.clientId,authority:x.authority||d.Mv.EMPTY_STRING,scopes:x.scopes,homeAccountIdentifier:me.homeAccountId,claims:x.claims,authenticationScheme:x.authenticationScheme,resourceRequestMethod:x.resourceRequestMethod,resourceRequestUri:x.resourceRequestUri,shrClaims:x.shrClaims,sshKid:x.sshKid,shrOptions:x.shrOptions}),nt=F.activeSilentTokenRequests.get(fe);if(typeof nt>"u"){F.logger.verbose("acquireTokenSilent called for the first time, storing active request",Q);const mt=(0,C.C)(F.acquireTokenSilentAsync.bind(F),f.Xv.AcquireTokenSilentAsync,F.logger,F.performanceClient,Q)({...x,correlationId:Q},me).then(Et=>(F.activeSilentTokenRequests.delete(fe),De.add({accessTokenSize:Et.accessToken.length,idTokenSize:Et.idToken.length}),De.end({success:!0,fromCache:Et.fromCache,isNativeBroker:Et.fromNativeBroker,cacheLookupPolicy:x.cacheLookupPolicy,requestId:Et.requestId}),Et)).catch(Et=>{throw F.activeSilentTokenRequests.delete(fe),De.end({errorCode:Et.errorCode,subErrorCode:Et.subError,success:!1}),Et});return F.activeSilentTokenRequests.set(fe,mt),{...yield mt,state:x.state}}return F.logger.verbose("acquireTokenSilent has been called previously, returning the result from the first call",Q),De.discard(),{...yield nt,state:x.state}})()}acquireTokenSilentAsync(x,F){var Q=this;return(0,n.c)(function*(){let De;if(Q.performanceClient.addQueueMeasurement(f.Xv.AcquireTokenSilentAsync,x.correlationId),Q.eventHandler.emitEvent(ce.W.ACQUIRE_TOKEN_START,J.wV.Silent,x),Q.atsAsyncMeasurement=Q.performanceClient.startMeasurement(f.Xv.AcquireTokenSilentAsync,x.correlationId),Q.atsAsyncMeasurement?.increment({visibilityChangeCount:0}),document.addEventListener("visibilitychange",Q.trackPageVisibility),ur.isNativeAvailable(Q.config,Q.logger,Q.nativeExtensionProvider,x.authenticationScheme)&&F.nativeAccountId){Q.logger.verbose("acquireTokenSilent - attempting to acquire token from native platform");const me={...x,account:F};De=Q.acquireTokenNative(me,J.Ed.acquireTokenSilent_silentFlow).catch(function(){var q=(0,n.c)(function*(fe){if(fe instanceof pt&&an(fe))return Q.logger.verbose("acquireTokenSilent - native platform unavailable, falling back to web flow"),Q.nativeExtensionProvider=void 0,Q.createSilentIframeClient(x.correlationId).acquireToken(x);throw fe});return function(fe){return q.apply(this,arguments)}}())}else{Q.logger.verbose("acquireTokenSilent - attempting to acquire token from web flow");const me=Q.createSilentCacheClient(x.correlationId),q=yield(0,C.C)(me.initializeSilentRequest.bind(me),f.Xv.InitializeSilentRequest,Q.logger,Q.performanceClient,x.correlationId)(x,F),fe=x.cacheLookupPolicy||J.wd.Default;De=(0,C.C)(Q.acquireTokenFromCache.bind(Q),f.Xv.AcquireTokenFromCache,Q.logger,Q.performanceClient,q.correlationId)(me,q,fe).catch(nt=>{if(x.cacheLookupPolicy===J.wd.AccessToken)throw nt;return(0,be.blockReloadInHiddenIframes)(),Q.eventHandler.emitEvent(ce.W.ACQUIRE_TOKEN_NETWORK_START,J.wV.Silent,q),(0,C.C)(Q.acquireTokenByRefreshToken.bind(Q),f.Xv.AcquireTokenByRefreshToken,Q.logger,Q.performanceClient,q.correlationId)(q,fe).catch(mt=>{if(function Er(un,x,F){const me=!(un instanceof A.uw&&un.subError!==K.badToken)&&(un.errorCode===J.ig.INVALID_GRANT_ERROR||un.errorCode===L.tokenRefreshRequired)||un.errorCode===K.noTokensFound||un.errorCode===K.refreshTokenExpired,q=J.a.includes(F);return me&&q}(mt,0,fe))return Q.logger.verbose("Refresh token expired/invalid or CacheLookupPolicy is set to Skip, attempting acquire token by iframe.",q.correlationId),(0,C.C)(Q.acquireTokenBySilentIframe.bind(Q),f.Xv.AcquireTokenBySilentIframe,Q.logger,Q.performanceClient,q.correlationId)(q);throw mt})})}return De.then(me=>(Q.eventHandler.emitEvent(ce.W.ACQUIRE_TOKEN_SUCCESS,J.wV.Silent,me),Q.atsAsyncMeasurement?.end({success:!0,fromCache:me.fromCache,isNativeBroker:me.fromNativeBroker,requestId:me.requestId}),me)).catch(me=>{throw Q.eventHandler.emitEvent(ce.W.ACQUIRE_TOKEN_FAILURE,J.wV.Silent,null,me),Q.atsAsyncMeasurement?.end({errorCode:me.errorCode,subErrorCode:me.subError,success:!1}),me}).finally(()=>{document.removeEventListener("visibilitychange",Q.trackPageVisibility)})})()}}},27880:(pe,m,s)=>{"use strict";s.d(m,{E5:()=>w,G0:()=>D,IT:()=>C,YD:()=>y,_k:()=>G,eY:()=>S,em:()=>N,kq:()=>k});var n=s(1528),c=s(4792),u=s(85348),l=s(26956),i=s(32828);const o="SHA-256",v=new Uint8Array([1,0,1]),M="0123456789abcdef",p=new Uint32Array(1),E={name:"RSASSA-PKCS1-v1_5",hash:o,modulusLength:2048,publicExponent:v};function S(H){if(!("crypto"in window))throw H.error("BrowserCrypto: crypto interface is unavailable"),(0,c.Wq)(i.cryptoNonExistent);H.verbose("BrowserCrypto: modern crypto interface available")}function y(H,K,ie){return f.apply(this,arguments)}function f(){return(f=(0,n.c)(function*(H,K,ie){K?.addQueueMeasurement(u.Xv.Sha256Digest,ie);const be=(new TextEncoder).encode(H);return window.crypto.subtle.digest(o,be)})).apply(this,arguments)}function C(H){return window.crypto.getRandomValues(H)}function _(){return window.crypto.getRandomValues(p),p[0]}function w(){const H=Date.now(),K=1024*_()+(1023&_()),ie=new Uint8Array(16),J=Math.trunc(K/2**30),be=K&2**30-1,ce=_();ie[0]=H/2**40,ie[1]=H/2**32,ie[2]=H/2**24,ie[3]=H/65536,ie[4]=H/256,ie[5]=H,ie[6]=112|J>>>8,ie[7]=J,ie[8]=128|be>>>24,ie[9]=be>>>16,ie[10]=be>>>8,ie[11]=be,ie[12]=ce>>>24,ie[13]=ce>>>16,ie[14]=ce>>>8,ie[15]=ce;let Ge="";for(let ct=0;ct>>4),Ge+=M.charAt(15&ie[ct]),(3===ct||5===ct||7===ct||9===ct)&&(Ge+="-");return Ge}function D(H,K){return L.apply(this,arguments)}function L(){return(L=(0,n.c)(function*(H,K){return window.crypto.subtle.generateKey(E,H,K)})).apply(this,arguments)}function N(H){return V.apply(this,arguments)}function V(){return(V=(0,n.c)(function*(H){return window.crypto.subtle.exportKey(l.eG,H)})).apply(this,arguments)}function G(H,K,ie){return R.apply(this,arguments)}function R(){return(R=(0,n.c)(function*(H,K,ie){return window.crypto.subtle.importKey(l.eG,H,E,K,ie)})).apply(this,arguments)}function k(H,K){return A.apply(this,arguments)}function A(){return(A=(0,n.c)(function*(H,K){return window.crypto.subtle.sign(E,H,K)})).apply(this,arguments)}},7184:(pe,m,s)=>{"use strict";s.d(m,{A:()=>V});var n=s(1528),c=s(85348),u=s(66936);const l="missing_kid_error",i="missing_alg_error",e={[l]:"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.",[i]:"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 o extends u.WM{constructor(k,A){super(k,A),this.name="JoseHeaderError",Object.setPrototypeOf(this,o.prototype)}}function d(R){return new o(R,e[R])}var v=s(34739);class M{constructor(k){this.typ=k.typ,this.alg=k.alg,this.kid=k.kid}static getShrHeaderString(k){if(!k.kid)throw d(l);if(!k.alg)throw d(i);const A=new M({typ:k.typ||v.Gu.Pop,kid:k.kid,alg:k.alg});return JSON.stringify(A)}}var p=s(37988),E=s(55084),S=s(27880),y=s(4792),f=s(26956),C=s(32828);class _{constructor(){this.dbName=f.f6,this.version=f.gV,this.tableName=f.eQ,this.dbOpen=!1}open(){var k=this;return(0,n.c)(function*(){return new Promise((A,H)=>{const K=window.indexedDB.open(k.dbName,k.version);K.addEventListener("upgradeneeded",ie=>{ie.target.result.createObjectStore(k.tableName)}),K.addEventListener("success",ie=>{k.db=ie.target.result,k.dbOpen=!0,A()}),K.addEventListener("error",()=>H((0,y.Wq)(C.databaseUnavailable)))})})()}closeConnection(){const k=this.db;k&&this.dbOpen&&(k.close(),this.dbOpen=!1)}validateDbIsOpen(){var k=this;return(0,n.c)(function*(){if(!k.dbOpen)return k.open()})()}getItem(k){var A=this;return(0,n.c)(function*(){return yield A.validateDbIsOpen(),new Promise((H,K)=>{if(!A.db)return K((0,y.Wq)(C.databaseNotOpen));const be=A.db.transaction([A.tableName],"readonly").objectStore(A.tableName).get(k);be.addEventListener("success",ce=>{const Ge=ce;A.closeConnection(),H(Ge.target.result)}),be.addEventListener("error",ce=>{A.closeConnection(),K(ce)})})})()}setItem(k,A){var H=this;return(0,n.c)(function*(){return yield H.validateDbIsOpen(),new Promise((K,ie)=>{if(!H.db)return ie((0,y.Wq)(C.databaseNotOpen));const ce=H.db.transaction([H.tableName],"readwrite").objectStore(H.tableName).put(A,k);ce.addEventListener("success",()=>{H.closeConnection(),K()}),ce.addEventListener("error",Ge=>{H.closeConnection(),ie(Ge)})})})()}removeItem(k){var A=this;return(0,n.c)(function*(){return yield A.validateDbIsOpen(),new Promise((H,K)=>{if(!A.db)return K((0,y.Wq)(C.databaseNotOpen));const be=A.db.transaction([A.tableName],"readwrite").objectStore(A.tableName).delete(k);be.addEventListener("success",()=>{A.closeConnection(),H()}),be.addEventListener("error",ce=>{A.closeConnection(),K(ce)})})})()}getKeys(){var k=this;return(0,n.c)(function*(){return yield k.validateDbIsOpen(),new Promise((A,H)=>{if(!k.db)return H((0,y.Wq)(C.databaseNotOpen));const J=k.db.transaction([k.tableName],"readonly").objectStore(k.tableName).getAllKeys();J.addEventListener("success",be=>{const ce=be;k.closeConnection(),A(ce.target.result)}),J.addEventListener("error",be=>{k.closeConnection(),H(be)})})})()}containsKey(k){var A=this;return(0,n.c)(function*(){return yield A.validateDbIsOpen(),new Promise((H,K)=>{if(!A.db)return K((0,y.Wq)(C.databaseNotOpen));const be=A.db.transaction([A.tableName],"readonly").objectStore(A.tableName).count(k);be.addEventListener("success",ce=>{const Ge=ce;A.closeConnection(),H(1===Ge.target.result)}),be.addEventListener("error",ce=>{A.closeConnection(),K(ce)})})})()}deleteDatabase(){var k=this;return(0,n.c)(function*(){return k.db&&k.dbOpen&&k.closeConnection(),new Promise((A,H)=>{const K=window.indexedDB.deleteDatabase(f.f6);K.addEventListener("success",()=>A(!0)),K.addEventListener("blocked",()=>A(!0)),K.addEventListener("error",()=>H(!1))})})()}}var w=s(61744);class D{constructor(k,A){this.inMemoryCache=new w.W,this.indexedDBCache=new _,this.logger=k,this.storeName=A}handleDatabaseAccessError(k){if(!(k instanceof y.G&&k.errorCode===C.databaseUnavailable))throw k;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(k){var A=this;return(0,n.c)(function*(){const H=A.inMemoryCache.getItem(k);if(!H)try{return A.logger.verbose("Queried item not found in in-memory cache, now querying persistent storage."),yield A.indexedDBCache.getItem(k)}catch(K){A.handleDatabaseAccessError(K)}return H})()}setItem(k,A){var H=this;return(0,n.c)(function*(){H.inMemoryCache.setItem(k,A);try{yield H.indexedDBCache.setItem(k,A)}catch(K){H.handleDatabaseAccessError(K)}})()}removeItem(k){var A=this;return(0,n.c)(function*(){A.inMemoryCache.removeItem(k);try{yield A.indexedDBCache.removeItem(k)}catch(H){A.handleDatabaseAccessError(H)}})()}getKeys(){var k=this;return(0,n.c)(function*(){const A=k.inMemoryCache.getKeys();if(0===A.length)try{return k.logger.verbose("In-memory cache is empty, now querying persistent storage."),yield k.indexedDBCache.getKeys()}catch(H){k.handleDatabaseAccessError(H)}return A})()}containsKey(k){var A=this;return(0,n.c)(function*(){const H=A.inMemoryCache.containsKey(k);if(!H)try{return A.logger.verbose("Key not found in in-memory cache, now querying persistent storage."),yield A.indexedDBCache.containsKey(k)}catch(K){A.handleDatabaseAccessError(K)}return H})()}clearInMemory(){this.logger.verbose(`Deleting in-memory keystore ${this.storeName}`),this.inMemoryCache.clear(),this.logger.verbose(`In-memory keystore ${this.storeName} deleted`)}clearPersistent(){var k=this;return(0,n.c)(function*(){try{k.logger.verbose("Deleting persistent keystore");const A=yield k.indexedDBCache.deleteDatabase();return A&&k.logger.verbose("Persistent keystore deleted"),A}catch(A){return k.handleDatabaseAccessError(A),!1}})()}}class N{constructor(k){this.logger=k,this.asymmetricKeys=new D(this.logger,"asymmetricKeys"),this.symmetricKeys=new D(this.logger,"symmetricKeys")}clear(){var k=this;return(0,n.c)(function*(){k.asymmetricKeys.clearInMemory(),k.symmetricKeys.clearInMemory();try{return yield k.asymmetricKeys.clearPersistent(),!0}catch(A){return A instanceof Error?k.logger.error(`Clearing keystore failed with error: ${A.message}`):k.logger.error("Clearing keystore failed with unknown error"),!1}})()}}let V=(()=>{class R{constructor(A,H){this.logger=A,(0,S.eY)(A),this.cache=new N(this.logger),this.performanceClient=H}createNewGuid(){return(0,S.E5)()}base64Encode(A){return(0,p.c9)(A)}base64Decode(A){return(0,E.W)(A)}getPublicKeyThumbprint(A){var H=this;return(0,n.c)(function*(){const K=H.performanceClient?.startMeasurement(c.Xv.CryptoOptsGetPublicKeyThumbprint,A.correlationId),ie=yield(0,S.G0)(R.EXTRACTABLE,R.POP_KEY_USAGES),J=yield(0,S.em)(ie.publicKey),ce=G({e:J.e,kty:J.kty,n:J.n}),Ge=yield H.hashString(ce),ct=yield(0,S.em)(ie.privateKey),Oe=yield(0,S._k)(ct,!1,["sign"]);return yield H.cache.asymmetricKeys.setItem(Ge,{privateKey:Oe,publicKey:ie.publicKey,requestMethod:A.resourceRequestMethod,requestUri:A.resourceRequestUri}),K&&K.end({success:!0}),Ge})()}removeTokenBindingKey(A){var H=this;return(0,n.c)(function*(){return yield H.cache.asymmetricKeys.removeItem(A),!(yield H.cache.asymmetricKeys.containsKey(A))})()}clearKeystore(){var A=this;return(0,n.c)(function*(){return A.cache.clear()})()}signJwt(A,H,K,ie){var J=this;return(0,n.c)(function*(){const be=J.performanceClient?.startMeasurement(c.Xv.CryptoOptsSignJwt,ie),ce=yield J.cache.asymmetricKeys.getItem(H);if(!ce)throw(0,y.Wq)(C.cryptoKeyNotFound);const Ge=yield(0,S.em)(ce.publicKey),ct=G(Ge),Oe=(0,p.OW)(JSON.stringify({kid:H})),ke=M.getShrHeaderString({...K?.header,alg:Ge.alg,kid:Oe}),Re=(0,p.OW)(ke);A.cnf={jwk:JSON.parse(ct)};const $e=`${Re}.${(0,p.OW)(JSON.stringify(A))}`,_e=(new TextEncoder).encode($e),Me=yield(0,S.kq)(ce.privateKey,_e),je=`${$e}.${(0,p.gV)(new Uint8Array(Me))}`;return be&&be.end({success:!0}),je})()}hashString(A){return(0,n.c)(function*(){const H=yield(0,S.YD)(A),K=new Uint8Array(H);return(0,p.gV)(K)})()}}return R.POP_KEY_USAGES=["sign","verify"],R.EXTRACTABLE=!0,R})();function G(R){return JSON.stringify(R,Object.keys(R).sort())}},55084:(pe,m,s)=>{"use strict";s.d(m,{W:()=>u});var n=s(4792),c=s(32828);function u(i){return(new TextDecoder).decode(function l(i){let e=i.replace(/-/g,"+").replace(/_/g,"/");switch(e.length%4){case 0:break;case 2:e+="==";break;case 3:e+="=";break;default:throw(0,n.Wq)(c.invalidBase64String)}const o=atob(e);return Uint8Array.from(o,d=>d.codePointAt(0)||0)}(i))}},37988:(pe,m,s)=>{"use strict";function n(i){return encodeURIComponent(u(i).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_"))}function c(i){return l(i).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_")}function u(i){return l((new TextEncoder).encode(i))}function l(i){const e=Array.from(i,o=>String.fromCodePoint(o)).join("");return btoa(e)}s.d(m,{OW:()=>n,c9:()=>u,gV:()=>c})},4792:(pe,m,s)=>{"use strict";s.d(m,{G:()=>e,Wq:()=>o,aC:()=>i});var n=s(66936),c=s(32828);const u="For more visit: aka.ms/msaljs/browser-errors",l={[c.pkceNotCreated]:"The PKCE code challenge and verifier could not be generated.",[c.cryptoNonExistent]:"The crypto object or function is not available.",[c.emptyNavigateUri]:"Navigation URI is empty. Please check stack trace for more info.",[c.hashEmptyError]:`Hash value cannot be processed because it is empty. Please verify that your redirectUri is not clearing the hash. ${u}`,[c.noStateInHash]:"Hash does not contain state. Please verify that the request originated from msal.",[c.hashDoesNotContainKnownProperties]:`Hash does not contain known properites. Please verify that your redirectUri is not changing the hash. ${u}`,[c.unableToParseState]:"Unable to parse state. Please verify that the request originated from msal.",[c.stateInteractionTypeMismatch]:"Hash contains state but the interaction type does not match the caller.",[c.interactionInProgress]:`Interaction is currently in progress. Please ensure that this interaction has been completed before calling an interactive API. ${u}`,[c.popupWindowError]:"Error opening popup window. This can happen if you are using IE or if popups are blocked in the browser.",[c.emptyWindowError]:"window.open returned null or undefined window object.",[c.userCancelled]:"User cancelled the flow.",[c.monitorPopupTimeout]:`Token acquisition in popup failed due to timeout. ${u}`,[c.monitorWindowTimeout]:`Token acquisition in iframe failed due to timeout. ${u}`,[c.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.",[c.blockIframeReload]:`Request was blocked inside an iframe because MSAL detected an authentication response. ${u}`,[c.blockNestedPopups]:"Request was blocked inside a popup because MSAL detected it was running in a popup.",[c.iframeClosedPrematurely]:"The iframe being monitored was closed prematurely.",[c.silentLogoutUnsupported]:"Silent logout not supported. Please call logoutRedirect or logoutPopup instead.",[c.noAccountError]:"No account object provided to acquireTokenSilent and no active account has been set. Please call setActiveAccount or provide an account on the request.",[c.silentPromptValueError]:"The value given for the prompt value is not valid for silent requests - must be set to 'none' or 'no_session'.",[c.noTokenRequestCacheError]:"No token request found in cache.",[c.unableToParseTokenRequestCacheError]:"The cached token request could not be parsed.",[c.noCachedAuthorityError]:"No cached authority found.",[c.authRequestNotSetError]:"Auth Request not set. Please ensure initiateAuthRequest was called from the InteractionHandler",[c.invalidCacheType]:"Invalid cache type",[c.nonBrowserEnvironment]:"Login and token requests are not supported in non-browser environments.",[c.databaseNotOpen]:"Database is not open!",[c.noNetworkConnectivity]:"No network connectivity. Check your internet connection.",[c.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'",[c.getRequestFailed]:"Network request failed. Please check the network trace to determine root cause.",[c.failedToParseResponse]:"Failed to parse network response. Check network trace.",[c.unableToLoadToken]:"Error loading token to cache.",[c.cryptoKeyNotFound]:"Cryptographic Key or Keypair not found in browser storage.",[c.authCodeRequired]:"An authorization code must be provided (as the `code` property on the request) to this flow.",[c.authCodeOrNativeAccountIdRequired]:"An authorization code or nativeAccountId must be provided to this flow.",[c.spaCodeAndNativeAccountIdPresent]:"Request cannot contain both spa code and native account id.",[c.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.",[c.unableToAcquireTokenFromNativePlatform]:`Unable to acquire token from native platform. ${u}`,[c.nativeHandshakeTimeout]:"Timed out while attempting to establish connection to browser extension",[c.nativeExtensionNotInstalled]:"Native extension is not installed. If you think this is a mistake call the initialize function.",[c.nativeConnectionNotEstablished]:`Connection to native platform has not been established. Please install a compatible browser extension and run initialize(). ${u}`,[c.uninitializedPublicClientApplication]:`You must call and await the initialize function before attempting to call any other MSAL API. ${u}`,[c.nativePromptNotSupported]:"The provided prompt is not supported by the native platform. This request should be routed to the web based flow.",[c.invalidBase64String]:"Invalid base64 encoded string."},i={pkceNotGenerated:{code:c.pkceNotCreated,desc:l[c.pkceNotCreated]},cryptoDoesNotExist:{code:c.cryptoNonExistent,desc:l[c.cryptoNonExistent]},emptyNavigateUriError:{code:c.emptyNavigateUri,desc:l[c.emptyNavigateUri]},hashEmptyError:{code:c.hashEmptyError,desc:l[c.hashEmptyError]},hashDoesNotContainStateError:{code:c.noStateInHash,desc:l[c.noStateInHash]},hashDoesNotContainKnownPropertiesError:{code:c.hashDoesNotContainKnownProperties,desc:l[c.hashDoesNotContainKnownProperties]},unableToParseStateError:{code:c.unableToParseState,desc:l[c.unableToParseState]},stateInteractionTypeMismatchError:{code:c.stateInteractionTypeMismatch,desc:l[c.stateInteractionTypeMismatch]},interactionInProgress:{code:c.interactionInProgress,desc:l[c.interactionInProgress]},popupWindowError:{code:c.popupWindowError,desc:l[c.popupWindowError]},emptyWindowError:{code:c.emptyWindowError,desc:l[c.emptyWindowError]},userCancelledError:{code:c.userCancelled,desc:l[c.userCancelled]},monitorPopupTimeoutError:{code:c.monitorPopupTimeout,desc:l[c.monitorPopupTimeout]},monitorIframeTimeoutError:{code:c.monitorWindowTimeout,desc:l[c.monitorWindowTimeout]},redirectInIframeError:{code:c.redirectInIframe,desc:l[c.redirectInIframe]},blockTokenRequestsInHiddenIframeError:{code:c.blockIframeReload,desc:l[c.blockIframeReload]},blockAcquireTokenInPopupsError:{code:c.blockNestedPopups,desc:l[c.blockNestedPopups]},iframeClosedPrematurelyError:{code:c.iframeClosedPrematurely,desc:l[c.iframeClosedPrematurely]},silentLogoutUnsupportedError:{code:c.silentLogoutUnsupported,desc:l[c.silentLogoutUnsupported]},noAccountError:{code:c.noAccountError,desc:l[c.noAccountError]},silentPromptValueError:{code:c.silentPromptValueError,desc:l[c.silentPromptValueError]},noTokenRequestCacheError:{code:c.noTokenRequestCacheError,desc:l[c.noTokenRequestCacheError]},unableToParseTokenRequestCacheError:{code:c.unableToParseTokenRequestCacheError,desc:l[c.unableToParseTokenRequestCacheError]},noCachedAuthorityError:{code:c.noCachedAuthorityError,desc:l[c.noCachedAuthorityError]},authRequestNotSet:{code:c.authRequestNotSetError,desc:l[c.authRequestNotSetError]},invalidCacheType:{code:c.invalidCacheType,desc:l[c.invalidCacheType]},notInBrowserEnvironment:{code:c.nonBrowserEnvironment,desc:l[c.nonBrowserEnvironment]},databaseNotOpen:{code:c.databaseNotOpen,desc:l[c.databaseNotOpen]},noNetworkConnectivity:{code:c.noNetworkConnectivity,desc:l[c.noNetworkConnectivity]},postRequestFailed:{code:c.postRequestFailed,desc:l[c.postRequestFailed]},getRequestFailed:{code:c.getRequestFailed,desc:l[c.getRequestFailed]},failedToParseNetworkResponse:{code:c.failedToParseResponse,desc:l[c.failedToParseResponse]},unableToLoadTokenError:{code:c.unableToLoadToken,desc:l[c.unableToLoadToken]},signingKeyNotFoundInStorage:{code:c.cryptoKeyNotFound,desc:l[c.cryptoKeyNotFound]},authCodeRequired:{code:c.authCodeRequired,desc:l[c.authCodeRequired]},authCodeOrNativeAccountRequired:{code:c.authCodeOrNativeAccountIdRequired,desc:l[c.authCodeOrNativeAccountIdRequired]},spaCodeAndNativeAccountPresent:{code:c.spaCodeAndNativeAccountIdPresent,desc:l[c.spaCodeAndNativeAccountIdPresent]},databaseUnavailable:{code:c.databaseUnavailable,desc:l[c.databaseUnavailable]},unableToAcquireTokenFromNativePlatform:{code:c.unableToAcquireTokenFromNativePlatform,desc:l[c.unableToAcquireTokenFromNativePlatform]},nativeHandshakeTimeout:{code:c.nativeHandshakeTimeout,desc:l[c.nativeHandshakeTimeout]},nativeExtensionNotInstalled:{code:c.nativeExtensionNotInstalled,desc:l[c.nativeExtensionNotInstalled]},nativeConnectionNotEstablished:{code:c.nativeConnectionNotEstablished,desc:l[c.nativeConnectionNotEstablished]},uninitializedPublicClientApplication:{code:c.uninitializedPublicClientApplication,desc:l[c.uninitializedPublicClientApplication]},nativePromptNotSupported:{code:c.nativePromptNotSupported,desc:l[c.nativePromptNotSupported]},invalidBase64StringError:{code:c.invalidBase64String,desc:l[c.invalidBase64String]}};class e extends n.WM{constructor(v){super(v,l[v]),Object.setPrototypeOf(this,e.prototype),this.name="BrowserAuthError"}}function o(d){return new e(d)}},32828:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{authCodeOrNativeAccountIdRequired:()=>ke,authCodeRequired:()=>Oe,authRequestNotSetError:()=>k,blockIframeReload:()=>C,blockNestedPopups:()=>_,cryptoKeyNotFound:()=>ct,cryptoNonExistent:()=>c,databaseNotOpen:()=>K,databaseUnavailable:()=>Qe,emptyNavigateUri:()=>u,emptyWindowError:()=>p,failedToParseResponse:()=>ce,getRequestFailed:()=>be,hashDoesNotContainKnownProperties:()=>e,hashEmptyError:()=>l,iframeClosedPrematurely:()=>w,interactionInProgress:()=>v,invalidBase64String:()=>re,invalidCacheType:()=>A,monitorPopupTimeout:()=>S,monitorWindowTimeout:()=>y,nativeConnectionNotEstablished:()=>Me,nativeExtensionNotInstalled:()=>_e,nativeHandshakeTimeout:()=>Be,nativePromptNotSupported:()=>je,noAccountError:()=>L,noCachedAuthorityError:()=>R,noNetworkConnectivity:()=>ie,noStateInHash:()=>i,noTokenRequestCacheError:()=>V,nonBrowserEnvironment:()=>H,pkceNotCreated:()=>n,popupWindowError:()=>M,postRequestFailed:()=>J,redirectInIframe:()=>f,silentLogoutUnsupported:()=>D,silentPromptValueError:()=>N,spaCodeAndNativeAccountIdPresent:()=>Re,stateInteractionTypeMismatch:()=>d,unableToAcquireTokenFromNativePlatform:()=>$e,unableToLoadToken:()=>Ge,unableToParseState:()=>o,unableToParseTokenRequestCacheError:()=>G,uninitializedPublicClientApplication:()=>Se,userCancelled:()=>E});const n="pkce_not_created",c="crypto_nonexistent",u="empty_navigate_uri",l="hash_empty_error",i="no_state_in_hash",e="hash_does_not_contain_known_properties",o="unable_to_parse_state",d="state_interaction_type_mismatch",v="interaction_in_progress",M="popup_window_error",p="empty_window_error",E="user_cancelled",S="monitor_popup_timeout",y="monitor_window_timeout",f="redirect_in_iframe",C="block_iframe_reload",_="block_nested_popups",w="iframe_closed_prematurely",D="silent_logout_unsupported",L="no_account_error",N="silent_prompt_value_error",V="no_token_request_cache_error",G="unable_to_parse_token_request_cache_error",R="no_cached_authority_error",k="auth_request_not_set_error",A="invalid_cache_type",H="non_browser_environment",K="database_not_open",ie="no_network_connectivity",J="post_request_failed",be="get_request_failed",ce="failed_to_parse_response",Ge="unable_to_load_token",ct="crypto_key_not_found",Oe="auth_code_required",ke="auth_code_or_nativeAccountId_required",Re="spa_code_and_nativeAccountId_present",Qe="database_unavailable",$e="unable_to_acquire_token_from_native_platform",Be="native_handshake_timeout",_e="native_extension_not_installed",Me="native_connection_not_established",Se="uninitialized_public_client_application",je="native_prompt_not_supported",re="invalid_base64_string"},72592:(pe,m,s)=>{"use strict";s.d(m,{aO:()=>i,c9:()=>l,cf:()=>e});var n=s(66936),c=s(85288);const u={[c.storageNotSupported]:"Given storage configuration option was not supported.",[c.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",[c.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."},l={storageNotSupportedError:{code:c.storageNotSupported,desc:u[c.storageNotSupported]},stubPcaInstanceCalled:{code:c.stubbedPublicClientApplicationCalled,desc:u[c.stubbedPublicClientApplicationCalled]},inMemRedirectUnavailable:{code:c.inMemRedirectUnavailable,desc:u[c.inMemRedirectUnavailable]}};class i extends n.WM{constructor(d,v){super(d,v),this.name="BrowserConfigurationAuthError",Object.setPrototypeOf(this,i.prototype)}}function e(o){return new i(o,u[o])}},85288:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{inMemRedirectUnavailable:()=>u,storageNotSupported:()=>n,stubbedPublicClientApplicationCalled:()=>c});const n="storage_not_supported",c="stubbed_public_client_application_called",u="in_mem_redirect_unavailable"},85968:(pe,m,s)=>{"use strict";s.d(m,{c:()=>e});var n=s(34739),c=s(98416),u=s(6536),l=s(28612),i=s(27880);class e{constructor(d,v){this.eventCallbacks=new Map,this.logger=d,this.browserCrypto=v,this.listeningToStorageEvents=!1,this.handleAccountCacheChange=this.handleAccountCacheChange.bind(this)}addEventCallback(d){if(typeof window<"u"){const v=(0,i.E5)();return this.eventCallbacks.set(v,d),this.logger.verbose(`Event callback registered with id: ${v}`),v}return null}removeEventCallback(d){this.eventCallbacks.delete(d),this.logger.verbose(`Event callback ${d} 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(d,v,M,p){if(typeof window<"u"){const E={eventType:d,interactionType:v||null,payload:M||null,error:p||null,timestamp:Date.now()};this.logger.info(`Emitting event: ${d}`),this.eventCallbacks.forEach((S,y)=>{this.logger.verbose(`Emitting event to callback ${y}: ${d}`),S.apply(null,[E])})}}handleAccountCacheChange(d){try{d.key?.includes(n.IH.ACTIVE_ACCOUNT_FILTERS)&&this.emitEvent(l.W.ACTIVE_ACCOUNT_CHANGED);const v=d.newValue||d.oldValue;if(!v)return;const M=JSON.parse(v);if("object"!=typeof M||!c.M.isAccountEntity(M))return;const E=u.B.toObject(new c.M,M).getAccountInfo();!d.oldValue&&d.newValue?(this.logger.info("Account was added to cache in a different window"),this.emitEvent(l.W.ACCOUNT_ADDED,void 0,E)):!d.newValue&&d.oldValue&&(this.logger.info("Account was removed from cache in a different window"),this.emitEvent(l.W.ACCOUNT_REMOVED,void 0,E))}catch{return}}}},88904:(pe,m,s)=>{"use strict";s.d(m,{M:()=>u});var n=s(28612),c=s(26956);class u{static getInteractionStatusFromEvent(i,e){switch(i.eventType){case n.W.LOGIN_START:return c.Yz.Login;case n.W.SSO_SILENT_START:return c.Yz.SsoSilent;case n.W.ACQUIRE_TOKEN_START:if(i.interactionType===c.wV.Redirect||i.interactionType===c.wV.Popup)return c.Yz.AcquireToken;break;case n.W.HANDLE_REDIRECT_START:return c.Yz.HandleRedirect;case n.W.LOGOUT_START:return c.Yz.Logout;case n.W.SSO_SILENT_SUCCESS:case n.W.SSO_SILENT_FAILURE:if(e&&e!==c.Yz.SsoSilent)break;return c.Yz.None;case n.W.LOGOUT_END:if(e&&e!==c.Yz.Logout)break;return c.Yz.None;case n.W.HANDLE_REDIRECT_END:if(e&&e!==c.Yz.HandleRedirect)break;return c.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(i.interactionType===c.wV.Redirect||i.interactionType===c.wV.Popup){if(e&&e!==c.Yz.Login&&e!==c.Yz.AcquireToken)break;return c.Yz.None}}return null}}},28612:(pe,m,s)=>{"use strict";s.d(m,{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:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{AccountEntity:()=>wt.M,ApiId:()=>e.Ed,AuthError:()=>ye.WM,AuthErrorCodes:()=>Te,AuthErrorMessage:()=>ye.GM,AuthenticationHeaderParser:()=>tt,AuthenticationScheme:()=>$e.me,AzureCloudInstance:()=>ht.C,BrowserAuthError:()=>k.G,BrowserAuthErrorCodes:()=>kn,BrowserAuthErrorMessage:()=>k.aC,BrowserCacheLocation:()=>e.Ir,BrowserConfigurationAuthError:()=>A.aO,BrowserConfigurationAuthErrorCodes:()=>H,BrowserConfigurationAuthErrorMessage:()=>A.c9,BrowserPerformanceClient:()=>je,BrowserPerformanceMeasurement:()=>re.BrowserPerformanceMeasurement,BrowserStorage:()=>be.K,BrowserUtils:()=>n,CacheLookupPolicy:()=>e.wd,ClientAuthError:()=>Ft.oJ,ClientAuthErrorCodes:()=>nn,ClientAuthErrorMessage:()=>Ft.m6,ClientConfigurationError:()=>we.Ou,ClientConfigurationErrorCodes:()=>rt,ClientConfigurationErrorMessage:()=>we.OA,DEFAULT_IFRAME_TIMEOUT_MS:()=>l.Ks,EventMessageUtils:()=>ce.M,EventType:()=>Ge.W,InteractionRequiredAuthError:()=>Yt.uw,InteractionRequiredAuthErrorCodes:()=>Zt,InteractionRequiredAuthErrorMessage:()=>Yt.gx,InteractionStatus:()=>e.Yz,InteractionType:()=>e.wV,JsonWebTokenTypes:()=>$e.Gu,LogLevel:()=>u.G,Logger:()=>u.Y,MemoryStorage:()=>J.W,NavigationClient:()=>ie.m,OIDC_DEFAULT_SCOPES:()=>$e.ac,PerformanceEvents:()=>ke.Xv,PromptValue:()=>$e.GI,ProtocolMode:()=>Mn.g,PublicClientApplication:()=>_,PublicClientNext:()=>R,ServerError:()=>Un.s,ServerResponseType:()=>$e.eE,SignedHttpRequest:()=>Oe,StringUtils:()=>zt.e,UrlString:()=>Hn._,WrapperSKU:()=>e.Lm,stubbedPublicClientApplication:()=>K,version:()=>i.W});var n=s(84644),c=s(1528),u=s(73364),l=s(48124),i=s(69096),e=s(26956);class o{static loggerCallback(ft,Pe){switch(ft){case u.G.Error:return void console.error(Pe);case u.G.Info:return void console.info(Pe);case u.G.Verbose:return void console.debug(Pe);case u.G.Warning:return void console.warn(Pe);default:return void console.log(Pe)}}constructor(ft){let Pe;this.browserEnvironment=typeof window<"u",this.config=(0,l.k5)(ft,this.browserEnvironment);try{Pe=window[e.Ir.SessionStorage]}catch{}const le=Pe?.getItem(e.Ip),he=Pe?.getItem(e.k9)?.toLowerCase(),We="true"===he||"false"!==he&&void 0,ze={...this.config.system.loggerOptions},gt=le&&Object.keys(u.G).includes(le)?u.G[le]:void 0;gt&&(ze.loggerCallback=o.loggerCallback,ze.logLevel=gt),void 0!==We&&(ze.piiLoggingEnabled=We),this.logger=new u.Y(ze,i.N,i.W),this.available=!1}getConfig(){return this.config}getLogger(){return this.logger}isAvailable(){return this.available}isBrowserEnvironment(){return this.browserEnvironment}}var d=s(59048);let v=(()=>{class ln{static initializeNestedAppAuthBridge(){return(0,c.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{ln.crypto=window.crypto,window.nestedAppAuthBridge.addEventListener("message",le=>{const We=JSON.parse("string"==typeof le?le:le.data),ze=ln.bridgeRequests.find(gt=>gt.requestId===We.requestId);void 0!==ze&&(ln.bridgeRequests.splice(ln.bridgeRequests.indexOf(ze),1),We.success?ze.resolve(We):ze.reject(We.error))});const Pe=yield new Promise((le,he)=>{const We={messageType:"NestedAppAuthRequest",method:"GetInitContext",requestId:ln.getRandomId()};ln.bridgeRequests.push({requestId:We.requestId,method:We.method,resolve:le,reject:he}),window.nestedAppAuthBridge.postMessage(JSON.stringify(We))});return ln.validateBridgeResultOrThrow(Pe.initContext)}catch(Pe){throw window.console.log(Pe),Pe}})()}static getRandomId(){return ln.crypto.randomUUID()}getTokenInteractive(Pe){return this.getToken("GetTokenPopup",Pe)}getTokenSilent(Pe){return this.getToken("GetToken",Pe)}getToken(Pe,le){var he=this;return(0,c.c)(function*(){const We=yield he.sendRequest(Pe,{tokenParams:le});return{token:ln.validateBridgeResultOrThrow(We.token),account:ln.validateBridgeResultOrThrow(We.account)}})()}getActiveAccount(){var Pe=this;return(0,c.c)(function*(){const le=yield Pe.sendRequest("GetActiveAccount");return ln.validateBridgeResultOrThrow(le.account)})()}getHostCapabilities(){return this.capabilities??null}sendRequest(Pe,le){const he={messageType:"NestedAppAuthRequest",method:Pe,requestId:ln.getRandomId(),...le};return new Promise((ze,gt)=>{ln.bridgeRequests.push({requestId:he.requestId,method:he.method,resolve:ze,reject:gt}),window.nestedAppAuthBridge.postMessage(JSON.stringify(he))})}static validateBridgeResultOrThrow(Pe){if(void 0===Pe)throw{status:d.I.NestedAppAuthUnavailable};return Pe}constructor(Pe,le,he){this.sdkName=Pe,this.sdkVersion=le,this.capabilities=he}static create(){return(0,c.c)(function*(){const Pe=yield ln.initializeNestedAppAuthBridge();return new ln(Pe.sdkName,Pe.sdkVersion,Pe.capabilities)})()}}return ln.bridgeRequests=[],ln})(),M=(()=>{class ln extends o{constructor(){super(...arguments),this.bridgeProxy=void 0,this.activeAccount=void 0}getModuleName(){return ln.MODULE_NAME}getId(){return ln.ID}getBridgeProxy(){return this.bridgeProxy}getActiveAccount(){return this.activeAccount}setActiveAccount(Pe){this.activeAccount=Pe}initialize(){var Pe=this;return(0,c.c)(function*(){try{if(typeof window<"u"){const le=yield v.create();try{le.getHostCapabilities()?.queryAccount&&(Pe.activeAccount=yield le.getActiveAccount())}catch{Pe.activeAccount=void 0}Pe.bridgeProxy=le,Pe.available=void 0!==le}else Pe.available=!1}catch{Pe.available=!1}finally{return Pe.available}})()}}return ln.MODULE_NAME="",ln.ID="TeamsAppOperatingContext",ln})(),p=(()=>{class ln extends o{getModuleName(){return ln.MODULE_NAME}getId(){return ln.ID}initialize(){var Pe=this;return(0,c.c)(function*(){return Pe.available=typeof window<"u",Pe.available})()}}return ln.MODULE_NAME="",ln.ID="StandardOperatingContext",ln})();function S(){return(S=(0,c.c)(function*(ln){const ft=new p(ln);return yield ft.initialize(),(yield Promise.resolve().then(s.bind(s,65304))).StandardController.createController(ft)})).apply(this,arguments)}function y(ln){return f.apply(this,arguments)}function f(){return(f=(0,c.c)(function*(ln){const ft=new p(ln),Pe=new M(ln),le=[ft.initialize(),Pe.initialize()];return yield Promise.all(le),Pe.isAvailable()&&Pe.getConfig().auth.supportsNestedAppAuth?(yield s.e(1620).then(s.bind(s,61620))).NestedAppAuthController.createController(Pe):ft.isAvailable()?(yield Promise.resolve().then(s.bind(s,65304))).StandardController.createController(ft):null})).apply(this,arguments)}var C=s(65304);class _{static createPublicClientApplication(ft){return(0,c.c)(function*(){const Pe=yield function E(ln){return S.apply(this,arguments)}(ft);return new _(ft,Pe)})()}constructor(ft,Pe){if(Pe)this.controller=Pe;else{const le=new p(ft);this.controller=new C.StandardController(le)}}initialize(){var ft=this;return(0,c.c)(function*(){return ft.controller.initialize()})()}acquireTokenPopup(ft){var Pe=this;return(0,c.c)(function*(){return Pe.controller.acquireTokenPopup(ft)})()}acquireTokenRedirect(ft){return this.controller.acquireTokenRedirect(ft)}acquireTokenSilent(ft){return this.controller.acquireTokenSilent(ft)}acquireTokenByCode(ft){return this.controller.acquireTokenByCode(ft)}addEventCallback(ft){return this.controller.addEventCallback(ft)}removeEventCallback(ft){return this.controller.removeEventCallback(ft)}addPerformanceCallback(ft){return this.controller.addPerformanceCallback(ft)}removePerformanceCallback(ft){return this.controller.removePerformanceCallback(ft)}enableAccountStorageEvents(){this.controller.enableAccountStorageEvents()}disableAccountStorageEvents(){this.controller.disableAccountStorageEvents()}getAccount(ft){return this.controller.getAccount(ft)}getAccountByHomeId(ft){return this.controller.getAccountByHomeId(ft)}getAccountByLocalId(ft){return this.controller.getAccountByLocalId(ft)}getAccountByUsername(ft){return this.controller.getAccountByUsername(ft)}getAllAccounts(ft){return this.controller.getAllAccounts(ft)}handleRedirectPromise(ft){return this.controller.handleRedirectPromise(ft)}loginPopup(ft){return this.controller.loginPopup(ft)}loginRedirect(ft){return this.controller.loginRedirect(ft)}logout(ft){return this.controller.logout(ft)}logoutRedirect(ft){return this.controller.logoutRedirect(ft)}logoutPopup(ft){return this.controller.logoutPopup(ft)}ssoSilent(ft){return this.controller.ssoSilent(ft)}getTokenCache(){return this.controller.getTokenCache()}getLogger(){return this.controller.getLogger()}setLogger(ft){this.controller.setLogger(ft)}setActiveAccount(ft){this.controller.setActiveAccount(ft)}getActiveAccount(){return this.controller.getActiveAccount()}initializeWrapperLibrary(ft,Pe){return this.controller.initializeWrapperLibrary(ft,Pe)}setNavigationClient(ft){this.controller.setNavigationClient(ft)}getConfiguration(){return this.controller.getConfiguration()}hydrateCache(ft,Pe){var le=this;return(0,c.c)(function*(){return le.controller.hydrateCache(ft,Pe)})()}clearCache(ft){return this.controller.clearCache(ft)}}var w=s(65172),D=s(69812),L=s(7184),N=s(85968);class V{constructor(ft){this.initialized=!1,this.operatingContext=ft,this.isBrowserEnvironment=this.operatingContext.isBrowserEnvironment(),this.config=ft.getConfig(),this.logger=ft.getLogger(),this.performanceClient=this.config.telemetry.client,this.browserCrypto=this.isBrowserEnvironment?new L.A(this.logger,this.performanceClient):w.K,this.browserStorage=this.isBrowserEnvironment?new D.Y(this.config.auth.clientId,this.config.cache,this.browserCrypto,this.logger):(0,D.S)(this.config.auth.clientId,this.logger),this.eventHandler=new N.c(this.logger,this.browserCrypto)}getBrowserStorage(){return this.browserStorage}getEventHandler(){return this.eventHandler}getAccount(ft){return null}getAccountByHomeId(ft){return null}getAccountByLocalId(ft){return null}getAccountByUsername(ft){return null}getAllAccounts(){return[]}initialize(){return this.initialized=!0,Promise.resolve()}acquireTokenPopup(ft){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}acquireTokenRedirect(ft){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),Promise.resolve()}acquireTokenSilent(ft){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}acquireTokenByCode(ft){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}acquireTokenNative(ft,Pe,le){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}acquireTokenByRefreshToken(ft,Pe){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}addEventCallback(ft){return this.eventHandler.addEventCallback(ft)}removeEventCallback(ft){this.eventHandler.removeEventCallback(ft)}addPerformanceCallback(ft){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),""}removePerformanceCallback(ft){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(ft){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),Promise.resolve(null)}loginPopup(ft){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}loginRedirect(ft){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}logout(ft){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}logoutRedirect(ft){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}logoutPopup(ft){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),{}}ssoSilent(ft){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(ft){(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment)}setActiveAccount(ft){(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment)}getActiveAccount(){return(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment),null}initializeWrapperLibrary(ft,Pe){this.browserStorage.setWrapperMetadata(ft,Pe)}setNavigationClient(ft){(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(ft,Pe){(0,n.blockAPICallsBeforeInitialize)(this.initialized),(0,n.blockNonBrowserEnvironment)(this.isBrowserEnvironment)}clearCache(ft){var Pe=this;return(0,c.c)(function*(){(0,n.blockAPICallsBeforeInitialize)(Pe.initialized),(0,n.blockNonBrowserEnvironment)(Pe.isBrowserEnvironment)})()}hydrateCache(ft,Pe){var le=this;return(0,c.c)(function*(){(0,n.blockAPICallsBeforeInitialize)(le.initialized),(0,n.blockNonBrowserEnvironment)(le.isBrowserEnvironment)})()}}let G=(()=>{class ln extends o{getModuleName(){return ln.MODULE_NAME}getId(){return ln.ID}initialize(){return(0,c.c)(function*(){return!0})()}}return ln.MODULE_NAME="",ln.ID="UnknownOperatingContext",ln})();class R{static createPublicClientApplication(ft){return(0,c.c)(function*(){const Pe=yield y(ft);let le;return le=null!==Pe?new R(ft,Pe):new R(ft),le})()}constructor(ft,Pe){if(this.configuration=ft,Pe)this.controller=Pe;else{const le=new G(ft);this.controller=new V(le)}}initialize(){var ft=this;return(0,c.c)(function*(){if(ft.controller instanceof V){const Pe=yield y(ft.configuration);return null!==Pe&&(ft.controller=Pe),ft.controller.initialize()}return Promise.resolve()})()}acquireTokenPopup(ft){var Pe=this;return(0,c.c)(function*(){return Pe.controller.acquireTokenPopup(ft)})()}acquireTokenRedirect(ft){return this.controller.acquireTokenRedirect(ft)}acquireTokenSilent(ft){return this.controller.acquireTokenSilent(ft)}acquireTokenByCode(ft){return this.controller.acquireTokenByCode(ft)}addEventCallback(ft){return this.controller.addEventCallback(ft)}removeEventCallback(ft){return this.controller.removeEventCallback(ft)}addPerformanceCallback(ft){return this.controller.addPerformanceCallback(ft)}removePerformanceCallback(ft){return this.controller.removePerformanceCallback(ft)}enableAccountStorageEvents(){this.controller.enableAccountStorageEvents()}disableAccountStorageEvents(){this.controller.disableAccountStorageEvents()}getAccount(ft){return this.controller.getAccount(ft)}getAccountByHomeId(ft){return this.controller.getAccountByHomeId(ft)}getAccountByLocalId(ft){return this.controller.getAccountByLocalId(ft)}getAccountByUsername(ft){return this.controller.getAccountByUsername(ft)}getAllAccounts(ft){return this.controller.getAllAccounts(ft)}handleRedirectPromise(ft){return this.controller.handleRedirectPromise(ft)}loginPopup(ft){return this.controller.loginPopup(ft)}loginRedirect(ft){return this.controller.loginRedirect(ft)}logout(ft){return this.controller.logout(ft)}logoutRedirect(ft){return this.controller.logoutRedirect(ft)}logoutPopup(ft){return this.controller.logoutPopup(ft)}ssoSilent(ft){return this.controller.ssoSilent(ft)}getTokenCache(){return this.controller.getTokenCache()}getLogger(){return this.controller.getLogger()}setLogger(ft){this.controller.setLogger(ft)}setActiveAccount(ft){this.controller.setActiveAccount(ft)}getActiveAccount(){return this.controller.getActiveAccount()}initializeWrapperLibrary(ft,Pe){return this.controller.initializeWrapperLibrary(ft,Pe)}setNavigationClient(ft){this.controller.setNavigationClient(ft)}getConfiguration(){return this.controller.getConfiguration()}hydrateCache(ft,Pe){var le=this;return(0,c.c)(function*(){return le.controller.hydrateCache(ft,Pe)})()}clearCache(ft){return this.controller.clearCache(ft)}}var k=s(4792),A=s(72592),H=s(85288);const K={initialize:()=>Promise.reject((0,A.cf)(H.stubbedPublicClientApplicationCalled)),acquireTokenPopup:()=>Promise.reject((0,A.cf)(H.stubbedPublicClientApplicationCalled)),acquireTokenRedirect:()=>Promise.reject((0,A.cf)(H.stubbedPublicClientApplicationCalled)),acquireTokenSilent:()=>Promise.reject((0,A.cf)(H.stubbedPublicClientApplicationCalled)),acquireTokenByCode:()=>Promise.reject((0,A.cf)(H.stubbedPublicClientApplicationCalled)),getAllAccounts:()=>[],getAccountByHomeId:()=>null,getAccountByUsername:()=>null,getAccountByLocalId:()=>null,handleRedirectPromise:()=>Promise.reject((0,A.cf)(H.stubbedPublicClientApplicationCalled)),loginPopup:()=>Promise.reject((0,A.cf)(H.stubbedPublicClientApplicationCalled)),loginRedirect:()=>Promise.reject((0,A.cf)(H.stubbedPublicClientApplicationCalled)),logout:()=>Promise.reject((0,A.cf)(H.stubbedPublicClientApplicationCalled)),logoutRedirect:()=>Promise.reject((0,A.cf)(H.stubbedPublicClientApplicationCalled)),logoutPopup:()=>Promise.reject((0,A.cf)(H.stubbedPublicClientApplicationCalled)),ssoSilent:()=>Promise.reject((0,A.cf)(H.stubbedPublicClientApplicationCalled)),addEventCallback:()=>null,removeEventCallback:()=>{},addPerformanceCallback:()=>"",removePerformanceCallback:()=>!1,enableAccountStorageEvents:()=>{},disableAccountStorageEvents:()=>{},getTokenCache:()=>{throw(0,A.cf)(H.stubbedPublicClientApplicationCalled)},getLogger:()=>{throw(0,A.cf)(H.stubbedPublicClientApplicationCalled)},setLogger:()=>{},setActiveAccount:()=>{},getActiveAccount:()=>null,initializeWrapperLibrary:()=>{},setNavigationClient:()=>{},getConfiguration:()=>{throw(0,A.cf)(H.stubbedPublicClientApplicationCalled)},hydrateCache:()=>Promise.reject((0,A.cf)(H.stubbedPublicClientApplicationCalled)),clearCache:()=>Promise.reject((0,A.cf)(H.stubbedPublicClientApplicationCalled))};var ie=s(64952),J=s(61744),be=s(71720),ce=s(88904),Ge=s(28612),ct=s(46392);class Oe{constructor(ft,Pe){this.logger=new u.Y(Pe&&Pe.loggerOptions||{},i.N,i.W),this.cryptoOps=new L.A(this.logger),this.popTokenGenerator=new ct.w(this.cryptoOps),this.shrParameters=ft}generatePublicKeyThumbprint(){var ft=this;return(0,c.c)(function*(){const{kid:Pe}=yield ft.popTokenGenerator.generateKid(ft.shrParameters);return Pe})()}signRequest(ft,Pe,le){var he=this;return(0,c.c)(function*(){return he.popTokenGenerator.signPayload(ft,Pe,he.shrParameters,le)})()}removeKeys(ft){var Pe=this;return(0,c.c)(function*(){return Pe.cryptoOps.removeTokenBindingKey(ft)})()}}var ke=s(85348),Re=s(35128);class Qe{constructor(ft,Pe,le,he,We,ze,gt){this.authority=Pe,this.libraryName=he,this.libraryVersion=We,this.applicationTelemetry=ze,this.clientId=ft,this.logger=le,this.callbacks=new Map,this.eventsByCorrelationId=new Map,this.queueMeasurements=new Map,this.preQueueTimeByCorrelationId=new Map,this.intFields=gt||new Set;for(const Gt of ke.ol)this.intFields.add(Gt)}startPerformanceMeasurement(ft,Pe){return{}}getPreQueueTime(ft,Pe){const le=this.preQueueTimeByCorrelationId.get(Pe);if(le){if(le.name===ft)return le.time;this.logger.trace(`PerformanceClient.getPreQueueTime: no pre-queue time found for ${ft}, unable to add queue measurement`)}else this.logger.trace(`PerformanceClient.getPreQueueTime: no pre-queue times found for correlationId: ${Pe}, unable to add queue measurement`)}calculateQueuedTime(ft,Pe){return ft<1?(this.logger.trace(`PerformanceClient: preQueueTime should be a positive integer and not ${ft}`),0):Pe<1?(this.logger.trace(`PerformanceClient: currentTime should be a positive integer and not ${Pe}`),0):Pethis.endMeasurement({...he,...We}),discard:()=>this.discardMeasurements(he.correlationId),add:We=>this.addFields(We,he.correlationId),increment:We=>this.incrementFields(We,he.correlationId),event:he,measurement:new Re.W}}endMeasurement(ft){const Pe=this.eventsByCorrelationId.get(ft.correlationId);if(!Pe)return this.logger.trace(`PerformanceClient: Measurement not found for ${ft.eventId}`,ft.correlationId),null;const le=ft.eventId===Pe.eventId;let he={totalQueueTime:0,totalQueueCount:0,manuallyCompletedCount:0};le?(he=this.getQueueInfo(ft.correlationId),this.discardCache(Pe.correlationId)):Pe.incompleteSubMeasurements?.delete(ft.eventId);const We=ft.durationMs||this.getDurationMs(ft.startTimeMs);if(this.logger.trace(`PerformanceClient: Performance measurement ended for ${ft.name}: ${We} ms`,ft.correlationId),!le)return Pe[ft.name+"DurationMs"]=Math.floor(We),{...Pe};let ze={...Pe,...ft},gt=0;return ze.incompleteSubMeasurements?.forEach(Gt=>{this.logger.trace(`PerformanceClient: Incomplete submeasurement ${Gt.name} found for ${ft.name}`,ze.correlationId),gt++}),ze.incompleteSubMeasurements=void 0,ze={...ze,durationMs:Math.round(We),queuedTimeMs:he.totalQueueTime,queuedCount:he.totalQueueCount,queuedManuallyCompletedCount:he.manuallyCompletedCount,status:ke.W8.Completed,incompleteSubsCount:gt},this.truncateIntegralFields(ze),this.emitEvents([ze],ft.correlationId),ze}addFields(ft,Pe){this.logger.trace("PerformanceClient: Updating static fields");const le=this.eventsByCorrelationId.get(Pe);le?this.eventsByCorrelationId.set(Pe,{...le,...ft}):this.logger.trace("PerformanceClient: Event not found for",Pe)}incrementFields(ft,Pe){this.logger.trace("PerformanceClient: Updating counters");const le=this.eventsByCorrelationId.get(Pe);if(le)for(const he in ft){if(le.hasOwnProperty(he)){if(isNaN(Number(le[he])))return}else le[he]=0;le[he]+=ft[he]}else this.logger.trace("PerformanceClient: Event not found for",Pe)}cacheEventByCorrelationId(ft){const Pe=this.eventsByCorrelationId.get(ft.correlationId);Pe?(this.logger.trace(`PerformanceClient: Performance measurement for ${ft.name} added/updated`,ft.correlationId),Pe.incompleteSubMeasurements=Pe.incompleteSubMeasurements||new Map,Pe.incompleteSubMeasurements.set(ft.eventId,{name:ft.name,startTimeMs:ft.startTimeMs})):(this.logger.trace(`PerformanceClient: Performance measurement for ${ft.name} started`,ft.correlationId),this.eventsByCorrelationId.set(ft.correlationId,{...ft}))}getQueueInfo(ft){const Pe=this.queueMeasurements.get(ft);Pe||this.logger.trace(`PerformanceClient: no queue measurements found for for correlationId: ${ft}`);let le=0,he=0,We=0;return Pe?.forEach(ze=>{le+=ze.queueTime,he++,We+=ze.manuallyCompleted?1:0}),{totalQueueTime:le,totalQueueCount:he,manuallyCompletedCount:We}}discardMeasurements(ft){this.logger.trace("PerformanceClient: Performance measurements discarded",ft),this.eventsByCorrelationId.delete(ft)}discardCache(ft){this.discardMeasurements(ft),this.logger.trace("PerformanceClient: QueueMeasurements discarded",ft),this.queueMeasurements.delete(ft),this.logger.trace("PerformanceClient: Pre-queue times discarded",ft),this.preQueueTimeByCorrelationId.delete(ft)}addPerformanceCallback(ft){const Pe=this.generateId();return this.callbacks.set(Pe,ft),this.logger.verbose(`PerformanceClient: Performance callback registered with id: ${Pe}`),Pe}removePerformanceCallback(ft){const Pe=this.callbacks.delete(ft);return this.logger.verbose(Pe?`PerformanceClient: Performance callback ${ft} removed.`:`PerformanceClient: Performance callback ${ft} not removed.`),Pe}emitEvents(ft,Pe){this.logger.verbose("PerformanceClient: Emitting performance events",Pe),this.callbacks.forEach((le,he)=>{this.logger.trace(`PerformanceClient: Emitting event to callback ${he}`,Pe),le.apply(null,[ft])})}truncateIntegralFields(ft){this.intFields.forEach(Pe=>{Pe in ft&&"number"==typeof ft[Pe]&&(ft[Pe]=Math.floor(ft[Pe]))})}getDurationMs(ft){const Pe=Date.now()-ft;return Pe<0?Pe:0}}var $e=s(34739),Be=s(27880);function _e(){let ln;try{ln=window[e.Ir.SessionStorage];const ft=ln?.getItem(e.OG);if(1===Number(ft))return Promise.resolve().then(s.bind(s,18156))}catch{}}function Me(){return typeof window<"u"&&typeof window.performance<"u"&&"function"==typeof window.performance.now}function Se(ln){if(ln&&Me())return Math.round(window.performance.now()-ln)}class je extends Qe{constructor(ft,Pe){super(ft.auth.clientId,ft.auth.authority||`${$e.Mv.DEFAULT_AUTHORITY}`,new u.Y(ft.system?.loggerOptions||{},i.N,i.W),i.N,i.W,ft.telemetry?.application||{appName:"",appVersion:""},Pe)}generateId(){return(0,Be.E5)()}getPageVisibility(){return document.visibilityState?.toString()||null}deleteIncompleteSubMeasurements(ft){_e()?.then(Pe=>{const le=this.eventsByCorrelationId.get(ft.event.correlationId),We=[];le&&le.eventId===ft.event.eventId&&le?.incompleteSubMeasurements&&le.incompleteSubMeasurements.forEach(ze=>{We.push({...ze})}),Pe.BrowserPerformanceMeasurement.flushMeasurements(ft.event.correlationId,We)})}startMeasurement(ft,Pe){const le=this.getPageVisibility(),he=super.startMeasurement(ft,Pe),We=Me()?window.performance.now():void 0,ze=_e()?.then(gt=>new gt.BrowserPerformanceMeasurement(ft,he.event.correlationId));return ze?.then(gt=>gt.startMeasurement()),{...he,end:gt=>{const Gt=he.end({...gt,startPageVisibility:le,endPageVisibility:this.getPageVisibility(),durationMs:Se(We)});return ze?.then(dn=>dn.endMeasurement()),this.deleteIncompleteSubMeasurements(he),Gt},discard:()=>{he.discard(),ze?.then(gt=>gt.flushMeasurement()),this.deleteIncompleteSubMeasurements(he)}}}setPreQueueTime(ft,Pe){if(!Me())return void this.logger.trace(`BrowserPerformanceClient: window performance API not available, unable to set telemetry queue time for ${ft}`);if(!Pe)return void this.logger.trace(`BrowserPerformanceClient: correlationId for ${ft} not provided, unable to set telemetry queue time`);const le=this.preQueueTimeByCorrelationId.get(Pe);le&&(this.logger.trace(`BrowserPerformanceClient: Incomplete pre-queue ${le.name} found`,Pe),this.addQueueMeasurement(le.name,Pe,void 0,!0)),this.preQueueTimeByCorrelationId.set(Pe,{name:ft,time:window.performance.now()})}addQueueMeasurement(ft,Pe,le,he){if(!Me())return void this.logger.trace(`BrowserPerformanceClient: window performance API not available, unable to add queue measurement for ${ft}`);if(!Pe)return void this.logger.trace(`BrowserPerformanceClient: correlationId for ${ft} not provided, unable to add queue measurement`);const We=super.getPreQueueTime(ft,Pe);if(!We)return;const ze=window.performance.now(),gt=le||super.calculateQueuedTime(We,ze);return super.addQueueMeasurement(ft,Pe,gt,he)}}var re=s(18156),we=s(59684),rt=s(32336);class tt{constructor(ft){this.headers=ft}getShrNonce(){const ft=this.headers[$e.MF.AuthenticationInfo];if(ft){const le=this.parseChallenges(ft);if(le.nextnonce)return le.nextnonce;throw(0,we.QN)(rt.invalidAuthenticationHeader)}const Pe=this.headers[$e.MF.WWWAuthenticate];if(Pe){const le=this.parseChallenges(Pe);if(le.nonce)return le.nonce;throw(0,we.QN)(rt.invalidAuthenticationHeader)}throw(0,we.QN)(rt.missingNonceAuthenticationHeader)}parseChallenges(ft){const Pe=ft.indexOf(" "),le=ft.substr(Pe+1).split(","),he={};return le.forEach(We=>{const[ze,gt]=We.split("=");he[ze]=unescape(gt.replace(/['"]+/g,$e.Mv.EMPTY_STRING))}),he}}var wt=s(98416),ye=s(66936),Te=s(83228),ht=s(67952),Ft=s(28876),nn=s(71408),Yt=s(53408),Zt=s(72896),Mn=s(65072),Un=s(76944),zt=s(7828),Hn=s(67648),kn=s(32828)},59048:(pe,m,s)=>{"use strict";s.d(m,{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:(pe,m,s)=>{"use strict";s.d(m,{m:()=>n});class n{navigateInternal(u,l){return n.defaultNavigateWindow(u,l)}navigateExternal(u,l){return n.defaultNavigateWindow(u,l)}static defaultNavigateWindow(u,l){return l.noHistory?window.location.replace(u):window.location.assign(u),new Promise(i=>{setTimeout(()=>{i(!0)},l.timeout)})}}},69096:(pe,m,s)=>{"use strict";s.d(m,{N:()=>n,W:()=>c});const n="@azure/msal-browser",c="3.10.0"},18156:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{BrowserPerformanceMeasurement:()=>n});class n{constructor(u,l){this.correlationId=l,this.measureName=n.makeMeasureName(u,l),this.startMark=n.makeStartMark(u,l),this.endMark=n.makeEndMark(u,l)}static makeMeasureName(u,l){return`msal.measure.${u}.${l}`}static makeStartMark(u,l){return`msal.start.${u}.${l}`}static makeEndMark(u,l){return`msal.end.${u}.${l}`}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(u,l){if(n.supportsBrowserPerformance())try{l.forEach(i=>{const e=n.makeMeasureName(i.name,u);window.performance.getEntriesByName(e,"measure").length>0&&(window.performance.clearMeasures(e),window.performance.clearMarks(n.makeStartMark(e,u)),window.performance.clearMarks(n.makeEndMark(e,u)))})}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 u=window.performance.getEntriesByName(this.measureName,"measure");if(u.length>0){const l=u[0].duration;return window.performance.clearMeasures(this.measureName),window.performance.clearMarks(this.startMark),window.performance.clearMarks(this.endMark),l}}catch{}return null}}},26956:(pe,m,s)=>{"use strict";s.d(m,{CM:()=>v,Ce:()=>l,Ed:()=>M,Ip:()=>N,Ir:()=>i,Lm:()=>f,OG:()=>G,UZ:()=>d,Yz:()=>E,a:()=>L,eG:()=>y,eQ:()=>w,f6:()=>C,gV:()=>_,ig:()=>c,k9:()=>V,sJ:()=>u,wV:()=>p,wd:()=>D,wv:()=>S,yI:()=>e,zH:()=>o});var n=s(34739);const c={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"},u={CHANNEL_ID:"53ee284d-920a-4b59-9d30-a60315b26836",PREFERRED_EXTENSION_ID:"ppnbnpeolgkicgegkbkbjmhlideopiji",MATS_TELEMETRY:"MATS"},l={HandshakeRequest:"Handshake",HandshakeResponse:"HandshakeResponse",GetToken:"GetToken",Response:"Response"},i={LocalStorage:"localStorage",SessionStorage:"sessionStorage",MemoryStorage:"memoryStorage"},e={GET:"GET",POST:"POST"},o={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"},d={ACCOUNT_KEYS:"msal.account.keys",TOKEN_KEYS:"msal.token.keys"},v={WRAPPER_SKU:"wrapper.sku",WRAPPER_VER:"wrapper.version"},M={acquireTokenRedirect:861,acquireTokenPopup:862,ssoSilent:863,acquireTokenSilent_authCode:864,handleRedirectPromise:865,acquireTokenByCode:866,acquireTokenSilent_silentFlow:61,logout:961,logoutPopup:962};var p=function(R){return R.Redirect="redirect",R.Popup="popup",R.Silent="silent",R.None="none",R}(p||{});const E={Startup:"startup",Login:"login",Logout:"logout",AcquireToken:"acquireToken",SsoSilent:"ssoSilent",HandleRedirect:"handleRedirect",None:"none"},S={scopes:n.ac},y="jwk",f={React:"@azure/msal-react",Angular:"@azure/msal-angular"},C="msal.db",_=1,w=`${C}.keys`,D={Default:0,AccessToken:1,AccessTokenAndRefreshToken:2,RefreshToken:3,RefreshTokenAndNetwork:4,Skip:5},L=[D.Default,D.Skip,D.RefreshTokenAndNetwork],N="msal.browser.log.level",V="msal.browser.log.pii",G="msal.browser.performance.enabled"},99632:(pe,m,s)=>{"use strict";s.d(m,{Q:()=>l});var n=s(86144),c=s(28876),u=s(71408);function l(i,e){if(!e)return null;try{return n.c.parseRequestState(i,e).libraryState.meta}catch{throw(0,c.mQ)(u.invalidState)}}},84644:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{blockAPICallsBeforeInitialize:()=>C,blockAcquireTokenInPopups:()=>y,blockNonBrowserEnvironment:()=>f,blockRedirectInIframe:()=>S,blockReloadInHiddenIframes:()=>E,clearHash:()=>e,createGuid:()=>w,getCurrentUri:()=>M,getHomepage:()=>p,isInIframe:()=>d,isInPopup:()=>v,preconnect:()=>_,replaceHash:()=>o});var n=s(67648),c=s(4792),u=s(26956),l=s(27880),i=s(32828);function e(D){D.location.hash="","function"==typeof D.history.replaceState&&D.history.replaceState(null,"",`${D.location.origin}${D.location.pathname}${D.location.search}`)}function o(D){const L=D.split("#");L.shift(),window.location.hash=L.length>0?L.join("#"):""}function d(){return window.parent!==window}function v(){return typeof window<"u"&&!!window.opener&&window.opener!==window&&"string"==typeof window.name&&0===window.name.indexOf(`${u.ig.POPUP_NAME_PREFIX}.`)}function M(){return window.location.href.split("?")[0].split("#")[0]}function p(){const L=new n._(window.location.href).getUrlComponents();return`${L.Protocol}//${L.HostNameAndPort}/`}function E(){if(n._.hashContainsKnownProperties(window.location.hash)&&d())throw(0,c.Wq)(i.blockIframeReload)}function S(D,L){const N=d();if(D===u.wV.Redirect&&N&&!L)throw(0,c.Wq)(i.redirectInIframe)}function y(){if(v())throw(0,c.Wq)(i.blockNestedPopups)}function f(D){if(!D)throw(0,c.Wq)(i.nonBrowserEnvironment)}function C(D){if(!D)throw(0,c.Wq)(i.uninitializedPublicClientApplication)}function _(D){const L=document.createElement("link");L.rel="preconnect",L.href=new URL(D).origin,L.crossOrigin="anonymous",document.head.appendChild(L),window.setTimeout(()=>{try{document.head.removeChild(L)}catch{}},1e4)}function w(){return(0,l.E5)()}},60928:(pe,m,s)=>{"use strict";function n(l,i){return!!l&&!!i&&l===i.split(".")[1]}function c(l,i){const{oid:e,sub:o,tid:d,name:v,tfp:M,acr:p}=i,E=d||M||p||"";return{tenantId:E,localAccountId:e||o||"",name:v,isHomeTenant:n(E,l)}}function u(l,i,e,o){let d=l;if(i){const{isHomeTenant:v,...M}=i;d={...l,...M}}if(e){const{isHomeTenant:v,...M}=c(l.homeAccountId,e);return d={...d,...M,idTokenClaims:e,idToken:o},d}return d}s.d(m,{EJ:()=>c,Ho:()=>u,Wo:()=>n})},6400:(pe,m,s)=>{"use strict";s.d(m,{UH:()=>i,aw:()=>u});var n=s(28876),c=s(71408);function u(e,o){const d=function l(e){if(!e)throw(0,n.mQ)(c.nullOrEmptyToken);const d=/^([^\.\s]*)\.([^\.\s]+)\.([^\.\s]*)$/.exec(e);if(!d||d.length<4)throw(0,n.mQ)(c.tokenParsingError);return d[2]}(e);try{const v=o(d);return JSON.parse(v)}catch{throw(0,n.mQ)(c.tokenParsingError)}}function i(e,o){if(0===o||Date.now()-3e5>e+o)throw(0,n.mQ)(c.maxAgeTranspired)}},16256:(pe,m,s)=>{"use strict";s.d(m,{s:()=>n});const n={HOME_ACCOUNT_ID:"home_account_id",UPN:"UPN"}},22045:(pe,m,s)=>{"use strict";s.d(m,{G:()=>l,k:()=>i});var n=s(28876),c=s(34739),u=s(71408);function l(e,o){if(!e)throw(0,n.mQ)(u.clientInfoEmptyError);try{const d=o(e);return JSON.parse(d)}catch{throw(0,n.mQ)(u.clientInfoDecodingError)}}function i(e){if(!e)throw(0,n.mQ)(u.clientInfoDecodingError);const o=e.split(c.Mj.CLIENT_INFO_SEPARATOR,2);return{uid:o[0],utid:o.length<2?c.Mv.EMPTY_STRING:o[1]}}},79032:(pe,m,s)=>{"use strict";function n(c){return c&&(c.tid||c.tfp||c.acr)||null}s.d(m,{c:()=>n})},74968:(pe,m,s)=>{"use strict";s.d(m,{ET:()=>o,IP:()=>e,UD:()=>v,_8:()=>M,gB:()=>l});var n=s(67648),c=s(34739);const l={"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"}},i={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 o(p,E){let S;const y=p.canonicalAuthority;if(y){const f=new n._(y).getUrlComponents().HostNameAndPort;S=d(f,p.cloudDiscoveryMetadata?.metadata,c.cv.CONFIG,E)||d(f,i.metadata,c.cv.HARDCODED_VALUES,E)||p.knownAuthorities}return S||[]}function d(p,E,S,y){if(y?.trace(`getAliasesFromMetadata called with source: ${S}`),p&&E){const f=M(E,p);if(f)return y?.trace(`getAliasesFromMetadata: found cloud discovery metadata in ${S}, returning aliases`),f.aliases;y?.trace(`getAliasesFromMetadata: did not find cloud discovery metadata in ${S}`)}return null}function v(p){return M(i.metadata,p)}function M(p,E){for(let S=0;S{p.aliases.forEach(E=>{e.add(E)})})},67952:(pe,m,s)=>{"use strict";s.d(m,{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:(pe,m,s)=>{"use strict";s.d(m,{O:()=>n});const n={Default:0,Adfs:1,Dsts:2,Ciam:3}},65072:(pe,m,s)=>{"use strict";s.d(m,{g:()=>n});const n={AAD:"AAD",OIDC:"OIDC"}},6536:(pe,m,s)=>{"use strict";s.d(m,{B:()=>E,K:()=>S});var n=s(1528),c=s(34739),u=s(72584),l=s(95248),i=s(98416),e=s(28876),o=s(60928),d=s(6400),v=s(75205),M=s(74968),p=s(71408);class E{constructor(f,C,_,w){this.clientId=f,this.cryptoImpl=C,this.commonLogger=_.clone(v.N,v.W),this.staticAuthorityOptions=w}getAllAccounts(f){return this.buildTenantProfiles(this.getAccountsFilteredBy(f||{}),f)}getAccountInfoFilteredBy(f){const C=this.getAllAccounts(f);return C.length>1?C.sort(w=>w.idTokenClaims?-1:1)[0]:1===C.length?C[0]:null}getBaseAccountInfo(f){const C=this.getAccountsFilteredBy(f);return C.length>0?C[0].getAccountInfo():null}buildTenantProfiles(f,C){return f.flatMap(_=>this.getAccountInfoForTenantProfiles(_,C))}getAccountInfoForTenantProfiles(f,C){return this.getTenantProfilesFromAccountEntity(f,C?.tenantId,C)}getTenantedAccountInfoByFilter(f,C,_,w){let L,D=null;if(w&&!this.tenantProfileMatchesFilter(_,w))return null;const N=this.getIdToken(f,C,_.tenantId);return N&&(L=(0,d.aw)(N.secret,this.cryptoImpl.base64Decode),!this.idTokenClaimsMatchTenantProfileFilter(L,w))?null:(D=(0,o.Ho)(f,_,L,N?.secret),D)}getTenantProfilesFromAccountEntity(f,C,_){const w=f.getAccountInfo();let D=w.tenantProfiles||new Map;const L=this.getTokenKeys();if(C){const V=D.get(C);if(!V)return[];D=new Map([[C,V]])}const N=[];return D.forEach(V=>{const G=this.getTenantedAccountInfoByFilter(w,L,V,_);G&&N.push(G)}),N}tenantProfileMatchesFilter(f,C){return!(C.localAccountId&&!this.matchLocalAccountIdFromTenantProfile(f,C.localAccountId)||C.name&&f.name!==C.name||void 0!==C.isHomeTenant&&f.isHomeTenant!==C.isHomeTenant)}idTokenClaimsMatchTenantProfileFilter(f,C){return!(C&&(C.localAccountId&&!this.matchLocalAccountIdFromTokenClaims(f,C.localAccountId)||C.loginHint&&!this.matchLoginHintFromTokenClaims(f,C.loginHint)||C.username&&!this.matchUsername(f.preferred_username,C.username)||C.name&&!this.matchName(f,C.name)||C.sid&&!this.matchSid(f,C.sid)))}saveCacheRecord(f,C){var _=this;return(0,n.c)(function*(){if(!f)throw(0,e.mQ)(p.invalidCacheRecord);f.account&&_.setAccount(f.account),f.idToken&&!1!==C?.idToken&&_.setIdTokenCredential(f.idToken),f.accessToken&&!1!==C?.accessToken&&(yield _.saveAccessToken(f.accessToken)),f.refreshToken&&!1!==C?.refreshToken&&_.setRefreshTokenCredential(f.refreshToken),f.appMetadata&&_.setAppMetadata(f.appMetadata)})()}saveAccessToken(f){var C=this;return(0,n.c)(function*(){const _={clientId:f.clientId,credentialType:f.credentialType,environment:f.environment,homeAccountId:f.homeAccountId,realm:f.realm,tokenType:f.tokenType,requestedClaimsHash:f.requestedClaimsHash},w=C.getTokenKeys(),D=l.k.fromString(f.target),L=[];w.accessToken.forEach(N=>{if(!C.accessTokenKeyMatchesFilter(N,_,!1))return;const V=C.getAccessTokenCredential(N);V&&C.credentialMatchesFilter(V,_)&&l.k.fromString(V.target).intersectingScopeSets(D)&&L.push(C.removeAccessToken(N))}),yield Promise.all(L),C.setAccessTokenCredential(f)})()}getAccountsFilteredBy(f){const C=this.getAccountKeys(),_=[];return C.forEach(w=>{if(!this.isAccountKey(w,f.homeAccountId))return;const D=this.getAccount(w,this.commonLogger);if(!D||f.homeAccountId&&!this.matchHomeAccountId(D,f.homeAccountId)||f.username&&!this.matchUsername(D.username,f.username)||f.environment&&!this.matchEnvironment(D,f.environment)||f.realm&&!this.matchRealm(D,f.realm)||f.nativeAccountId&&!this.matchNativeAccountId(D,f.nativeAccountId)||f.authorityType&&!this.matchAuthorityType(D,f.authorityType))return;const L={localAccountId:f?.localAccountId,name:f?.name},N=D.tenantProfiles?.filter(V=>this.tenantProfileMatchesFilter(V,L));N&&0===N.length||_.push(D)}),_}isAccountKey(f,C,_){return!(f.split(c.Mj.CACHE_KEY_SEPARATOR).length<3||C&&!f.toLowerCase().includes(C.toLowerCase())||_&&!f.toLowerCase().includes(_.toLowerCase()))}isCredentialKey(f){if(f.split(c.Mj.CACHE_KEY_SEPARATOR).length<6)return!1;const C=f.toLowerCase();if(-1===C.indexOf(c.yu.ID_TOKEN.toLowerCase())&&-1===C.indexOf(c.yu.ACCESS_TOKEN.toLowerCase())&&-1===C.indexOf(c.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase())&&-1===C.indexOf(c.yu.REFRESH_TOKEN.toLowerCase()))return!1;if(C.indexOf(c.yu.REFRESH_TOKEN.toLowerCase())>-1){const w=`${c.yu.REFRESH_TOKEN}${c.Mj.CACHE_KEY_SEPARATOR}${c.wj}${c.Mj.CACHE_KEY_SEPARATOR}`;if(-1===C.indexOf(`${c.yu.REFRESH_TOKEN}${c.Mj.CACHE_KEY_SEPARATOR}${this.clientId}${c.Mj.CACHE_KEY_SEPARATOR}`.toLowerCase())&&-1===C.indexOf(w.toLowerCase()))return!1}else if(-1===C.indexOf(this.clientId.toLowerCase()))return!1;return!0}credentialMatchesFilter(f,C){return!(C.clientId&&!this.matchClientId(f,C.clientId)||C.userAssertionHash&&!this.matchUserAssertionHash(f,C.userAssertionHash)||"string"==typeof C.homeAccountId&&!this.matchHomeAccountId(f,C.homeAccountId)||C.environment&&!this.matchEnvironment(f,C.environment)||C.realm&&!this.matchRealm(f,C.realm)||C.credentialType&&!this.matchCredentialType(f,C.credentialType)||C.familyId&&!this.matchFamilyId(f,C.familyId)||C.target&&!this.matchTarget(f,C.target)||(C.requestedClaimsHash||f.requestedClaimsHash)&&f.requestedClaimsHash!==C.requestedClaimsHash||f.credentialType===c.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME&&(C.tokenType&&!this.matchTokenType(f,C.tokenType)||C.tokenType===c.me.SSH&&C.keyId&&!this.matchKeyId(f,C.keyId)))}getAppMetadataFilteredBy(f){return this.getAppMetadataFilteredByInternal(f.environment,f.clientId)}getAppMetadataFilteredByInternal(f,C){const _=this.getKeys(),w={};return _.forEach(D=>{if(!this.isAppMetadata(D))return;const L=this.getAppMetadata(D);L&&(f&&!this.matchEnvironment(L,f)||C&&!this.matchClientId(L,C)||(w[D]=L))}),w}getAuthorityMetadataByAlias(f){const C=this.getAuthorityMetadataKeys();let _=null;return C.forEach(w=>{if(!this.isAuthorityMetadata(w)||-1===w.indexOf(this.clientId))return;const D=this.getAuthorityMetadata(w);D&&-1!==D.aliases.indexOf(f)&&(_=D)}),_}removeAllAccounts(){var f=this;return(0,n.c)(function*(){const C=f.getAccountKeys(),_=[];C.forEach(w=>{_.push(f.removeAccount(w))}),yield Promise.all(_)})()}removeAccount(f){var C=this;return(0,n.c)(function*(){const _=C.getAccount(f,C.commonLogger);_&&(yield C.removeAccountContext(_),C.removeItem(f))})()}removeAccountContext(f){var C=this;return(0,n.c)(function*(){const _=C.getTokenKeys(),w=f.generateAccountId(),D=[];_.idToken.forEach(L=>{0===L.indexOf(w)&&C.removeIdToken(L)}),_.accessToken.forEach(L=>{0===L.indexOf(w)&&D.push(C.removeAccessToken(L))}),_.refreshToken.forEach(L=>{0===L.indexOf(w)&&C.removeRefreshToken(L)}),yield Promise.all(D)})()}updateOutdatedCachedAccount(f,C,_){if(C&&C.isSingleTenant()){this.commonLogger?.verbose("updateOutdatedCachedAccount: Found a single-tenant (outdated) account entity in the cache, migrating to multi-tenant account entity");const w=this.getAccountKeys().filter(G=>G.startsWith(C.homeAccountId)),D=[];w.forEach(G=>{const R=this.getCachedAccountEntity(G);R&&D.push(R)});const L=D.find(G=>(0,o.Wo)(G.realm,G.homeAccountId))||D[0];L.tenantProfiles=D.map(G=>({tenantId:G.realm,localAccountId:G.localAccountId,name:G.name,isHomeTenant:(0,o.Wo)(G.realm,G.homeAccountId)}));const N=E.toObject(new i.M,{...L}),V=N.generateAccountKey();return w.forEach(G=>{G!==V&&this.removeOutdatedAccount(f)}),this.setAccount(N),_?.verbose("Updated an outdated account entity in the cache"),N}return C}removeAccessToken(f){var C=this;return(0,n.c)(function*(){const _=C.getAccessTokenCredential(f);if(_){if(_.credentialType.toLowerCase()===c.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME.toLowerCase()&&_.tokenType===c.me.POP){const D=_.keyId;if(D)try{yield C.cryptoImpl.removeTokenBindingKey(D)}catch{throw(0,e.mQ)(p.bindingKeyNotRemoved)}}return C.removeItem(f)}})()}removeAppMetadata(){return this.getKeys().forEach(C=>{this.isAppMetadata(C)&&this.removeItem(C)}),!0}readAccountFromCache(f){const C=i.M.generateAccountCacheKey(f);return this.getAccount(C,this.commonLogger)}getIdToken(f,C,_,w,D){this.commonLogger.trace("CacheManager - getIdToken called");const N=this.getIdTokensByFilter({homeAccountId:f.homeAccountId,environment:f.environment,credentialType:c.yu.ID_TOKEN,clientId:this.clientId,realm:_},C),V=N.size;if(V<1)return this.commonLogger.info("CacheManager:getIdToken - No token found"),null;if(V>1){let G=N;if(!_){const R=new Map;N.forEach((A,H)=>{A.realm===f.tenantId&&R.set(H,A)});const k=R.size;if(k<1)return this.commonLogger.info("CacheManager:getIdToken - Multiple ID tokens found for account but none match account entity tenant id, returning first result"),N.values().next().value;if(1===k)return this.commonLogger.info("CacheManager:getIdToken - Multiple ID tokens found for account, defaulting to home tenant profile"),R.values().next().value;G=R}return this.commonLogger.info("CacheManager:getIdToken - Multiple matching ID tokens found, clearing them"),G.forEach((R,k)=>{this.removeIdToken(k)}),w&&D&&w.addFields({multiMatchedID:N.size},D),null}return this.commonLogger.info("CacheManager:getIdToken - Returning ID token"),N.values().next().value}getIdTokensByFilter(f,C){const _=C&&C.idToken||this.getTokenKeys().idToken,w=new Map;return _.forEach(D=>{if(!this.idTokenKeyMatchesFilter(D,{clientId:this.clientId,...f}))return;const L=this.getIdTokenCredential(D);L&&this.credentialMatchesFilter(L,f)&&w.set(D,L)}),w}idTokenKeyMatchesFilter(f,C){const _=f.toLowerCase();return!(C.clientId&&-1===_.indexOf(C.clientId.toLowerCase())||C.homeAccountId&&-1===_.indexOf(C.homeAccountId.toLowerCase()))}removeIdToken(f){this.removeItem(f)}removeRefreshToken(f){this.removeItem(f)}getAccessToken(f,C,_,w,D,L){this.commonLogger.trace("CacheManager - getAccessToken called");const N=l.k.createSearchScopes(C.scopes),V=C.authenticationScheme||c.me.BEARER,G=V&&V.toLowerCase()!==c.me.BEARER.toLowerCase()?c.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME:c.yu.ACCESS_TOKEN,R={homeAccountId:f.homeAccountId,environment:f.environment,credentialType:G,clientId:this.clientId,realm:w||f.tenantId,target:N,tokenType:V,keyId:C.sshKid,requestedClaimsHash:C.requestedClaimsHash},k=_&&_.accessToken||this.getTokenKeys().accessToken,A=[];k.forEach(K=>{if(this.accessTokenKeyMatchesFilter(K,R,!0)){const ie=this.getAccessTokenCredential(K);ie&&this.credentialMatchesFilter(ie,R)&&A.push(ie)}});const H=A.length;return H<1?(this.commonLogger.info("CacheManager:getAccessToken - No token found"),null):H>1?(this.commonLogger.info("CacheManager:getAccessToken - Multiple access tokens found, clearing them"),A.forEach(K=>{this.removeAccessToken((0,u.AZ)(K))}),D&&L&&D.addFields({multiMatchedAT:A.length},L),null):(this.commonLogger.info("CacheManager:getAccessToken - Returning access token"),A[0])}accessTokenKeyMatchesFilter(f,C,_){const w=f.toLowerCase();if(C.clientId&&-1===w.indexOf(C.clientId.toLowerCase())||C.homeAccountId&&-1===w.indexOf(C.homeAccountId.toLowerCase())||C.realm&&-1===w.indexOf(C.realm.toLowerCase())||C.requestedClaimsHash&&-1===w.indexOf(C.requestedClaimsHash.toLowerCase()))return!1;if(C.target){const D=C.target.asArray();for(let L=0;L{if(!this.accessTokenKeyMatchesFilter(w,f,!0))return;const D=this.getAccessTokenCredential(w);D&&this.credentialMatchesFilter(D,f)&&_.push(D)}),_}getRefreshToken(f,C,_,w,D){this.commonLogger.trace("CacheManager - getRefreshToken called");const N={homeAccountId:f.homeAccountId,environment:f.environment,credentialType:c.yu.REFRESH_TOKEN,clientId:this.clientId,familyId:C?c.wj:void 0},V=_&&_.refreshToken||this.getTokenKeys().refreshToken,G=[];V.forEach(k=>{if(this.refreshTokenKeyMatchesFilter(k,N)){const A=this.getRefreshTokenCredential(k);A&&this.credentialMatchesFilter(A,N)&&G.push(A)}});const R=G.length;return R<1?(this.commonLogger.info("CacheManager:getRefreshToken - No refresh token found."),null):(R>1&&w&&D&&w.addFields({multiMatchedRT:R},D),this.commonLogger.info("CacheManager:getRefreshToken - returning refresh token"),G[0])}refreshTokenKeyMatchesFilter(f,C){const _=f.toLowerCase();return!(C.familyId&&-1===_.indexOf(C.familyId.toLowerCase())||!C.familyId&&C.clientId&&-1===_.indexOf(C.clientId.toLowerCase())||C.homeAccountId&&-1===_.indexOf(C.homeAccountId.toLowerCase()))}readAppMetadataFromCache(f){const _=this.getAppMetadataFilteredBy({environment:f,clientId:this.clientId}),w=Object.keys(_).map(L=>_[L]),D=w.length;if(D<1)return null;if(D>1)throw(0,e.mQ)(p.multipleMatchingAppMetadata);return w[0]}isAppMetadataFOCI(f){const C=this.readAppMetadataFromCache(f);return!(!C||C.familyId!==c.wj)}matchHomeAccountId(f,C){return"string"==typeof f.homeAccountId&&C===f.homeAccountId}matchLocalAccountIdFromTokenClaims(f,C){return C===(f.oid||f.sub)}matchLocalAccountIdFromTenantProfile(f,C){return f.localAccountId===C}matchName(f,C){return C.toLowerCase()===f.name?.toLowerCase()}matchUsername(f,C){return!(!f||"string"!=typeof f||C?.toLowerCase()!==f.toLowerCase())}matchUserAssertionHash(f,C){return!(!f.userAssertionHash||C!==f.userAssertionHash)}matchEnvironment(f,C){if(this.staticAuthorityOptions){const w=(0,M.ET)(this.staticAuthorityOptions,this.commonLogger);if(w.includes(C)&&w.includes(f.environment))return!0}const _=this.getAuthorityMetadataByAlias(C);return!!(_&&_.aliases.indexOf(f.environment)>-1)}matchCredentialType(f,C){return f.credentialType&&C.toLowerCase()===f.credentialType.toLowerCase()}matchClientId(f,C){return!(!f.clientId||C!==f.clientId)}matchFamilyId(f,C){return!(!f.familyId||C!==f.familyId)}matchRealm(f,C){return f.realm?.toLowerCase()===C.toLowerCase()}matchNativeAccountId(f,C){return!(!f.nativeAccountId||C!==f.nativeAccountId)}matchLoginHintFromTokenClaims(f,C){return f.login_hint===C||f.preferred_username===C||f.upn===C}matchSid(f,C){return f.sid===C}matchAuthorityType(f,C){return!(!f.authorityType||C.toLowerCase()!==f.authorityType.toLowerCase())}matchTarget(f,C){return!(f.credentialType!==c.yu.ACCESS_TOKEN&&f.credentialType!==c.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME||!f.target)&&l.k.fromString(f.target).containsScopeSet(C)}matchTokenType(f,C){return!(!f.tokenType||f.tokenType!==C)}matchKeyId(f,C){return!(!f.keyId||f.keyId!==C)}isAppMetadata(f){return-1!==f.indexOf(c.cz)}isAuthorityMetadata(f){return-1!==f.indexOf(c.Ni.CACHE_KEY)}generateAuthorityMetadataCacheKey(f){return`${c.Ni.CACHE_KEY}-${this.clientId}-${f}`}static toObject(f,C){for(const _ in C)f[_]=C[_];return f}}class S extends E{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:(pe,m,s)=>{"use strict";s.d(m,{M:()=>v});var n=s(34739),c=s(22045),u=s(60928),l=s(28876),i=s(25988),e=s(79032),o=s(65072),d=s(71408);class v{generateAccountId(){return[this.homeAccountId,this.environment].join(n.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}generateAccountKey(){return v.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 E=p.homeAccountId.split(".")[1];return[p.homeAccountId,p.environment||"",E||p.tenantId||""].join(n.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}static createAccount(p,E,S){const y=new v;let f;y.authorityType=E.authorityType===i.O.Adfs?n.A9.ADFS_ACCOUNT_TYPE:E.protocolMode===o.g.AAD?n.A9.MSSTS_ACCOUNT_TYPE:n.A9.GENERIC_ACCOUNT_TYPE,p.clientInfo&&S&&(f=(0,c.G)(p.clientInfo,S)),y.clientInfo=p.clientInfo,y.homeAccountId=p.homeAccountId,y.nativeAccountId=p.nativeAccountId;const C=p.environment||E&&E.getPreferredCache();if(!C)throw(0,l.mQ)(d.invalidCacheEnvironment);if(y.environment=C,y.realm=f?.utid||(0,e.c)(p.idTokenClaims)||"",y.localAccountId=f?.uid||p.idTokenClaims.oid||p.idTokenClaims.sub||"",y.username=p.idTokenClaims.preferred_username||p.idTokenClaims.upn||(p.idTokenClaims.emails?p.idTokenClaims.emails[0]:null)||"",y.name=p.idTokenClaims.name,y.cloudGraphHostName=p.cloudGraphHostName,y.msGraphHost=p.msGraphHost,p.tenantProfiles)y.tenantProfiles=p.tenantProfiles;else{const D=[];if(p.idTokenClaims){const L=(0,u.EJ)(p.homeAccountId,p.idTokenClaims);D.push(L)}y.tenantProfiles=D}return y}static createFromAccountInfo(p,E,S){const y=new v;return y.authorityType=p.authorityType||n.A9.GENERIC_ACCOUNT_TYPE,y.homeAccountId=p.homeAccountId,y.localAccountId=p.localAccountId,y.nativeAccountId=p.nativeAccountId,y.realm=p.tenantId,y.environment=p.environment,y.username=p.username,y.name=p.name,y.cloudGraphHostName=E,y.msGraphHost=S,y.tenantProfiles=Array.from(p.tenantProfiles?.values()||[]),y}static generateHomeAccountId(p,E,S,y,f){if(E!==i.O.Adfs&&E!==i.O.Dsts){if(p)try{const C=(0,c.G)(p,y.base64Decode);if(C.uid&&C.utid)return`${C.uid}.${C.utid}`}catch{}S.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,E,S){if(!p||!E)return!1;let y=!0;if(S){const f=p.idTokenClaims||{},C=E.idTokenClaims||{};y=f.iat===C.iat&&f.nonce===C.nonce}return p.homeAccountId===E.homeAccountId&&p.localAccountId===E.localAccountId&&p.username===E.username&&p.tenantId===E.tenantId&&p.environment===E.environment&&p.nativeAccountId===E.nativeAccountId&&y}}},9488:(pe,m,s)=>{"use strict";s.d(m,{O:()=>n});class n{constructor(u,l,i,e,o){this.account=u||null,this.idToken=l||null,this.accessToken=i||null,this.refreshToken=e||null,this.appMetadata=o||null}}},72584:(pe,m,s)=>{"use strict";s.d(m,{AZ:()=>e,LS:()=>E,MJ:()=>d,S:()=>N,U5:()=>S,Ul:()=>p,YF:()=>o,_c:()=>v,aA:()=>G,cb:()=>A,gv:()=>R,mk:()=>H,q6:()=>V,s7:()=>L,sH:()=>k,sX:()=>D});var n=s(6400),c=s(28876),u=s(34739),l=s(50160),i=s(71408);function e(K){return[y(K),f(K),C(K),_(K),w(K)].join(u.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}function o(K,ie,J,be,ce){return{credentialType:u.yu.ID_TOKEN,homeAccountId:K,environment:ie,clientId:be,secret:J,realm:ce}}function d(K,ie,J,be,ce,Ge,ct,Oe,ke,Re,Qe,$e,Be,_e,Me){const Se={homeAccountId:K,credentialType:u.yu.ACCESS_TOKEN,secret:J,cachedAt:(0,l.GO)().toString(),expiresOn:ct.toString(),extendedExpiresOn:Oe.toString(),environment:ie,clientId:be,realm:ce,target:Ge,tokenType:Qe||u.me.BEARER};if($e&&(Se.userAssertionHash=$e),Re&&(Se.refreshOn=Re.toString()),_e&&(Se.requestedClaims=_e,Se.requestedClaimsHash=Me),Se.tokenType?.toLowerCase()!==u.me.BEARER.toLowerCase())switch(Se.credentialType=u.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME,Se.tokenType){case u.me.POP:const je=(0,n.aw)(J,ke);if(!je?.cnf?.kid)throw(0,c.mQ)(i.tokenClaimsCnfRequiredForSignedJwt);Se.keyId=je.cnf.kid;break;case u.me.SSH:Se.keyId=Be}return Se}function v(K,ie,J,be,ce,Ge,ct){const Oe={credentialType:u.yu.REFRESH_TOKEN,homeAccountId:K,environment:ie,clientId:be,secret:J};return Ge&&(Oe.userAssertionHash=Ge),ce&&(Oe.familyId=ce),ct&&(Oe.expiresOn=ct.toString()),Oe}function M(K){return K.hasOwnProperty("homeAccountId")&&K.hasOwnProperty("environment")&&K.hasOwnProperty("credentialType")&&K.hasOwnProperty("clientId")&&K.hasOwnProperty("secret")}function p(K){return!!K&&M(K)&&K.hasOwnProperty("realm")&&K.hasOwnProperty("target")&&(K.credentialType===u.yu.ACCESS_TOKEN||K.credentialType===u.yu.ACCESS_TOKEN_WITH_AUTH_SCHEME)}function E(K){return!!K&&M(K)&&K.hasOwnProperty("realm")&&K.credentialType===u.yu.ID_TOKEN}function S(K){return!!K&&M(K)&&K.credentialType===u.yu.REFRESH_TOKEN}function y(K){return[K.homeAccountId,K.environment].join(u.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}function f(K){return[K.credentialType,K.credentialType===u.yu.REFRESH_TOKEN&&K.familyId||K.clientId,K.realm||""].join(u.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}function C(K){return(K.target||"").toLowerCase()}function _(K){return(K.requestedClaimsHash||"").toLowerCase()}function w(K){return K.tokenType&&K.tokenType.toLowerCase()!==u.me.BEARER.toLowerCase()?K.tokenType.toLowerCase():""}function D(K,ie){const J=0===K.indexOf(u.ic.CACHE_KEY);let be=!0;return ie&&(be=ie.hasOwnProperty("failedRequests")&&ie.hasOwnProperty("errors")&&ie.hasOwnProperty("cacheHits")),J&&be}function L(K,ie){let J=!1;K&&(J=0===K.indexOf(u.gr.THROTTLING_PREFIX));let be=!0;return ie&&(be=ie.hasOwnProperty("throttleTime")),J&&be}function N({environment:K,clientId:ie}){return[u.cz,K,ie].join(u.Mj.CACHE_KEY_SEPARATOR).toLowerCase()}function V(K,ie){return!!ie&&0===K.indexOf(u.cz)&&ie.hasOwnProperty("clientId")&&ie.hasOwnProperty("environment")}function G(K,ie){return!!ie&&0===K.indexOf(u.Ni.CACHE_KEY)&&ie.hasOwnProperty("aliases")&&ie.hasOwnProperty("preferred_cache")&&ie.hasOwnProperty("preferred_network")&&ie.hasOwnProperty("canonical_authority")&&ie.hasOwnProperty("authorization_endpoint")&&ie.hasOwnProperty("token_endpoint")&&ie.hasOwnProperty("issuer")&&ie.hasOwnProperty("aliasesFromNetwork")&&ie.hasOwnProperty("endpointsFromNetwork")&&ie.hasOwnProperty("expiresAt")&&ie.hasOwnProperty("jwks_uri")}function R(){return(0,l.GO)()+u.Ni.REFRESH_TIME_SECONDS}function k(K,ie,J){K.authorization_endpoint=ie.authorization_endpoint,K.token_endpoint=ie.token_endpoint,K.end_session_endpoint=ie.end_session_endpoint,K.issuer=ie.issuer,K.endpointsFromNetwork=J,K.jwks_uri=ie.jwks_uri}function A(K,ie,J){K.aliases=ie.aliases,K.preferred_cache=ie.preferred_cache,K.preferred_network=ie.preferred_network,K.aliasesFromNetwork=J}function H(K){return K.expiresAt<=(0,l.GO)()}},80660:(pe,m,s)=>{"use strict";s.d(m,{cJ:()=>L,k5:()=>E,qW:()=>V});var n=s(1528),c=s(65172),u=s(73364),l=s(34739),i=s(75205),e=s(67952),o=s(6536),d=s(65072),v=s(28876),M=s(71408);const E={tokenRenewalOffsetSeconds:300,preventCorsPreflight:!1},S={loggerCallback:()=>{},piiLoggingEnabled:!1,logLevel:u.G.Info,correlationId:l.Mv.EMPTY_STRING},y={claimsBasedCachingEnabled:!1},f={sendGetRequestAsync:()=>(0,n.c)(function*(){throw(0,v.mQ)(M.methodNotImplemented)})(),sendPostRequestAsync:()=>(0,n.c)(function*(){throw(0,v.mQ)(M.methodNotImplemented)})()},C={sku:l.Mv.SKU,version:i.W,cpu:l.Mv.EMPTY_STRING,os:l.Mv.EMPTY_STRING},_={clientSecret:l.Mv.EMPTY_STRING,clientAssertion:void 0},w={azureCloudInstance:e.C.None,tenant:`${l.Mv.DEFAULT_COMMON_TENANT}`},D={application:{appName:"",appVersion:""}};function L({authOptions:G,systemOptions:R,loggerOptions:k,cacheOptions:A,storageInterface:H,networkInterface:K,cryptoInterface:ie,clientCredentials:J,libraryInfo:be,telemetry:ce,serverTelemetryManager:Ge,persistencePlugin:ct,serializableCache:Oe}){const ke={...S,...k};return{authOptions:N(G),systemOptions:{...E,...R},loggerOptions:ke,cacheOptions:{...y,...A},storageInterface:H||new o.K(G.clientId,c.K,new u.Y(ke)),networkInterface:K||f,cryptoInterface:ie||c.K,clientCredentials:J||_,libraryInfo:{...C,...be},telemetry:{...D,...ce},serverTelemetryManager:Ge||null,persistencePlugin:ct||null,serializableCache:Oe||null}}function N(G){return{clientCapabilities:[],azureCloudOptions:w,skipAuthorityMetadataCache:!1,...G}}function V(G){return G.authOptions.authority.options.protocolMode===d.g.OIDC}},91076:(pe,m,s)=>{"use strict";s.d(m,{Bz:()=>o,CS:()=>Oe,E$:()=>_,Gs:()=>Se,Ku:()=>l,MZ:()=>L,N2:()=>ye,O0:()=>ce,Ok:()=>ht,S1:()=>E,SS:()=>rt,U3:()=>u,UJ:()=>V,WG:()=>N,WM:()=>Te,YR:()=>Re,Yc:()=>tt,Yr:()=>A,_E:()=>be,_k:()=>n,aw:()=>ct,cD:()=>i,cf:()=>_e,cx:()=>H,e6:()=>k,e8:()=>e,eU:()=>R,eo:()=>ke,gL:()=>$e,gt:()=>G,iK:()=>Qe,k1:()=>Me,kB:()=>c,kT:()=>Be,n:()=>C,op:()=>Ge,qA:()=>J,sp:()=>wt,sx:()=>ie,uQ:()=>K,y2:()=>f});const n="client_id",c="redirect_uri",u="response_type",l="response_mode",i="grant_type",e="claims",o="scope",E="refresh_token",f="state",C="nonce",_="prompt",L="code",N="code_challenge",V="code_challenge_method",G="code_verifier",R="client-request-id",k="x-client-SKU",A="x-client-VER",H="x-client-OS",K="x-client-CPU",ie="x-client-current-telemetry",J="x-client-last-telemetry",be="x-ms-lib-capability",ce="x-app-name",Ge="x-app-ver",ct="post_logout_redirect_uri",Oe="id_token_hint",ke="device_code",Re="client_secret",Qe="client_assertion",$e="client_assertion_type",Be="token_type",_e="req_cnf",Me="assertion",Se="requested_token_use",rt="return_spa_code",tt="nativebroker",wt="logout_hint",ye="sid",Te="login_hint",ht="domain_hint"},65172:(pe,m,s)=>{"use strict";s.d(m,{K:()=>l});var n=s(1528),c=s(28876),u=s(71408);const l={createNewGuid:()=>{throw(0,c.mQ)(u.methodNotImplemented)},base64Decode:()=>{throw(0,c.mQ)(u.methodNotImplemented)},base64Encode:()=>{throw(0,c.mQ)(u.methodNotImplemented)},getPublicKeyThumbprint:()=>(0,n.c)(function*(){throw(0,c.mQ)(u.methodNotImplemented)})(),removeTokenBindingKey:()=>(0,n.c)(function*(){throw(0,c.mQ)(u.methodNotImplemented)})(),clearKeystore:()=>(0,n.c)(function*(){throw(0,c.mQ)(u.methodNotImplemented)})(),signJwt:()=>(0,n.c)(function*(){throw(0,c.mQ)(u.methodNotImplemented)})(),hashString:()=>(0,n.c)(function*(){throw(0,c.mQ)(u.methodNotImplemented)})()}},46392:(pe,m,s)=>{"use strict";s.d(m,{w:()=>o});var n=s(1528),c=s(50160),u=s(67648),l=s(85348),i=s(14035);class o{constructor(v,M){this.cryptoUtils=v,this.performanceClient=M}generateCnf(v,M){var p=this;return(0,n.c)(function*(){p.performanceClient?.addQueueMeasurement(l.Xv.PopTokenGenerateCnf,v.correlationId);const E=yield(0,i.C)(p.generateKid.bind(p),l.Xv.PopTokenGenerateCnf,M,p.performanceClient,v.correlationId)(v),S=p.cryptoUtils.base64Encode(JSON.stringify(E));return{kid:E.kid,reqCnfString:S,reqCnfHash:yield p.cryptoUtils.hashString(S)}})()}generateKid(v){var M=this;return(0,n.c)(function*(){return M.performanceClient?.addQueueMeasurement(l.Xv.PopTokenGenerateKid,v.correlationId),{kid:yield M.cryptoUtils.getPublicKeyThumbprint(v),xms_ksl:"sw"}})()}signPopToken(v,M,p){var E=this;return(0,n.c)(function*(){return E.signPayload(v,M,p)})()}signPayload(v,M,p,E){var S=this;return(0,n.c)(function*(){const{resourceRequestMethod:y,resourceRequestUri:f,shrClaims:C,shrNonce:_,shrOptions:w}=p,L=(f?new u._(f):void 0)?.getUrlComponents();return S.cryptoUtils.signJwt({at:v,ts:(0,c.GO)(),m:y?.toUpperCase(),u:L?.HostNameAndPort,nonce:_||S.cryptoUtils.createNewGuid(),p:L?.AbsolutePath,q:L?.QueryString?[[],L.QueryString]:void 0,client_claims:C||void 0,...E},M,w,p.correlationId)})()}}},66936:(pe,m,s)=>{"use strict";s.d(m,{GM:()=>l,Ub:()=>e,WM:()=>i});var n=s(34739),c=s(83228);const u={[c.unexpectedError]:"Unexpected error in authentication.",[c.postRequestFailed]:"Post request failed from the network, could be a 4xx/5xx or a network unavailability. Please check the exact error code for details."},l={unexpectedError:{code:c.unexpectedError,desc:u[c.unexpectedError]},postRequestFailed:{code:c.postRequestFailed,desc:u[c.postRequestFailed]}};class i extends Error{constructor(d,v,M){super(v?`${d}: ${v}`:d),Object.setPrototypeOf(this,i.prototype),this.errorCode=d||n.Mv.EMPTY_STRING,this.errorMessage=v||n.Mv.EMPTY_STRING,this.subError=M||n.Mv.EMPTY_STRING,this.name="AuthError"}setCorrelationId(d){this.correlationId=d}}function e(o,d){return new i(o,d?`${u[o]} ${d}`:u[o])}},83228:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{postRequestFailed:()=>c,unexpectedError:()=>n});const n="unexpected_error",c="post_request_failed"},28876:(pe,m,s)=>{"use strict";s.d(m,{m6:()=>l,mQ:()=>e,oJ:()=>i});var n=s(66936),c=s(71408);const u={[c.clientInfoDecodingError]:"The client info could not be parsed/decoded correctly",[c.clientInfoEmptyError]:"The client info was empty",[c.tokenParsingError]:"Token cannot be parsed",[c.nullOrEmptyToken]:"The token is null or empty",[c.endpointResolutionError]:"Endpoints cannot be resolved",[c.networkError]:"Network request failed",[c.openIdConfigError]:"Could not retrieve endpoints. Check your authority and verify the .well-known/openid-configuration endpoint returns the required endpoints.",[c.hashNotDeserialized]:"The hash parameters could not be deserialized",[c.invalidState]:"State was not the expected format",[c.stateMismatch]:"State mismatch error",[c.stateNotFound]:"State not found",[c.nonceMismatch]:"Nonce mismatch error",[c.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.",[c.maxAgeTranspired]:"Max Age is set to 0, or too much time has elapsed since the last end-user authentication.",[c.multipleMatchingTokens]:"The cache contains multiple tokens satisfying the requirements. Call AcquireToken again providing more requirements such as authority or account.",[c.multipleMatchingAccounts]:"The cache contains multiple accounts satisfying the given parameters. Please pass more info to obtain the correct account",[c.multipleMatchingAppMetadata]:"The cache contains multiple appMetadata satisfying the given parameters. Please pass more info to obtain the correct appMetadata",[c.requestCannotBeMade]:"Token request cannot be made without authorization code or refresh token.",[c.cannotRemoveEmptyScope]:"Cannot remove null or empty scope from ScopeSet",[c.cannotAppendScopeSet]:"Cannot append ScopeSet",[c.emptyInputScopeSet]:"Empty input ScopeSet cannot be processed",[c.deviceCodePollingCancelled]:"Caller has cancelled token endpoint polling during device code flow by setting DeviceCodeRequest.cancel = true.",[c.deviceCodeExpired]:"Device code is expired.",[c.deviceCodeUnknownError]:"Device code stopped polling for unknown reasons.",[c.noAccountInSilentRequest]:"Please pass an account object, silent flow is not supported without account information",[c.invalidCacheRecord]:"Cache record object was null or undefined.",[c.invalidCacheEnvironment]:"Invalid environment when attempting to create cache entry",[c.noAccountFound]:"No account found in cache for given key.",[c.noCryptoObject]:"No crypto object detected.",[c.unexpectedCredentialType]:"Unexpected credential type.",[c.invalidAssertion]:"Client assertion must meet requirements described in https://tools.ietf.org/html/rfc7515",[c.invalidClientCredential]:"Client credential (secret, certificate, or assertion) must not be empty when creating a confidential client. An application should at most have one credential",[c.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.",[c.userTimeoutReached]:"User defined timeout for device code polling reached",[c.tokenClaimsCnfRequiredForSignedJwt]:"Cannot generate a POP jwt if the token_claims are not populated",[c.authorizationCodeMissingFromServerResponse]:"Server response does not contain an authorization code to proceed",[c.bindingKeyNotRemoved]:"Could not remove the credential's binding key from storage.",[c.endSessionEndpointNotSupported]:"The provided authority does not support logout",[c.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.",[c.noNetworkConnectivity]:"No network connectivity. Check your internet connection.",[c.userCanceled]:"User cancelled the flow.",[c.missingTenantIdError]:"A tenant id - not common, organizations, or consumers - must be specified when using the client_credentials flow.",[c.methodNotImplemented]:"This method has not been implemented",[c.nestedAppAuthBridgeDisabled]:"The nested app auth bridge is disabled"},l={clientInfoDecodingError:{code:c.clientInfoDecodingError,desc:u[c.clientInfoDecodingError]},clientInfoEmptyError:{code:c.clientInfoEmptyError,desc:u[c.clientInfoEmptyError]},tokenParsingError:{code:c.tokenParsingError,desc:u[c.tokenParsingError]},nullOrEmptyToken:{code:c.nullOrEmptyToken,desc:u[c.nullOrEmptyToken]},endpointResolutionError:{code:c.endpointResolutionError,desc:u[c.endpointResolutionError]},networkError:{code:c.networkError,desc:u[c.networkError]},unableToGetOpenidConfigError:{code:c.openIdConfigError,desc:u[c.openIdConfigError]},hashNotDeserialized:{code:c.hashNotDeserialized,desc:u[c.hashNotDeserialized]},invalidStateError:{code:c.invalidState,desc:u[c.invalidState]},stateMismatchError:{code:c.stateMismatch,desc:u[c.stateMismatch]},stateNotFoundError:{code:c.stateNotFound,desc:u[c.stateNotFound]},nonceMismatchError:{code:c.nonceMismatch,desc:u[c.nonceMismatch]},authTimeNotFoundError:{code:c.authTimeNotFound,desc:u[c.authTimeNotFound]},maxAgeTranspired:{code:c.maxAgeTranspired,desc:u[c.maxAgeTranspired]},multipleMatchingTokens:{code:c.multipleMatchingTokens,desc:u[c.multipleMatchingTokens]},multipleMatchingAccounts:{code:c.multipleMatchingAccounts,desc:u[c.multipleMatchingAccounts]},multipleMatchingAppMetadata:{code:c.multipleMatchingAppMetadata,desc:u[c.multipleMatchingAppMetadata]},tokenRequestCannotBeMade:{code:c.requestCannotBeMade,desc:u[c.requestCannotBeMade]},removeEmptyScopeError:{code:c.cannotRemoveEmptyScope,desc:u[c.cannotRemoveEmptyScope]},appendScopeSetError:{code:c.cannotAppendScopeSet,desc:u[c.cannotAppendScopeSet]},emptyInputScopeSetError:{code:c.emptyInputScopeSet,desc:u[c.emptyInputScopeSet]},DeviceCodePollingCancelled:{code:c.deviceCodePollingCancelled,desc:u[c.deviceCodePollingCancelled]},DeviceCodeExpired:{code:c.deviceCodeExpired,desc:u[c.deviceCodeExpired]},DeviceCodeUnknownError:{code:c.deviceCodeUnknownError,desc:u[c.deviceCodeUnknownError]},NoAccountInSilentRequest:{code:c.noAccountInSilentRequest,desc:u[c.noAccountInSilentRequest]},invalidCacheRecord:{code:c.invalidCacheRecord,desc:u[c.invalidCacheRecord]},invalidCacheEnvironment:{code:c.invalidCacheEnvironment,desc:u[c.invalidCacheEnvironment]},noAccountFound:{code:c.noAccountFound,desc:u[c.noAccountFound]},noCryptoObj:{code:c.noCryptoObject,desc:u[c.noCryptoObject]},unexpectedCredentialType:{code:c.unexpectedCredentialType,desc:u[c.unexpectedCredentialType]},invalidAssertion:{code:c.invalidAssertion,desc:u[c.invalidAssertion]},invalidClientCredential:{code:c.invalidClientCredential,desc:u[c.invalidClientCredential]},tokenRefreshRequired:{code:c.tokenRefreshRequired,desc:u[c.tokenRefreshRequired]},userTimeoutReached:{code:c.userTimeoutReached,desc:u[c.userTimeoutReached]},tokenClaimsRequired:{code:c.tokenClaimsCnfRequiredForSignedJwt,desc:u[c.tokenClaimsCnfRequiredForSignedJwt]},noAuthorizationCodeFromServer:{code:c.authorizationCodeMissingFromServerResponse,desc:u[c.authorizationCodeMissingFromServerResponse]},bindingKeyNotRemovedError:{code:c.bindingKeyNotRemoved,desc:u[c.bindingKeyNotRemoved]},logoutNotSupported:{code:c.endSessionEndpointNotSupported,desc:u[c.endSessionEndpointNotSupported]},keyIdMissing:{code:c.keyIdMissing,desc:u[c.keyIdMissing]},noNetworkConnectivity:{code:c.noNetworkConnectivity,desc:u[c.noNetworkConnectivity]},userCanceledError:{code:c.userCanceled,desc:u[c.userCanceled]},missingTenantIdError:{code:c.missingTenantIdError,desc:u[c.missingTenantIdError]},nestedAppAuthBridgeDisabled:{code:c.nestedAppAuthBridgeDisabled,desc:u[c.nestedAppAuthBridgeDisabled]}};class i extends n.WM{constructor(d,v){super(d,v?`${u[d]}: ${v}`:u[d]),this.name="ClientAuthError",Object.setPrototypeOf(this,i.prototype)}}function e(o,d){return new i(o,d)}},71408:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{authTimeNotFound:()=>S,authorizationCodeMissingFromServerResponse:()=>ke,bindingKeyNotRemoved:()=>Re,cannotAppendScopeSet:()=>L,cannotRemoveEmptyScope:()=>D,clientInfoDecodingError:()=>n,clientInfoEmptyError:()=>c,deviceCodeExpired:()=>G,deviceCodePollingCancelled:()=>V,deviceCodeUnknownError:()=>R,emptyInputScopeSet:()=>N,endSessionEndpointNotSupported:()=>Qe,endpointResolutionError:()=>i,hashNotDeserialized:()=>d,invalidAssertion:()=>be,invalidCacheEnvironment:()=>H,invalidCacheRecord:()=>A,invalidClientCredential:()=>ce,invalidState:()=>v,keyIdMissing:()=>$e,maxAgeTranspired:()=>y,methodNotImplemented:()=>Se,missingTenantIdError:()=>Me,multipleMatchingAccounts:()=>C,multipleMatchingAppMetadata:()=>_,multipleMatchingTokens:()=>f,nestedAppAuthBridgeDisabled:()=>je,networkError:()=>e,noAccountFound:()=>K,noAccountInSilentRequest:()=>k,noCryptoObject:()=>ie,noNetworkConnectivity:()=>Be,nonceMismatch:()=>E,nullOrEmptyToken:()=>l,openIdConfigError:()=>o,requestCannotBeMade:()=>w,stateMismatch:()=>M,stateNotFound:()=>p,tokenClaimsCnfRequiredForSignedJwt:()=>Oe,tokenParsingError:()=>u,tokenRefreshRequired:()=>Ge,unexpectedCredentialType:()=>J,userCanceled:()=>_e,userTimeoutReached:()=>ct});const n="client_info_decoding_error",c="client_info_empty_error",u="token_parsing_error",l="null_or_empty_token",i="endpoints_resolution_error",e="network_error",o="openid_config_error",d="hash_not_deserialized",v="invalid_state",M="state_mismatch",p="state_not_found",E="nonce_mismatch",S="auth_time_not_found",y="max_age_transpired",f="multiple_matching_tokens",C="multiple_matching_accounts",_="multiple_matching_appMetadata",w="request_cannot_be_made",D="cannot_remove_empty_scope",L="cannot_append_scopeset",N="empty_input_scopeset",V="device_code_polling_cancelled",G="device_code_expired",R="device_code_unknown_error",k="no_account_in_silent_request",A="invalid_cache_record",H="invalid_cache_environment",K="no_account_found",ie="no_crypto_object",J="unexpected_credential_type",be="invalid_assertion",ce="invalid_client_credential",Ge="token_refresh_required",ct="user_timeout_reached",Oe="token_claims_cnf_required_for_signedjwt",ke="authorization_code_missing_from_server_response",Re="binding_key_not_removed",Qe="end_session_endpoint_not_supported",$e="key_id_missing",Be="no_network_connectivity",_e="user_canceled",Me="missing_tenant_id_error",Se="method_not_implemented",je="nested_app_auth_bridge_disabled"},59684:(pe,m,s)=>{"use strict";s.d(m,{OA:()=>l,Ou:()=>i,QN:()=>e});var n=s(66936),c=s(32336);const u={[c.redirectUriEmpty]:"A redirect URI is required for all calls, and none has been set.",[c.claimsRequestParsingError]:"Could not parse the given claims request object.",[c.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",[c.urlParseError]:"URL could not be parsed into appropriate segments.",[c.urlEmptyError]:"URL was empty or null.",[c.emptyInputScopesError]:"Scopes cannot be passed as null, undefined or empty array because they are required to obtain an access token.",[c.invalidPromptValue]:"Please see here for valid configuration options: https://azuread.github.io/microsoft-authentication-library-for-js/ref/modules/_azure_msal_common.html#commonauthorizationurlrequest",[c.invalidClaims]:"Given claims parameter must be a stringified JSON object.",[c.tokenRequestEmpty]:"Token request was empty and not found in cache.",[c.logoutRequestEmpty]:"The logout request was null or undefined.",[c.invalidCodeChallengeMethod]:'code_challenge_method passed is invalid. Valid values are "plain" and "S256".',[c.pkceParamsMissing]:"Both params: code_challenge and code_challenge_method are to be passed if to be sent in the request",[c.invalidCloudDiscoveryMetadata]:"Invalid cloudDiscoveryMetadata provided. Must be a stringified JSON object containing tenant_discovery_endpoint and metadata fields",[c.invalidAuthorityMetadata]:"Invalid authorityMetadata provided. Must by a stringified JSON object containing authorization_endpoint, token_endpoint, issuer fields.",[c.untrustedAuthority]:"The provided authority is not a trusted authority. Please include this authority in the knownAuthorities config parameter.",[c.missingSshJwk]:"Missing sshJwk in SSH certificate request. A stringified JSON Web Key is required when using the SSH authentication scheme.",[c.missingSshKid]:"Missing sshKid in SSH certificate request. A string that uniquely identifies the public SSH key is required when using the SSH authentication scheme.",[c.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.",[c.invalidAuthenticationHeader]:"Invalid authentication header provided",[c.cannotSetOIDCOptions]:"Cannot set OIDCOptions parameter. Please change the protocol mode to OIDC or use a non-Microsoft authority.",[c.cannotAllowNativeBroker]:"Cannot set allowNativeBroker parameter to true when not in AAD protocol mode.",[c.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."},l={redirectUriNotSet:{code:c.redirectUriEmpty,desc:u[c.redirectUriEmpty]},claimsRequestParsingError:{code:c.claimsRequestParsingError,desc:u[c.claimsRequestParsingError]},authorityUriInsecure:{code:c.authorityUriInsecure,desc:u[c.authorityUriInsecure]},urlParseError:{code:c.urlParseError,desc:u[c.urlParseError]},urlEmptyError:{code:c.urlEmptyError,desc:u[c.urlEmptyError]},emptyScopesError:{code:c.emptyInputScopesError,desc:u[c.emptyInputScopesError]},invalidPrompt:{code:c.invalidPromptValue,desc:u[c.invalidPromptValue]},invalidClaimsRequest:{code:c.invalidClaims,desc:u[c.invalidClaims]},tokenRequestEmptyError:{code:c.tokenRequestEmpty,desc:u[c.tokenRequestEmpty]},logoutRequestEmptyError:{code:c.logoutRequestEmpty,desc:u[c.logoutRequestEmpty]},invalidCodeChallengeMethod:{code:c.invalidCodeChallengeMethod,desc:u[c.invalidCodeChallengeMethod]},invalidCodeChallengeParams:{code:c.pkceParamsMissing,desc:u[c.pkceParamsMissing]},invalidCloudDiscoveryMetadata:{code:c.invalidCloudDiscoveryMetadata,desc:u[c.invalidCloudDiscoveryMetadata]},invalidAuthorityMetadata:{code:c.invalidAuthorityMetadata,desc:u[c.invalidAuthorityMetadata]},untrustedAuthority:{code:c.untrustedAuthority,desc:u[c.untrustedAuthority]},missingSshJwk:{code:c.missingSshJwk,desc:u[c.missingSshJwk]},missingSshKid:{code:c.missingSshKid,desc:u[c.missingSshKid]},missingNonceAuthenticationHeader:{code:c.missingNonceAuthenticationHeader,desc:u[c.missingNonceAuthenticationHeader]},invalidAuthenticationHeader:{code:c.invalidAuthenticationHeader,desc:u[c.invalidAuthenticationHeader]},cannotSetOIDCOptions:{code:c.cannotSetOIDCOptions,desc:u[c.cannotSetOIDCOptions]},cannotAllowNativeBroker:{code:c.cannotAllowNativeBroker,desc:u[c.cannotAllowNativeBroker]},authorityMismatch:{code:c.authorityMismatch,desc:u[c.authorityMismatch]}};class i extends n.WM{constructor(d){super(d,u[d]),this.name="ClientConfigurationError",Object.setPrototypeOf(this,i.prototype)}}function e(o){return new i(o)}},32336:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{authorityMismatch:()=>V,authorityUriInsecure:()=>u,cannotAllowNativeBroker:()=>N,cannotSetOIDCOptions:()=>L,claimsRequestParsingError:()=>c,emptyInputScopesError:()=>e,invalidAuthenticationHeader:()=>D,invalidAuthorityMetadata:()=>y,invalidClaims:()=>d,invalidCloudDiscoveryMetadata:()=>S,invalidCodeChallengeMethod:()=>p,invalidPromptValue:()=>o,logoutRequestEmpty:()=>M,missingNonceAuthenticationHeader:()=>w,missingSshJwk:()=>C,missingSshKid:()=>_,pkceParamsMissing:()=>E,redirectUriEmpty:()=>n,tokenRequestEmpty:()=>v,untrustedAuthority:()=>f,urlEmptyError:()=>i,urlParseError:()=>l});const n="redirect_uri_empty",c="claims_request_parsing_error",u="authority_uri_insecure",l="url_parse_error",i="empty_url_error",e="empty_input_scopes_error",o="invalid_prompt_value",d="invalid_claims",v="token_request_empty",M="logout_request_empty",p="invalid_code_challenge_method",E="pkce_params_missing",S="invalid_cloud_discovery_metadata",y="invalid_authority_metadata",f="untrusted_authority",C="missing_ssh_jwk",_="missing_ssh_kid",w="missing_nonce_authentication_header",D="invalid_authentication_header",L="cannot_set_OIDCOptions",N="cannot_allow_native_broker",V="authority_mismatch"},53408:(pe,m,s)=>{"use strict";s.d(m,{A6:()=>M,aq:()=>v,gx:()=>o,uw:()=>d});var n=s(34739),c=s(66936),u=s(72896);const l=[u.interactionRequired,u.consentRequired,u.loginRequired,u.badToken],i=["message_only","additional_action","basic_action","user_password_expired","consent_required","bad_token"],e={[u.noTokensFound]:"No refresh token found in the cache. Please sign-in.",[u.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.",[u.refreshTokenExpired]:"Refresh token has expired.",[u.badToken]:"Identity provider returned bad_token due to an expired or invalid refresh token. Please invoke an interactive API to resolve."},o={noTokensFoundError:{code:u.noTokensFound,desc:e[u.noTokensFound]},native_account_unavailable:{code:u.nativeAccountUnavailable,desc:e[u.nativeAccountUnavailable]},bad_token:{code:u.badToken,desc:e[u.badToken]}};class d extends c.WM{constructor(E,S,y,f,C,_,w){super(E,S,y),Object.setPrototypeOf(this,d.prototype),this.timestamp=f||n.Mv.EMPTY_STRING,this.traceId=C||n.Mv.EMPTY_STRING,this.correlationId=_||n.Mv.EMPTY_STRING,this.claims=w||n.Mv.EMPTY_STRING,this.name="InteractionRequiredAuthError"}}function v(p,E,S){const y=!!p&&l.indexOf(p)>-1,f=!!S&&i.indexOf(S)>-1,C=!!E&&l.some(_=>E.indexOf(_)>-1);return y||C||f}function M(p){return new d(p,e[p])}},72896:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{badToken:()=>o,consentRequired:()=>i,interactionRequired:()=>l,loginRequired:()=>e,nativeAccountUnavailable:()=>c,noTokensFound:()=>n,refreshTokenExpired:()=>u});const n="no_tokens_found",c="native_account_unavailable",u="refresh_token_expired",l="interaction_required",i="consent_required",e="login_required",o="bad_token"},76944:(pe,m,s)=>{"use strict";s.d(m,{s:()=>c});var n=s(66936);class c extends n.WM{constructor(l,i,e){super(l,i,e),this.name="ServerError",Object.setPrototypeOf(this,c.prototype)}}},73364:(pe,m,s)=>{"use strict";s.d(m,{G:()=>c,Y:()=>u});var n=s(34739),c=function(l){return l[l.Error=0]="Error",l[l.Warning=1]="Warning",l[l.Info=2]="Info",l[l.Verbose=3]="Verbose",l[l.Trace=4]="Trace",l}(c||{});class u{constructor(i,e,o){this.level=c.Info;const v=i||u.createDefaultLoggerOptions();this.localCallback=v.loggerCallback||(()=>{}),this.piiLoggingEnabled=v.piiLoggingEnabled||!1,this.level="number"==typeof v.logLevel?v.logLevel:c.Info,this.correlationId=v.correlationId||n.Mv.EMPTY_STRING,this.packageName=e||n.Mv.EMPTY_STRING,this.packageVersion=o||n.Mv.EMPTY_STRING}static createDefaultLoggerOptions(){return{loggerCallback:()=>{},piiLoggingEnabled:!1,logLevel:c.Info}}clone(i,e,o){return new u({loggerCallback:this.localCallback,piiLoggingEnabled:this.piiLoggingEnabled,logLevel:this.level,correlationId:o||this.correlationId},i,e)}logMessage(i,e){if(e.logLevel>this.level||!this.piiLoggingEnabled&&e.containsPii)return;const v=`[${(new Date).toUTCString()}] : [${e.correlationId||this.correlationId||""}] : ${this.packageName}@${this.packageVersion} : ${c[e.logLevel]} - ${i}`;this.executeCallback(e.logLevel,v,e.containsPii||!1)}executeCallback(i,e,o){this.localCallback&&this.localCallback(i,e,o)}error(i,e){this.logMessage(i,{logLevel:c.Error,containsPii:!1,correlationId:e||n.Mv.EMPTY_STRING})}errorPii(i,e){this.logMessage(i,{logLevel:c.Error,containsPii:!0,correlationId:e||n.Mv.EMPTY_STRING})}warning(i,e){this.logMessage(i,{logLevel:c.Warning,containsPii:!1,correlationId:e||n.Mv.EMPTY_STRING})}warningPii(i,e){this.logMessage(i,{logLevel:c.Warning,containsPii:!0,correlationId:e||n.Mv.EMPTY_STRING})}info(i,e){this.logMessage(i,{logLevel:c.Info,containsPii:!1,correlationId:e||n.Mv.EMPTY_STRING})}infoPii(i,e){this.logMessage(i,{logLevel:c.Info,containsPii:!0,correlationId:e||n.Mv.EMPTY_STRING})}verbose(i,e){this.logMessage(i,{logLevel:c.Verbose,containsPii:!1,correlationId:e||n.Mv.EMPTY_STRING})}verbosePii(i,e){this.logMessage(i,{logLevel:c.Verbose,containsPii:!0,correlationId:e||n.Mv.EMPTY_STRING})}trace(i,e){this.logMessage(i,{logLevel:c.Trace,containsPii:!1,correlationId:e||n.Mv.EMPTY_STRING})}tracePii(i,e){this.logMessage(i,{logLevel:c.Trace,containsPii:!0,correlationId:e||n.Mv.EMPTY_STRING})}isPiiLoggingEnabled(){return this.piiLoggingEnabled||!1}}},75205:(pe,m,s)=>{"use strict";s.d(m,{N:()=>n,W:()=>c});const n="@azure/msal-common",c="14.7.1"},33363:(pe,m,s)=>{"use strict";s.d(m,{I:()=>o});var n=s(34739),c=s(91076),u=s(95248),l=s(59684),i=s(77768),e=s(32336);class o{constructor(){this.parameters=new Map}addResponseTypeCode(){this.parameters.set(c.U3,encodeURIComponent(n.Mv.CODE_RESPONSE_TYPE))}addResponseTypeForTokenAndIdToken(){this.parameters.set(c.U3,encodeURIComponent(`${n.Mv.TOKEN_RESPONSE_TYPE} ${n.Mv.ID_TOKEN_RESPONSE_TYPE}`))}addResponseMode(v){this.parameters.set(c.Ku,encodeURIComponent(v||n.oh.QUERY))}addNativeBroker(){this.parameters.set(c.Yc,encodeURIComponent("1"))}addScopes(v,M=!0,p=n.ac){M&&!p.includes("openid")&&!v.includes("openid")&&p.push("openid");const E=M?[...v||[],...p]:v||[],S=new u.k(E);this.parameters.set(c.Bz,encodeURIComponent(S.printScopes()))}addClientId(v){this.parameters.set(c._k,encodeURIComponent(v))}addRedirectUri(v){i.e.validateRedirectUri(v),this.parameters.set(c.kB,encodeURIComponent(v))}addPostLogoutRedirectUri(v){i.e.validateRedirectUri(v),this.parameters.set(c.aw,encodeURIComponent(v))}addIdTokenHint(v){this.parameters.set(c.CS,encodeURIComponent(v))}addDomainHint(v){this.parameters.set(c.Ok,encodeURIComponent(v))}addLoginHint(v){this.parameters.set(c.WM,encodeURIComponent(v))}addCcsUpn(v){this.parameters.set(n.MF.CCS_HEADER,encodeURIComponent(`UPN:${v}`))}addCcsOid(v){this.parameters.set(n.MF.CCS_HEADER,encodeURIComponent(`Oid:${v.uid}@${v.utid}`))}addSid(v){this.parameters.set(c.N2,encodeURIComponent(v))}addClaims(v,M){const p=this.addClientCapabilitiesToClaims(v,M);i.e.validateClaims(p),this.parameters.set(c.e8,encodeURIComponent(p))}addCorrelationId(v){this.parameters.set(c.eU,encodeURIComponent(v))}addLibraryInfo(v){this.parameters.set(c.e6,v.sku),this.parameters.set(c.Yr,v.version),v.os&&this.parameters.set(c.cx,v.os),v.cpu&&this.parameters.set(c.uQ,v.cpu)}addApplicationTelemetry(v){v?.appName&&this.parameters.set(c.O0,v.appName),v?.appVersion&&this.parameters.set(c.op,v.appVersion)}addPrompt(v){i.e.validatePrompt(v),this.parameters.set(`${c.E$}`,encodeURIComponent(v))}addState(v){v&&this.parameters.set(c.y2,encodeURIComponent(v))}addNonce(v){this.parameters.set(c.n,encodeURIComponent(v))}addCodeChallengeParams(v,M){if(i.e.validateCodeChallengeParams(v,M),!v||!M)throw(0,l.QN)(e.pkceParamsMissing);this.parameters.set(c.WG,encodeURIComponent(v)),this.parameters.set(c.UJ,encodeURIComponent(M))}addAuthorizationCode(v){this.parameters.set(c.MZ,encodeURIComponent(v))}addDeviceCode(v){this.parameters.set(c.eo,encodeURIComponent(v))}addRefreshToken(v){this.parameters.set(c.S1,encodeURIComponent(v))}addCodeVerifier(v){this.parameters.set(c.gt,encodeURIComponent(v))}addClientSecret(v){this.parameters.set(c.YR,encodeURIComponent(v))}addClientAssertion(v){v&&this.parameters.set(c.iK,encodeURIComponent(v))}addClientAssertionType(v){v&&this.parameters.set(c.gL,encodeURIComponent(v))}addOboAssertion(v){this.parameters.set(c.k1,encodeURIComponent(v))}addRequestTokenUse(v){this.parameters.set(c.Gs,encodeURIComponent(v))}addGrantType(v){this.parameters.set(c.cD,encodeURIComponent(v))}addClientInfo(){this.parameters.set(n.Y$,"1")}addExtraQueryParameters(v){const M=i.e.sanitizeEQParams(v,this.parameters);Object.keys(M).forEach(p=>{this.parameters.set(p,v[p])})}addClientCapabilitiesToClaims(v,M){let p;if(v)try{p=JSON.parse(v)}catch{throw(0,l.QN)(e.invalidClaims)}else p={};return M&&M.length>0&&(p.hasOwnProperty(n.ai.ACCESS_TOKEN)||(p[n.ai.ACCESS_TOKEN]={}),p[n.ai.ACCESS_TOKEN][n.ai.XMS_CC]={values:M}),JSON.stringify(p)}addUsername(v){this.parameters.set(n.uU.username,encodeURIComponent(v))}addPassword(v){this.parameters.set(n.uU.password,encodeURIComponent(v))}addPopToken(v){v&&(this.parameters.set(c.kT,n.me.POP),this.parameters.set(c.cf,encodeURIComponent(v)))}addSshJwk(v){v&&(this.parameters.set(c.kT,n.me.SSH),this.parameters.set(c.cf,encodeURIComponent(v)))}addServerTelemetry(v){this.parameters.set(c.sx,v.generateCurrentRequestHeaderValue()),this.parameters.set(c.qA,v.generateLastRequestHeaderValue())}addThrottling(){this.parameters.set(c._E,n.gr.X_MS_LIB_CAPABILITY_VALUE)}addLogoutHint(v){this.parameters.set(c.sp,encodeURIComponent(v))}createQueryString(){const v=new Array;return this.parameters.forEach((M,p)=>{v.push(`${p}=${M}`)}),v.join("&")}}},77768:(pe,m,s)=>{"use strict";s.d(m,{e:()=>l});var n=s(59684),c=s(34739),u=s(32336);class l{static validateRedirectUri(e){if(!e)throw(0,n.QN)(u.redirectUriEmpty)}static validatePrompt(e){const o=[];for(const d in c.GI)o.push(c.GI[d]);if(o.indexOf(e)<0)throw(0,n.QN)(u.invalidPromptValue)}static validateClaims(e){try{JSON.parse(e)}catch{throw(0,n.QN)(u.invalidClaims)}}static validateCodeChallengeParams(e,o){if(!e||!o)throw(0,n.QN)(u.pkceParamsMissing);this.validateCodeChallengeMethod(o)}static validateCodeChallengeMethod(e){if([c.a2.PLAIN,c.a2.S256].indexOf(e)<0)throw(0,n.QN)(u.invalidCodeChallengeMethod)}static sanitizeEQParams(e,o){return e?(o.forEach((d,v)=>{e[v]&&delete e[v]}),Object.fromEntries(Object.entries(e).filter(d=>""!==d[1]))):{}}}},95248:(pe,m,s)=>{"use strict";s.d(m,{k:()=>o});var n=s(59684),c=s(7828),u=s(28876),l=s(34739),i=s(32336),e=s(71408);class o{constructor(v){const M=v?c.e.trimArrayEntries([...v]):[],p=M?c.e.removeEmptyStringsFromArray(M):[];this.validateInputScopes(p),this.scopes=new Set,p.forEach(E=>this.scopes.add(E))}static fromString(v){const p=(v||l.Mv.EMPTY_STRING).split(" ");return new o(p)}static createSearchScopes(v){const M=new o(v);return M.containsOnlyOIDCScopes()?M.removeScope(l.Mv.OFFLINE_ACCESS_SCOPE):M.removeOIDCScopes(),M}validateInputScopes(v){if(!v||v.length<1)throw(0,n.QN)(i.emptyInputScopesError)}containsScope(v){const M=this.printScopesLowerCase().split(" "),p=new o(M);return!!v&&p.scopes.has(v.toLowerCase())}containsScopeSet(v){return!(!v||v.scopes.size<=0)&&this.scopes.size>=v.scopes.size&&v.asArray().every(M=>this.containsScope(M))}containsOnlyOIDCScopes(){let v=0;return l.sj.forEach(M=>{this.containsScope(M)&&(v+=1)}),this.scopes.size===v}appendScope(v){v&&this.scopes.add(v.trim())}appendScopes(v){try{v.forEach(M=>this.appendScope(M))}catch{throw(0,u.mQ)(e.cannotAppendScopeSet)}}removeScope(v){if(!v)throw(0,u.mQ)(e.cannotRemoveEmptyScope);this.scopes.delete(v.trim())}removeOIDCScopes(){l.sj.forEach(v=>{this.scopes.delete(v)})}unionScopeSets(v){if(!v)throw(0,u.mQ)(e.emptyInputScopeSet);const M=new Set;return v.scopes.forEach(p=>M.add(p.toLowerCase())),this.scopes.forEach(p=>M.add(p.toLowerCase())),M}intersectingScopeSets(v){if(!v)throw(0,u.mQ)(e.emptyInputScopeSet);v.containsOnlyOIDCScopes()||v.removeOIDCScopes();const M=this.unionScopeSets(v),p=v.getScopeCount(),E=this.getScopeCount();return M.sizev.push(M)),v}printScopes(){return this.scopes?this.asArray().join(" "):l.Mv.EMPTY_STRING}printScopesLowerCase(){return this.printScopes().toLowerCase()}}},85348:(pe,m,s)=>{"use strict";s.d(m,{W8:()=>c,Xv:()=>n,ol:()=>u});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"},c={NotStarted:0,InProgress:1,Completed:2},u=new Set(["accessTokenSize","durationMs","idTokenSize","matsSilentStatus","matsHttpStatus","refreshTokenSize","queuedTimeMs","startTimeMs","status","multiMatchedAT","multiMatchedID","multiMatchedRT"])},35128:(pe,m,s)=>{"use strict";s.d(m,{W:()=>c,_:()=>u});var n=s(85348);class c{startMeasurement(){}endMeasurement(){}flushMeasurement(){return null}}class u{generateId(){return"callback-id"}startMeasurement(i,e){return{end:()=>null,discard:()=>{},add:()=>{},increment:()=>{},event:{eventId:this.generateId(),status:n.W8.InProgress,authority:"",libraryName:"",libraryVersion:"",clientId:"",name:i,startTimeMs:Date.now(),correlationId:e||""},measurement:new c}}startPerformanceMeasurement(){return new c}calculateQueuedTime(){return 0}addQueueMeasurement(){}setPreQueueTime(){}endMeasurement(){return null}discardMeasurements(){}removePerformanceCallback(){return!0}addPerformanceCallback(){return""}emitEvents(){}addFields(){}incrementFields(){}cacheEventByCorrelationId(){}}},67648:(pe,m,s)=>{"use strict";s.d(m,{_:()=>e});var n=s(59684),c=s(7828),u=s(34739),l=s(33680),i=s(32336);class e{get urlString(){return this._urlString}constructor(d){if(this._urlString=d,!this._urlString)throw(0,n.QN)(i.urlEmptyError);d.includes("#")||(this._urlString=e.canonicalizeUri(d))}static canonicalizeUri(d){if(d){let v=d.toLowerCase();return c.e.endsWith(v,"?")?v=v.slice(0,-1):c.e.endsWith(v,"?/")&&(v=v.slice(0,-2)),c.e.endsWith(v,"/")||(v+="/"),v}return d}validateAsUri(){let d;try{d=this.getUrlComponents()}catch{throw(0,n.QN)(i.urlParseError)}if(!d.HostNameAndPort||!d.PathSegments)throw(0,n.QN)(i.urlParseError);if(!d.Protocol||"https:"!==d.Protocol.toLowerCase())throw(0,n.QN)(i.authorityUriInsecure)}static appendQueryString(d,v){return v?d.indexOf("?")<0?`${d}?${v}`:`${d}&${v}`:d}static removeHashFromUrl(d){return e.canonicalizeUri(d.split("#")[0])}replaceTenantPath(d){const v=this.getUrlComponents(),M=v.PathSegments;return d&&0!==M.length&&(M[0]===u.sN.COMMON||M[0]===u.sN.ORGANIZATIONS)&&(M[0]=d),e.constructAuthorityUriFromObject(v)}getUrlComponents(){const d=RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?"),v=this.urlString.match(d);if(!v)throw(0,n.QN)(i.urlParseError);const M={Protocol:v[1],HostNameAndPort:v[4],AbsolutePath:v[5],QueryString:v[7]};let p=M.AbsolutePath.split("/");return p=p.filter(E=>E&&E.length>0),M.PathSegments=p,M.QueryString&&M.QueryString.endsWith("/")&&(M.QueryString=M.QueryString.substring(0,M.QueryString.length-1)),M}static getDomainFromUrl(d){const v=RegExp("^([^:/?#]+://)?([^/?#]*)"),M=d.match(v);if(!M)throw(0,n.QN)(i.urlParseError);return M[2]}static getAbsoluteUrl(d,v){if(d[0]===u.Mv.FORWARD_SLASH){const p=new e(v).getUrlComponents();return p.Protocol+"//"+p.HostNameAndPort+d}return d}static constructAuthorityUriFromObject(d){return new e(d.Protocol+"//"+d.HostNameAndPort+"/"+d.PathSegments.join("/"))}static hashContainsKnownProperties(d){return!!(0,l.u)(d)}}},34739:(pe,m,s)=>{"use strict";s.d(m,{A9:()=>y,GI:()=>v,Gu:()=>ce,IH:()=>e,Ku:()=>S,MF:()=>i,Mf:()=>be,Mj:()=>f,Mv:()=>n,Ni:()=>N,Q$:()=>ie,Q3:()=>c,Y$:()=>D,a2:()=>M,ac:()=>u,ai:()=>d,cv:()=>V,cz:()=>w,eE:()=>p,gr:()=>k,ic:()=>G,me:()=>R,oh:()=>E,rF:()=>A,sL:()=>K,sN:()=>o,sj:()=>l,uU:()=>H,wR:()=>J,wj:()=>L,yu:()=>C});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"},c={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},u=[n.OPENID_SCOPE,n.PROFILE_SCOPE,n.OFFLINE_ACCESS_SCOPE],l=[...u,n.EMAIL_SCOPE],i={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"},o={COMMON:"common",ORGANIZATIONS:"organizations",CONSUMERS:"consumers"},d={ACCESS_TOKEN:"access_token",XMS_CC:"xms_cc"},v={LOGIN:"login",SELECT_ACCOUNT:"select_account",CONSENT:"consent",NONE:"none",CREATE:"create",NO_SESSION:"no_session"},M={PLAIN:"plain",S256:"S256"},p={QUERY:"query",FRAGMENT:"fragment"},E={...p,FORM_POST:"form_post"},S={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"},y={MSSTS_ACCOUNT_TYPE:"MSSTS",ADFS_ACCOUNT_TYPE:"ADFS",MSAV1_ACCOUNT_TYPE:"MSA",GENERIC_ACCOUNT_TYPE:"Generic"},f={CACHE_KEY_SEPARATOR:"-",CLIENT_INFO_SEPARATOR:"."},C={ID_TOKEN:"IdToken",ACCESS_TOKEN:"AccessToken",ACCESS_TOKEN_WITH_AUTH_SCHEME:"AccessToken_With_AuthScheme",REFRESH_TOKEN:"RefreshToken"},w="appmetadata",D="client_info",L="1",N={CACHE_KEY:"authority-metadata",REFRESH_TIME_SECONDS:86400},V={CONFIG:"config",CACHE:"cache",NETWORK:"network",HARDCODED_VALUES:"hardcoded_values"},G={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"},R={BEARER:"Bearer",POP:"pop",SSH:"ssh-cert"},k={DEFAULT_THROTTLE_TIME_SECONDS:60,DEFAULT_MAX_THROTTLE_TIME_SECONDS:3600,THROTTLING_PREFIX:"throttling",X_MS_LIB_CAPABILITY_VALUE:"retry-after, h429"},A={INVALID_GRANT_ERROR:"invalid_grant",CLIENT_MISMATCH_ERROR:"client_mismatch"},H={username:"username",password:"password"},K={httpSuccess:200,httpBadRequest:400},ie={FAILED_AUTO_DETECTION:"1",INTERNAL_CACHE:"2",ENVIRONMENT_VARIABLE:"3",IMDS:"4"},J={CONFIGURED_MATCHES_DETECTED:"1",CONFIGURED_NO_AUTO_DETECTION:"2",CONFIGURED_NOT_DETECTED:"3",AUTO_DETECTION_REQUESTED_SUCCESSFUL:"4",AUTO_DETECTION_REQUESTED_FAILED:"5"},be={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:(pe,m,s)=>{"use strict";s.d(m,{C:()=>c,q:()=>n});const n=(u,l,i,e,o)=>(...d)=>{i.trace(`Executing function ${l}`);const v=e?.startMeasurement(l,o);if(o){const M=l+"CallCount";e?.incrementFields({[M]:1},o)}try{const M=u(...d);return v?.end({success:!0}),i.trace(`Returning result from ${l}`),M}catch(M){i.trace(`Error occurred in ${l}`);try{i.trace(JSON.stringify(M))}catch{i.trace("Unable to print error message.")}throw v?.end({success:!1}),M}},c=(u,l,i,e,o)=>(...d)=>{i.trace(`Executing function ${l}`);const v=e?.startMeasurement(l,o);if(o){const M=l+"CallCount";e?.incrementFields({[M]:1},o)}return e?.setPreQueueTime(l,o),u(...d).then(M=>(i.trace(`Returning result from ${l}`),v?.end({success:!0}),M)).catch(M=>{i.trace(`Error occurred in ${l}`);try{i.trace(JSON.stringify(M))}catch{i.trace("Unable to print error message.")}throw v?.end({success:!1}),M})}},86144:(pe,m,s)=>{"use strict";s.d(m,{c:()=>l});var n=s(34739),c=s(28876),u=s(71408);class l{static setRequestState(e,o,d){const v=l.generateLibraryState(e,d);return o?`${v}${n.Mv.RESOURCE_DELIM}${o}`:v}static generateLibraryState(e,o){if(!e)throw(0,c.mQ)(u.noCryptoObject);const d={id:e.createNewGuid()};o&&(d.meta=o);const v=JSON.stringify(d);return e.base64Encode(v)}static parseRequestState(e,o){if(!e)throw(0,c.mQ)(u.noCryptoObject);if(!o)throw(0,c.mQ)(u.invalidState);try{const d=o.split(n.Mv.RESOURCE_DELIM),v=d[0],M=d.length>1?d.slice(1).join(n.Mv.RESOURCE_DELIM):n.Mv.EMPTY_STRING,p=e.base64Decode(v),E=JSON.parse(p);return{userRequestState:M||n.Mv.EMPTY_STRING,libraryState:E}}catch{throw(0,c.mQ)(u.invalidState)}}}},7828:(pe,m,s)=>{"use strict";s.d(m,{e:()=>n});class n{static isEmptyObj(u){if(u)try{const l=JSON.parse(u);return 0===Object.keys(l).length}catch{}return!0}static startsWith(u,l){return 0===u.indexOf(l)}static endsWith(u,l){return u.length>=l.length&&u.lastIndexOf(l)===u.length-l.length}static queryStringToObject(u){const l={},i=u.split("&"),e=o=>decodeURIComponent(o.replace(/\+/g," "));return i.forEach(o=>{if(o.trim()){const[d,v]=o.split(/=(.+)/g,2);d&&v&&(l[e(d)]=e(v))}}),l}static trimArrayEntries(u){return u.map(l=>l.trim())}static removeEmptyStringsFromArray(u){return u.filter(l=>!!l)}static jsonParseHelper(u){try{return JSON.parse(u)}catch{return null}}static matchPattern(u,l){return new RegExp(u.replace(/\\/g,"\\\\").replace(/\*/g,"[^ ]*").replace(/\?/g,"\\?")).test(l)}}},50160:(pe,m,s)=>{"use strict";function n(){return Math.round((new Date).getTime()/1e3)}function c(i,e){const o=Number(i)||0;return n()+e>o}function u(i){return Number(i)>n()}s.d(m,{G4:()=>u,GO:()=>n,WY:()=>c})},33680:(pe,m,s)=>{"use strict";s.d(m,{u:()=>l,w:()=>u});var n=s(28876),c=s(71408);function u(i){return i.startsWith("#/")?i.substring(2):i.startsWith("#")||i.startsWith("?")?i.substring(1):i}function l(i){if(!i||i.indexOf("=")<0)return null;try{const e=u(i),o=Object.fromEntries(new URLSearchParams(e));if(o.code||o.error||o.error_description||o.state)return o}catch{throw(0,n.mQ)(c.hashNotDeserialized)}return null}},57848:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{FaConfig:()=>mi,FaDuotoneIconComponent:()=>En,FaIconComponent:()=>Ki,FaIconLibrary:()=>wi,FaLayersComponent:()=>eo,FaLayersCounterComponent:()=>ki,FaLayersTextComponent:()=>Qr,FaStackComponent:()=>Si,FaStackItemSizeDirective:()=>Ui,FontAwesomeModule:()=>to});var n=s(54496);function c(Ie,ot){var Xe=Object.keys(Ie);if(Object.getOwnPropertySymbols){var dt=Object.getOwnPropertySymbols(Ie);ot&&(dt=dt.filter(function(Tt){return Object.getOwnPropertyDescriptor(Ie,Tt).enumerable})),Xe.push.apply(Xe,dt)}return Xe}function u(Ie){for(var ot=1;otIe.length)&&(ot=Ie.length);for(var Xe=0,dt=new Array(ot);Xe0;)ot+=He[62*Math.random()|0];return ot}function pt(Ie){for(var ot=[],Xe=(Ie||[]).length>>>0;Xe--;)ot[Xe]=Ie[Xe];return ot}function an(Ie){return Ie.classList?pt(Ie.classList):(Ie.getAttribute("class")||"").split(" ").filter(function(ot){return ot})}function Ln(Ie){return"".concat(Ie).replace(/&/g,"&").replace(/"/g,""").replace(/'/g,"'").replace(//g,">")}function Sn(Ie){return Object.keys(Ie||{}).reduce(function(ot,Xe){return ot+"".concat(Xe,": ").concat(Ie[Xe].trim(),";")},"")}function xe(Ie){return Ie.size!==qe.size||Ie.x!==qe.x||Ie.y!==qe.y||Ie.rotate!==qe.rotate||Ie.flipX||Ie.flipY}var jt=':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 ar(){var Ie=je,ot=re,Xe=Yn.cssPrefix,dt=Yn.replacementClass,Tt=jt;if(Xe!==Ie||dt!==ot){var Ot=new RegExp("\\.".concat(Ie,"\\-"),"g"),Bt=new RegExp("\\--".concat(Ie,"\\-"),"g"),Qt=new RegExp("\\.".concat(ot),"g");Tt=Tt.replace(Ot,".".concat(Xe,"-")).replace(Bt,"--".concat(Xe,"-")).replace(Qt,".".concat(dt))}return Tt}var ur=!1;function Tr(){Yn.autoAddCss&&!ur&&(function Nt(Ie){if(Ie&&Oe){var ot=be.createElement("style");ot.setAttribute("type","text/css"),ot.innerHTML=Ie;for(var Xe=be.head.childNodes,dt=null,Tt=Xe.length-1;Tt>-1;Tt--){var Ot=Xe[Tt],Bt=(Ot.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(Bt)>-1&&(dt=Ot)}be.head.insertBefore(ot,dt)}}(ar()),ur=!0)}var lr={mixout:function(){return{dom:{css:ar,insertCss:Tr}}},hooks:function(){return{beforeDOMElementCreation:function(){Tr()},beforeI2svg:function(){Tr()}}}},nr=J||{};nr[Me]||(nr[Me]={}),nr[Me].styles||(nr[Me].styles={}),nr[Me].hooks||(nr[Me].hooks={}),nr[Me].shims||(nr[Me].shims=[]);var Nr=nr[Me],Ci=[],Vn=!1;function dr(Ie){var ot=Ie.tag,Xe=Ie.attributes,dt=void 0===Xe?{}:Xe,Tt=Ie.children,Ot=void 0===Tt?[]:Tt;return"string"==typeof Ie?Ln(Ie):"<".concat(ot," ").concat(function Vt(Ie){return Object.keys(Ie||{}).reduce(function(ot,Xe){return ot+"".concat(Xe,'="').concat(Ln(Ie[Xe]),'" ')},"").trim()}(dt),">").concat(Ot.map(dr).join(""),"")}function ii(Ie,ot,Xe){if(Ie&&Ie[ot]&&Ie[ot][Xe])return{prefix:ot,iconName:Xe,icon:Ie[ot][Xe]}}Oe&&((Vn=(be.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(be.readyState))||be.addEventListener("DOMContentLoaded",function Ie(){be.removeEventListener("DOMContentLoaded",Ie),Vn=1,Ci.map(function(ot){return ot()})}));var at=function(ot,Xe,dt,Tt){var hn,Wn,Y,Ot=Object.keys(ot),Bt=Ot.length,Qt=void 0!==Tt?function(ot,Xe){return function(dt,Tt,Ot,Bt){return ot.call(Xe,dt,Tt,Ot,Bt)}}(Xe,Tt):Xe;for(void 0===dt?(hn=1,Y=ot[Ot[0]]):(hn=0,Y=dt);hn=55296&&Tt<=56319&&Xe2&&void 0!==arguments[2]?arguments[2]:{}).skipHooks,Tt=void 0!==dt&&dt,Ot=gn(ot);"function"!=typeof Nr.hooks.addPack||Tt?Nr.styles[Ie]=u(u({},Nr.styles[Ie]||{}),Ot):Nr.hooks.addPack(Ie,gn(ot)),"fas"===Ie&&wn("fa",ot)}var sr,Xn,xr,Or=Nr.styles,Vr=Nr.shims,Ir=(v(sr={},Yt,Object.values(kn[Yt])),v(sr,Zt,Object.values(kn[Zt])),sr),Er=null,un={},x={},F={},Q={},De={},me=(v(Xn={},Yt,Object.keys(zt[Yt])),v(Xn,Zt,Object.keys(zt[Zt])),Xn);var nt=function(){var ot=function(Ot){return at(Or,function(Bt,Qt,hn){return Bt[hn]=at(Qt,Ot,{}),Bt},{})};un=ot(function(Tt,Ot,Bt){return Ot[3]&&(Tt[Ot[3]]=Bt),Ot[2]&&Ot[2].filter(function(hn){return"number"==typeof hn}).forEach(function(hn){Tt[hn.toString(16)]=Bt}),Tt}),x=ot(function(Tt,Ot,Bt){return Tt[Bt]=Bt,Ot[2]&&Ot[2].filter(function(hn){return"string"==typeof hn}).forEach(function(hn){Tt[hn]=Bt}),Tt}),De=ot(function(Tt,Ot,Bt){var Qt=Ot[2];return Tt[Bt]=Bt,Qt.forEach(function(hn){Tt[hn]=Bt}),Tt});var Xe="far"in Or||Yn.autoFetchSvg,dt=at(Vr,function(Tt,Ot){var Bt=Ot[0],Qt=Ot[1],hn=Ot[2];return"far"===Qt&&!Xe&&(Qt="fas"),"string"==typeof Bt&&(Tt.names[Bt]={prefix:Qt,iconName:hn}),"number"==typeof Bt&&(Tt.unicodes[Bt.toString(16)]={prefix:Qt,iconName:hn}),Tt},{names:{},unicodes:{}});F=dt.names,Q=dt.unicodes,Er=fn(Yn.styleDefault,{family:Yn.familyDefault})};function mt(Ie,ot){return(un[Ie]||{})[ot]}function Ut(Ie,ot){return(De[Ie]||{})[ot]}function tn(Ie){return F[Ie]||{prefix:null,iconName:null}}function vn(){return Er}(function en(Ie){It.push(Ie)})(function(Ie){Er=fn(Ie.styleDefault,{family:Yn.familyDefault})}),nt();var bn=function(){return{prefix:null,iconName:null,rest:[]}};function fn(Ie){var Xe=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).family,dt=void 0===Xe?Yt:Xe;return Hn[dt][Ie]||Hn[dt][zt[dt][Ie]]||(Ie in Nr.styles?Ie:null)||null}var In=(v(xr={},Yt,Object.keys(kn[Yt])),v(xr,Zt,Object.keys(kn[Zt])),xr);function Bn(Ie){var ot,dt=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).skipLookups,Tt=void 0!==dt&&dt,Ot=(v(ot={},Yt,"".concat(Yn.cssPrefix,"-").concat(Yt)),v(ot,Zt,"".concat(Yn.cssPrefix,"-").concat(Zt)),ot),Bt=null,Qt=Yt;(Ie.includes(Ot[Yt])||Ie.some(function(Wn){return In[Yt].includes(Wn)}))&&(Qt=Yt),(Ie.includes(Ot[Zt])||Ie.some(function(Wn){return In[Zt].includes(Wn)}))&&(Qt=Zt);var hn=Ie.reduce(function(Wn,Y){var Ne=function fe(Ie,ot){var Xe=ot.split("-"),dt=Xe[0],Tt=Xe.slice(1).join("-");return dt!==Ie||""===Tt||function q(Ie){return~$n.indexOf(Ie)}(Tt)?null:Tt}(Yn.cssPrefix,Y);if(Or[Y]?(Y=Ir[Qt].includes(Y)?ln[Qt][Y]:Y,Bt=Y,Wn.prefix=Y):me[Qt].indexOf(Y)>-1?(Bt=Y,Wn.prefix=fn(Y,{family:Qt})):Ne?Wn.iconName=Ne:Y!==Yn.replacementClass&&Y!==Ot[Yt]&&Y!==Ot[Zt]&&Wn.rest.push(Y),!Tt&&Wn.prefix&&Wn.iconName){var se="fa"===Bt?tn(Wn.iconName):{},Ee=Ut(Wn.prefix,Wn.iconName);se.prefix&&(Bt=null),Wn.iconName=se.iconName||Ee||Wn.iconName,Wn.prefix=se.prefix||Wn.prefix,"far"===Wn.prefix&&!Or.far&&Or.fas&&!Yn.autoFetchSvg&&(Wn.prefix="fas")}return Wn},bn());return(Ie.includes("fa-brands")||Ie.includes("fab"))&&(hn.prefix="fab"),(Ie.includes("fa-duotone")||Ie.includes("fad"))&&(hn.prefix="fad"),!hn.prefix&&Qt===Zt&&(Or.fass||Yn.autoFetchSvg)&&(hn.prefix="fass",hn.iconName=Ut(hn.prefix,hn.iconName)||hn.iconName),("fa"===hn.prefix||"fa"===Bt)&&(hn.prefix=vn()||"fas"),hn}var _r=function(){function Ie(){(function e(Ie,ot){if(!(Ie instanceof ot))throw new TypeError("Cannot call a class as a function")})(this,Ie),this.definitions={}}return function d(Ie,ot,Xe){ot&&o(Ie.prototype,ot),Xe&&o(Ie,Xe),Object.defineProperty(Ie,"prototype",{writable:!1})}(Ie,[{key:"add",value:function(){for(var Xe=this,dt=arguments.length,Tt=new Array(dt),Ot=0;Ot0&&Y.forEach(function(Ne){"string"==typeof Ne&&(Xe[Qt][Ne]=Wn)}),Xe[Qt][hn]=Wn}),Xe}}]),Ie}(),hr=[],Lr={},ti={},st=Object.keys(ti);function Ri(Ie,ot){for(var Xe=arguments.length,dt=new Array(Xe>2?Xe-2:0),Tt=2;Tt1?ot-1:0),dt=1;dt0&&void 0!==arguments[0]?arguments[0]:{};return Oe?(Ur("beforeI2svg",ot),xn("pseudoElements2svg",ot),xn("i2svg",ot)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var ot=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},Xe=ot.autoReplaceSvgRoot;!1===Yn.autoReplaceSvg&&(Yn.autoReplaceSvg=!0),Yn.observeMutations=!0,function qn(Ie){Oe&&(Vn?setTimeout(Ie,0):Ci.push(Ie))}(function(){oi({autoReplaceSvgRoot:Xe}),Ur("watch",ot)})}},qr={noAuto:function(){Yn.autoReplaceSvg=!1,Yn.observeMutations=!1,Ur("noAuto")},config:Yn,dom:pi,parse:{icon:function(ot){if(null===ot)return null;if("object"===l(ot)&&ot.prefix&&ot.iconName)return{prefix:ot.prefix,iconName:Ut(ot.prefix,ot.iconName)||ot.iconName};if(Array.isArray(ot)&&2===ot.length){var Xe=0===ot[1].indexOf("fa-")?ot[1].slice(3):ot[1],dt=fn(ot[0]);return{prefix:dt,iconName:Ut(dt,Xe)||Xe}}if("string"==typeof ot&&(ot.indexOf("".concat(Yn.cssPrefix,"-"))>-1||ot.match(ft))){var Tt=Bn(ot.split(" "),{skipLookups:!0});return{prefix:Tt.prefix||vn(),iconName:Ut(Tt.prefix,Tt.iconName)||Tt.iconName}}if("string"==typeof ot){var Ot=vn();return{prefix:Ot,iconName:Ut(Ot,ot)||ot}}}},library:Gr,findIconDefinition:Jn,toHtml:dr},oi=function(){var Xe=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).autoReplaceSvgRoot,dt=void 0===Xe?be:Xe;(Object.keys(Nr.styles).length>0||Yn.autoFetchSvg)&&Oe&&Yn.autoReplaceSvg&&qr.dom.i2svg({node:dt})};function ni(Ie,ot){return Object.defineProperty(Ie,"abstract",{get:ot}),Object.defineProperty(Ie,"html",{get:function(){return Ie.abstract.map(function(dt){return dr(dt)})}}),Object.defineProperty(Ie,"node",{get:function(){if(Oe){var dt=be.createElement("div");return dt.innerHTML=Ie.html,dt.children}}}),Ie}function Ji(Ie){var ot=Ie.icons,Xe=ot.main,dt=ot.mask,Tt=Ie.prefix,Ot=Ie.iconName,Bt=Ie.transform,Qt=Ie.symbol,hn=Ie.title,Wn=Ie.maskId,Y=Ie.titleId,Ne=Ie.extra,se=Ie.watchable,Ee=void 0!==se&&se,St=dt.found?dt:Xe,P=St.width,ne=St.height,B="fak"===Tt,ue=[Yn.replacementClass,Ot?"".concat(Yn.cssPrefix,"-").concat(Ot):""].filter(function(Zr){return-1===Ne.classes.indexOf(Zr)}).filter(function(Zr){return""!==Zr||!!Zr}).concat(Ne.classes).join(" "),Ke={children:[],attributes:u(u({},Ne.attributes),{},{"data-prefix":Tt,"data-icon":Ot,class:ue,role:Ne.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(P," ").concat(ne)})},qt=B&&!~Ne.classes.indexOf("fa-fw")?{width:"".concat(P/ne*16*.0625,"em")}:{};Ee&&(Ke.attributes[we]=""),hn&&(Ke.children.push({tag:"title",attributes:{id:Ke.attributes["aria-labelledby"]||"title-".concat(Y||vt())},children:[hn]}),delete Ke.attributes.title);var Cn=u(u({},Ke),{},{prefix:Tt,iconName:Ot,main:Xe,mask:dt,maskId:Wn,transform:Bt,symbol:Qt,styles:u(u({},qt),Ne.styles)}),An=dt.found&&Xe.found?xn("generateAbstractMask",Cn)||{children:[],attributes:{}}:xn("generateAbstractIcon",Cn)||{children:[],attributes:{}},Sr=An.attributes;return Cn.children=An.children,Cn.attributes=Sr,Qt?function yr(Ie){var Xe=Ie.iconName,dt=Ie.children,Tt=Ie.attributes,Ot=Ie.symbol,Bt=!0===Ot?"".concat(Ie.prefix,"-").concat(Yn.cssPrefix,"-").concat(Xe):Ot;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:u(u({},Tt),{},{id:Bt}),children:dt}]}]}(Cn):function ji(Ie){var ot=Ie.children,Xe=Ie.main,dt=Ie.mask,Tt=Ie.attributes,Ot=Ie.styles,Bt=Ie.transform;if(xe(Bt)&&Xe.found&&!dt.found){var Wn={x:Xe.width/Xe.height/2,y:.5};Tt.style=Sn(u(u({},Ot),{},{"transform-origin":"".concat(Wn.x+Bt.x/16,"em ").concat(Wn.y+Bt.y/16,"em")}))}return[{tag:"svg",attributes:Tt,children:ot}]}(Cn)}function Do(Ie){var ot=Ie.content,Xe=Ie.width,dt=Ie.height,Tt=Ie.transform,Ot=Ie.title,Bt=Ie.extra,Qt=Ie.watchable,hn=void 0!==Qt&&Qt,Wn=u(u(u({},Bt.attributes),Ot?{title:Ot}:{}),{},{class:Bt.classes.join(" ")});hn&&(Wn[we]="");var Y=u({},Bt.styles);xe(Tt)&&(Y.transform=function Pt(Ie){var ot=Ie.transform,Xe=Ie.width,Tt=Ie.height,Ot=void 0===Tt?16:Tt,Bt=Ie.startCentered,Qt=void 0!==Bt&&Bt,hn="";return hn+=Qt&&ke?"translate(".concat(ot.x/16-(void 0===Xe?16:Xe)/2,"em, ").concat(ot.y/16-Ot/2,"em) "):Qt?"translate(calc(-50% + ".concat(ot.x/16,"em), calc(-50% + ").concat(ot.y/16,"em)) "):"translate(".concat(ot.x/16,"em, ").concat(ot.y/16,"em) "),(hn+="scale(".concat(ot.size/16*(ot.flipX?-1:1),", ").concat(ot.size/16*(ot.flipY?-1:1),") "))+"rotate(".concat(ot.rotate,"deg) ")}({transform:Tt,startCentered:!0,width:Xe,height:dt}),Y["-webkit-transform"]=Y.transform);var Ne=Sn(Y);Ne.length>0&&(Wn.style=Ne);var se=[];return se.push({tag:"span",attributes:Wn,children:[ot]}),Ot&&se.push({tag:"span",attributes:{class:"sr-only"},children:[Ot]}),se}var ri=Nr.styles;function ro(Ie){var ot=Ie[0],Xe=Ie[1],Ot=E(Ie.slice(4),1)[0];return{found:!0,width:ot,height:Xe,icon:Array.isArray(Ot)?{tag:"g",attributes:{class:"".concat(Yn.cssPrefix,"-").concat(Gt.GROUP)},children:[{tag:"path",attributes:{class:"".concat(Yn.cssPrefix,"-").concat(Gt.SECONDARY),fill:"currentColor",d:Ot[0]}},{tag:"path",attributes:{class:"".concat(Yn.cssPrefix,"-").concat(Gt.PRIMARY),fill:"currentColor",d:Ot[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:Ot}}}}var Rr={found:!1,width:512,height:512};function Pn(Ie,ot){var Xe=ot;return"fa"===ot&&null!==Yn.styleDefault&&(ot=vn()),new Promise(function(dt,Tt){if(xn("missingIconAbstract"),"fa"===Xe){var Bt=tn(Ie)||{};Ie=Bt.iconName||Ie,ot=Bt.prefix||ot}if(Ie&&ot&&ri[ot]&&ri[ot][Ie])return dt(ro(ri[ot][Ie]));(function oo(Ie,ot){!nn&&!Yn.showMissingIcons&&Ie&&console.error('Icon with name "'.concat(Ie,'" and prefix "').concat(ot,'" is missing.'))})(Ie,ot),dt(u(u({},Rr),{},{icon:Yn.showMissingIcons&&Ie&&xn("missingIconAbstract")||{}}))})}var bo=function(){},gi=Yn.measurePerformance&&Ge&&Ge.mark&&Ge.measure?Ge:{mark:bo,measure:bo},Hi='FA "6.5.1"',pr=function(ot){gi.mark("".concat(Hi," ").concat(ot," ends")),gi.measure("".concat(Hi," ").concat(ot),"".concat(Hi," ").concat(ot," begins"),"".concat(Hi," ").concat(ot," ends"))},yo={begin:function(ot){return gi.mark("".concat(Hi," ").concat(ot," begins")),function(){return pr(ot)}},end:pr},Ai=function(){};function Pi(Ie){return"string"==typeof(Ie.getAttribute?Ie.getAttribute(we):null)}function So(Ie){return be.createElementNS("http://www.w3.org/2000/svg",Ie)}function Vi(Ie){return be.createElement(Ie)}function ei(Ie){var Xe=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).ceFn,dt=void 0===Xe?"svg"===Ie.tag?So:Vi:Xe;if("string"==typeof Ie)return be.createTextNode(Ie);var Tt=dt(Ie.tag);return Object.keys(Ie.attributes||[]).forEach(function(Bt){Tt.setAttribute(Bt,Ie.attributes[Bt])}),(Ie.children||[]).forEach(function(Bt){Tt.appendChild(ei(Bt,{ceFn:dt}))}),Tt}var Fi={replace:function(ot){var Xe=ot[0];if(Xe.parentNode)if(ot[1].forEach(function(Tt){Xe.parentNode.insertBefore(ei(Tt),Xe)}),null===Xe.getAttribute(we)&&Yn.keepOriginalSource){var dt=be.createComment(function Uo(Ie){var ot=" ".concat(Ie.outerHTML," ");return"".concat(ot,"Font Awesome fontawesome.com ")}(Xe));Xe.parentNode.replaceChild(dt,Xe)}else Xe.remove()},nest:function(ot){var Xe=ot[0],dt=ot[1];if(~an(Xe).indexOf(Yn.replacementClass))return Fi.replace(ot);var Tt=new RegExp("".concat(Yn.cssPrefix,"-.*"));if(delete dt[0].attributes.id,dt[0].attributes.class){var Ot=dt[0].attributes.class.split(" ").reduce(function(Qt,hn){return hn===Yn.replacementClass||hn.match(Tt)?Qt.toSvg.push(hn):Qt.toNode.push(hn),Qt},{toNode:[],toSvg:[]});dt[0].attributes.class=Ot.toSvg.join(" "),0===Ot.toNode.length?Xe.removeAttribute("class"):Xe.setAttribute("class",Ot.toNode.join(" "))}var Bt=dt.map(function(Qt){return dr(Qt)}).join("\n");Xe.setAttribute(we,""),Xe.innerHTML=Bt}};function ao(Ie){Ie()}function Gi(Ie,ot){var Xe="function"==typeof ot?ot:Ai;if(0===Ie.length)Xe();else{var dt=ao;Yn.mutateApproach===ht&&(dt=J.requestAnimationFrame||ao),dt(function(){var Tt=function Yr(){return!0===Yn.autoReplaceSvg?Fi.replace:Fi[Yn.autoReplaceSvg]||Fi.replace}(),Ot=yo.begin("mutate");Ie.map(Tt),Ot(),Xe()})}}var xo=!1;function Bo(){xo=!0}function so(){xo=!1}var Oo=null;function mo(Ie){if(ce&&Yn.observeMutations){var ot=Ie.treeCallback,Xe=void 0===ot?Ai:ot,dt=Ie.nodeCallback,Tt=void 0===dt?Ai:dt,Ot=Ie.pseudoElementsCallback,Bt=void 0===Ot?Ai:Ot,Qt=Ie.observeMutationsRoot,hn=void 0===Qt?be:Qt;Oo=new ce(function(Wn){if(!xo){var Y=vn();pt(Wn).forEach(function(Ne){if("childList"===Ne.type&&Ne.addedNodes.length>0&&!Pi(Ne.addedNodes[0])&&(Yn.searchPseudoElements&&Bt(Ne.target),Xe(Ne.target)),"attributes"===Ne.type&&Ne.target.parentNode&&Yn.searchPseudoElements&&Bt(Ne.target.parentNode),"attributes"===Ne.type&&Pi(Ne.target)&&~gt.indexOf(Ne.attributeName))if("class"===Ne.attributeName&&function Mo(Ie){var ot=Ie.getAttribute?Ie.getAttribute(wt):null,Xe=Ie.getAttribute?Ie.getAttribute(ye):null;return ot&&Xe}(Ne.target)){var se=Bn(an(Ne.target)),St=se.iconName;Ne.target.setAttribute(wt,se.prefix||Y),St&&Ne.target.setAttribute(ye,St)}else(function uo(Ie){return Ie&&Ie.classList&&Ie.classList.contains&&Ie.classList.contains(Yn.replacementClass)})(Ne.target)&&Tt(Ne.target)})}}),Oe&&Oo.observe(hn,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function jo(Ie){var ot=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},Xe=function ya(Ie){var ot=Ie.getAttribute("data-prefix"),Xe=Ie.getAttribute("data-icon"),dt=void 0!==Ie.innerText?Ie.innerText.trim():"",Tt=Bn(an(Ie));return Tt.prefix||(Tt.prefix=vn()),ot&&Xe&&(Tt.prefix=ot,Tt.iconName=Xe),Tt.iconName&&Tt.prefix||(Tt.prefix&&dt.length>0&&(Tt.iconName=function Et(Ie,ot){return(x[Ie]||{})[ot]}(Tt.prefix,Ie.innerText)||mt(Tt.prefix,Dt(Ie.innerText))),!Tt.iconName&&Yn.autoFetchSvg&&Ie.firstChild&&Ie.firstChild.nodeType===Node.TEXT_NODE&&(Tt.iconName=Ie.firstChild.data)),Tt}(Ie),dt=Xe.iconName,Tt=Xe.prefix,Ot=Xe.rest,Bt=function Qo(Ie){var ot=pt(Ie.attributes).reduce(function(Tt,Ot){return"class"!==Tt.name&&"style"!==Tt.name&&(Tt[Ot.name]=Ot.value),Tt},{}),Xe=Ie.getAttribute("title"),dt=Ie.getAttribute("data-fa-title-id");return Yn.autoA11y&&(Xe?ot["aria-labelledby"]="".concat(Yn.replacementClass,"-title-").concat(dt||vt()):(ot["aria-hidden"]="true",ot.focusable="false")),ot}(Ie),Qt=Ri("parseNodeAttributes",{},Ie),hn=ot.styleParser?function oa(Ie){var ot=Ie.getAttribute("style"),Xe=[];return ot&&(Xe=ot.split(";").reduce(function(dt,Tt){var Ot=Tt.split(":"),Bt=Ot[0],Qt=Ot.slice(1);return Bt&&Qt.length>0&&(dt[Bt]=Qt.join(":").trim()),dt},{})),Xe}(Ie):[];return u({iconName:dt,title:Ie.getAttribute("title"),titleId:Ie.getAttribute("data-fa-title-id"),prefix:Tt,transform:qe,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:Ot,styles:hn,attributes:Bt}},Qt)}var zo=Nr.styles;function Lo(Ie){var ot="nest"===Yn.autoReplaceSvg?jo(Ie,{styleParser:!1}):jo(Ie);return~ot.extra.classes.indexOf(Pe)?xn("generateLayersText",Ie,ot):xn("generateSvgReplacementMutation",Ie,ot)}var Xi=new Set;function ua(Ie){var ot=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!Oe)return Promise.resolve();var Xe=be.documentElement.classList,dt=function(Ne){return Xe.add("".concat(Te,"-").concat(Ne))},Tt=function(Ne){return Xe.remove("".concat(Te,"-").concat(Ne))},Ot=Yn.autoFetchSvg?Xi:Mn.map(function(Y){return"fa-".concat(Y)}).concat(Object.keys(zo));Ot.includes("fa")||Ot.push("fa");var Bt=[".".concat(Pe,":not([").concat(we,"])")].concat(Ot.map(function(Y){return".".concat(Y,":not([").concat(we,"])")})).join(", ");if(0===Bt.length)return Promise.resolve();var Qt=[];try{Qt=pt(Ie.querySelectorAll(Bt))}catch{}if(!(Qt.length>0))return Promise.resolve();dt("pending"),Tt("complete");var hn=yo.begin("onTree"),Wn=Qt.reduce(function(Y,Ne){try{var se=Lo(Ne);se&&Y.push(se)}catch(Ee){nn||"MissingIcon"===Ee.name&&console.error(Ee)}return Y},[]);return new Promise(function(Y,Ne){Promise.all(Wn).then(function(se){Gi(se,function(){dt("active"),dt("complete"),Tt("pending"),"function"==typeof ot&&ot(),hn(),Y()})}).catch(function(se){hn(),Ne(se)})})}function Zo(Ie){var ot=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;Lo(Ie).then(function(Xe){Xe&&Gi([Xe],ot)})}Mn.map(function(Ie){Xi.add("fa-".concat(Ie))}),Object.keys(zt[Yt]).map(Xi.add.bind(Xi)),Object.keys(zt[Zt]).map(Xi.add.bind(Xi)),Xi=S(Xi);var Wo=function(ot){var Xe=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},dt=Xe.transform,Tt=void 0===dt?qe:dt,Ot=Xe.symbol,Bt=void 0!==Ot&&Ot,Qt=Xe.mask,hn=void 0===Qt?null:Qt,Wn=Xe.maskId,Y=void 0===Wn?null:Wn,Ne=Xe.title,se=void 0===Ne?null:Ne,Ee=Xe.titleId,St=void 0===Ee?null:Ee,P=Xe.classes,ne=void 0===P?[]:P,B=Xe.attributes,ue=void 0===B?{}:B,Ke=Xe.styles,qt=void 0===Ke?{}:Ke;if(ot){var Cn=ot.prefix,An=ot.iconName,Kn=ot.icon;return ni(u({type:"icon"},ot),function(){return Ur("beforeDOMElementCreation",{iconDefinition:ot,params:Xe}),Yn.autoA11y&&(se?ue["aria-labelledby"]="".concat(Yn.replacementClass,"-title-").concat(St||vt()):(ue["aria-hidden"]="true",ue.focusable="false")),Ji({icons:{main:ro(Kn),mask:hn?ro(hn.icon):{found:!1,width:null,height:null,icon:{}}},prefix:Cn,iconName:An,transform:u(u({},qe),Tt),symbol:Bt,title:se,maskId:Y,titleId:St,extra:{attributes:ue,styles:qt,classes:ne}})})}},Jo={mixout:function(){return{icon:(Ie=Wo,function(ot){var Xe=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},dt=(ot||{}).icon?ot:Jn(ot||{}),Tt=Xe.mask;return Tt&&(Tt=(Tt||{}).icon?Tt:Jn(Tt||{})),Ie(dt,u(u({},Xe),{},{mask:Tt}))})};var Ie},hooks:function(){return{mutationObserverCallbacks:function(Xe){return Xe.treeCallback=ua,Xe.nodeCallback=Zo,Xe}}},provides:function(ot){ot.i2svg=function(Xe){var dt=Xe.node,Ot=Xe.callback;return ua(void 0===dt?be:dt,void 0===Ot?function(){}:Ot)},ot.generateSvgReplacementMutation=function(Xe,dt){var Tt=dt.iconName,Ot=dt.title,Bt=dt.titleId,Qt=dt.prefix,hn=dt.transform,Wn=dt.symbol,Y=dt.mask,Ne=dt.maskId,se=dt.extra;return new Promise(function(Ee,St){Promise.all([Pn(Tt,Qt),Y.iconName?Pn(Y.iconName,Y.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then(function(P){var ne=E(P,2);Ee([Xe,Ji({icons:{main:ne[0],mask:ne[1]},prefix:Qt,iconName:Tt,transform:hn,symbol:Wn,maskId:Ne,title:Ot,titleId:Bt,extra:se,watchable:!0})])}).catch(St)})},ot.generateAbstractIcon=function(Xe){var Wn,dt=Xe.children,Tt=Xe.attributes,Ot=Xe.main,Bt=Xe.transform,hn=Sn(Xe.styles);return hn.length>0&&(Tt.style=hn),xe(Bt)&&(Wn=xn("generateAbstractTransformGrouping",{main:Ot,transform:Bt,containerWidth:Ot.width,iconWidth:Ot.width})),dt.push(Wn||Ot.icon),{children:dt,attributes:Tt}}}},Le={mixout:function(){return{layer:function(Xe){var dt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Tt=dt.classes,Ot=void 0===Tt?[]:Tt;return ni({type:"layer"},function(){Ur("beforeDOMElementCreation",{assembler:Xe,params:dt});var Bt=[];return Xe(function(Qt){Array.isArray(Qt)?Qt.map(function(hn){Bt=Bt.concat(hn.abstract)}):Bt=Bt.concat(Qt.abstract)}),[{tag:"span",attributes:{class:["".concat(Yn.cssPrefix,"-layers")].concat(S(Ot)).join(" ")},children:Bt}]})}}}},Ye={mixout:function(){return{counter:function(Xe){var dt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Tt=dt.title,Ot=void 0===Tt?null:Tt,Bt=dt.classes,Qt=void 0===Bt?[]:Bt,hn=dt.attributes,Wn=void 0===hn?{}:hn,Y=dt.styles,Ne=void 0===Y?{}:Y;return ni({type:"counter",content:Xe},function(){return Ur("beforeDOMElementCreation",{content:Xe,params:dt}),function vo(Ie){var ot=Ie.content,Xe=Ie.title,dt=Ie.extra,Tt=u(u(u({},dt.attributes),Xe?{title:Xe}:{}),{},{class:dt.classes.join(" ")}),Ot=Sn(dt.styles);Ot.length>0&&(Tt.style=Ot);var Bt=[];return Bt.push({tag:"span",attributes:Tt,children:[ot]}),Xe&&Bt.push({tag:"span",attributes:{class:"sr-only"},children:[Xe]}),Bt}({content:Xe.toString(),title:Ot,extra:{attributes:Wn,styles:Ne,classes:["".concat(Yn.cssPrefix,"-layers-counter")].concat(S(Qt))}})})}}}},ge={mixout:function(){return{text:function(Xe){var dt=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},Tt=dt.transform,Ot=void 0===Tt?qe:Tt,Bt=dt.title,Qt=void 0===Bt?null:Bt,hn=dt.classes,Wn=void 0===hn?[]:hn,Y=dt.attributes,Ne=void 0===Y?{}:Y,se=dt.styles,Ee=void 0===se?{}:se;return ni({type:"text",content:Xe},function(){return Ur("beforeDOMElementCreation",{content:Xe,params:dt}),Do({content:Xe,transform:u(u({},qe),Ot),title:Qt,extra:{attributes:Ne,styles:Ee,classes:["".concat(Yn.cssPrefix,"-layers-text")].concat(S(Wn))}})})}}},provides:function(ot){ot.generateLayersText=function(Xe,dt){var Tt=dt.title,Ot=dt.transform,Bt=dt.extra,Qt=null,hn=null;if(ke){var Wn=parseInt(getComputedStyle(Xe).fontSize,10),Y=Xe.getBoundingClientRect();Qt=Y.width/Wn,hn=Y.height/Wn}return Yn.autoA11y&&!Tt&&(Bt.attributes["aria-hidden"]="true"),Promise.resolve([Xe,Do({content:Xe.innerHTML,width:Qt,height:hn,transform:Ot,title:Tt,extra:Bt,watchable:!0})])}}},lt=new RegExp('"',"ug"),At=[1105920,1112319];function Zn(Ie,ot){var Xe="".concat(tt).concat(ot.replace(":","-"));return new Promise(function(dt,Tt){if(null!==Ie.getAttribute(Xe))return dt();var Bt=pt(Ie.children).filter(function(Kn){return Kn.getAttribute(rt)===ot})[0],Qt=J.getComputedStyle(Ie,ot),hn=Qt.getPropertyValue("font-family").match(le),Wn=Qt.getPropertyValue("font-weight"),Y=Qt.getPropertyValue("content");if(Bt&&!hn)return Ie.removeChild(Bt),dt();if(hn&&"none"!==Y&&""!==Y){var Ne=Qt.getPropertyValue("content"),se=~["Sharp"].indexOf(hn[2])?Zt:Yt,Ee=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(hn[2])?Hn[se][hn[2].toLowerCase()]:he[se][Wn],St=function ir(Ie){var ot=Ie.replace(lt,""),Xe=function sn(Ie,ot){var Tt,Xe=Ie.length,dt=Ie.charCodeAt(ot);return dt>=55296&&dt<=56319&&Xe>ot+1&&(Tt=Ie.charCodeAt(ot+1))>=56320&&Tt<=57343?1024*(dt-55296)+Tt-56320+65536:dt}(ot,0),dt=Xe>=At[0]&&Xe<=At[1],Tt=2===ot.length&&ot[0]===ot[1];return{value:Dt(Tt?ot[0]:ot),isSecondary:dt||Tt}}(Ne),P=St.value,ne=St.isSecondary,B=hn[0].startsWith("FontAwesome"),ue=mt(Ee,P),Ke=ue;if(B){var qt=function pn(Ie){var ot=Q[Ie],Xe=mt("fas",Ie);return ot||(Xe?{prefix:"fas",iconName:Xe}:null)||{prefix:null,iconName:null}}(P);qt.iconName&&qt.prefix&&(ue=qt.iconName,Ee=qt.prefix)}if(!ue||ne||Bt&&Bt.getAttribute(wt)===Ee&&Bt.getAttribute(ye)===Ke)dt();else{Ie.setAttribute(Xe,Ke),Bt&&Ie.removeChild(Bt);var Cn=function Ni(){return{iconName:null,title:null,titleId:null,prefix:null,transform:qe,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}}}(),An=Cn.extra;An.attributes[rt]=ot,Pn(ue,Ee).then(function(Kn){var Sr=Ji(u(u({},Cn),{},{icons:{main:Kn,mask:bn()},prefix:Ee,iconName:Ke,extra:An,watchable:!0})),Zr=be.createElementNS("http://www.w3.org/2000/svg","svg");"::before"===ot?Ie.insertBefore(Zr,Ie.firstChild):Ie.appendChild(Zr),Zr.outerHTML=Sr.map(function(ho){return dr(ho)}).join("\n"),Ie.removeAttribute(Xe),dt()}).catch(Tt)}}else dt()})}function Mi(Ie){return Promise.all([Zn(Ie,"::before"),Zn(Ie,"::after")])}function Eo(Ie){return!(Ie.parentNode===document.head||~Ft.indexOf(Ie.tagName.toUpperCase())||Ie.getAttribute(rt)||Ie.parentNode&&"svg"===Ie.parentNode.tagName)}function Io(Ie){if(Oe)return new Promise(function(ot,Xe){var dt=pt(Ie.querySelectorAll("*")).filter(Eo).map(Mi),Tt=yo.begin("searchPseudoElements");Bo(),Promise.all(dt).then(function(){Tt(),so(),ot()}).catch(function(){Tt(),so(),Xe()})})}var $r=!1,aa=function(ot){return ot.toLowerCase().split(" ").reduce(function(dt,Tt){var Ot=Tt.toLowerCase().split("-"),Bt=Ot[0],Qt=Ot.slice(1).join("-");if(Bt&&"h"===Qt)return dt.flipX=!0,dt;if(Bt&&"v"===Qt)return dt.flipY=!0,dt;if(Qt=parseFloat(Qt),isNaN(Qt))return dt;switch(Bt){case"grow":dt.size=dt.size+Qt;break;case"shrink":dt.size=dt.size-Qt;break;case"left":dt.x=dt.x-Qt;break;case"right":dt.x=dt.x+Qt;break;case"up":dt.y=dt.y-Qt;break;case"down":dt.y=dt.y+Qt;break;case"rotate":dt.rotate=dt.rotate+Qt}return dt},{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},sa={x:0,y:0,width:"100%",height:"100%"};function Ro(Ie){return Ie.attributes&&(Ie.attributes.fill||!(arguments.length>1&&void 0!==arguments[1])||arguments[1])&&(Ie.attributes.fill="black"),Ie}!function co(Ie,ot){var Xe=ot.mixoutsTo;hr=Ie,Lr={},Object.keys(ti).forEach(function(dt){-1===st.indexOf(dt)&&delete ti[dt]}),hr.forEach(function(dt){var Tt=dt.mixout?dt.mixout():{};if(Object.keys(Tt).forEach(function(Bt){"function"==typeof Tt[Bt]&&(Xe[Bt]=Tt[Bt]),"object"===l(Tt[Bt])&&Object.keys(Tt[Bt]).forEach(function(Qt){Xe[Bt]||(Xe[Bt]={}),Xe[Bt][Qt]=Tt[Bt][Qt]})}),dt.hooks){var Ot=dt.hooks();Object.keys(Ot).forEach(function(Bt){Lr[Bt]||(Lr[Bt]=[]),Lr[Bt].push(Ot[Bt])})}dt.provides&&dt.provides(ti)})}([lr,Jo,Le,Ye,ge,{hooks:function(){return{mutationObserverCallbacks:function(Xe){return Xe.pseudoElementsCallback=Io,Xe}}},provides:function(ot){ot.pseudoElements2svg=function(Xe){var dt=Xe.node;Yn.searchPseudoElements&&Io(void 0===dt?be:dt)}}},{mixout:function(){return{dom:{unwatch:function(){Bo(),$r=!0}}}},hooks:function(){return{bootstrap:function(){mo(Ri("mutationObserverCallbacks",{}))},noAuto:function(){!function Ia(){Oo&&Oo.disconnect()}()},watch:function(Xe){var dt=Xe.observeMutationsRoot;$r?so():mo(Ri("mutationObserverCallbacks",{observeMutationsRoot:dt}))}}}},{mixout:function(){return{parse:{transform:function(Xe){return aa(Xe)}}}},hooks:function(){return{parseNodeAttributes:function(Xe,dt){var Tt=dt.getAttribute("data-fa-transform");return Tt&&(Xe.transform=aa(Tt)),Xe}}},provides:function(ot){ot.generateAbstractTransformGrouping=function(Xe){var dt=Xe.main,Tt=Xe.transform,Bt=Xe.iconWidth,Qt={transform:"translate(".concat(Xe.containerWidth/2," 256)")},hn="translate(".concat(32*Tt.x,", ").concat(32*Tt.y,") "),Wn="scale(".concat(Tt.size/16*(Tt.flipX?-1:1),", ").concat(Tt.size/16*(Tt.flipY?-1:1),") "),Y="rotate(".concat(Tt.rotate," 0 0)"),Ee={outer:Qt,inner:{transform:"".concat(hn," ").concat(Wn," ").concat(Y)},path:{transform:"translate(".concat(Bt/2*-1," -256)")}};return{tag:"g",attributes:u({},Ee.outer),children:[{tag:"g",attributes:u({},Ee.inner),children:[{tag:dt.icon.tag,children:dt.icon.children,attributes:u(u({},dt.icon.attributes),Ee.path)}]}]}}}},{hooks:function(){return{parseNodeAttributes:function(Xe,dt){var Tt=dt.getAttribute("data-fa-mask"),Ot=Tt?Bn(Tt.split(" ").map(function(Bt){return Bt.trim()})):bn();return Ot.prefix||(Ot.prefix=vn()),Xe.mask=Ot,Xe.maskId=dt.getAttribute("data-fa-mask-id"),Xe}}},provides:function(ot){ot.generateAbstractMask=function(Xe){var Ie,dt=Xe.children,Tt=Xe.attributes,Ot=Xe.main,Bt=Xe.mask,Qt=Xe.maskId,Y=Ot.icon,se=Bt.icon,Ee=function _t(Ie){var ot=Ie.transform,dt=Ie.iconWidth,Tt={transform:"translate(".concat(Ie.containerWidth/2," 256)")},Ot="translate(".concat(32*ot.x,", ").concat(32*ot.y,") "),Bt="scale(".concat(ot.size/16*(ot.flipX?-1:1),", ").concat(ot.size/16*(ot.flipY?-1:1),") "),Qt="rotate(".concat(ot.rotate," 0 0)");return{outer:Tt,inner:{transform:"".concat(Ot," ").concat(Bt," ").concat(Qt)},path:{transform:"translate(".concat(dt/2*-1," -256)")}}}({transform:Xe.transform,containerWidth:Bt.width,iconWidth:Ot.width}),St={tag:"rect",attributes:u(u({},sa),{},{fill:"white"})},P=Y.children?{children:Y.children.map(Ro)}:{},ne={tag:"g",attributes:u({},Ee.inner),children:[Ro(u({tag:Y.tag,attributes:u(u({},Y.attributes),Ee.path)},P))]},B={tag:"g",attributes:u({},Ee.outer),children:[ne]},ue="mask-".concat(Qt||vt()),Ke="clip-".concat(Qt||vt()),qt={tag:"mask",attributes:u(u({},sa),{},{id:ue,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[St,B]},Cn={tag:"defs",children:[{tag:"clipPath",attributes:{id:Ke},children:(Ie=se,"g"===Ie.tag?Ie.children:[Ie])},qt]};return dt.push(Cn,{tag:"rect",attributes:u({fill:"currentColor","clip-path":"url(#".concat(Ke,")"),mask:"url(#".concat(ue,")")},sa)}),{children:dt,attributes:Tt}}}},{provides:function(ot){var Xe=!1;J.matchMedia&&(Xe=J.matchMedia("(prefers-reduced-motion: reduce)").matches),ot.missingIconAbstract=function(){var dt=[],Tt={fill:"currentColor"},Ot={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};dt.push({tag:"path",attributes:u(u({},Tt),{},{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 Bt=u(u({},Ot),{},{attributeName:"opacity"}),Qt={tag:"circle",attributes:u(u({},Tt),{},{cx:"256",cy:"364",r:"28"}),children:[]};return Xe||Qt.children.push({tag:"animate",attributes:u(u({},Ot),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:u(u({},Bt),{},{values:"1;0;1;1;0;1;"})}),dt.push(Qt),dt.push({tag:"path",attributes:u(u({},Tt),{},{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:Xe?[]:[{tag:"animate",attributes:u(u({},Bt),{},{values:"1;0;0;0;0;1;"})}]}),Xe||dt.push({tag:"path",attributes:u(u({},Tt),{},{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:u(u({},Bt),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:dt}}}},{hooks:function(){return{parseNodeAttributes:function(Xe,dt){var Tt=dt.getAttribute("data-fa-symbol");return Xe.symbol=null!==Tt&&(""===Tt||Tt),Xe}}}}],{mixoutsTo:qr});var ee=qr.parse,Mt=qr.icon,$t=qr.text,Kt=qr.counter,yn=s(14476);const rr=["*"],Mr=Ie=>{const ot={[`fa-${Ie.animation}`]:null!=Ie.animation&&!Ie.animation.startsWith("spin"),"fa-spin":"spin"===Ie.animation||"spin-reverse"===Ie.animation,"fa-spin-pulse":"spin-pulse"===Ie.animation||"spin-pulse-reverse"===Ie.animation,"fa-spin-reverse":"spin-reverse"===Ie.animation||"spin-pulse-reverse"===Ie.animation,"fa-pulse":"spin-pulse"===Ie.animation||"spin-pulse-reverse"===Ie.animation,"fa-fw":Ie.fixedWidth,"fa-border":Ie.border,"fa-inverse":Ie.inverse,"fa-layers-counter":Ie.counter,"fa-flip-horizontal":"horizontal"===Ie.flip||"both"===Ie.flip,"fa-flip-vertical":"vertical"===Ie.flip||"both"===Ie.flip,[`fa-${Ie.size}`]:null!==Ie.size,[`fa-rotate-${Ie.rotate}`]:null!==Ie.rotate,[`fa-pull-${Ie.pull}`]:null!==Ie.pull,[`fa-stack-${Ie.stackItemSize}`]:null!=Ie.stackItemSize};return Object.keys(ot).map(Xe=>ot[Xe]?Xe:null).filter(Xe=>Xe)};let mi=(()=>{class Ie{constructor(){this.defaultPrefix="fas",this.fallbackIcon=null}static#e=this.\u0275fac=function(dt){return new(dt||Ie)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Ie,factory:Ie.\u0275fac,providedIn:"root"})}return Ie})(),wi=(()=>{class Ie{constructor(){this.definitions={}}addIcons(...Xe){for(const dt of Xe){dt.prefix in this.definitions||(this.definitions[dt.prefix]={}),this.definitions[dt.prefix][dt.iconName]=dt;for(const Tt of dt.icon[2])"string"==typeof Tt&&(this.definitions[dt.prefix][Tt]=dt)}}addIconPacks(...Xe){for(const dt of Xe){const Tt=Object.keys(dt).map(Ot=>dt[Ot]);this.addIcons(...Tt)}}getIconDefinition(Xe,dt){return Xe in this.definitions&&dt in this.definitions[Xe]?this.definitions[Xe][dt]:null}static#e=this.\u0275fac=function(dt){return new(dt||Ie)};static#t=this.\u0275prov=n.\u0275\u0275defineInjectable({token:Ie,factory:Ie.\u0275fac,providedIn:"root"})}return Ie})(),Ui=(()=>{class Ie{constructor(){this.stackItemSize="1x"}ngOnChanges(Xe){if("size"in Xe)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(dt){return new(dt||Ie)};static#t=this.\u0275dir=n.\u0275\u0275defineDirective({type:Ie,selectors:[["fa-icon","stackItemSize",""],["fa-duotone-icon","stackItemSize",""]],inputs:{stackItemSize:"stackItemSize",size:"size"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature]})}return Ie})(),Si=(()=>{class Ie{constructor(Xe,dt){this.renderer=Xe,this.elementRef=dt}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-stack")}ngOnChanges(Xe){"size"in Xe&&(null!=Xe.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${Xe.size.currentValue}`),null!=Xe.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${Xe.size.previousValue}`))}static#e=this.\u0275fac=function(dt){return new(dt||Ie)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Ie,selectors:[["fa-stack"]],inputs:{size:"size"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature,n.\u0275\u0275StandaloneFeature],ngContentSelectors:rr,decls:1,vars:0,template:function(dt,Tt){1&dt&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2})}return Ie})(),Ki=(()=>{class Ie{set spin(Xe){this.animation=Xe?"spin":void 0}set pulse(Xe){this.animation=Xe?"spin-pulse":void 0}constructor(Xe,dt,Tt,Ot,Bt){this.sanitizer=Xe,this.config=dt,this.iconLibrary=Tt,this.stackItem=Ot,this.classes=[],null!=Bt&&null==Ot&&console.error('FontAwesome: fa-icon and fa-duotone-icon elements must specify stackItemSize attribute when wrapped into fa-stack. Example: .')}ngOnChanges(Xe){if(null!=this.icon||null!=this.config.fallbackIcon){if(Xe){const Tt=this.findIconDefinition(null!=this.icon?this.icon:this.config.fallbackIcon);if(null!=Tt){const Ot=this.buildParams();this.renderIcon(Tt,Ot)}}}else(()=>{throw new Error("Property `icon` is required for `fa-icon`/`fa-duotone-icon` components.")})()}render(){this.ngOnChanges({})}findIconDefinition(Xe){const dt=((Ie,ot)=>(Ie=>void 0!==Ie.prefix&&void 0!==Ie.iconName)(Ie)?Ie:"string"==typeof Ie?{prefix:ot,iconName:Ie}:{prefix:Ie[0],iconName:Ie[1]})(Xe,this.config.defaultPrefix);return"icon"in dt?dt:this.iconLibrary.getIconDefinition(dt.prefix,dt.iconName)??((Ie=>{throw new Error(`Could not find icon with iconName=${Ie.iconName} and prefix=${Ie.prefix} in the icon library.`)})(dt),null)}buildParams(){const Xe={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},dt="string"==typeof this.transform?ee.transform(this.transform):this.transform;return{title:this.title,transform:dt,classes:[...Mr(Xe),...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(Xe,dt){const Tt=Mt(Xe,dt);this.renderedIconHTML=this.sanitizer.bypassSecurityTrustHtml(Tt.html.join("\n"))}static#e=this.\u0275fac=function(dt){return new(dt||Ie)(n.\u0275\u0275directiveInject(yn.DomSanitizer),n.\u0275\u0275directiveInject(mi),n.\u0275\u0275directiveInject(wi),n.\u0275\u0275directiveInject(Ui,8),n.\u0275\u0275directiveInject(Si,8))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Ie,selectors:[["fa-icon"]],hostAttrs:[1,"ng-fa-icon"],hostVars:2,hostBindings:function(dt,Tt){2&dt&&(n.\u0275\u0275hostProperty("innerHTML",Tt.renderedIconHTML,n.\u0275\u0275sanitizeHtml),n.\u0275\u0275attribute("title",Tt.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(dt,Tt){},encapsulation:2})}return Ie})(),En=(()=>{class Ie extends Ki{findIconDefinition(Xe){const dt=super.findIconDefinition(Xe);if(null!=dt&&!Array.isArray(dt.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 dt}buildParams(){const Xe=super.buildParams();return(!0===this.swapOpacity||"true"===this.swapOpacity)&&Xe.classes.push("fa-swap-opacity"),null!=this.primaryOpacity&&(Xe.styles["--fa-primary-opacity"]=this.primaryOpacity.toString()),null!=this.secondaryOpacity&&(Xe.styles["--fa-secondary-opacity"]=this.secondaryOpacity.toString()),null!=this.primaryColor&&(Xe.styles["--fa-primary-color"]=this.primaryColor),null!=this.secondaryColor&&(Xe.styles["--fa-secondary-color"]=this.secondaryColor),Xe}static#e=this.\u0275fac=(()=>{let Xe;return function(Tt){return(Xe||(Xe=n.\u0275\u0275getInheritedFactory(Ie)))(Tt||Ie)}})();static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Ie,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(dt,Tt){},encapsulation:2})}return Ie})();const Ar=(Ie,ot,Xe)=>{if(!Ie)throw new Error(`${Xe} should be used as child of ${ot} only.`)};let eo=(()=>{class Ie{constructor(Xe,dt,Tt){this.renderer=Xe,this.elementRef=dt,this.config=Tt}ngOnInit(){this.renderer.addClass(this.elementRef.nativeElement,"fa-layers"),this.fixedWidth="boolean"==typeof this.fixedWidth?this.fixedWidth:this.config.fixedWidth}ngOnChanges(Xe){"size"in Xe&&(null!=Xe.size.currentValue&&this.renderer.addClass(this.elementRef.nativeElement,`fa-${Xe.size.currentValue}`),null!=Xe.size.previousValue&&this.renderer.removeClass(this.elementRef.nativeElement,`fa-${Xe.size.previousValue}`))}static#e=this.\u0275fac=function(dt){return new(dt||Ie)(n.\u0275\u0275directiveInject(n.Renderer2),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(mi))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Ie,selectors:[["fa-layers"]],hostVars:2,hostBindings:function(dt,Tt){2&dt&&n.\u0275\u0275classProp("fa-fw",Tt.fixedWidth)},inputs:{size:"size",fixedWidth:"fixedWidth"},standalone:!0,features:[n.\u0275\u0275NgOnChangesFeature,n.\u0275\u0275StandaloneFeature],ngContentSelectors:rr,decls:1,vars:0,template:function(dt,Tt){1&dt&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2})}return Ie})(),ki=(()=>{class Ie{constructor(Xe,dt){this.parent=Xe,this.sanitizer=dt,this.classes=[],Ar(this.parent,"FaLayersComponent",this.constructor.name)}ngOnChanges(Xe){if(Xe){const dt=this.buildParams();this.updateContent(dt)}}buildParams(){const Xe=[];return null!=this.classes&&Xe.push(...this.classes),null!=this.position&&Xe.push(`fa-layers-${this.position}`),{title:this.title,classes:Xe,styles:this.styles}}updateContent(Xe){this.renderedHTML=this.sanitizer.bypassSecurityTrustHtml(Kt(this.content||"",Xe).html.join(""))}static#e=this.\u0275fac=function(dt){return new(dt||Ie)(n.\u0275\u0275directiveInject(eo,8),n.\u0275\u0275directiveInject(yn.DomSanitizer))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Ie,selectors:[["fa-layers-counter"]],hostAttrs:[1,"ng-fa-layers-counter"],hostVars:1,hostBindings:function(dt,Tt){2&dt&&n.\u0275\u0275hostProperty("innerHTML",Tt.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(dt,Tt){},encapsulation:2})}return Ie})(),Qr=(()=>{class Ie{set spin(Xe){this.animation=Xe?"spin":void 0}set pulse(Xe){this.animation=Xe?"spin-pulse":void 0}constructor(Xe,dt){this.parent=Xe,this.sanitizer=dt,this.classes=[],Ar(this.parent,"FaLayersComponent",this.constructor.name)}ngOnChanges(Xe){if(Xe){const dt=this.buildParams();this.updateContent(dt)}}buildParams(){const Xe={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?ee.transform(this.transform):this.transform,classes:[...Mr(Xe),...this.classes],title:this.title,styles:this.styles}}updateContent(Xe){this.renderedHTML=this.sanitizer.bypassSecurityTrustHtml($t(this.content||"",Xe).html.join("\n"))}static#e=this.\u0275fac=function(dt){return new(dt||Ie)(n.\u0275\u0275directiveInject(eo,8),n.\u0275\u0275directiveInject(yn.DomSanitizer))};static#t=this.\u0275cmp=n.\u0275\u0275defineComponent({type:Ie,selectors:[["fa-layers-text"]],hostAttrs:[1,"ng-fa-layers-text"],hostVars:1,hostBindings:function(dt,Tt){2&dt&&n.\u0275\u0275hostProperty("innerHTML",Tt.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(dt,Tt){},encapsulation:2})}return Ie})(),to=(()=>{class Ie{static#e=this.\u0275fac=function(dt){return new(dt||Ie)};static#t=this.\u0275mod=n.\u0275\u0275defineNgModule({type:Ie});static#n=this.\u0275inj=n.\u0275\u0275defineInjector({})}return Ie})()},92512:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{ActionSheetController:()=>dt,AlertController:()=>ot,AngularDelegate:()=>Ct,AnimationController:()=>Xe,BooleanValueAccessor:()=>ji,Config:()=>jr,DomController:()=>gt,GestureController:()=>Tt,ION_MAX_VALIDATOR:()=>ki,ION_MIN_VALIDATOR:()=>to,IonAccordion:()=>bo,IonAccordionGroup:()=>gi,IonActionSheet:()=>Hi,IonAlert:()=>ai,IonApp:()=>pr,IonAvatar:()=>yo,IonBackButton:()=>Ui,IonBackButtonDelegate:()=>Ui,IonBackdrop:()=>Ai,IonBadge:()=>Pi,IonBreadcrumb:()=>Mo,IonBreadcrumbs:()=>uo,IonButton:()=>Yr,IonButtons:()=>So,IonCard:()=>Vi,IonCardContent:()=>ei,IonCardHeader:()=>Uo,IonCardSubtitle:()=>Fi,IonCardTitle:()=>ao,IonCheckbox:()=>Gi,IonChip:()=>xo,IonCol:()=>Bo,IonContent:()=>so,IonDatetime:()=>Oo,IonDatetimeButton:()=>mo,IonFab:()=>Ia,IonFabButton:()=>oa,IonFabList:()=>ya,IonFooter:()=>Qo,IonGrid:()=>Ni,IonHeader:()=>jo,IonIcon:()=>zo,IonImg:()=>Lo,IonInfiniteScroll:()=>Xi,IonInfiniteScrollContent:()=>ua,IonInput:()=>Zo,IonItem:()=>To,IonItemDivider:()=>Wo,IonItemGroup:()=>Jo,IonItemOption:()=>Le,IonItemOptions:()=>Ye,IonItemSliding:()=>ge,IonLabel:()=>lt,IonList:()=>At,IonListHeader:()=>ir,IonLoading:()=>Zn,IonMaxValidator:()=>Qr,IonMenu:()=>Mi,IonMenuButton:()=>Eo,IonMenuToggle:()=>Io,IonMinValidator:()=>Ie,IonModal:()=>Ar,IonNav:()=>Si,IonNavLink:()=>_o,IonNote:()=>$r,IonPicker:()=>Xo,IonPopover:()=>eo,IonProgressBar:()=>aa,IonRadio:()=>io,IonRadioGroup:()=>sa,IonRange:()=>Ro,IonRefresher:()=>wo,IonRefresherContent:()=>qi,IonReorder:()=>Go,IonReorderGroup:()=>la,IonRippleEffect:()=>Ao,IonRouterOutlet:()=>mi,IonRow:()=>go,IonSearchbar:()=>ma,IonSegment:()=>et,IonSegmentButton:()=>$,IonSelect:()=>ee,IonSelectOption:()=>Ce,IonSkeletonText:()=>Ze,IonSpinner:()=>Mt,IonSplitPane:()=>Rt,IonTabBar:()=>$t,IonTabButton:()=>Kt,IonTabs:()=>wi,IonText:()=>yn,IonTextarea:()=>rr,IonThumbnail:()=>er,IonTitle:()=>Kr,IonToast:()=>Mr,IonToggle:()=>fr,IonToolbar:()=>Dr,IonicModule:()=>St,IonicRouteStrategy:()=>mt,IonicSafeString:()=>Bn.I,IonicSlides:()=>Ur,LoadingController:()=>Ot,MenuController:()=>Bt,ModalController:()=>Qt,NavController:()=>br,NavParams:()=>en,NumericValueAccessor:()=>yr,PickerController:()=>hn,Platform:()=>dn,PopoverController:()=>Wn,RadioValueAccessor:()=>Ji,RouterLinkDelegate:()=>Ki,RouterLinkWithHrefDelegate:()=>En,SelectValueAccessor:()=>Do,TextValueAccessor:()=>vo,ToastController:()=>Y,createAnimation:()=>Ut.c,createGesture:()=>fn.createGesture,getIonPageElement:()=>tn.g,getPlatforms:()=>In.g,getTimeGivenProgression:()=>bn.g,iosTransitionAnimation:()=>pn.iosTransitionAnimation,isPlatform:()=>In.a,mdTransitionAnimation:()=>vn.mdTransitionAnimation,openURL:()=>_r.o});var n=s(54496),c=s(44716),u=s(1528),l=s(53076),i=s(91368);class e{constructor(){this.m=new Map}reset(ne){this.m=new Map(Object.entries(ne))}get(ne,B){const ue=this.m.get(ne);return void 0!==ue?ue:B}getBoolean(ne,B=!1){const ue=this.m.get(ne);return void 0===ue?B:"string"==typeof ue?"true"===ue:!!ue}getNumber(ne,B){const ue=parseFloat(this.m.get(ne));return isNaN(ue)?void 0!==B?B:NaN:ue}set(ne,B){this.m.set(ne,B)}}const o=new e,y=P=>C(P),C=(P=window)=>{if(typeof P>"u")return[];P.Ionic=P.Ionic||{};let ne=P.Ionic.platforms;return null==ne&&(ne=P.Ionic.platforms=_(P),ne.forEach(B=>P.document.documentElement.classList.add(`plt-${B}`))),ne},_=P=>{const ne=o.get("platform");return Object.keys(Oe).filter(B=>{const ue=ne?.[B];return"function"==typeof ue?ue(P):Oe[B](P)})},D=P=>!!(Ge(P,/iPad/i)||Ge(P,/Macintosh/i)&&A(P)),V=P=>Ge(P,/android|sink/i),A=P=>ct(P,"(any-pointer:coarse)"),K=P=>ie(P)||J(P),ie=P=>!!(P.cordova||P.phonegap||P.PhoneGap),J=P=>{const ne=P.Capacitor;return!!ne?.isNative},Ge=(P,ne)=>ne.test(P.navigator.userAgent),ct=(P,ne)=>{var B;return null===(B=P.matchMedia)||void 0===B?void 0:B.call(P,ne).matches},Oe={ipad:D,iphone:P=>Ge(P,/iPhone/i),ios:P=>Ge(P,/iPhone|iPod/i)||D(P),android:V,phablet:P=>{const ne=P.innerWidth,B=P.innerHeight,ue=Math.min(ne,B),Ke=Math.max(ne,B);return ue>390&&ue<520&&Ke>620&&Ke<800},tablet:P=>{const ne=P.innerWidth,B=P.innerHeight,ue=Math.min(ne,B),Ke=Math.max(ne,B);return D(P)||(P=>V(P)&&!Ge(P,/mobile/i))(P)||ue>460&&ue<820&&Ke>780&&Ke<1400},cordova:ie,capacitor:J,electron:P=>Ge(P,/electron/i),pwa:P=>{var ne;return!!(null!==(ne=P.matchMedia)&&void 0!==ne&&ne.call(P,"(display-mode: standalone)").matches||P.navigator.standalone)},mobile:A,mobileweb:P=>A(P)&&!K(P),desktop:P=>!A(P),hybrid:K};var $e=s(51896),Be=s(19248),_e=s(95657),Me=s(50560),Se=s(53252),je=s(7400),re=s(45428),we=s(38880),rt=s(74187);const tt=["addListener","removeListener"],wt=["addEventListener","removeEventListener"],ye=["on","off"];function Te(P,ne,B,ue){if((0,we.m)(B)&&(ue=B,B=void 0),ue)return Te(P,ne,B).pipe((0,rt.j)(ue));const[Ke,qt]=function Yt(P){return(0,we.m)(P.addEventListener)&&(0,we.m)(P.removeEventListener)}(P)?wt.map(Cn=>An=>P[Cn](ne,An,B)):function Ft(P){return(0,we.m)(P.addListener)&&(0,we.m)(P.removeListener)}(P)?tt.map(ht(P,ne)):function nn(P){return(0,we.m)(P.on)&&(0,we.m)(P.off)}(P)?ye.map(ht(P,ne)):[];if(!Ke&&(0,re.G)(P))return(0,je.O)(Cn=>Te(Cn,ne,B))((0,Me.Uv)(P));if(!Ke)throw new TypeError("Invalid event target");return new Se._(Cn=>{const An=(...Kn)=>Cn.next(1qt(An)})}function ht(P,ne){return B=>ue=>P[B](ne,ue)}var Zt=s(46700),Mn=s(56040),Un=s(82700),zt=s(81316),Hn=s(66684),kn=s(17368),ln=s(528),ft=s(95448),Pe=s(87773);function he(P,ne){return P===ne}const We=["tabsInner"];class ze{constructor(ne){this.menuController=ne}open(ne){return this.menuController.open(ne)}close(ne){return this.menuController.close(ne)}toggle(ne){return this.menuController.toggle(ne)}enable(ne,B){return this.menuController.enable(ne,B)}swipeGesture(ne,B){return this.menuController.swipeGesture(ne,B)}isOpen(ne){return this.menuController.isOpen(ne)}isEnabled(ne){return this.menuController.isEnabled(ne)}get(ne){return this.menuController.get(ne)}getOpen(){return this.menuController.getOpen()}getMenus(){return this.menuController.getMenus()}registerAnimation(ne,B){return this.menuController.registerAnimation(ne,B)}isAnimating(){return this.menuController.isAnimating()}_getOpenSync(){return this.menuController._getOpenSync()}_createAnimation(ne,B){return this.menuController._createAnimation(ne,B)}_register(ne){return this.menuController._register(ne)}_unregister(ne){return this.menuController._unregister(ne)}_setOpen(ne,B,ue){return this.menuController._setOpen(ne,B,ue)}}let gt=(()=>{class P{read(B){Gt().read(B)}write(B){Gt().write(B)}}return P.\u0275fac=function(B){return new(B||P)},P.\u0275prov=n.\u0275\u0275defineInjectable({token:P,factory:P.\u0275fac,providedIn:"root"}),P})();const Gt=()=>{const P=typeof window<"u"?window:null;if(null!=P){const ne=P.Ionic;return ne?.queue?ne.queue:{read:B=>P.requestAnimationFrame(B),write:B=>P.requestAnimationFrame(B)}}return{read:ne=>ne(),write:ne=>ne()}};let dn=(()=>{class P{constructor(B,ue){this.doc=B,this.backButton=new _e.E,this.keyboardDidShow=new _e.E,this.keyboardDidHide=new _e.E,this.pause=new _e.E,this.resume=new _e.E,this.resize=new _e.E,ue.run(()=>{let Ke;this.win=B.defaultView,this.backButton.subscribeWithPriority=function(qt,Cn){return this.subscribe(An=>An.register(qt,Kn=>ue.run(()=>Cn(Kn))))},tr(this.pause,B,"pause",ue),tr(this.resume,B,"resume",ue),tr(this.backButton,B,"ionBackButton",ue),tr(this.resize,this.win,"resize",ue),tr(this.keyboardDidShow,this.win,"ionKeyboardDidShow",ue),tr(this.keyboardDidHide,this.win,"ionKeyboardDidHide",ue),this._readyPromise=new Promise(qt=>{Ke=qt}),this.win?.cordova?B.addEventListener("deviceready",()=>{Ke("cordova")},{once:!0}):Ke("dom")})}is(B){return((P,ne)=>("string"==typeof P&&(ne=P,P=void 0),y(P).includes(ne)))(this.win,B)}platforms(){return y(this.win)}ready(){return this._readyPromise}get isRTL(){return"rtl"===this.doc.dir}getQueryParam(B){return $n(this.win.location.href,B)}isLandscape(){return!this.isPortrait()}isPortrait(){return this.win.matchMedia?.("(orientation: portrait)").matches}testUserAgent(B){const ue=this.win.navigator;return!!(ue?.userAgent&&ue.userAgent.indexOf(B)>=0)}url(){return this.win.location.href}width(){return this.win.innerWidth}height(){return this.win.innerHeight}}return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275inject(i.DOCUMENT),n.\u0275\u0275inject(n.NgZone))},P.\u0275prov=n.\u0275\u0275defineInjectable({token:P,factory:P.\u0275fac,providedIn:"root"}),P})();const $n=(P,ne)=>{ne=ne.replace(/[[\]\\]/g,"\\$&");const ue=new RegExp("[\\?&]"+ne+"=([^&#]*)").exec(P);return ue?decodeURIComponent(ue[1].replace(/\+/g," ")):null},tr=(P,ne,B,ue)=>{ne&&ne.addEventListener(B,Ke=>{ue.run(()=>{const qt=Ke?.detail;P.next(qt)})})};let br=(()=>{class P{constructor(B,ue,Ke,qt){this.location=ue,this.serializer=Ke,this.router=qt,this.direction=fi,this.animated=Cr,this.guessDirection="forward",this.lastNavId=-1,qt&&qt.events.subscribe(Cn=>{if(Cn instanceof l.NavigationStart){const An=Cn.restoredState?Cn.restoredState.navigationId:Cn.id;this.guessDirection=An{this.pop(),Cn()})}navigateForward(B,ue={}){return this.setDirection("forward",ue.animated,ue.animationDirection,ue.animation),this.navigate(B,ue)}navigateBack(B,ue={}){return this.setDirection("back",ue.animated,ue.animationDirection,ue.animation),this.navigate(B,ue)}navigateRoot(B,ue={}){return this.setDirection("root",ue.animated,ue.animationDirection,ue.animation),this.navigate(B,ue)}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,u.c)(function*(){let ue=B.topOutlet;for(;ue;){if(yield ue.pop())return!0;ue=ue.parentOutlet}return!1})()}setDirection(B,ue,Ke,qt){this.direction=B,this.animated=or(B,ue,Ke),this.animationBuilder=qt}setTopOutlet(B){this.topOutlet=B}consumeTransition(){let ue,B="root";const Ke=this.animationBuilder;return"auto"===this.direction?(B=this.guessDirection,ue=this.guessAnimation):(ue=this.animated,B=this.direction),this.direction=fi,this.animated=Cr,this.animationBuilder=void 0,{direction:B,animation:ue,animationBuilder:Ke}}navigate(B,ue){if(Array.isArray(B))return this.router.navigate(B,ue);{const Ke=this.serializer.parse(B.toString());return void 0!==ue.queryParams&&(Ke.queryParams={...ue.queryParams}),void 0!==ue.fragment&&(Ke.fragment=ue.fragment),this.router.navigateByUrl(Ke,ue)}}}return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275inject(dn),n.\u0275\u0275inject(i.Location),n.\u0275\u0275inject(l.UrlSerializer),n.\u0275\u0275inject(l.Router,8))},P.\u0275prov=n.\u0275\u0275defineInjectable({token:P,factory:P.\u0275fac,providedIn:"root"}),P})();const or=(P,ne,B)=>{if(!1!==ne){if(void 0!==B)return B;if("forward"===P||"back"===P)return P;if("root"===P&&!0===ne)return"forward"}},fi="auto",Cr=void 0;let jr=(()=>{class P{get(B,ue){const Ke=It();return Ke?Ke.get(B,ue):null}getBoolean(B,ue){const Ke=It();return!!Ke&&Ke.getBoolean(B,ue)}getNumber(B,ue){const Ke=It();return Ke?Ke.getNumber(B,ue):0}}return P.\u0275fac=function(B){return new(B||P)},P.\u0275prov=n.\u0275\u0275defineInjectable({token:P,factory:P.\u0275fac,providedIn:"root"}),P})();const Yn=new n.InjectionToken("USERCONFIG"),It=()=>{if(typeof window<"u"){const P=window.Ionic;if(P?.config)return P.config}return null};class en{constructor(ne={}){this.data=ne}get(ne){return this.data[ne]}}let Ct=(()=>{class P{constructor(){this.zone=(0,n.inject)(n.NgZone),this.applicationRef=(0,n.inject)(n.ApplicationRef)}create(B,ue,Ke){return new qe(B,ue,this.applicationRef,this.zone,Ke)}}return P.\u0275fac=function(B){return new(B||P)},P.\u0275prov=n.\u0275\u0275defineInjectable({token:P,factory:P.\u0275fac}),P})();class qe{constructor(ne,B,ue,Ke,qt){this.environmentInjector=ne,this.injector=B,this.applicationRef=ue,this.zone=Ke,this.elementReferenceKey=qt,this.elRefMap=new WeakMap,this.elEventsMap=new WeakMap}attachViewToDom(ne,B,ue,Ke){return this.zone.run(()=>new Promise(qt=>{const Cn={...ue};void 0!==this.elementReferenceKey&&(Cn[this.elementReferenceKey]=ne),qt(Nt(this.zone,this.environmentInjector,this.injector,this.applicationRef,this.elRefMap,this.elEventsMap,ne,B,Cn,Ke,this.elementReferenceKey))}))}removeViewFromDom(ne,B){return this.zone.run(()=>new Promise(ue=>{const Ke=this.elRefMap.get(B);if(Ke){Ke.destroy(),this.elRefMap.delete(B);const qt=this.elEventsMap.get(B);qt&&(qt(),this.elEventsMap.delete(B))}ue()}))}}const Nt=(P,ne,B,ue,Ke,qt,Cn,An,Kn,Sr,Zr)=>{const ho=n.Injector.create({providers:an(Kn),parent:B}),Co=(0,n.createComponent)(An,{environmentInjector:ne,elementInjector:ho}),Fo=Co.instance,xi=Co.location.nativeElement;if(Kn&&(Zr&&void 0!==Fo[Zr]&&console.error(`[Ionic Error]: ${Zr} is a reserved property when using ${Cn.tagName.toLowerCase()}. Rename or remove the "${Zr}" property from ${An.name}.`),Object.assign(Fo,Kn)),Sr)for(const yi of Sr)xi.classList.add(yi);const Yi=vt(P,Fo,xi);return Cn.appendChild(xi),ue.attachView(Co.hostView),Ke.set(xi,Co),qt.set(xi,Yi),xi},He=[$e.L,$e.a,$e.b,$e.c,$e.d],vt=(P,ne,B)=>P.run(()=>{const ue=He.filter(Ke=>"function"==typeof ne[Ke]).map(Ke=>{const qt=Cn=>ne[Ke](Cn.detail);return B.addEventListener(Ke,qt),()=>B.removeEventListener(Ke,qt)});return()=>ue.forEach(Ke=>Ke())}),pt=new n.InjectionToken("NavParamsToken"),an=P=>[{provide:pt,useValue:P},{provide:en,useFactory:Ln,deps:[pt]}],Ln=P=>new en(P),Vt=(P,ne)=>{const B=P.prototype;ne.forEach(ue=>{Object.defineProperty(B,ue,{get(){return this.el[ue]},set(Ke){this.z.runOutsideAngular(()=>this.el[ue]=Ke)}})})},Sn=(P,ne)=>{const B=P.prototype;ne.forEach(ue=>{B[ue]=function(){const Ke=arguments;return this.z.runOutsideAngular(()=>this.el[ue].apply(this.el,Ke))}})},xe=(P,ne,B)=>{B.forEach(ue=>P[ue]=Te(ne,ue))};function _t(P){return function(B){const{defineCustomElementFn:ue,inputs:Ke,methods:qt}=P;return void 0!==ue&&ue(),Ke&&Vt(B,Ke),qt&&Sn(B,qt),B}}const Pt=["alignment","animated","arrow","keepContentsMounted","backdropDismiss","cssClass","dismissOnSelect","enterAnimation","event","isOpen","keyboardClose","leaveAnimation","mode","showBackdrop","translucent","trigger","triggerAction","reference","size","side"],jt=["present","dismiss","onDidDismiss","onWillDismiss"];let ar=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,this.isCmpOpen=!1,this.el=ue.nativeElement,this.el.addEventListener("ionMount",()=>{this.isCmpOpen=!0,B.detectChanges()}),this.el.addEventListener("didDismiss",()=>{this.isCmpOpen=!1,B.detectChanges()}),xe(this,this.el,["ionPopoverDidPresent","ionPopoverWillPresent","ionPopoverWillDismiss","ionPopoverDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275dir=n.\u0275\u0275defineDirective({type:P,selectors:[["ion-popover"]],contentQueries:function(B,ue,Ke){if(1&B&&n.\u0275\u0275contentQuery(Ke,n.TemplateRef,5),2&B){let qt;n.\u0275\u0275queryRefresh(qt=n.\u0275\u0275loadQuery())&&(ue.template=qt.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"}}),P=(0,zt.__decorate)([_t({inputs:Pt,methods:jt})],P),P})();const ur=["animated","keepContentsMounted","backdropBreakpoint","backdropDismiss","breakpoints","canDismiss","cssClass","enterAnimation","event","handle","handleBehavior","initialBreakpoint","isOpen","keyboardClose","leaveAnimation","mode","presentingElement","showBackdrop","translucent","trigger"],Tr=["present","dismiss","onDidDismiss","onWillDismiss","setCurrentBreakpoint","getCurrentBreakpoint"];let lr=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,this.isCmpOpen=!1,this.el=ue.nativeElement,this.el.addEventListener("ionMount",()=>{this.isCmpOpen=!0,B.detectChanges()}),this.el.addEventListener("didDismiss",()=>{this.isCmpOpen=!1,B.detectChanges()}),xe(this,this.el,["ionModalDidPresent","ionModalWillPresent","ionModalWillDismiss","ionModalDidDismiss","ionBreakpointDidChange","didPresent","willPresent","willDismiss","didDismiss"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275dir=n.\u0275\u0275defineDirective({type:P,selectors:[["ion-modal"]],contentQueries:function(B,ue,Ke){if(1&B&&n.\u0275\u0275contentQuery(Ke,n.TemplateRef,5),2&B){let qt;n.\u0275\u0275queryRefresh(qt=n.\u0275\u0275loadQuery())&&(ue.template=qt.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"}}),P=(0,zt.__decorate)([_t({inputs:ur,methods:Tr})],P),P})();const Nr=(P,ne)=>((P=P.filter(B=>B.stackId!==ne.stackId)).push(ne),P),Vn=(P,ne)=>{const B=P.createUrlTree(["."],{relativeTo:ne});return P.serializeUrl(B)},qn=(P,ne)=>!ne||P.stackId!==ne.stackId,dr=(P,ne)=>{if(!P)return;const B=ii(ne);for(let ue=0;ue=P.length)return B[ue];if(B[ue]!==P[ue])return}},ii=P=>P.split("/").map(ne=>ne.trim()).filter(ne=>""!==ne),Fr=P=>{P&&(P.ref.destroy(),P.unlistenEvents())};class at{constructor(ne,B,ue,Ke,qt,Cn){this.containerEl=B,this.router=ue,this.navCtrl=Ke,this.zone=qt,this.location=Cn,this.views=[],this.skipTransition=!1,this.nextId=0,this.tabsPrefix=void 0!==ne?ii(ne):void 0}createView(ne,B){const ue=Vn(this.router,B),Ke=ne?.location?.nativeElement,qt=vt(this.zone,ne.instance,Ke);return{id:this.nextId++,stackId:dr(this.tabsPrefix,ue),unlistenEvents:qt,element:Ke,ref:ne,url:ue}}getExistingView(ne){const B=Vn(this.router,ne),ue=this.views.find(Ke=>Ke.url===B);return ue&&ue.ref.changeDetectorRef.reattach(),ue}setActive(ne){const B=this.navCtrl.consumeTransition();let{direction:ue,animation:Ke,animationBuilder:qt}=B;const Cn=this.activeView,An=qn(ne,Cn);An&&(ue="back",Ke=void 0);const Kn=this.views.slice();let Sr;const Zr=this.router;Zr.getCurrentNavigation?Sr=Zr.getCurrentNavigation():Zr.navigations?.value&&(Sr=Zr.navigations.value),Sr?.extras?.replaceUrl&&this.views.length>0&&this.views.splice(-1,1);const ho=this.views.includes(ne),Co=this.insertView(ne,ue);ho||ne.ref.changeDetectorRef.detectChanges();const Fo=ne.animationBuilder;return void 0===qt&&"back"===ue&&!An&&void 0!==Fo&&(qt=Fo),Cn&&(Cn.animationBuilder=qt),this.zone.runOutsideAngular(()=>this.wait(()=>(Cn&&Cn.ref.changeDetectorRef.detach(),ne.ref.changeDetectorRef.reattach(),this.transition(ne,Cn,Ke,this.canGoBack(1),!1,qt).then(()=>xt(ne,Co,Kn,this.location,this.zone)).then(()=>({enteringView:ne,direction:ue,animation:Ke,tabSwitch:An})))))}canGoBack(ne,B=this.getActiveStackId()){return this.getStack(B).length>ne}pop(ne,B=this.getActiveStackId()){return this.zone.run(()=>{const ue=this.getStack(B);if(ue.length<=ne)return Promise.resolve(!1);const Ke=ue[ue.length-ne-1];let qt=Ke.url;const Cn=Ke.savedData;if(Cn){const Kn=Cn.get("primary");Kn?.route?._routerState?.snapshot.url&&(qt=Kn.route._routerState.snapshot.url)}const{animationBuilder:An}=this.navCtrl.consumeTransition();return this.navCtrl.navigateBack(qt,{...Ke.savedExtras,animation:An}).then(()=>!0)})}startBackTransition(){const ne=this.activeView;if(ne){const B=this.getStack(ne.stackId),ue=B[B.length-2],Ke=ue.animationBuilder;return this.wait(()=>this.transition(ue,ne,"back",this.canGoBack(2),!0,Ke))}return Promise.resolve()}endBackTransition(ne){ne?(this.skipTransition=!0,this.pop(1)):this.activeView&&Dt(this.activeView,this.views,this.views,this.location,this.zone)}getLastUrl(ne){const B=this.getStack(ne);return B.length>0?B[B.length-1]:void 0}getRootUrl(ne){const B=this.getStack(ne);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(Fr),this.activeView=void 0,this.views=[]}getStack(ne){return this.views.filter(B=>B.stackId===ne)}insertView(ne,B){return this.activeView=ne,this.views=((P,ne,B)=>"root"===B?Nr(P,ne):"forward"===B?((P,ne)=>(P.indexOf(ne)>=0?P=P.filter(ue=>ue.stackId!==ne.stackId||ue.id<=ne.id):P.push(ne),P))(P,ne):((P,ne)=>P.indexOf(ne)>=0?P.filter(ue=>ue.stackId!==ne.stackId||ue.id<=ne.id):Nr(P,ne))(P,ne))(this.views,ne,B),this.views.slice()}transition(ne,B,ue,Ke,qt,Cn){if(this.skipTransition)return this.skipTransition=!1,Promise.resolve(!1);if(B===ne)return Promise.resolve(!1);const An=ne?ne.element:void 0,Kn=B?B.element:void 0,Sr=this.containerEl;return An&&An!==Kn&&(An.classList.add("ion-page"),An.classList.add("ion-page-invisible"),An.parentElement!==Sr&&Sr.appendChild(An),Sr.commit)?Sr.commit(An,Kn,{duration:void 0===ue?0:void 0,direction:ue,showGoBack:Ke,progressAnimation:qt,animationBuilder:Cn}):Promise.resolve(!1)}wait(ne){var B=this;return(0,u.c)(function*(){void 0!==B.runningTask&&(yield B.runningTask,B.runningTask=void 0);const ue=B.runningTask=ne();return ue.finally(()=>B.runningTask=void 0),ue})()}}const xt=(P,ne,B,ue,Ke)=>"function"==typeof requestAnimationFrame?new Promise(qt=>{requestAnimationFrame(()=>{Dt(P,ne,B,ue,Ke),qt()})}):Promise.resolve(),Dt=(P,ne,B,ue,Ke)=>{Ke.run(()=>B.filter(qt=>!ne.includes(qt)).forEach(Fr)),ne.forEach(qt=>{const An=ue.path().split("?")[0].split("#")[0];if(qt!==P&&qt.url!==An){const Kn=qt.element;Kn.setAttribute("aria-hidden","true"),Kn.classList.add("ion-page-hidden"),qt.ref.changeDetectorRef.detach()}})};let sn=(()=>{class P{constructor(B,ue,Ke,qt,Cn,An,Kn,Sr){this.parentOutlet=Sr,this.activatedView=null,this.proxyMap=new WeakMap,this.currentActivatedRoute$=new Zt.g(null),this.activated=null,this._activatedRoute=null,this.name=l.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)(l.ChildrenOutletContexts),this.location=(0,n.inject)(n.ViewContainerRef),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector),this.inputBinder=(0,n.inject)(wn,{optional:!0}),this.supportsBindingToComponentInputs=!0,this.config=(0,n.inject)(jr),this.navCtrl=(0,n.inject)(br),this.nativeEl=qt.nativeElement,this.name=B||l.PRIMARY_OUTLET,this.tabsPrefix="true"===ue?Vn(Cn,Kn):void 0,this.stackCtrl=new at(this.tabsPrefix,this.nativeEl,Cn,this.navCtrl,An,Ke),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:ue=>this.stackCtrl.endBackTransition(ue)}: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,Be.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,ue){throw new Error("incompatible reuse strategy")}deactivate(){if(this.activated){if(this.activatedView){const ue=this.getContext();this.activatedView.savedData=new Map(ue.children.contexts);const Ke=this.activatedView.savedData.get("primary");if(Ke&&ue.route&&(Ke.route={...ue.route}),this.activatedView.savedExtras={},ue.route){const qt=ue.route.snapshot;this.activatedView.savedExtras.queryParams=qt.queryParams,this.activatedView.savedExtras.fragment=qt.fragment}}const B=this.component;this.activatedView=null,this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(B)}}activateWith(B,ue){if(this.isActivated)throw new Error("Cannot activate an already activated outlet");this._activatedRoute=B;let Ke,qt=this.stackCtrl.getExistingView(B);if(qt){Ke=this.activated=qt.ref;const An=qt.savedData;An&&(this.getContext().children.contexts=An),this.updateActivatedRouteProxy(Ke.instance,B)}else{const An=B._futureSnapshot,Kn=this.parentContexts.getOrCreateContext(this.name).children,Sr=new Zt.g(null),Zr=this.createActivatedRouteProxy(Sr,B),ho=new gn(Zr,Kn,this.location.injector);Ke=this.activated=this.location.createComponent(An.routeConfig.component??An.component,{index:this.location.length,injector:ho,environmentInjector:ue??this.environmentInjector}),Sr.next(Ke.instance),qt=this.stackCtrl.createView(this.activated,B),this.proxyMap.set(Ke.instance,Zr),this.currentActivatedRoute$.next({component:Ke.instance,activatedRoute:B})}this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activatedView=qt,this.navCtrl.setTopOutlet(this);const Cn=this.stackCtrl.getActiveView();this.stackWillChange.emit({enteringView:qt,tabSwitch:qn(qt,Cn)}),this.stackCtrl.setActive(qt).then(An=>{this.activateEvents.emit(Ke.instance),this.stackDidChange.emit(An)})}canGoBack(B=1,ue){return this.stackCtrl.canGoBack(B,ue)}pop(B=1,ue){return this.stackCtrl.pop(B,ue)}getLastUrl(B){const ue=this.stackCtrl.getLastUrl(B);return ue?ue.url:void 0}getLastRouteView(B){return this.stackCtrl.getLastUrl(B)}getRootView(B){return this.stackCtrl.getRootUrl(B)}getActiveStackId(){return this.stackCtrl.getActiveStackId()}createActivatedRouteProxy(B,ue){const Ke=new l.ActivatedRoute;return Ke._futureSnapshot=ue._futureSnapshot,Ke._routerState=ue._routerState,Ke.snapshot=ue.snapshot,Ke.outlet=ue.outlet,Ke.component=ue.component,Ke._paramMap=this.proxyObservable(B,"paramMap"),Ke._queryParamMap=this.proxyObservable(B,"queryParamMap"),Ke.url=this.proxyObservable(B,"url"),Ke.params=this.proxyObservable(B,"params"),Ke.queryParams=this.proxyObservable(B,"queryParams"),Ke.fragment=this.proxyObservable(B,"fragment"),Ke.data=this.proxyObservable(B,"data"),Ke}proxyObservable(B,ue){return B.pipe((0,Hn.I)(Ke=>!!Ke),(0,kn.G)(Ke=>this.currentActivatedRoute$.pipe((0,Hn.I)(qt=>null!==qt&&qt.component===Ke),(0,kn.G)(qt=>qt&&qt.activatedRoute[ue]),function le(P,ne=ln.Z){return P=P??he,(0,ft.i)((B,ue)=>{let Ke,qt=!0;B.subscribe((0,Pe.e)(ue,Cn=>{const An=ne(Cn);(qt||!P(Ke,An))&&(qt=!1,Ke=An,ue.next(Cn))}))})}())))}updateActivatedRouteProxy(B,ue){const Ke=this.proxyMap.get(B);if(!Ke)throw new Error("Could not find activated route proxy for view");Ke._futureSnapshot=ue._futureSnapshot,Ke._routerState=ue._routerState,Ke.snapshot=ue.snapshot,Ke.outlet=ue.outlet,Ke.component=ue.component,this.currentActivatedRoute$.next({component:B,activatedRoute:ue})}}return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275injectAttribute("name"),n.\u0275\u0275injectAttribute("tabs"),n.\u0275\u0275directiveInject(i.Location),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(l.Router),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(l.ActivatedRoute),n.\u0275\u0275directiveInject(P,12))},P.\u0275dir=n.\u0275\u0275defineDirective({type:P,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"]}),P})();class gn{constructor(ne,B,ue){this.route=ne,this.childContexts=B,this.parent=ue}get(ne,B){return ne===l.ActivatedRoute?this.route:ne===l.ChildrenOutletContexts?this.childContexts:this.parent.get(ne,B)}}const wn=new n.InjectionToken("");let Dn=(()=>{class P{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:ue}=B,Ke=(0,Mn.E)([ue.queryParams,ue.params,ue.data]).pipe((0,kn.G)(([qt,Cn,An],Kn)=>(An={...qt,...Cn,...An},0===Kn?(0,Un.of)(An):Promise.resolve(An)))).subscribe(qt=>{if(!B.isActivated||!B.activatedComponentRef||B.activatedRoute!==ue||null===ue.component)return void this.unsubscribeFromRouteData(B);const Cn=(0,n.reflectComponentType)(ue.component);if(Cn)for(const{templateName:An}of Cn.inputs)B.activatedComponentRef.setInput(An,qt[An]);else this.unsubscribeFromRouteData(B)});this.outletDataSubscriptions.set(B,Ke)}}return P.\u0275fac=function(B){return new(B||P)},P.\u0275prov=n.\u0275\u0275defineInjectable({token:P,factory:P.\u0275fac}),P})();function Xn(P){return P?.componentInputBindingEnabled?new Dn:null}const xr=["color","defaultHref","disabled","icon","mode","routerAnimation","text","type"];let Or=(()=>{let P=class{constructor(B,ue,Ke,qt,Cn,An){this.routerOutlet=B,this.navCtrl=ue,this.config=Ke,this.r=qt,this.z=Cn,An.detach(),this.el=this.r.nativeElement}onClick(B){const ue=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!=ue&&(this.navCtrl.navigateBack(ue,{animation:this.routerAnimation}),B.preventDefault())}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(sn,8),n.\u0275\u0275directiveInject(br),n.\u0275\u0275directiveInject(jr),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},P.\u0275dir=n.\u0275\u0275defineDirective({type:P,hostBindings:function(B,ue){1&B&&n.\u0275\u0275listener("click",function(qt){return ue.onClick(qt)})},inputs:{color:"color",defaultHref:"defaultHref",disabled:"disabled",icon:"icon",mode:"mode",routerAnimation:"routerAnimation",text:"text",type:"type"}}),P=(0,zt.__decorate)([_t({inputs:xr})],P),P})(),Vr=(()=>{class P{constructor(B,ue,Ke,qt,Cn){this.locationStrategy=B,this.navCtrl=ue,this.elementRef=Ke,this.router=qt,this.routerLink=Cn,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 P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(i.LocationStrategy),n.\u0275\u0275directiveInject(br),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(l.Router),n.\u0275\u0275directiveInject(l.RouterLink,8))},P.\u0275dir=n.\u0275\u0275defineDirective({type:P,selectors:[["","routerLink","",5,"a",5,"area"]],hostBindings:function(B,ue){1&B&&n.\u0275\u0275listener("click",function(qt){return ue.onClick(qt)})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[n.\u0275\u0275NgOnChangesFeature]}),P})(),Ir=(()=>{class P{constructor(B,ue,Ke,qt,Cn){this.locationStrategy=B,this.navCtrl=ue,this.elementRef=Ke,this.router=qt,this.routerLink=Cn,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 P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(i.LocationStrategy),n.\u0275\u0275directiveInject(br),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(l.Router),n.\u0275\u0275directiveInject(l.RouterLink,8))},P.\u0275dir=n.\u0275\u0275defineDirective({type:P,selectors:[["a","routerLink",""],["area","routerLink",""]],hostBindings:function(B,ue){1&B&&n.\u0275\u0275listener("click",function(){return ue.onClick()})},inputs:{routerDirection:"routerDirection",routerAnimation:"routerAnimation"},features:[n.\u0275\u0275NgOnChangesFeature]}),P})();const Er=["animated","animation","root","rootParams","swipeGesture"],un=["push","insert","insertPages","pop","popTo","popToRoot","removeIndex","setRoot","setPages","getActive","getByIndex","canGoBack","getPrevious"];let x=(()=>{let P=class{constructor(B,ue,Ke,qt,Cn,An){this.z=Cn,An.detach(),this.el=B.nativeElement,B.nativeElement.delegate=qt.create(ue,Ke),xe(this,this.el,["ionNavDidChange","ionNavWillChange"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.EnvironmentInjector),n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(Ct),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},P.\u0275dir=n.\u0275\u0275defineDirective({type:P,inputs:{animated:"animated",animation:"animation",root:"root",rootParams:"rootParams",swipeGesture:"swipeGesture"}}),P=(0,zt.__decorate)([_t({inputs:Er,methods:un})],P),P})(),F=(()=>{class P{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:ue}){const Ke=B.stackId;ue&&void 0!==Ke&&this.ionTabsWillChange.emit({tab:Ke})}onStackDidChange({enteringView:B,tabSwitch:ue}){const Ke=B.stackId;ue&&void 0!==Ke&&(this.tabBar&&(this.tabBar.selectedTab=Ke),this.ionTabsDidChange.emit({tab:Ke}))}select(B){const ue="string"==typeof B,Ke=ue?B:B.detail.tab,qt=this.outlet.getActiveStackId()===Ke,Cn=`${this.outlet.tabsPrefix}/${Ke}`;if(ue||B.stopPropagation(),qt){const An=this.outlet.getActiveStackId();if(this.outlet.getLastRouteView(An)?.url===Cn)return;const Sr=this.outlet.getRootView(Ke);return this.navCtrl.navigateRoot(Cn,{...Sr&&Cn===Sr.url&&Sr.savedExtras,animated:!0,animationDirection:"back"})}{const An=this.outlet.getLastRouteView(Ke),Kn=An?.url||Cn,Sr=An?.savedExtras;return this.navCtrl.navigateRoot(Kn,{...Sr,animated:!0,animationDirection:"back"})}}getSelected(){return this.outlet.getActiveStackId()}detectSlotChanges(){this.tabBars.forEach(B=>{const ue=B.el.getAttribute("slot");ue!==this.tabBarSlot&&(this.tabBarSlot=ue,this.relocateTabBar())})}relocateTabBar(){const B=this.tabBar.el;"top"===this.tabBarSlot?this.tabsInner.nativeElement.before(B):this.tabsInner.nativeElement.after(B)}}return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(br))},P.\u0275dir=n.\u0275\u0275defineDirective({type:P,selectors:[["ion-tabs"]],viewQuery:function(B,ue){if(1&B&&n.\u0275\u0275viewQuery(We,7,n.ElementRef),2&B){let Ke;n.\u0275\u0275queryRefresh(Ke=n.\u0275\u0275loadQuery())&&(ue.tabsInner=Ke.first)}},hostBindings:function(B,ue){1&B&&n.\u0275\u0275listener("ionTabButtonClick",function(qt){return ue.select(qt)})},outputs:{ionTabsWillChange:"ionTabsWillChange",ionTabsDidChange:"ionTabsDidChange"}}),P})();const Q=P=>"function"==typeof __zone_symbol__requestAnimationFrame?__zone_symbol__requestAnimationFrame(P):"function"==typeof requestAnimationFrame?requestAnimationFrame(P):setTimeout(P);let De=(()=>{class P{constructor(B,ue){this.injector=B,this.elementRef=ue,this.onChange=()=>{},this.onTouched=()=>{}}writeValue(B){this.elementRef.nativeElement.value=this.lastValue=B,me(this.elementRef)}handleValueChange(B,ue){B===this.elementRef.nativeElement&&(ue!==this.lastValue&&(this.lastValue=ue,this.onChange(ue)),me(this.elementRef))}_handleBlurEvent(B){B===this.elementRef.nativeElement&&(this.onTouched(),me(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(c.NgControl)}catch{}if(!B)return;B.statusChanges&&(this.statusChanges=B.statusChanges.subscribe(()=>me(this.elementRef)));const ue=B.control;ue&&["markAsTouched","markAllAsTouched","markAsUntouched","markAsDirty","markAsPristine"].forEach(qt=>{if(typeof ue[qt]<"u"){const Cn=ue[qt].bind(ue);ue[qt]=(...An)=>{Cn(...An),me(this.elementRef)}}})}}return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},P.\u0275dir=n.\u0275\u0275defineDirective({type:P,hostBindings:function(B,ue){1&B&&n.\u0275\u0275listener("ionBlur",function(qt){return ue._handleBlurEvent(qt.target)})}}),P})();const me=P=>{Q(()=>{const ne=P.nativeElement,B=null!=ne.value&&ne.value.toString().length>0,ue=q(ne);fe(ne,ue);const Ke=ne.closest("ion-item");Ke&&fe(Ke,B?[...ue,"item-has-value"]:ue)})},q=P=>{const ne=P.classList,B=[];for(let ue=0;ue{const B=P.classList;B.remove("ion-valid","ion-invalid","ion-touched","ion-untouched","ion-dirty","ion-pristine"),B.add(...ne)},nt=(P,ne)=>P.substring(0,ne.length)===ne;class mt{shouldDetach(ne){return!1}shouldAttach(ne){return!1}store(ne,B){}retrieve(ne){return null}shouldReuseRoute(ne,B){if(ne.routeConfig!==B.routeConfig)return!1;const ue=ne.params,Ke=B.params,qt=Object.keys(ue),Cn=Object.keys(Ke);if(qt.length!==Cn.length)return!1;for(const An of qt)if(Ke[An]!==ue[An])return!1;return!0}}class Et{constructor(ne){this.ctrl=ne}create(ne){return this.ctrl.create(ne||{})}dismiss(ne,B,ue){return this.ctrl.dismiss(ne,B,ue)}getTop(){return this.ctrl.getTop()}}var Ut=s(30388),tn=s(76256),pn=s(68512),vn=s(96556),bn=s(86944),fn=s(62528),In=s(88523),Bn=s(59637),_r=s(45256),hr=s(43452),Lr=s(63816),st=(s(14829),s(62992));s(66560),s(72784);const Ur=P=>{const{swiper:ne,extendParams:B}=P,ue={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"}};ne.pagination&&(ue.pagination={type:"bullets",clickable:!1,hideOnClick:!1}),ne.scrollbar&&(ue.scrollbar={hide:!0}),B(ue)},Jn=In.i,Gr=function(){var P=(0,u.c)(function*(ne,B){if(!(typeof window>"u"))return yield Jn(),(0,st.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,ue){return P.apply(this,arguments)}}(),jn=["*"],pi=["outlet"],Zi=[[["","slot","top"]],"*"],qr=["[slot=top]","*"];function oi(P,ne){if(1&P&&(n.\u0275\u0275elementStart(0,"div",1),n.\u0275\u0275elementContainer(1,2),n.\u0275\u0275elementEnd()),2&P){const B=n.\u0275\u0275nextContext();n.\u0275\u0275advance(),n.\u0275\u0275property("ngTemplateOutlet",B.template)}}function ni(P,ne){if(1&P&&n.\u0275\u0275elementContainer(0,1),2&P){const B=n.\u0275\u0275nextContext();n.\u0275\u0275property("ngTemplateOutlet",B.template)}}let ji=(()=>{class P extends De{constructor(B,ue){super(B,ue)}writeValue(B){this.elementRef.nativeElement.checked=this.lastValue=B,me(this.elementRef)}_handleIonChange(B){this.handleValueChange(B,B.checked)}}return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},P.\u0275dir=n.\u0275\u0275defineDirective({type:P,selectors:[["ion-checkbox"],["ion-toggle"]],hostBindings:function(B,ue){1&B&&n.\u0275\u0275listener("ionChange",function(qt){return ue._handleIonChange(qt.target)})},features:[n.\u0275\u0275ProvidersFeature([{provide:c.NG_VALUE_ACCESSOR,useExisting:P,multi:!0}]),n.\u0275\u0275InheritDefinitionFeature]}),P})(),yr=(()=>{class P extends De{constructor(B,ue){super(B,ue)}handleInputEvent(B){this.handleValueChange(B,B.value)}registerOnChange(B){super.registerOnChange(ue=>{B(""===ue?null:parseFloat(ue))})}}return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},P.\u0275dir=n.\u0275\u0275defineDirective({type:P,selectors:[["ion-input","type","number"]],hostBindings:function(B,ue){1&B&&n.\u0275\u0275listener("ionInput",function(qt){return ue.handleInputEvent(qt.target)})},features:[n.\u0275\u0275ProvidersFeature([{provide:c.NG_VALUE_ACCESSOR,useExisting:P,multi:!0}]),n.\u0275\u0275InheritDefinitionFeature]}),P})(),Ji=(()=>{class P extends De{constructor(B,ue){super(B,ue)}_handleIonSelect(B){this.handleValueChange(B,B.checked)}}return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},P.\u0275dir=n.\u0275\u0275defineDirective({type:P,selectors:[["ion-radio"]],hostBindings:function(B,ue){1&B&&n.\u0275\u0275listener("ionSelect",function(qt){return ue._handleIonSelect(qt.target)})},features:[n.\u0275\u0275ProvidersFeature([{provide:c.NG_VALUE_ACCESSOR,useExisting:P,multi:!0}]),n.\u0275\u0275InheritDefinitionFeature]}),P})(),Do=(()=>{class P extends De{constructor(B,ue){super(B,ue)}_handleChangeEvent(B){this.handleValueChange(B,B.value)}}return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},P.\u0275dir=n.\u0275\u0275defineDirective({type:P,selectors:[["ion-select"],["ion-radio-group"],["ion-segment"],["ion-datetime"]],hostBindings:function(B,ue){1&B&&n.\u0275\u0275listener("ionChange",function(qt){return ue._handleChangeEvent(qt.target)})},features:[n.\u0275\u0275ProvidersFeature([{provide:c.NG_VALUE_ACCESSOR,useExisting:P,multi:!0}]),n.\u0275\u0275InheritDefinitionFeature]}),P})(),vo=(()=>{class P extends De{constructor(B,ue){super(B,ue)}_handleInputEvent(B){this.handleValueChange(B,B.value)}}return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(n.ElementRef))},P.\u0275dir=n.\u0275\u0275defineDirective({type:P,selectors:[["ion-input",3,"type","number"],["ion-textarea"],["ion-searchbar"],["ion-range"]],hostBindings:function(B,ue){1&B&&n.\u0275\u0275listener("ionInput",function(qt){return ue._handleInputEvent(qt.target)})},features:[n.\u0275\u0275ProvidersFeature([{provide:c.NG_VALUE_ACCESSOR,useExisting:P,multi:!0}]),n.\u0275\u0275InheritDefinitionFeature]}),P})();const ri=(P,ne)=>{const B=P.prototype;ne.forEach(ue=>{Object.defineProperty(B,ue,{get(){return this.el[ue]},set(Ke){this.z.runOutsideAngular(()=>this.el[ue]=Ke)},configurable:!0})})},ro=(P,ne)=>{const B=P.prototype;ne.forEach(ue=>{B[ue]=function(){const Ke=arguments;return this.z.runOutsideAngular(()=>this.el[ue].apply(this.el,Ke))}})},Rr=(P,ne,B)=>{B.forEach(ue=>P[ue]=Te(ne,ue))};function Pn(P){return function(B){const{defineCustomElementFn:ue,inputs:Ke,methods:qt}=P;return void 0!==ue&&ue(),Ke&&ri(B,Ke),qt&&ro(B,qt),B}}let bo=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-accordion"]],inputs:{disabled:"disabled",mode:"mode",readonly:"readonly",toggleIcon:"toggleIcon",toggleIconSlot:"toggleIconSlot",value:"value"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["disabled","mode","readonly","toggleIcon","toggleIconSlot","value"]})],P),P})(),gi=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement,Rr(this,this.el,["ionChange"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-accordion-group"]],inputs:{animated:"animated",disabled:"disabled",expand:"expand",mode:"mode",multiple:"multiple",readonly:"readonly",value:"value"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["animated","disabled","expand","mode","multiple","readonly","value"]})],P),P})(),Hi=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement,Rr(this,this.el,["ionActionSheetDidPresent","ionActionSheetWillPresent","ionActionSheetWillDismiss","ionActionSheetDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,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:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["animated","backdropDismiss","buttons","cssClass","enterAnimation","header","htmlAttributes","isOpen","keyboardClose","leaveAnimation","mode","subHeader","translucent","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss"]})],P),P})(),ai=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement,Rr(this,this.el,["ionAlertDidPresent","ionAlertWillPresent","ionAlertWillDismiss","ionAlertDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,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:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["animated","backdropDismiss","buttons","cssClass","enterAnimation","header","htmlAttributes","inputs","isOpen","keyboardClose","leaveAnimation","message","mode","subHeader","translucent","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss"]})],P),P})(),pr=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-app"]],ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({})],P),P})(),yo=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-avatar"]],ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({})],P),P})(),Ai=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement,Rr(this,this.el,["ionBackdropTap"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-backdrop"]],inputs:{stopPropagation:"stopPropagation",tappable:"tappable",visible:"visible"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["stopPropagation","tappable","visible"]})],P),P})(),Pi=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-badge"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["color","mode"]})],P),P})(),Mo=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement,Rr(this,this.el,["ionFocus","ionBlur"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,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:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["active","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","separator","target"]})],P),P})(),uo=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement,Rr(this,this.el,["ionCollapsedClick"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-breadcrumbs"]],inputs:{color:"color",itemsAfterCollapse:"itemsAfterCollapse",itemsBeforeCollapse:"itemsBeforeCollapse",maxItems:"maxItems",mode:"mode"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["color","itemsAfterCollapse","itemsBeforeCollapse","maxItems","mode"]})],P),P})(),Yr=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement,Rr(this,this.el,["ionFocus","ionBlur"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,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:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["buttonType","color","disabled","download","expand","fill","form","href","mode","rel","routerAnimation","routerDirection","shape","size","strong","target","type"]})],P),P})(),So=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-buttons"]],inputs:{collapse:"collapse"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["collapse"]})],P),P})(),Vi=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,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:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["button","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","target","type"]})],P),P})(),ei=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-card-content"]],inputs:{mode:"mode"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["mode"]})],P),P})(),Uo=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-card-header"]],inputs:{color:"color",mode:"mode",translucent:"translucent"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["color","mode","translucent"]})],P),P})(),Fi=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-card-subtitle"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["color","mode"]})],P),P})(),ao=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-card-title"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["color","mode"]})],P),P})(),Gi=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement,Rr(this,this.el,["ionChange","ionFocus","ionBlur"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,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:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["alignment","checked","color","disabled","indeterminate","justify","labelPlacement","legacy","mode","name","value"]})],P),P})(),xo=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-chip"]],inputs:{color:"color",disabled:"disabled",mode:"mode",outline:"outline"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["color","disabled","mode","outline"]})],P),P})(),Bo=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,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:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({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"]})],P),P})(),so=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement,Rr(this,this.el,["ionScrollStart","ionScroll","ionScrollEnd"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-content"]],inputs:{color:"color",forceOverscroll:"forceOverscroll",fullscreen:"fullscreen",scrollEvents:"scrollEvents",scrollX:"scrollX",scrollY:"scrollY"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["color","forceOverscroll","fullscreen","scrollEvents","scrollX","scrollY"],methods:["getScrollElement","scrollToTop","scrollToBottom","scrollByPoint","scrollToPoint"]})],P),P})(),Oo=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement,Rr(this,this.el,["ionCancel","ionChange","ionFocus","ionBlur"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,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:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({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"]})],P),P})(),mo=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-datetime-button"]],inputs:{color:"color",datetime:"datetime",disabled:"disabled",mode:"mode"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["color","datetime","disabled","mode"]})],P),P})(),Ia=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-fab"]],inputs:{activated:"activated",edge:"edge",horizontal:"horizontal",vertical:"vertical"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["activated","edge","horizontal","vertical"],methods:["close"]})],P),P})(),oa=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement,Rr(this,this.el,["ionFocus","ionBlur"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,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:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["activated","closeIcon","color","disabled","download","href","mode","rel","routerAnimation","routerDirection","show","size","target","translucent","type"]})],P),P})(),ya=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-fab-list"]],inputs:{activated:"activated",side:"side"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["activated","side"]})],P),P})(),Qo=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-footer"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["collapse","mode","translucent"]})],P),P})(),Ni=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-grid"]],inputs:{fixed:"fixed"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["fixed"]})],P),P})(),jo=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-header"]],inputs:{collapse:"collapse",mode:"mode",translucent:"translucent"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["collapse","mode","translucent"]})],P),P})(),zo=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,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:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["color","flipRtl","icon","ios","lazy","md","mode","name","sanitize","size","src"]})],P),P})(),Lo=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement,Rr(this,this.el,["ionImgWillLoad","ionImgDidLoad","ionError"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-img"]],inputs:{alt:"alt",src:"src"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["alt","src"]})],P),P})(),Xi=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement,Rr(this,this.el,["ionInfinite"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-infinite-scroll"]],inputs:{disabled:"disabled",position:"position",threshold:"threshold"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["disabled","position","threshold"],methods:["complete"]})],P),P})(),ua=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-infinite-scroll-content"]],inputs:{loadingSpinner:"loadingSpinner",loadingText:"loadingText"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["loadingSpinner","loadingText"]})],P),P})(),Zo=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement,Rr(this,this.el,["ionInput","ionChange","ionBlur","ionFocus"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,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:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({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"]})],P),P})(),To=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,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:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["button","color","counter","counterFormatter","detail","detailIcon","disabled","download","fill","href","lines","mode","rel","routerAnimation","routerDirection","shape","target","type"]})],P),P})(),Wo=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-item-divider"]],inputs:{color:"color",mode:"mode",sticky:"sticky"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["color","mode","sticky"]})],P),P})(),Jo=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-item-group"]],ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({})],P),P})(),Le=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-item-option"]],inputs:{color:"color",disabled:"disabled",download:"download",expandable:"expandable",href:"href",mode:"mode",rel:"rel",target:"target",type:"type"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["color","disabled","download","expandable","href","mode","rel","target","type"]})],P),P})(),Ye=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement,Rr(this,this.el,["ionSwipe"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-item-options"]],inputs:{side:"side"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["side"]})],P),P})(),ge=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement,Rr(this,this.el,["ionDrag"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-item-sliding"]],inputs:{disabled:"disabled"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["disabled"],methods:["getOpenAmount","getSlidingRatio","open","close","closeOpened"]})],P),P})(),lt=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-label"]],inputs:{color:"color",mode:"mode",position:"position"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["color","mode","position"]})],P),P})(),At=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-list"]],inputs:{inset:"inset",lines:"lines",mode:"mode"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["inset","lines","mode"],methods:["closeSlidingItems"]})],P),P})(),ir=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-list-header"]],inputs:{color:"color",lines:"lines",mode:"mode"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["color","lines","mode"]})],P),P})(),Zn=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement,Rr(this,this.el,["ionLoadingDidPresent","ionLoadingWillPresent","ionLoadingWillDismiss","ionLoadingDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,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:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["animated","backdropDismiss","cssClass","duration","enterAnimation","htmlAttributes","isOpen","keyboardClose","leaveAnimation","message","mode","showBackdrop","spinner","translucent","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss"]})],P),P})(),Mi=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement,Rr(this,this.el,["ionWillOpen","ionWillClose","ionDidOpen","ionDidClose"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-menu"]],inputs:{contentId:"contentId",disabled:"disabled",maxEdgeStart:"maxEdgeStart",menuId:"menuId",side:"side",swipeGesture:"swipeGesture",type:"type"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["contentId","disabled","maxEdgeStart","menuId","side","swipeGesture","type"],methods:["isOpen","isActive","open","close","toggle","setOpen"]})],P),P})(),Eo=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-menu-button"]],inputs:{autoHide:"autoHide",color:"color",disabled:"disabled",menu:"menu",mode:"mode",type:"type"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["autoHide","color","disabled","menu","mode","type"]})],P),P})(),Io=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-menu-toggle"]],inputs:{autoHide:"autoHide",menu:"menu"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["autoHide","menu"]})],P),P})(),_o=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-nav-link"]],inputs:{component:"component",componentProps:"componentProps",routerAnimation:"routerAnimation",routerDirection:"routerDirection"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["component","componentProps","routerAnimation","routerDirection"]})],P),P})(),$r=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-note"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["color","mode"]})],P),P})(),Xo=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement,Rr(this,this.el,["ionPickerDidPresent","ionPickerWillPresent","ionPickerWillDismiss","ionPickerDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,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:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["animated","backdropDismiss","buttons","columns","cssClass","duration","enterAnimation","htmlAttributes","isOpen","keyboardClose","leaveAnimation","mode","showBackdrop","trigger"],methods:["present","dismiss","onDidDismiss","onWillDismiss","getColumn"]})],P),P})(),aa=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-progress-bar"]],inputs:{buffer:"buffer",color:"color",mode:"mode",reversed:"reversed",type:"type",value:"value"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["buffer","color","mode","reversed","type","value"]})],P),P})(),io=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement,Rr(this,this.el,["ionFocus","ionBlur"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-radio"]],inputs:{alignment:"alignment",color:"color",disabled:"disabled",justify:"justify",labelPlacement:"labelPlacement",legacy:"legacy",mode:"mode",name:"name",value:"value"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["alignment","color","disabled","justify","labelPlacement","legacy","mode","name","value"]})],P),P})(),sa=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement,Rr(this,this.el,["ionChange"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-radio-group"]],inputs:{allowEmptySelection:"allowEmptySelection",compareWith:"compareWith",name:"name",value:"value"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["allowEmptySelection","compareWith","name","value"]})],P),P})(),Ro=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement,Rr(this,this.el,["ionChange","ionInput","ionFocus","ionBlur","ionKnobMoveStart","ionKnobMoveEnd"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,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:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["activeBarStart","color","debounce","disabled","dualKnobs","label","labelPlacement","legacy","max","min","mode","name","pin","pinFormatter","snaps","step","ticks","value"]})],P),P})(),wo=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement,Rr(this,this.el,["ionRefresh","ionPull","ionStart"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-refresher"]],inputs:{closeDuration:"closeDuration",disabled:"disabled",mode:"mode",pullFactor:"pullFactor",pullMax:"pullMax",pullMin:"pullMin",snapbackDuration:"snapbackDuration"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["closeDuration","disabled","mode","pullFactor","pullMax","pullMin","snapbackDuration"],methods:["complete","cancel","getProgress"]})],P),P})(),qi=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-refresher-content"]],inputs:{pullingIcon:"pullingIcon",pullingText:"pullingText",refreshingSpinner:"refreshingSpinner",refreshingText:"refreshingText"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["pullingIcon","pullingText","refreshingSpinner","refreshingText"]})],P),P})(),Go=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-reorder"]],ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({})],P),P})(),la=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement,Rr(this,this.el,["ionItemReorder"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-reorder-group"]],inputs:{disabled:"disabled"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["disabled"],methods:["complete"]})],P),P})(),Ao=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-ripple-effect"]],inputs:{type:"type"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["type"],methods:["addRipple"]})],P),P})(),go=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-row"]],ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({})],P),P})(),ma=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement,Rr(this,this.el,["ionInput","ionChange","ionCancel","ionClear","ionBlur","ionFocus"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,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:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["animated","autocomplete","autocorrect","cancelButtonIcon","cancelButtonText","clearIcon","color","debounce","disabled","enterkeyhint","inputmode","mode","name","placeholder","searchIcon","showCancelButton","showClearButton","spellcheck","type","value"],methods:["setFocus","getInputElement"]})],P),P})(),et=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement,Rr(this,this.el,["ionChange"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-segment"]],inputs:{color:"color",disabled:"disabled",mode:"mode",scrollable:"scrollable",selectOnFocus:"selectOnFocus",swipeGesture:"swipeGesture",value:"value"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["color","disabled","mode","scrollable","selectOnFocus","swipeGesture","value"]})],P),P})(),$=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-segment-button"]],inputs:{disabled:"disabled",layout:"layout",mode:"mode",type:"type",value:"value"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["disabled","layout","mode","type","value"]})],P),P})(),ee=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement,Rr(this,this.el,["ionChange","ionCancel","ionDismiss","ionFocus","ionBlur"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,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:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["cancelText","color","compareWith","disabled","expandedIcon","fill","interface","interfaceOptions","justify","label","labelPlacement","legacy","mode","multiple","name","okText","placeholder","selectedText","shape","toggleIcon","value"],methods:["open"]})],P),P})(),Ce=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-select-option"]],inputs:{disabled:"disabled",value:"value"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["disabled","value"]})],P),P})(),Ze=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-skeleton-text"]],inputs:{animated:"animated"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["animated"]})],P),P})(),Mt=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-spinner"]],inputs:{color:"color",duration:"duration",name:"name",paused:"paused"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["color","duration","name","paused"]})],P),P})(),Rt=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement,Rr(this,this.el,["ionSplitPaneVisible"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-split-pane"]],inputs:{contentId:"contentId",disabled:"disabled",when:"when"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["contentId","disabled","when"]})],P),P})(),$t=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-tab-bar"]],inputs:{color:"color",mode:"mode",selectedTab:"selectedTab",translucent:"translucent"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["color","mode","selectedTab","translucent"]})],P),P})(),Kt=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-tab-button"]],inputs:{disabled:"disabled",download:"download",href:"href",layout:"layout",mode:"mode",rel:"rel",selected:"selected",tab:"tab",target:"target"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["disabled","download","href","layout","mode","rel","selected","tab","target"]})],P),P})(),yn=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-text"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["color","mode"]})],P),P})(),rr=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement,Rr(this,this.el,["ionChange","ionInput","ionBlur","ionFocus"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,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:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({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"]})],P),P})(),er=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-thumbnail"]],ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({})],P),P})(),Kr=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-title"]],inputs:{color:"color",size:"size"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["color","size"]})],P),P})(),Mr=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement,Rr(this,this.el,["ionToastDidPresent","ionToastWillPresent","ionToastWillDismiss","ionToastDidDismiss","didPresent","willPresent","willDismiss","didDismiss"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,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:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({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"]})],P),P})(),fr=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement,Rr(this,this.el,["ionChange","ionFocus","ionBlur"])}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,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:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["alignment","checked","color","disabled","enableOnOffLabels","justify","labelPlacement","legacy","mode","name","value"]})],P),P})(),Dr=(()=>{let P=class{constructor(B,ue,Ke){this.z=Ke,B.detach(),this.el=ue.nativeElement}};return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ChangeDetectorRef),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-toolbar"]],inputs:{color:"color",mode:"mode"},ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P=(0,zt.__decorate)([Pn({inputs:["color","mode"]})],P),P})(),mi=(()=>{class P extends sn{constructor(B,ue,Ke,qt,Cn,An,Kn,Sr){super(B,ue,Ke,qt,Cn,An,Kn,Sr),this.parentOutlet=Sr}}return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275injectAttribute("name"),n.\u0275\u0275injectAttribute("tabs"),n.\u0275\u0275directiveInject(i.Location),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(l.Router),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(l.ActivatedRoute),n.\u0275\u0275directiveInject(P,12))},P.\u0275dir=n.\u0275\u0275defineDirective({type:P,selectors:[["ion-router-outlet"]],features:[n.\u0275\u0275InheritDefinitionFeature]}),P})(),wi=(()=>{class P extends F{}return P.\u0275fac=(()=>{let ne;return function(ue){return(ne||(ne=n.\u0275\u0275getInheritedFactory(P)))(ue||P)}})(),P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-tabs"]],contentQueries:function(B,ue,Ke){if(1&B&&(n.\u0275\u0275contentQuery(Ke,$t,5),n.\u0275\u0275contentQuery(Ke,$t,4)),2&B){let qt;n.\u0275\u0275queryRefresh(qt=n.\u0275\u0275loadQuery())&&(ue.tabBar=qt.first),n.\u0275\u0275queryRefresh(qt=n.\u0275\u0275loadQuery())&&(ue.tabBars=qt)}},viewQuery:function(B,ue){if(1&B&&n.\u0275\u0275viewQuery(pi,5,mi),2&B){let Ke;n.\u0275\u0275queryRefresh(Ke=n.\u0275\u0275loadQuery())&&(ue.outlet=Ke.first)}},features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:qr,decls:6,vars:0,consts:[[1,"tabs-inner"],["tabsInner",""],["tabs","true",3,"stackWillChange","stackDidChange"],["outlet",""]],template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(Zi),n.\u0275\u0275projection(0),n.\u0275\u0275elementStart(1,"div",0,1)(3,"ion-router-outlet",2,3),n.\u0275\u0275listener("stackWillChange",function(qt){return ue.onStackWillChange(qt)})("stackDidChange",function(qt){return ue.onStackDidChange(qt)}),n.\u0275\u0275elementEnd()(),n.\u0275\u0275projection(5,1))},dependencies:[mi],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}"]}),P})(),Ui=(()=>{class P extends Or{constructor(B,ue,Ke,qt,Cn,An){super(B,ue,Ke,qt,Cn,An)}}return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(mi,8),n.\u0275\u0275directiveInject(br),n.\u0275\u0275directiveInject(jr),n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-back-button"]],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P})(),Si=(()=>{class P extends x{constructor(B,ue,Ke,qt,Cn,An){super(B,ue,Ke,qt,Cn,An)}}return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275directiveInject(n.ElementRef),n.\u0275\u0275directiveInject(n.EnvironmentInjector),n.\u0275\u0275directiveInject(n.Injector),n.\u0275\u0275directiveInject(Ct),n.\u0275\u0275directiveInject(n.NgZone),n.\u0275\u0275directiveInject(n.ChangeDetectorRef))},P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-nav"]],features:[n.\u0275\u0275InheritDefinitionFeature],ngContentSelectors:jn,decls:1,vars:0,template:function(B,ue){1&B&&(n.\u0275\u0275projectionDef(),n.\u0275\u0275projection(0))},encapsulation:2,changeDetection:0}),P})(),Ki=(()=>{class P extends Vr{}return P.\u0275fac=(()=>{let ne;return function(ue){return(ne||(ne=n.\u0275\u0275getInheritedFactory(P)))(ue||P)}})(),P.\u0275dir=n.\u0275\u0275defineDirective({type:P,selectors:[["","routerLink","",5,"a",5,"area"]],features:[n.\u0275\u0275InheritDefinitionFeature]}),P})(),En=(()=>{class P extends Ir{}return P.\u0275fac=(()=>{let ne;return function(ue){return(ne||(ne=n.\u0275\u0275getInheritedFactory(P)))(ue||P)}})(),P.\u0275dir=n.\u0275\u0275defineDirective({type:P,selectors:[["a","routerLink",""],["area","routerLink",""]],features:[n.\u0275\u0275InheritDefinitionFeature]}),P})(),Ar=(()=>{class P extends lr{}return P.\u0275fac=(()=>{let ne;return function(ue){return(ne||(ne=n.\u0275\u0275getInheritedFactory(P)))(ue||P)}})(),P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,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,ue){1&B&&n.\u0275\u0275template(0,oi,2,1,"div",0),2&B&&n.\u0275\u0275property("ngIf",ue.isCmpOpen||ue.keepContentsMounted)},dependencies:[i.NgIf,i.NgTemplateOutlet],encapsulation:2,changeDetection:0}),P})(),eo=(()=>{class P extends ar{}return P.\u0275fac=(()=>{let ne;return function(ue){return(ne||(ne=n.\u0275\u0275getInheritedFactory(P)))(ue||P)}})(),P.\u0275cmp=n.\u0275\u0275defineComponent({type:P,selectors:[["ion-popover"]],features:[n.\u0275\u0275InheritDefinitionFeature],decls:1,vars:1,consts:[[3,"ngTemplateOutlet",4,"ngIf"],[3,"ngTemplateOutlet"]],template:function(B,ue){1&B&&n.\u0275\u0275template(0,ni,1,1,"ng-container",0),2&B&&n.\u0275\u0275property("ngIf",ue.isCmpOpen||ue.keepContentsMounted)},dependencies:[i.NgIf,i.NgTemplateOutlet],encapsulation:2,changeDetection:0}),P})();const ki={provide:c.NG_VALIDATORS,useExisting:(0,n.forwardRef)(()=>Qr),multi:!0};let Qr=(()=>{class P extends c.MaxValidator{}return P.\u0275fac=(()=>{let ne;return function(ue){return(ne||(ne=n.\u0275\u0275getInheritedFactory(P)))(ue||P)}})(),P.\u0275dir=n.\u0275\u0275defineDirective({type:P,selectors:[["ion-input","type","number","max","","formControlName",""],["ion-input","type","number","max","","formControl",""],["ion-input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(B,ue){2&B&&n.\u0275\u0275attribute("max",ue._enabled?ue.max:null)},features:[n.\u0275\u0275ProvidersFeature([ki]),n.\u0275\u0275InheritDefinitionFeature]}),P})();const to={provide:c.NG_VALIDATORS,useExisting:(0,n.forwardRef)(()=>Ie),multi:!0};let Ie=(()=>{class P extends c.MinValidator{}return P.\u0275fac=(()=>{let ne;return function(ue){return(ne||(ne=n.\u0275\u0275getInheritedFactory(P)))(ue||P)}})(),P.\u0275dir=n.\u0275\u0275defineDirective({type:P,selectors:[["ion-input","type","number","min","","formControlName",""],["ion-input","type","number","min","","formControl",""],["ion-input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(B,ue){2&B&&n.\u0275\u0275attribute("min",ue._enabled?ue.min:null)},features:[n.\u0275\u0275ProvidersFeature([to]),n.\u0275\u0275InheritDefinitionFeature]}),P})(),ot=(()=>{class P extends Et{constructor(){super(Lr.a)}}return P.\u0275fac=function(B){return new(B||P)},P.\u0275prov=n.\u0275\u0275defineInjectable({token:P,factory:P.\u0275fac,providedIn:"root"}),P})(),Xe=(()=>{class P{create(B){return(0,Ut.c)(B)}easingTime(B,ue,Ke,qt,Cn){return(0,bn.g)(B,ue,Ke,qt,Cn)}}return P.\u0275fac=function(B){return new(B||P)},P.\u0275prov=n.\u0275\u0275defineInjectable({token:P,factory:P.\u0275fac,providedIn:"root"}),P})(),dt=(()=>{class P extends Et{constructor(){super(Lr.b)}}return P.\u0275fac=function(B){return new(B||P)},P.\u0275prov=n.\u0275\u0275defineInjectable({token:P,factory:P.\u0275fac,providedIn:"root"}),P})(),Tt=(()=>{class P{constructor(B){this.zone=B}create(B,ue=!1){return ue&&Object.getOwnPropertyNames(B).forEach(Ke=>{if("function"==typeof B[Ke]){const qt=B[Ke];B[Ke]=(...Cn)=>this.zone.run(()=>qt(...Cn))}}),(0,fn.createGesture)(B)}}return P.\u0275fac=function(B){return new(B||P)(n.\u0275\u0275inject(n.NgZone))},P.\u0275prov=n.\u0275\u0275defineInjectable({token:P,factory:P.\u0275fac,providedIn:"root"}),P})(),Ot=(()=>{class P extends Et{constructor(){super(Lr.l)}}return P.\u0275fac=function(B){return new(B||P)},P.\u0275prov=n.\u0275\u0275defineInjectable({token:P,factory:P.\u0275fac,providedIn:"root"}),P})(),Bt=(()=>{class P extends ze{constructor(){super(hr.m)}}return P.\u0275fac=function(B){return new(B||P)},P.\u0275prov=n.\u0275\u0275defineInjectable({token:P,factory:P.\u0275fac,providedIn:"root"}),P})(),Qt=(()=>{class P extends Et{constructor(){super(Lr.m),this.angularDelegate=(0,n.inject)(Ct),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 P.\u0275fac=function(B){return new(B||P)},P.\u0275prov=n.\u0275\u0275defineInjectable({token:P,factory:P.\u0275fac}),P})(),hn=(()=>{class P extends Et{constructor(){super(Lr.p)}}return P.\u0275fac=function(B){return new(B||P)},P.\u0275prov=n.\u0275\u0275defineInjectable({token:P,factory:P.\u0275fac,providedIn:"root"}),P})();class Wn extends Et{constructor(){super(Lr.c),this.angularDelegate=(0,n.inject)(Ct),this.injector=(0,n.inject)(n.Injector),this.environmentInjector=(0,n.inject)(n.EnvironmentInjector)}create(ne){return super.create({...ne,delegate:this.angularDelegate.create(this.environmentInjector,this.injector,"popover")})}}let Y=(()=>{class P extends Et{constructor(){super(Lr.t)}}return P.\u0275fac=function(B){return new(B||P)},P.\u0275prov=n.\u0275\u0275defineInjectable({token:P,factory:P.\u0275fac,providedIn:"root"}),P})();const Ne=(P,ne,B)=>()=>{const ue=ne.defaultView;if(ue&&typeof window<"u"){(0,Bn.s)({...P,_zoneGate:qt=>B.run(qt)});const Ke="__zone_symbol__addEventListener"in ne.body?"__zone_symbol__addEventListener":"addEventListener";return function xn(){var P=[];if(typeof window<"u"){var ne=window;(!ne.customElements||ne.Element&&(!ne.Element.prototype.closest||!ne.Element.prototype.matches||!ne.Element.prototype.remove||!ne.Element.prototype.getRootNode))&&P.push(s.e(4448).then(s.t.bind(s,70812,23))),("function"!=typeof Object.assign||!Object.entries||!Array.prototype.find||!Array.prototype.includes||!String.prototype.startsWith||!String.prototype.endsWith||ne.NodeList&&!ne.NodeList.prototype.forEach||!ne.fetch||!function(){try{var ue=new URL("b","http://a");return ue.pathname="c%20d","http://a/c%20d"===ue.href&&ue.searchParams}catch{return!1}}()||typeof WeakMap>"u")&&P.push(s.e(488).then(s.t.bind(s,36304,23)))}return Promise.all(P)}().then(()=>Gr(ue,{exclude:["ion-tabs","ion-tab"],syncQueue:!0,raf:Q,jmp:qt=>B.runOutsideAngular(qt),ael(qt,Cn,An,Kn){qt[Ke](Cn,An,Kn)},rel(qt,Cn,An,Kn){qt.removeEventListener(Cn,An,Kn)}}))}};let St=(()=>{class P{static forRoot(B){return{ngModule:P,providers:[{provide:Yn,useValue:B},{provide:n.APP_INITIALIZER,useFactory:Ne,multi:!0,deps:[Yn,i.DOCUMENT,n.NgZone]},{provide:wn,useFactory:Xn,deps:[l.Router]}]}}}return P.\u0275fac=function(B){return new(B||P)},P.\u0275mod=n.\u0275\u0275defineNgModule({type:P}),P.\u0275inj=n.\u0275\u0275defineInjector({providers:[Ct,Qt,Wn],imports:[i.CommonModule]}),P})()},17964:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{add:()=>Se,after:()=>We,ary:()=>Ar,assign:()=>Pa,assignIn:()=>zr,assignInWith:()=>hl,assignWith:()=>Bd,at:()=>Fb,attempt:()=>nh,before:()=>Qm,bind:()=>Cl,bindAll:()=>Ub,bindKey:()=>fc,camelCase:()=>Dl,capitalize:()=>uh,castArray:()=>Sy,ceil:()=>wy,chain:()=>mg,chunk:()=>Cc,clamp:()=>LD,clone:()=>Rh,cloneDeep:()=>Fh,cloneDeepWith:()=>zg,cloneWith:()=>uC,commit:()=>Nh,compact:()=>hC,concat:()=>Sa,cond:()=>xC,conforms:()=>sp,conformsTo:()=>kc,constant:()=>ri,countBy:()=>NC,create:()=>up,curry:()=>Ll,curryRight:()=>qu,debounce:()=>fp,deburr:()=>Os,default:()=>vP,defaultTo:()=>mp,defaults:()=>Wa,defaultsDeep:()=>vp,defer:()=>bp,delay:()=>gT,difference:()=>QC,differenceBy:()=>Lc,differenceWith:()=>ZC,divide:()=>JC,drop:()=>qC,dropRight:()=>Mp,dropRightWhile:()=>No,dropWhile:()=>tf,each:()=>id,eachRight:()=>od,endsWith:()=>Rl,entries:()=>is,entriesIn:()=>Tp,eq:()=>to,escape:()=>sf,escapeRegExp:()=>h0,every:()=>g0,extend:()=>zr,extendWith:()=>hl,fill:()=>cf,filter:()=>C0,find:()=>S0,findIndex:()=>cd,findKey:()=>kp,findLast:()=>T0,findLastIndex:()=>df,findLastKey:()=>A0,first:()=>ud,flatMap:()=>x0,flatMapDeep:()=>L0,flatMapDepth:()=>Np,flatten:()=>Jd,flattenDeep:()=>R0,flattenDepth:()=>Up,flip:()=>U0,floor:()=>Uc,flow:()=>H0,flowRight:()=>Bp,forEach:()=>id,forEachRight:()=>od,forIn:()=>Y0,forInRight:()=>$0,forOwn:()=>jp,forOwnRight:()=>ff,fromPairs:()=>Hp,functions:()=>mf,functionsIn:()=>W0,get:()=>Au,groupBy:()=>G0,gt:()=>Yp,gte:()=>nI,has:()=>eM,hasIn:()=>$h,head:()=>ud,identity:()=>gt,inRange:()=>nM,includes:()=>nl,indexOf:()=>oM,initial:()=>zp,intersection:()=>ko,intersectionBy:()=>Nl,intersectionWith:()=>Vc,invert:()=>_d,invertBy:()=>uM,invoke:()=>hM,invokeMap:()=>Df,isArguments:()=>da,isArray:()=>ct,isArrayBuffer:()=>Tf,isArrayLike:()=>P,isArrayLikeObject:()=>Po,isBoolean:()=>qp,isBuffer:()=>qo,isDate:()=>_M,isElement:()=>vM,isEmpty:()=>If,isEqual:()=>t_,isEqualWith:()=>n_,isError:()=>th,isFinite:()=>r_,isFunction:()=>or,isInteger:()=>Af,isLength:()=>Ee,isMap:()=>Hu,isMatch:()=>i_,isMatchWith:()=>o_,isNaN:()=>a_,isNative:()=>s_,isNil:()=>zc,isNull:()=>Bl,isNumber:()=>Pf,isObject:()=>Te,isObjectLike:()=>R,isPlainObject:()=>xs,isRegExp:()=>Hs,isSafeInteger:()=>Vl,isSet:()=>Zy,isString:()=>fd,isSymbol:()=>H,isTypedArray:()=>W,isUndefined:()=>Yl,isWeakMap:()=>xf,isWeakSet:()=>Of,iteratee:()=>Lf,join:()=>RM,kebabCase:()=>Ff,keyBy:()=>Nf,keys:()=>no,keysIn:()=>pa,last:()=>xa,lastIndexOf:()=>FM,lodash:()=>st,lowerCase:()=>UM,lowerFirst:()=>p_,lt:()=>jM,lte:()=>v_,map:()=>Nc,mapKeys:()=>VM,mapValues:()=>b_,matches:()=>CI,matchesProperty:()=>Uf,max:()=>S_,maxBy:()=>Ka,mean:()=>WM,meanBy:()=>Xc,memoize:()=>Lb,merge:()=>w_,mergeWith:()=>_p,method:()=>GM,methodOf:()=>D_,min:()=>QM,minBy:()=>T_,mixin:()=>Hf,multiply:()=>I_,negate:()=>zl,next:()=>Yf,noop:()=>me,now:()=>xc,nth:()=>x_,nthArg:()=>O_,omit:()=>bd,omitBy:()=>Gf,once:()=>cS,orderBy:()=>Qf,over:()=>hS,overArgs:()=>ol,overEvery:()=>yd,overSome:()=>Ea,pad:()=>Sd,padEnd:()=>SS,padStart:()=>ou,parseInt:()=>wS,partial:()=>qf,partialRight:()=>au,partition:()=>G_,pick:()=>K_,pickBy:()=>eu,plant:()=>Ed,property:()=>kC,propertyOf:()=>Q_,pull:()=>PS,pullAll:()=>X_,pullAllBy:()=>kS,pullAllWith:()=>xS,pullAt:()=>em,random:()=>_A,range:()=>tm,rangeRight:()=>nm,rearg:()=>rm,reduce:()=>dv,reduceRight:()=>hv,reject:()=>fv,remove:()=>mv,repeat:()=>gv,replace:()=>pv,rest:()=>_v,result:()=>im,reverse:()=>su,round:()=>om,sample:()=>am,sampleSize:()=>lm,set:()=>cm,setWith:()=>um,shuffle:()=>eE,size:()=>Rv,slice:()=>Fv,snakeCase:()=>Nv,some:()=>Bv,sortBy:()=>jv,sortedIndex:()=>sE,sortedIndexBy:()=>Hv,sortedIndexOf:()=>Vv,sortedLastIndex:()=>Yv,sortedLastIndexBy:()=>$v,sortedLastIndexOf:()=>zv,sortedUniq:()=>Wv,sortedUniqBy:()=>Gv,split:()=>vE,spread:()=>Kv,startCase:()=>Qv,startsWith:()=>uu,stubArray:()=>Mg,stubFalse:()=>ls,stubObject:()=>Zv,stubString:()=>ba,stubTrue:()=>EE,subtract:()=>wE,sum:()=>hu,sumBy:()=>fm,tail:()=>Jv,take:()=>Xv,takeRight:()=>mm,takeRightWhile:()=>PE,takeWhile:()=>pm,tap:()=>qv,template:()=>rb,templateSettings:()=>Id,throttle:()=>WE,thru:()=>fu,times:()=>KE,toArray:()=>Vf,toFinite:()=>ln,toInteger:()=>Pe,toIterator:()=>ob,toJSON:()=>Ql,toLength:()=>ld,toLower:()=>ZE,toNumber:()=>Un,toPairs:()=>is,toPairsIn:()=>Tp,toPath:()=>JE,toPlainObject:()=>HC,toSafeInteger:()=>ew,toString:()=>Ti,toUpper:()=>tw,transform:()=>nw,trim:()=>ow,trimEnd:()=>aw,trimStart:()=>lw,truncate:()=>XA,unary:()=>sb,unescape:()=>db,union:()=>fb,unionBy:()=>Ys,unionWith:()=>xd,uniq:()=>bm,uniqBy:()=>vw,uniqWith:()=>yw,uniqueId:()=>Sw,unset:()=>mb,unzip:()=>Od,unzipWith:()=>gb,update:()=>Dw,updateWith:()=>Cm,upperCase:()=>$s,upperFirst:()=>rg,value:()=>Ql,valueOf:()=>Ql,values:()=>va,valuesIn:()=>vb,without:()=>bb,words:()=>hg,wrap:()=>Ld,wrapperAt:()=>Pw,wrapperChain:()=>xw,wrapperCommit:()=>Nh,wrapperLodash:()=>st,wrapperNext:()=>Yf,wrapperPlant:()=>Ed,wrapperReverse:()=>Ow,wrapperToIterator:()=>ob,wrapperValue:()=>Ql,xor:()=>Rw,xorBy:()=>Fw,xorWith:()=>Sm,zip:()=>Nw,zipObject:()=>Cb,zipObjectDeep:()=>Em,zipWith:()=>wm});const c="object"==typeof global&&global&&global.Object===Object&&global;var u="object"==typeof self&&self&&self.Object===Object&&self;const i=c||u||Function("return this")(),o=i.Symbol;var d=Object.prototype,v=d.hasOwnProperty,M=d.toString,p=o?o.toStringTag:void 0;var f=Object.prototype.toString;var L=o?o.toStringTag:void 0;const V=function N(g){return null==g?void 0===g?"[object Undefined]":"[object Null]":L&&L in Object(g)?function E(g){var T=v.call(g,p),j=g[p];try{g[p]=void 0;var de=!0}catch{}var Ve=M.call(g);return de&&(T?g[p]=j:delete g[p]),Ve}(g):function C(g){return f.call(g)}(g)},R=function G(g){return null!=g&&"object"==typeof g},H=function A(g){return"symbol"==typeof g||R(g)&&"[object Symbol]"==V(g)},J=function ie(g){return"number"==typeof g?g:H(g)?NaN:+g},ce=function be(g,T){for(var j=-1,de=null==g?0:g.length,Ve=Array(de);++j0){if(++T>=800)return arguments[0]}else T=0;return g.apply(void 0,arguments)}},Zi=jn(rn);var qr=/\{\n\/\* \[wrapped with (.+)\] \*/,oi=/,? & /;var yr=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/;const ri=function vo(g){return function(){return g}};var ro=function(){try{var g=ur(Object,"defineProperty");return g({},"",{}),g}catch{}}();const Rr=ro;var oo=Rr?function(g,T){return Rr(g,"toString",{configurable:!0,enumerable:!1,value:ri(T),writable:!0})}:gt;const gi=jn(oo),ai=function Hi(g,T){for(var j=-1,de=null==g?0:g.length;++j-1};var Ia=[["ary",128],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",32],["partialRight",64],["rearg",256]];const Ni=function Qo(g,T,j){var de=T+"";return gi(g,function Ji(g,T){var j=T.length;if(!j)return g;var de=j-1;return T[de]=(j>1?"& ":"")+T[de],T=T.join(j>2?", ":" "),g.replace(yr,"{\n/* [wrapped with "+T+"] */\n")}(de,function oa(g,T){return ai(Ia,function(j){var de="_."+j[0];T&j[1]&&!ei(g,de)&&g.push(de)}),g.sort()}(function ni(g){var T=g.match(qr);return T?T[1].split(oi):[]}(de),j)))},Wo=function To(g,T,j,de,Ve,bt,Lt,Jt,cn,Rn){var Fn=8&T;T|=Fn?32:64,4&(T&=~(Fn?64:32))||(T&=-4);var bi=[g,T,Ve,Fn?bt:void 0,Fn?Lt:void 0,Fn?void 0:bt,Fn?void 0:Lt,Jt,cn,Rn],Hr=j.apply(void 0,bi);return Ri(g)&&Zi(Hr,bi),Hr.placeholder=de,Ni(Hr,g,T)},Le=function Jo(g){return g.placeholder};var ge=/^(?:0|[1-9]\d*)$/;const At=function lt(g,T){var j=typeof g;return!!(T=T??9007199254740991)&&("number"==j||"symbol"!=j&&ge.test(g))&&g>-1&&g%1==0&&g1&&Ii.reverse(),Fn&&cn-1&&g%1==0&&g<=9007199254740991},P=function St(g){return null!=g&&Ee(g.length)&&!or(g)},B=function ne(g,T,j){if(!Te(j))return!1;var de=typeof T;return!!("number"==de?P(j)&&At(T,j.length):"string"==de&&T in j)&&to(j[T],g)},Ke=function ue(g){return Y(function(T,j){var de=-1,Ve=j.length,bt=Ve>1?j[Ve-1]:void 0,Lt=Ve>2?j[2]:void 0;for(bt=g.length>3&&"function"==typeof bt?(Ve--,bt):void 0,Lt&&B(j[0],j[1],Lt)&&(bt=Ve<3?void 0:bt,Ve=1),T=Object(T);++de-1},gs.prototype.set=function Rm(g,T){var j=this.__data__,de=vi(j,g);return de<0?(++this.size,j.push([g,T])):j[de][1]=T,this};const pl=gs,_l=ur(i,"Map"),Du=function wu(g,T){var j=g.__data__;return function bP(g){var T=typeof g;return"string"==T||"number"==T||"symbol"==T||"boolean"==T?"__proto__"!==g:null===g}(T)?j["string"==typeof T?"string":"hash"]:j.map};function vl(g){var T=-1,j=null==g?0:g.length;for(this.clear();++T0&&j(Jt)?T>1?Pu(Jt,T-1,j,de,Ve):ka(Ve,Jt):de||(Ve[Ve.length]=Jt)}return Ve},Jd=function $m(g){return null!=g&&g.length?fa(g,1):[]},Zs=function Xd(g){return gi(hn(g,void 0,Jd),g+"")},Fb=Zs(Kd),ku=kt(Object.getPrototypeOf,Object);var qd=Function.prototype.toString,eh=Object.prototype.hasOwnProperty,tD=qd.call(Object);const xs=function Gm(g){if(!R(g)||"[object Object]"!=V(g))return!1;var T=ku(g);if(null===T)return!0;var j=eh.call(T,"constructor")&&T.constructor;return"function"==typeof j&&j instanceof j&&qd.call(j)==tD},th=function Km(g){if(!R(g))return!1;var T=V(g);return"[object Error]"==T||"[object DOMException]"==T||"string"==typeof g.message&&"string"==typeof g.name&&!xs(g)};var nD=Y(function(g,T){try{return gn(g,void 0,T)}catch(j){return th(j)?j:new Error(j)}});const nh=nD,Qm=function rD(g,T){var j;if("function"!=typeof T)throw new TypeError("Expected a function");return g=Pe(g),function(){return--g>0&&(j=T.apply(this,arguments)),g<=1&&(T=void 0),j}};var Jm=Y(function(g,T,j){var de=1;if(j.length){var Ve=_o(j,Le(Jm));de|=32}return Si(g,de,T,j,Ve)});Jm.placeholder={};const Cl=Jm;var Ml=Zs(function(g,T){return ai(T,function(j){j=Ca(j),ki(g,j,Cl(g[j],g))}),g});const Ub=Ml;var rh=Y(function(g,T,j){var de=3;if(j.length){var Ve=_o(j,Le(rh));de|=32}return Si(T,de,g,j,Ve)});rh.placeholder={};const fc=rh,$a=function aD(g,T,j){var de=-1,Ve=g.length;T<0&&(T=-T>Ve?0:Ve+T),(j=j>Ve?Ve:j)<0&&(j+=Ve),Ve=T>j?0:j-T>>>0,T>>>=0;for(var bt=Array(Ve);++de=de?g:$a(g,T,j)};var Yb=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]");const mc=function cD(g){return Yb.test(g)};var Wb="\\ud800-\\udfff",ah="["+Wb+"]",gc="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",xu="\\ud83c[\\udffb-\\udfff]",tg="[^"+Wb+"]",Kb="(?:\\ud83c[\\udde6-\\uddff]){2}",Sl="[\\ud800-\\udbff][\\udc00-\\udfff]",Qb="(?:"+gc+"|"+xu+")?",sh="[\\ufe0e\\ufe0f]?",fD=sh+Qb+"(?:\\u200d(?:"+[tg,Kb,Sl].join("|")+")"+sh+Qb+")*",mD="(?:"+[tg+gc+"?",gc,Kb,Sl,ah].join("|")+")",yP=RegExp(xu+"(?="+xu+")|"+mD+fD,"g");const ts=function Lu(g){return mc(g)?function CP(g){return g.match(yP)||[]}(g):function $b(g){return g.split("")}(g)},lh=function Ru(g){return function(T){T=Ti(T);var j=mc(T)?ts(T):void 0,de=j?j[0]:T.charAt(0),Ve=j?Js(j,1).join(""):T.slice(1);return de[g]()+Ve}},rg=lh("toUpperCase"),uh=function Zb(g){return rg(Ti(g).toLowerCase())},za=function gD(g,T,j,de){var Ve=-1,bt=null==g?0:g.length;for(de&&bt&&(j=g[++Ve]);++Ve=T?g:T)),g},LD=function Ty(g,T,j){return void 0===j&&(j=T,T=void 0),void 0!==j&&(j=(j=Un(j))==j?j:0),void 0!==T&&(T=(T=Un(T))==T?T:0),Xs(Un(g),T,j)};function Tl(g){var T=this.__data__=new pl(g);this.size=T.size}Tl.prototype.clear=function SP(){this.__data__=new pl,this.size=0},Tl.prototype.delete=function gg(g){var T=this.__data__,j=T.delete(g);return this.size=T.size,j},Tl.prototype.get=function wP(g){return this.__data__.get(g)},Tl.prototype.has=function Iy(g){return this.__data__.has(g)},Tl.prototype.set=function ND(g,T){var j=this.__data__;if(j instanceof pl){var de=j.__data__;if(!_l||de.length<199)return de.push([g,T]),this.size=++j.size,this;j=this.__data__=new cc(de)}return j.set(g,T),this.size=j.size,this};const Fs=Tl,yh=function Ay(g,T){return g&&Ot(T,no(T),g)};var _g="object"==typeof exports&&exports&&!exports.nodeType&&exports,vg=_g&&"object"==typeof module&&module&&!module.nodeType&&module,Ch=vg&&vg.exports===_g?i.Buffer:void 0,yg=Ch?Ch.allocUnsafe:void 0;const Cg=function Py(g,T){if(T)return g.slice();var j=g.length,de=yg?yg(j):new g.constructor(j);return g.copy(de),de},Ns=function jD(g,T){for(var j=-1,de=null==g?0:g.length,Ve=0,bt=[];++jJt))return!1;var Rn=bt.get(g),Fn=bt.get(T);if(Rn&&Fn)return Rn==T&&Fn==g;var zn=-1,gr=!0,Pr=2&j?new Bh:void 0;for(bt.set(g,T),bt.set(T,g);++zn=T||as<0||zn&&$o-Rn>=bt}function Ei(){var $o=xc();if(Hr($o))return Ii($o);Jt=setTimeout(Ei,function bi($o){var Tm=T-($o-cn);return zn?ed(Tm,bt-($o-Rn)):Tm}($o))}function Ii($o){return Jt=void 0,gr&&de?Pr($o):(de=Ve=void 0,Lt)}function Ha(){var $o=xc(),as=Hr($o);if(de=arguments,Ve=this,cn=$o,as){if(void 0===Jt)return function Wr($o){return Rn=$o,Jt=setTimeout(Ei,T),Fn?Pr($o):Lt}(cn);if(zn)return clearTimeout(Jt),Jt=setTimeout(Ei,T),Pr(cn)}return void 0===Jt&&(Jt=setTimeout(Ei,T)),Lt}return T=Un(T)||0,Te(j)&&(Fn=!!j.leading,bt=(zn="maxWait"in j)?oT(Un(j.maxWait)||0,T):bt,gr="trailing"in j?!!j.trailing:gr),Ha.cancel=function Qa(){void 0!==Jt&&clearTimeout(Jt),Rn=0,de=cn=Ve=Jt=void 0},Ha.flush=function Da(){return void 0===Jt?Lt:Ii(xc())},Ha},mp=function aT(g,T){return null==g||g!=g?T:g};var td=Object.prototype,gp=td.hasOwnProperty,BC=Y(function(g,T){g=Object(g);var j=-1,de=T.length,Ve=de>2?T[2]:void 0;for(Ve&&B(T[0],T[1],Ve)&&(de=1);++j=200&&(bt=Yu,Lt=!1,T=new Bh(T));e:for(;++Ve=0&&g.slice(j,Ve)==T},sd=function DT(g){return function(T){var j=_s(T);return"[object Map]"==j?Kg(T):"[object Set]"==j?function of(g){var T=-1,j=Array(g.size);return g.forEach(function(de){j[++T]=[de,de]}),j}(T):function Dp(g,T){return ce(T,function(j){return[j,g[j]]})}(T,g(T))}},is=sd(no),Tp=sd(pa),c0=pc({"&":"&","<":"<",">":">",'"':""","'":"'"});var u0=/[&<>"']/g,TT=RegExp(u0.source);const sf=function Fc(g){return(g=Ti(g))&&TT.test(g)?g.replace(u0,c0):g};var d0=/[\\^$.*+?()[\]{}|]/g,IT=RegExp(d0.source);const h0=function AT(g){return(g=Ti(g))&&IT.test(g)?g.replace(d0,"\\$&"):g},f0=function PT(g,T){for(var j=-1,de=null==g?0:g.length;++jVe?0:Ve+j),(de=void 0===de||de>Ve?Ve:Pe(de))<0&&(de+=Ve),de=j>de?0:ld(de);j-1?Ve[bt?T[Lt]:Lt]:void 0}};var Ap=Math.max;const cd=function M0(g,T,j){var de=null==g?0:g.length;if(!de)return-1;var Ve=null==j?0:Pe(j);return Ve<0&&(Ve=Ap(de+Ve,0)),yo(g,di(T),Ve)},S0=uf(cd),E0=function RT(g,T,j){var de;return j(g,function(Ve,bt,Lt){if(T(Ve,bt,Lt))return de=bt,!1}),de},kp=function FT(g,T){return E0(g,di(T),bs)};var xp=Math.max,Op=Math.min;const df=function w0(g,T,j){var de=null==g?0:g.length;if(!de)return-1;var Ve=de-1;return void 0!==j&&(Ve=Pe(j),Ve=j<0?xp(de+Ve,0):Op(Ve,de-1)),yo(g,di(T),Ve,!0)},T0=uf(df),A0=function I0(g,T){return E0(g,di(T),nf)},ud=function Lp(g){return g&&g.length?g[0]:void 0},Fp=function Rp(g,T){var j=-1,de=P(g)?Array(g.length):[];return rs(g,function(Ve,bt,Lt){de[++j]=T(Ve,bt,Lt)}),de},Nc=function P0(g,T){return(ct(g)?ce:Fp)(g,di(T))},x0=function k0(g,T){return fa(Nc(g,T),1)},L0=function NT(g,T){return fa(Nc(g,T),1/0)},Np=function UT(g,T,j){return j=void 0===j?1:Pe(j),fa(Nc(g,T),j)},R0=function jT(g){return null!=g&&g.length?fa(g,1/0):[]},Up=function F0(g,T){return null!=g&&g.length?(T=void 0===T?1:Pe(T),fa(g,T)):[]},U0=function HT(g){return Si(g,512)},Uc=fg("floor"),jc=function Bc(g){return Zs(function(T){var j=T.length,de=j,Ve=bn.prototype.thru;for(g&&T.reverse();de--;){var bt=T[de];if("function"!=typeof bt)throw new TypeError("Expected a function");if(Ve&&!Lt&&"wrapper"==pn(bt))var Lt=new bn([],!0)}for(de=Lt?de:j;++deT},hd=function K0(g){return function(T,j){return"string"==typeof T&&"string"==typeof j||(T=Un(T),j=Un(j)),g(T,j)}},Yp=hd(Vp);var tI=hd(function(g,T){return g>=T});const nI=tI;var J0=Object.prototype.hasOwnProperty;const X0=function Fl(g,T){return null!=g&&J0.call(g,T)},eM=function q0(g,T){return null!=g&&Ol(g,T,X0)};var pf=Math.max,_f=Math.min;const nM=function $p(g,T,j){return T=ln(T),void 0===j?(j=T,T=0):j=ln(j),function rI(g,T,j){return g>=_f(T,j)&&g-1:!!Ve&&So(g,T,j)>-1};var bf=Math.max;const oM=function Ga(g,T,j){var de=null==g?0:g.length;if(!de)return-1;var Ve=null==j?0:Pe(j);return Ve<0&&(Ve=bf(de+Ve,0)),So(g,T,Ve)},zp=function Hc(g){return null!=g&&g.length?$a(g,0,-1):[]};var aM=Math.min;const Wp=function oI(g,T,j){for(var de=j?rd:ei,Ve=g[0].length,bt=g.length,Lt=bt,Jt=Array(bt),cn=1/0,Rn=[];Lt--;){var Fn=g[Lt];Lt&&T&&(Fn=ce(Fn,si(T))),cn=aM(Fn.length,cn),Jt[Lt]=!j&&(T||Ve>=120&&Fn.length>=120)?new Bh(Lt&&Fn):void 0}Fn=g[0];var zn=-1,gr=Jt[0];e:for(;++zn=-Hl&&g<=Hl},Yl=function Qc(g){return void 0===g},xf=function c_(g){return R(g)&&"[object WeakMap]"==_s(g)},Of=function d_(g){return R(g)&&"[object WeakSet]"==V(g)},Lf=function f_(g){return di("function"==typeof g?g:ns(g,1))};var Rf=Array.prototype.join;const RM=function il(g,T){return null==g?"":Rf.call(g,T)};var gI=yc(function(g,T,j){return g+(j?"-":"")+T.toLowerCase()});const Ff=gI;var $l=Zh(function(g,T,j){ki(g,j,T)});const Nf=$l;var VP=Math.max,YP=Math.min;const FM=function _I(g,T,j){var de=null==g?0:g.length;if(!de)return-1;var Ve=de;return void 0!==j&&(Ve=(Ve=Pe(j))<0?VP(de+Ve,0):YP(Ve,de-1)),T==T?function pI(g,T,j){for(var de=j+1;de--;)if(g[de]===T)return de;return de}(g,T,Ve):yo(g,Pi,Ve,!0)};var NM=yc(function(g,T,j){return g+(j?" ":"")+T.toLowerCase()});const UM=NM,p_=lh("toLowerCase"),__=function vI(g,T){return g=this.__values__.length;return{done:g,value:g?void 0:this.__values__[this.__index__++]}},oS=function iS(g,T){var j=g.length;if(j)return At(T+=T<0?j:0,j)?g[T]:void 0},x_=function aS(g,T){return g&&g.length?oS(g,Pe(T)):void 0},O_=function II(g){return g=Pe(g),Y(function(T){return oS(T,g)})},$f=function AI(g,T){return T=Fa(T,g),null==(g=Qp(g,T))||delete g[Ca(xa(T))]},PI=function L_(g){return xs(g)?void 0:g};var zf=Zs(function(g,T){var j={};if(null==g)return j;var de=!1;T=ce(T,function(bt){return bt=Fa(bt,g),de||(de=bt.length>1),bt}),Ot(g,Uu(g),j),de&&(j=ns(j,7,PI));for(var Ve=T.length;Ve--;)$f(j,T[Ve]);return j});const bd=zf,qc=function F_(g,T,j,de){if(!Te(g))return g;for(var Ve=-1,bt=(T=Fa(T,g)).length,Lt=bt-1,Jt=g;null!=Jt&&++VeT||bt&&Lt&&cn&&!Jt&&!Rn||de&&Lt&&cn||!j&&cn||!Ve)return 1;if(!de&&!bt&&!Rn&&g=Jt?cn:cn*("desc"==j[de]?-1:1)}return g.index-T.index}(bt,Lt,j)})},Qf=function UI(g,T,j,de){return null==g?[]:(ct(T)||(T=null==T?[]:[T]),ct(j=de?void 0:j)||(j=null==j?[]:[j]),Gl(g,T,j))},Zf=function BI(g){return Zs(function(T){return T=ce(T,si(di)),Y(function(j){var de=this;return g(T,function(Ve){return gn(Ve,de,j)})})})},hS=Zf(ce);var HI=Math.min,VI=Y(function(g,T){var j=(T=1==T.length&&ct(T[0])?ce(T[0],si(di)):ce(fa(T,1),si(di))).length;return Y(function(de){for(var Ve=-1,bt=HI(de.length,j);++Ve9007199254740991)return j;do{T%2&&(j+=g),(T=U_(T/2))&&(g+=g)}while(T);return j},gS=PC("length");var B_="\\ud800-\\udfff",QI="["+B_+"]",j_="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",nu="\\ud83c[\\udffb-\\udfff]",H_="[^"+B_+"]",V_="(?:\\ud83c[\\udde6-\\uddff]){2}",_S="[\\ud800-\\udbff][\\udc00-\\udfff]",ru="(?:"+j_+"|"+nu+")?",vS="[\\ufe0e\\ufe0f]?",JI=vS+ru+"(?:\\u200d(?:"+[H_,V_,_S].join("|")+")"+vS+ru+")*",bS="(?:"+[H_+j_+"?",j_,V_,_S,QI].join("|")+")",Y_=RegExp(nu+"(?="+nu+")|"+bS+JI,"g");const iu=function CS(g){return mc(g)?function yS(g){for(var T=Y_.lastIndex=0;Y_.test(g);)++T;return T}(g):gS(g)};var qI=Math.ceil;const $_=function $P(g,T){var j=(T=void 0===T?" ":$e(T)).length;if(j<2)return j?Xf(T,g):T;var de=Xf(T,qI(g/iu(T)));return mc(T)?Js(ts(de),0,g).join(""):de.slice(0,g)};var zP=Math.ceil,WP=Math.floor;const Sd=function MS(g,T,j){g=Ti(g);var de=(T=Pe(T))?iu(g):0;if(!T||de>=T)return g;var Ve=(T-de)/2;return $_(WP(Ve),j)+g+$_(zP(Ve),j)},SS=function eA(g,T,j){g=Ti(g);var de=(T=Pe(T))?iu(g):0;return T&&de-1;)Jt!==g&&IS.call(Jt,cn,1),IS.call(g,cn,1);return g},X_=function AS(g,T){return g&&g.length&&T&&T.length?J_(g,T):g},PS=Y(X_),kS=function fA(g,T,j){return g&&g.length&&T&&T.length?J_(g,T,di(j)):g},xS=function mA(g,T,j){return g&&g.length&&T&&T.length?J_(g,T,void 0,j):g};var q_=Array.prototype.splice;const tv=function ev(g,T){for(var j=g?T.length:0,de=j-1;j--;){var Ve=T[j];if(j==de||Ve!==bt){var bt=Ve;At(Ve)?q_.call(g,Ve,1):$f(g,Ve)}}return g};var OS=Zs(function(g,T){var j=null==g?0:g.length,de=Kd(g,T);return tv(g,ce(T,function(Ve){return At(Ve,j)?+Ve:Ve}).sort(Kf)),de});const em=OS;var LS=Math.floor,RS=Math.random;const wd=function nv(g,T){return g+LS(RS()*(T-g+1))};var pA=parseFloat,rv=Math.min,FS=Math.random;const _A=function NS(g,T,j){if(j&&"boolean"!=typeof j&&B(g,T,j)&&(T=j=void 0),void 0===j&&("boolean"==typeof T?(j=T,T=void 0):"boolean"==typeof g&&(j=g,g=void 0)),void 0===g&&void 0===T?(g=0,T=1):(g=ln(g),void 0===T?(T=g,g=0):T=ln(T)),g>T){var de=g;g=T,T=de}if(j||g%1||T%1){var Ve=FS();return rv(g+Ve*(T-g+pA("1e-"+((Ve+"").length-1))),T)}return wd(g,T)};var US=Math.ceil,vA=Math.max;const Dd=function iv(g){return function(T,j,de){return de&&"number"!=typeof de&&B(T,j,de)&&(j=de=void 0),T=ln(T),void 0===j?(j=T,T=0):j=ln(j),function BS(g,T,j,de){for(var Ve=-1,bt=vA(US((T-g)/(j||1)),0),Lt=Array(bt);bt--;)Lt[de?bt:++Ve]=g,g+=j;return Lt}(T,j,de=void 0===de?T1&&B(g,T[0],T[1])?T=[]:j>2&&B(T[0],T[1],T[2])&&(T=[T[0]]),Gl(g,fa(T,1),[])});const jv=rE;var oE=Math.floor,DA=Math.min;const Td=function TA(g,T,j,de){var Ve=0,bt=null==g?0:g.length;if(0===bt)return 0;for(var Lt=(T=j(T))!=T,Jt=null===T,cn=H(T),Rn=void 0===T;Ve>>1,Lt=g[bt];null!==Lt&&!H(Lt)&&(j?Lt<=T:Lt>>0)?(g=Ti(g))&&("string"==typeof T||null!=T&&!Hs(T))&&!(T=$e(T))&&mc(g)?Js(ts(g),0,j):g.split(T,j):[]};var JP=Math.max;const Kv=function bE(g,T){if("function"!=typeof g)throw new TypeError("Expected a function");return T=null==T?0:JP(Pe(T),0),Y(function(j){var de=j[T],Ve=Js(j,0,T);return de&&ka(Ve,de),gn(g,this,Ve)})};var yE=yc(function(g,T,j){return g+(j?" ":"")+rg(T)});const Qv=yE,uu=function CE(g,T,j){return g=Ti(g),j=null==j?0:Xs(Pe(j),0,g.length),T=$e(T),g.slice(j,j+T.length)==T},Zv=function ME(){return{}},ba=function SE(){return""},EE=function du(){return!0};var AA=_e(function(g,T){return g-T},0);const wE=AA,hu=function XP(g){return g&&g.length?Bf(g,gt):0},fm=function PA(g,T){return g&&g.length?Bf(g,di(T)):0},Jv=function DE(g){var T=null==g?0:g.length;return T?$a(g,1,T):[]},Xv=function TE(g,T,j){return g&&g.length?(T=j||void 0===T?1:Pe(T),$a(g,0,T<0?0:T)):[]},mm=function IE(g,T,j){var de=null==g?0:g.length;return de?(T=j||void 0===T?1:Pe(T),$a(g,(T=de-T)<0?0:T,de)):[]},PE=function AE(g,T){return g&&g.length?ef(g,di(T),!1,!0):[]},pm=function gm(g,T){return g&&g.length?ef(g,di(T)):[]},qv=function kA(g,T){return T(g),g};var kE=Object.prototype,eb=kE.hasOwnProperty;const xE=function Kl(g,T,j,de){return void 0===g||to(g,kE[j])&&!eb.call(de,j)?T:g};var OE={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"};const LE=function tb(g){return"\\"+OE[g]},RE=/<%=([\s\S]+?)%>/g,Id={escape:/<%-([\s\S]+?)%>/g,evaluate:/<%([\s\S]+?)%>/g,interpolate:RE,variable:"",imports:{_:{escape:sf}}};var LA=/\b__p \+= '';/g,BE=/\b(__p \+=) '' \+/g,RA=/(__e\(.*?\)|\b__t\)) \+\n'';/g,jE=/[()=,{}\[\]\/\s]/,HE=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,Ad=/($^)/,VE=/['\n\r\u2028\u2029\\]/g,YE=Object.prototype.hasOwnProperty;const rb=function $E(g,T,j){var de=Id.imports._.templateSettings||Id;j&&B(g,T,j)&&(T=void 0),g=Ti(g),T=hl({},T,de,xE);var Jt,cn,Ve=hl({},T.imports,de.imports,xE),bt=no(Ve),Lt=iM(Ve,bt),Rn=0,Fn=T.interpolate||Ad,zn="__p += '",gr=RegExp((T.escape||Ad).source+"|"+Fn.source+"|"+(Fn===RE?HE:Ad).source+"|"+(T.evaluate||Ad).source+"|$","g"),Pr=YE.call(T,"sourceURL")?"//# sourceURL="+(T.sourceURL+"").replace(/\s/g," ")+"\n":"";g.replace(gr,function(Hr,Ei,Ii,Qa,Da,Ha){return Ii||(Ii=Qa),zn+=g.slice(Rn,Ha).replace(VE,LE),Ei&&(Jt=!0,zn+="' +\n__e("+Ei+") +\n'"),Da&&(cn=!0,zn+="';\n"+Da+";\n__p += '"),Ii&&(zn+="' +\n((__t = ("+Ii+")) == null ? '' : __t) +\n'"),Rn=Ha+Hr.length,Hr}),zn+="';\n";var Wr=YE.call(T,"variable")&&T.variable;if(Wr){if(jE.test(Wr))throw new Error("Invalid `variable` option passed into `_.template`")}else zn="with (obj) {\n"+zn+"\n}\n";zn=(cn?zn.replace(LA,""):zn).replace(BE,"$1").replace(RA,"$1;"),zn="function("+(Wr||"obj")+") {\n"+(Wr?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(Jt?", __e = _.escape":"")+(cn?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+zn+"return __p\n}";var bi=nh(function(){return Function(bt,Pr+"return "+zn).apply(void 0,Lt)});if(bi.source=zn,th(bi))throw bi;return bi},WE=function NA(g,T,j){var de=!0,Ve=!0;if("function"!=typeof g)throw new TypeError("Expected a function");return Te(j)&&(de="leading"in j?!!j.leading:de,Ve="trailing"in j?!!j.trailing:Ve),fp(g,T,{leading:de,maxWait:T,trailing:Ve})},fu=function UA(g,T){return T(g)};var ib=4294967295,jA=Math.min;const KE=function GE(g,T){if((g=Pe(g))<1||g>9007199254740991)return[];var j=ib,de=jA(g,ib);T=ys(T),g-=ib;for(var Ve=Sr(de,T);++j-1;);return j},iw=function GA(g,T){for(var j=-1,de=g.length;++j-1;);return j},ow=function KA(g,T,j){if((g=Ti(g))&&(j||void 0===T))return wt(g);if(!g||!(T=$e(T)))return g;var de=ts(g),Ve=ts(T),bt=iw(de,Ve),Lt=rw(de,Ve)+1;return Js(de,bt,Lt).join("")},aw=function QA(g,T,j){if((g=Ti(g))&&(j||void 0===T))return g.slice(0,we(g)+1);if(!g||!(T=$e(T)))return g;var de=ts(g),Ve=rw(de,ts(T))+1;return Js(de,0,Ve).join("")};var sw=/^\s+/;const lw=function ab(g,T,j){if((g=Ti(g))&&(j||void 0===T))return g.replace(sw,"");if(!g||!(T=$e(T)))return g;var de=ts(g),Ve=iw(de,ts(T));return Js(de,Ve).join("")};var JA=/\w*$/;const XA=function uw(g,T){var j=30,de="...";if(Te(T)){var Ve="separator"in T?T.separator:Ve;j="length"in T?Pe(T.length):j,de="omission"in T?$e(T.omission):de}var bt=(g=Ti(g)).length;if(mc(g)){var Lt=ts(g);bt=Lt.length}if(j>=bt)return g;var Jt=j-iu(de);if(Jt<1)return de;var cn=Lt?Js(Lt,0,Jt).join(""):g.slice(0,Jt);if(void 0===Ve)return cn+de;if(Lt&&(Jt+=cn.length-Jt),Hs(Ve)){if(g.slice(Jt).search(Ve)){var Rn,Fn=cn;for(Ve.global||(Ve=RegExp(Ve.source,Ti(JA.exec(Ve))+"g")),Ve.lastIndex=0;Rn=Ve.exec(Fn);)var zn=Rn.index;cn=cn.slice(0,void 0===zn?Jt:zn)}}else if(g.indexOf($e(Ve),Jt)!=Jt){var gr=cn.lastIndexOf(Ve);gr>-1&&(cn=cn.slice(0,gr))}return cn+de},sb=function qA(g){return Ar(g,1)},hw=pc({"&":"&","<":"<",">":">",""":'"',"'":"'"});var lb=/&(?:amp|lt|gt|quot|#39);/g,cb=RegExp(lb.source);const db=function ub(g){return(g=Ti(g))&&cb.test(g)?g.replace(lb,hw):g};var _m=Pl&&1/Tc(new Pl([,-0]))[1]==1/0?function(g){return new Pl(g)}:me;const hb=_m,Vs=function mw(g,T,j){var de=-1,Ve=ei,bt=g.length,Lt=!0,Jt=[],cn=Jt;if(j)Lt=!1,Ve=rd;else if(bt>=200){var Rn=T?null:hb(g);if(Rn)return Tc(Rn);Lt=!1,Ve=Yu,cn=new Bh}else cn=T?[]:Jt;e:for(;++de1||this.__actions__.length)&&de instanceof Q&&At(j)?((de=de.slice(j,+j+(T?1:0))).__actions__.push({func:fu,args:[Ve],thisArg:void 0}),new bn(de,this.__chain__).thru(function(bt){return T&&!bt.length&&bt.push(void 0),bt})):this.thru(Ve)});const Pw=oP,xw=function kw(){return mg(this)},Ow=function aP(){var g=this.__wrapped__;if(g instanceof Q){var T=g;return this.__actions__.length&&(T=new Q(this)),(T=T.reverse()).__actions__.push({func:fu,args:[su],thisArg:void 0}),new bn(T,this.__chain__)}return this.thru(su)},Mm=function sP(g,T,j){var de=g.length;if(de<2)return de?Vs(g[0]):[];for(var Ve=-1,bt=Array(de);++Ve1?g[T-1]:void 0;return j="function"==typeof j?(g.pop(),j):void 0,gb(g,j)});const wm=uP,wr={chunk:Cc,compact:hC,concat:Sa,difference:QC,differenceBy:Lc,differenceWith:ZC,drop:qC,dropRight:Mp,dropRightWhile:No,dropWhile:tf,fill:cf,findIndex:cd,findLastIndex:df,first:ud,flatten:Jd,flattenDeep:R0,flattenDepth:Up,fromPairs:Hp,head:ud,indexOf:oM,initial:zp,intersection:ko,intersectionBy:Nl,intersectionWith:Vc,join:RM,last:xa,lastIndexOf:FM,nth:x_,pull:PS,pullAll:X_,pullAllBy:kS,pullAllWith:xS,pullAt:em,remove:mv,reverse:su,slice:Fv,sortedIndex:sE,sortedIndexBy:Hv,sortedIndexOf:Vv,sortedLastIndex:Yv,sortedLastIndexBy:$v,sortedLastIndexOf:zv,sortedUniq:Wv,sortedUniqBy:Gv,tail:Jv,take:Xv,takeRight:mm,takeRightWhile:PE,takeWhile:pm,union:fb,unionBy:Ys,unionWith:xd,uniq:bm,uniqBy:vw,uniqWith:yw,unzip:Od,unzipWith:gb,without:bb,xor:Rw,xorBy:Fw,xorWith:Sm,zip:Nw,zipObject:Cb,zipObjectDeep:Em,zipWith:wm},zi={countBy:NC,each:id,eachRight:od,every:g0,filter:C0,find:S0,findLast:T0,flatMap:x0,flatMapDeep:L0,flatMapDepth:Np,forEach:id,forEachRight:od,groupBy:G0,includes:nl,invokeMap:Df,keyBy:Nf,map:Nc,orderBy:Qf,partition:G_,reduce:dv,reduceRight:hv,reject:fv,sample:am,sampleSize:lm,shuffle:eE,size:Rv,some:Bv,sortBy:jv},rk={now:xc},Yo={after:We,ary:Ar,before:Qm,bind:Cl,bindKey:fc,curry:Ll,curryRight:qu,debounce:fp,defer:bp,delay:gT,flip:U0,memoize:Lb,negate:zl,once:cS,overArgs:ol,partial:qf,partialRight:au,rearg:rm,rest:_v,spread:Kv,throttle:WE,unary:sb,wrap:Ld},Br={castArray:Sy,clone:Rh,cloneDeep:Fh,cloneDeepWith:zg,cloneWith:uC,conformsTo:kc,eq:to,gt:Yp,gte:nI,isArguments:da,isArray:ct,isArrayBuffer:Tf,isArrayLike:P,isArrayLikeObject:Po,isBoolean:qp,isBuffer:qo,isDate:_M,isElement:vM,isEmpty:If,isEqual:t_,isEqualWith:n_,isError:th,isFinite:r_,isFunction:or,isInteger:Af,isLength:Ee,isMap:Hu,isMatch:i_,isMatchWith:o_,isNaN:a_,isNative:s_,isNil:zc,isNull:Bl,isNumber:Pf,isObject:Te,isObjectLike:R,isPlainObject:xs,isRegExp:Hs,isSafeInteger:Vl,isSet:Zy,isString:fd,isSymbol:H,isTypedArray:W,isUndefined:Yl,isWeakMap:xf,isWeakSet:Of,lt:jM,lte:v_,toArray:Vf,toFinite:ln,toInteger:Pe,toLength:ld,toNumber:Un,toPlainObject:HC,toSafeInteger:ew,toString:Ti},wa={add:Se,ceil:wy,divide:JC,floor:Uc,max:S_,maxBy:Ka,mean:WM,meanBy:Xc,min:QM,minBy:T_,multiply:I_,round:om,subtract:wE,sum:hu,sumBy:fm},Sb={clamp:LD,inRange:nM,random:_A},ci={assign:Pa,assignIn:zr,assignInWith:hl,assignWith:Bd,at:Fb,create:up,defaults:Wa,defaultsDeep:vp,entries:is,entriesIn:Tp,extend:zr,extendWith:hl,findKey:kp,findLastKey:A0,forIn:Y0,forInRight:$0,forOwn:jp,forOwnRight:ff,functions:mf,functionsIn:W0,get:Au,has:eM,hasIn:$h,invert:_d,invertBy:uM,invoke:hM,keys:no,keysIn:pa,mapKeys:VM,mapValues:b_,merge:w_,mergeWith:_p,omit:bd,omitBy:Gf,pick:K_,pickBy:eu,result:im,set:cm,setWith:um,toPairs:is,toPairsIn:Tp,transform:nw,unset:mb,update:Dw,updateWith:Cm,values:va,valuesIn:vb},fo={at:Pw,chain:mg,commit:Nh,lodash:st,next:Yf,plant:Ed,reverse:Ow,tap:qv,thru:fu,toIterator:ob,toJSON:Ql,value:Ql,valueOf:Ql,wrapperChain:xw},Oi={camelCase:Dl,capitalize:uh,deburr:Os,endsWith:Rl,escape:sf,escapeRegExp:h0,kebabCase:Ff,lowerCase:UM,lowerFirst:p_,pad:Sd,padEnd:SS,padStart:ou,parseInt:wS,repeat:gv,replace:pv,snakeCase:Nv,split:vE,startCase:Qv,startsWith:uu,template:rb,templateSettings:Id,toLower:ZE,toUpper:tw,trim:ow,trimEnd:aw,trimStart:lw,truncate:XA,unescape:db,upperCase:$s,upperFirst:rg,words:hg},Wi={attempt:nh,bindAll:Ub,cond:xC,conforms:sp,constant:ri,defaultTo:mp,flow:H0,flowRight:Bp,identity:gt,iteratee:Lf,matches:CI,matchesProperty:Uf,method:GM,methodOf:D_,mixin:Hf,noop:me,nthArg:O_,over:hS,overEvery:yd,overSome:Ea,property:kC,propertyOf:Q_,range:tm,rangeRight:nm,stubArray:Mg,stubFalse:ls,stubObject:Zv,stubString:ba,stubTrue:EE,times:KE,toPath:JE,uniqueId:Sw};var ok=Math.max,ak=Math.min;var Hw=Math.min;var Fd=4294967295,Nd=Array.prototype,wb=Object.prototype.hasOwnProperty,pP=o?o.iterator:void 0,sk=Math.max,_P=Math.min,Db=function(g){return function(T,j,de){if(null==de){var Ve=Te(j),bt=Ve&&no(j),Lt=bt&&bt.length&&dd(j,bt);(Lt?Lt.length:Ve)||(de=j,j=T,T=this)}return g(T,j,de)}}(Hf);st.after=Yo.after,st.ary=Yo.ary,st.assign=ci.assign,st.assignIn=ci.assignIn,st.assignInWith=ci.assignInWith,st.assignWith=ci.assignWith,st.at=ci.at,st.before=Yo.before,st.bind=Yo.bind,st.bindAll=Wi.bindAll,st.bindKey=Yo.bindKey,st.castArray=Br.castArray,st.chain=fo.chain,st.chunk=wr.chunk,st.compact=wr.compact,st.concat=wr.concat,st.cond=Wi.cond,st.conforms=Wi.conforms,st.constant=Wi.constant,st.countBy=zi.countBy,st.create=ci.create,st.curry=Yo.curry,st.curryRight=Yo.curryRight,st.debounce=Yo.debounce,st.defaults=ci.defaults,st.defaultsDeep=ci.defaultsDeep,st.defer=Yo.defer,st.delay=Yo.delay,st.difference=wr.difference,st.differenceBy=wr.differenceBy,st.differenceWith=wr.differenceWith,st.drop=wr.drop,st.dropRight=wr.dropRight,st.dropRightWhile=wr.dropRightWhile,st.dropWhile=wr.dropWhile,st.fill=wr.fill,st.filter=zi.filter,st.flatMap=zi.flatMap,st.flatMapDeep=zi.flatMapDeep,st.flatMapDepth=zi.flatMapDepth,st.flatten=wr.flatten,st.flattenDeep=wr.flattenDeep,st.flattenDepth=wr.flattenDepth,st.flip=Yo.flip,st.flow=Wi.flow,st.flowRight=Wi.flowRight,st.fromPairs=wr.fromPairs,st.functions=ci.functions,st.functionsIn=ci.functionsIn,st.groupBy=zi.groupBy,st.initial=wr.initial,st.intersection=wr.intersection,st.intersectionBy=wr.intersectionBy,st.intersectionWith=wr.intersectionWith,st.invert=ci.invert,st.invertBy=ci.invertBy,st.invokeMap=zi.invokeMap,st.iteratee=Wi.iteratee,st.keyBy=zi.keyBy,st.keys=no,st.keysIn=ci.keysIn,st.map=zi.map,st.mapKeys=ci.mapKeys,st.mapValues=ci.mapValues,st.matches=Wi.matches,st.matchesProperty=Wi.matchesProperty,st.memoize=Yo.memoize,st.merge=ci.merge,st.mergeWith=ci.mergeWith,st.method=Wi.method,st.methodOf=Wi.methodOf,st.mixin=Db,st.negate=zl,st.nthArg=Wi.nthArg,st.omit=ci.omit,st.omitBy=ci.omitBy,st.once=Yo.once,st.orderBy=zi.orderBy,st.over=Wi.over,st.overArgs=Yo.overArgs,st.overEvery=Wi.overEvery,st.overSome=Wi.overSome,st.partial=Yo.partial,st.partialRight=Yo.partialRight,st.partition=zi.partition,st.pick=ci.pick,st.pickBy=ci.pickBy,st.property=Wi.property,st.propertyOf=Wi.propertyOf,st.pull=wr.pull,st.pullAll=wr.pullAll,st.pullAllBy=wr.pullAllBy,st.pullAllWith=wr.pullAllWith,st.pullAt=wr.pullAt,st.range=Wi.range,st.rangeRight=Wi.rangeRight,st.rearg=Yo.rearg,st.reject=zi.reject,st.remove=wr.remove,st.rest=Yo.rest,st.reverse=wr.reverse,st.sampleSize=zi.sampleSize,st.set=ci.set,st.setWith=ci.setWith,st.shuffle=zi.shuffle,st.slice=wr.slice,st.sortBy=zi.sortBy,st.sortedUniq=wr.sortedUniq,st.sortedUniqBy=wr.sortedUniqBy,st.split=Oi.split,st.spread=Yo.spread,st.tail=wr.tail,st.take=wr.take,st.takeRight=wr.takeRight,st.takeRightWhile=wr.takeRightWhile,st.takeWhile=wr.takeWhile,st.tap=fo.tap,st.throttle=Yo.throttle,st.thru=fu,st.toArray=Br.toArray,st.toPairs=ci.toPairs,st.toPairsIn=ci.toPairsIn,st.toPath=Wi.toPath,st.toPlainObject=Br.toPlainObject,st.transform=ci.transform,st.unary=Yo.unary,st.union=wr.union,st.unionBy=wr.unionBy,st.unionWith=wr.unionWith,st.uniq=wr.uniq,st.uniqBy=wr.uniqBy,st.uniqWith=wr.uniqWith,st.unset=ci.unset,st.unzip=wr.unzip,st.unzipWith=wr.unzipWith,st.update=ci.update,st.updateWith=ci.updateWith,st.values=ci.values,st.valuesIn=ci.valuesIn,st.without=wr.without,st.words=Oi.words,st.wrap=Yo.wrap,st.xor=wr.xor,st.xorBy=wr.xorBy,st.xorWith=wr.xorWith,st.zip=wr.zip,st.zipObject=wr.zipObject,st.zipObjectDeep=wr.zipObjectDeep,st.zipWith=wr.zipWith,st.entries=ci.toPairs,st.entriesIn=ci.toPairsIn,st.extend=ci.assignIn,st.extendWith=ci.assignInWith,Db(st,st),st.add=wa.add,st.attempt=Wi.attempt,st.camelCase=Oi.camelCase,st.capitalize=Oi.capitalize,st.ceil=wa.ceil,st.clamp=Sb.clamp,st.clone=Br.clone,st.cloneDeep=Br.cloneDeep,st.cloneDeepWith=Br.cloneDeepWith,st.cloneWith=Br.cloneWith,st.conformsTo=Br.conformsTo,st.deburr=Oi.deburr,st.defaultTo=Wi.defaultTo,st.divide=wa.divide,st.endsWith=Oi.endsWith,st.eq=Br.eq,st.escape=Oi.escape,st.escapeRegExp=Oi.escapeRegExp,st.every=zi.every,st.find=zi.find,st.findIndex=wr.findIndex,st.findKey=ci.findKey,st.findLast=zi.findLast,st.findLastIndex=wr.findLastIndex,st.findLastKey=ci.findLastKey,st.floor=wa.floor,st.forEach=zi.forEach,st.forEachRight=zi.forEachRight,st.forIn=ci.forIn,st.forInRight=ci.forInRight,st.forOwn=ci.forOwn,st.forOwnRight=ci.forOwnRight,st.get=ci.get,st.gt=Br.gt,st.gte=Br.gte,st.has=ci.has,st.hasIn=ci.hasIn,st.head=wr.head,st.identity=gt,st.includes=zi.includes,st.indexOf=wr.indexOf,st.inRange=Sb.inRange,st.invoke=ci.invoke,st.isArguments=Br.isArguments,st.isArray=ct,st.isArrayBuffer=Br.isArrayBuffer,st.isArrayLike=Br.isArrayLike,st.isArrayLikeObject=Br.isArrayLikeObject,st.isBoolean=Br.isBoolean,st.isBuffer=Br.isBuffer,st.isDate=Br.isDate,st.isElement=Br.isElement,st.isEmpty=Br.isEmpty,st.isEqual=Br.isEqual,st.isEqualWith=Br.isEqualWith,st.isError=Br.isError,st.isFinite=Br.isFinite,st.isFunction=Br.isFunction,st.isInteger=Br.isInteger,st.isLength=Br.isLength,st.isMap=Br.isMap,st.isMatch=Br.isMatch,st.isMatchWith=Br.isMatchWith,st.isNaN=Br.isNaN,st.isNative=Br.isNative,st.isNil=Br.isNil,st.isNull=Br.isNull,st.isNumber=Br.isNumber,st.isObject=Te,st.isObjectLike=Br.isObjectLike,st.isPlainObject=Br.isPlainObject,st.isRegExp=Br.isRegExp,st.isSafeInteger=Br.isSafeInteger,st.isSet=Br.isSet,st.isString=Br.isString,st.isSymbol=Br.isSymbol,st.isTypedArray=Br.isTypedArray,st.isUndefined=Br.isUndefined,st.isWeakMap=Br.isWeakMap,st.isWeakSet=Br.isWeakSet,st.join=wr.join,st.kebabCase=Oi.kebabCase,st.last=xa,st.lastIndexOf=wr.lastIndexOf,st.lowerCase=Oi.lowerCase,st.lowerFirst=Oi.lowerFirst,st.lt=Br.lt,st.lte=Br.lte,st.max=wa.max,st.maxBy=wa.maxBy,st.mean=wa.mean,st.meanBy=wa.meanBy,st.min=wa.min,st.minBy=wa.minBy,st.stubArray=Wi.stubArray,st.stubFalse=Wi.stubFalse,st.stubObject=Wi.stubObject,st.stubString=Wi.stubString,st.stubTrue=Wi.stubTrue,st.multiply=wa.multiply,st.nth=wr.nth,st.noop=Wi.noop,st.now=rk.now,st.pad=Oi.pad,st.padEnd=Oi.padEnd,st.padStart=Oi.padStart,st.parseInt=Oi.parseInt,st.random=Sb.random,st.reduce=zi.reduce,st.reduceRight=zi.reduceRight,st.repeat=Oi.repeat,st.replace=Oi.replace,st.result=ci.result,st.round=wa.round,st.sample=zi.sample,st.size=zi.size,st.snakeCase=Oi.snakeCase,st.some=zi.some,st.sortedIndex=wr.sortedIndex,st.sortedIndexBy=wr.sortedIndexBy,st.sortedIndexOf=wr.sortedIndexOf,st.sortedLastIndex=wr.sortedLastIndex,st.sortedLastIndexBy=wr.sortedLastIndexBy,st.sortedLastIndexOf=wr.sortedLastIndexOf,st.startCase=Oi.startCase,st.startsWith=Oi.startsWith,st.subtract=wa.subtract,st.sum=wa.sum,st.sumBy=wa.sumBy,st.template=Oi.template,st.times=Wi.times,st.toFinite=Br.toFinite,st.toInteger=Pe,st.toLength=Br.toLength,st.toLower=Oi.toLower,st.toNumber=Br.toNumber,st.toSafeInteger=Br.toSafeInteger,st.toString=Br.toString,st.toUpper=Oi.toUpper,st.trim=Oi.trim,st.trimEnd=Oi.trimEnd,st.trimStart=Oi.trimStart,st.truncate=Oi.truncate,st.unescape=Oi.unescape,st.uniqueId=Wi.uniqueId,st.upperCase=Oi.upperCase,st.upperFirst=Oi.upperFirst,st.each=zi.forEach,st.eachRight=zi.forEachRight,st.first=wr.head,Db(st,function(){var g={};return bs(st,function(T,j){wb.call(st.prototype,j)||(g[j]=T)}),g}(),{chain:!1}),st.VERSION="4.17.21",(st.templateSettings=Oi.templateSettings).imports._=st,ai(["bind","bindKey","curry","curryRight","partial","partialRight"],function(g){st[g].placeholder=st}),ai(["drop","take"],function(g,T){Q.prototype[g]=function(j){j=void 0===j?1:sk(Pe(j),0);var de=this.__filtered__&&!T?new Q(this):this.clone();return de.__filtered__?de.__takeCount__=_P(j,de.__takeCount__):de.__views__.push({size:_P(j,Fd),type:g+(de.__dir__<0?"Right":"")}),de},Q.prototype[g+"Right"]=function(j){return this.reverse()[g](j).reverse()}}),ai(["filter","map","takeWhile"],function(g,T){var j=T+1,de=1==j||3==j;Q.prototype[g]=function(Ve){var bt=this.clone();return bt.__iteratees__.push({iteratee:di(Ve),type:j}),bt.__filtered__=bt.__filtered__||de,bt}}),ai(["head","last"],function(g,T){var j="take"+(T?"Right":"");Q.prototype[g]=function(){return this[j](1).value()[0]}}),ai(["initial","tail"],function(g,T){var j="drop"+(T?"":"Right");Q.prototype[g]=function(){return this.__filtered__?new Q(this):this[j](1)}}),Q.prototype.compact=function(){return this.filter(gt)},Q.prototype.find=function(g){return this.filter(g).head()},Q.prototype.findLast=function(g){return this.reverse().find(g)},Q.prototype.invokeMap=Y(function(g,T){return"function"==typeof g?new Q(this):this.map(function(j){return vd(j,g,T)})}),Q.prototype.reject=function(g){return this.filter(zl(di(g)))},Q.prototype.slice=function(g,T){g=Pe(g);var j=this;return j.__filtered__&&(g>0||T<0)?new Q(j):(g<0?j=j.takeRight(-g):g&&(j=j.drop(g)),void 0!==T&&(j=(T=Pe(T))<0?j.dropRight(-T):j.take(T-g)),j)},Q.prototype.takeRightWhile=function(g){return this.reverse().takeWhile(g).reverse()},Q.prototype.toArray=function(){return this.take(Fd)},bs(Q.prototype,function(g,T){var j=/^(?:filter|find|map|reject)|While$/.test(T),de=/^(?:head|last)$/.test(T),Ve=st[de?"take"+("last"==T?"Right":""):T],bt=de||/^find/.test(T);Ve&&(st.prototype[T]=function(){var Lt=this.__wrapped__,Jt=de?[1]:arguments,cn=Lt instanceof Q,Rn=Jt[0],Fn=cn||ct(Lt),zn=function(Ei){var Ii=Ve.apply(st,ka([Ei],Jt));return de&&gr?Ii[0]:Ii};Fn&&j&&"function"==typeof Rn&&1!=Rn.length&&(cn=Fn=!1);var gr=this.__chain__,Wr=bt&&!gr,bi=cn&&!this.__actions__.length;if(!bt&&Fn){Lt=bi?Lt:new Q(this);var Hr=g.apply(Lt,Jt);return Hr.__actions__.push({func:fu,args:[zn],thisArg:void 0}),new bn(Hr,gr)}return Wr&&bi?g.apply(this,Jt):(Hr=this.thru(zn),Wr?de?Hr.value()[0]:Hr.value():Hr)})}),ai(["pop","push","shift","sort","splice","unshift"],function(g){var T=Nd[g],j=/^(?:push|sort|unshift)$/.test(g)?"tap":"thru",de=/^(?:pop|shift)$/.test(g);st.prototype[g]=function(){var Ve=arguments;if(de&&!this.__chain__){var bt=this.value();return T.apply(ct(bt)?bt:[],Ve)}return this[j](function(Lt){return T.apply(ct(Lt)?Lt:[],Ve)})}}),bs(Q.prototype,function(g,T){var j=st[T];if(j){var de=j.name+"";wb.call(mt,de)||(mt[de]=[]),mt[de].push({name:T,func:j})}}),mt[qi(void 0,2).name]=[{name:"wrapper",func:void 0}],Q.prototype.clone=function Dm(){var g=new Q(this.__wrapped__);return g.__actions__=In(this.__actions__),g.__dir__=this.__dir__,g.__filtered__=this.__filtered__,g.__iteratees__=In(this.__iteratees__),g.__takeCount__=this.__takeCount__,g.__views__=In(this.__views__),g},Q.prototype.reverse=function ik(){if(this.__filtered__){var g=new Q(this);g.__dir__=-1,g.__filtered__=!0}else(g=this.clone()).__dir__*=-1;return g},Q.prototype.value=function Vw(){var g=this.__wrapped__.value(),T=this.__dir__,j=ct(g),de=T<0,Ve=j?g.length:0,bt=function Eb(g,T,j){for(var de=-1,Ve=j.length;++de{"use strict";function n(u,l,i,e,o,d,v){try{var M=u[d](v),p=M.value}catch(E){return void i(E)}M.done?l(p):Promise.resolve(p).then(e,o)}function c(u){return function(){var l=this,i=arguments;return new Promise(function(e,o){var d=u.apply(l,i);function v(p){n(d,e,o,v,M,"next",p)}function M(p){n(d,e,o,v,M,"throw",p)}v(void 0)})}}s.d(m,{c:()=>c})},81316:(pe,m,s)=>{"use strict";s.r(m),s.d(m,{__addDisposableResource:()=>ce,__assign:()=>u,__asyncDelegator:()=>G,__asyncGenerator:()=>V,__asyncValues:()=>R,__await:()=>N,__awaiter:()=>E,__classPrivateFieldGet:()=>ie,__classPrivateFieldIn:()=>be,__classPrivateFieldSet:()=>J,__createBinding:()=>y,__decorate:()=>i,__disposeResources:()=>ct,__esDecorate:()=>o,__exportStar:()=>f,__extends:()=>c,__generator:()=>S,__importDefault:()=>K,__importStar:()=>H,__makeTemplateObject:()=>k,__metadata:()=>p,__param:()=>e,__propKey:()=>v,__read:()=>_,__rest:()=>l,__runInitializers:()=>d,__setFunctionName:()=>M,__spread:()=>w,__spreadArray:()=>L,__spreadArrays:()=>D,__values:()=>C,default:()=>Oe});var n=function(ke,Re){return(n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(Qe,$e){Qe.__proto__=$e}||function(Qe,$e){for(var Be in $e)Object.prototype.hasOwnProperty.call($e,Be)&&(Qe[Be]=$e[Be])})(ke,Re)};function c(ke,Re){if("function"!=typeof Re&&null!==Re)throw new TypeError("Class extends value "+String(Re)+" is not a constructor or null");function Qe(){this.constructor=ke}n(ke,Re),ke.prototype=null===Re?Object.create(Re):(Qe.prototype=Re.prototype,new Qe)}var u=function(){return u=Object.assign||function(Re){for(var Qe,$e=1,Be=arguments.length;$e=0;Se--)(Me=ke[Se])&&(_e=(Be<3?Me(_e):Be>3?Me(Re,Qe,_e):Me(Re,Qe))||_e);return Be>3&&_e&&Object.defineProperty(Re,Qe,_e),_e}function e(ke,Re){return function(Qe,$e){Re(Qe,$e,ke)}}function o(ke,Re,Qe,$e,Be,_e){function Me(Ft){if(void 0!==Ft&&"function"!=typeof Ft)throw new TypeError("Function expected");return Ft}for(var rt,Se=$e.kind,je="getter"===Se?"get":"setter"===Se?"set":"value",re=!Re&&ke?$e.static?ke:ke.prototype:null,we=Re||(re?Object.getOwnPropertyDescriptor(re,$e.name):{}),tt=!1,wt=Qe.length-1;wt>=0;wt--){var ye={};for(var Te in $e)ye[Te]="access"===Te?{}:$e[Te];for(var Te in $e.access)ye.access[Te]=$e.access[Te];ye.addInitializer=function(Ft){if(tt)throw new TypeError("Cannot add initializers after decoration has completed");_e.push(Me(Ft||null))};var ht=(0,Qe[wt])("accessor"===Se?{get:we.get,set:we.set}:we[je],ye);if("accessor"===Se){if(void 0===ht)continue;if(null===ht||"object"!=typeof ht)throw new TypeError("Object expected");(rt=Me(ht.get))&&(we.get=rt),(rt=Me(ht.set))&&(we.set=rt),(rt=Me(ht.init))&&Be.unshift(rt)}else(rt=Me(ht))&&("field"===Se?Be.unshift(rt):we[je]=rt)}re&&Object.defineProperty(re,$e.name,we),tt=!0}function d(ke,Re,Qe){for(var $e=arguments.length>2,Be=0;Be0&&_e[_e.length-1])&&(6===re[0]||2===re[0])){Qe=0;continue}if(3===re[0]&&(!_e||re[1]>_e[0]&&re[1]<_e[3])){Qe.label=re[1];break}if(6===re[0]&&Qe.label<_e[1]){Qe.label=_e[1],_e=re;break}if(_e&&Qe.label<_e[2]){Qe.label=_e[2],Qe.ops.push(re);break}_e[2]&&Qe.ops.pop(),Qe.trys.pop();continue}re=Re.call(ke,Qe)}catch(we){re=[6,we],Be=0}finally{$e=_e=0}if(5&re[0])throw re[1];return{value:re[0]?re[1]:void 0,done:!0}}([re,we])}}}var y=Object.create?function(ke,Re,Qe,$e){void 0===$e&&($e=Qe);var Be=Object.getOwnPropertyDescriptor(Re,Qe);(!Be||("get"in Be?!Re.__esModule:Be.writable||Be.configurable))&&(Be={enumerable:!0,get:function(){return Re[Qe]}}),Object.defineProperty(ke,$e,Be)}:function(ke,Re,Qe,$e){void 0===$e&&($e=Qe),ke[$e]=Re[Qe]};function f(ke,Re){for(var Qe in ke)"default"!==Qe&&!Object.prototype.hasOwnProperty.call(Re,Qe)&&y(Re,ke,Qe)}function C(ke){var Re="function"==typeof Symbol&&Symbol.iterator,Qe=Re&&ke[Re],$e=0;if(Qe)return Qe.call(ke);if(ke&&"number"==typeof ke.length)return{next:function(){return ke&&$e>=ke.length&&(ke=void 0),{value:ke&&ke[$e++],done:!ke}}};throw new TypeError(Re?"Object is not iterable.":"Symbol.iterator is not defined.")}function _(ke,Re){var Qe="function"==typeof Symbol&&ke[Symbol.iterator];if(!Qe)return ke;var Be,Me,$e=Qe.call(ke),_e=[];try{for(;(void 0===Re||Re-- >0)&&!(Be=$e.next()).done;)_e.push(Be.value)}catch(Se){Me={error:Se}}finally{try{Be&&!Be.done&&(Qe=$e.return)&&Qe.call($e)}finally{if(Me)throw Me.error}}return _e}function w(){for(var ke=[],Re=0;Re1||Se(tt,wt)})})}function Se(tt,wt){try{!function je(tt){tt.value instanceof N?Promise.resolve(tt.value.v).then(re,we):rt(_e[0][2],tt)}($e[tt](wt))}catch(ye){rt(_e[0][3],ye)}}function re(tt){Se("next",tt)}function we(tt){Se("throw",tt)}function rt(tt,wt){tt(wt),_e.shift(),_e.length&&Se(_e[0][0],_e[0][1])}}function G(ke){var Re,Qe;return Re={},$e("next"),$e("throw",function(Be){throw Be}),$e("return"),Re[Symbol.iterator]=function(){return this},Re;function $e(Be,_e){Re[Be]=ke[Be]?function(Me){return(Qe=!Qe)?{value:N(ke[Be](Me)),done:!1}:_e?_e(Me):Me}:_e}}function R(ke){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var Qe,Re=ke[Symbol.asyncIterator];return Re?Re.call(ke):(ke=C(ke),Qe={},$e("next"),$e("throw"),$e("return"),Qe[Symbol.asyncIterator]=function(){return this},Qe);function $e(_e){Qe[_e]=ke[_e]&&function(Me){return new Promise(function(Se,je){!function Be(_e,Me,Se,je){Promise.resolve(je).then(function(re){_e({value:re,done:Se})},Me)}(Se,je,(Me=ke[_e](Me)).done,Me.value)})}}}function k(ke,Re){return Object.defineProperty?Object.defineProperty(ke,"raw",{value:Re}):ke.raw=Re,ke}var A=Object.create?function(ke,Re){Object.defineProperty(ke,"default",{enumerable:!0,value:Re})}:function(ke,Re){ke.default=Re};function H(ke){if(ke&&ke.__esModule)return ke;var Re={};if(null!=ke)for(var Qe in ke)"default"!==Qe&&Object.prototype.hasOwnProperty.call(ke,Qe)&&y(Re,ke,Qe);return A(Re,ke),Re}function K(ke){return ke&&ke.__esModule?ke:{default:ke}}function ie(ke,Re,Qe,$e){if("a"===Qe&&!$e)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof Re?ke!==Re||!$e:!Re.has(ke))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===Qe?$e:"a"===Qe?$e.call(ke):$e?$e.value:Re.get(ke)}function J(ke,Re,Qe,$e,Be){if("m"===$e)throw new TypeError("Private method is not writable");if("a"===$e&&!Be)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof Re?ke!==Re||!Be:!Re.has(ke))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===$e?Be.call(ke,Qe):Be?Be.value=Qe:Re.set(ke,Qe),Qe}function be(ke,Re){if(null===Re||"object"!=typeof Re&&"function"!=typeof Re)throw new TypeError("Cannot use 'in' operator on non-object");return"function"==typeof ke?Re===ke:ke.has(Re)}function ce(ke,Re,Qe){if(null!=Re){if("object"!=typeof Re&&"function"!=typeof Re)throw new TypeError("Object expected.");var $e;if(Qe){if(!Symbol.asyncDispose)throw new TypeError("Symbol.asyncDispose is not defined.");$e=Re[Symbol.asyncDispose]}if(void 0===$e){if(!Symbol.dispose)throw new TypeError("Symbol.dispose is not defined.");$e=Re[Symbol.dispose]}if("function"!=typeof $e)throw new TypeError("Object not disposable.");ke.stack.push({value:Re,dispose:$e,async:Qe})}else Qe&&ke.stack.push({async:!0});return Re}var Ge="function"==typeof SuppressedError?SuppressedError:function(ke,Re,Qe){var $e=new Error(Qe);return $e.name="SuppressedError",$e.error=ke,$e.suppressed=Re,$e};function ct(ke){function Re($e){ke.error=ke.hasError?new Ge($e,ke.error,"An error was suppressed during disposal."):$e,ke.hasError=!0}return function Qe(){for(;ke.stack.length;){var $e=ke.stack.pop();try{var Be=$e.dispose&&$e.dispose.call($e.value);if($e.async)return Promise.resolve(Be).then(Qe,function(_e){return Re(_e),Qe()})}catch(_e){Re(_e)}}if(ke.hasError)throw ke.error}()}const Oe={__extends:c,__assign:u,__rest:l,__decorate:i,__param:e,__metadata:p,__awaiter:E,__generator:S,__createBinding:y,__exportStar:f,__values:C,__read:_,__spread:w,__spreadArrays:D,__spreadArray:L,__await:N,__asyncGenerator:V,__asyncDelegator:G,__asyncValues:R,__makeTemplateObject:k,__importStar:H,__importDefault:K,__classPrivateFieldGet:ie,__classPrivateFieldSet:J,__classPrivateFieldIn:be,__addDisposableResource:ce,__disposeResources:ct}}},pe=>{pe(pe.s=27460)}]); \ No newline at end of file