diff --git a/.eslintrc.json b/.eslintrc.json index cae6e59..5fae9a4 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -15,7 +15,9 @@ "plugins": [ "@typescript-eslint" ], - "rules": {}, + "rules": { + "@typescript-eslint/no-explicit-any": "off" + }, "overrides": [ { "files": [ diff --git a/.github/workflows/build-app.yml b/.github/workflows/build-app.yml index 004f227..7fefa10 100644 --- a/.github/workflows/build-app.yml +++ b/.github/workflows/build-app.yml @@ -19,14 +19,14 @@ jobs: strategy: matrix: - node-version: [16.x] + node-version: [20.x] # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v2 + - uses: actions/checkout@v3 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} @@ -35,7 +35,7 @@ jobs: - run: echo "//packages.infragistics.com/npm/js-licensed/:always-auth=true" >> ~/.npmrc - name: Install dependencies - run: npm ci --legacy-peer-deps + run: npm ci - name: Run lint run: npm run lint diff --git a/angular.json b/angular.json index 06dc973..a5969ec 100644 --- a/angular.json +++ b/angular.json @@ -80,21 +80,21 @@ "serve": { "builder": "@angular-devkit/build-angular:dev-server", "options": { - "browserTarget": "cryptoapp:build" + "buildTarget": "cryptoapp:build" }, "configurations": { "production": { - "browserTarget": "cryptoapp:build:production" + "buildTarget": "cryptoapp:build:production" }, "es5": { - "browserTarget": "cryptoapp:build:es5" + "buildTarget": "cryptoapp:build:es5" } } }, "extract-i18n": { "builder": "@angular-devkit/build-angular:extract-i18n", "options": { - "browserTarget": "cryptoapp:build" + "buildTarget": "cryptoapp:build" } }, "test": { diff --git a/docs/3rdpartylicenses.txt b/docs/3rdpartylicenses.txt index a88001f..99fa2d2 100644 --- a/docs/3rdpartylicenses.txt +++ b/docs/3rdpartylicenses.txt @@ -45,15 +45,9 @@ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -@firebase/analytics -Apache-2.0 - @firebase/app Apache-2.0 -@firebase/app-check -Apache-2.0 - @firebase/app-compat Apache-2.0 @@ -78,18 +72,9 @@ Apache-2.0 @firebase/firestore-compat Apache-2.0 -@firebase/installations -Apache-2.0 - @firebase/logger Apache-2.0 -@firebase/messaging -Apache-2.0 - -@firebase/remote-config -Apache-2.0 - @firebase/storage Apache-2.0 @@ -177,11 +162,9 @@ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. -firebase/analytics - firebase/app -firebase/app-check +firebase/auth firebase/compat/app @@ -193,10 +176,6 @@ firebase/compat/firestore firebase/compat/storage -firebase/messaging - -firebase/remote-config - idb ISC ISC License (ISC) @@ -210,7 +189,7 @@ THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH RE igniteui-angular-charts Infragistics(R) Ultimate license (http://www.infragistics.com/legal/ultimate/license/) ============================================================== -==== Ignite UI(R) for Angular 2018 Volume 2 ==== +==== Ignite UI(R) for Angular 2023 Volume 2 ==== ============================================================== ============================================================== @@ -228,20 +207,20 @@ You can find getting started information related to this product here: http://igniteui.com/ -THIRD PARTY COMPONENTS, USAGE & RESTRICTIONS. - A. The SOFTWARE may include certain third party components ("MS-PL Components") licensed under the Microsoft Permissive License ("MS-PL"). A list of included MS-PL Components and their respective licenses shall be provided upon request. - To the extent required by the MS-PL, the terms of such license will apply in lieu of the terms of this Agreement, and Infragistics, Inc. hereby represents and warrants that the license granted to such MS-PL Components will be no less broad than the license granted in this Agreement. To the extent the terms of the license applicable to MS-PL Components prohibit any of the restrictions in this agreement with respect to such MS-PL Components, such restrictions will not apply to such MS-PL Components. The MS-PL Components are provided "as is" by the third party licensors who disclaim all liabilities, damages, (even if they have been advised of the possibility of such damages), warranties, indemnities and other obligations of any kind, express or implied, with regard to the MS-PL Components. The MS-PL Components are excluded from any indemnity provided by Infragistics Inc. in this license. Nothing in the foregoing affects any performance warranty provided by Infragistics Inc. with regard to the SOFTWARE as a whole. +THIRD PARTY COMPONENTS, USAGE & RESTRICTIONS. + A. The SOFTWARE may include certain third party components ("MS-PL Components") licensed under the Microsoft Permissive License ("MS-PL"). A list of included MS-PL Components and their respective licenses shall be provided upon request. + To the extent required by the MS-PL, the terms of such license will apply in lieu of the terms of this Agreement, and Infragistics, Inc. hereby represents and warrants that the license granted to such MS-PL Components will be no less broad than the license granted in this Agreement. To the extent the terms of the license applicable to MS-PL Components prohibit any of the restrictions in this agreement with respect to such MS-PL Components, such restrictions will not apply to such MS-PL Components. The MS-PL Components are provided "as is" by the third party licensors who disclaim all liabilities, damages, (even if they have been advised of the possibility of such damages), warranties, indemnities and other obligations of any kind, express or implied, with regard to the MS-PL Components. The MS-PL Components are excluded from any indemnity provided by Infragistics Inc. in this license. Nothing in the foregoing affects any performance warranty provided by Infragistics Inc. with regard to the SOFTWARE as a whole. -B. The SOFTWARE may also include third party components ("Other Components") licensed under, and subject to the permission of the MIT License found at https://opensource.org/licenses/MIT. The Other Components are provided "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE OTHER COMPONENTS OR THE USE OF OTHER DEALINGS IN THE OTHER COMPONENTS. +B. The SOFTWARE may also include third party components ("Other Components") licensed under, and subject to the permission of the MIT License found at https://opensource.org/licenses/MIT. The Other Components are provided "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE OTHER COMPONENTS OR THE USE OF OTHER DEALINGS IN THE OTHER COMPONENTS. -C. Note: To the best of our knowledge, Microsoft� doesn't forbid third-party companies from developing a product for the XPS document generation. However, according to the XML Paper Specification Patent License, we need to provide the following notice for your information: +C. Note: To the best of our knowledge, Microsoft� doesn't forbid third-party companies from developing a product for the XPS document generation. However, according to the XML Paper Specification Patent License, we need to provide the following notice for your information: This product may incorporate intellectual property owned by Microsoft Corporation. The terms and conditions upon which Microsoft is licensing such intellectual property can be found at http://www.microsoft.com/whdc/XPS/XpsLicense.mspx. igniteui-angular-core Infragistics(R) Ultimate license (http://www.infragistics.com/legal/ultimate/license/) ============================================================== -==== Ignite UI(R) for Angular 2018 Volume 2 ==== +==== Ignite UI(R) for Angular 2023 Volume 2 ==== ============================================================== ============================================================== @@ -259,19 +238,16 @@ You can find getting started information related to this product here: http://igniteui.com/ -THIRD PARTY COMPONENTS, USAGE & RESTRICTIONS. - A. The SOFTWARE may include certain third party components ("MS-PL Components") licensed under the Microsoft Permissive License ("MS-PL"). A list of included MS-PL Components and their respective licenses shall be provided upon request. - To the extent required by the MS-PL, the terms of such license will apply in lieu of the terms of this Agreement, and Infragistics, Inc. hereby represents and warrants that the license granted to such MS-PL Components will be no less broad than the license granted in this Agreement. To the extent the terms of the license applicable to MS-PL Components prohibit any of the restrictions in this agreement with respect to such MS-PL Components, such restrictions will not apply to such MS-PL Components. The MS-PL Components are provided "as is" by the third party licensors who disclaim all liabilities, damages, (even if they have been advised of the possibility of such damages), warranties, indemnities and other obligations of any kind, express or implied, with regard to the MS-PL Components. The MS-PL Components are excluded from any indemnity provided by Infragistics Inc. in this license. Nothing in the foregoing affects any performance warranty provided by Infragistics Inc. with regard to the SOFTWARE as a whole. +THIRD PARTY COMPONENTS, USAGE & RESTRICTIONS. + A. The SOFTWARE may include certain third party components ("MS-PL Components") licensed under the Microsoft Permissive License ("MS-PL"). A list of included MS-PL Components and their respective licenses shall be provided upon request. + To the extent required by the MS-PL, the terms of such license will apply in lieu of the terms of this Agreement, and Infragistics, Inc. hereby represents and warrants that the license granted to such MS-PL Components will be no less broad than the license granted in this Agreement. To the extent the terms of the license applicable to MS-PL Components prohibit any of the restrictions in this agreement with respect to such MS-PL Components, such restrictions will not apply to such MS-PL Components. The MS-PL Components are provided "as is" by the third party licensors who disclaim all liabilities, damages, (even if they have been advised of the possibility of such damages), warranties, indemnities and other obligations of any kind, express or implied, with regard to the MS-PL Components. The MS-PL Components are excluded from any indemnity provided by Infragistics Inc. in this license. Nothing in the foregoing affects any performance warranty provided by Infragistics Inc. with regard to the SOFTWARE as a whole. -B. The SOFTWARE may also include third party components ("Other Components") licensed under, and subject to the permission of the MIT License found at https://opensource.org/licenses/MIT. The Other Components are provided "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE OTHER COMPONENTS OR THE USE OF OTHER DEALINGS IN THE OTHER COMPONENTS. +B. The SOFTWARE may also include third party components ("Other Components") licensed under, and subject to the permission of the MIT License found at https://opensource.org/licenses/MIT. The Other Components are provided "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE OTHER COMPONENTS OR THE USE OF OTHER DEALINGS IN THE OTHER COMPONENTS. -C. Note: To the best of our knowledge, Microsoft� doesn't forbid third-party companies from developing a product for the XPS document generation. However, according to the XML Paper Specification Patent License, we need to provide the following notice for your information: +C. Note: To the best of our knowledge, Microsoft� doesn't forbid third-party companies from developing a product for the XPS document generation. However, according to the XML Paper Specification Patent License, we need to provide the following notice for your information: This product may incorporate intellectual property owned by Microsoft Corporation. The terms and conditions upon which Microsoft is licensing such intellectual property can be found at http://www.microsoft.com/whdc/XPS/XpsLicense.mspx. -igniteui-trial-watermark -Apache-2.0 - lodash-es MIT Copyright OpenJS Foundation and other contributors @@ -561,7 +537,7 @@ zone.js MIT The MIT License -Copyright (c) 2010-2022 Google LLC. https://angular.io/license +Copyright (c) 2010-2023 Google LLC. https://angular.io/license Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/docs/index.html b/docs/index.html index 3b86f14..1156504 100644 --- a/docs/index.html +++ b/docs/index.html @@ -1,4 +1,6 @@ - + + + Ignite UI for Angular @@ -7,10 +9,9 @@ - - + + - - - \ No newline at end of file + + diff --git a/docs/main.04e8b8e22adcafcb.js b/docs/main.04e8b8e22adcafcb.js new file mode 100644 index 0000000..dfd9c72 --- /dev/null +++ b/docs/main.04e8b8e22adcafcb.js @@ -0,0 +1 @@ +"use strict";(self.webpackChunkcryptoapp=self.webpackChunkcryptoapp||[]).push([[179],{2364:(kd,wo,en)=>{en.d(wo,{$:()=>kZ,A:()=>Nt,E:()=>Vn,J:()=>s2,K:()=>Ta,M:()=>Xo,P:()=>N2,Q:()=>Be,R:()=>jZ,U:()=>Ld,V:()=>TZ,W:()=>Z3,X:()=>IZ,Y:()=>ZD,Z:()=>Zi,_:()=>AZ,a:()=>xr,a0:()=>tx,a1:()=>Pr,a2:()=>eW,a3:()=>f2,a4:()=>EZ,a5:()=>Fw,a6:()=>tW,a7:()=>x2,a8:()=>S_,a9:()=>kp,aA:()=>dn,aB:()=>Wt,aC:()=>St,aD:()=>ie,aE:()=>nt,aF:()=>eT,aG:()=>H2,aH:()=>z2,aI:()=>$s,aM:()=>gn,aP:()=>Zy,aa:()=>Ue,ab:()=>S2,ac:()=>JD,ad:()=>Vw,ae:()=>nW,af:()=>eC,ag:()=>Vd,aj:()=>C2,ak:()=>lx,al:()=>v2,ao:()=>J3,ap:()=>sW,ar:()=>ko,as:()=>hW,at:()=>zo,au:()=>bt,av:()=>Nn,aw:()=>ur,ax:()=>Cl,ay:()=>mr,az:()=>Xe,b:()=>qh,c:()=>G2,d:()=>fx,e:()=>Wr,f:()=>rC,g:()=>bW,h:()=>_n,i:()=>Bp,j:()=>X2,k:()=>Cx,l:()=>B2,m:()=>nR,p:()=>Vr,r:()=>HZ,s:()=>zZ,u:()=>V2});var pe=en(5861),dt=en(9058),We=en(6122),Bi=en(7879),Zr=en(7582),Mn=en(4537);const Vr={FACEBOOK:"facebook.com",GITHUB:"github.com",GOOGLE:"google.com",PASSWORD:"password",PHONE:"phone",TWITTER:"twitter.com"},Nt={EMAIL_SIGNIN:"EMAIL_SIGNIN",PASSWORD_RESET:"PASSWORD_RESET",RECOVER_EMAIL:"RECOVER_EMAIL",REVERT_SECOND_FACTOR_ADDITION:"REVERT_SECOND_FACTOR_ADDITION",VERIFY_AND_CHANGE_EMAIL:"VERIFY_AND_CHANGE_EMAIL",VERIFY_EMAIL:"VERIFY_EMAIL"};function $i(I){return void 0!==I&&void 0!==I.getResponse}function An(I){return void 0!==I&&void 0!==I.enterprise}class Ma{constructor(S){if(this.siteKey="",this.emailPasswordEnabled=!1,void 0===S.recaptchaKey)throw new Error("recaptchaKey undefined");this.siteKey=S.recaptchaKey.split("/")[3],this.emailPasswordEnabled=S.recaptchaEnforcementState.some(M=>"EMAIL_PASSWORD_PROVIDER"===M.provider&&"OFF"!==M.enforcementState)}}const Vn=function qs(){return{"admin-restricted-operation":"This operation is restricted to administrators only.","argument-error":"","app-not-authorized":"This app, identified by the domain where it's hosted, is not authorized to use Firebase Authentication with the provided API key. Review your key configuration in the Google API console.","app-not-installed":"The requested mobile application corresponding to the identifier (Android package name or iOS bundle ID) provided is not installed on this device.","captcha-check-failed":"The reCAPTCHA response token provided is either invalid, expired, already used or the domain associated with it does not match the list of whitelisted domains.","code-expired":"The SMS code has expired. Please re-send the verification code to try again.","cordova-not-ready":"Cordova framework is not ready.","cors-unsupported":"This browser is not supported.","credential-already-in-use":"This credential is already associated with a different user account.","custom-token-mismatch":"The custom token corresponds to a different audience.","requires-recent-login":"This operation is sensitive and requires recent authentication. Log in again before retrying this request.","dependent-sdk-initialized-before-auth":"Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK.","dynamic-link-not-activated":"Please activate Dynamic Links in the Firebase Console and agree to the terms and conditions.","email-change-needs-verification":"Multi-factor users must always have a verified email.","email-already-in-use":"The email address is already in use by another account.","emulator-config-failed":'Auth instance has already been used to make a network call. Auth can no longer be configured to use the emulator. Try calling "connectAuthEmulator()" sooner.',"expired-action-code":"The action code has expired.","cancelled-popup-request":"This operation has been cancelled due to another conflicting popup being opened.","internal-error":"An internal AuthError has occurred.","invalid-app-credential":"The phone verification request contains an invalid application verifier. The reCAPTCHA token response is either invalid or expired.","invalid-app-id":"The mobile app identifier is not registed for the current project.","invalid-user-token":"This user's credential isn't valid for this project. This can happen if the user's token has been tampered with, or if the user isn't for the project associated with this API key.","invalid-auth-event":"An internal AuthError has occurred.","invalid-verification-code":"The SMS verification code used to create the phone auth credential is invalid. Please resend the verification code sms and be sure to use the verification code provided by the user.","invalid-continue-uri":"The continue URL provided in the request is invalid.","invalid-cordova-configuration":"The following Cordova plugins must be installed to enable OAuth sign-in: cordova-plugin-buildinfo, cordova-universal-links-plugin, cordova-plugin-browsertab, cordova-plugin-inappbrowser and cordova-plugin-customurlscheme.","invalid-custom-token":"The custom token format is incorrect. Please check the documentation.","invalid-dynamic-link-domain":"The provided dynamic link domain is not configured or authorized for the current project.","invalid-email":"The email address is badly formatted.","invalid-emulator-scheme":"Emulator URL must start with a valid scheme (http:// or https://).","invalid-api-key":"Your API key is invalid, please check you have copied it correctly.","invalid-cert-hash":"The SHA-1 certificate hash provided is invalid.","invalid-credential":"The supplied auth credential is malformed or has expired.","invalid-message-payload":"The email template corresponding to this action contains invalid characters in its message. Please fix by going to the Auth email templates section in the Firebase Console.","invalid-multi-factor-session":"The request does not contain a valid proof of first factor successful sign-in.","invalid-oauth-provider":"EmailAuthProvider is not supported for this operation. This operation only supports OAuth providers.","invalid-oauth-client-id":"The OAuth client ID provided is either invalid or does not match the specified API key.","unauthorized-domain":"This domain is not authorized for OAuth operations for your Firebase project. Edit the list of authorized domains from the Firebase console.","invalid-action-code":"The action code is invalid. This can happen if the code is malformed, expired, or has already been used.","wrong-password":"The password is invalid or the user does not have a password.","invalid-persistence-type":"The specified persistence type is invalid. It can only be local, session or none.","invalid-phone-number":"The format of the phone number provided is incorrect. Please enter the phone number in a format that can be parsed into E.164 format. E.164 phone numbers are written in the format [+][country code][subscriber number including area code].","invalid-provider-id":"The specified provider ID is invalid.","invalid-recipient-email":"The email corresponding to this action failed to send as the provided recipient email address is invalid.","invalid-sender":"The email template corresponding to this action contains an invalid sender email or name. Please fix by going to the Auth email templates section in the Firebase Console.","invalid-verification-id":"The verification ID used to create the phone auth credential is invalid.","invalid-tenant-id":"The Auth instance's tenant ID is invalid.","login-blocked":"Login blocked by user-provided method: {$originalMessage}","missing-android-pkg-name":"An Android Package Name must be provided if the Android App is required to be installed.","auth-domain-config-required":"Be sure to include authDomain when calling firebase.initializeApp(), by following the instructions in the Firebase console.","missing-app-credential":"The phone verification request is missing an application verifier assertion. A reCAPTCHA response token needs to be provided.","missing-verification-code":"The phone auth credential was created with an empty SMS verification code.","missing-continue-uri":"A continue URL must be provided in the request.","missing-iframe-start":"An internal AuthError has occurred.","missing-ios-bundle-id":"An iOS Bundle ID must be provided if an App Store ID is provided.","missing-or-invalid-nonce":"The request does not contain a valid nonce. This can occur if the SHA-256 hash of the provided raw nonce does not match the hashed nonce in the ID token payload.","missing-password":"A non-empty password must be provided","missing-multi-factor-info":"No second factor identifier is provided.","missing-multi-factor-session":"The request is missing proof of first factor successful sign-in.","missing-phone-number":"To send verification codes, provide a phone number for the recipient.","missing-verification-id":"The phone auth credential was created with an empty verification ID.","app-deleted":"This instance of FirebaseApp has been deleted.","multi-factor-info-not-found":"The user does not have a second factor matching the identifier provided.","multi-factor-auth-required":"Proof of ownership of a second factor is required to complete sign-in.","account-exists-with-different-credential":"An account already exists with the same email address but different sign-in credentials. Sign in using a provider associated with this email address.","network-request-failed":"A network AuthError (such as timeout, interrupted connection or unreachable host) has occurred.","no-auth-event":"An internal AuthError has occurred.","no-such-provider":"User was not linked to an account with the given provider.","null-user":"A null user object was provided as the argument for an operation which requires a non-null user object.","operation-not-allowed":"The given sign-in provider is disabled for this Firebase project. Enable it in the Firebase console, under the sign-in method tab of the Auth section.","operation-not-supported-in-this-environment":'This operation is not supported in the environment this application is running on. "location.protocol" must be http, https or chrome-extension and web storage must be enabled.',"popup-blocked":"Unable to establish a connection with the popup. It may have been blocked by the browser.","popup-closed-by-user":"The popup has been closed by the user before finalizing the operation.","provider-already-linked":"User can only be linked to one identity for the given provider.","quota-exceeded":"The project's quota for this operation has been exceeded.","redirect-cancelled-by-user":"The redirect operation has been cancelled by the user before finalizing.","redirect-operation-pending":"A redirect sign-in operation is already pending.","rejected-credential":"The request contains malformed or mismatching credentials.","second-factor-already-in-use":"The second factor is already enrolled on this account.","maximum-second-factor-count-exceeded":"The maximum allowed number of second factors on a user has been exceeded.","tenant-id-mismatch":"The provided tenant ID does not match the Auth instance's tenant ID",timeout:"The operation has timed out.","user-token-expired":"The user's credential is no longer valid. The user must sign in again.","too-many-requests":"We have blocked all requests from this device due to unusual activity. Try again later.","unauthorized-continue-uri":"The domain of the continue URL is not whitelisted. Please whitelist the domain in the Firebase console.","unsupported-first-factor":"Enrolling a second factor or signing in with a multi-factor account requires sign-in with a supported first factor.","unsupported-persistence-type":"The current environment does not support the specified persistence type.","unsupported-tenant-operation":"This operation is not supported in a multi-tenant context.","unverified-email":"The operation requires a verified email.","user-cancelled":"The user did not grant your application the permissions it requested.","user-not-found":"There is no user record corresponding to this identifier. The user may have been deleted.","user-disabled":"The user account has been disabled by an administrator.","user-mismatch":"The supplied credentials do not correspond to the previously signed in user.","user-signed-out":"","weak-password":"The password must be 6 characters long or more.","web-storage-unsupported":"This browser is not supported or 3rd party cookies and data may be disabled.","already-initialized":"initializeAuth() has already been called with different options. To avoid this error, call initializeAuth() with the same options as when it was originally called, or call getAuth() to return the already initialized instance.","missing-recaptcha-token":"The reCAPTCHA token is missing when sending request to the backend.","invalid-recaptcha-token":"The reCAPTCHA token is invalid when sending request to the backend.","invalid-recaptcha-action":"The reCAPTCHA action is invalid when sending request to the backend.","recaptcha-not-enabled":"reCAPTCHA Enterprise integration is not enabled for this project.","missing-client-type":"The reCAPTCHA client type is missing when sending request to the backend.","missing-recaptcha-version":"The reCAPTCHA version is missing when sending request to the backend.","invalid-req-type":"Invalid request parameters.","invalid-recaptcha-version":"The reCAPTCHA version is invalid when sending request to the backend.","unsupported-password-policy-schema-version":"The password policy received from the backend uses a schema version that is not supported by this version of the Firebase SDK.","password-does-not-meet-requirements":"The password does not meet the requirements."}},jn=function wa(){return{"dependent-sdk-initialized-before-auth":"Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK."}},Us=new dt.LL("auth","Firebase",{"dependent-sdk-initialized-before-auth":"Another Firebase SDK was initialized and is trying to use Auth before Auth is initialized. Please be sure to call `initializeAuth` or `getAuth` before starting any other Firebase SDK."}),Er=new Bi.Yd("@firebase/auth");function Io(I,...S){Er.logLevel<=Bi.in.ERROR&&Er.error(`Auth (${We.SDK_VERSION}): ${I}`,...S)}function ur(I,...S){throw _l(I,...S)}function dn(I,...S){return _l(I,...S)}function co(I,S,M){const k=Object.assign(Object.assign({},jn()),{[S]:M});return new dt.LL("auth","Firebase",k).create(S,{appName:I.name})}function yr(I,S,M){if(!(S instanceof M))throw M.name!==S.constructor.name&&ur(I,"argument-error"),co(I,"argument-error",`Type of ${S.constructor.name} does not match expected instance.Did you pass a reference from a different Auth SDK?`)}function _l(I,...S){if("string"!=typeof I){const M=S[0],k=[...S.slice(1)];return k[0]&&(k[0].appName=I.name),I._errorFactory.create(M,...k)}return Us.create(I,...S)}function Wt(I,S,...M){if(!I)throw _l(S,...M)}function Xs(I){const S="INTERNAL ASSERTION FAILED: "+I;throw Io(S),new Error(S)}function zo(I,S){I||Xs(S)}function gu(){var I;return typeof self<"u"&&(null===(I=self.location)||void 0===I?void 0:I.href)||""}function Ys(){return"http:"===Ed()||"https:"===Ed()}function Ed(){var I;return typeof self<"u"&&(null===(I=self.location)||void 0===I?void 0:I.protocol)||null}class _t{constructor(S,M){this.shortDelay=S,this.longDelay=M,zo(M>S,"Short delay should be less than long delay!"),this.isMobile=(0,dt.uI)()||(0,dt.b$)()}get(){return function Rd(){return!(typeof navigator<"u"&&navigator&&"onLine"in navigator&&"boolean"==typeof navigator.onLine&&(Ys()||(0,dt.ru)()||"connection"in navigator))||navigator.onLine}()?this.isMobile?this.longDelay:this.shortDelay:Math.min(5e3,this.shortDelay)}}function vt(I,S){zo(I.emulator,"Emulator should always be set here");const{url:M}=I.emulator;return S?`${M}${S.startsWith("/")?S.slice(1):S}`:M}class Ct{static initialize(S,M,k){this.fetchImpl=S,M&&(this.headersImpl=M),k&&(this.responseImpl=k)}static fetch(){return this.fetchImpl?this.fetchImpl:typeof self<"u"&&"fetch"in self?self.fetch:void Xs("Could not find fetch implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}static headers(){return this.headersImpl?this.headersImpl:typeof self<"u"&&"Headers"in self?self.Headers:void Xs("Could not find Headers implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}static response(){return this.responseImpl?this.responseImpl:typeof self<"u"&&"Response"in self?self.Response:void Xs("Could not find Response implementation, make sure you call FetchProvider.initialize() with an appropriate polyfill")}}const ii={CREDENTIAL_MISMATCH:"custom-token-mismatch",MISSING_CUSTOM_TOKEN:"internal-error",INVALID_IDENTIFIER:"invalid-email",MISSING_CONTINUE_URI:"internal-error",INVALID_PASSWORD:"wrong-password",MISSING_PASSWORD:"missing-password",EMAIL_EXISTS:"email-already-in-use",PASSWORD_LOGIN_DISABLED:"operation-not-allowed",INVALID_IDP_RESPONSE:"invalid-credential",INVALID_PENDING_TOKEN:"invalid-credential",FEDERATED_USER_ID_ALREADY_LINKED:"credential-already-in-use",MISSING_REQ_TYPE:"internal-error",EMAIL_NOT_FOUND:"user-not-found",RESET_PASSWORD_EXCEED_LIMIT:"too-many-requests",EXPIRED_OOB_CODE:"expired-action-code",INVALID_OOB_CODE:"invalid-action-code",MISSING_OOB_CODE:"internal-error",CREDENTIAL_TOO_OLD_LOGIN_AGAIN:"requires-recent-login",INVALID_ID_TOKEN:"invalid-user-token",TOKEN_EXPIRED:"user-token-expired",USER_NOT_FOUND:"user-token-expired",TOO_MANY_ATTEMPTS_TRY_LATER:"too-many-requests",PASSWORD_DOES_NOT_MEET_REQUIREMENTS:"password-does-not-meet-requirements",INVALID_CODE:"invalid-verification-code",INVALID_SESSION_INFO:"invalid-verification-id",INVALID_TEMPORARY_PROOF:"invalid-credential",MISSING_SESSION_INFO:"missing-verification-id",SESSION_EXPIRED:"code-expired",MISSING_ANDROID_PACKAGE_NAME:"missing-android-pkg-name",UNAUTHORIZED_DOMAIN:"unauthorized-continue-uri",INVALID_OAUTH_CLIENT_ID:"invalid-oauth-client-id",ADMIN_ONLY_OPERATION:"admin-restricted-operation",INVALID_MFA_PENDING_CREDENTIAL:"invalid-multi-factor-session",MFA_ENROLLMENT_NOT_FOUND:"multi-factor-info-not-found",MISSING_MFA_ENROLLMENT_ID:"missing-multi-factor-info",MISSING_MFA_PENDING_CREDENTIAL:"missing-multi-factor-session",SECOND_FACTOR_EXISTS:"second-factor-already-in-use",SECOND_FACTOR_LIMIT_EXCEEDED:"maximum-second-factor-count-exceeded",BLOCKING_FUNCTION_ERROR_RESPONSE:"internal-error",RECAPTCHA_NOT_ENABLED:"recaptcha-not-enabled",MISSING_RECAPTCHA_TOKEN:"missing-recaptcha-token",INVALID_RECAPTCHA_TOKEN:"invalid-recaptcha-token",INVALID_RECAPTCHA_ACTION:"invalid-recaptcha-action",MISSING_CLIENT_TYPE:"missing-client-type",MISSING_RECAPTCHA_VERSION:"missing-recaptcha-version",INVALID_RECAPTCHA_VERSION:"invalid-recaptcha-version",INVALID_REQ_TYPE:"invalid-req-type"},Qt=new _t(3e4,6e4);function si(I,S){return I.tenantId&&!S.tenantId?Object.assign(Object.assign({},S),{tenantId:I.tenantId}):S}function Ni(I,S,M,k){return ss.apply(this,arguments)}function ss(){return(ss=(0,pe.Z)(function*(I,S,M,k,j={}){return tn(I,j,(0,pe.Z)(function*(){let J={},Ie={};k&&("GET"===S?Ie=k:J={body:JSON.stringify(k)});const et=(0,dt.xO)(Object.assign({key:I.config.apiKey},Ie)).slice(1),wt=yield I._getAdditionalHeaders();return wt["Content-Type"]="application/json",I.languageCode&&(wt["X-Firebase-Locale"]=I.languageCode),Ct.fetch()(Fs(I,I.config.apiHost,M,et),Object.assign({method:S,headers:wt,referrerPolicy:"no-referrer"},J))}))})).apply(this,arguments)}function tn(I,S,M){return La.apply(this,arguments)}function La(){return(La=(0,pe.Z)(function*(I,S,M){I._canInitEmulator=!1;const k=Object.assign(Object.assign({},ii),S);try{const j=new ho(I),J=yield Promise.race([M(),j.promise]);j.clearNetworkTimeout();const Ie=yield J.json();if("needConfirmation"in Ie)throw Qr(I,"account-exists-with-different-credential",Ie);if(J.ok&&!("errorMessage"in Ie))return Ie;{const et=J.ok?Ie.errorMessage:Ie.error.message,[wt,li]=et.split(" : ");if("FEDERATED_USER_ID_ALREADY_LINKED"===wt)throw Qr(I,"credential-already-in-use",Ie);if("EMAIL_EXISTS"===wt)throw Qr(I,"email-already-in-use",Ie);if("USER_DISABLED"===wt)throw Qr(I,"user-disabled",Ie);const Ei=k[wt]||wt.toLowerCase().replace(/[_\s]+/g,"-");if(li)throw co(I,Ei,li);ur(I,Ei)}}catch(j){if(j instanceof dt.ZR)throw j;ur(I,"network-request-failed",{message:String(j)})}})).apply(this,arguments)}function cr(I,S,M,k){return Li.apply(this,arguments)}function Li(){return(Li=(0,pe.Z)(function*(I,S,M,k,j={}){const J=yield Ni(I,S,M,k,j);return"mfaPendingCredential"in J&&ur(I,"multi-factor-auth-required",{_serverResponse:J}),J})).apply(this,arguments)}function Fs(I,S,M,k){const j=`${S}${M}?${k}`;return I.config.emulator?vt(I.config,j):`${I.config.apiScheme}://${j}`}class ho{constructor(S){this.auth=S,this.timer=null,this.promise=new Promise((M,k)=>{this.timer=setTimeout(()=>k(dn(this.auth,"network-request-failed")),Qt.get())})}clearNetworkTimeout(){clearTimeout(this.timer)}}function Qr(I,S,M){const k={appName:I.name};M.email&&(k.email=M.email),M.phoneNumber&&(k.phoneNumber=M.phoneNumber);const j=dn(I,S,k);return j.customData._tokenResponse=M,j}function jl(){return(jl=(0,pe.Z)(function*(I){return(yield Ni(I,"GET","/v1/recaptchaParams")).recaptchaSiteKey||""})).apply(this,arguments)}function $h(I,S){return Lh.apply(this,arguments)}function Lh(){return(Lh=(0,pe.Z)(function*(I,S){return Ni(I,"GET","/v2/recaptchaConfig",si(I,S))})).apply(this,arguments)}function pu(){return(pu=(0,pe.Z)(function*(I,S){return Ni(I,"POST","/v1/accounts:delete",S)})).apply(this,arguments)}function mn(){return(mn=(0,pe.Z)(function*(I,S){return Ni(I,"POST","/v1/accounts:update",S)})).apply(this,arguments)}function Ho(){return(Ho=(0,pe.Z)(function*(I,S){return Ni(I,"POST","/v1/accounts:lookup",S)})).apply(this,arguments)}function mu(I){if(I)try{const S=new Date(Number(I));if(!isNaN(S.getTime()))return S.toUTCString()}catch{}}function Bs(){return(Bs=(0,pe.Z)(function*(I,S=!1){const M=(0,dt.m9)(I),k=yield M.getIdToken(S),j=sh(k);Wt(j&&j.exp&&j.auth_time&&j.iat,M.auth,"internal-error");const J="object"==typeof j.firebase?j.firebase:void 0,Ie=J?.sign_in_provider;return{claims:j,token:k,authTime:mu(kc(j.auth_time)),issuedAtTime:mu(kc(j.iat)),expirationTime:mu(kc(j.exp)),signInProvider:Ie||null,signInSecondFactor:J?.sign_in_second_factor||null}})).apply(this,arguments)}function kc(I){return 1e3*Number(I)}function sh(I){const[S,M,k]=I.split(".");if(void 0===S||void 0===M||void 0===k)return Io("JWT malformed, contained fewer than 3 sections"),null;try{const j=(0,dt.tV)(M);return j?JSON.parse(j):(Io("Failed to decode base64 JWT payload"),null)}catch(j){return Io("Caught error parsing JWT payload as JSON",j?.toString()),null}}function Gl(I,S){return qo.apply(this,arguments)}function qo(){return(qo=(0,pe.Z)(function*(I,S,M=!1){if(M)return S;try{return yield S}catch(k){throw k instanceof dt.ZR&&function os({code:I}){return"auth/user-disabled"===I||"auth/user-token-expired"===I}(k)&&I.auth.currentUser===I&&(yield I.auth.signOut()),k}})).apply(this,arguments)}class oh{constructor(S){this.user=S,this.isRunning=!1,this.timerId=null,this.errorBackoff=3e4}_start(){this.isRunning||(this.isRunning=!0,this.schedule())}_stop(){this.isRunning&&(this.isRunning=!1,null!==this.timerId&&clearTimeout(this.timerId))}getInterval(S){var M;if(S){const k=this.errorBackoff;return this.errorBackoff=Math.min(2*this.errorBackoff,96e4),k}{this.errorBackoff=3e4;const j=(null!==(M=this.user.stsTokenManager.expirationTime)&&void 0!==M?M:0)-Date.now()-3e5;return Math.max(0,j)}}schedule(S=!1){var M=this;if(!this.isRunning)return;const k=this.getInterval(S);this.timerId=setTimeout((0,pe.Z)(function*(){yield M.iteration()}),k)}iteration(){var S=this;return(0,pe.Z)(function*(){try{yield S.user.getIdToken(!0)}catch(M){return void("auth/network-request-failed"===M?.code&&S.schedule(!0))}S.schedule()})()}}class Vh{constructor(S,M){this.createdAt=S,this.lastLoginAt=M,this._initializeTime()}_initializeTime(){this.lastSignInTime=mu(this.lastLoginAt),this.creationTime=mu(this.createdAt)}_copy(S){this.createdAt=S.createdAt,this.lastLoginAt=S.lastLoginAt,this._initializeTime()}toJSON(){return{createdAt:this.createdAt,lastLoginAt:this.lastLoginAt}}}function lh(I){return bl.apply(this,arguments)}function bl(){return bl=(0,pe.Z)(function*(I){var S;const M=I.auth,k=yield I.getIdToken(),j=yield Gl(I,function wg(I,S){return Ho.apply(this,arguments)}(M,{idToken:k}));Wt(j?.users.length,M,"internal-error");const J=j.users[0];I._notifyReloadListener(J);const Ie=null!==(S=J.providerUserInfo)&&void 0!==S&&S.length?function jm(I){return I.map(S=>{var{providerId:M}=S,k=(0,Zr._T)(S,["providerId"]);return{providerId:M,uid:k.rawId||"",displayName:k.displayName||null,email:k.email||null,phoneNumber:k.phoneNumber||null,photoURL:k.photoUrl||null}})}(J.providerUserInfo):[],et=function uh(I,S){return[...I.filter(k=>!S.some(j=>j.providerId===k.providerId)),...S]}(I.providerData,Ie),Ei=!!I.isAnonymous&&!(I.email&&J.passwordHash||et?.length),ya={uid:J.localId,displayName:J.displayName||null,photoURL:J.photoUrl||null,email:J.email||null,emailVerified:J.emailVerified||!1,phoneNumber:J.phoneNumber||null,tenantId:J.tenantId||null,providerData:et,metadata:new Vh(J.createdAt,J.lastLoginAt),isAnonymous:Ei};Object.assign(I,ya)}),bl.apply(this,arguments)}function Ks(){return(Ks=(0,pe.Z)(function*(I){const S=(0,dt.m9)(I);yield lh(S),yield S.auth._persistUserIfCurrent(S),S.auth._notifyListenersIfCurrent(S)})).apply(this,arguments)}function Bd(){return(Bd=(0,pe.Z)(function*(I,S){const M=yield tn(I,{},(0,pe.Z)(function*(){const k=(0,dt.xO)({grant_type:"refresh_token",refresh_token:S}).slice(1),{tokenApiHost:j,apiKey:J}=I.config,Ie=Fs(I,j,"/v1/token",`key=${J}`),et=yield I._getAdditionalHeaders();return et["Content-Type"]="application/x-www-form-urlencoded",Ct.fetch()(Ie,{method:"POST",headers:et,body:k})}));return{accessToken:M.access_token,expiresIn:M.expires_in,refreshToken:M.refresh_token}})).apply(this,arguments)}class Nh{constructor(){this.refreshToken=null,this.accessToken=null,this.expirationTime=null}get isExpired(){return!this.expirationTime||Date.now()>this.expirationTime-3e4}updateFromServerResponse(S){Wt(S.idToken,"internal-error"),Wt(typeof S.idToken<"u","internal-error"),Wt(typeof S.refreshToken<"u","internal-error");const M="expiresIn"in S&&typeof S.expiresIn<"u"?Number(S.expiresIn):function Fd(I){const S=sh(I);return Wt(S,"internal-error"),Wt(typeof S.exp<"u","internal-error"),Wt(typeof S.iat<"u","internal-error"),Number(S.exp)-Number(S.iat)}(S.idToken);this.updateTokensAndExpiration(S.idToken,S.refreshToken,M)}getToken(S,M=!1){var k=this;return(0,pe.Z)(function*(){return Wt(!k.accessToken||k.refreshToken,S,"user-token-expired"),M||!k.accessToken||k.isExpired?k.refreshToken?(yield k.refresh(S,k.refreshToken),k.accessToken):null:k.accessToken})()}clearRefreshToken(){this.refreshToken=null}refresh(S,M){var k=this;return(0,pe.Z)(function*(){const{accessToken:j,refreshToken:J,expiresIn:Ie}=yield function ha(I,S){return Bd.apply(this,arguments)}(S,M);k.updateTokensAndExpiration(j,J,Number(Ie))})()}updateTokensAndExpiration(S,M,k){this.refreshToken=M||null,this.accessToken=S||null,this.expirationTime=Date.now()+1e3*k}static fromJSON(S,M){const{refreshToken:k,accessToken:j,expirationTime:J}=M,Ie=new Nh;return k&&(Wt("string"==typeof k,"internal-error",{appName:S}),Ie.refreshToken=k),j&&(Wt("string"==typeof j,"internal-error",{appName:S}),Ie.accessToken=j),J&&(Wt("number"==typeof J,"internal-error",{appName:S}),Ie.expirationTime=J),Ie}toJSON(){return{refreshToken:this.refreshToken,accessToken:this.accessToken,expirationTime:this.expirationTime}}_assign(S){this.accessToken=S.accessToken,this.refreshToken=S.refreshToken,this.expirationTime=S.expirationTime}_clone(){return Object.assign(new Nh,this.toJSON())}_performRefresh(){return Xs("not implemented")}}function Me(I,S){Wt("string"==typeof I||typeof I>"u","internal-error",{appName:S})}class _e{constructor(S){var{uid:M,auth:k,stsTokenManager:j}=S,J=(0,Zr._T)(S,["uid","auth","stsTokenManager"]);this.providerId="firebase",this.proactiveRefresh=new oh(this),this.reloadUserInfo=null,this.reloadListener=null,this.uid=M,this.auth=k,this.stsTokenManager=j,this.accessToken=j.accessToken,this.displayName=J.displayName||null,this.email=J.email||null,this.emailVerified=J.emailVerified||!1,this.phoneNumber=J.phoneNumber||null,this.photoURL=J.photoURL||null,this.isAnonymous=J.isAnonymous||!1,this.tenantId=J.tenantId||null,this.providerData=J.providerData?[...J.providerData]:[],this.metadata=new Vh(J.createdAt||void 0,J.lastLoginAt||void 0)}getIdToken(S){var M=this;return(0,pe.Z)(function*(){const k=yield Gl(M,M.stsTokenManager.getToken(M.auth,S));return Wt(k,M.auth,"internal-error"),M.accessToken!==k&&(M.accessToken=k,yield M.auth._persistUserIfCurrent(M),M.auth._notifyListenersIfCurrent(M)),k})()}getIdTokenResult(S){return function rh(I){return Bs.apply(this,arguments)}(this,S)}reload(){return function Ec(I){return Ks.apply(this,arguments)}(this)}_assign(S){this!==S&&(Wt(this.uid===S.uid,this.auth,"internal-error"),this.displayName=S.displayName,this.photoURL=S.photoURL,this.email=S.email,this.emailVerified=S.emailVerified,this.phoneNumber=S.phoneNumber,this.isAnonymous=S.isAnonymous,this.tenantId=S.tenantId,this.providerData=S.providerData.map(M=>Object.assign({},M)),this.metadata._copy(S.metadata),this.stsTokenManager._assign(S.stsTokenManager))}_clone(S){const M=new _e(Object.assign(Object.assign({},this),{auth:S,stsTokenManager:this.stsTokenManager._clone()}));return M.metadata._copy(this.metadata),M}_onReload(S){Wt(!this.reloadListener,this.auth,"internal-error"),this.reloadListener=S,this.reloadUserInfo&&(this._notifyReloadListener(this.reloadUserInfo),this.reloadUserInfo=null)}_notifyReloadListener(S){this.reloadListener?this.reloadListener(S):this.reloadUserInfo=S}_startProactiveRefresh(){this.proactiveRefresh._start()}_stopProactiveRefresh(){this.proactiveRefresh._stop()}_updateTokensIfNecessary(S,M=!1){var k=this;return(0,pe.Z)(function*(){let j=!1;S.idToken&&S.idToken!==k.stsTokenManager.accessToken&&(k.stsTokenManager.updateFromServerResponse(S),j=!0),M&&(yield lh(k)),yield k.auth._persistUserIfCurrent(k),j&&k.auth._notifyListenersIfCurrent(k)})()}delete(){var S=this;return(0,pe.Z)(function*(){const M=yield S.getIdToken();return yield Gl(S,function Nr(I,S){return pu.apply(this,arguments)}(S.auth,{idToken:M})),S.stsTokenManager.clearRefreshToken(),S.auth.signOut()})()}toJSON(){return Object.assign(Object.assign({uid:this.uid,email:this.email||void 0,emailVerified:this.emailVerified,displayName:this.displayName||void 0,isAnonymous:this.isAnonymous,photoURL:this.photoURL||void 0,phoneNumber:this.phoneNumber||void 0,tenantId:this.tenantId||void 0,providerData:this.providerData.map(S=>Object.assign({},S)),stsTokenManager:this.stsTokenManager.toJSON(),_redirectEventId:this._redirectEventId},this.metadata.toJSON()),{apiKey:this.auth.config.apiKey,appName:this.auth.name})}get refreshToken(){return this.stsTokenManager.refreshToken||""}static _fromJSON(S,M){var k,j,J,Ie,et,wt,li,Ei;const ya=null!==(k=M.displayName)&&void 0!==k?k:void 0,xu=null!==(j=M.email)&&void 0!==j?j:void 0,Pg=null!==(J=M.phoneNumber)&&void 0!==J?J:void 0,uC=null!==(Ie=M.photoURL)&&void 0!==Ie?Ie:void 0,Yh=null!==(et=M.tenantId)&&void 0!==et?et:void 0,dT=null!==(wt=M._redirectEventId)&&void 0!==wt?wt:void 0,wx=null!==(li=M.createdAt)&&void 0!==li?li:void 0,cC=null!==(Ei=M.lastLoginAt)&&void 0!==Ei?Ei:void 0,{uid:hC,emailVerified:Tx,isAnonymous:dC,providerData:gT,stsTokenManager:pT}=M;Wt(hC&&pT,S,"internal-error");const lR=Nh.fromJSON(this.name,pT);Wt("string"==typeof hC,S,"internal-error"),Me(ya,S.name),Me(xu,S.name),Wt("boolean"==typeof Tx,S,"internal-error"),Wt("boolean"==typeof dC,S,"internal-error"),Me(Pg,S.name),Me(uC,S.name),Me(Yh,S.name),Me(dT,S.name),Me(wx,S.name),Me(cC,S.name);const gC=new _e({uid:hC,auth:S,email:xu,emailVerified:Tx,displayName:ya,isAnonymous:dC,photoURL:uC,phoneNumber:Pg,tenantId:Yh,stsTokenManager:lR,createdAt:wx,lastLoginAt:cC});return gT&&Array.isArray(gT)&&(gC.providerData=gT.map(uR=>Object.assign({},uR))),dT&&(gC._redirectEventId=dT),gC}static _fromIdTokenResponse(S,M,k=!1){return(0,pe.Z)(function*(){const j=new Nh;j.updateFromServerResponse(M);const J=new _e({uid:M.localId,auth:S,stsTokenManager:j,isAnonymous:k});return yield lh(J),J})()}}const Z=new Map;function ie(I){zo(I instanceof Function,"Expected a class definition");let S=Z.get(I);return S?(zo(S instanceof I,"Instance stored in cache mismatched with class"),S):(S=new I,Z.set(I,S),S)}const Be=(()=>{class I{constructor(){this.type="NONE",this.storage={}}_isAvailable(){return(0,pe.Z)(function*(){return!0})()}_set(M,k){var j=this;return(0,pe.Z)(function*(){j.storage[M]=k})()}_get(M){var k=this;return(0,pe.Z)(function*(){const j=k.storage[M];return void 0===j?null:j})()}_remove(M){var k=this;return(0,pe.Z)(function*(){delete k.storage[M]})()}_addListener(M,k){}_removeListener(M,k){}}return I.type="NONE",I})();function nt(I,S,M){return`firebase:${I}:${S}:${M}`}class yi{constructor(S,M,k){this.persistence=S,this.auth=M,this.userKey=k;const{config:j,name:J}=this.auth;this.fullUserKey=nt(this.userKey,j.apiKey,J),this.fullPersistenceKey=nt("persistence",j.apiKey,J),this.boundEventHandler=M._onStorageEvent.bind(M),this.persistence._addListener(this.fullUserKey,this.boundEventHandler)}setCurrentUser(S){return this.persistence._set(this.fullUserKey,S.toJSON())}getCurrentUser(){var S=this;return(0,pe.Z)(function*(){const M=yield S.persistence._get(S.fullUserKey);return M?_e._fromJSON(S.auth,M):null})()}removeCurrentUser(){return this.persistence._remove(this.fullUserKey)}savePersistenceForRedirect(){return this.persistence._set(this.fullPersistenceKey,this.persistence.type)}setPersistence(S){var M=this;return(0,pe.Z)(function*(){if(M.persistence===S)return;const k=yield M.getCurrentUser();return yield M.removeCurrentUser(),M.persistence=S,k?M.setCurrentUser(k):void 0})()}delete(){this.persistence._removeListener(this.fullUserKey,this.boundEventHandler)}static create(S,M,k="authUser"){return(0,pe.Z)(function*(){if(!M.length)return new yi(ie(Be),S,k);const j=(yield Promise.all(M.map(function(){var li=(0,pe.Z)(function*(Ei){if(yield Ei._isAvailable())return Ei});return function(Ei){return li.apply(this,arguments)}}()))).filter(li=>li);let J=j[0]||ie(Be);const Ie=nt(k,S.config.apiKey,S.name);let et=null;for(const li of M)try{const Ei=yield li._get(Ie);if(Ei){const ya=_e._fromJSON(S,Ei);li!==J&&(et=ya),J=li;break}}catch{}const wt=j.filter(li=>li._shouldAllowMigration);return J._shouldAllowMigration&&wt.length?(J=wt[0],et&&(yield J._set(Ie,et.toJSON())),yield Promise.all(M.map(function(){var li=(0,pe.Z)(function*(Ei){if(Ei!==J)try{yield Ei._remove(Ie)}catch{}});return function(Ei){return li.apply(this,arguments)}}())),new yi(J,S,k)):new yi(J,S,k)})()}}function Et(I){const S=I.toLowerCase();if(S.includes("opera/")||S.includes("opr/")||S.includes("opios/"))return"Opera";if(Or(S))return"IEMobile";if(S.includes("msie")||S.includes("trident/"))return"IE";if(S.includes("edge/"))return"Edge";if(Rt(S))return"Firefox";if(S.includes("silk/"))return"Silk";if(yl(S))return"Blackberry";if(Gm(S))return"Webos";if(Ya(S))return"Safari";if((S.includes("chrome/")||xn(S))&&!S.includes("edge/"))return"Chrome";if(Nn(S))return"Android";{const k=I.match(/([a-zA-Z\d\.]+)\/[a-zA-Z\d\.]*$/);if(2===k?.length)return k[1]}return"Other"}function Rt(I=(0,dt.z$)()){return/firefox\//i.test(I)}function Ya(I=(0,dt.z$)()){const S=I.toLowerCase();return S.includes("safari/")&&!S.includes("chrome/")&&!S.includes("crios/")&&!S.includes("android")}function xn(I=(0,dt.z$)()){return/crios\//i.test(I)}function Or(I=(0,dt.z$)()){return/iemobile/i.test(I)}function Nn(I=(0,dt.z$)()){return/android/i.test(I)}function yl(I=(0,dt.z$)()){return/blackberry/i.test(I)}function Gm(I=(0,dt.z$)()){return/webos/i.test(I)}function bt(I=(0,dt.z$)()){return/iphone|ipad|ipod/i.test(I)||/macintosh/i.test(I)&&/mobile/i.test(I)}function Xe(I=(0,dt.z$)()){return/(iPad|iPhone|iPod).*OS 7_\d/i.test(I)||/(iPad|iPhone|iPod).*OS 8_\d/i.test(I)}function Pi(I=(0,dt.z$)()){return bt(I)||Nn(I)||Gm(I)||yl(I)||/windows phone/i.test(I)||Or(I)}function gr(I,S=[]){let M;switch(I){case"Browser":M=Et((0,dt.z$)());break;case"Worker":M=`${Et((0,dt.z$)())}-${I}`;break;default:M=I}const k=S.length?S.join(","):"FirebaseCore-web";return`${M}/JsCore/${We.SDK_VERSION}/${k}`}class zl{constructor(S){this.auth=S,this.queue=[]}pushCallback(S,M){const k=J=>new Promise((Ie,et)=>{try{Ie(S(J))}catch(wt){et(wt)}});k.onAbort=M,this.queue.push(k);const j=this.queue.length-1;return()=>{this.queue[j]=()=>Promise.resolve()}}runMiddleware(S){var M=this;return(0,pe.Z)(function*(){if(M.auth.currentUser===S)return;const k=[];try{for(const j of M.queue)yield j(S),j.onAbort&&k.push(j.onAbort)}catch(j){k.reverse();for(const J of k)try{J()}catch{}throw M.auth._errorFactory.create("login-blocked",{originalMessage:j?.message})}})()}}function Oh(){return(Oh=(0,pe.Z)(function*(I,S={}){return Ni(I,"GET","/v2/passwordPolicy",si(I,S))})).apply(this,arguments)}class z3{constructor(S){var M,k,j,J;const Ie=S.customStrengthOptions;this.customStrengthOptions={},this.customStrengthOptions.minPasswordLength=null!==(M=Ie.minPasswordLength)&&void 0!==M?M:6,Ie.maxPasswordLength&&(this.customStrengthOptions.maxPasswordLength=Ie.maxPasswordLength),void 0!==Ie.containsLowercaseCharacter&&(this.customStrengthOptions.containsLowercaseLetter=Ie.containsLowercaseCharacter),void 0!==Ie.containsUppercaseCharacter&&(this.customStrengthOptions.containsUppercaseLetter=Ie.containsUppercaseCharacter),void 0!==Ie.containsNumericCharacter&&(this.customStrengthOptions.containsNumericCharacter=Ie.containsNumericCharacter),void 0!==Ie.containsNonAlphanumericCharacter&&(this.customStrengthOptions.containsNonAlphanumericCharacter=Ie.containsNonAlphanumericCharacter),this.enforcementState=S.enforcementState,"ENFORCEMENT_STATE_UNSPECIFIED"===this.enforcementState&&(this.enforcementState="OFF"),this.allowedNonAlphanumericCharacters=null!==(j=null===(k=S.allowedNonAlphanumericCharacters)||void 0===k?void 0:k.join(""))&&void 0!==j?j:"",this.forceUpgradeOnSignin=null!==(J=S.forceUpgradeOnSignin)&&void 0!==J&&J,this.schemaVersion=S.schemaVersion}validatePassword(S){var M,k,j,J,Ie,et;const wt={isValid:!0,passwordPolicy:this};return this.validatePasswordLengthOptions(S,wt),this.validatePasswordCharacterOptions(S,wt),wt.isValid&&(wt.isValid=null===(M=wt.meetsMinPasswordLength)||void 0===M||M),wt.isValid&&(wt.isValid=null===(k=wt.meetsMaxPasswordLength)||void 0===k||k),wt.isValid&&(wt.isValid=null===(j=wt.containsLowercaseLetter)||void 0===j||j),wt.isValid&&(wt.isValid=null===(J=wt.containsUppercaseLetter)||void 0===J||J),wt.isValid&&(wt.isValid=null===(Ie=wt.containsNumericCharacter)||void 0===Ie||Ie),wt.isValid&&(wt.isValid=null===(et=wt.containsNonAlphanumericCharacter)||void 0===et||et),wt}validatePasswordLengthOptions(S,M){const k=this.customStrengthOptions.minPasswordLength,j=this.customStrengthOptions.maxPasswordLength;k&&(M.meetsMinPasswordLength=S.length>=k),j&&(M.meetsMaxPasswordLength=S.length<=j)}validatePasswordCharacterOptions(S,M){let k;this.updatePasswordCharacterOptionsStatuses(M,!1,!1,!1,!1);for(let j=0;j="a"&&k<="z",k>="A"&&k<="Z",k>="0"&&k<="9",this.allowedNonAlphanumericCharacters.includes(k))}updatePasswordCharacterOptionsStatuses(S,M,k,j,J){this.customStrengthOptions.containsLowercaseLetter&&(S.containsLowercaseLetter||(S.containsLowercaseLetter=M)),this.customStrengthOptions.containsUppercaseLetter&&(S.containsUppercaseLetter||(S.containsUppercaseLetter=k)),this.customStrengthOptions.containsNumericCharacter&&(S.containsNumericCharacter||(S.containsNumericCharacter=j)),this.customStrengthOptions.containsNonAlphanumericCharacter&&(S.containsNonAlphanumericCharacter||(S.containsNonAlphanumericCharacter=J))}}class Tg{constructor(S,M,k,j){this.app=S,this.heartbeatServiceProvider=M,this.appCheckServiceProvider=k,this.config=j,this.currentUser=null,this.emulatorConfig=null,this.operations=Promise.resolve(),this.authStateSubscription=new Uo(this),this.idTokenSubscription=new Uo(this),this.beforeStateQueue=new zl(this),this.redirectUser=null,this.isProactiveRefreshEnabled=!1,this.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION=1,this._canInitEmulator=!0,this._isInitialized=!1,this._deleted=!1,this._initializationPromise=null,this._popupRedirectResolver=null,this._errorFactory=Us,this._agentRecaptchaConfig=null,this._tenantRecaptchaConfigs={},this._projectPasswordPolicy=null,this._tenantPasswordPolicies={},this.lastNotifiedUid=void 0,this.languageCode=null,this.tenantId=null,this.settings={appVerificationDisabledForTesting:!1},this.frameworks=[],this.name=S.name,this.clientVersion=j.sdkClientVersion}_initializeWithPersistence(S,M){var k=this;return M&&(this._popupRedirectResolver=ie(M)),this._initializationPromise=this.queue((0,pe.Z)(function*(){var j,J;if(!k._deleted&&(k.persistenceManager=yield yi.create(k,S),!k._deleted)){if(null!==(j=k._popupRedirectResolver)&&void 0!==j&&j._shouldInitProactively)try{yield k._popupRedirectResolver._initialize(k)}catch{}yield k.initializeCurrentUser(M),k.lastNotifiedUid=(null===(J=k.currentUser)||void 0===J?void 0:J.uid)||null,!k._deleted&&(k._isInitialized=!0)}})),this._initializationPromise}_onStorageEvent(){var S=this;return(0,pe.Z)(function*(){if(S._deleted)return;const M=yield S.assertedPersistence.getCurrentUser();if(S.currentUser||M){if(S.currentUser&&M&&S.currentUser.uid===M.uid)return S._currentUser._assign(M),void(yield S.currentUser.getIdToken());yield S._updateCurrentUser(M,!0)}})()}initializeCurrentUser(S){var M=this;return(0,pe.Z)(function*(){var k;const j=yield M.assertedPersistence.getCurrentUser();let J=j,Ie=!1;if(S&&M.config.authDomain){yield M.getOrInitRedirectPersistenceManager();const et=null===(k=M.redirectUser)||void 0===k?void 0:k._redirectEventId,wt=J?._redirectEventId,li=yield M.tryRedirectSignIn(S);(!et||et===wt)&&li?.user&&(J=li.user,Ie=!0)}if(!J)return M.directlySetCurrentUser(null);if(!J._redirectEventId){if(Ie)try{yield M.beforeStateQueue.runMiddleware(J)}catch(et){J=j,M._popupRedirectResolver._overrideRedirectResult(M,()=>Promise.reject(et))}return J?M.reloadAndSetCurrentUserOrClear(J):M.directlySetCurrentUser(null)}return Wt(M._popupRedirectResolver,M,"argument-error"),yield M.getOrInitRedirectPersistenceManager(),M.redirectUser&&M.redirectUser._redirectEventId===J._redirectEventId?M.directlySetCurrentUser(J):M.reloadAndSetCurrentUserOrClear(J)})()}tryRedirectSignIn(S){var M=this;return(0,pe.Z)(function*(){let k=null;try{k=yield M._popupRedirectResolver._completeRedirectFn(M,S,!0)}catch{yield M._setRedirectUser(null)}return k})()}reloadAndSetCurrentUserOrClear(S){var M=this;return(0,pe.Z)(function*(){try{yield lh(S)}catch(k){if("auth/network-request-failed"!==k?.code)return M.directlySetCurrentUser(null)}return M.directlySetCurrentUser(S)})()}useDeviceLanguage(){this.languageCode=function gt(){if(typeof navigator>"u")return null;const I=navigator;return I.languages&&I.languages[0]||I.language||null}()}_delete(){var S=this;return(0,pe.Z)(function*(){S._deleted=!0})()}updateCurrentUser(S){var M=this;return(0,pe.Z)(function*(){const k=S?(0,dt.m9)(S):null;return k&&Wt(k.auth.config.apiKey===M.config.apiKey,M,"invalid-user-token"),M._updateCurrentUser(k&&k._clone(M))})()}_updateCurrentUser(S,M=!1){var k=this;return(0,pe.Z)(function*(){if(!k._deleted)return S&&Wt(k.tenantId===S.tenantId,k,"tenant-id-mismatch"),M||(yield k.beforeStateQueue.runMiddleware(S)),k.queue((0,pe.Z)(function*(){yield k.directlySetCurrentUser(S),k.notifyAuthListeners()}))})()}signOut(){var S=this;return(0,pe.Z)(function*(){return yield S.beforeStateQueue.runMiddleware(null),(S.redirectPersistenceManager||S._popupRedirectResolver)&&(yield S._setRedirectUser(null)),S._updateCurrentUser(null,!0)})()}setPersistence(S){var M=this;return this.queue((0,pe.Z)(function*(){yield M.assertedPersistence.setPersistence(ie(S))}))}_getRecaptchaConfig(){return null==this.tenantId?this._agentRecaptchaConfig:this._tenantRecaptchaConfigs[this.tenantId]}validatePassword(S){var M=this;return(0,pe.Z)(function*(){M._getPasswordPolicyInternal()||(yield M._updatePasswordPolicy());const k=M._getPasswordPolicyInternal();return k.schemaVersion!==M.EXPECTED_PASSWORD_POLICY_SCHEMA_VERSION?Promise.reject(M._errorFactory.create("unsupported-password-policy-schema-version",{})):k.validatePassword(S)})()}_getPasswordPolicyInternal(){return null===this.tenantId?this._projectPasswordPolicy:this._tenantPasswordPolicies[this.tenantId]}_updatePasswordPolicy(){var S=this;return(0,pe.Z)(function*(){const M=yield function Ao(I){return Oh.apply(this,arguments)}(S),k=new z3(M);null===S.tenantId?S._projectPasswordPolicy=k:S._tenantPasswordPolicies[S.tenantId]=k})()}_getPersistence(){return this.assertedPersistence.persistence.type}_updateErrorMap(S){this._errorFactory=new dt.LL("auth","Firebase",S())}onAuthStateChanged(S,M,k){return this.registerStateListener(this.authStateSubscription,S,M,k)}beforeAuthStateChanged(S,M){return this.beforeStateQueue.pushCallback(S,M)}onIdTokenChanged(S,M,k){return this.registerStateListener(this.idTokenSubscription,S,M,k)}authStateReady(){return new Promise((S,M)=>{if(this.currentUser)S();else{const k=this.onAuthStateChanged(()=>{k(),S()},M)}})}toJSON(){var S;return{apiKey:this.config.apiKey,authDomain:this.config.authDomain,appName:this.name,currentUser:null===(S=this._currentUser)||void 0===S?void 0:S.toJSON()}}_setRedirectUser(S,M){var k=this;return(0,pe.Z)(function*(){const j=yield k.getOrInitRedirectPersistenceManager(M);return null===S?j.removeCurrentUser():j.setCurrentUser(S)})()}getOrInitRedirectPersistenceManager(S){var M=this;return(0,pe.Z)(function*(){if(!M.redirectPersistenceManager){const k=S&&ie(S)||M._popupRedirectResolver;Wt(k,M,"argument-error"),M.redirectPersistenceManager=yield yi.create(M,[ie(k._redirectPersistence)],"redirectUser"),M.redirectUser=yield M.redirectPersistenceManager.getCurrentUser()}return M.redirectPersistenceManager})()}_redirectUserForId(S){var M=this;return(0,pe.Z)(function*(){var k,j;return M._isInitialized&&(yield M.queue((0,pe.Z)(function*(){}))),(null===(k=M._currentUser)||void 0===k?void 0:k._redirectEventId)===S?M._currentUser:(null===(j=M.redirectUser)||void 0===j?void 0:j._redirectEventId)===S?M.redirectUser:null})()}_persistUserIfCurrent(S){var M=this;return(0,pe.Z)(function*(){if(S===M.currentUser)return M.queue((0,pe.Z)(function*(){return M.directlySetCurrentUser(S)}))})()}_notifyListenersIfCurrent(S){S===this.currentUser&&this.notifyAuthListeners()}_key(){return`${this.config.authDomain}:${this.config.apiKey}:${this.name}`}_startProactiveRefresh(){this.isProactiveRefreshEnabled=!0,this.currentUser&&this._currentUser._startProactiveRefresh()}_stopProactiveRefresh(){this.isProactiveRefreshEnabled=!1,this.currentUser&&this._currentUser._stopProactiveRefresh()}get _currentUser(){return this.currentUser}notifyAuthListeners(){var S,M;if(!this._isInitialized)return;this.idTokenSubscription.next(this.currentUser);const k=null!==(M=null===(S=this.currentUser)||void 0===S?void 0:S.uid)&&void 0!==M?M:null;this.lastNotifiedUid!==k&&(this.lastNotifiedUid=k,this.authStateSubscription.next(this.currentUser))}registerStateListener(S,M,k,j){if(this._deleted)return()=>{};const J="function"==typeof M?M:M.next.bind(M);let Ie=!1;const et=this._isInitialized?Promise.resolve():this._initializationPromise;if(Wt(et,this,"internal-error"),et.then(()=>{Ie||J(this.currentUser)}),"function"==typeof M){const wt=S.addObserver(M,k,j);return()=>{Ie=!0,wt()}}{const wt=S.addObserver(M);return()=>{Ie=!0,wt()}}}directlySetCurrentUser(S){var M=this;return(0,pe.Z)(function*(){M.currentUser&&M.currentUser!==S&&M._currentUser._stopProactiveRefresh(),S&&M.isProactiveRefreshEnabled&&S._startProactiveRefresh(),M.currentUser=S,S?yield M.assertedPersistence.setCurrentUser(S):yield M.assertedPersistence.removeCurrentUser()})()}queue(S){return this.operations=this.operations.then(S,S),this.operations}get assertedPersistence(){return Wt(this.persistenceManager,this,"internal-error"),this.persistenceManager}_logFramework(S){!S||this.frameworks.includes(S)||(this.frameworks.push(S),this.frameworks.sort(),this.clientVersion=gr(this.config.clientPlatform,this._getFrameworks()))}_getFrameworks(){return this.frameworks}_getAdditionalHeaders(){var S=this;return(0,pe.Z)(function*(){var M;const k={"X-Client-Version":S.clientVersion};S.app.options.appId&&(k["X-Firebase-gmpid"]=S.app.options.appId);const j=yield null===(M=S.heartbeatServiceProvider.getImmediate({optional:!0}))||void 0===M?void 0:M.getHeartbeatsHeader();j&&(k["X-Firebase-Client"]=j);const J=yield S._getAppCheckToken();return J&&(k["X-Firebase-AppCheck"]=J),k})()}_getAppCheckToken(){var S=this;return(0,pe.Z)(function*(){var M;const k=yield null===(M=S.appCheckServiceProvider.getImmediate({optional:!0}))||void 0===M?void 0:M.getToken();return k?.error&&function fl(I,...S){Er.logLevel<=Bi.in.WARN&&Er.warn(`Auth (${We.SDK_VERSION}): ${I}`,...S)}(`Error while retrieving App Check token: ${k.error}`),k?.token})()}}function $s(I){return(0,dt.m9)(I)}class Uo{constructor(S){this.auth=S,this.observer=null,this.addObserver=(0,dt.ne)(M=>this.observer=M)}get next(){return Wt(this.observer,this.auth,"internal-error"),this.observer.next.bind(this.observer)}}function ch(I){return new Promise((S,M)=>{const k=document.createElement("script");k.setAttribute("src",I),k.onload=S,k.onerror=j=>{const J=dn("internal-error");J.customData=j,M(J)},k.type="text/javascript",k.charset="UTF-8",function m_(){var I,S;return null!==(S=null===(I=document.getElementsByTagName("head"))||void 0===I?void 0:I[0])&&void 0!==S?S:document}().appendChild(k)})}function H3(I){return`__${I}${Math.floor(1e6*Math.random())}`}class UD{constructor(S){this.type="recaptcha-enterprise",this.auth=$s(S)}verify(S="verify",M=!1){var k=this;return(0,pe.Z)(function*(){function J(){return J=(0,pe.Z)(function*(et){if(!M){if(null==et.tenantId&&null!=et._agentRecaptchaConfig)return et._agentRecaptchaConfig.siteKey;if(null!=et.tenantId&&void 0!==et._tenantRecaptchaConfigs[et.tenantId])return et._tenantRecaptchaConfigs[et.tenantId].siteKey}return new Promise(function(){var wt=(0,pe.Z)(function*(li,Ei){$h(et,{clientType:"CLIENT_TYPE_WEB",version:"RECAPTCHA_ENTERPRISE"}).then(ya=>{if(void 0!==ya.recaptchaKey){const xu=new Ma(ya);return null==et.tenantId?et._agentRecaptchaConfig=xu:et._tenantRecaptchaConfigs[et.tenantId]=xu,li(xu.siteKey)}Ei(new Error("recaptcha Enterprise site key undefined"))}).catch(ya=>{Ei(ya)})});return function(li,Ei){return wt.apply(this,arguments)}}())}),J.apply(this,arguments)}function Ie(et,wt,li){const Ei=window.grecaptcha;An(Ei)?Ei.enterprise.ready(()=>{Ei.enterprise.execute(et,{action:S}).then(ya=>{wt(ya)}).catch(()=>{wt("NO_RECAPTCHA")})}):li(Error("No reCAPTCHA enterprise script loaded."))}return new Promise((et,wt)=>{(function j(et){return J.apply(this,arguments)})(k.auth).then(li=>{if(!M&&An(window.grecaptcha))Ie(li,et,wt);else{if(typeof window>"u")return void wt(new Error("RecaptchaVerifier is only supported in browser"));ch("https://www.google.com/recaptcha/enterprise.js?render="+li).then(()=>{Ie(li,et,wt)}).catch(Ei=>{wt(Ei)})}}).catch(li=>{wt(li)})})})()}}function hh(I,S,M){return Cw.apply(this,arguments)}function Cw(){return(Cw=(0,pe.Z)(function*(I,S,M,k=!1){const j=new UD(I);let J;try{J=yield j.verify(M)}catch{J=yield j.verify(M,!0)}const Ie=Object.assign({},S);return Object.assign(Ie,k?{captchaResp:J}:{captchaResponse:J}),Object.assign(Ie,{clientType:"CLIENT_TYPE_WEB"}),Object.assign(Ie,{recaptchaVersion:"RECAPTCHA_ENTERPRISE"}),Ie})).apply(this,arguments)}function s2(I,S,M){const k=$s(I);Wt(k._canInitEmulator,k,"emulator-config-failed"),Wt(/^https?:\/\//.test(S),k,"invalid-emulator-scheme");const j=!!M?.disableWarnings,J=o2(S),{host:Ie,port:et}=function l2(I){const S=o2(I),M=/(\/\/)?([^?#/]+)/.exec(I.substr(S.length));if(!M)return{host:"",port:null};const k=M[2].split("@").pop()||"",j=/^(\[[^\]]+\])(:|$)/.exec(k);if(j){const J=j[1];return{host:J,port:u2(k.substr(J.length+1))}}{const[J,Ie]=k.split(":");return{host:J,port:u2(Ie)}}}(S);k.config.emulator={url:`${J}//${Ie}${null===et?"":`:${et}`}/`},k.settings.appVerificationDisabledForTesting=!0,k.emulatorConfig=Object.freeze({host:Ie,port:et,protocol:J.replace(":",""),options:Object.freeze({disableWarnings:j})}),j||function Y3(){function I(){const S=document.createElement("p"),M=S.style;S.innerText="Running in emulator mode. Do not use with production credentials.",M.position="fixed",M.width="100%",M.backgroundColor="#ffffff",M.border=".1em solid #000000",M.color="#b50000",M.bottom="0px",M.left="0px",M.margin="0px",M.zIndex="10000",M.textAlign="center",S.classList.add("firebase-emulator-warning"),document.body.appendChild(S)}typeof console<"u"&&"function"==typeof console.info&&console.info("WARNING: You are using the Auth Emulator, which is intended for local testing only. Do not use with production credentials."),typeof window<"u"&&typeof document<"u"&&("loading"===document.readyState?window.addEventListener("DOMContentLoaded",I):I())}()}function o2(I){const S=I.indexOf(":");return S<0?"":I.substr(0,S+1)}function u2(I){if(!I)return null;const S=Number(I);return isNaN(S)?null:S}class Ta{constructor(S,M){this.providerId=S,this.signInMethod=M}toJSON(){return Xs("not implemented")}_getIdTokenResponse(S){return Xs("not implemented")}_linkToIdToken(S,M){return Xs("not implemented")}_getReauthenticationResolver(S){return Xs("not implemented")}}function $d(I,S){return Ju.apply(this,arguments)}function Ju(){return(Ju=(0,pe.Z)(function*(I,S){return Ni(I,"POST","/v1/accounts:resetPassword",si(I,S))})).apply(this,arguments)}function Vi(I,S){return f_.apply(this,arguments)}function f_(){return(f_=(0,pe.Z)(function*(I,S){return Ni(I,"POST","/v1/accounts:update",S)})).apply(this,arguments)}function Rr(){return(Rr=(0,pe.Z)(function*(I,S){return Ni(I,"POST","/v1/accounts:update",si(I,S))})).apply(this,arguments)}function zy(I,S){return Mw.apply(this,arguments)}function Mw(){return(Mw=(0,pe.Z)(function*(I,S){return cr(I,"POST","/v1/accounts:signInWithPassword",si(I,S))})).apply(this,arguments)}function er(I,S){return __.apply(this,arguments)}function __(){return(__=(0,pe.Z)(function*(I,S){return Ni(I,"POST","/v1/accounts:sendOobCode",si(I,S))})).apply(this,arguments)}function Hy(){return(Hy=(0,pe.Z)(function*(I,S){return er(I,S)})).apply(this,arguments)}function c2(I,S){return ww.apply(this,arguments)}function ww(){return(ww=(0,pe.Z)(function*(I,S){return er(I,S)})).apply(this,arguments)}function Ce(I,S){return on.apply(this,arguments)}function on(){return(on=(0,pe.Z)(function*(I,S){return er(I,S)})).apply(this,arguments)}function qy(){return(qy=(0,pe.Z)(function*(I,S){return er(I,S)})).apply(this,arguments)}function YD(){return(YD=(0,pe.Z)(function*(I,S){return cr(I,"POST","/v1/accounts:signInWithEmailLink",si(I,S))})).apply(this,arguments)}function Ip(){return(Ip=(0,pe.Z)(function*(I,S){return cr(I,"POST","/v1/accounts:signInWithEmailLink",si(I,S))})).apply(this,arguments)}class Ig extends Ta{constructor(S,M,k,j=null){super("password",k),this._email=S,this._password=M,this._tenantId=j}static _fromEmailAndPassword(S,M){return new Ig(S,M,"password")}static _fromEmailAndCode(S,M,k=null){return new Ig(S,M,"emailLink",k)}toJSON(){return{email:this._email,password:this._password,signInMethod:this.signInMethod,tenantId:this._tenantId}}static fromJSON(S){const M="string"==typeof S?JSON.parse(S):S;if(M?.email&&M?.password){if("password"===M.signInMethod)return this._fromEmailAndPassword(M.email,M.password);if("emailLink"===M.signInMethod)return this._fromEmailAndCode(M.email,M.password,M.tenantId)}return null}_getIdTokenResponse(S){var M=this;return(0,pe.Z)(function*(){var k;switch(M.signInMethod){case"password":const j={returnSecureToken:!0,email:M._email,password:M._password,clientType:"CLIENT_TYPE_WEB"};if(null!==(k=S._getRecaptchaConfig())&&void 0!==k&&k.emailPasswordEnabled){const J=yield hh(S,j,"signInWithPassword");return zy(S,J)}return zy(S,j).catch(function(){var J=(0,pe.Z)(function*(Ie){if("auth/missing-recaptcha-token"===Ie.code){console.log("Sign-in with email address and password is protected by reCAPTCHA for this project. Automatically triggering the reCAPTCHA flow and restarting the sign-in flow.");const et=yield hh(S,j,"signInWithPassword");return zy(S,et)}return Promise.reject(Ie)});return function(Ie){return J.apply(this,arguments)}}());case"emailLink":return function CZ(I,S){return YD.apply(this,arguments)}(S,{email:M._email,oobCode:M._password});default:ur(S,"internal-error")}})()}_linkToIdToken(S,M){var k=this;return(0,pe.Z)(function*(){switch(k.signInMethod){case"password":return Vi(S,{idToken:M,returnSecureToken:!0,email:k._email,password:k._password});case"emailLink":return function ft(I,S){return Ip.apply(this,arguments)}(S,{idToken:M,email:k._email,oobCode:k._password});default:ur(S,"internal-error")}})()}_getReauthenticationResolver(S){return this._getIdTokenResponse(S)}}function Wh(I,S){return Uy.apply(this,arguments)}function Uy(){return(Uy=(0,pe.Z)(function*(I,S){return cr(I,"POST","/v1/accounts:signInWithIdp",si(I,S))})).apply(this,arguments)}class Xo extends Ta{constructor(){super(...arguments),this.pendingToken=null}static _fromParams(S){const M=new Xo(S.providerId,S.signInMethod);return S.idToken||S.accessToken?(S.idToken&&(M.idToken=S.idToken),S.accessToken&&(M.accessToken=S.accessToken),S.nonce&&!S.pendingToken&&(M.nonce=S.nonce),S.pendingToken&&(M.pendingToken=S.pendingToken)):S.oauthToken&&S.oauthTokenSecret?(M.accessToken=S.oauthToken,M.secret=S.oauthTokenSecret):ur("argument-error"),M}toJSON(){return{idToken:this.idToken,accessToken:this.accessToken,secret:this.secret,nonce:this.nonce,pendingToken:this.pendingToken,providerId:this.providerId,signInMethod:this.signInMethod}}static fromJSON(S){const M="string"==typeof S?JSON.parse(S):S,{providerId:k,signInMethod:j}=M,J=(0,Zr._T)(M,["providerId","signInMethod"]);if(!k||!j)return null;const Ie=new Xo(k,j);return Ie.idToken=J.idToken||void 0,Ie.accessToken=J.accessToken||void 0,Ie.secret=J.secret,Ie.nonce=J.nonce,Ie.pendingToken=J.pendingToken||null,Ie}_getIdTokenResponse(S){return Wh(S,this.buildRequest())}_linkToIdToken(S,M){const k=this.buildRequest();return k.idToken=M,Wh(S,k)}_getReauthenticationResolver(S){const M=this.buildRequest();return M.autoCreate=!1,Wh(S,M)}buildRequest(){const S={requestUri:"http://localhost",returnSecureToken:!0};if(this.pendingToken)S.pendingToken=this.pendingToken;else{const M={};this.idToken&&(M.id_token=this.idToken),this.accessToken&&(M.access_token=this.accessToken),this.secret&&(M.oauth_token_secret=this.secret),M.providerId=this.providerId,this.nonce&&!this.pendingToken&&(M.nonce=this.nonce),S.postBody=(0,dt.xO)(M)}return S}}function KD(){return(KD=(0,pe.Z)(function*(I,S){return Ni(I,"POST","/v1/accounts:sendVerificationCode",si(I,S))})).apply(this,arguments)}function Ka(){return(Ka=(0,pe.Z)(function*(I,S){return cr(I,"POST","/v1/accounts:signInWithPhoneNumber",si(I,S))})).apply(this,arguments)}function Tw(){return(Tw=(0,pe.Z)(function*(I,S){const M=yield cr(I,"POST","/v1/accounts:signInWithPhoneNumber",si(I,S));if(M.temporaryProof)throw Qr(I,"account-exists-with-different-credential",M);return M})).apply(this,arguments)}const K3={USER_NOT_FOUND:"user-not-found"};function Iw(){return(Iw=(0,pe.Z)(function*(I,S){return cr(I,"POST","/v1/accounts:signInWithPhoneNumber",si(I,Object.assign(Object.assign({},S),{operation:"REAUTH"})),K3)})).apply(this,arguments)}class Ag extends Ta{constructor(S){super("phone","phone"),this.params=S}static _fromVerification(S,M){return new Ag({verificationId:S,verificationCode:M})}static _fromTokenResponse(S,M){return new Ag({phoneNumber:S,temporaryProof:M})}_getIdTokenResponse(S){return function wn(I,S){return Ka.apply(this,arguments)}(S,this._makeVerificationRequest())}_linkToIdToken(S,M){return function vZ(I,S){return Tw.apply(this,arguments)}(S,Object.assign({idToken:M},this._makeVerificationRequest()))}_getReauthenticationResolver(S){return function MZ(I,S){return Iw.apply(this,arguments)}(S,this._makeVerificationRequest())}_makeVerificationRequest(){const{temporaryProof:S,phoneNumber:M,verificationId:k,verificationCode:j}=this.params;return S&&M?{temporaryProof:S,phoneNumber:M}:{sessionInfo:k,code:j}}toJSON(){const S={providerId:this.providerId};return this.params.phoneNumber&&(S.phoneNumber=this.params.phoneNumber),this.params.temporaryProof&&(S.temporaryProof=this.params.temporaryProof),this.params.verificationCode&&(S.verificationCode=this.params.verificationCode),this.params.verificationId&&(S.verificationId=this.params.verificationId),S}static fromJSON(S){"string"==typeof S&&(S=JSON.parse(S));const{verificationId:M,verificationCode:k,phoneNumber:j,temporaryProof:J}=S;return k||M||j||J?new Ag({verificationId:M,verificationCode:k,phoneNumber:j,temporaryProof:J}):null}}class Yy{constructor(S){var M,k,j,J,Ie,et;const wt=(0,dt.zd)((0,dt.pd)(S)),li=null!==(M=wt.apiKey)&&void 0!==M?M:null,Ei=null!==(k=wt.oobCode)&&void 0!==k?k:null,ya=function Rc(I){switch(I){case"recoverEmail":return"RECOVER_EMAIL";case"resetPassword":return"PASSWORD_RESET";case"signIn":return"EMAIL_SIGNIN";case"verifyEmail":return"VERIFY_EMAIL";case"verifyAndChangeEmail":return"VERIFY_AND_CHANGE_EMAIL";case"revertSecondFactorAddition":return"REVERT_SECOND_FACTOR_ADDITION";default:return null}}(null!==(j=wt.mode)&&void 0!==j?j:null);Wt(li&&Ei&&ya,"argument-error"),this.apiKey=li,this.operation=ya,this.code=Ei,this.continueUrl=null!==(J=wt.continueUrl)&&void 0!==J?J:null,this.languageCode=null!==(Ie=wt.languageCode)&&void 0!==Ie?Ie:null,this.tenantId=null!==(et=wt.tenantId)&&void 0!==et?et:null}static parseLink(S){const M=function wZ(I){const S=(0,dt.zd)((0,dt.pd)(I)).link,M=S?(0,dt.zd)((0,dt.pd)(S)).deep_link_id:null,k=(0,dt.zd)((0,dt.pd)(I)).deep_link_id;return(k?(0,dt.zd)((0,dt.pd)(k)).link:null)||k||M||S||I}(S);try{return new Yy(M)}catch{return null}}}let Ld=(()=>{class I{constructor(){this.providerId=I.PROVIDER_ID}static credential(M,k){return Ig._fromEmailAndPassword(M,k)}static credentialWithLink(M,k){const j=Yy.parseLink(k);return Wt(j,"argument-error"),Ig._fromEmailAndCode(M,j.code,j.tenantId)}}return I.PROVIDER_ID="password",I.EMAIL_PASSWORD_SIGN_IN_METHOD="password",I.EMAIL_LINK_SIGN_IN_METHOD="emailLink",I})();class Ap{constructor(S){this.providerId=S,this.defaultLanguageCode=null,this.customParameters={}}setDefaultLanguage(S){this.defaultLanguageCode=S}setCustomParameters(S){return this.customParameters=S,this}getCustomParameters(){return this.customParameters}}class Ky extends Ap{constructor(){super(...arguments),this.scopes=[]}addScope(S){return this.scopes.includes(S)||this.scopes.push(S),this}getScopes(){return[...this.scopes]}}class ZD extends Ky{static credentialFromJSON(S){const M="string"==typeof S?JSON.parse(S):S;return Wt("providerId"in M&&"signInMethod"in M,"argument-error"),Xo._fromParams(M)}credential(S){return this._credential(Object.assign(Object.assign({},S),{nonce:S.rawNonce}))}_credential(S){return Wt(S.idToken||S.accessToken,"argument-error"),Xo._fromParams(Object.assign(Object.assign({},S),{providerId:this.providerId,signInMethod:this.providerId}))}static credentialFromResult(S){return ZD.oauthCredentialFromTaggedObject(S)}static credentialFromError(S){return ZD.oauthCredentialFromTaggedObject(S.customData||{})}static oauthCredentialFromTaggedObject({_tokenResponse:S}){if(!S)return null;const{oauthIdToken:M,oauthAccessToken:k,oauthTokenSecret:j,pendingToken:J,nonce:Ie,providerId:et}=S;if(!k&&!j&&!M&&!J||!et)return null;try{return new ZD(et)._credential({idToken:M,accessToken:k,nonce:Ie,pendingToken:J})}catch{return null}}}let TZ=(()=>{class I extends Ky{constructor(){super("facebook.com")}static credential(M){return Xo._fromParams({providerId:I.PROVIDER_ID,signInMethod:I.FACEBOOK_SIGN_IN_METHOD,accessToken:M})}static credentialFromResult(M){return I.credentialFromTaggedObject(M)}static credentialFromError(M){return I.credentialFromTaggedObject(M.customData||{})}static credentialFromTaggedObject({_tokenResponse:M}){if(!M||!("oauthAccessToken"in M)||!M.oauthAccessToken)return null;try{return I.credential(M.oauthAccessToken)}catch{return null}}}return I.FACEBOOK_SIGN_IN_METHOD="facebook.com",I.PROVIDER_ID="facebook.com",I})(),Z3=(()=>{class I extends Ky{constructor(){super("google.com"),this.addScope("profile")}static credential(M,k){return Xo._fromParams({providerId:I.PROVIDER_ID,signInMethod:I.GOOGLE_SIGN_IN_METHOD,idToken:M,accessToken:k})}static credentialFromResult(M){return I.credentialFromTaggedObject(M)}static credentialFromError(M){return I.credentialFromTaggedObject(M.customData||{})}static credentialFromTaggedObject({_tokenResponse:M}){if(!M)return null;const{oauthIdToken:k,oauthAccessToken:j}=M;if(!k&&!j)return null;try{return I.credential(k,j)}catch{return null}}}return I.GOOGLE_SIGN_IN_METHOD="google.com",I.PROVIDER_ID="google.com",I})(),IZ=(()=>{class I extends Ky{constructor(){super("github.com")}static credential(M){return Xo._fromParams({providerId:I.PROVIDER_ID,signInMethod:I.GITHUB_SIGN_IN_METHOD,accessToken:M})}static credentialFromResult(M){return I.credentialFromTaggedObject(M)}static credentialFromError(M){return I.credentialFromTaggedObject(M.customData||{})}static credentialFromTaggedObject({_tokenResponse:M}){if(!M||!("oauthAccessToken"in M)||!M.oauthAccessToken)return null;try{return I.credential(M.oauthAccessToken)}catch{return null}}}return I.GITHUB_SIGN_IN_METHOD="github.com",I.PROVIDER_ID="github.com",I})();class Zy extends Ta{constructor(S,M){super(S,S),this.pendingToken=M}_getIdTokenResponse(S){return Wh(S,this.buildRequest())}_linkToIdToken(S,M){const k=this.buildRequest();return k.idToken=M,Wh(S,k)}_getReauthenticationResolver(S){const M=this.buildRequest();return M.autoCreate=!1,Wh(S,M)}toJSON(){return{signInMethod:this.signInMethod,providerId:this.providerId,pendingToken:this.pendingToken}}static fromJSON(S){const M="string"==typeof S?JSON.parse(S):S,{providerId:k,signInMethod:j,pendingToken:J}=M;return k&&j&&J&&k===j?new Zy(k,J):null}static _create(S,M){return new Zy(S,M)}buildRequest(){return{requestUri:"http://localhost",returnSecureToken:!0,pendingToken:this.pendingToken}}}class Zi extends Ap{constructor(S){Wt(S.startsWith("saml."),"argument-error"),super(S)}static credentialFromResult(S){return Zi.samlCredentialFromTaggedObject(S)}static credentialFromError(S){return Zi.samlCredentialFromTaggedObject(S.customData||{})}static credentialFromJSON(S){const M=Zy.fromJSON(S);return Wt(M,"argument-error"),M}static samlCredentialFromTaggedObject({_tokenResponse:S}){if(!S)return null;const{pendingToken:M,providerId:k}=S;if(!M||!k)return null;try{return Zy._create(k,M)}catch{return null}}}let AZ=(()=>{class I extends Ky{constructor(){super("twitter.com")}static credential(M,k){return Xo._fromParams({providerId:I.PROVIDER_ID,signInMethod:I.TWITTER_SIGN_IN_METHOD,oauthToken:M,oauthTokenSecret:k})}static credentialFromResult(M){return I.credentialFromTaggedObject(M)}static credentialFromError(M){return I.credentialFromTaggedObject(M.customData||{})}static credentialFromTaggedObject({_tokenResponse:M}){if(!M)return null;const{oauthAccessToken:k,oauthTokenSecret:j}=M;if(!k||!j)return null;try{return I.credential(k,j)}catch{return null}}}return I.TWITTER_SIGN_IN_METHOD="twitter.com",I.PROVIDER_ID="twitter.com",I})();function Aw(I,S){return d2.apply(this,arguments)}function d2(){return(d2=(0,pe.Z)(function*(I,S){return cr(I,"POST","/v1/accounts:signUp",si(I,S))})).apply(this,arguments)}class jh{constructor(S){this.user=S.user,this.providerId=S.providerId,this._tokenResponse=S._tokenResponse,this.operationType=S.operationType}static _fromIdTokenResponse(S,M,k,j=!1){return(0,pe.Z)(function*(){const J=yield _e._fromIdTokenResponse(S,k,j),Ie=Mt(k);return new jh({user:J,providerId:Ie,_tokenResponse:k,operationType:M})})()}static _forOperation(S,M,k){return(0,pe.Z)(function*(){yield S._updateTokensIfNecessary(k,!0);const j=Mt(k);return new jh({user:S,providerId:j,_tokenResponse:k,operationType:M})})()}}function Mt(I){return I.providerId?I.providerId:"phoneNumber"in I?"phone":null}function kZ(I){return Ve.apply(this,arguments)}function Ve(){return(Ve=(0,pe.Z)(function*(I){var S;const M=$s(I);if(yield M._initializationPromise,null!==(S=M.currentUser)&&void 0!==S&&S.isAnonymous)return new jh({user:M.currentUser,providerId:null,operationType:"signIn"});const k=yield Aw(M,{returnSecureToken:!0}),j=yield jh._fromIdTokenResponse(M,"signIn",k,!0);return yield M._updateCurrentUser(j.user),j})).apply(this,arguments)}class zm extends dt.ZR{constructor(S,M,k,j){var J;super(M.code,M.message),this.operationType=k,this.user=j,Object.setPrototypeOf(this,zm.prototype),this.customData={appName:S.name,tenantId:null!==(J=S.tenantId)&&void 0!==J?J:void 0,_serverResponse:M.customData._serverResponse,operationType:k}}static _fromErrorAndOperation(S,M,k,j){return new zm(S,M,k,j)}}function g2(I,S,M,k){return("reauthenticate"===S?M._getReauthenticationResolver(I):M._getIdTokenResponse(I)).catch(J=>{throw"auth/multi-factor-auth-required"===J.code?zm._fromErrorAndOperation(I,J,S,k):J})}function kw(I){return new Set(I.map(({providerId:S})=>S).filter(S=>!!S))}function J3(I,S){return b_.apply(this,arguments)}function b_(){return b_=(0,pe.Z)(function*(I,S){const M=(0,dt.m9)(I);yield Jy(!0,M,S);const{providerUserInfo:k}=yield function Mg(I,S){return mn.apply(this,arguments)}(M.auth,{idToken:yield M.getIdToken(),deleteProvider:[S]}),j=kw(k||[]);return M.providerData=M.providerData.filter(J=>j.has(J.providerId)),j.has("phone")||(M.phoneNumber=null),yield M.auth._persistUserIfCurrent(M),M}),b_.apply(this,arguments)}function y_(I,S){return Qy.apply(this,arguments)}function Qy(){return(Qy=(0,pe.Z)(function*(I,S,M=!1){const k=yield Gl(I,S._linkToIdToken(I.auth,yield I.getIdToken()),M);return jh._forOperation(I,"link",k)})).apply(this,arguments)}function Jy(I,S,M){return Ew.apply(this,arguments)}function Ew(){return(Ew=(0,pe.Z)(function*(I,S,M){yield lh(S);const j=!1===I?"provider-already-linked":"no-such-provider";Wt(kw(S.providerData).has(M)===I,S.auth,j)})).apply(this,arguments)}function aa(I,S){return ex.apply(this,arguments)}function ex(){return(ex=(0,pe.Z)(function*(I,S,M=!1){const{auth:k}=I,j="reauthenticate";try{const J=yield Gl(I,g2(k,j,S,I),M);Wt(J.idToken,k,"internal-error");const Ie=sh(J.idToken);Wt(Ie,k,"internal-error");const{sub:et}=Ie;return Wt(I.uid===et,k,"user-mismatch"),jh._forOperation(I,j,J)}catch(J){throw"auth/user-not-found"===J?.code&&ur(k,"user-mismatch"),J}})).apply(this,arguments)}function Rw(I,S){return Hl.apply(this,arguments)}function Hl(){return(Hl=(0,pe.Z)(function*(I,S,M=!1){const k="signIn",j=yield g2(I,k,S),J=yield jh._fromIdTokenResponse(I,k,j);return M||(yield I._updateCurrentUser(J.user)),J})).apply(this,arguments)}function tx(I,S){return p2.apply(this,arguments)}function p2(){return(p2=(0,pe.Z)(function*(I,S){return Rw($s(I),S)})).apply(this,arguments)}function Pr(I,S){return m2.apply(this,arguments)}function m2(){return(m2=(0,pe.Z)(function*(I,S){const M=(0,dt.m9)(I);return yield Jy(!1,M,S.providerId),y_(M,S)})).apply(this,arguments)}function eW(I,S){return Pt.apply(this,arguments)}function Pt(){return(Pt=(0,pe.Z)(function*(I,S){return aa((0,dt.m9)(I),S)})).apply(this,arguments)}function ix(){return(ix=(0,pe.Z)(function*(I,S){return cr(I,"POST","/v1/accounts:signInWithCustomToken",si(I,S))})).apply(this,arguments)}function f2(I,S){return nx.apply(this,arguments)}function nx(){return nx=(0,pe.Z)(function*(I,S){const M=$s(I),k=yield function Pw(I,S){return ix.apply(this,arguments)}(M,{token:S,returnSecureToken:!0}),j=yield jh._fromIdTokenResponse(M,"signIn",k);return yield M._updateCurrentUser(j.user),j}),nx.apply(this,arguments)}class ax{constructor(S,M){this.factorId=S,this.uid=M.mfaEnrollmentId,this.enrollmentTime=new Date(M.enrolledAt).toUTCString(),this.displayName=M.displayName}static _fromServerResponse(S,M){return"phoneInfo"in M?rx._fromServerResponse(S,M):"totpInfo"in M?_2._fromServerResponse(S,M):ur(S,"internal-error")}}class rx extends ax{constructor(S){super("phone",S),this.phoneNumber=S.phoneInfo}static _fromServerResponse(S,M){return new rx(M)}}class _2 extends ax{constructor(S){super("totp",S)}static _fromServerResponse(S,M){return new _2(M)}}function sx(I,S,M){var k;Wt((null===(k=M.url)||void 0===k?void 0:k.length)>0,I,"invalid-continue-uri"),Wt(typeof M.dynamicLinkDomain>"u"||M.dynamicLinkDomain.length>0,I,"invalid-dynamic-link-domain"),S.continueUrl=M.url,S.dynamicLinkDomain=M.dynamicLinkDomain,S.canHandleCodeInApp=M.handleCodeInApp,M.iOS&&(Wt(M.iOS.bundleId.length>0,I,"missing-ios-bundle-id"),S.iOSBundleId=M.iOS.bundleId),M.android&&(Wt(M.android.packageName.length>0,I,"missing-android-pkg-name"),S.androidInstallApp=M.android.installApp,S.androidMinimumVersionCode=M.android.minimumVersion,S.androidPackageName=M.android.packageName)}function b2(I){return y2.apply(this,arguments)}function y2(){return(y2=(0,pe.Z)(function*(I){const S=$s(I);S._getPasswordPolicyInternal()&&(yield S._updatePasswordPolicy())})).apply(this,arguments)}function EZ(I,S,M){return Hm.apply(this,arguments)}function Hm(){return Hm=(0,pe.Z)(function*(I,S,M){var k;const j=$s(I),J={requestType:"PASSWORD_RESET",email:S,clientType:"CLIENT_TYPE_WEB"};if(null!==(k=j._getRecaptchaConfig())&&void 0!==k&&k.emailPasswordEnabled){const Ie=yield hh(j,J,"getOobCode",!0);M&&sx(j,Ie,M),yield c2(j,Ie)}else M&&sx(j,J,M),yield c2(j,J).catch(function(){var Ie=(0,pe.Z)(function*(et){if("auth/missing-recaptcha-token"!==et.code)return Promise.reject(et);{console.log("Password resets are protected by reCAPTCHA for this project. Automatically triggering the reCAPTCHA flow and restarting the password reset flow.");const wt=yield hh(j,J,"getOobCode",!0);M&&sx(j,wt,M),yield c2(j,wt)}});return function(et){return Ie.apply(this,arguments)}}())}),Hm.apply(this,arguments)}function Fw(I,S,M){return x_.apply(this,arguments)}function x_(){return x_=(0,pe.Z)(function*(I,S,M){yield $d((0,dt.m9)(I),{oobCode:S,newPassword:M}).catch(function(){var k=(0,pe.Z)(function*(j){throw"auth/password-does-not-meet-requirements"===j.code&&b2(I),j});return function(j){return k.apply(this,arguments)}}())}),x_.apply(this,arguments)}function tW(I,S){return Bw.apply(this,arguments)}function Bw(){return Bw=(0,pe.Z)(function*(I,S){yield function vw(I,S){return Rr.apply(this,arguments)}((0,dt.m9)(I),{oobCode:S})}),Bw.apply(this,arguments)}function x2(I,S){return QD.apply(this,arguments)}function QD(){return(QD=(0,pe.Z)(function*(I,S){const M=(0,dt.m9)(I),k=yield $d(M,{oobCode:S}),j=k.requestType;switch(Wt(j,M,"internal-error"),j){case"EMAIL_SIGNIN":break;case"VERIFY_AND_CHANGE_EMAIL":Wt(k.newEmail,M,"internal-error");break;case"REVERT_SECOND_FACTOR_ADDITION":Wt(k.mfaInfo,M,"internal-error");default:Wt(k.email,M,"internal-error")}let J=null;return k.mfaInfo&&(J=ax._fromServerResponse($s(M),k.mfaInfo)),{data:{email:("VERIFY_AND_CHANGE_EMAIL"===k.requestType?k.newEmail:k.email)||null,previousEmail:("VERIFY_AND_CHANGE_EMAIL"===k.requestType?k.email:k.newEmail)||null,multiFactorInfo:J},operation:j}})).apply(this,arguments)}function S_(I,S){return $w.apply(this,arguments)}function $w(){return($w=(0,pe.Z)(function*(I,S){const{data:M}=yield x2((0,dt.m9)(I),S);return M.email})).apply(this,arguments)}function kp(I,S,M){return Lw.apply(this,arguments)}function Lw(){return Lw=(0,pe.Z)(function*(I,S,M){var k;const j=$s(I),J={returnSecureToken:!0,email:S,password:M,clientType:"CLIENT_TYPE_WEB"};let Ie;if(null!==(k=j._getRecaptchaConfig())&&void 0!==k&&k.emailPasswordEnabled){const li=yield hh(j,J,"signUpPassword");Ie=Aw(j,li)}else Ie=Aw(j,J).catch(function(){var li=(0,pe.Z)(function*(Ei){if("auth/missing-recaptcha-token"===Ei.code){console.log("Sign-up is protected by reCAPTCHA for this project. Automatically triggering the reCAPTCHA flow and restarting the sign-up flow.");const ya=yield hh(j,J,"signUpPassword");return Aw(j,ya)}throw Ei});return function(Ei){return li.apply(this,arguments)}}());const et=yield Ie.catch(li=>{throw"auth/password-does-not-meet-requirements"===li.code&&b2(I),li}),wt=yield jh._fromIdTokenResponse(j,"signIn",et);return yield j._updateCurrentUser(wt.user),wt}),Lw.apply(this,arguments)}function Ue(I,S,M){return tx((0,dt.m9)(I),Ld.credential(S,M)).catch(function(){var k=(0,pe.Z)(function*(j){throw"auth/password-does-not-meet-requirements"===j.code&&b2(I),j});return function(j){return k.apply(this,arguments)}}())}function S2(I,S,M){return Ut.apply(this,arguments)}function Ut(){return Ut=(0,pe.Z)(function*(I,S,M){var k;const j=$s(I),J={requestType:"EMAIL_SIGNIN",email:S,clientType:"CLIENT_TYPE_WEB"};function Ie(et,wt){Wt(wt.handleCodeInApp,j,"argument-error"),wt&&sx(j,et,wt)}if(null!==(k=j._getRecaptchaConfig())&&void 0!==k&&k.emailPasswordEnabled){const et=yield hh(j,J,"getOobCode",!0);Ie(et,M),yield Ce(j,et)}else Ie(J,M),yield Ce(j,J).catch(function(){var et=(0,pe.Z)(function*(wt){if("auth/missing-recaptcha-token"!==wt.code)return Promise.reject(wt);{console.log("Email link sign-in is protected by reCAPTCHA for this project. Automatically triggering the reCAPTCHA flow and restarting the sign-in flow.");const li=yield hh(j,J,"getOobCode",!0);Ie(li,M),yield Ce(j,li)}});return function(wt){return et.apply(this,arguments)}}())}),Ut.apply(this,arguments)}function JD(I,S){const M=Yy.parseLink(S);return"EMAIL_SIGNIN"===M?.operation}function Vw(I,S,M){return qm.apply(this,arguments)}function qm(){return(qm=(0,pe.Z)(function*(I,S,M){const k=(0,dt.m9)(I),j=Ld.credentialWithLink(S,M||gu());return Wt(j._tenantId===(k.tenantId||null),k,"tenant-id-mismatch"),tx(k,j)})).apply(this,arguments)}function Nw(){return(Nw=(0,pe.Z)(function*(I,S){return Ni(I,"POST","/v1/accounts:createAuthUri",si(I,S))})).apply(this,arguments)}function nW(I,S){return Gh.apply(this,arguments)}function Gh(){return Gh=(0,pe.Z)(function*(I,S){const k={identifier:S,continueUri:Ys()?gu():"http://localhost"},{signinMethods:j}=yield function iW(I,S){return Nw.apply(this,arguments)}((0,dt.m9)(I),k);return j||[]}),Gh.apply(this,arguments)}function eC(I,S){return tc.apply(this,arguments)}function tc(){return tc=(0,pe.Z)(function*(I,S){const M=(0,dt.m9)(I),j={requestType:"VERIFY_EMAIL",idToken:yield I.getIdToken()};S&&sx(M.auth,j,S);const{email:J}=yield function go(I,S){return Hy.apply(this,arguments)}(M.auth,j);J!==I.email&&(yield I.reload())}),tc.apply(this,arguments)}function Vd(I,S,M){return Va.apply(this,arguments)}function Va(){return Va=(0,pe.Z)(function*(I,S,M){const k=(0,dt.m9)(I),J={requestType:"VERIFY_AND_CHANGE_EMAIL",idToken:yield I.getIdToken(),newEmail:S};M&&sx(k.auth,J,M);const{email:Ie}=yield function XD(I,S){return qy.apply(this,arguments)}(k.auth,J);Ie!==I.email&&(yield I.reload())}),Va.apply(this,arguments)}function ox(){return(ox=(0,pe.Z)(function*(I,S){return Ni(I,"POST","/v1/accounts:update",S)})).apply(this,arguments)}function C2(I,S){return tC.apply(this,arguments)}function tC(){return tC=(0,pe.Z)(function*(I,{displayName:S,photoURL:M}){if(void 0===S&&void 0===M)return;const k=(0,dt.m9)(I),J={idToken:yield k.getIdToken(),displayName:S,photoUrl:M,returnSecureToken:!0},Ie=yield Gl(k,function D2(I,S){return ox.apply(this,arguments)}(k.auth,J));k.displayName=Ie.displayName||null,k.photoURL=Ie.photoUrl||null;const et=k.providerData.find(({providerId:wt})=>"password"===wt);et&&(et.displayName=k.displayName,et.photoURL=k.photoURL),yield k._updateTokensIfNecessary(Ie)}),tC.apply(this,arguments)}function lx(I,S){return Ow((0,dt.m9)(I),S,null)}function v2(I,S){return Ow((0,dt.m9)(I),null,S)}function Ow(I,S,M){return Ww.apply(this,arguments)}function Ww(){return(Ww=(0,pe.Z)(function*(I,S,M){const{auth:k}=I,J={idToken:yield I.getIdToken(),returnSecureToken:!0};S&&(J.email=S),M&&(J.password=M);const Ie=yield Gl(I,Vi(k,J));yield I._updateTokensIfNecessary(Ie,!0)})).apply(this,arguments)}class D_{constructor(S,M,k={}){this.isNewUser=S,this.providerId=M,this.profile=k}}class w2 extends D_{constructor(S,M,k,j){super(S,M,k),this.username=j}}class zh extends D_{constructor(S,M){super(S,"facebook.com",M)}}class aW extends w2{constructor(S,M){super(S,"github.com",M,"string"==typeof M?.login?M?.login:null)}}class T2 extends D_{constructor(S,M){super(S,"google.com",M)}}class rW extends w2{constructor(S,M,k){super(S,"twitter.com",M,k)}}function sW(I){const{user:S,_tokenResponse:M}=I;return S.isAnonymous&&!M?{providerId:null,isNewUser:!1,profile:null}:function M2(I){var S,M;if(!I)return null;const{providerId:k}=I,j=I.rawUserInfo?JSON.parse(I.rawUserInfo):{},J=I.isNewUser||"identitytoolkit#SignupNewUserResponse"===I.kind;if(!k&&I?.idToken){const Ie=null===(M=null===(S=sh(I.idToken))||void 0===S?void 0:S.firebase)||void 0===M?void 0:M.sign_in_provider;if(Ie)return new D_(J,"anonymous"!==Ie&&"custom"!==Ie?Ie:null)}if(!k)return null;switch(k){case"facebook.com":return new zh(J,j);case"github.com":return new aW(J,j);case"google.com":return new T2(J,j);case"twitter.com":return new rW(J,j,I.screenName||null);case"custom":case"anonymous":return new D_(J,null);default:return new D_(J,k,j)}}(M)}class ri{constructor(S,M,k){this.type=S,this.credential=M,this.user=k}static _fromIdtoken(S,M){return new ri("enroll",S,M)}static _fromMfaPendingCredential(S){return new ri("signin",S)}toJSON(){return{multiFactorSession:{["enroll"===this.type?"idToken":"pendingCredential"]:this.credential}}}static fromJSON(S){var M,k;if(S?.multiFactorSession){if(null!==(M=S.multiFactorSession)&&void 0!==M&&M.pendingCredential)return ri._fromMfaPendingCredential(S.multiFactorSession.pendingCredential);if(null!==(k=S.multiFactorSession)&&void 0!==k&&k.idToken)return ri._fromIdtoken(S.multiFactorSession.idToken)}return null}}class Gn{constructor(S,M,k){this.session=S,this.hints=M,this.signInResolver=k}static _fromError(S,M){const k=$s(S),j=M.customData._serverResponse,J=(j.mfaInfo||[]).map(et=>ax._fromServerResponse(k,et));Wt(j.mfaPendingCredential,k,"internal-error");const Ie=ri._fromMfaPendingCredential(j.mfaPendingCredential);return new Gn(Ie,J,function(){var et=(0,pe.Z)(function*(wt){const li=yield wt._process(k,Ie);delete j.mfaInfo,delete j.mfaPendingCredential;const Ei=Object.assign(Object.assign({},j),{idToken:li.idToken,refreshToken:li.refreshToken});switch(M.operationType){case"signIn":const ya=yield jh._fromIdTokenResponse(k,M.operationType,Ei);return yield k._updateCurrentUser(ya.user),ya;case"reauthenticate":return Wt(M.user,k,"internal-error"),jh._forOperation(M.user,M.operationType,Ei);default:ur(k,"internal-error")}});return function(wt){return et.apply(this,arguments)}}())}resolveSignIn(S){var M=this;return(0,pe.Z)(function*(){return M.signInResolver(S)})()}}function ko(I,S){var M;const k=(0,dt.m9)(I),j=S;return Wt(S.customData.operationType,k,"argument-error"),Wt(null===(M=j.customData._serverResponse)||void 0===M?void 0:M.mfaPendingCredential,k,"argument-error"),Gn._fromError(k,j)}class C_{constructor(S){this.user=S,this.enrolledFactors=[],S._onReload(M=>{M.mfaInfo&&(this.enrolledFactors=M.mfaInfo.map(k=>ax._fromServerResponse(S.auth,k)))})}static _fromUser(S){return new C_(S)}getSession(){var S=this;return(0,pe.Z)(function*(){return ri._fromIdtoken(yield S.user.getIdToken(),S.user)})()}enroll(S,M){var k=this;return(0,pe.Z)(function*(){const j=S,J=yield k.getSession(),Ie=yield Gl(k.user,j._process(k.user.auth,J,M));return yield k.user._updateTokensIfNecessary(Ie),k.user.reload()})()}unenroll(S){var M=this;return(0,pe.Z)(function*(){const k="string"==typeof S?S:S.uid,j=yield M.user.getIdToken();try{const J=yield Gl(M.user,function A2(I,S){return Ni(I,"POST","/v2/accounts/mfaEnrollment:withdraw",si(I,S))}(M.user.auth,{idToken:j,mfaEnrollmentId:k}));M.enrolledFactors=M.enrolledFactors.filter(({uid:Ie})=>Ie!==k),yield M.user._updateTokensIfNecessary(J),yield M.user.reload()}catch(J){throw J}})()}}const Gw=new WeakMap;function hW(I){const S=(0,dt.m9)(I);return Gw.has(S)||Gw.set(S,C_._fromUser(S)),Gw.get(S)}const Jr="__sak";class Jt{constructor(S,M){this.storageRetriever=S,this.type=M}_isAvailable(){try{return this.storage?(this.storage.setItem(Jr,"1"),this.storage.removeItem(Jr),Promise.resolve(!0)):Promise.resolve(!1)}catch{return Promise.resolve(!1)}}_set(S,M){return this.storage.setItem(S,JSON.stringify(M)),Promise.resolve()}_get(S){const M=this.storage.getItem(S);return Promise.resolve(M?JSON.parse(M):null)}_remove(S){return this.storage.removeItem(S),Promise.resolve()}get storage(){return this.storageRetriever()}}const qh=(()=>{class I extends Jt{constructor(){super(()=>window.localStorage,"LOCAL"),this.boundEventHandler=(M,k)=>this.onStorageEvent(M,k),this.listeners={},this.localCache={},this.pollTimer=null,this.safariLocalStorageNotSynced=function fn(){const I=(0,dt.z$)();return Ya(I)||bt(I)}()&&function da(){try{return!(!window||window===window.top)}catch{return!1}}(),this.fallbackToPolling=Pi(),this._shouldAllowMigration=!0}forAllChangedKeys(M){for(const k of Object.keys(this.listeners)){const j=this.storage.getItem(k),J=this.localCache[k];j!==J&&M(k,J,j)}}onStorageEvent(M,k=!1){if(!M.key)return void this.forAllChangedKeys((et,wt,li)=>{this.notifyListeners(et,li)});const j=M.key;if(k?this.detachListener():this.stopPolling(),this.safariLocalStorageNotSynced){const et=this.storage.getItem(j);if(M.newValue!==et)null!==M.newValue?this.storage.setItem(j,M.newValue):this.storage.removeItem(j);else if(this.localCache[j]===M.newValue&&!k)return}const J=()=>{const et=this.storage.getItem(j);!k&&this.localCache[j]===et||this.notifyListeners(j,et)},Ie=this.storage.getItem(j);!function Wi(){return(0,dt.w1)()&&10===document.documentMode}()||Ie===M.newValue||M.newValue===M.oldValue?J():setTimeout(J,10)}notifyListeners(M,k){this.localCache[M]=k;const j=this.listeners[M];if(j)for(const J of Array.from(j))J(k&&JSON.parse(k))}startPolling(){this.stopPolling(),this.pollTimer=setInterval(()=>{this.forAllChangedKeys((M,k,j)=>{this.onStorageEvent(new StorageEvent("storage",{key:M,oldValue:k,newValue:j}),!0)})},1e3)}stopPolling(){this.pollTimer&&(clearInterval(this.pollTimer),this.pollTimer=null)}attachListener(){window.addEventListener("storage",this.boundEventHandler)}detachListener(){window.removeEventListener("storage",this.boundEventHandler)}_addListener(M,k){0===Object.keys(this.listeners).length&&(this.fallbackToPolling?this.startPolling():this.attachListener()),this.listeners[M]||(this.listeners[M]=new Set,this.localCache[M]=this.storage.getItem(M)),this.listeners[M].add(k)}_removeListener(M,k){this.listeners[M]&&(this.listeners[M].delete(k),0===this.listeners[M].size&&delete this.listeners[M]),0===Object.keys(this.listeners).length&&(this.detachListener(),this.stopPolling())}_set(M,k){var j=()=>super._set,J=this;return(0,pe.Z)(function*(){yield j().call(J,M,k),J.localCache[M]=JSON.stringify(k)})()}_get(M){var k=()=>super._get,j=this;return(0,pe.Z)(function*(){const J=yield k().call(j,M);return j.localCache[M]=JSON.stringify(J),J})()}_remove(M){var k=()=>super._remove,j=this;return(0,pe.Z)(function*(){yield k().call(j,M),delete j.localCache[M]})()}}return I.type="LOCAL",I})(),xr=(()=>{class I extends Jt{constructor(){super(()=>window.sessionStorage,"SESSION")}_addListener(M,k){}_removeListener(M,k){}}return I.type="SESSION",I})();let v_=(()=>{class I{constructor(M){this.eventTarget=M,this.handlersMap={},this.boundEventHandler=this.handleEvent.bind(this)}static _getInstance(M){const k=this.receivers.find(J=>J.isListeningto(M));if(k)return k;const j=new I(M);return this.receivers.push(j),j}isListeningto(M){return this.eventTarget===M}handleEvent(M){var k=this;return(0,pe.Z)(function*(){const j=M,{eventId:J,eventType:Ie,data:et}=j.data,wt=k.handlersMap[Ie];if(!wt?.size)return;j.ports[0].postMessage({status:"ack",eventId:J,eventType:Ie});const li=Array.from(wt).map(function(){var ya=(0,pe.Z)(function*(xu){return xu(j.origin,et)});return function(xu){return ya.apply(this,arguments)}}()),Ei=yield function bu(I){return Promise.all(I.map(function(){var S=(0,pe.Z)(function*(M){try{return{fulfilled:!0,value:yield M}}catch(k){return{fulfilled:!1,reason:k}}});return function(M){return S.apply(this,arguments)}}()))}(li);j.ports[0].postMessage({status:"done",eventId:J,eventType:Ie,response:Ei})})()}_subscribe(M,k){0===Object.keys(this.handlersMap).length&&this.eventTarget.addEventListener("message",this.boundEventHandler),this.handlersMap[M]||(this.handlersMap[M]=new Set),this.handlersMap[M].add(k)}_unsubscribe(M,k){this.handlersMap[M]&&k&&this.handlersMap[M].delete(k),(!k||0===this.handlersMap[M].size)&&delete this.handlersMap[M],0===Object.keys(this.handlersMap).length&&this.eventTarget.removeEventListener("message",this.boundEventHandler)}}return I.receivers=[],I})();function gn(I="",S=10){let M="";for(let k=0;k{const Ei=gn("",20);J.port1.start();const ya=setTimeout(()=>{li(new Error("unsupported_event"))},k);et={messageChannel:J,onMessage(xu){const Pg=xu;if(Pg.data.eventId===Ei)switch(Pg.data.status){case"ack":clearTimeout(ya),Ie=setTimeout(()=>{li(new Error("timeout"))},3e3);break;case"done":clearTimeout(Ie),wt(Pg.data.response);break;default:clearTimeout(ya),clearTimeout(Ie),li(new Error("invalid_response"))}}},j.handlers.add(et),J.port1.addEventListener("message",et.onMessage),j.target.postMessage({eventType:S,eventId:Ei,data:M},[J.port2])}).finally(()=>{et&&j.removeMessageHandler(et)})})()}}function Zs(){return window}function es(){return typeof Zs().WorkerGlobalScope<"u"&&"function"==typeof Zs().importScripts}function Rp(){return(Rp=(0,pe.Z)(function*(){if(!navigator?.serviceWorker)return null;try{return(yield navigator.serviceWorker.ready).active}catch{return null}})).apply(this,arguments)}const zw="firebaseLocalStorageDb",Um="firebaseLocalStorage",Fp="fbase_key";class nn{constructor(S){this.request=S}toPromise(){return new Promise((S,M)=>{this.request.addEventListener("success",()=>{S(this.request.result)}),this.request.addEventListener("error",()=>{M(this.request.error)})})}}function w_(I,S){return I.transaction([Um],S?"readwrite":"readonly").objectStore(Um)}function gx(){const I=indexedDB.open(zw,1);return new Promise((S,M)=>{I.addEventListener("error",()=>{M(I.error)}),I.addEventListener("upgradeneeded",()=>{const k=I.result;try{k.createObjectStore(Um,{keyPath:Fp})}catch(j){M(j)}}),I.addEventListener("success",(0,pe.Z)(function*(){const k=I.result;k.objectStoreNames.contains(Um)?S(k):(k.close(),yield function k2(){const I=indexedDB.deleteDatabase(zw);return new nn(I).toPromise()}(),S(yield gx()))}))})}function Uh(I,S,M){return T_.apply(this,arguments)}function T_(){return(T_=(0,pe.Z)(function*(I,S,M){const k=w_(I,!0).put({[Fp]:S,value:M});return new nn(k).toPromise()})).apply(this,arguments)}function Xm(){return(Xm=(0,pe.Z)(function*(I,S){const M=w_(I,!1).get(S),k=yield new nn(M).toPromise();return void 0===k?null:k.value})).apply(this,arguments)}function Ls(I,S){const M=w_(I,!0).delete(S);return new nn(M).toPromise()}const Bp=(()=>{class I{constructor(){this.type="LOCAL",this._shouldAllowMigration=!0,this.listeners={},this.localCache={},this.pollTimer=null,this.pendingWrites=0,this.receiver=null,this.sender=null,this.serviceWorkerReceiverAvailable=!1,this.activeServiceWorker=null,this._workerInitializationPromise=this.initializeServiceWorkerMessaging().then(()=>{},()=>{})}_openDb(){var M=this;return(0,pe.Z)(function*(){return M.db||(M.db=yield gx()),M.db})()}_withRetries(M){var k=this;return(0,pe.Z)(function*(){let j=0;for(;;)try{const J=yield k._openDb();return yield M(J)}catch(J){if(j++>3)throw J;k.db&&(k.db.close(),k.db=void 0)}})()}initializeServiceWorkerMessaging(){var M=this;return(0,pe.Z)(function*(){return es()?M.initializeReceiver():M.initializeSender()})()}initializeReceiver(){var M=this;return(0,pe.Z)(function*(){M.receiver=v_._getInstance(function dx(){return es()?self:null}()),M.receiver._subscribe("keyChanged",function(){var k=(0,pe.Z)(function*(j,J){return{keyProcessed:(yield M._poll()).includes(J.key)}});return function(j,J){return k.apply(this,arguments)}}()),M.receiver._subscribe("ping",function(){var k=(0,pe.Z)(function*(j,J){return["keyChanged"]});return function(j,J){return k.apply(this,arguments)}}())})()}initializeSender(){var M=this;return(0,pe.Z)(function*(){var k,j;if(M.activeServiceWorker=yield function hx(){return Rp.apply(this,arguments)}(),!M.activeServiceWorker)return;M.sender=new cx(M.activeServiceWorker);const J=yield M.sender._send("ping",{},800);J&&null!==(k=J[0])&&void 0!==k&&k.fulfilled&&null!==(j=J[0])&&void 0!==j&&j.value.includes("keyChanged")&&(M.serviceWorkerReceiverAvailable=!0)})()}notifyServiceWorker(M){var k=this;return(0,pe.Z)(function*(){if(k.sender&&k.activeServiceWorker&&function Nd(){var I;return(null===(I=navigator?.serviceWorker)||void 0===I?void 0:I.controller)||null}()===k.activeServiceWorker)try{yield k.sender._send("keyChanged",{key:M},k.serviceWorkerReceiverAvailable?800:50)}catch{}})()}_isAvailable(){return(0,pe.Z)(function*(){try{if(!indexedDB)return!1;const M=yield gx();return yield Uh(M,Jr,"1"),yield Ls(M,Jr),!0}catch{}return!1})()}_withPendingWrite(M){var k=this;return(0,pe.Z)(function*(){k.pendingWrites++;try{yield M()}finally{k.pendingWrites--}})()}_set(M,k){var j=this;return(0,pe.Z)(function*(){return j._withPendingWrite((0,pe.Z)(function*(){return yield j._withRetries(J=>Uh(J,M,k)),j.localCache[M]=k,j.notifyServiceWorker(M)}))})()}_get(M){var k=this;return(0,pe.Z)(function*(){const j=yield k._withRetries(J=>function I_(I,S){return Xm.apply(this,arguments)}(J,M));return k.localCache[M]=j,j})()}_remove(M){var k=this;return(0,pe.Z)(function*(){return k._withPendingWrite((0,pe.Z)(function*(){return yield k._withRetries(j=>Ls(j,M)),delete k.localCache[M],k.notifyServiceWorker(M)}))})()}_poll(){var M=this;return(0,pe.Z)(function*(){const k=yield M._withRetries(Ie=>{const et=w_(Ie,!1).getAll();return new nn(et).toPromise()});if(!k)return[];if(0!==M.pendingWrites)return[];const j=[],J=new Set;for(const{fbase_key:Ie,value:et}of k)J.add(Ie),JSON.stringify(M.localCache[Ie])!==JSON.stringify(et)&&(M.notifyListeners(Ie,et),j.push(Ie));for(const Ie of Object.keys(M.localCache))M.localCache[Ie]&&!J.has(Ie)&&(M.notifyListeners(Ie,null),j.push(Ie));return j})()}notifyListeners(M,k){this.localCache[M]=k;const j=this.listeners[M];if(j)for(const J of Array.from(j))J(k)}startPolling(){var M=this;this.stopPolling(),this.pollTimer=setInterval((0,pe.Z)(function*(){return M._poll()}),800)}stopPolling(){this.pollTimer&&(clearInterval(this.pollTimer),this.pollTimer=null)}_addListener(M,k){0===Object.keys(this.listeners).length&&this.startPolling(),this.listeners[M]||(this.listeners[M]=new Set,this._get(M)),this.listeners[M].add(k)}_removeListener(M,k){this.listeners[M]&&(this.listeners[M].delete(k),0===this.listeners[M].size&&delete this.listeners[M]),0===Object.keys(this.listeners).length&&this.stopPolling()}}return I.type="LOCAL",I})(),A_=1e12;class R2{constructor(S){this.auth=S,this.counter=A_,this._widgets=new Map}render(S,M){const k=this.counter;return this._widgets.set(k,new pW(S,this.auth.name,M||{})),this.counter++,k}reset(S){var M;const k=S||A_;null===(M=this._widgets.get(k))||void 0===M||M.delete(),this._widgets.delete(k)}getResponse(S){var M;return(null===(M=this._widgets.get(S||A_))||void 0===M?void 0:M.getResponse())||""}execute(S){var M=this;return(0,pe.Z)(function*(){var k;return null===(k=M._widgets.get(S||A_))||void 0===k||k.execute(),""})()}}class pW{constructor(S,M,k){this.params=k,this.timerId=null,this.deleted=!1,this.responseToken=null,this.clickHandler=()=>{this.execute()};const j="string"==typeof S?document.getElementById(S):S;Wt(j,"argument-error",{appName:M}),this.container=j,this.isVisible="invisible"!==this.params.size,this.isVisible?this.execute():this.container.addEventListener("click",this.clickHandler)}getResponse(){return this.checkIfDeleted(),this.responseToken}delete(){this.checkIfDeleted(),this.deleted=!0,this.timerId&&(clearTimeout(this.timerId),this.timerId=null),this.container.removeEventListener("click",this.clickHandler)}execute(){this.checkIfDeleted(),!this.timerId&&(this.timerId=window.setTimeout(()=>{this.responseToken=function qw(I){const S=[],M="1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ";for(let k=0;k{if(this.timerId=null,this.responseToken=null,M)try{M()}catch{}this.isVisible&&this.execute()},6e4)},500))}checkIfDeleted(){if(this.deleted)throw new Error("reCAPTCHA mock was already deleted!")}}const P2=H3("rcb"),$Z=new _t(3e4,6e4);class VZ{constructor(){var S;this.hostLanguage="",this.counter=0,this.librarySeparatelyLoaded=!(null===(S=Zs().grecaptcha)||void 0===S||!S.render)}load(S,M=""){return Wt(function NZ(I){return I.length<=6&&/^\s*[a-zA-Z0-9\-]*\s*$/.test(I)}(M),S,"argument-error"),this.shouldResolveImmediately(M)&&$i(Zs().grecaptcha)?Promise.resolve(Zs().grecaptcha):new Promise((k,j)=>{const J=Zs().setTimeout(()=>{j(dn(S,"network-request-failed"))},$Z.get());Zs()[P2]=()=>{Zs().clearTimeout(J),delete Zs()[P2];const et=Zs().grecaptcha;if(!et||!$i(et))return void j(dn(S,"internal-error"));const wt=et.render;et.render=(li,Ei)=>{const ya=wt(li,Ei);return this.counter++,ya},this.hostLanguage=M,k(et)},ch(`https://www.google.com/recaptcha/api.js??${(0,dt.xO)({onload:P2,render:"explicit",hl:M})}`).catch(()=>{clearTimeout(J),j(dn(S,"internal-error"))})})}clearedOneInstance(){this.counter--}shouldResolveImmediately(S){var M;return!(null===(M=Zs().grecaptcha)||void 0===M||!M.render)&&(S===this.hostLanguage||this.counter>0||this.librarySeparatelyLoaded)}}class OZ{load(S){return(0,pe.Z)(function*(){return new R2(S)})()}clearedOneInstance(){}}const mW="recaptcha",WZ={theme:"light",type:"image"};class jZ{constructor(S,M,k=Object.assign({},WZ)){this.parameters=k,this.type=mW,this.destroyed=!1,this.widgetId=null,this.tokenChangeListeners=new Set,this.renderPromise=null,this.recaptcha=null,this.auth=$s(S),this.isInvisible="invisible"===this.parameters.size,Wt(typeof document<"u",this.auth,"operation-not-supported-in-this-environment");const j="string"==typeof M?document.getElementById(M):M;Wt(j,this.auth,"argument-error"),this.container=j,this.parameters.callback=this.makeTokenCallback(this.parameters.callback),this._recaptchaLoader=this.auth.settings.appVerificationDisabledForTesting?new OZ:new VZ,this.validateStartingState()}verify(){var S=this;return(0,pe.Z)(function*(){S.assertNotDestroyed();const M=yield S.render(),k=S.getAssertedRecaptcha();return k.getResponse(M)||new Promise(J=>{const Ie=et=>{et&&(S.tokenChangeListeners.delete(Ie),J(et))};S.tokenChangeListeners.add(Ie),S.isInvisible&&k.execute(M)})})()}render(){try{this.assertNotDestroyed()}catch(S){return Promise.reject(S)}return this.renderPromise||(this.renderPromise=this.makeRenderPromise().catch(S=>{throw this.renderPromise=null,S})),this.renderPromise}_reset(){this.assertNotDestroyed(),null!==this.widgetId&&this.getAssertedRecaptcha().reset(this.widgetId)}clear(){this.assertNotDestroyed(),this.destroyed=!0,this._recaptchaLoader.clearedOneInstance(),this.isInvisible||this.container.childNodes.forEach(S=>{this.container.removeChild(S)})}validateStartingState(){Wt(!this.parameters.sitekey,this.auth,"argument-error"),Wt(this.isInvisible||!this.container.hasChildNodes(),this.auth,"argument-error"),Wt(typeof document<"u",this.auth,"operation-not-supported-in-this-environment")}makeTokenCallback(S){return M=>{if(this.tokenChangeListeners.forEach(k=>k(M)),"function"==typeof S)S(M);else if("string"==typeof S){const k=Zs()[S];"function"==typeof k&&k(M)}}}assertNotDestroyed(){Wt(!this.destroyed,this.auth,"internal-error")}makeRenderPromise(){var S=this;return(0,pe.Z)(function*(){if(yield S.init(),!S.widgetId){let M=S.container;if(!S.isInvisible){const k=document.createElement("div");M.appendChild(k),M=k}S.widgetId=S.getAssertedRecaptcha().render(M,S.parameters)}return S.widgetId})()}init(){var S=this;return(0,pe.Z)(function*(){Wt(Ys()&&!es(),S.auth,"internal-error"),yield function GZ(){let I=null;return new Promise(S=>{"complete"!==document.readyState?(I=()=>S(),window.addEventListener("load",I)):S()}).catch(S=>{throw I&&window.removeEventListener("load",I),S})}(),S.recaptcha=yield S._recaptchaLoader.load(S.auth,S.auth.languageCode||void 0);const M=yield function or(I){return jl.apply(this,arguments)}(S.auth);Wt(M,S.auth,"internal-error"),S.parameters.sitekey=M})()}getAssertedRecaptcha(){return Wt(this.recaptcha,this.auth,"internal-error"),this.recaptcha}}class F2{constructor(S,M){this.verificationId=S,this.onConfirmation=M}confirm(S){const M=Ag._fromVerification(this.verificationId,S);return this.onConfirmation(M)}}function zZ(I,S,M){return nC.apply(this,arguments)}function nC(){return(nC=(0,pe.Z)(function*(I,S,M){const k=$s(I),j=yield Uw(k,S,(0,dt.m9)(M));return new F2(j,J=>tx(k,J))})).apply(this,arguments)}function B2(I,S,M){return $2.apply(this,arguments)}function $2(){return($2=(0,pe.Z)(function*(I,S,M){const k=(0,dt.m9)(I);yield Jy(!1,k,"phone");const j=yield Uw(k.auth,S,(0,dt.m9)(M));return new F2(j,J=>Pr(k,J))})).apply(this,arguments)}function HZ(I,S,M){return L2.apply(this,arguments)}function L2(){return(L2=(0,pe.Z)(function*(I,S,M){const k=(0,dt.m9)(I),j=yield Uw(k.auth,S,(0,dt.m9)(M));return new F2(j,J=>eW(k,J))})).apply(this,arguments)}function Uw(I,S,M){return kg.apply(this,arguments)}function kg(){return kg=(0,pe.Z)(function*(I,S,M){var k;const j=yield M.verify();try{let J;if(Wt("string"==typeof j,I,"argument-error"),Wt(M.type===mW,I,"argument-error"),J="string"==typeof S?{phoneNumber:S}:S,"session"in J){const Ie=J.session;if("phoneNumber"in J)return Wt("enroll"===Ie.type,I,"internal-error"),(yield function xl(I,S){return Ni(I,"POST","/v2/accounts/mfaEnrollment:start",si(I,S))}(I,{idToken:Ie.credential,phoneEnrollmentInfo:{phoneNumber:J.phoneNumber,recaptchaToken:j}})).phoneSessionInfo.sessionInfo;{Wt("signin"===Ie.type,I,"internal-error");const et=(null===(k=J.multiFactorHint)||void 0===k?void 0:k.uid)||J.multiFactorUid;return Wt(et,I,"missing-multi-factor-info"),(yield function iC(I,S){return Ni(I,"POST","/v2/accounts/mfaSignIn:start",si(I,S))}(I,{mfaPendingCredential:Ie.credential,mfaEnrollmentId:et,phoneSignInInfo:{recaptchaToken:j}})).phoneResponseInfo.sessionInfo}}{const{sessionInfo:Ie}=yield function Xy(I,S){return KD.apply(this,arguments)}(I,{phoneNumber:J.phoneNumber,recaptchaToken:j});return Ie}}finally{M._reset()}}),kg.apply(this,arguments)}function V2(I,S){return pr.apply(this,arguments)}function pr(){return(pr=(0,pe.Z)(function*(I,S){yield y_((0,dt.m9)(I),S)})).apply(this,arguments)}let N2=(()=>{class I{constructor(M){this.providerId=I.PROVIDER_ID,this.auth=$s(M)}verifyPhoneNumber(M,k){return Uw(this.auth,M,(0,dt.m9)(k))}static credential(M,k){return Ag._fromVerification(M,k)}static credentialFromResult(M){return I.credentialFromTaggedObject(M)}static credentialFromError(M){return I.credentialFromTaggedObject(M.customData||{})}static credentialFromTaggedObject({_tokenResponse:M}){if(!M)return null;const{phoneNumber:k,temporaryProof:j}=M;return k&&j?Ag._fromTokenResponse(k,j):null}}return I.PROVIDER_ID="phone",I.PHONE_SIGN_IN_METHOD="phone",I})();function Ym(I,S){return S?ie(S):(Wt(I._popupRedirectResolver,I,"argument-error"),I._popupRedirectResolver)}class Xw extends Ta{constructor(S){super("custom","custom"),this.params=S}_getIdTokenResponse(S){return Wh(S,this._buildIdpRequest())}_linkToIdToken(S,M){return Wh(S,this._buildIdpRequest(M))}_getReauthenticationResolver(S){return Wh(S,this._buildIdpRequest())}_buildIdpRequest(S){const M={requestUri:this.params.requestUri,sessionId:this.params.sessionId,postBody:this.params.postBody,tenantId:this.params.tenantId,pendingToken:this.params.pendingToken,returnSecureToken:!0,returnIdpCredential:!0};return S&&(M.idToken=S),M}}function O2(I){return Rw(I.auth,new Xw(I),I.bypassAuthState)}function W2(I){const{auth:S,user:M}=I;return Wt(M,S,"internal-error"),aa(M,new Xw(I),I.bypassAuthState)}function fW(I){return px.apply(this,arguments)}function px(){return(px=(0,pe.Z)(function*(I){const{auth:S,user:M}=I;return Wt(M,S,"internal-error"),y_(M,new Xw(I),I.bypassAuthState)})).apply(this,arguments)}class j2{constructor(S,M,k,j,J=!1){this.auth=S,this.resolver=k,this.user=j,this.bypassAuthState=J,this.pendingPromise=null,this.eventManager=null,this.filter=Array.isArray(M)?M:[M]}execute(){var S=this;return new Promise(function(){var M=(0,pe.Z)(function*(k,j){S.pendingPromise={resolve:k,reject:j};try{S.eventManager=yield S.resolver._initialize(S.auth),yield S.onExecution(),S.eventManager.registerConsumer(S)}catch(J){S.reject(J)}});return function(k,j){return M.apply(this,arguments)}}())}onAuthEvent(S){var M=this;return(0,pe.Z)(function*(){const{urlResponse:k,sessionId:j,postBody:J,tenantId:Ie,error:et,type:wt}=S;if(et)return void M.reject(et);const li={auth:M.auth,requestUri:k,sessionId:j,tenantId:Ie||void 0,postBody:J||void 0,user:M.user,bypassAuthState:M.bypassAuthState};try{M.resolve(yield M.getIdpTask(wt)(li))}catch(Ei){M.reject(Ei)}})()}onError(S){this.reject(S)}getIdpTask(S){switch(S){case"signInViaPopup":case"signInViaRedirect":return O2;case"linkViaPopup":case"linkViaRedirect":return fW;case"reauthViaPopup":case"reauthViaRedirect":return W2;default:ur(this.auth,"internal-error")}}resolve(S){zo(this.pendingPromise,"Pending promise was never set"),this.pendingPromise.resolve(S),this.unregisterAndCleanUp()}reject(S){zo(this.pendingPromise,"Pending promise was never set"),this.pendingPromise.reject(S),this.unregisterAndCleanUp()}unregisterAndCleanUp(){this.eventManager&&this.eventManager.unregisterConsumer(this),this.pendingPromise=null,this.cleanUp()}}const Od=new _t(2e3,1e4);function G2(I,S,M){return aC.apply(this,arguments)}function aC(){return(aC=(0,pe.Z)(function*(I,S,M){const k=$s(I);yr(I,S,Ap);const j=Ym(k,M);return new Yw(k,"signInViaPopup",S,j).executeNotNull()})).apply(this,arguments)}function Wr(I,S,M){return mx.apply(this,arguments)}function mx(){return(mx=(0,pe.Z)(function*(I,S,M){const k=(0,dt.m9)(I);yr(k.auth,S,Ap);const j=Ym(k.auth,M);return new Yw(k.auth,"reauthViaPopup",S,j,k).executeNotNull()})).apply(this,arguments)}function fx(I,S,M){return Dl.apply(this,arguments)}function Dl(){return(Dl=(0,pe.Z)(function*(I,S,M){const k=(0,dt.m9)(I);yr(k.auth,S,Ap);const j=Ym(k.auth,M);return new Yw(k.auth,"linkViaPopup",S,j,k).executeNotNull()})).apply(this,arguments)}let Yw=(()=>{class I extends j2{constructor(M,k,j,J,Ie){super(M,k,J,Ie),this.provider=j,this.authWindow=null,this.pollId=null,I.currentPopupAction&&I.currentPopupAction.cancel(),I.currentPopupAction=this}executeNotNull(){var M=this;return(0,pe.Z)(function*(){const k=yield M.execute();return Wt(k,M.auth,"internal-error"),k})()}onExecution(){var M=this;return(0,pe.Z)(function*(){zo(1===M.filter.length,"Popup operations only handle one event");const k=gn();M.authWindow=yield M.resolver._openPopup(M.auth,M.provider,M.filter[0],k),M.authWindow.associatedEvent=k,M.resolver._originValidation(M.auth).catch(j=>{M.reject(j)}),M.resolver._isIframeWebStorageSupported(M.auth,j=>{j||M.reject(dn(M.auth,"web-storage-unsupported"))}),M.pollUserCancellation()})()}get eventId(){var M;return(null===(M=this.authWindow)||void 0===M?void 0:M.associatedEvent)||null}cancel(){this.reject(dn(this.auth,"cancelled-popup-request"))}cleanUp(){this.authWindow&&this.authWindow.close(),this.pollId&&window.clearTimeout(this.pollId),this.authWindow=null,this.pollId=null,I.currentPopupAction=null}pollUserCancellation(){const M=()=>{var k,j;this.pollId=null!==(j=null===(k=this.authWindow)||void 0===k?void 0:k.window)&&void 0!==j&&j.closed?window.setTimeout(()=>{this.pollId=null,this.reject(dn(this.auth,"popup-closed-by-user"))},8e3):window.setTimeout(M,Od.get())};M()}}return I.currentPopupAction=null,I})();const _x="pendingRedirect",Wd=new Map;class Pc extends j2{constructor(S,M,k=!1){super(S,["signInViaRedirect","linkViaRedirect","reauthViaRedirect","unknown"],M,void 0,k),this.eventId=null}execute(){var S=()=>super.execute,M=this;return(0,pe.Z)(function*(){let k=Wd.get(M.auth._key());if(!k){try{const J=(yield function _W(I,S){return bx.apply(this,arguments)}(M.resolver,M.auth))?yield S().call(M):null;k=()=>Promise.resolve(J)}catch(j){k=()=>Promise.reject(j)}Wd.set(M.auth._key(),k)}return M.bypassAuthState||Wd.set(M.auth._key(),()=>Promise.resolve(null)),k()})()}onAuthEvent(S){var M=()=>super.onAuthEvent,k=this;return(0,pe.Z)(function*(){if("signInViaRedirect"===S.type)return M().call(k,S);if("unknown"!==S.type){if(S.eventId){const j=yield k.auth._redirectUserForId(S.eventId);if(j)return k.user=j,M().call(k,S);k.resolve(null)}}else k.resolve(null)})()}onExecution(){return(0,pe.Z)(function*(){})()}cleanUp(){}}function bx(){return(bx=(0,pe.Z)(function*(I,S){const M=Qw(S),k=Zw(I);if(!(yield k._isAvailable()))return!1;const j="true"===(yield k._get(M));return yield k._remove(M),j})).apply(this,arguments)}function Kw(I,S){return dh.apply(this,arguments)}function dh(){return(dh=(0,pe.Z)(function*(I,S){return Zw(I)._set(Qw(S),"true")})).apply(this,arguments)}function z2(){Wd.clear()}function H2(I,S){Wd.set(I._key(),S)}function Zw(I){return ie(I._redirectPersistence)}function Qw(I){return nt(_x,I.config.apiKey,I.name)}function rC(I,S,M){return function sC(I,S,M){return yx.apply(this,arguments)}(I,S,M)}function yx(){return(yx=(0,pe.Z)(function*(I,S,M){const k=$s(I);yr(I,S,Ap),yield k._initializationPromise;const j=Ym(k,M);return yield Kw(j,k),j._openRedirect(k,S,"signInViaRedirect")})).apply(this,arguments)}function _n(I,S,M){return function q2(I,S,M){return U2.apply(this,arguments)}(I,S,M)}function U2(){return(U2=(0,pe.Z)(function*(I,S,M){const k=(0,dt.m9)(I);yr(k.auth,S,Ap),yield k.auth._initializationPromise;const j=Ym(k.auth,M);yield Kw(j,k.auth);const J=yield Y2(k);return j._openRedirect(k.auth,S,"reauthViaRedirect",J)})).apply(this,arguments)}function bW(I,S,M){return function yW(I,S,M){return Jw.apply(this,arguments)}(I,S,M)}function Jw(){return(Jw=(0,pe.Z)(function*(I,S,M){const k=(0,dt.m9)(I);yr(k.auth,S,Ap),yield k.auth._initializationPromise;const j=Ym(k.auth,M);yield Jy(!1,k,S.providerId),yield Kw(j,k.auth);const J=yield Y2(k);return j._openRedirect(k.auth,S,"linkViaRedirect",J)})).apply(this,arguments)}function X2(I,S){return $p.apply(this,arguments)}function $p(){return($p=(0,pe.Z)(function*(I,S){return yield $s(I)._initializationPromise,eT(I,S,!1)})).apply(this,arguments)}function eT(I,S){return tT.apply(this,arguments)}function tT(){return(tT=(0,pe.Z)(function*(I,S,M=!1){const k=$s(I),j=Ym(k,S),Ie=yield new Pc(k,j,M).execute();return Ie&&!M&&(delete Ie.user._redirectEventId,yield k._persistUserIfCurrent(Ie.user),yield k._setRedirectUser(null,S)),Ie})).apply(this,arguments)}function Y2(I){return iT.apply(this,arguments)}function iT(){return(iT=(0,pe.Z)(function*(I){const S=gn(`${I.uid}:::`);return I._redirectEventId=S,yield I.auth._setRedirectUser(I),yield I.auth._persistUserIfCurrent(I),S})).apply(this,arguments)}class St{constructor(S){this.auth=S,this.cachedEventUids=new Set,this.consumers=new Set,this.queuedRedirectEvent=null,this.hasHandledPotentialRedirect=!1,this.lastProcessedEventTime=Date.now()}registerConsumer(S){this.consumers.add(S),this.queuedRedirectEvent&&this.isEventForConsumer(this.queuedRedirectEvent,S)&&(this.sendToConsumer(this.queuedRedirectEvent,S),this.saveEventToCache(this.queuedRedirectEvent),this.queuedRedirectEvent=null)}unregisterConsumer(S){this.consumers.delete(S)}onEvent(S){if(this.hasEventBeenHandled(S))return!1;let M=!1;return this.consumers.forEach(k=>{this.isEventForConsumer(S,k)&&(M=!0,this.sendToConsumer(S,k),this.saveEventToCache(S))}),this.hasHandledPotentialRedirect||!function K(I){switch(I.type){case"signInViaRedirect":case"linkViaRedirect":case"reauthViaRedirect":return!0;case"unknown":return Y(I);default:return!1}}(S)||(this.hasHandledPotentialRedirect=!0,M||(this.queuedRedirectEvent=S,M=!0)),M}sendToConsumer(S,M){var k;if(S.error&&!Y(S)){const j=(null===(k=S.error.code)||void 0===k?void 0:k.split("auth/")[1])||"internal-error";M.onError(dn(this.auth,j))}else M.onAuthEvent(S)}isEventForConsumer(S,M){const k=null===M.eventId||!!S.eventId&&S.eventId===M.eventId;return M.filter.includes(S.type)&&k}hasEventBeenHandled(S){return Date.now()-this.lastProcessedEventTime>=6e5&&this.cachedEventUids.clear(),this.cachedEventUids.has(ba(S))}saveEventToCache(S){this.cachedEventUids.add(ba(S)),this.lastProcessedEventTime=Date.now()}}function ba(I){return[I.type,I.eventId,I.sessionId,I.tenantId].filter(S=>S).join("-")}function Y({type:I,error:S}){return"unknown"===I&&"auth/no-auth-event"===S?.code}function mr(I){return oC.apply(this,arguments)}function oC(){return(oC=(0,pe.Z)(function*(I,S={}){return Ni(I,"GET","/v1/projects",S)})).apply(this,arguments)}const xx=/^\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}$/,jd=/^https?/;function Sx(){return(Sx=(0,pe.Z)(function*(I){if(I.config.emulator)return;const{authorizedDomains:S}=yield mr(I);for(const M of S)try{if(SW(M))return}catch{}ur(I,"unauthorized-domain")})).apply(this,arguments)}function SW(I){const S=gu(),{protocol:M,hostname:k}=new URL(S);if(I.startsWith("chrome-extension://")){const Ie=new URL(I);return""===Ie.hostname&&""===k?"chrome-extension:"===M&&I.replace("chrome-extension://","")===S.replace("chrome-extension://",""):"chrome-extension:"===M&&Ie.hostname===k}if(!jd.test(M))return!1;if(xx.test(I))return k===I;const j=I.replace(/\./g,"\\.");return new RegExp("^(.+\\."+j+"|"+j+")$","i").test(k)}const qZ=new _t(3e4,6e4);function aT(){const I=Zs().___jsl;if(I?.H)for(const S of Object.keys(I.H))if(I.H[S].r=I.H[S].r||[],I.H[S].L=I.H[S].L||[],I.H[S].r=[...I.H[S].L],I.CP)for(let M=0;M{var k,j,J;function Ie(){aT(),gapi.load("gapi.iframes",{callback:()=>{S(gapi.iframes.getContext())},ontimeout:()=>{aT(),M(dn(I,"network-request-failed"))},timeout:qZ.get()})}if(null!==(j=null===(k=Zs().gapi)||void 0===k?void 0:k.iframes)&&void 0!==j&&j.Iframe)S(gapi.iframes.getContext());else{if(null===(J=Zs().gapi)||void 0===J||!J.load){const et=H3("iframefcb");return Zs()[et]=()=>{gapi.load?Ie():M(dn(I,"network-request-failed"))},ch(`https://apis.google.com/js/api.js?onload=${et}`).catch(wt=>M(wt))}Ie()}}).catch(S=>{throw gh=null,S})}(I),gh}(I),M=Zs().gapi;return Wt(M,I,"internal-error"),S.open({where:document.body,url:vW(I),messageHandlersFilter:M.iframes.CROSS_ORIGIN_IFRAMES_FILTER,attributes:Z2,dontclear:!0},k=>new Promise(function(){var j=(0,pe.Z)(function*(J,Ie){yield k.restyle({setHideOnLeave:!1});const et=dn(I,"network-request-failed"),wt=Zs().setTimeout(()=>{Ie(et)},Gd.get());function li(){Zs().clearTimeout(wt),J(k)}k.ping(li).then(li,()=>{Ie(et)})});return function(J,Ie){return j.apply(this,arguments)}}()))}),Dx.apply(this,arguments)}const Q2={location:"yes",resizable:"yes",statusbar:"yes",toolbar:"no"};class lT{constructor(S){this.window=S,this.associatedEvent=null}close(){if(this.window)try{this.window.close()}catch{}}}const iR="__/auth/handler",uT="emulator/auth/handler",wW=encodeURIComponent("fac");function Cl(I,S,M,k,j,J){return Rg.apply(this,arguments)}function Rg(){return(Rg=(0,pe.Z)(function*(I,S,M,k,j,J){Wt(I.config.authDomain,I,"auth-domain-config-required"),Wt(I.config.apiKey,I,"invalid-api-key");const Ie={apiKey:I.config.apiKey,appName:I.name,authType:M,redirectUrl:k,v:We.SDK_VERSION,eventId:j};if(S instanceof Ap){S.setDefaultLanguage(I.languageCode),Ie.providerId=S.providerId||"",(0,dt.xb)(S.getCustomParameters())||(Ie.customParameters=JSON.stringify(S.getCustomParameters()));for(const[Ei,ya]of Object.entries(J||{}))Ie[Ei]=ya}if(S instanceof Ky){const Ei=S.getScopes().filter(ya=>""!==ya);Ei.length>0&&(Ie.scopes=Ei.join(","))}I.tenantId&&(Ie.tid=I.tenantId);const et=Ie;for(const Ei of Object.keys(et))void 0===et[Ei]&&delete et[Ei];const wt=yield I._getAppCheckToken(),li=wt?`#${wW}=${encodeURIComponent(wt)}`:"";return`${function ts({config:I}){return I.emulator?vt(I,uT):`https://${I.authDomain}/${iR}`}(I)}?${(0,dt.xO)(et).slice(1)}${li}`})).apply(this,arguments)}const zd="webStorageSupport",Cx=class TW{constructor(){this.eventManagers={},this.iframes={},this.originValidationPromises={},this._redirectPersistence=xr,this._completeRedirectFn=eT,this._overrideRedirectResult=H2}_openPopup(S,M,k,j){var J=this;return(0,pe.Z)(function*(){var Ie;zo(null===(Ie=J.eventManagers[S._key()])||void 0===Ie?void 0:Ie.manager,"_initialize() not called before _openPopup()");const et=yield Cl(S,M,k,gu(),j);return function eR(I,S,M,k=500,j=600){const J=Math.max((window.screen.availHeight-j)/2,0).toString(),Ie=Math.max((window.screen.availWidth-k)/2,0).toString();let et="";const wt=Object.assign(Object.assign({},Q2),{width:k.toString(),height:j.toString(),top:J,left:Ie}),li=(0,dt.z$)().toLowerCase();M&&(et=xn(li)?"_blank":M),Rt(li)&&(S=S||"http://localhost",wt.scrollbars="yes");const Ei=Object.entries(wt).reduce((xu,[Pg,uC])=>`${xu}${Pg}=${uC},`,"");if(function Gt(I=(0,dt.z$)()){var S;return bt(I)&&!(null===(S=window.navigator)||void 0===S||!S.standalone)}(li)&&"_self"!==et)return function tR(I,S){const M=document.createElement("a");M.href=I,M.target=S;const k=document.createEvent("MouseEvent");k.initMouseEvent("click",!0,!0,window,1,0,0,0,0,!1,!1,!1,!1,1,null),M.dispatchEvent(k)}(S||"",et),new lT(null);const ya=window.open(S||"",et,Ei);Wt(ya,I,"popup-blocked");try{ya.focus()}catch{}return new lT(ya)}(S,et,gn())})()}_openRedirect(S,M,k,j){var J=this;return(0,pe.Z)(function*(){return yield J._originValidation(S),function M_(I){Zs().location.href=I}(yield Cl(S,M,k,gu(),j)),new Promise(()=>{})})()}_initialize(S){const M=S._key();if(this.eventManagers[M]){const{manager:j,promise:J}=this.eventManagers[M];return j?Promise.resolve(j):(zo(J,"If manager is not set, promise should be"),J)}const k=this.initAndGetManager(S);return this.eventManagers[M]={promise:k},k.catch(()=>{delete this.eventManagers[M]}),k}initAndGetManager(S){var M=this;return(0,pe.Z)(function*(){const k=yield function rT(I){return Dx.apply(this,arguments)}(S),j=new St(S);return k.register("authEvent",J=>(Wt(J?.authEvent,S,"invalid-auth-event"),{status:j.onEvent(J.authEvent)?"ACK":"ERROR"}),gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER),M.eventManagers[S._key()]={manager:j},M.iframes[S._key()]=k,j})()}_isIframeWebStorageSupported(S,M){this.iframes[S._key()].send(zd,{type:zd},j=>{var J;const Ie=null===(J=j?.[0])||void 0===J?void 0:J[zd];void 0!==Ie&&M(!!Ie),ur(S,"internal-error")},gapi.iframes.CROSS_ORIGIN_IFRAMES_FILTER)}_originValidation(S){const M=S._key();return this.originValidationPromises[M]||(this.originValidationPromises[M]=function nT(I){return Sx.apply(this,arguments)}(S)),this.originValidationPromises[M]}get _shouldInitProactively(){return Pi()||Ya()||bt()}};class IW{constructor(S){this.factorId=S}_process(S,M,k){switch(M.type){case"enroll":return this._finalizeEnroll(S,M.credential,k);case"signin":return this._finalizeSignIn(S,M.credential);default:return Xs("unexpected MultiFactorSessionType")}}}class lC extends IW{constructor(S){super("phone"),this.credential=S}static _fromCredential(S){return new lC(S)}_finalizeEnroll(S,M,k){return function Ep(I,S){return Ni(I,"POST","/v2/accounts/mfaEnrollment:finalize",si(I,S))}(S,{idToken:M,displayName:k,phoneVerificationInfo:this.credential._makeVerificationRequest()})}_finalizeSignIn(S,M){return function Xh(I,S){return Ni(I,"POST","/v2/accounts/mfaSignIn:finalize",si(I,S))}(S,{mfaPendingCredential:M,phoneVerificationInfo:this.credential._makeVerificationRequest()})}}let nR=(()=>{class I{constructor(){}static assertion(M){return lC._fromCredential(M)}}return I.FACTOR_ID="phone",I})();var vx="@firebase/auth";class hT{constructor(S){this.auth=S,this.internalListeners=new Map}getUid(){var S;return this.assertAuthConfigured(),(null===(S=this.auth.currentUser)||void 0===S?void 0:S.uid)||null}getToken(S){var M=this;return(0,pe.Z)(function*(){return M.assertAuthConfigured(),yield M.auth._initializationPromise,M.auth.currentUser?{accessToken:yield M.auth.currentUser.getIdToken(S)}:null})()}addAuthTokenListener(S){if(this.assertAuthConfigured(),this.internalListeners.has(S))return;const M=this.auth.onIdTokenChanged(k=>{S(k?.stsTokenManager.accessToken||null)});this.internalListeners.set(S,M),this.updateProactiveRefresh()}removeAuthTokenListener(S){this.assertAuthConfigured();const M=this.internalListeners.get(S);M&&(this.internalListeners.delete(S),M(),this.updateProactiveRefresh())}assertAuthConfigured(){Wt(this.auth._initializationPromise,"dependent-sdk-initialized-before-auth")}updateProactiveRefresh(){this.internalListeners.size>0?this.auth._startProactiveRefresh():this.auth._stopProactiveRefresh()}}(0,dt.Pz)("authIdTokenMaxAge"),function sR(I){(0,We._registerComponent)(new Mn.wA("auth",(S,{options:M})=>{const k=S.getProvider("app").getImmediate(),j=S.getProvider("heartbeat"),J=S.getProvider("app-check-internal"),{apiKey:Ie,authDomain:et}=k.options;Wt(Ie&&!Ie.includes(":"),"invalid-api-key",{appName:k.name});const wt={apiKey:Ie,authDomain:et,clientPlatform:I,apiHost:"identitytoolkit.googleapis.com",tokenApiHost:"securetoken.googleapis.com",apiScheme:"https",sdkClientVersion:gr(I)},li=new Tg(k,j,J,wt);return function X3(I,S){const M=S?.persistence||[],k=(Array.isArray(M)?M:[M]).map(ie);S?.errorMap&&I._updateErrorMap(S.errorMap),I._initializeWithPersistence(k,S?.popupRedirectResolver)}(li,M),li},"PUBLIC").setInstantiationMode("EXPLICIT").setInstanceCreatedCallback((S,M,k)=>{S.getProvider("auth-internal").initialize()})),(0,We._registerComponent)(new Mn.wA("auth-internal",S=>{const M=$s(S.getProvider("auth").getImmediate());return new hT(M)},"PRIVATE").setInstantiationMode("EXPLICIT")),(0,We.registerVersion)(vx,"1.3.0",function rR(I){switch(I){case"Node":return"node";case"ReactNative":return"rn";case"Worker":return"webworker";case"Cordova":return"cordova";default:return}}(I)),(0,We.registerVersion)(vx,"1.3.0","esm2017")}("Browser")},9058:(kd,wo,en)=>{en.d(wo,{BH:()=>Io,DV:()=>or,Dv:()=>sh,G6:()=>Rd,GJ:()=>ho,L:()=>kr,LL:()=>Qt,Pz:()=>fl,Sg:()=>ur,UG:()=>yr,UI:()=>$h,US:()=>Mn,Wj:()=>qo,Wl:()=>tn,Yr:()=>Ed,ZB:()=>$i,ZR:()=>ii,aH:()=>Er,b$:()=>Xs,cI:()=>ss,dS:()=>oh,eu:()=>_t,g5:()=>We,gK:()=>Fd,gQ:()=>Ho,h$:()=>Vr,hl:()=>gt,hu:()=>dt,jU:()=>_l,lb:()=>os,m9:()=>Nh,ne:()=>mu,p$:()=>Nt,pd:()=>wg,r3:()=>Qr,ru:()=>Wt,tV:()=>kt,uI:()=>co,ug:()=>Vh,vZ:()=>Lh,w1:()=>gu,w9:()=>Fs,xO:()=>Mg,xb:()=>jl,z$:()=>dn,zd:()=>mn});const pe={NODE_CLIENT:!1,NODE_ADMIN:!1,SDK_VERSION:"${JSCORE_VERSION}"},dt=function(Me,_e){if(!Me)throw We(_e)},We=function(Me){return new Error("Firebase Database ("+pe.SDK_VERSION+") INTERNAL ASSERT FAILED: "+Me)},Bi=function(Me){const _e=[];let Z=0;for(let ie=0;ie>6|192,_e[Z++]=63&ee|128):55296==(64512&ee)&&ie+1>18|240,_e[Z++]=ee>>12&63|128,_e[Z++]=ee>>6&63|128,_e[Z++]=63&ee|128):(_e[Z++]=ee>>12|224,_e[Z++]=ee>>6&63|128,_e[Z++]=63&ee|128)}return _e},Mn={byteToCharMap_:null,charToByteMap_:null,byteToCharMapWebSafe_:null,charToByteMapWebSafe_:null,ENCODED_VALS_BASE:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",get ENCODED_VALS(){return this.ENCODED_VALS_BASE+"+/="},get ENCODED_VALS_WEBSAFE(){return this.ENCODED_VALS_BASE+"-_."},HAS_NATIVE_SUPPORT:"function"==typeof atob,encodeByteArray(Me,_e){if(!Array.isArray(Me))throw Error("encodeByteArray takes an array as a parameter");this.init_();const Z=_e?this.byteToCharMapWebSafe_:this.byteToCharMap_,ie=[];for(let ee=0;ee>6,Nn=63&Rt;Et||(Nn=64,nt||(Or=64)),ie.push(Z[Be>>2],Z[(3&Be)<<4|yi>>4],Z[Or],Z[Nn])}return ie.join("")},encodeString(Me,_e){return this.HAS_NATIVE_SUPPORT&&!_e?btoa(Me):this.encodeByteArray(Bi(Me),_e)},decodeString(Me,_e){return this.HAS_NATIVE_SUPPORT&&!_e?atob(Me):function(Me){const _e=[];let Z=0,ie=0;for(;Z191&&ee<224){const Be=Me[Z++];_e[ie++]=String.fromCharCode((31&ee)<<6|63&Be)}else if(ee>239&&ee<365){const Et=((7&ee)<<18|(63&Me[Z++])<<12|(63&Me[Z++])<<6|63&Me[Z++])-65536;_e[ie++]=String.fromCharCode(55296+(Et>>10)),_e[ie++]=String.fromCharCode(56320+(1023&Et))}else{const Be=Me[Z++],nt=Me[Z++];_e[ie++]=String.fromCharCode((15&ee)<<12|(63&Be)<<6|63&nt)}}return _e.join("")}(this.decodeStringToByteArray(Me,_e))},decodeStringToByteArray(Me,_e){this.init_();const Z=_e?this.charToByteMapWebSafe_:this.charToByteMap_,ie=[];for(let ee=0;ee>4),64!==Rt&&(ie.push(yi<<4&240|Rt>>2),64!==xn&&ie.push(Rt<<6&192|xn))}return ie},init_(){if(!this.byteToCharMap_){this.byteToCharMap_={},this.charToByteMap_={},this.byteToCharMapWebSafe_={},this.charToByteMapWebSafe_={};for(let Me=0;Me=this.ENCODED_VALS_BASE.length&&(this.charToByteMap_[this.ENCODED_VALS_WEBSAFE.charAt(Me)]=Me,this.charToByteMapWebSafe_[this.ENCODED_VALS.charAt(Me)]=Me)}}};class To extends Error{constructor(){super(...arguments),this.name="DecodeBase64StringError"}}const Vr=function(Me){const _e=Bi(Me);return Mn.encodeByteArray(_e,!0)},kr=function(Me){return Vr(Me).replace(/\./g,"")},kt=function(Me){try{return Mn.decodeString(Me,!0)}catch(_e){console.error("base64Decode failed: ",_e)}return null};function Nt(Me){return $i(void 0,Me)}function $i(Me,_e){if(!(_e instanceof Object))return _e;switch(_e.constructor){case Date:return new Date(_e.getTime());case Object:void 0===Me&&(Me={});break;case Array:Me=[];break;default:return _e}for(const Z in _e)!_e.hasOwnProperty(Z)||!An(Z)||(Me[Z]=$i(Me[Z],_e[Z]));return Me}function An(Me){return"__proto__"!==Me}const jn=()=>{try{return function Ma(){if(typeof self<"u")return self;if(typeof window<"u")return window;if(typeof global<"u")return global;throw new Error("Unable to locate global object.")}().__FIREBASE_DEFAULTS__||(()=>{if(typeof process>"u"||typeof process.env>"u")return;const Me=process.env.__FIREBASE_DEFAULTS__;return Me?JSON.parse(Me):void 0})()||(()=>{if(typeof document>"u")return;let Me;try{Me=document.cookie.match(/__FIREBASE_DEFAULTS__=([^;]+)/)}catch{return}const _e=Me&&kt(Me[1]);return _e&&JSON.parse(_e)})()}catch(Me){return void console.info(`Unable to get __FIREBASE_DEFAULTS__ due to: ${Me}`)}},Er=()=>{var Me;return null===(Me=jn())||void 0===Me?void 0:Me.config},fl=Me=>{var _e;return null===(_e=jn())||void 0===_e?void 0:_e[`_${Me}`]};class Io{constructor(){this.reject=()=>{},this.resolve=()=>{},this.promise=new Promise((_e,Z)=>{this.resolve=_e,this.reject=Z})}wrapCallback(_e){return(Z,ie)=>{Z?this.reject(Z):this.resolve(ie),"function"==typeof _e&&(this.promise.catch(()=>{}),1===_e.length?_e(Z):_e(Z,ie))}}}function ur(Me,_e){if(Me.uid)throw new Error('The "uid" field is no longer supported by mockUserToken. Please use "sub" instead for Firebase Auth User ID.');const ie=_e||"demo-project",ee=Me.iat||0,Be=Me.sub||Me.user_id;if(!Be)throw new Error("mockUserToken must contain 'sub' or 'user_id' field!");const nt=Object.assign({iss:`https://securetoken.google.com/${ie}`,aud:ie,iat:ee,exp:ee+3600,auth_time:ee,sub:Be,user_id:Be,firebase:{sign_in_provider:"custom",identities:{}}},Me);return[kr(JSON.stringify({alg:"none",type:"JWT"})),kr(JSON.stringify(nt)),""].join(".")}function dn(){return typeof navigator<"u"&&"string"==typeof navigator.userAgent?navigator.userAgent:""}function co(){return typeof window<"u"&&!!(window.cordova||window.phonegap||window.PhoneGap)&&/ios|iphone|ipod|ipad|android|blackberry|iemobile/i.test(dn())}function yr(){var Me;const _e=null===(Me=jn())||void 0===Me?void 0:Me.forceEnvironment;if("node"===_e)return!0;if("browser"===_e)return!1;try{return"[object process]"===Object.prototype.toString.call(global.process)}catch{return!1}}function _l(){return"object"==typeof self&&self.self===self}function Wt(){const Me="object"==typeof chrome?chrome.runtime:"object"==typeof browser?browser.runtime:void 0;return"object"==typeof Me&&void 0!==Me.id}function Xs(){return"object"==typeof navigator&&"ReactNative"===navigator.product}function gu(){const Me=dn();return Me.indexOf("MSIE ")>=0||Me.indexOf("Trident/")>=0}function Ed(){return!0===pe.NODE_CLIENT||!0===pe.NODE_ADMIN}function Rd(){return!yr()&&navigator.userAgent.includes("Safari")&&!navigator.userAgent.includes("Chrome")}function gt(){try{return"object"==typeof indexedDB}catch{return!1}}function _t(){return new Promise((Me,_e)=>{try{let Z=!0;const ie="validate-browser-context-for-indexeddb-analytics-module",ee=self.indexedDB.open(ie);ee.onsuccess=()=>{ee.result.close(),Z||self.indexedDB.deleteDatabase(ie),Me(!0)},ee.onupgradeneeded=()=>{Z=!1},ee.onerror=()=>{var Be;_e((null===(Be=ee.error)||void 0===Be?void 0:Be.message)||"")}}catch(Z){_e(Z)}})}class ii extends Error{constructor(_e,Z,ie){super(Z),this.code=_e,this.customData=ie,this.name="FirebaseError",Object.setPrototypeOf(this,ii.prototype),Error.captureStackTrace&&Error.captureStackTrace(this,Qt.prototype.create)}}class Qt{constructor(_e,Z,ie){this.service=_e,this.serviceName=Z,this.errors=ie}create(_e,...Z){const ie=Z[0]||{},ee=`${this.service}/${_e}`,Be=this.errors[_e],nt=Be?function si(Me,_e){return Me.replace(Ni,(Z,ie)=>{const ee=_e[ie];return null!=ee?String(ee):`<${ie}?>`})}(Be,ie):"Error";return new ii(ee,`${this.serviceName}: ${nt} (${ee}).`,ie)}}const Ni=/\{\$([^}]+)}/g;function ss(Me){return JSON.parse(Me)}function tn(Me){return JSON.stringify(Me)}const La=function(Me){let _e={},Z={},ie={},ee="";try{const Be=Me.split(".");_e=ss(kt(Be[0])||""),Z=ss(kt(Be[1])||""),ee=Be[2],ie=Z.d||{},delete Z.d}catch{}return{header:_e,claims:Z,data:ie,signature:ee}},Fs=function(Me){const Z=La(Me).claims;return!!Z&&"object"==typeof Z&&Z.hasOwnProperty("iat")},ho=function(Me){const _e=La(Me).claims;return"object"==typeof _e&&!0===_e.admin};function Qr(Me,_e){return Object.prototype.hasOwnProperty.call(Me,_e)}function or(Me,_e){if(Object.prototype.hasOwnProperty.call(Me,_e))return Me[_e]}function jl(Me){for(const _e in Me)if(Object.prototype.hasOwnProperty.call(Me,_e))return!1;return!0}function $h(Me,_e,Z){const ie={};for(const ee in Me)Object.prototype.hasOwnProperty.call(Me,ee)&&(ie[ee]=_e.call(Z,Me[ee],ee,Me));return ie}function Lh(Me,_e){if(Me===_e)return!0;const Z=Object.keys(Me),ie=Object.keys(_e);for(const ee of Z){if(!ie.includes(ee))return!1;const Be=Me[ee],nt=_e[ee];if(Nr(Be)&&Nr(nt)){if(!Lh(Be,nt))return!1}else if(Be!==nt)return!1}for(const ee of ie)if(!Z.includes(ee))return!1;return!0}function Nr(Me){return null!==Me&&"object"==typeof Me}function Mg(Me){const _e=[];for(const[Z,ie]of Object.entries(Me))Array.isArray(ie)?ie.forEach(ee=>{_e.push(encodeURIComponent(Z)+"="+encodeURIComponent(ee))}):_e.push(encodeURIComponent(Z)+"="+encodeURIComponent(ie));return _e.length?"&"+_e.join("&"):""}function mn(Me){const _e={};return Me.replace(/^\?/,"").split("&").forEach(ie=>{if(ie){const[ee,Be]=ie.split("=");_e[decodeURIComponent(ee)]=decodeURIComponent(Be)}}),_e}function wg(Me){const _e=Me.indexOf("?");if(!_e)return"";const Z=Me.indexOf("#",_e);return Me.substring(_e,Z>0?Z:void 0)}class Ho{constructor(){this.chain_=[],this.buf_=[],this.W_=[],this.pad_=[],this.inbuf_=0,this.total_=0,this.blockSize=64,this.pad_[0]=128;for(let _e=1;_e>>31)}let Rt,Ya,ee=this.chain_[0],Be=this.chain_[1],nt=this.chain_[2],yi=this.chain_[3],Et=this.chain_[4];for(let xn=0;xn<80;xn++){xn<40?xn<20?(Rt=yi^Be&(nt^yi),Ya=1518500249):(Rt=Be^nt^yi,Ya=1859775393):xn<60?(Rt=Be&nt|yi&(Be|nt),Ya=2400959708):(Rt=Be^nt^yi,Ya=3395469782);const Or=(ee<<5|ee>>>27)+Rt+Et+Ya+ie[xn]&4294967295;Et=yi,yi=nt,nt=4294967295&(Be<<30|Be>>>2),Be=ee,ee=Or}this.chain_[0]=this.chain_[0]+ee&4294967295,this.chain_[1]=this.chain_[1]+Be&4294967295,this.chain_[2]=this.chain_[2]+nt&4294967295,this.chain_[3]=this.chain_[3]+yi&4294967295,this.chain_[4]=this.chain_[4]+Et&4294967295}update(_e,Z){if(null==_e)return;void 0===Z&&(Z=_e.length);const ie=Z-this.blockSize;let ee=0;const Be=this.buf_;let nt=this.inbuf_;for(;ee=56;ee--)this.buf_[ee]=255&Z,Z/=256;this.compress_(this.buf_);let ie=0;for(let ee=0;ee<5;ee++)for(let Be=24;Be>=0;Be-=8)_e[ie]=this.chain_[ee]>>Be&255,++ie;return _e}}function mu(Me,_e){const Z=new Pd(Me,_e);return Z.subscribe.bind(Z)}class Pd{constructor(_e,Z){this.observers=[],this.unsubscribes=[],this.observerCount=0,this.task=Promise.resolve(),this.finalized=!1,this.onNoObservers=Z,this.task.then(()=>{_e(this)}).catch(ie=>{this.error(ie)})}next(_e){this.forEachObserver(Z=>{Z.next(_e)})}error(_e){this.forEachObserver(Z=>{Z.error(_e)}),this.close(_e)}complete(){this.forEachObserver(_e=>{_e.complete()}),this.close()}subscribe(_e,Z,ie){let ee;if(void 0===_e&&void 0===Z&&void 0===ie)throw new Error("Missing Observer.");ee=function Bs(Me,_e){if("object"!=typeof Me||null===Me)return!1;for(const Z of _e)if(Z in Me&&"function"==typeof Me[Z])return!0;return!1}(_e,["next","error","complete"])?_e:{next:_e,error:Z,complete:ie},void 0===ee.next&&(ee.next=kc),void 0===ee.error&&(ee.error=kc),void 0===ee.complete&&(ee.complete=kc);const Be=this.unsubscribeOne.bind(this,this.observers.length);return this.finalized&&this.task.then(()=>{try{this.finalError?ee.error(this.finalError):ee.complete()}catch{}}),this.observers.push(ee),Be}unsubscribeOne(_e){void 0===this.observers||void 0===this.observers[_e]||(delete this.observers[_e],this.observerCount-=1,0===this.observerCount&&void 0!==this.onNoObservers&&this.onNoObservers(this))}forEachObserver(_e){if(!this.finalized)for(let Z=0;Z{if(void 0!==this.observers&&void 0!==this.observers[_e])try{Z(this.observers[_e])}catch(ie){typeof console<"u"&&console.error&&console.error(ie)}})}close(_e){this.finalized||(this.finalized=!0,void 0!==_e&&(this.finalError=_e),this.task.then(()=>{this.observers=void 0,this.onNoObservers=void 0}))}}function kc(){}const sh=function(Me,_e,Z,ie){let ee;if(ie<_e?ee="at least "+_e:ie>Z&&(ee=0===Z?"none":"no more than "+Z),ee)throw new Error(Me+" failed: Was called with "+ie+(1===ie?" argument.":" arguments.")+" Expects "+ee+".")};function Fd(Me,_e){return`${Me} failed: ${_e} argument `}function qo(Me,_e,Z,ie){if((!ie||Z)&&"function"!=typeof Z)throw new Error(Fd(Me,_e)+"must be a valid function.")}function os(Me,_e,Z,ie){if((!ie||Z)&&("object"!=typeof Z||null===Z))throw new Error(Fd(Me,_e)+"must be a valid context object.")}const oh=function(Me){const _e=[];let Z=0;for(let ie=0;ie=55296&&ee<=56319){const Be=ee-55296;ie++,dt(ie>6|192,_e[Z++]=63&ee|128):ee<65536?(_e[Z++]=ee>>12|224,_e[Z++]=ee>>6&63|128,_e[Z++]=63&ee|128):(_e[Z++]=ee>>18|240,_e[Z++]=ee>>12&63|128,_e[Z++]=ee>>6&63|128,_e[Z++]=63&ee|128)}return _e},Vh=function(Me){let _e=0;for(let Z=0;Z=55296&&ie<=56319?(_e+=4,Z++):_e+=3}return _e};function Nh(Me){return Me&&Me._delegate?Me._delegate:Me}},5156:(kd,wo,en)=>{let dt=null,Bi=1;function Mn(i){const a=dt;return dt=i,a}function An(i){if((!Io(i)||i.dirty)&&(i.dirty||i.lastCleanEpoch!==Bi)){if(!i.producerMustRecompute(i)&&!Us(i))return i.dirty=!1,void(i.lastCleanEpoch=Bi);i.producerRecomputeValue(i),i.dirty=!1,i.lastCleanEpoch=Bi}}function Us(i){ur(i);for(let a=0;a0}function ur(i){i.producerNode??=[],i.producerIndexOfThis??=[],i.producerLastReadVersion??=[]}let gu=null;function Li(i){return"function"==typeof i}function Fs(i){const e=i(t=>{Error.call(t),t.stack=(new Error).stack});return e.prototype=Object.create(Error.prototype),e.prototype.constructor=e,e}const ho=Fs(i=>function(e){i(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((t,n)=>`${n+1}) ${t.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=e});function Qr(i,a){if(i){const e=i.indexOf(a);0<=e&&i.splice(e,1)}}class or{constructor(a){this.initialTeardown=a,this.closed=!1,this._parentage=null,this._finalizers=null}unsubscribe(){let a;if(!this.closed){this.closed=!0;const{_parentage:e}=this;if(e)if(this._parentage=null,Array.isArray(e))for(const r of e)r.remove(this);else e.remove(this);const{initialTeardown:t}=this;if(Li(t))try{t()}catch(r){a=r instanceof ho?r.errors:[r]}const{_finalizers:n}=this;if(n){this._finalizers=null;for(const r of n)try{Lh(r)}catch(s){a=a??[],s instanceof ho?a=[...a,...s.errors]:a.push(s)}}if(a)throw new ho(a)}}add(a){var e;if(a&&a!==this)if(this.closed)Lh(a);else{if(a instanceof or){if(a.closed||a._hasParent(this))return;a._addParent(this)}(this._finalizers=null!==(e=this._finalizers)&&void 0!==e?e:[]).push(a)}}_hasParent(a){const{_parentage:e}=this;return e===a||Array.isArray(e)&&e.includes(a)}_addParent(a){const{_parentage:e}=this;this._parentage=Array.isArray(e)?(e.push(a),e):e?[e,a]:a}_removeParent(a){const{_parentage:e}=this;e===a?this._parentage=null:Array.isArray(e)&&Qr(e,a)}remove(a){const{_finalizers:e}=this;e&&Qr(e,a),a instanceof or&&a._removeParent(this)}}or.EMPTY=(()=>{const i=new or;return i.closed=!0,i})();const jl=or.EMPTY;function $h(i){return i instanceof or||i&&"closed"in i&&Li(i.remove)&&Li(i.add)&&Li(i.unsubscribe)}function Lh(i){Li(i)?i():i.unsubscribe()}const Nr={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1},pu={setTimeout(i,a,...e){const{delegate:t}=pu;return t?.setTimeout?t.setTimeout(i,a,...e):setTimeout(i,a,...e)},clearTimeout(i){const{delegate:a}=pu;return(a?.clearTimeout||clearTimeout)(i)},delegate:void 0};function Mg(i){pu.setTimeout(()=>{const{onUnhandledError:a}=Nr;if(!a)throw i;a(i)})}function mn(){}const wg=Pd("C",void 0,void 0);function Pd(i,a,e){return{kind:i,value:a,error:e}}let rh=null;function Bs(i){if(Nr.useDeprecatedSynchronousErrorHandling){const a=!rh;if(a&&(rh={errorThrown:!1,error:null}),i(),a){const{errorThrown:e,error:t}=rh;if(rh=null,e)throw t}}else i()}class sh extends or{constructor(a){super(),this.isStopped=!1,a?(this.destination=a,$h(a)&&a.add(this)):this.destination=bl}static create(a,e,t){return new os(a,e,t)}next(a){this.isStopped?lh(function mu(i){return Pd("N",i,void 0)}(a),this):this._next(a)}error(a){this.isStopped?lh(function Ho(i){return Pd("E",void 0,i)}(a),this):(this.isStopped=!0,this._error(a))}complete(){this.isStopped?lh(wg,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(a){this.destination.next(a)}_error(a){try{this.destination.error(a)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}const Fd=Function.prototype.bind;function Gl(i,a){return Fd.call(i,a)}class qo{constructor(a){this.partialObserver=a}next(a){const{partialObserver:e}=this;if(e.next)try{e.next(a)}catch(t){oh(t)}}error(a){const{partialObserver:e}=this;if(e.error)try{e.error(a)}catch(t){oh(t)}else oh(a)}complete(){const{partialObserver:a}=this;if(a.complete)try{a.complete()}catch(e){oh(e)}}}class os extends sh{constructor(a,e,t){let n;if(super(),Li(a)||!a)n={next:a??void 0,error:e??void 0,complete:t??void 0};else{let r;this&&Nr.useDeprecatedNextContext?(r=Object.create(a),r.unsubscribe=()=>this.unsubscribe(),n={next:a.next&&Gl(a.next,r),error:a.error&&Gl(a.error,r),complete:a.complete&&Gl(a.complete,r)}):n=a}this.destination=new qo(n)}}function oh(i){Nr.useDeprecatedSynchronousErrorHandling?function kc(i){Nr.useDeprecatedSynchronousErrorHandling&&rh&&(rh.errorThrown=!0,rh.error=i)}(i):Mg(i)}function lh(i,a){const{onStoppedNotification:e}=Nr;e&&pu.setTimeout(()=>e(i,a))}const bl={closed:!0,next:mn,error:function Vh(i){throw i},complete:mn},Ec="function"==typeof Symbol&&Symbol.observable||"@@observable";function Ks(i){return i}function uh(...i){return jm(i)}function jm(i){return 0===i.length?Ks:1===i.length?i[0]:function(e){return i.reduce((t,n)=>n(t),e)}}let ha=(()=>{class i{constructor(e){e&&(this._subscribe=e)}lift(e){const t=new i;return t.source=this,t.operator=e,t}subscribe(e,t,n){const r=function Me(i){return i&&i instanceof sh||function Nh(i){return i&&Li(i.next)&&Li(i.error)&&Li(i.complete)}(i)&&$h(i)}(e)?e:new os(e,t,n);return Bs(()=>{const{operator:s,source:o}=this;r.add(s?s.call(r,o):o?this._subscribe(r):this._trySubscribe(r))}),r}_trySubscribe(e){try{return this._subscribe(e)}catch(t){e.error(t)}}forEach(e,t){return new(t=Bd(t))((n,r)=>{const s=new os({next:o=>{try{e(o)}catch(l){r(l),s.unsubscribe()}},error:r,complete:n});this.subscribe(s)})}_subscribe(e){var t;return null===(t=this.source)||void 0===t?void 0:t.subscribe(e)}[Ec](){return this}pipe(...e){return jm(e)(this)}toPromise(e){return new(e=Bd(e))((t,n)=>{let r;this.subscribe(s=>r=s,s=>n(s),()=>t(r))})}}return i.create=a=>new i(a),i})();function Bd(i){var a;return null!==(a=i??Nr.Promise)&&void 0!==a?a:Promise}const _e=Fs(i=>function(){i(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});let Z=(()=>{class i extends ha{constructor(){super(),this.closed=!1,this.currentObservers=null,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(e){const t=new ie(this,this);return t.operator=e,t}_throwIfClosed(){if(this.closed)throw new _e}next(e){Bs(()=>{if(this._throwIfClosed(),!this.isStopped){this.currentObservers||(this.currentObservers=Array.from(this.observers));for(const t of this.currentObservers)t.next(e)}})}error(e){Bs(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=e;const{observers:t}=this;for(;t.length;)t.shift().error(e)}})}complete(){Bs(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:e}=this;for(;e.length;)e.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=this.currentObservers=null}get observed(){var e;return(null===(e=this.observers)||void 0===e?void 0:e.length)>0}_trySubscribe(e){return this._throwIfClosed(),super._trySubscribe(e)}_subscribe(e){return this._throwIfClosed(),this._checkFinalizedStatuses(e),this._innerSubscribe(e)}_innerSubscribe(e){const{hasError:t,isStopped:n,observers:r}=this;return t||n?jl:(this.currentObservers=null,r.push(e),new or(()=>{this.currentObservers=null,Qr(r,e)}))}_checkFinalizedStatuses(e){const{hasError:t,thrownError:n,isStopped:r}=this;t?e.error(n):r&&e.complete()}asObservable(){const e=new ha;return e.source=this,e}}return i.create=(a,e)=>new ie(a,e),i})();class ie extends Z{constructor(a,e){super(),this.destination=a,this.source=e}next(a){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.next)||void 0===t||t.call(e,a)}error(a){var e,t;null===(t=null===(e=this.destination)||void 0===e?void 0:e.error)||void 0===t||t.call(e,a)}complete(){var a,e;null===(e=null===(a=this.destination)||void 0===a?void 0:a.complete)||void 0===e||e.call(a)}_subscribe(a){var e,t;return null!==(t=null===(e=this.source)||void 0===e?void 0:e.subscribe(a))&&void 0!==t?t:jl}}function ee(i){return Li(i?.lift)}function Be(i){return a=>{if(ee(a))return a.lift(function(e){try{return i(e,this)}catch(t){this.error(t)}});throw new TypeError("Unable to lift unknown Observable type")}}function nt(i,a,e,t,n){return new yi(i,a,e,t,n)}class yi extends sh{constructor(a,e,t,n,r,s){super(a),this.onFinalize=r,this.shouldUnsubscribe=s,this._next=e?function(o){try{e(o)}catch(l){a.error(l)}}:super._next,this._error=n?function(o){try{n(o)}catch(l){a.error(l)}finally{this.unsubscribe()}}:super._error,this._complete=t?function(){try{t()}catch(o){a.error(o)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var a;if(!this.shouldUnsubscribe||this.shouldUnsubscribe()){const{closed:e}=this;super.unsubscribe(),!e&&(null===(a=this.onFinalize)||void 0===a||a.call(this))}}}function Et(i,a){return Be((e,t)=>{let n=0;e.subscribe(nt(t,r=>{t.next(i.call(a,r,n++))}))})}var Rt=en(7582);const Ya=i=>i&&"number"==typeof i.length&&"function"!=typeof i;function xn(i){return Li(i?.then)}function Or(i){return Li(i[Ec])}function Nn(i){return Symbol.asyncIterator&&Li(i?.[Symbol.asyncIterator])}function yl(i){return new TypeError(`You provided ${null!==i&&"object"==typeof i?"an invalid object":`'${i}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}const bt=function Gm(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}();function Xe(i){return Li(i?.[bt])}function Gt(i){return(0,Rt.FC)(this,arguments,function*(){const e=i.getReader();try{for(;;){const{value:t,done:n}=yield(0,Rt.qq)(e.read());if(n)return yield(0,Rt.qq)(void 0);yield yield(0,Rt.qq)(t)}}finally{e.releaseLock()}})}function Wi(i){return Li(i?.getReader)}function Pi(i){if(i instanceof ha)return i;if(null!=i){if(Or(i))return function da(i){return new ha(a=>{const e=i[Ec]();if(Li(e.subscribe))return e.subscribe(a);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(i);if(Ya(i))return function gr(i){return new ha(a=>{for(let e=0;e{i.then(e=>{a.closed||(a.next(e),a.complete())},e=>a.error(e)).then(null,Mg)})}(i);if(Nn(i))return Oh(i);if(Xe(i))return function Ao(i){return new ha(a=>{for(const e of i)if(a.next(e),a.closed)return;a.complete()})}(i);if(Wi(i))return function Gy(i){return Oh(Gt(i))}(i)}throw yl(i)}function Oh(i){return new ha(a=>{(function z3(i,a){var e,t,n,r;return(0,Rt.mG)(this,void 0,void 0,function*(){try{for(e=(0,Rt.KL)(i);!(t=yield e.next()).done;)if(a.next(t.value),a.closed)return}catch(s){n={error:s}}finally{try{t&&!t.done&&(r=e.return)&&(yield r.call(e))}finally{if(n)throw n.error}}a.complete()})})(i,a).catch(e=>a.error(e))})}function Tg(i,a,e,t=0,n=!1){const r=a.schedule(function(){e(),n?i.add(this.schedule(null,t)):this.unsubscribe()},t);if(i.add(r),!n)return r}function Uo(i,a,e=1/0){return Li(a)?Uo((t,n)=>Et((r,s)=>a(t,r,n,s))(Pi(i(t,n))),e):("number"==typeof a&&(e=a),Be((t,n)=>function $s(i,a,e,t,n,r,s,o){const l=[];let u=0,c=0,h=!1;const d=()=>{h&&!l.length&&!u&&a.complete()},g=m=>u{r&&a.next(m),u++;let _=!1;Pi(e(m,c++)).subscribe(nt(a,y=>{n?.(y),r?g(y):a.next(y)},()=>{_=!0},void 0,()=>{if(_)try{for(u--;l.length&&up(y)):p(y)}d()}catch(y){a.error(y)}}))};return i.subscribe(nt(a,g,()=>{h=!0,d()})),()=>{o?.()}}(t,n,i,e)))}function m_(i=1/0){return Uo(Ks,i)}const ch=new ha(i=>i.complete());function r2(i){return i&&Li(i.schedule)}function Dw(i){return i[i.length-1]}function UD(i){return Li(Dw(i))?i.pop():void 0}function hh(i){return r2(Dw(i))?i.pop():void 0}function wp(i,a=0){return Be((e,t)=>{e.subscribe(nt(t,n=>Tg(t,i,()=>t.next(n),a),()=>Tg(t,i,()=>t.complete(),a),n=>Tg(t,i,()=>t.error(n),a)))})}function Tp(i,a=0){return Be((e,t)=>{t.add(i.schedule(()=>e.subscribe(t),a))})}function l2(i,a){if(!i)throw new Error("Iterable cannot be null");return new ha(e=>{Tg(e,a,()=>{const t=i[Symbol.asyncIterator]();Tg(e,a,()=>{t.next().then(n=>{n.done?e.complete():e.next(n.value)})},0,!0)})})}function Ta(i,a){return a?function Y3(i,a){if(null!=i){if(Or(i))return function U3(i,a){return Pi(i).pipe(Tp(a),wp(a))}(i,a);if(Ya(i))return function s2(i,a){return new ha(e=>{let t=0;return a.schedule(function(){t===i.length?e.complete():(e.next(i[t++]),e.closed||this.schedule())})})}(i,a);if(xn(i))return function X3(i,a){return Pi(i).pipe(Tp(a),wp(a))}(i,a);if(Nn(i))return l2(i,a);if(Xe(i))return function o2(i,a){return new ha(e=>{let t;return Tg(e,a,()=>{t=i[bt](),Tg(e,a,()=>{let n,r;try{({value:n,done:r}=t.next())}catch(s){return void e.error(s)}r?e.complete():e.next(n)},0,!0)}),()=>Li(t?.return)&&t.return()})}(i,a);if(Wi(i))return function u2(i,a){return l2(Gt(i),a)}(i,a)}throw yl(i)}(i,a):Pi(i)}function $d(...i){const a=hh(i),e=function Cw(i,a){return"number"==typeof Dw(i)?i.pop():a}(i,1/0),t=i;return t.length?1===t.length?Pi(t[0]):m_(e)(Ta(t,a)):ch}class Ju extends Z{constructor(a){super(),this._value=a}get value(){return this.getValue()}_subscribe(a){const e=super._subscribe(a);return!e.closed&&a.next(this._value),e}getValue(){const{hasError:a,thrownError:e,_value:t}=this;if(a)throw e;return this._throwIfClosed(),t}next(a){super.next(this._value=a)}}function Vi(...i){return Ta(i,hh(i))}function f_(i={}){const{connector:a=(()=>new Z),resetOnError:e=!0,resetOnComplete:t=!0,resetOnRefCountZero:n=!0}=i;return r=>{let s,o,l,u=0,c=!1,h=!1;const d=()=>{o?.unsubscribe(),o=void 0},g=()=>{d(),s=l=void 0,c=h=!1},p=()=>{const m=s;g(),m?.unsubscribe()};return Be((m,_)=>{u++,!h&&!c&&d();const y=l=l??a();_.add(()=>{u--,0===u&&!h&&!c&&(o=vw(p,n))}),y.subscribe(_),!s&&u>0&&(s=new os({next:x=>y.next(x),error:x=>{h=!0,d(),o=vw(g,e,x),y.error(x)},complete:()=>{c=!0,d(),o=vw(g,t),y.complete()}}),Pi(m).subscribe(s))})(r)}}function vw(i,a,...e){if(!0===a)return void i();if(!1===a)return;const t=new os({next:()=>{t.unsubscribe(),i()}});return Pi(a(...e)).subscribe(t)}function Rr(i,a){return Be((e,t)=>{let n=null,r=0,s=!1;const o=()=>s&&!n&&t.complete();e.subscribe(nt(t,l=>{n?.unsubscribe();let u=0;const c=r++;Pi(i(l,c)).subscribe(n=nt(t,h=>t.next(a?a(l,h,c,u++):h),()=>{n=null,o()}))},()=>{s=!0,o()}))})}function zy(i,a=Ks){return i=i??Mw,Be((e,t)=>{let n,r=!0;e.subscribe(nt(t,s=>{const o=a(s);(r||!i(n,o))&&(r=!1,n=o,t.next(s))}))})}function Mw(i,a){return i===a}function er(i){for(let a in i)if(i[a]===er)return a;throw Error("Could not find renamed property on target object.")}function __(i,a){for(const e in a)a.hasOwnProperty(e)&&!i.hasOwnProperty(e)&&(i[e]=a[e])}function go(i){if("string"==typeof i)return i;if(Array.isArray(i))return"["+i.map(go).join(", ")+"]";if(null==i)return""+i;if(i.overriddenName)return`${i.overriddenName}`;if(i.name)return`${i.name}`;const a=i.toString();if(null==a)return""+a;const e=a.indexOf("\n");return-1===e?a:a.substring(0,e)}function Hy(i,a){return null==i||""===i?null===a?"":a:null==a||""===a?i:i+" "+a}const ww=er({__forward_ref__:er});function Ce(i){return i.__forward_ref__=Ce,i.toString=function(){return go(this())},i}function on(i){return XD(i)?i():i}function XD(i){return"function"==typeof i&&i.hasOwnProperty(ww)&&i.__forward_ref__===Ce}function qy(i){return i&&!!i.\u0275providers}const YD="https://g.co/ng/security#xss";class ft extends Error{constructor(a,e){super(function Ip(i,a){return`NG0${Math.abs(i)}${a?": "+a:""}`}(a,e)),this.code=a}}const Ig=er({\u0275cmp:er}),Wh=er({\u0275dir:er}),Uy=er({\u0275pipe:er}),h2=er({\u0275mod:er}),Xo=er({\u0275fac:er}),Xy=er({__NG_ELEMENT_ID__:er}),KD=er({__NG_ENV_ID__:er});function wn(i){return"string"==typeof i?i:null==i?"":String(i)}function Ag(i,a){throw new ft(-201,!1)}function ec(i,a){null==i&&function Zi(i,a,e,t){throw new Error(`ASSERTION ERROR: ${i}`+(null==t?"":` [Expected=> ${e} ${t} ${a} <=Actual]`))}(a,i,null,"!=")}function Mt(i){return{token:i.token,providedIn:i.providedIn||null,factory:i.factory,value:void 0}}function Ve(i){return{providers:i.providers||[],imports:i.imports||[]}}function zm(i){return kw(i,y_)||kw(i,Jy)}function kw(i,a){return i.hasOwnProperty(a)?i[a]:null}function b_(i){return i&&(i.hasOwnProperty(Qy)||i.hasOwnProperty(Ew))?i[Qy]:null}const y_=er({\u0275prov:er}),Qy=er({\u0275inj:er}),Jy=er({ngInjectableDef:er}),Ew=er({ngInjectorDef:er});var aa=function(i){return i[i.Default=0]="Default",i[i.Host=1]="Host",i[i.Self=2]="Self",i[i.SkipSelf=4]="SkipSelf",i[i.Optional=8]="Optional",i}(aa||{});let ex;function Rw(){return ex}function Hl(i){const a=ex;return ex=i,a}function tx(i,a,e){const t=zm(i);return t&&"root"==t.providedIn?void 0===t.value?t.value=t.factory():t.value:e&aa.Optional?null:void 0!==a?a:void Ag(go(i))}const Pr=globalThis;class Pt{constructor(a,e){this._desc=a,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof e?this.__NG_ELEMENT_ID__=e:void 0!==e&&(this.\u0275prov=Mt({token:this,providedIn:e.providedIn||"root",factory:e.factory}))}get multi(){return this}toString(){return`InjectionToken ${this._desc}`}}const Hm={},Fw="__NG_DI_FLAG__",x_="ngTempTokenPath",Bw=/\n/gm,QD="__source";let S_;function kp(i){const a=S_;return S_=i,a}function Lw(i,a=aa.Default){if(void 0===S_)throw new ft(-203,!1);return null===S_?tx(i,void 0,a):S_.get(i,a&aa.Optional?null:void 0,a)}function Ue(i,a=aa.Default){return(Rw()||Lw)(on(i),a)}function Ut(i,a=aa.Default){return Ue(i,JD(a))}function JD(i){return typeof i>"u"||"number"==typeof i?i:0|(i.optional&&8)|(i.host&&1)|(i.self&&2)|(i.skipSelf&&4)}function Vw(i){const a=[];for(let e=0;ea){s=r-1;break}}}for(;rr?"":n[h+1].toLowerCase();const g=8&t?d:null;if(g&&-1!==D2(g,u,0)||2&t&&u!==d){if(zh(t))return!1;s=!0}}}}else{if(!s&&!zh(t)&&!zh(l))return!1;if(s&&zh(l))continue;s=!1,t=l|1&t}}return zh(t)||s}function zh(i){return 0==(1&i)}function aW(i,a,e,t){if(null===a)return-1;let n=0;if(t||!e){let r=!1;for(;n-1)for(e++;e0?'="'+o+'"':"")+"]"}else 8&t?n+="."+s:4&t&&(n+=" "+s);else""!==n&&!zh(s)&&(a+=oW(r,n),n=""),t=s,r=r||!zh(t);e++}return""!==n&&(a+=oW(r,n)),a}function Se(i){return Gh(()=>{const a=I2(i),e={...a,decls:i.decls,vars:i.vars,template:i.template,consts:i.consts||null,ngContentSelectors:i.ngContentSelectors,onPush:i.changeDetection===eC.OnPush,directiveDefs:null,pipeDefs:null,dependencies:a.standalone&&i.dependencies||null,getStandaloneInjector:null,signals:i.signals??!1,data:i.data||{},encapsulation:i.encapsulation||tc.Emulated,styles:i.styles||Va,_:null,schemas:i.schemas||null,tView:null,id:""};A2(e);const t=i.dependencies;return e.directiveDefs=C_(t,!1),e.pipeDefs=C_(t,!0),e.id=function hW(i){let a=0;const e=[i.selectors,i.ngContentSelectors,i.hostVars,i.hostAttrs,i.consts,i.vars,i.decls,i.encapsulation,i.standalone,i.signals,i.exportAs,JSON.stringify(i.inputs),JSON.stringify(i.outputs),Object.getOwnPropertyNames(i.type.prototype),!!i.contentQueries,!!i.viewQuery].join("|");for(const n of e)a=Math.imul(31,a)+n.charCodeAt(0)<<0;return a+=2147483648,"c"+a}(e),e})}function FZ(i){return Gn(i)||ko(i)}function BZ(i){return null!==i}function je(i){return Gh(()=>({type:i.type,bootstrap:i.bootstrap||Va,declarations:i.declarations||Va,imports:i.imports||Va,exports:i.exports||Va,transitiveCompileScopes:null,schemas:i.schemas||null,id:i.id||null}))}function cW(i,a){if(null==i)return Vd;const e={};for(const t in i)if(i.hasOwnProperty(t)){let n=i[t],r=n;Array.isArray(n)&&(r=n[1],n=n[0]),e[n]=t,a&&(a[n]=r)}return e}function ve(i){return Gh(()=>{const a=I2(i);return A2(a),a})}function ri(i){return{type:i.type,name:i.name,factory:null,pure:!1!==i.pure,standalone:!0===i.standalone,onDestroy:i.type.prototype.ngOnDestroy||null}}function Gn(i){return i[Ig]||null}function ko(i){return i[Wh]||null}function xl(i){return i[Uy]||null}function fu(i,a){const e=i[h2]||null;if(!e&&!0===a)throw new Error(`Type ${go(i)} does not have '\u0275mod' property.`);return e}function I2(i){const a={};return{type:i.type,providersResolver:null,factory:null,hostBindings:i.hostBindings||null,hostVars:i.hostVars||0,hostAttrs:i.hostAttrs||null,contentQueries:i.contentQueries||null,declaredInputs:a,inputTransforms:null,inputConfig:i.inputs||Vd,exportAs:i.exportAs||null,standalone:!0===i.standalone,signals:!0===i.signals,selectors:i.selectors||Va,viewQuery:i.viewQuery||null,features:i.features||null,setInput:null,findHostDirectiveDefs:null,hostDirectives:null,inputs:cW(i.inputs,a),outputs:cW(i.outputs),debugInfo:null}}function A2(i){i.features?.forEach(a=>a(i))}function C_(i,a){if(!i)return null;const e=a?xl:FZ;return()=>("function"==typeof i?i():i).map(t=>e(t)).filter(BZ)}const Jr=0,Jt=1,fn=2,ls=3,Hh=4,_u=5,qh=6,ux=7,xr=8,bu=9,v_=10,gn=11,cx=12,Zs=13,M_=14,es=15,hx=16,Rp=17,Nd=18,dx=19,zw=20,Pp=21,Um=22,Fp=23,nn=25,w_=1,k2=2,gx=6,Uh=7,I_=9,Ls=11;function Sl(i){return Array.isArray(i)&&"object"==typeof i[w_]}function Yo(i){return Array.isArray(i)&&!0===i[w_]}function E2(i){return 0!=(4&i.flags)}function Bp(i){return i.componentOffset>-1}function iC(i){return 1==(1&i.flags)}function Xh(i){return!!i.template}function Hw(i){return 0!=(512&i[fn])}function kg(i,a){return i.hasOwnProperty(Xo)?i[Xo]:null}class V2{constructor(a,e,t){this.previousValue=a,this.currentValue=e,this.firstChange=t}isFirstChange(){return this.firstChange}}function pr(){return N2}function N2(i){return i.type.prototype.ngOnChanges&&(i.setInput=Xw),Ym}function Ym(){const i=W2(this),a=i?.current;if(a){const e=i.previous;if(e===Vd)i.previous=a;else for(let t in a)e[t]=a[t];i.current=null,this.ngOnChanges(a)}}function Xw(i,a,e,t){const n=this.declaredInputs[e],r=W2(i)||function fW(i,a){return i[O2]=a}(i,{previous:Vd,current:null}),s=r.current||(r.current={}),o=r.previous,l=o[n];s[n]=new V2(l&&l.currentValue,a,o===Vd),i[t]=a}pr.ngInherit=!0;const O2="__ngSimpleChanges__";function W2(i){return i[O2]||null}const Od=function(i,a,e){},G2="svg";function Wr(i){for(;Array.isArray(i);)i=i[Jr];return i}function fx(i,a){return Wr(a[i])}function Dl(i,a){return Wr(a[i.index])}function _x(i,a){return i.data[a]}function Wd(i,a){return i[a]}function Pc(i,a){const e=a[i];return Sl(e)?e:e[Jr]}function bx(i){return 128==(128&i[fn])}function dh(i,a){return null==a?null:i[a]}function z2(i){i[Rp]=0}function H2(i){1024&i[fn]||(i[fn]|=1024,bx(i)&&rC(i))}function Qw(i){9216&i[fn]&&rC(i)}function rC(i){let a=i[ls];for(;null!==a&&!(Yo(a)&&a[gx]||Sl(a)&&8192&a[fn]);){if(Yo(a))a[gx]=!0;else if(a[fn]|=8192,!bx(a))break;a=a[ls]}}function sC(i,a){if(256==(256&i[fn]))throw new ft(911,!1);null===i[Pp]&&(i[Pp]=[]),i[Pp].push(a)}const _n={lFrame:eR(null),bindingsEnabled:!0,skipHydrationRootTNode:null};function X2(){return _n.bindingsEnabled}function $p(){return null!==_n.skipHydrationRootTNode}function St(){return _n.lFrame.lView}function ba(){return _n.lFrame.tView}function Y(i){return _n.lFrame.contextLView=i,i[xr]}function K(i){return _n.lFrame.contextLView=null,i}function mr(){let i=oC();for(;null!==i&&64===i.type;)i=i.parent;return i}function oC(){return _n.lFrame.currentTNode}function jd(i,a){const e=_n.lFrame;e.currentTNode=i,e.isParent=a}function nT(){return _n.lFrame.isParent}function Sx(){_n.lFrame.isParent=!1}function yu(){const i=_n.lFrame;let a=i.bindingRootIndex;return-1===a&&(a=i.bindingRootIndex=i.tView.bindingStartIndex),a}function gh(){return _n.lFrame.bindingIndex}function Gd(){return _n.lFrame.bindingIndex++}function Eg(i){const a=_n.lFrame,e=a.bindingIndex;return a.bindingIndex=a.bindingIndex+i,e}function CW(i,a){const e=_n.lFrame;e.bindingIndex=e.bindingRootIndex=i,rT(a)}function rT(i){_n.lFrame.currentDirectiveIndex=i}function Dx(i){const a=_n.lFrame.currentDirectiveIndex;return-1===a?null:i[a]}function Q2(){return _n.lFrame.currentQueryIndex}function sT(i){_n.lFrame.currentQueryIndex=i}function MW(i){const a=i[Jt];return 2===a.type?a.declTNode:1===a.type?i[_u]:null}function J2(i,a,e){if(e&aa.SkipSelf){let n=a,r=i;for(;!(n=n.parent,null!==n||e&aa.Host||(n=MW(r),null===n||(r=r[M_],10&n.type))););if(null===n)return!1;a=n,i=r}const t=_n.lFrame=lT();return t.currentTNode=a,t.lView=i,!0}function oT(i){const a=lT(),e=i[Jt];_n.lFrame=a,a.currentTNode=e.firstChild,a.lView=i,a.tView=e,a.contextLView=i,a.bindingIndex=e.bindingStartIndex,a.inI18n=!1}function lT(){const i=_n.lFrame,a=null===i?null:i.child;return null===a?eR(i):a}function eR(i){const a={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:i,child:null,inI18n:!1};return null!==i&&(i.child=a),a}function tR(){const i=_n.lFrame;return _n.lFrame=i.parent,i.currentTNode=null,i.lView=null,i}const iR=tR;function uT(){const i=tR();i.isParent=!0,i.tView=null,i.selectedIndex=-1,i.contextLView=null,i.elementDepthCount=0,i.currentDirectiveIndex=-1,i.currentNamespace=null,i.bindingRootIndex=-1,i.bindingIndex=-1,i.currentQueryIndex=0}function Cl(){return _n.lFrame.selectedIndex}function Rg(i){_n.lFrame.selectedIndex=i}function ts(){const i=_n.lFrame;return _x(i.tView,i.selectedIndex)}function zd(){_n.lFrame.currentNamespace=G2}function Cx(){!function IW(){_n.lFrame.currentNamespace=null}()}let nR=!0;function cT(){return nR}function Hd(i){nR=i}function Km(i,a){for(let e=a.directiveStart,t=a.directiveEnd;e=t)break}else a[l]<0&&(i[Rp]+=65536),(o>14>16&&(3&i[fn])===a&&(i[fn]+=16384,sR(o,r)):sR(o,r)}const k_=-1;class E_{constructor(a,e,t){this.factory=a,this.resolving=!1,this.canSeeViewProviders=e,this.injectImpl=t}}function J(i){return i!==k_}function Ie(i){return 32767&i}function wt(i,a){let e=function et(i){return i>>16}(i),t=a;for(;e>0;)t=t[M_],e--;return t}let li=!0;function Ei(i){const a=li;return li=i,a}const xu=255,Pg=5;let uC=0;const Yh={};function wx(i,a){const e=hC(i,a);if(-1!==e)return e;const t=a[Jt];t.firstCreatePass&&(i.injectorIndex=a.length,cC(t.data,i),cC(a,null),cC(t.blueprint,null));const n=Tx(i,a),r=i.injectorIndex;if(J(n)){const s=Ie(n),o=wt(n,a),l=o[Jt].data;for(let u=0;u<8;u++)a[r+u]=o[s+u]|l[s+u]}return a[r+8]=n,r}function cC(i,a){i.push(0,0,0,0,0,0,0,0,a)}function hC(i,a){return-1===i.injectorIndex||i.parent&&i.parent.injectorIndex===i.injectorIndex||null===a[i.injectorIndex+8]?-1:i.injectorIndex}function Tx(i,a){if(i.parent&&-1!==i.parent.injectorIndex)return i.parent.injectorIndex;let e=0,t=null,n=a;for(;null!==n;){if(t=YZ(n),null===t)return k_;if(e++,n=n[M_],-1!==t.injectorIndex)return t.injectorIndex|e<<16}return k_}function dC(i,a,e){!function dT(i,a,e){let t;"string"==typeof e?t=e.charCodeAt(0)||0:e.hasOwnProperty(Xy)&&(t=e[Xy]),null==t&&(t=e[Xy]=uC++);const n=t&xu;a.data[i+(n>>Pg)]|=1<=0?a&xu:iTe:a}(e);if("function"==typeof r){if(!J2(a,i,t))return t&aa.Host?pT(n,0,t):lR(a,e,t,n);try{let s;if(s=r(t),null!=s||t&aa.Optional)return s;Ag()}finally{iR()}}else if("number"==typeof r){let s=null,o=hC(i,a),l=k_,u=t&aa.Host?a[es][_u]:null;for((-1===o||t&aa.SkipSelf)&&(l=-1===o?Tx(i,a):a[o+8],l!==k_&&XZ(t,!1)?(s=a[Jt],o=Ie(l),a=wt(l,a)):o=-1);-1!==o;){const c=a[Jt];if(UZ(r,o,c.data)){const h=eTe(o,a,e,s,t,u);if(h!==Yh)return h}l=a[o+8],l!==k_&&XZ(t,a[Jt].data[o+8]===u)&&UZ(r,o,a)?(s=c,o=Ie(l),a=wt(l,a)):o=-1}}return n}function eTe(i,a,e,t,n,r){const s=a[Jt],o=s.data[i+8],c=cR(o,s,e,null==t?Bp(o)&&li:t!=s&&0!=(3&o.type),n&aa.Host&&r===o);return null!==c?Ix(a,s,c,o):Yh}function cR(i,a,e,t,n){const r=i.providerIndexes,s=a.data,o=1048575&r,l=i.directiveStart,c=r>>20,d=n?o+c:i.directiveEnd;for(let g=t?o:o+c;g=l&&p.type===e)return g}if(n){const g=s[l];if(g&&Xh(g)&&g.type===e)return l}return null}function Ix(i,a,e,t){let n=i[e];const r=a.data;if(function kW(i){return i instanceof E_}(n)){const s=n;s.resolving&&function K3(i,a){const e=a?`. Dependency path: ${a.join(" > ")} > ${i}`:"";throw new ft(-200,`Circular dependency in DI detected for ${i}${e}`)}(function Ka(i){return"function"==typeof i?i.name||i.toString():"object"==typeof i&&null!=i&&"function"==typeof i.type?i.type.name||i.type.toString():wn(i)}(r[e]));const o=Ei(s.canSeeViewProviders);s.resolving=!0;const u=s.injectImpl?Hl(s.injectImpl):null;J2(i,t,aa.Default);try{n=i[e]=s.factory(void 0,r,i,t),a.firstCreatePass&&e>=t.directiveStart&&function aR(i,a,e){const{ngOnChanges:t,ngOnInit:n,ngDoCheck:r}=a.type.prototype;if(t){const s=N2(a);(e.preOrderHooks??=[]).push(i,s),(e.preOrderCheckHooks??=[]).push(i,s)}n&&(e.preOrderHooks??=[]).push(0-i,n),r&&((e.preOrderHooks??=[]).push(i,r),(e.preOrderCheckHooks??=[]).push(i,r))}(e,r[e],a)}finally{null!==u&&Hl(u),Ei(o),s.resolving=!1,iR()}}return n}function UZ(i,a,e){return!!(e[a+(i>>Pg)]&1<{const a=i.prototype.constructor,e=a[Xo]||EW(a),t=Object.prototype;let n=Object.getPrototypeOf(i.prototype).constructor;for(;n&&n!==t;){const r=n[Xo]||EW(n);if(r&&r!==e)return r;n=Object.getPrototypeOf(n)}return r=>new r})}function EW(i){return XD(i)?()=>{const a=EW(on(i));return a&&a()}:kg(i)}function YZ(i){const a=i[Jt],e=a.type;return 2===e?a.declTNode:1===e?i[_u]:null}const _C="__parameters__";function yC(i,a,e){return Gh(()=>{const t=function RW(i){return function(...e){if(i){const t=i(...e);for(const n in t)this[n]=t[n]}}}(a);function n(...r){if(this instanceof n)return t.apply(this,r),this;const s=new n(...r);return o.annotation=s,o;function o(l,u,c){const h=l.hasOwnProperty(_C)?l[_C]:Object.defineProperty(l,_C,{value:[]})[_C];for(;h.length<=c;)h.push(null);return(h[c]=h[c]||[]).push(s),l}}return e&&(n.prototype=Object.create(e.prototype)),n.prototype.ngMetadataName=i,n.annotationCls=n,n})}function SC(i,a){i.forEach(e=>Array.isArray(e)?SC(e,a):a(e))}function ZZ(i,a,e){a>=i.length?i.push(e):i.splice(a,0,e)}function dR(i,a){return a>=i.length-1?i.pop():i.splice(a,1)[0]}function fT(i,a){const e=[];for(let t=0;t=0?i[1|t]=e:(t=~t,function QZ(i,a,e,t){let n=i.length;if(n==a)i.push(e,t);else if(1===n)i.push(t,i[0]),i[0]=e;else{for(n--,i.push(i[n-1],i[n]);n>a;)i[n]=i[n-2],n--;i[a]=e,i[a+1]=t}}(i,t,a,e)),t}function FW(i,a){const e=DC(i,a);if(e>=0)return i[1|e]}function DC(i,a){return function JZ(i,a,e){let t=0,n=i.length>>e;for(;n!==t;){const r=t+(n-t>>1),s=i[r<a?n=r:t=r+1}return~(n<{e.push(s)};return SC(a,s=>{const o=s;_R(o,r,[],t)&&(n||=[],n.push(o))}),void 0!==n&&oQ(n,r),e}function oQ(i,a){for(let e=0;e{a(r,t)})}}function _R(i,a,e,t){if(!(i=on(i)))return!1;let n=null,r=b_(i);const s=!r&&Gn(i);if(r||s){if(s&&!s.standalone)return!1;n=i}else{const l=i.ngModule;if(r=b_(l),!r)return!1;n=l}const o=t.has(n);if(s){if(o)return!1;if(t.add(n),s.dependencies){const l="function"==typeof s.dependencies?s.dependencies():s.dependencies;for(const u of l)_R(u,a,e,t)}}else{if(!r)return!1;{if(null!=r.imports&&!o){let u;t.add(n);try{SC(r.imports,c=>{_R(c,a,e,t)&&(u||=[],u.push(c))})}finally{}void 0!==u&&oQ(u,a)}if(!o){const u=kg(n)||(()=>new n);a({provide:n,useFactory:u,deps:Va},n),a({provide:LW,useValue:n,multi:!0},n),a({provide:MC,useValue:()=>Ue(n),multi:!0},n)}const l=r.providers;if(null!=l&&!o){const u=i;NW(l,c=>{a(c,u)})}}}return n!==i&&void 0!==i.providers}function NW(i,a){for(let e of i)qy(e)&&(e=e.\u0275providers),Array.isArray(e)?NW(e,a):a(e)}const vTe=er({provide:String,useValue:er});function OW(i){return null!==i&&"object"==typeof i&&vTe in i}function Ax(i){return"function"==typeof i}const WW=new Pt("Set Injector scope."),bR={},wTe={};let jW;function yR(){return void 0===jW&&(jW=new fR),jW}class Ko{}class kx extends Ko{get destroyed(){return this._destroyed}constructor(a,e,t,n){super(),this.parent=e,this.source=t,this.scopes=n,this.records=new Map,this._ngOnDestroyHooks=new Set,this._onDestroyHooks=[],this._destroyed=!1,zW(a,s=>this.processProvider(s)),this.records.set(aQ,wC(void 0,this)),n.has("environment")&&this.records.set(Ko,wC(void 0,this));const r=this.records.get(WW);null!=r&&"string"==typeof r.value&&this.scopes.add(r.value),this.injectorDefTypes=new Set(this.get(LW,Va,aa.Self))}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{for(const e of this._ngOnDestroyHooks)e.ngOnDestroy();const a=this._onDestroyHooks;this._onDestroyHooks=[];for(const e of a)e()}finally{this.records.clear(),this._ngOnDestroyHooks.clear(),this.injectorDefTypes.clear()}}onDestroy(a){return this.assertNotDestroyed(),this._onDestroyHooks.push(a),()=>this.removeOnDestroy(a)}runInContext(a){this.assertNotDestroyed();const e=kp(this),t=Hl(void 0);try{return a()}finally{kp(e),Hl(t)}}get(a,e=Hm,t=aa.Default){if(this.assertNotDestroyed(),a.hasOwnProperty(KD))return a[KD](this);t=JD(t);const r=kp(this),s=Hl(void 0);try{if(!(t&aa.SkipSelf)){let l=this.records.get(a);if(void 0===l){const u=function ETe(i){return"function"==typeof i||"object"==typeof i&&i instanceof Pt}(a)&&zm(a);l=u&&this.injectableDefInScope(u)?wC(GW(a),bR):null,this.records.set(a,l)}if(null!=l)return this.hydrate(a,l)}return(t&aa.Self?yR():this.parent).get(a,e=t&aa.Optional&&e===Hm?null:e)}catch(o){if("NullInjectorError"===o.name){if((o[x_]=o[x_]||[]).unshift(go(a)),r)throw o;return function Nw(i,a,e,t){const n=i[x_];throw a[QD]&&n.unshift(a[QD]),i.message=function nW(i,a,e,t=null){i=i&&"\n"===i.charAt(0)&&"\u0275"==i.charAt(1)?i.slice(2):i;let n=go(a);if(Array.isArray(a))n=a.map(go).join(" -> ");else if("object"==typeof a){let r=[];for(let s in a)if(a.hasOwnProperty(s)){let o=a[s];r.push(s+":"+("string"==typeof o?JSON.stringify(o):go(o)))}n=`{${r.join(", ")}}`}return`${e}${t?"("+t+")":""}[${n}]: ${i.replace(Bw,"\n ")}`}("\n"+i.message,n,e,t),i.ngTokenPath=n,i[x_]=null,i}(o,a,"R3InjectorError",this.source)}throw o}finally{Hl(s),kp(r)}}resolveInjectorInitializers(){const a=kp(this),e=Hl(void 0);try{const n=this.get(MC,Va,aa.Self);for(const r of n)r()}finally{kp(a),Hl(e)}}toString(){const a=[],e=this.records;for(const t of e.keys())a.push(go(t));return`R3Injector[${a.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new ft(205,!1)}processProvider(a){let e=Ax(a=on(a))?a:on(a&&a.provide);const t=function ITe(i){return OW(i)?wC(void 0,i.useValue):wC(cQ(i),bR)}(a);if(Ax(a)||!0!==a.multi)this.records.get(e);else{let n=this.records.get(e);n||(n=wC(void 0,bR,!0),n.factory=()=>Vw(n.multi),this.records.set(e,n)),e=a,n.multi.push(a)}this.records.set(e,t)}hydrate(a,e){return e.value===bR&&(e.value=wTe,e.value=e.factory()),"object"==typeof e.value&&e.value&&function kTe(i){return null!==i&&"object"==typeof i&&"function"==typeof i.ngOnDestroy}(e.value)&&this._ngOnDestroyHooks.add(e.value),e.value}injectableDefInScope(a){if(!a.providedIn)return!1;const e=on(a.providedIn);return"string"==typeof e?"any"===e||this.scopes.has(e):this.injectorDefTypes.has(e)}removeOnDestroy(a){const e=this._onDestroyHooks.indexOf(a);-1!==e&&this._onDestroyHooks.splice(e,1)}}function GW(i){const a=zm(i),e=null!==a?a.factory:kg(i);if(null!==e)return e;if(i instanceof Pt)throw new ft(204,!1);if(i instanceof Function)return function TTe(i){const a=i.length;if(a>0)throw fT(a,"?"),new ft(204,!1);const e=function J3(i){return i&&(i[y_]||i[Jy])||null}(i);return null!==e?()=>e.factory(i):()=>new i}(i);throw new ft(204,!1)}function cQ(i,a,e){let t;if(Ax(i)){const n=on(i);return kg(n)||GW(n)}if(OW(i))t=()=>on(i.useValue);else if(function uQ(i){return!(!i||!i.useFactory)}(i))t=()=>i.useFactory(...Vw(i.deps||[]));else if(function lQ(i){return!(!i||!i.useExisting)}(i))t=()=>Ue(on(i.useExisting));else{const n=on(i&&(i.useClass||i.provide));if(!function ATe(i){return!!i.deps}(i))return kg(n)||GW(n);t=()=>new n(...Vw(i.deps))}return t}function wC(i,a,e=!1){return{factory:i,value:a,multi:e?[]:void 0}}function zW(i,a){for(const e of i)Array.isArray(e)?zW(e,a):e&&qy(e)?zW(e.\u0275providers,a):a(e)}function pQ(i,a=null,e=null,t){const n=mQ(i,a,e,t);return n.resolveInjectorInitializers(),n}function mQ(i,a=null,e=null,t,n=new Set){const r=[e||Va,rQ(i)];return t=t||("object"==typeof i?void 0:go(i)),new kx(r,a||yR(),t||null,n)}let UW,tr=(()=>{class i{static#e=this.THROW_IF_NOT_FOUND=Hm;static#t=this.NULL=new fR;static create(e,t){if(Array.isArray(e))return pQ({name:""},t,e,"");{const n=e.name??"";return pQ({name:n},e.parent,e.providers,n)}}static#i=this.\u0275prov=Mt({token:i,providedIn:"any",factory:()=>Ue(aQ)});static#n=this.__NG_ELEMENT_ID__=-1}return i})();function P_(){if(void 0!==UW)return UW;if(typeof document<"u")return document;throw new ft(210,!1)}const SR=new Pt("AppId",{providedIn:"root",factory:()=>WTe}),WTe="ng",_Q=new Pt("Platform Initializer"),Zh=new Pt("Platform ID",{providedIn:"platform",factory:()=>"unknown"}),XW=new Pt("AnimationModuleType"),bQ=new Pt("CSP nonce",{providedIn:"root",factory:()=>P_().body?.querySelector("[ngCspNonce]")?.getAttribute("ngCspNonce")||null});function YW(i){return i.ownerDocument.defaultView}function DR(i){return i.ownerDocument}function Qh(i){return i instanceof Function?i():i}function wR(i){return 128==(128&i.flags)}var Zm=function(i){return i[i.Important=1]="Important",i[i.DashCase=2]="DashCase",i}(Zm||{});const YTe=/^>|^->||--!>|)/g,ZTe="\u200b$1\u200b";const e4=new Map;let QTe=0;const i4="__ngContext__";function ic(i,a){Sl(a)?(i[i4]=a[dx],function eIe(i){e4.set(i[dx],i)}(a)):i[i4]=a}let n4;function a4(i,a){return n4(i,a)}function DT(i){const a=i[ls];return Yo(a)?a[ls]:a}function $Q(i){return VQ(i[cx])}function LQ(i){return VQ(i[Hh])}function VQ(i){for(;null!==i&&!Yo(i);)i=i[Hh];return i}function IC(i,a,e,t,n){if(null!=t){let r,s=!1;Yo(t)?r=t:Sl(t)&&(s=!0,t=t[Jr]);const o=Wr(t);0===i&&null!==e?null==n?jQ(a,e,o):Ex(a,e,o,n||null,!0):1===i&&null!==e?Ex(a,e,o,n||null,!0):2===i?function PR(i,a,e){const t=ER(i,a);t&&function yIe(i,a,e,t){i.removeChild(a,e,t)}(i,t,a,e)}(a,o,s):3===i&&a.destroyNode(o),null!=r&&function DIe(i,a,e,t,n){const r=e[Uh];r!==Wr(e)&&IC(a,i,t,r,n);for(let o=Ls;oa.replace(KTe,ZTe))}(a))}function AR(i,a,e){return i.createElement(a,e)}function OQ(i,a){const e=i[I_],t=e.indexOf(a);e.splice(t,1)}function CT(i,a){if(i.length<=Ls)return;const e=Ls+a,t=i[e];if(t){const n=t[hx];null!==n&&n!==i&&OQ(n,t),a>0&&(i[e-1][Hh]=t[Hh]);const r=dR(i,Ls+a);!function hIe(i,a){MT(i,a,a[gn],2,null,null),a[Jr]=null,a[_u]=null}(t[Jt],t);const s=r[Nd];null!==s&&s.detachView(r[Jt]),t[ls]=null,t[Hh]=null,t[fn]&=-129}return t}function kR(i,a){if(!(256&a[fn])){const e=a[gn];a[Fp]&&function ml(i){if(ur(i),Io(i))for(let a=0;a=0?t[s]():t[-s].unsubscribe(),r+=2}else e[r].call(t[e[r+1]]);null!==t&&(a[ux]=null);const n=a[Pp];if(null!==n){a[Pp]=null;for(let r=0;r-1){const{encapsulation:r}=i.data[t.directiveStart+n];if(r===tc.None||r===tc.Emulated)return null}return Dl(t,e)}}(i,a.parent,e)}function Ex(i,a,e,t,n){i.insertBefore(a,e,t,n)}function jQ(i,a,e){i.appendChild(a,e)}function GQ(i,a,e,t,n){null!==t?Ex(i,a,e,t,n):jQ(i,a,e)}function ER(i,a){return i.parentNode(a)}function zQ(i,a,e){return qQ(i,a,e)}let l4,FR,BR,qQ=function HQ(i,a,e){return 40&i.type?Dl(i,e):null};function RR(i,a,e,t){const n=o4(i,t,a),r=a[gn],o=zQ(t.parent||a[_u],t,a);if(null!=n)if(Array.isArray(e))for(let l=0;li,createScript:i=>i,createScriptURL:i=>i})}catch{}return FR}()?.createHTML(i)||i}function d4(){if(void 0===BR&&(BR=null,Pr.trustedTypes))try{BR=Pr.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:i=>i,createScript:i=>i,createScriptURL:i=>i})}catch{}return BR}function JQ(i){return d4()?.createHTML(i)||i}function tJ(i){return d4()?.createScriptURL(i)||i}class Rx{constructor(a){this.changingThisBreaksApplicationSecurity=a}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see ${YD})`}}class IIe extends Rx{getTypeName(){return"HTML"}}class AIe extends Rx{getTypeName(){return"Style"}}class kIe extends Rx{getTypeName(){return"Script"}}class EIe extends Rx{getTypeName(){return"URL"}}class RIe extends Rx{getTypeName(){return"ResourceURL"}}function Jh(i){return i instanceof Rx?i.changingThisBreaksApplicationSecurity:i}function Lp(i,a){const e=function PIe(i){return i instanceof Rx&&i.getTypeName()||null}(i);if(null!=e&&e!==a){if("ResourceURL"===e&&"URL"===a)return!0;throw new Error(`Required a safe ${a}, got a ${e} (see ${YD})`)}return e===a}class NIe{constructor(a){this.inertDocumentHelper=a}getInertBodyElement(a){a=""+a;try{const e=(new window.DOMParser).parseFromString(AC(a),"text/html").body;return null===e?this.inertDocumentHelper.getInertBodyElement(a):(e.removeChild(e.firstChild),e)}catch{return null}}}class OIe{constructor(a){this.defaultDoc=a,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert")}getInertBodyElement(a){const e=this.inertDocument.createElement("template");return e.innerHTML=AC(a),e}}const jIe=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:\/?#]*(?:[\/?#]|$))/i;function $R(i){return(i=String(i)).match(jIe)?i:"unsafe:"+i}function Qm(i){const a={};for(const e of i.split(","))a[e]=!0;return a}function wT(...i){const a={};for(const e of i)for(const t in e)e.hasOwnProperty(t)&&(a[t]=!0);return a}const nJ=Qm("area,br,col,hr,img,wbr"),aJ=Qm("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),rJ=Qm("rp,rt"),g4=wT(nJ,wT(aJ,Qm("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")),wT(rJ,Qm("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")),wT(rJ,aJ)),p4=Qm("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),sJ=wT(p4,Qm("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"),Qm("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")),GIe=Qm("script,style,template");class zIe{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(a){let e=a.firstChild,t=!0;for(;e;)if(e.nodeType===Node.ELEMENT_NODE?t=this.startElement(e):e.nodeType===Node.TEXT_NODE?this.chars(e.nodeValue):this.sanitizedSomething=!0,t&&e.firstChild)e=e.firstChild;else for(;e;){e.nodeType===Node.ELEMENT_NODE&&this.endElement(e);let n=this.checkClobberedElement(e,e.nextSibling);if(n){e=n;break}e=this.checkClobberedElement(e,e.parentNode)}return this.buf.join("")}startElement(a){const e=a.nodeName.toLowerCase();if(!g4.hasOwnProperty(e))return this.sanitizedSomething=!0,!GIe.hasOwnProperty(e);this.buf.push("<"),this.buf.push(e);const t=a.attributes;for(let n=0;n"),!0}endElement(a){const e=a.nodeName.toLowerCase();g4.hasOwnProperty(e)&&!nJ.hasOwnProperty(e)&&(this.buf.push(""))}chars(a){this.buf.push(oJ(a))}checkClobberedElement(a,e){if(e&&(a.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${a.outerHTML}`);return e}}const HIe=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,qIe=/([^\#-~ |!])/g;function oJ(i){return i.replace(/&/g,"&").replace(HIe,function(a){return"&#"+(1024*(a.charCodeAt(0)-55296)+(a.charCodeAt(1)-56320)+65536)+";"}).replace(qIe,function(a){return"&#"+a.charCodeAt(0)+";"}).replace(//g,">")}let LR;function lJ(i,a){let e=null;try{LR=LR||function iJ(i){const a=new OIe(i);return function WIe(){try{return!!(new window.DOMParser).parseFromString(AC(""),"text/html")}catch{return!1}}()?new NIe(a):a}(i);let t=a?String(a):"";e=LR.getInertBodyElement(t);let n=5,r=t;do{if(0===n)throw new Error("Failed to sanitize html because the input is unstable");n--,t=r,r=e.innerHTML,e=LR.getInertBodyElement(t)}while(t!==r);return AC((new zIe).sanitizeChildren(m4(e)||e))}finally{if(e){const t=m4(e)||e;for(;t.firstChild;)t.removeChild(t.firstChild)}}}function m4(i){return"content"in i&&function UIe(i){return i.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===i.nodeName}(i)?i.content:null}var ed=function(i){return i[i.NONE=0]="NONE",i[i.HTML=1]="HTML",i[i.STYLE=2]="STYLE",i[i.SCRIPT=3]="SCRIPT",i[i.URL=4]="URL",i[i.RESOURCE_URL=5]="RESOURCE_URL",i}(ed||{});function uJ(i){const a=TT();return a?JQ(a.sanitize(ed.HTML,i)||""):Lp(i,"HTML")?JQ(Jh(i)):lJ(P_(),wn(i))}function Jm(i){const a=TT();return a?a.sanitize(ed.URL,i)||"":Lp(i,"URL")?Jh(i):$R(wn(i))}function cJ(i){const a=TT();if(a)return tJ(a.sanitize(ed.RESOURCE_URL,i)||"");if(Lp(i,"ResourceURL"))return tJ(Jh(i));throw new ft(904,!1)}function TT(){const i=St();return i&&i[v_].sanitizer}let dJ=(i,a,e)=>null;function C4(i,a,e=!1){return dJ(i,a,e)}class o1e{}class mJ{}class u1e{resolveComponentFactory(a){throw function l1e(i){const a=Error(`No component factory found for ${go(i)}.`);return a.ngComponent=i,a}(a)}}let ef=(()=>{class i{static#e=this.NULL=new u1e}return i})();function c1e(){return RC(mr(),St())}function RC(i,a){return new Ze(Dl(i,a))}let Ze=(()=>{class i{constructor(e){this.nativeElement=e}static#e=this.__NG_ELEMENT_ID__=c1e}return i})();function h1e(i){return i instanceof Ze?i.nativeElement:i}class GR{}let Ia=(()=>{class i{constructor(){this.destroyNode=null}static#e=this.__NG_ELEMENT_ID__=()=>function d1e(){const i=St(),e=Pc(mr().index,i);return(Sl(e)?e:i)[gn]}()}return i})(),g1e=(()=>{class i{static#e=this.\u0275prov=Mt({token:i,providedIn:"root",factory:()=>null})}return i})();class PC{constructor(a){this.full=a,this.major=a.split(".")[0],this.minor=a.split(".")[1],this.patch=a.split(".").slice(2).join(".")}}const _J=new PC("17.0.1"),w4={};function bJ(i){const a=Mn(null);try{return i()}finally{Mn(a)}}function zR(i){return!!T4(i)&&(Array.isArray(i)||!(i instanceof Map)&&Symbol.iterator in i)}function T4(i){return null!==i&&("function"==typeof i||"object"==typeof i)}class yJ{constructor(){}supports(a){return zR(a)}create(a){return new b1e(a)}}const _1e=(i,a)=>a;class b1e{constructor(a){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=a||_1e}forEachItem(a){let e;for(e=this._itHead;null!==e;e=e._next)a(e)}forEachOperation(a){let e=this._itHead,t=this._removalsHead,n=0,r=null;for(;e||t;){const s=!t||e&&e.currentIndex{s=this._trackByFn(n,o),null!==e&&Object.is(e.trackById,s)?(t&&(e=this._verifyReinsertion(e,o,s,n)),Object.is(e.item,o)||this._addIdentityChange(e,o)):(e=this._mismatch(e,o,s,n),t=!0),e=e._next,n++}),this.length=n;return this._truncate(e),this.collection=a,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let a;for(a=this._previousItHead=this._itHead;null!==a;a=a._next)a._nextPrevious=a._next;for(a=this._additionsHead;null!==a;a=a._nextAdded)a.previousIndex=a.currentIndex;for(this._additionsHead=this._additionsTail=null,a=this._movesHead;null!==a;a=a._nextMoved)a.previousIndex=a.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(a,e,t,n){let r;return null===a?r=this._itTail:(r=a._prev,this._remove(a)),null!==(a=null===this._unlinkedRecords?null:this._unlinkedRecords.get(t,null))?(Object.is(a.item,e)||this._addIdentityChange(a,e),this._reinsertAfter(a,r,n)):null!==(a=null===this._linkedRecords?null:this._linkedRecords.get(t,n))?(Object.is(a.item,e)||this._addIdentityChange(a,e),this._moveAfter(a,r,n)):a=this._addAfter(new y1e(e,t),r,n),a}_verifyReinsertion(a,e,t,n){let r=null===this._unlinkedRecords?null:this._unlinkedRecords.get(t,null);return null!==r?a=this._reinsertAfter(r,a._prev,n):a.currentIndex!=n&&(a.currentIndex=n,this._addToMoves(a,n)),a}_truncate(a){for(;null!==a;){const e=a._next;this._addToRemovals(this._unlink(a)),a=e}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(a,e,t){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(a);const n=a._prevRemoved,r=a._nextRemoved;return null===n?this._removalsHead=r:n._nextRemoved=r,null===r?this._removalsTail=n:r._prevRemoved=n,this._insertAfter(a,e,t),this._addToMoves(a,t),a}_moveAfter(a,e,t){return this._unlink(a),this._insertAfter(a,e,t),this._addToMoves(a,t),a}_addAfter(a,e,t){return this._insertAfter(a,e,t),this._additionsTail=null===this._additionsTail?this._additionsHead=a:this._additionsTail._nextAdded=a,a}_insertAfter(a,e,t){const n=null===e?this._itHead:e._next;return a._next=n,a._prev=e,null===n?this._itTail=a:n._prev=a,null===e?this._itHead=a:e._next=a,null===this._linkedRecords&&(this._linkedRecords=new xJ),this._linkedRecords.put(a),a.currentIndex=t,a}_remove(a){return this._addToRemovals(this._unlink(a))}_unlink(a){null!==this._linkedRecords&&this._linkedRecords.remove(a);const e=a._prev,t=a._next;return null===e?this._itHead=t:e._next=t,null===t?this._itTail=e:t._prev=e,a}_addToMoves(a,e){return a.previousIndex===e||(this._movesTail=null===this._movesTail?this._movesHead=a:this._movesTail._nextMoved=a),a}_addToRemovals(a){return null===this._unlinkedRecords&&(this._unlinkedRecords=new xJ),this._unlinkedRecords.put(a),a.currentIndex=null,a._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=a,a._prevRemoved=null):(a._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=a),a}_addIdentityChange(a,e){return a.item=e,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=a:this._identityChangesTail._nextIdentityChange=a,a}}class y1e{constructor(a,e){this.item=a,this.trackById=e,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 x1e{constructor(){this._head=null,this._tail=null}add(a){null===this._head?(this._head=this._tail=a,a._nextDup=null,a._prevDup=null):(this._tail._nextDup=a,a._prevDup=this._tail,a._nextDup=null,this._tail=a)}get(a,e){let t;for(t=this._head;null!==t;t=t._nextDup)if((null===e||e<=t.currentIndex)&&Object.is(t.trackById,a))return t;return null}remove(a){const e=a._prevDup,t=a._nextDup;return null===e?this._head=t:e._nextDup=t,null===t?this._tail=e:t._prevDup=e,null===this._head}}class xJ{constructor(){this.map=new Map}put(a){const e=a.trackById;let t=this.map.get(e);t||(t=new x1e,this.map.set(e,t)),t.add(a)}get(a,e){const n=this.map.get(a);return n?n.get(a,e):null}remove(a){const e=a.trackById;return this.map.get(e).remove(a)&&this.map.delete(e),a}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function SJ(i,a,e){const t=i.previousIndex;if(null===t)return t;let n=0;return e&&t{if(e&&e.key===n)this._maybeAddToChanges(e,t),this._appendAfter=e,e=e._next;else{const r=this._getOrCreateRecordForKey(n,t);e=this._insertBeforeOrAppend(e,r)}}),e){e._prev&&(e._prev._next=null),this._removalsHead=e;for(let t=e;null!==t;t=t._nextRemoved)t===this._mapHead&&(this._mapHead=null),this._records.delete(t.key),t._nextRemoved=t._next,t.previousValue=t.currentValue,t.currentValue=null,t._prev=null,t._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(a,e){if(a){const t=a._prev;return e._next=a,e._prev=t,a._prev=e,t&&(t._next=e),a===this._mapHead&&(this._mapHead=e),this._appendAfter=a,a}return this._appendAfter?(this._appendAfter._next=e,e._prev=this._appendAfter):this._mapHead=e,this._appendAfter=e,null}_getOrCreateRecordForKey(a,e){if(this._records.has(a)){const n=this._records.get(a);this._maybeAddToChanges(n,e);const r=n._prev,s=n._next;return r&&(r._next=s),s&&(s._prev=r),n._next=null,n._prev=null,n}const t=new D1e(a);return this._records.set(a,t),t.currentValue=e,this._addToAdditions(t),t}_reset(){if(this.isDirty){let a;for(this._previousMapHead=this._mapHead,a=this._previousMapHead;null!==a;a=a._next)a._nextPrevious=a._next;for(a=this._changesHead;null!==a;a=a._nextChanged)a.previousValue=a.currentValue;for(a=this._additionsHead;null!=a;a=a._nextAdded)a.previousValue=a.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(a,e){Object.is(e,a.currentValue)||(a.previousValue=a.currentValue,a.currentValue=e,this._addToChanges(a))}_addToAdditions(a){null===this._additionsHead?this._additionsHead=this._additionsTail=a:(this._additionsTail._nextAdded=a,this._additionsTail=a)}_addToChanges(a){null===this._changesHead?this._changesHead=this._changesTail=a:(this._changesTail._nextChanged=a,this._changesTail=a)}_forEach(a,e){a instanceof Map?a.forEach(e):Object.keys(a).forEach(t=>e(a[t],t))}}class D1e{constructor(a){this.key=a,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 CJ(){return new nc([new yJ])}let nc=(()=>{class i{static#e=this.\u0275prov=Mt({token:i,providedIn:"root",factory:CJ});constructor(e){this.factories=e}static create(e,t){if(null!=t){const n=t.factories.slice();e=e.concat(n)}return new i(e)}static extend(e){return{provide:i,useFactory:t=>i.create(e,t||CJ()),deps:[[i,new pR,new CC]]}}find(e){const t=this.factories.find(n=>n.supports(e));if(null!=t)return t;throw new ft(901,!1)}}return i})();function vJ(){return new kT([new DJ])}let kT=(()=>{class i{static#e=this.\u0275prov=Mt({token:i,providedIn:"root",factory:vJ});constructor(e){this.factories=e}static create(e,t){if(t){const n=t.factories.slice();e=e.concat(n)}return new i(e)}static extend(e){return{provide:i,useFactory:t=>i.create(e,t||vJ()),deps:[[i,new pR,new CC]]}}find(e){const t=this.factories.find(n=>n.supports(e));if(t)return t;throw new ft(901,!1)}}return i})();function ET(i,a,e,t,n=!1){for(;null!==e;){const r=a[e.index];null!==r&&t.push(Wr(r)),Yo(r)&&MJ(r,t);const s=e.type;if(8&s)ET(i,a,e.child,t);else if(32&s){const o=a4(e,a);let l;for(;l=o();)t.push(l)}else if(16&s){const o=XQ(a,e);if(Array.isArray(o))t.push(...o);else{const l=DT(a[es]);ET(l[Jt],l,o,t,!0)}}e=n?e.projectionNext:e.next}return t}function MJ(i,a){for(let e=Ls;e!1,producerRecomputeValue:()=>{},consumerMarkedDirty:()=>{},consumerOnSignalRead:()=>{},consumerIsAlwaysLive:!0,consumerMarkedDirty:i=>{rC(i.lView)},consumerOnSignalRead(){this.lView[Fp]=this}};function I4(i){return i.ngOriginalError}class tf{constructor(){this._console=console}handleError(a){const e=this._findOriginalError(a);this._console.error("ERROR",a),e&&this._console.error("ORIGINAL ERROR",e)}_findOriginalError(a){let e=a&&I4(a);for(;e&&I4(e);)e=I4(e);return e||null}}const AJ=new Pt("",{providedIn:"root",factory:()=>!1}),On={};function f(i){PJ(ba(),St(),Cl()+i,!1)}function PJ(i,a,e,t){if(!t)if(3==(3&a[fn])){const r=i.preOrderCheckHooks;null!==r&&vx(a,r,e)}else{const r=i.preOrderHooks;null!==r&&Mx(a,r,0,e)}Rg(e)}function A(i,a=aa.Default){const e=St();return null===e?Ue(i,a):gC(mr(),e,on(i),a)}function qR(i,a,e,t,n,r,s,o,l,u,c){const h=a.blueprint.slice();return h[Jr]=n,h[fn]=140|t,(null!==u||i&&2048&i[fn])&&(h[fn]|=2048),z2(h),h[ls]=h[M_]=i,h[xr]=e,h[v_]=s||i&&i[v_],h[gn]=o||i&&i[gn],h[bu]=l||i&&i[bu]||null,h[_u]=r,h[dx]=function JTe(){return QTe++}(),h[qh]=c,h[zw]=u,h[es]=2==a.type?i[es]:h,h}function FC(i,a,e,t,n){let r=i.data[a];if(null===r)r=function A4(i,a,e,t,n){const r=oC(),s=nT(),l=i.data[a]=function O1e(i,a,e,t,n,r){let s=a?a.injectorIndex:-1,o=0;return $p()&&(o|=128),{type:e,index:t,insertBeforeIndex:null,injectorIndex:s,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,componentOffset:-1,propertyBindings:null,flags:o,providerIndexes:0,value:n,attrs:r,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tView:null,next:null,prev:null,projectionNext:null,child:null,parent:a,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?r:r&&r.parent,e,a,t,n);return null===i.firstChild&&(i.firstChild=l),null!==r&&(s?null==r.child&&null!==l.parent&&(r.child=l):null===r.next&&(r.next=l,l.prev=r)),l}(i,a,e,t,n),function DW(){return _n.lFrame.inI18n}()&&(r.flags|=32);else if(64&r.type){r.type=e,r.value=t,r.attrs=n;const s=function xx(){const i=_n.lFrame,a=i.currentTNode;return i.isParent?a:a.parent}();r.injectorIndex=null===s?-1:s.injectorIndex}return jd(r,!0),r}function RT(i,a,e,t){if(0===e)return-1;const n=a.length;for(let r=0;rnn&&PJ(i,a,nn,!1),Od(s?2:0,n),e(t,n)}finally{Rg(r),Od(s?3:1,n)}}function k4(i,a,e){if(E2(a)){const t=Mn(null);try{const r=a.directiveEnd;for(let s=a.directiveStart;snull;function VJ(i,a,e,t){for(let n in i)if(i.hasOwnProperty(n)){e=null===e?{}:e;const r=i[n];null===t?NJ(e,a,n,r):t.hasOwnProperty(n)&&NJ(e,a,t[n],r)}return e}function NJ(i,a,e,t){i.hasOwnProperty(e)?i[e].push(a,t):i[e]=[a,t]}function td(i,a,e,t,n,r,s,o){const l=Dl(a,e);let c,u=a.inputs;!o&&null!=u&&(c=u[t])?(V4(i,e,c,t,n),Bp(a)&&function G1e(i,a){const e=Pc(a,i);16&e[fn]||(e[fn]|=64)}(e,a.index)):3&a.type&&(t=function j1e(i){return"class"===i?"className":"for"===i?"htmlFor":"formaction"===i?"formAction":"innerHtml"===i?"innerHTML":"readonly"===i?"readOnly":"tabindex"===i?"tabIndex":i}(t),n=null!=s?s(n,a.value||"",t):n,r.setProperty(l,t,n))}function F4(i,a,e,t){if(X2()){const n=null===t?null:{"":-1},r=function Y1e(i,a){const e=i.directiveRegistry;let t=null,n=null;if(e)for(let r=0;r0;){const e=i[--a];if("number"==typeof e&&e<0)return e}return 0})(s)!=o&&s.push(o),s.push(e,t,r)}}(i,a,t,RT(i,e,n.hostVars,On),n)}function Vp(i,a,e,t,n,r){const s=Dl(i,a);!function $4(i,a,e,t,n,r,s){if(null==r)i.removeAttribute(a,n,e);else{const o=null==s?wn(r):s(r,t||"",n);i.setAttribute(a,n,o,e)}}(a[gn],s,r,i.value,e,t,n)}function tAe(i,a,e,t,n,r){const s=r[a];if(null!==s)for(let o=0;oi.nextProducerIndex;)i.producerNode.pop(),i.producerLastReadVersion.pop(),i.producerIndexOfThis.pop()}}(o,s),function w1e(i){i.lView[Fp]!==i&&(i.lView=null,wJ.push(i))}(o)),uT()}}function YJ(i,a){for(let e=$Q(i);null!==e;e=LQ(e)){e[gx]=!1;for(let t=Ls;t-1&&(CT(a,t),dR(e,t))}this._attachedToViewContainer=!1}kR(this._lView[Jt],this._lView)}onDestroy(a){sC(this._lView,a)}markForCheck(){PT(this._cdRefInjectingView||this._lView)}detach(){this._lView[fn]&=-129}reattach(){Qw(this._lView),this._lView[fn]|=128}detectChanges(){!function N4(i,a,e,t=!0){const n=a[v_],r=n.rendererFactory,s=n.afterRenderEventManager;r.begin?.(),s?.begin();try{XJ(i,a,i.template,e),function aAe(i){let a=0;for(;9216&i[fn]||i[Fp]?.dirty;){if(100===a)throw new ft(103,!1);a++,ZJ(i,1)}}(a)}catch(l){throw t&&XR(a,l),l}finally{r.end?.(),n.inlineEffectRunner?.flush(),s?.end()}}(this._lView[Jt],this._lView,this.context,this.notifyErrorHandler)}checkNoChanges(){}attachToViewContainerRef(){if(this._appRef)throw new ft(902,!1);this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function gIe(i,a){MT(i,a,a[gn],2,null,null)}(this._lView[Jt],this._lView)}attachToAppRef(a){if(this._attachedToViewContainer)throw new ft(902,!1);this._appRef=a}}let ni=(()=>{class i{static#e=this.__NG_ELEMENT_ID__=uAe}return i})();function uAe(i){return function cAe(i,a,e){if(Bp(i)&&!e){const t=Pc(i.index,a);return new FT(t,t)}return 47&i.type?new FT(a[es],a):null}(mr(),St(),16==(16&i))}let YR=(()=>{class i{static#e=this.__NG_ELEMENT_ID__=pAe;static#t=this.__NG_ENV_ID__=e=>e}return i})();class gAe extends YR{constructor(a){super(),this._lView=a}onDestroy(a){return sC(this._lView,a),()=>function yx(i,a){if(null===i[Pp])return;const e=i[Pp].indexOf(a);-1!==e&&i[Pp].splice(e,1)}(this._lView,a)}}function pAe(){return new gAe(St())}function Px(i,a){return performance?.mark?.(i,a)}function O4(i){return a=>{setTimeout(i,void 0,a)}}const Q=class SAe extends Z{constructor(a=!1){super(),this.__isAsync=a}emit(a){super.next(a)}subscribe(a,e,t){let n=a,r=e||(()=>null),s=t;if(a&&"object"==typeof a){const l=a;n=l.next?.bind(l),r=l.error?.bind(l),s=l.complete?.bind(l)}this.__isAsync&&(r=O4(r),n&&(n=O4(n)),s&&(s=O4(s)));const o=super.subscribe({next:n,error:r,complete:s});return a instanceof or&&a.add(o),o}};function JJ(...i){}class hi{constructor({enableLongStackTrace:a=!1,shouldCoalesceEventChangeDetection:e=!1,shouldCoalesceRunChangeDetection:t=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new Q(!1),this.onMicrotaskEmpty=new Q(!1),this.onStable=new Q(!1),this.onError=new Q(!1),typeof Zone>"u")throw new ft(908,!1);Zone.assertZonePatched();const n=this;n._nesting=0,n._outer=n._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(n._inner=n._inner.fork(new Zone.TaskTrackingZoneSpec)),a&&Zone.longStackTraceZoneSpec&&(n._inner=n._inner.fork(Zone.longStackTraceZoneSpec)),n.shouldCoalesceEventChangeDetection=!t&&e,n.shouldCoalesceRunChangeDetection=t,n.lastRequestAnimationFrameId=-1,n.nativeRequestAnimationFrame=function DAe(){const i="function"==typeof Pr.requestAnimationFrame;let a=Pr[i?"requestAnimationFrame":"setTimeout"],e=Pr[i?"cancelAnimationFrame":"clearTimeout"];if(typeof Zone<"u"&&a&&e){const t=a[Zone.__symbol__("OriginalDelegate")];t&&(a=t);const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n)}return{nativeRequestAnimationFrame:a,nativeCancelAnimationFrame:e}}().nativeRequestAnimationFrame,function MAe(i){const a=()=>{!function vAe(i){i.isCheckStableRunning||-1!==i.lastRequestAnimationFrameId||(i.lastRequestAnimationFrameId=i.nativeRequestAnimationFrame.call(Pr,()=>{i.fakeTopEventTask||(i.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{i.lastRequestAnimationFrameId=-1,j4(i),i.isCheckStableRunning=!0,W4(i),i.isCheckStableRunning=!1},void 0,()=>{},()=>{})),i.fakeTopEventTask.invoke()}),j4(i))}(i)};i._inner=i._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,t,n,r,s,o)=>{if(function TAe(i){return!(!Array.isArray(i)||1!==i.length)&&!0===i[0].data?.__ignore_ng_zone__}(o))return e.invokeTask(n,r,s,o);try{return eee(i),e.invokeTask(n,r,s,o)}finally{(i.shouldCoalesceEventChangeDetection&&"eventTask"===r.type||i.shouldCoalesceRunChangeDetection)&&a(),tee(i)}},onInvoke:(e,t,n,r,s,o,l)=>{try{return eee(i),e.invoke(n,r,s,o,l)}finally{i.shouldCoalesceRunChangeDetection&&a(),tee(i)}},onHasTask:(e,t,n,r)=>{e.hasTask(n,r),t===n&&("microTask"==r.change?(i._hasPendingMicrotasks=r.microTask,j4(i),W4(i)):"macroTask"==r.change&&(i.hasPendingMacrotasks=r.macroTask))},onHandleError:(e,t,n,r)=>(e.handleError(n,r),i.runOutsideAngular(()=>i.onError.emit(r)),!1)})}(n)}static isInAngularZone(){return typeof Zone<"u"&&!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!hi.isInAngularZone())throw new ft(909,!1)}static assertNotInAngularZone(){if(hi.isInAngularZone())throw new ft(909,!1)}run(a,e,t){return this._inner.run(a,e,t)}runTask(a,e,t,n){const r=this._inner,s=r.scheduleEventTask("NgZoneEvent: "+n,a,CAe,JJ,JJ);try{return r.runTask(s,e,t)}finally{r.cancelTask(s)}}runGuarded(a,e,t){return this._inner.runGuarded(a,e,t)}runOutsideAngular(a){return this._outer.run(a)}}const CAe={};function W4(i){if(0==i._nesting&&!i.hasPendingMicrotasks&&!i.isStable)try{i._nesting++,i.onMicrotaskEmpty.emit(null)}finally{if(i._nesting--,!i.hasPendingMicrotasks)try{i.runOutsideAngular(()=>i.onStable.emit(null))}finally{i.isStable=!0}}}function j4(i){i.hasPendingMicrotasks=!!(i._hasPendingMicrotasks||(i.shouldCoalesceEventChangeDetection||i.shouldCoalesceRunChangeDetection)&&-1!==i.lastRequestAnimationFrameId)}function eee(i){i._nesting++,i.isStable&&(i.isStable=!1,i.onUnstable.emit(null))}function tee(i){i._nesting--,W4(i)}const iee=new Pt("",{providedIn:"root",factory:nee});function nee(){const i=Ut(hi);let a=!0;return $d(new ha(n=>{a=i.isStable&&!i.hasPendingMacrotasks&&!i.hasPendingMicrotasks,i.runOutsideAngular(()=>{n.next(a),n.complete()})}),new ha(n=>{let r;i.runOutsideAngular(()=>{r=i.onStable.subscribe(()=>{hi.assertNotInAngularZone(),queueMicrotask(()=>{!a&&!i.hasPendingMacrotasks&&!i.hasPendingMicrotasks&&(a=!0,n.next(!0))})})});const s=i.onUnstable.subscribe(()=>{hi.assertInAngularZone(),a&&(a=!1,i.runOutsideAngular(()=>{n.next(!1)}))});return()=>{r.unsubscribe(),s.unsubscribe()}}).pipe(f_()))}var Fx=function(i){return i[i.EarlyRead=0]="EarlyRead",i[i.Write=1]="Write",i[i.MixedReadWrite=2]="MixedReadWrite",i[i.Read=3]="Read",i}(Fx||{});const aee={destroy(){}};function see(i,a){!a&&function HW(i){if(!Rw()&&!function $w(){return S_}())throw new ft(-203,!1)}();const e=a?.injector??Ut(tr);if(!function F_(i){return"browser"===(i??Ut(tr)).get(Zh)}(e))return aee;Px("mark_use_counter",{detail:{feature:"NgAfterNextRender"}});const t=e.get(KR),n=t.handler??=new lee,r=a?.phase??Fx.MixedReadWrite,s=()=>{n.unregister(l),o()},o=e.get(YR).onDestroy(s),l=new oee(e,r,()=>{s(),i()});return n.register(l),{destroy:s}}class oee{constructor(a,e,t){this.phase=e,this.callbackFn=t,this.zone=a.get(hi),this.errorHandler=a.get(tf,null,{optional:!0})}invoke(){try{this.zone.runOutsideAngular(this.callbackFn)}catch(a){this.errorHandler?.handleError(a)}}}class lee{constructor(){this.executingCallbacks=!1,this.buckets={[Fx.EarlyRead]:new Set,[Fx.Write]:new Set,[Fx.MixedReadWrite]:new Set,[Fx.Read]:new Set},this.deferredCallbacks=new Set}validateBegin(){if(this.executingCallbacks)throw new ft(102,!1)}register(a){(this.executingCallbacks?this.deferredCallbacks:this.buckets[a.phase]).add(a)}unregister(a){this.buckets[a.phase].delete(a),this.deferredCallbacks.delete(a)}execute(){this.executingCallbacks=!0;for(const a of Object.values(this.buckets))for(const e of a)e.invoke();this.executingCallbacks=!1;for(const a of this.deferredCallbacks)this.buckets[a.phase].add(a);this.deferredCallbacks.clear()}destroy(){for(const a of Object.values(this.buckets))a.clear();this.deferredCallbacks.clear()}}let KR=(()=>{class i{constructor(){this.renderDepth=0,this.handler=null,this.internalCallbacks=[]}begin(){this.handler?.validateBegin(),this.renderDepth++}end(){if(this.renderDepth--,0===this.renderDepth){for(const e of this.internalCallbacks)e();this.internalCallbacks.length=0,this.handler?.execute()}}ngOnDestroy(){this.handler?.destroy(),this.handler=null,this.internalCallbacks.length=0}static#e=this.\u0275prov=Mt({token:i,providedIn:"root",factory:()=>new i})}return i})();function AAe(i,a){const e=Pc(a,i),t=e[Jt];!function kAe(i,a){for(let e=a.length;e0&&ZQ(i,e,r.join(" "))}}(h,F,g,t),void 0!==e&&function OAe(i,a,e){const t=i.projection=[];for(let n=0;n=0;t--){const n=i[t];n.hostVars=a+=n.hostVars,n.hostAttrs=lx(n.hostAttrs,e=lx(e,n.hostAttrs))}}(t)}function QR(i){return i===Vd?{}:i===Va?[]:i}function GAe(i,a){const e=i.viewQuery;i.viewQuery=e?(t,n)=>{a(t,n),e(t,n)}:a}function zAe(i,a){const e=i.contentQueries;i.contentQueries=e?(t,n,r)=>{a(t,n,r),e(t,n,r)}:a}function HAe(i,a){const e=i.hostBindings;i.hostBindings=e?(t,n)=>{a(t,n),e(t,n)}:a}function qt(i){const a=i.inputConfig,e={};for(const t in a)if(a.hasOwnProperty(t)){const n=a[t];Array.isArray(n)&&n[2]&&(e[t]=n[2])}i.inputTransforms=e}function Np(i,a,e){return i[a]=e}function $T(i,a){return i[a]}function Zo(i,a,e){return!Object.is(i[a],e)&&(i[a]=e,!0)}function Bx(i,a,e,t){const n=Zo(i,a,e);return Zo(i,a+1,t)||n}function JR(i,a,e,t,n){const r=Bx(i,a,e,t);return Zo(i,a+2,n)||r}function qd(i,a,e,t,n,r){const s=Bx(i,a,e,t);return Bx(i,a+2,n,r)||s}function ke(i,a,e,t){const n=St();return Zo(n,Gd(),a)&&(ba(),Vp(ts(),n,i,a,e,t)),ke}function $C(i,a,e,t){return Zo(i,Gd(),e)?a+wn(e)+t:On}function LC(i,a,e,t,n,r){const o=Bx(i,gh(),e,n);return Eg(2),o?a+wn(e)+t+wn(n)+r:On}function eP(i,a){return i<<17|a<<2}function $_(i){return i>>17&32767}function z4(i){return 2|i}function $x(i){return(131068&i)>>2}function H4(i,a){return-131069&i|a<<2}function q4(i){return 1|i}function vee(i,a,e,t,n){const r=i[e+1],s=null===a;let o=t?$_(r):$x(r),l=!1;for(;0!==o&&(!1===l||s);){const c=i[o+1];ike(i[o],a)&&(l=!0,i[o+1]=t?q4(c):z4(c)),o=t?$_(c):$x(c)}l&&(i[e+1]=t?z4(r):q4(r))}function ike(i,a){return null===i||null==a||(Array.isArray(i)?i[1]:i)===a||!(!Array.isArray(i)||"string"!=typeof a)&&DC(i,a)>=0}const wl={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Mee(i){return i.substring(wl.key,wl.keyEnd)}function wee(i,a){const e=wl.textEnd;return e===a?-1:(a=wl.keyEnd=function ske(i,a,e){for(;a32;)a++;return a}(i,wl.key=a,e),zC(i,a,e))}function zC(i,a,e){for(;a=0;e=wee(a,e))Kh(i,Mee(a),!0)}function Fg(i,a,e,t){const n=St(),r=ba(),s=Eg(2);r.firstUpdatePass&&Ree(r,i,s,t),a!==On&&Zo(n,s,a)&&Fee(r,r.data[Cl()],n,n[gn],i,n[s+1]=function _ke(i,a){return null==i||""===i||("string"==typeof a?i+=a:"object"==typeof i&&(i=go(Jh(i)))),i}(a,e),t,s)}function Bg(i,a,e,t){const n=ba(),r=Eg(2);n.firstUpdatePass&&Ree(n,null,r,t);const s=St();if(e!==On&&Zo(s,r,e)){const o=n.data[Cl()];if($ee(o,t)&&!Eee(n,r)){let l=t?o.classesWithoutHost:o.stylesWithoutHost;null!==l&&(e=Hy(l,e||"")),U4(n,o,s,e,t)}else!function fke(i,a,e,t,n,r,s,o){n===On&&(n=Va);let l=0,u=0,c=0=i.expandoStartIndex}function Ree(i,a,e,t){const n=i.data;if(null===n[e+1]){const r=n[Cl()],s=Eee(i,e);$ee(r,t)&&null===a&&!s&&(a=!1),a=function cke(i,a,e,t){const n=Dx(i);let r=t?a.residualClasses:a.residualStyles;if(null===n)0===(t?a.classBindings:a.styleBindings)&&(e=LT(e=X4(null,i,a,e,t),a.attrs,t),r=null);else{const s=a.directiveStylingLast;if(-1===s||i[s]!==n)if(e=X4(n,i,a,e,t),null===r){let l=function hke(i,a,e){const t=e?a.classBindings:a.styleBindings;if(0!==$x(t))return i[$_(t)]}(i,a,t);void 0!==l&&Array.isArray(l)&&(l=X4(null,i,a,l[1],t),l=LT(l,a.attrs,t),function dke(i,a,e,t){i[$_(e?a.classBindings:a.styleBindings)]=t}(i,a,t,l))}else r=function gke(i,a,e){let t;const n=a.directiveEnd;for(let r=1+a.directiveStylingLast;r0)&&(u=!0)):c=e,n)if(0!==l){const d=$_(i[o+1]);i[t+1]=eP(d,o),0!==d&&(i[d+1]=H4(i[d+1],t)),i[o+1]=function QAe(i,a){return 131071&i|a<<17}(i[o+1],t)}else i[t+1]=eP(o,0),0!==o&&(i[o+1]=H4(i[o+1],t)),o=t;else i[t+1]=eP(l,0),0===o?o=t:i[l+1]=H4(i[l+1],t),l=t;u&&(i[t+1]=z4(i[t+1])),vee(i,c,t,!0),vee(i,c,t,!1),function tke(i,a,e,t,n){const r=n?i.residualClasses:i.residualStyles;null!=r&&"string"==typeof a&&DC(r,a)>=0&&(e[t+1]=q4(e[t+1]))}(a,c,i,t,r),s=eP(o,l),r?a.classBindings=s:a.styleBindings=s}(n,r,a,e,s,t)}}function X4(i,a,e,t,n){let r=null;const s=e.directiveEnd;let o=e.directiveStylingLast;for(-1===o?o=e.directiveStart:o++;o0;){const l=i[n],u=Array.isArray(l),c=u?l[1]:l,h=null===c;let d=e[n+1];d===On&&(d=h?Va:void 0);let g=h?FW(d,t):c===t?d:void 0;if(u&&!tP(g)&&(g=FW(l,t)),tP(g)&&(o=g,s))return o;const p=i[n+1];n=s?$_(p):$x(p)}if(null!==a){let l=r?a.residualClasses:a.residualStyles;null!=l&&(o=FW(l,t))}return o}function tP(i){return void 0!==i}function $ee(i,a){return 0!=(i.flags&(a?8:16))}function $g(i,a,e){Bg(Kh,Wp,$C(St(),i,a,e),!0)}function qC(i,a){return!a||wR(i)}function jT(i,a,e,t=!0){const n=a[Jt];if(function mIe(i,a,e,t){const n=Ls+t,r=e.length;t>0&&(e[n-1][Hh]=a),t{class i{static#e=this.__NG_ELEMENT_ID__=Kke}return i})();function Kke(){return Yee(mr(),St())}const Zke=Tn,Uee=class extends Zke{constructor(a,e,t){super(),this._lContainer=a,this._hostTNode=e,this._hostLView=t}get element(){return RC(this._hostTNode,this._hostLView)}get injector(){return new vl(this._hostTNode,this._hostLView)}get parentInjector(){const a=Tx(this._hostTNode,this._hostLView);if(J(a)){const e=wt(a,this._hostLView),t=Ie(a);return new vl(e[Jt].data[t+8],e)}return new vl(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(a){const e=Xee(this._lContainer);return null!==e&&e[a]||null}get length(){return this._lContainer.length-Ls}createEmbeddedView(a,e,t){let n,r;"number"==typeof t?n=t:null!=t&&(n=t.index,r=t.injector);const o=a.createEmbeddedViewImpl(e||{},r,null);return this.insertImpl(o,n,qC(this._hostTNode,null)),o}createComponent(a,e,t,n,r){const s=a&&!function mT(i){return"function"==typeof i}(a);let o;if(s)o=e;else{const p=e||{};o=p.index,t=p.injector,n=p.projectableNodes,r=p.environmentInjector||p.ngModuleRef}const l=s?a:new BT(Gn(a)),u=t||this.parentInjector;if(!r&&null==l.ngModule){const m=(s?u:this.parentInjector).get(Ko,null);m&&(r=m)}Gn(l.componentType??{});const g=l.create(u,n,null,r);return this.insertImpl(g.hostView,o,qC(this._hostTNode,null)),g}insert(a,e){return this.insertImpl(a,e,!0)}insertImpl(a,e,t){const n=a._lView;if(function Kw(i){return Yo(i[ls])}(n)){const o=this.indexOf(a);if(-1!==o)this.detach(o);else{const l=n[ls],u=new Uee(l,l[_u],l[ls]);u.detach(u.indexOf(a))}}const r=this._adjustIndex(e),s=this._lContainer;return jT(s,n,r,t),a.attachToViewContainerRef(),ZZ(n5(s),r,a),a}move(a,e){return this.insert(a,e)}indexOf(a){const e=Xee(this._lContainer);return null!==e?e.indexOf(a):-1}remove(a){const e=this._adjustIndex(a,-1),t=CT(this._lContainer,e);t&&(dR(n5(this._lContainer),e),kR(t[Jt],t))}detach(a){const e=this._adjustIndex(a,-1),t=CT(this._lContainer,e);return t&&null!=dR(n5(this._lContainer),e)?new FT(t):null}_adjustIndex(a,e=0){return a??this.length+e}};function Xee(i){return i[8]}function n5(i){return i[8]||(i[8]=[])}function Yee(i,a){let e;const t=a[i.index];return Yo(t)?e=t:(e=GJ(t,a,null,i),a[i.index]=e,UR(a,e)),Kee(e,a,i,t),new Uee(e,i,a)}let Kee=function Qee(i,a,e,t){if(i[Uh])return;let n;n=8&e.type?Wr(t):function Qke(i,a){const e=i[gn],t=e.createComment(""),n=Dl(a,i);return Ex(e,ER(e,n),t,function xIe(i,a){return i.nextSibling(a)}(e,n),!1),t}(a,e),i[Uh]=n},a5=(i,a,e)=>!1;function $(i,a,e,t,n,r,s,o){const l=St(),u=ba(),c=i+nn,h=u.firstCreatePass?function iEe(i,a,e,t,n,r,s,o,l){const u=a.consts,c=FC(a,i,4,s||null,dh(u,o));F4(a,e,c,dh(u,l)),Km(a,c);const h=c.tView=P4(2,c,t,n,r,a.directiveRegistry,a.pipeRegistry,null,a.schemas,u,null);return null!==a.queries&&(a.queries.template(a,c),h.queries=a.queries.embeddedTView(c)),c}(c,u,l,a,e,t,n,r,s):u.data[c];jd(h,!1);const d=Jee(u,l,h,i);cT()&&RR(u,l,d,h),ic(d,l);const g=GJ(d,l,d,h);return l[c]=g,UR(l,g),function Zee(i,a,e){return a5(i,a,e)}(g,h,l),iC(h)&&E4(u,l,h),null!=s&&R4(l,h,o),$}let Jee=function ete(i,a,e,t){return Hd(!0),a[gn].createComment("")};function D(i,a,e,t){const n=St(),r=ba(),s=nn+i,o=n[gn],l=r.firstCreatePass?function HEe(i,a,e,t,n,r){const s=a.consts,l=FC(a,i,2,t,dh(s,n));return F4(a,e,l,dh(s,r)),null!==l.attrs&&ZR(l,l.attrs,!1),null!==l.mergedAttrs&&ZR(l,l.mergedAttrs,!0),null!==a.queries&&a.queries.elementStart(a,l),l}(s,r,n,a,e,t):r.data[s],u=vte(r,n,l,o,a,i);n[s]=u;const c=iC(l);return jd(l,!0),QQ(o,u,l),32!=(32&l.flags)&&cT()&&RR(r,n,u,l),0===function bW(){return _n.lFrame.elementDepthCount}()&&ic(u,n),function yW(){_n.lFrame.elementDepthCount++}(),c&&(E4(r,n,l),k4(r,l,n)),null!==t&&R4(n,l),D}function v(){let i=mr();nT()?Sx():(i=i.parent,jd(i,!1));const a=i;(function eT(i){return _n.skipHydrationRootTNode===i})(a)&&function xW(){_n.skipHydrationRootTNode=null}(),function Jw(){_n.lFrame.elementDepthCount--}();const e=ba();return e.firstCreatePass&&(Km(e,i),E2(i)&&e.queries.elementEnd(i)),null!=a.classesWithoutHost&&function S(i){return 0!=(8&i.flags)}(a)&&U4(e,a,St(),a.classesWithoutHost,!0),null!=a.stylesWithoutHost&&function M(i){return 0!=(16&i.flags)}(a)&&U4(e,a,St(),a.stylesWithoutHost,!1),v}function ce(i,a,e,t){return D(i,a,e,t),v(),ce}let vte=(i,a,e,t,n,r)=>(Hd(!0),AR(t,n,function lC(){return _n.lFrame.currentNamespace}()));function Re(i,a,e){const t=St(),n=ba(),r=i+nn,s=n.firstCreatePass?function XEe(i,a,e,t,n){const r=a.consts,s=dh(r,t),o=FC(a,i,8,"ng-container",s);return null!==s&&ZR(o,s,!0),F4(a,e,o,dh(r,n)),null!==a.queries&&a.queries.elementStart(a,o),o}(r,n,t,a,e):n.data[r];jd(s,!0);const o=Mte(n,t,s,i);return t[r]=o,cT()&&RR(n,t,o,s),ic(o,t),iC(s)&&(E4(n,t,s),k4(n,s,t)),null!=e&&R4(t,s),Re}function Pe(){let i=mr();const a=ba();return nT()?Sx():(i=i.parent,jd(i,!1)),a.firstCreatePass&&(Km(a,i),E2(i)&&a.queries.elementEnd(i)),Pe}function be(i,a,e){return Re(i,a,e),Pe(),be}let Mte=(i,a,e,t)=>(Hd(!0),r4(a[gn],""));function Te(){return St()}function hP(i,a,e){const t=St();return Zo(t,Gd(),a)&&td(ba(),ts(),t,i,a,t[gn],e,!0),hP}function qT(i,a,e){const t=St();if(Zo(t,Gd(),a)){const r=ba(),s=ts();td(r,s,t,i,a,UJ(Dx(r.data),s,t),e,!0)}return qT}const Vx=void 0;var QEe=["en",[["a","p"],["AM","PM"],Vx],[["AM","PM"],Vx,Vx],[["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"]],Vx,[["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"]],Vx,[["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}",Vx,"{1} 'at' {0}",Vx],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function ZEe(i){const e=Math.floor(Math.abs(i)),t=i.toString().replace(/^[^.]*\.?/,"").length;return 1===e&&0===t?1:5}];let JC={};function Du(i){const a=function e2e(i){return i.toLowerCase().replace(/_/g,"-")}(i);let e=Tte(a);if(e)return e;const t=a.split("-")[0];if(e=Tte(t),e)return e;if("en"===t)return QEe;throw new ft(701,!1)}function Tte(i){return i in JC||(JC[i]=Pr.ng&&Pr.ng.common&&Pr.ng.common.locales&&Pr.ng.common.locales[i]),JC[i]}var jr=function(i){return i[i.LocaleId=0]="LocaleId",i[i.DayPeriodsFormat=1]="DayPeriodsFormat",i[i.DayPeriodsStandalone=2]="DayPeriodsStandalone",i[i.DaysFormat=3]="DaysFormat",i[i.DaysStandalone=4]="DaysStandalone",i[i.MonthsFormat=5]="MonthsFormat",i[i.MonthsStandalone=6]="MonthsStandalone",i[i.Eras=7]="Eras",i[i.FirstDayOfWeek=8]="FirstDayOfWeek",i[i.WeekendRange=9]="WeekendRange",i[i.DateFormat=10]="DateFormat",i[i.TimeFormat=11]="TimeFormat",i[i.DateTimeFormat=12]="DateTimeFormat",i[i.NumberSymbols=13]="NumberSymbols",i[i.NumberFormats=14]="NumberFormats",i[i.CurrencyCode=15]="CurrencyCode",i[i.CurrencySymbol=16]="CurrencySymbol",i[i.CurrencyName=17]="CurrencyName",i[i.Currencies=18]="Currencies",i[i.Directionality=19]="Directionality",i[i.PluralCase=20]="PluralCase",i[i.ExtraData=21]="ExtraData",i}(jr||{});const ev="en-US";let Ite=ev;function QT(i){return!!i&&"function"==typeof i.then}function Jte(i){return!!i&&"function"==typeof i.subscribe}function G(i,a,e,t){const n=St(),r=ba(),s=mr();return function tie(i,a,e,t,n,r,s){const o=iC(t),u=i.firstCreatePass&&qJ(i),c=a[xr],h=HJ(a);let d=!0;if(3&t.type||s){const m=Dl(t,a),_=s?s(m):m,y=h.length,x=s?T=>s(Wr(T[t.index])):t.index;let w=null;if(!s&&o&&(w=function X2e(i,a,e,t){const n=i.cleanup;if(null!=n)for(let r=0;rl?o[l]:null}"string"==typeof s&&(r+=2)}return null}(i,a,n,t.index)),null!==w)(w.__ngLastListenerFn__||w).__ngNextListenerFn__=r,w.__ngLastListenerFn__=r,d=!1;else{r=nie(t,a,c,r,!1);const T=e.listen(_,n,r);h.push(r,T),u&&u.push(n,x,y,y+1)}}else r=nie(t,a,c,r,!1);const g=t.outputs;let p;if(d&&null!==g&&(p=g[n])){const m=p.length;if(m)for(let _=0;_-1?Pc(i.index,a):a);let l=iie(a,e,t,s),u=r.__ngNextListenerFn__;for(;u;)l=iie(a,e,u,s)&&l,u=u.__ngNextListenerFn__;return n&&!1===l&&s.preventDefault(),l}}function C(i=1){return function wW(i){return(_n.lFrame.contextLView=function Zw(i,a){for(;i>0;)a=a[M_],i--;return a}(i,_n.lFrame.contextLView))[xr]}(i)}function Y2e(i,a){let e=null;const t=function rW(i){const a=i.attrs;if(null!=a){const e=a.indexOf(5);if(!(1&e))return a[e+1]}return null}(i);for(let n=0;n(Hd(!0),function IR(i,a){return i.createText(a)}(a[gn],t));function me(i){return Ge("",i,""),me}function Ge(i,a,e){const t=St(),n=$C(t,i,a,e);return n!==On&&nf(t,Cl(),n),Ge}function id(i,a,e,t,n){const r=St(),s=LC(r,i,a,e,t,n);return s!==On&&nf(r,Cl(),s),id}function y5(i,a,e,t,n,r,s,o,l){const u=St(),c=function NC(i,a,e,t,n,r,s,o,l,u){const h=qd(i,gh(),e,n,s,l);return Eg(4),h?a+wn(e)+t+wn(n)+r+wn(s)+o+wn(l)+u:On}(u,i,a,e,t,n,r,s,o,l);return c!==On&&nf(u,Cl(),c),y5}function x5(i,a,e,t,n){if(i=on(i),Array.isArray(i))for(let r=0;r>20;if(Ax(i)||!i.multi){const g=new E_(u,n,A),p=D5(l,a,n?c:c+d,h);-1===p?(dC(wx(o,s),r,l),S5(r,i,a.length),a.push(l),o.directiveStart++,o.directiveEnd++,n&&(o.providerIndexes+=1048576),e.push(g),s.push(g)):(e[p]=g,s[p]=g)}else{const g=D5(l,a,c+d,h),p=D5(l,a,c,c+d),_=p>=0&&e[p];if(n&&!_||!n&&!(g>=0&&e[g])){dC(wx(o,s),r,l);const y=function hRe(i,a,e,t,n){const r=new E_(i,e,A);return r.multi=[],r.index=a,r.componentProviders=0,Tie(r,n,t&&!e),r}(n?cRe:uRe,e.length,n,t,u);!n&&_&&(e[p].providerFactory=y),S5(r,i,a.length,0),a.push(l),o.directiveStart++,o.directiveEnd++,n&&(o.providerIndexes+=1048576),e.push(y),s.push(y)}else S5(r,i,g>-1?g:p,Tie(e[n?p:g],u,!n&&t));!n&&t&&_&&e[p].componentProviders++}}}function S5(i,a,e,t){const n=Ax(a),r=function MTe(i){return!!i.useClass}(a);if(n||r){const l=(r?on(a.useClass):a).prototype.ngOnDestroy;if(l){const u=i.destroyHooks||(i.destroyHooks=[]);if(!n&&a.multi){const c=u.indexOf(e);-1===c?u.push(e,[t,l]):u[c+1].push(t,l)}else u.push(e,l)}}}function Tie(i,a,e){return e&&i.componentProviders++,i.multi.push(a)-1}function D5(i,a,e,t){for(let n=e;n{e.providersResolver=(t,n)=>function lRe(i,a,e){const t=ba();if(t.firstCreatePass){const n=Xh(i);x5(e,t.data,t.blueprint,n,!0),x5(a,t.data,t.blueprint,n,!1)}}(t,n?n(i):i,a)}}class Nx{}class Iie{}class v5 extends Nx{constructor(a,e,t){super(),this._parent=e,this._bootstrapComponents=[],this.destroyCbs=[],this.componentFactoryResolver=new uee(this);const n=fu(a);this._bootstrapComponents=Qh(n.bootstrap),this._r3Injector=mQ(a,e,[{provide:Nx,useValue:this},{provide:ef,useValue:this.componentFactoryResolver},...t],go(a),new Set(["environment"])),this._r3Injector.resolveInjectorInitializers(),this.instance=this._r3Injector.get(a)}get injector(){return this._r3Injector}destroy(){const a=this._r3Injector;!a.destroyed&&a.destroy(),this.destroyCbs.forEach(e=>e()),this.destroyCbs=null}onDestroy(a){this.destroyCbs.push(a)}}class M5 extends Iie{constructor(a){super(),this.moduleType=a}create(a){return new v5(this.moduleType,a,[])}}class Aie extends Nx{constructor(a){super(),this.componentFactoryResolver=new uee(this),this.instance=null;const e=new kx([...a.providers,{provide:Nx,useValue:this},{provide:ef,useValue:this.componentFactoryResolver}],a.parent||yR(),a.debugName,new Set(["environment"]));this.injector=e,a.runEnvironmentInitializers&&e.resolveInjectorInitializers()}destroy(){this.injector.destroy()}onDestroy(a){this.injector.onDestroy(a)}}function w5(i,a,e=null){return new Aie({providers:i,parent:a,debugName:e,runEnvironmentInitializers:!0}).injector}let pRe=(()=>{class i{constructor(e){this._injector=e,this.cachedInjectors=new Map}getOrCreateStandaloneInjector(e){if(!e.standalone)return null;if(!this.cachedInjectors.has(e)){const t=sQ(0,e.type),n=t.length>0?w5([t],this._injector,`Standalone[${e.type.name}]`):null;this.cachedInjectors.set(e,n)}return this.cachedInjectors.get(e)}ngOnDestroy(){try{for(const e of this.cachedInjectors.values())null!==e&&e.destroy()}finally{this.cachedInjectors.clear()}}static#e=this.\u0275prov=Mt({token:i,providedIn:"environment",factory:()=>new i(Ue(Ko))})}return i})();const mRe={detail:{feature:"NgStandalone"}};function Je(i){Px("mark_use_counter",mRe),i.getStandaloneInjector=a=>a.get(pRe).getOrCreateStandaloneInjector(i)}function ql(i,a,e){const t=yu()+i,n=St();return n[t]===On?Np(n,t,e?a.call(e):a()):$T(n,t)}function ln(i,a,e,t){return Lie(St(),yu(),i,a,e,t)}function Qs(i,a,e,t,n){return Vie(St(),yu(),i,a,e,t,n)}function JT(i,a,e,t,n,r){return Nie(St(),yu(),i,a,e,t,n,r)}function jp(i,a,e,t,n,r,s){return Oie(St(),yu(),i,a,e,t,n,r,s)}function Na(i,a,e,t,n,r,s,o){const l=yu()+i,u=St(),c=qd(u,l,e,t,n,r);return Zo(u,l+4,s)||c?Np(u,l+5,o?a.call(o,e,t,n,r,s):a(e,t,n,r,s)):$T(u,l+5)}function Oa(i,a,e,t,n,r,s,o,l){const u=yu()+i,c=St(),h=qd(c,u,e,t,n,r);return Bx(c,u+4,s,o)||h?Np(c,u+6,l?a.call(l,e,t,n,r,s,o):a(e,t,n,r,s,o)):$T(c,u+6)}function vu(i,a,e,t,n,r,s,o,l,u){const c=yu()+i,h=St();let d=qd(h,c,e,t,n,r);return JR(h,c+4,s,o,l)||d?Np(h,c+7,u?a.call(u,e,t,n,r,s,o,l):a(e,t,n,r,s,o,l)):$T(h,c+7)}function I5(i,a,e,t,n,r,s,o,l,u,c){const h=yu()+i,d=St(),g=qd(d,h,e,t,n,r);return qd(d,h+4,s,o,l,u)||g?Np(d,h+8,c?a.call(c,e,t,n,r,s,o,l,u):a(e,t,n,r,s,o,l,u)):$T(d,h+8)}function V_(i,a,e,t){return Wie(St(),yu(),i,a,e,t)}function eI(i,a){const e=i[a];return e===On?void 0:e}function Lie(i,a,e,t,n,r){const s=a+e;return Zo(i,s,n)?Np(i,s+1,r?t.call(r,n):t(n)):eI(i,s+1)}function Vie(i,a,e,t,n,r,s){const o=a+e;return Bx(i,o,n,r)?Np(i,o+2,s?t.call(s,n,r):t(n,r)):eI(i,o+2)}function Nie(i,a,e,t,n,r,s,o){const l=a+e;return JR(i,l,n,r,s)?Np(i,l+3,o?t.call(o,n,r,s):t(n,r,s)):eI(i,l+3)}function Oie(i,a,e,t,n,r,s,o,l){const u=a+e;return qd(i,u,n,r,s,o)?Np(i,u+4,l?t.call(l,n,r,s,o):t(n,r,s,o)):eI(i,u+4)}function Wie(i,a,e,t,n,r){let s=a+e,o=!1;for(let l=0;l=0;e--){const t=a[e];if(i===t.name)return t}}(a,e.pipeRegistry),e.data[n]=t,t.onDestroy&&(e.destroyHooks??=[]).push(n,t.onDestroy)):t=e.data[n];const r=t.factory||(t.factory=kg(t.type)),o=Hl(A);try{const l=Ei(!1),u=r();return Ei(l),function K2e(i,a,e,t){e>=i.data.length&&(i.data[e]=null,i.blueprint[e]=null),a[e]=t}(e,St(),n,u),u}finally{Hl(o)}}function Sr(i,a,e){const t=i+nn,n=St(),r=Wd(n,t);return tI(n,t)?Lie(n,yu(),a,r.transform,e,r):r.transform(e)}function Wn(i,a,e,t){const n=i+nn,r=St(),s=Wd(r,n);return tI(r,n)?Vie(r,yu(),a,s.transform,e,t,s):s.transform(e,t)}function $t(i,a,e,t,n){const r=i+nn,s=St(),o=Wd(s,r);return tI(s,r)?Nie(s,yu(),a,o.transform,e,t,n,o):o.transform(e,t,n)}function Qn(i,a,e,t,n,r){const s=i+nn,o=St(),l=Wd(o,s);return tI(o,s)?Oie(o,yu(),a,l.transform,e,t,n,r,l):l.transform(e,t,n,r)}function Xt(i,a,e){const t=i+nn,n=St(),r=Wd(n,t);return tI(n,t)?Wie(n,yu(),a,r.transform,e,r):r.transform.apply(r,e)}function tI(i,a){return i[Jt].data[a].pure}function TRe(){return this._results[Symbol.iterator]()}class ac{static#e=Symbol.iterator;get changes(){return this._changes||(this._changes=new Q)}constructor(a=!1){this._emitDistinctChangesOnly=a,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const e=ac.prototype;e[Symbol.iterator]||(e[Symbol.iterator]=TRe)}get(a){return this._results[a]}map(a){return this._results.map(a)}filter(a){return this._results.filter(a)}find(a){return this._results.find(a)}reduce(a,e){return this._results.reduce(a,e)}forEach(a){this._results.forEach(a)}some(a){return this._results.some(a)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(a,e){this.dirty=!1;const t=function ph(i){return i.flat(Number.POSITIVE_INFINITY)}(a);(this._changesDetected=!function lTe(i,a,e){if(i.length!==a.length)return!1;for(let t=0;t{class i{static#e=this.__NG_ELEMENT_ID__=kRe}return i})();const IRe=ot,ARe=class extends IRe{constructor(a,e,t){super(),this._declarationLView=a,this._declarationTContainer=e,this.elementRef=t}get ssrId(){return this._declarationTContainer.tView?.ssrId||null}createEmbeddedView(a,e){return this.createEmbeddedViewImpl(a,e)}createEmbeddedViewImpl(a,e,t){const n=function WT(i,a,e,t){const n=a.tView,o=qR(i,n,e,4096&i[fn]?4096:16,null,a,null,null,null,t?.injector??null,t?.dehydratedView??null);o[hx]=i[a.index];const u=i[Nd];return null!==u&&(o[Nd]=u.createEmbeddedView(n)),G4(n,o,e),o}(this._declarationLView,this._declarationTContainer,a,{injector:e,dehydratedView:t});return new FT(n)}};function kRe(){return bP(mr(),St())}function bP(i,a){return 4&i.type?new ARe(a,i,RC(i,a)):null}class A5{constructor(a){this.queryList=a,this.matches=null}clone(){return new A5(this.queryList)}setDirty(){this.queryList.setDirty()}}class k5{constructor(a=[]){this.queries=a}createEmbeddedView(a){const e=a.queries;if(null!==e){const t=null!==a.contentQueries?a.contentQueries[0]:e.length,n=[];for(let r=0;r0)t.push(s[o/2]);else{const u=r[o+1],c=a[-l];for(let h=Ls;h{class i{constructor(){this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t}),this.appInits=Ut(V5,{optional:!0})??[]}runInitializers(){if(this.initialized)return;const e=[];for(const n of this.appInits){const r=n();if(QT(r))e.push(r);else if(Jte(r)){const s=new Promise((o,l)=>{r.subscribe({complete:o,error:l})});e.push(s)}}const t=()=>{this.done=!0,this.resolve()};Promise.all(e).then(()=>{t()}).catch(n=>{this.reject(n)}),0===e.length&&t(),this.initialized=!0}static#e=this.\u0275fac=function(t){return new(t||i)};static#t=this.\u0275prov=Mt({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),lne=(()=>{class i{log(e){console.log(e)}warn(e){console.warn(e)}static#e=this.\u0275fac=function(t){return new(t||i)};static#t=this.\u0275prov=Mt({token:i,factory:i.\u0275fac,providedIn:"platform"})}return i})();const po=new Pt("LocaleId",{providedIn:"root",factory:()=>Ut(po,aa.Optional|aa.SkipSelf)||function aPe(){return typeof $localize<"u"&&$localize.locale||ev}()}),rPe=new Pt("DefaultCurrencyCode",{providedIn:"root",factory:()=>"USD"});let xP=(()=>{class i{constructor(){this.taskId=0,this.pendingTasks=new Set,this.hasPendingTasks=new Ju(!1)}add(){this.hasPendingTasks.next(!0);const e=this.taskId++;return this.pendingTasks.add(e),e}remove(e){this.pendingTasks.delete(e),0===this.pendingTasks.size&&this.hasPendingTasks.next(!1)}ngOnDestroy(){this.pendingTasks.clear(),this.hasPendingTasks.next(!1)}static#e=this.\u0275fac=function(t){return new(t||i)};static#t=this.\u0275prov=Mt({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();class cPe{constructor(a,e){this.ngModuleFactory=a,this.componentFactories=e}}let cne=(()=>{class i{compileModuleSync(e){return new M5(e)}compileModuleAsync(e){return Promise.resolve(this.compileModuleSync(e))}compileModuleAndAllComponentsSync(e){const t=this.compileModuleSync(e),r=Qh(fu(e).declarations).reduce((s,o)=>{const l=Gn(o);return l&&s.push(new BT(l)),s},[]);return new cPe(t,r)}compileModuleAndAllComponentsAsync(e){return Promise.resolve(this.compileModuleAndAllComponentsSync(e))}clearCache(){}clearCacheFor(e){}getModuleId(e){}static#e=this.\u0275fac=function(t){return new(t||i)};static#t=this.\u0275prov=Mt({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();const mne=new Pt(""),DP=new Pt("");let G5,W5=(()=>{class i{constructor(e,t,n){this._ngZone=e,this.registry=t,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,G5||(function BPe(i){G5=i}(n),n.addToWindow(t)),this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone=typeof Zone>"u"?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{hi.assertNotInAngularZone(),queueMicrotask(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,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 e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,n){let r=-1;t&&t>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==r),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:n})}whenStable(e,t,n){if(n&&!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(e,t,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}registerApplication(e){this.registry.registerApplication(e,this)}unregisterApplication(e){this.registry.unregisterApplication(e)}findProviders(e,t,n){return[]}static#e=this.\u0275fac=function(t){return new(t||i)(Ue(hi),Ue(j5),Ue(DP))};static#t=this.\u0275prov=Mt({token:i,factory:i.\u0275fac})}return i})(),j5=(()=>{class i{constructor(){this._applications=new Map}registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return G5?.findTestabilityInTree(this,e,t)??null}static#e=this.\u0275fac=function(t){return new(t||i)};static#t=this.\u0275prov=Mt({token:i,factory:i.\u0275fac,providedIn:"platform"})}return i})(),N_=null;const z5=new Pt("PlatformDestroyListeners"),H5=new Pt("appBootstrapListener");function OPe(i){try{const{rootComponent:a,appProviders:e,platformProviders:t}=i,n=function NPe(i=[]){if(N_)return N_;const a=function yne(i=[],a){return tr.create({name:a,providers:[{provide:WW,useValue:"platform"},{provide:z5,useValue:new Set([()=>N_=null])},...i]})}(i);return N_=a,function _ne(){!function Ed(i){gu=i}(()=>{throw new ft(600,!1)})}(),function bne(i){i.get(_Q,null)?.forEach(e=>e())}(a),a}(t),r=[HPe(),...e||[]],o=new Aie({providers:r,parent:n,debugName:"",runEnvironmentInitializers:!1}).injector,l=o.get(hi);return l.run(()=>{o.resolveInjectorInitializers();const u=o.get(tf,null);let c;l.runOutsideAngular(()=>{c=l.onError.subscribe({next:g=>{u.handleError(g)}})});const h=()=>o.destroy(),d=n.get(z5);return d.add(h),o.onDestroy(()=>{c.unsubscribe(),d.delete(h)}),function Dne(i,a,e){try{const t=e();return QT(t)?t.catch(n=>{throw a.runOutsideAngular(()=>i.handleError(n)),n}):t}catch(t){throw a.runOutsideAngular(()=>i.handleError(t)),t}}(u,l,()=>{const g=o.get(N5);return g.runInitializers(),g.donePromise.then(()=>{!function Ate(i){ec(i,"Expected localeId to be defined"),"string"==typeof i&&(Ite=i.toLowerCase().replace(/_/g,"-"))}(o.get(po,ev)||ev);const m=o.get(O_);return void 0!==a&&m.bootstrap(a),m})})})}catch(a){return Promise.reject(a)}}let O_=(()=>{class i{constructor(){this._bootstrapListeners=[],this._runningTick=!1,this._destroyed=!1,this._destroyListeners=[],this._views=[],this.internalErrorHandler=Ut(Mne),this.zoneIsStable=Ut(iee),this.componentTypes=[],this.components=[],this.isStable=Ut(xP).hasPendingTasks.pipe(Rr(e=>e?Vi(!1):this.zoneIsStable),zy(),f_()),this._injector=Ut(Ko)}get destroyed(){return this._destroyed}get injector(){return this._injector}bootstrap(e,t){const n=e instanceof mJ;if(!this._injector.get(N5).done)throw!n&&function Ep(i){const a=Gn(i)||ko(i)||xl(i);return null!==a&&a.standalone}(e),new ft(405,!1);let s;s=n?e:this._injector.get(ef).resolveComponentFactory(e),this.componentTypes.push(s.componentType);const o=function LPe(i){return i.isBoundToModule}(s)?void 0:this._injector.get(Nx),u=s.create(tr.NULL,[],t||s.selector,o),c=u.location.nativeElement,h=u.injector.get(mne,null);return h?.registerApplication(c),u.onDestroy(()=>{this.detachView(u.hostView),CP(this.components,u),h?.unregisterApplication(c)}),this._loadComponent(u),u}tick(){if(this._runningTick)throw new ft(101,!1);try{this._runningTick=!0;for(let e of this._views)e.detectChanges()}catch(e){this.internalErrorHandler(e)}finally{this._runningTick=!1}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;CP(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e);const t=this._injector.get(H5,[]);[...this._bootstrapListeners,...t].forEach(n=>n(e))}ngOnDestroy(){if(!this._destroyed)try{this._destroyListeners.forEach(e=>e()),this._views.slice().forEach(e=>e.destroy())}finally{this._destroyed=!0,this._views=[],this._bootstrapListeners=[],this._destroyListeners=[]}}onDestroy(e){return this._destroyListeners.push(e),()=>CP(this._destroyListeners,e)}destroy(){if(this._destroyed)throw new ft(406,!1);const e=this._injector;e.destroy&&!e.destroyed&&e.destroy()}get viewCount(){return this._views.length}warnIfDestroyed(){}static#e=this.\u0275fac=function(t){return new(t||i)};static#t=this.\u0275prov=Mt({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function CP(i,a){const e=i.indexOf(a);e>-1&&i.splice(e,1)}const Mne=new Pt("",{providedIn:"root",factory:()=>Ut(tf).handleError.bind(void 0)});function GPe(){const i=Ut(hi),a=Ut(tf);return e=>i.runOutsideAngular(()=>a.handleError(e))}let zPe=(()=>{class i{constructor(){this.zone=Ut(hi),this.applicationRef=Ut(O_)}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(t){return new(t||i)};static#t=this.\u0275prov=Mt({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function wne(i){return[{provide:hi,useFactory:i},{provide:MC,multi:!0,useFactory:()=>{const a=Ut(zPe,{optional:!0});return()=>a.initialize()}},{provide:Mne,useFactory:GPe},{provide:iee,useFactory:nee}]}function HPe(i){return VW([[],wne(()=>new hi(function Sne(i){return{enableLongStackTrace:!1,shouldCoalesceEventChangeDetection:i?.eventCoalescing??!1,shouldCoalesceRunChangeDetection:i?.runCoalescing??!1}}(i)))])}let ZPe=(()=>{class i{constructor(e){}static#e=this.\u0275fac=function(t){return new(t||i)(Ue(O_))};static#t=this.\u0275mod=je({type:i});static#i=this.\u0275inj=Ve({})}return i})();function we(i){return"boolean"==typeof i?i:null!=i&&"false"!==i}function Lg(i,a){const e=Gn(i),t=a.elementInjector||yR();return new BT(e).create(t,a.projectableNodes,a.hostElement,a.environmentInjector)}function sI(i){const a=Gn(i);if(!a)return null;const e=new BT(a);return{get selector(){return e.selector},get type(){return e.componentType},get inputs(){return e.inputs},get outputs(){return e.outputs},get ngContentSelectors(){return e.ngContentSelectors},get isStandalone(){return a.standalone},get isSignal(){return a.signals}}}const{isArray:SFe}=Array,{getPrototypeOf:DFe,prototype:CFe,keys:vFe}=Object;function Yne(i){if(1===i.length){const a=i[0];if(SFe(a))return{args:a,keys:null};if(function MFe(i){return i&&"object"==typeof i&&DFe(i)===CFe}(a)){const e=vFe(a);return{args:e.map(t=>a[t]),keys:e}}}return{args:i,keys:null}}const{isArray:wFe}=Array;function n6(i){return Et(a=>function TFe(i,a){return wFe(a)?i(...a):i(a)}(i,a))}function Kne(i,a){return i.reduce((e,t,n)=>(e[t]=a[n],e),{})}function a6(...i){const a=hh(i),e=UD(i),{args:t,keys:n}=Yne(i);if(0===t.length)return Ta([],a);const r=new ha(function IFe(i,a,e=Ks){return t=>{Zne(a,()=>{const{length:n}=i,r=new Array(n);let s=n,o=n;for(let l=0;l{const u=Ta(i[l],a);let c=!1;u.subscribe(nt(t,h=>{r[l]=h,c||(c=!0,o--),o||t.next(e(r.slice()))},()=>{--s||t.complete()}))},t)},t)}}(t,a,n?s=>Kne(n,s):Ks));return e?r.pipe(n6(e)):r}function Zne(i,a,e){i?Tg(e,i,a):a()}const EP=Fs(i=>function(){i(this),this.name="EmptyError",this.message="no elements in sequence"});function r6(...i){return function AFe(){return m_(1)}()(Ta(i,hh(i)))}function Qne(i){return new ha(a=>{Pi(i()).subscribe(a)})}function RP(i,a){const e=Li(i)?i:()=>i,t=n=>n.error(e());return new ha(a?n=>a.schedule(t,0,n):t)}function s6(){return Be((i,a)=>{let e=null;i._refCount++;const t=nt(a,void 0,void 0,void 0,()=>{if(!i||i._refCount<=0||0<--i._refCount)return void(e=null);const n=i._connection,r=e;e=null,n&&(!r||n===r)&&n.unsubscribe(),a.unsubscribe()});i.subscribe(t),t.closed||(e=i.connect())})}class Jne extends ha{constructor(a,e){super(),this.source=a,this.subjectFactory=e,this._subject=null,this._refCount=0,this._connection=null,ee(a)&&(this.lift=a.lift)}_subscribe(a){return this.getSubject().subscribe(a)}getSubject(){const a=this._subject;return(!a||a.isStopped)&&(this._subject=this.subjectFactory()),this._subject}_teardown(){this._refCount=0;const{_connection:a}=this;this._subject=this._connection=null,a?.unsubscribe()}connect(){let a=this._connection;if(!a){a=this._connection=new or;const e=this.getSubject();a.add(this.source.subscribe(nt(e,void 0,()=>{this._teardown(),e.complete()},t=>{this._teardown(),e.error(t)},()=>this._teardown()))),a.closed&&(this._connection=null,a=or.EMPTY)}return a}refCount(){return s6()(this)}}let o6=null;function af(){return o6}class EFe{}const xa=new Pt("DocumentToken");let l6=(()=>{class i{historyGo(e){throw new Error("Not implemented")}static#e=this.\u0275fac=function(t){return new(t||i)};static#t=this.\u0275prov=Mt({token:i,factory:()=>Ut(PFe),providedIn:"platform"})}return i})();const RFe=new Pt("Location Initialized");let PFe=(()=>{class i extends l6{constructor(){super(),this._doc=Ut(xa),this._location=window.location,this._history=window.history}getBaseHrefFromDOM(){return af().getBaseHref(this._doc)}onPopState(e){const t=af().getGlobalEventTarget(this._doc,"window");return t.addEventListener("popstate",e,!1),()=>t.removeEventListener("popstate",e)}onHashChange(e){const t=af().getGlobalEventTarget(this._doc,"window");return t.addEventListener("hashchange",e,!1),()=>t.removeEventListener("hashchange",e)}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(e){this._location.pathname=e}pushState(e,t,n){this._history.pushState(e,t,n)}replaceState(e,t,n){this._history.replaceState(e,t,n)}forward(){this._history.forward()}back(){this._history.back()}historyGo(e=0){this._history.go(e)}getState(){return this._history.state}static#e=this.\u0275fac=function(t){return new(t||i)};static#t=this.\u0275prov=Mt({token:i,factory:()=>new i,providedIn:"platform"})}return i})();function u6(i,a){if(0==i.length)return a;if(0==a.length)return i;let e=0;return i.endsWith("/")&&e++,a.startsWith("/")&&e++,2==e?i+a.substring(1):1==e?i+a:i+"/"+a}function eae(i){const a=i.match(/#|\?|$/),e=a&&a.index||i.length;return i.slice(0,e-("/"===i[e-1]?1:0))+i.slice(e)}function rf(i){return i&&"?"!==i[0]?"?"+i:i}let Wx=(()=>{class i{historyGo(e){throw new Error("Not implemented")}static#e=this.\u0275fac=function(t){return new(t||i)};static#t=this.\u0275prov=Mt({token:i,factory:()=>Ut(iae),providedIn:"root"})}return i})();const tae=new Pt("appBaseHref");let iae=(()=>{class i extends Wx{constructor(e,t){super(),this._platformLocation=e,this._removeListenerFns=[],this._baseHref=t??this._platformLocation.getBaseHrefFromDOM()??Ut(xa).location?.origin??""}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}prepareExternalUrl(e){return u6(this._baseHref,e)}path(e=!1){const t=this._platformLocation.pathname+rf(this._platformLocation.search),n=this._platformLocation.hash;return n&&e?`${t}${n}`:t}pushState(e,t,n,r){const s=this.prepareExternalUrl(n+rf(r));this._platformLocation.pushState(e,t,s)}replaceState(e,t,n,r){const s=this.prepareExternalUrl(n+rf(r));this._platformLocation.replaceState(e,t,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static#e=this.\u0275fac=function(t){return new(t||i)(Ue(l6),Ue(tae,8))};static#t=this.\u0275prov=Mt({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),FFe=(()=>{class i extends Wx{constructor(e,t){super(),this._platformLocation=e,this._baseHref="",this._removeListenerFns=[],null!=t&&(this._baseHref=t)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(e){this._removeListenerFns.push(this._platformLocation.onPopState(e),this._platformLocation.onHashChange(e))}getBaseHref(){return this._baseHref}path(e=!1){let t=this._platformLocation.hash;return null==t&&(t="#"),t.length>0?t.substring(1):t}prepareExternalUrl(e){const t=u6(this._baseHref,e);return t.length>0?"#"+t:t}pushState(e,t,n,r){let s=this.prepareExternalUrl(n+rf(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.pushState(e,t,s)}replaceState(e,t,n,r){let s=this.prepareExternalUrl(n+rf(r));0==s.length&&(s=this._platformLocation.pathname),this._platformLocation.replaceState(e,t,s)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}getState(){return this._platformLocation.getState()}historyGo(e=0){this._platformLocation.historyGo?.(e)}static#e=this.\u0275fac=function(t){return new(t||i)(Ue(l6),Ue(tae,8))};static#t=this.\u0275prov=Mt({token:i,factory:i.\u0275fac})}return i})(),oI=(()=>{class i{constructor(e){this._subject=new Q,this._urlChangeListeners=[],this._urlChangeSubscription=null,this._locationStrategy=e;const t=this._locationStrategy.getBaseHref();this._basePath=function LFe(i){if(new RegExp("^(https?:)?//").test(i)){const[,e]=i.split(/\/\/[^\/]+/);return e}return i}(eae(nae(t))),this._locationStrategy.onPopState(n=>{this._subject.emit({url:this.path(!0),pop:!0,state:n.state,type:n.type})})}ngOnDestroy(){this._urlChangeSubscription?.unsubscribe(),this._urlChangeListeners=[]}path(e=!1){return this.normalize(this._locationStrategy.path(e))}getState(){return this._locationStrategy.getState()}isCurrentPathEqualTo(e,t=""){return this.path()==this.normalize(e+rf(t))}normalize(e){return i.stripTrailingSlash(function $Fe(i,a){if(!i||!a.startsWith(i))return a;const e=a.substring(i.length);return""===e||["/",";","?","#"].includes(e[0])?e:a}(this._basePath,nae(e)))}prepareExternalUrl(e){return e&&"/"!==e[0]&&(e="/"+e),this._locationStrategy.prepareExternalUrl(e)}go(e,t="",n=null){this._locationStrategy.pushState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+rf(t)),n)}replaceState(e,t="",n=null){this._locationStrategy.replaceState(n,"",e,t),this._notifyUrlChangeListeners(this.prepareExternalUrl(e+rf(t)),n)}forward(){this._locationStrategy.forward()}back(){this._locationStrategy.back()}historyGo(e=0){this._locationStrategy.historyGo?.(e)}onUrlChange(e){return this._urlChangeListeners.push(e),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(t=>{this._notifyUrlChangeListeners(t.url,t.state)})),()=>{const t=this._urlChangeListeners.indexOf(e);this._urlChangeListeners.splice(t,1),0===this._urlChangeListeners.length&&(this._urlChangeSubscription?.unsubscribe(),this._urlChangeSubscription=null)}}_notifyUrlChangeListeners(e="",t){this._urlChangeListeners.forEach(n=>n(e,t))}subscribe(e,t,n){return this._subject.subscribe({next:e,error:t,complete:n})}static#e=this.normalizeQueryParams=rf;static#t=this.joinWithSlash=u6;static#i=this.stripTrailingSlash=eae;static#n=this.\u0275fac=function(t){return new(t||i)(Ue(Wx))};static#a=this.\u0275prov=Mt({token:i,factory:()=>function BFe(){return new oI(Ue(Wx))}(),providedIn:"root"})}return i})();function nae(i){return i.replace(/\/index.html$/,"")}const aae={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 lI=function(i){return i[i.Decimal=0]="Decimal",i[i.Percent=1]="Percent",i[i.Currency=2]="Currency",i[i.Scientific=3]="Scientific",i}(lI||{}),$c=function(i){return i[i.Format=0]="Format",i[i.Standalone=1]="Standalone",i}($c||{}),is=function(i){return i[i.Narrow=0]="Narrow",i[i.Abbreviated=1]="Abbreviated",i[i.Wide=2]="Wide",i[i.Short=3]="Short",i}(is||{}),Mu=function(i){return i[i.Short=0]="Short",i[i.Medium=1]="Medium",i[i.Long=2]="Long",i[i.Full=3]="Full",i}(Mu||{}),Ro=function(i){return i[i.Decimal=0]="Decimal",i[i.Group=1]="Group",i[i.List=2]="List",i[i.PercentSign=3]="PercentSign",i[i.PlusSign=4]="PlusSign",i[i.MinusSign=5]="MinusSign",i[i.Exponential=6]="Exponential",i[i.SuperscriptingExponent=7]="SuperscriptingExponent",i[i.PerMille=8]="PerMille",i[i.Infinity=9]="Infinity",i[i.NaN=10]="NaN",i[i.TimeSeparator=11]="TimeSeparator",i[i.CurrencyDecimal=12]="CurrencyDecimal",i[i.CurrencyGroup=13]="CurrencyGroup",i}(Ro||{});function rv(i){return Du(i)[jr.FirstDayOfWeek]}function sv(i,a){return Yd(Du(i)[jr.DateFormat],a)}function PP(i,a){return Yd(Du(i)[jr.TimeFormat],a)}function uI(i,a){return Yd(Du(i)[jr.DateTimeFormat],a)}function Xd(i,a){const e=Du(i),t=e[jr.NumberSymbols][a];if(typeof t>"u"){if(a===Ro.CurrencyDecimal)return e[jr.NumberSymbols][Ro.Decimal];if(a===Ro.CurrencyGroup)return e[jr.NumberSymbols][Ro.Group]}return t}function FP(i,a){return Du(i)[jr.NumberFormats][a]}function ov(i){return function JEe(i){return Du(i)[jr.CurrencyCode]||null}(i)}function rae(i){if(!i[jr.ExtraData])throw new Error(`Missing extra locale data for the locale "${i[jr.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function Yd(i,a){for(let e=a;e>-1;e--)if(typeof i[e]<"u")return i[e];throw new Error("Locale data API: locale data undefined")}function c6(i){const[a,e]=i.split(":");return{hours:+a,minutes:+e}}function sae(i,a,e="en"){const t=function HFe(i){return Du(i)[jr.Currencies]}(e)[i]||aae[i]||[],n=t[1];return"narrow"===a&&"string"==typeof n?n:t[0]||i}const ZFe=/^(\d{4,})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,cI={},QFe=/((?:[^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 sf=function(i){return i[i.Short=0]="Short",i[i.ShortGMT=1]="ShortGMT",i[i.Long=2]="Long",i[i.Extended=3]="Extended",i}(sf||{}),fr=function(i){return i[i.FullYear=0]="FullYear",i[i.Month=1]="Month",i[i.Date=2]="Date",i[i.Hours=3]="Hours",i[i.Minutes=4]="Minutes",i[i.Seconds=5]="Seconds",i[i.FractionalSeconds=6]="FractionalSeconds",i[i.Day=7]="Day",i}(fr||{}),_r=function(i){return i[i.DayPeriods=0]="DayPeriods",i[i.Days=1]="Days",i[i.Months=2]="Months",i[i.Eras=3]="Eras",i}(_r||{});function BP(i,a,e,t){let n=function oBe(i){if(uae(i))return i;if("number"==typeof i&&!isNaN(i))return new Date(i);if("string"==typeof i){if(i=i.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(i)){const[n,r=1,s=1]=i.split("-").map(o=>+o);return $P(n,r-1,s)}const e=parseFloat(i);if(!isNaN(i-e))return new Date(e);let t;if(t=i.match(ZFe))return function lBe(i){const a=new Date(0);let e=0,t=0;const n=i[8]?a.setUTCFullYear:a.setFullYear,r=i[8]?a.setUTCHours:a.setHours;i[9]&&(e=Number(i[9]+i[10]),t=Number(i[9]+i[11])),n.call(a,Number(i[1]),Number(i[2])-1,Number(i[3]));const s=Number(i[4]||0)-e,o=Number(i[5]||0)-t,l=Number(i[6]||0),u=Math.floor(1e3*parseFloat("0."+(i[7]||0)));return r.call(a,s,o,l,u),a}(t)}const a=new Date(i);if(!uae(a))throw new Error(`Unable to convert "${i}" into a date`);return a}(i);a=lf(e,a)||a;let o,s=[];for(;a;){if(o=QFe.exec(a),!o){s.push(a);break}{s=s.concat(o.slice(1));const c=s.pop();if(!c)break;a=c}}let l=n.getTimezoneOffset();t&&(l=lae(t,l),n=function sBe(i,a,e){const t=e?-1:1,n=i.getTimezoneOffset();return function rBe(i,a){return(i=new Date(i.getTime())).setMinutes(i.getMinutes()+a),i}(i,t*(lae(a,n)-n))}(n,t,!0));let u="";return s.forEach(c=>{const h=function aBe(i){if(d6[i])return d6[i];let a;switch(i){case"G":case"GG":case"GGG":a=us(_r.Eras,is.Abbreviated);break;case"GGGG":a=us(_r.Eras,is.Wide);break;case"GGGGG":a=us(_r.Eras,is.Narrow);break;case"y":a=Jo(fr.FullYear,1,0,!1,!0);break;case"yy":a=Jo(fr.FullYear,2,0,!0,!0);break;case"yyy":a=Jo(fr.FullYear,3,0,!1,!0);break;case"yyyy":a=Jo(fr.FullYear,4,0,!1,!0);break;case"Y":a=OP(1);break;case"YY":a=OP(2,!0);break;case"YYY":a=OP(3);break;case"YYYY":a=OP(4);break;case"M":case"L":a=Jo(fr.Month,1,1);break;case"MM":case"LL":a=Jo(fr.Month,2,1);break;case"MMM":a=us(_r.Months,is.Abbreviated);break;case"MMMM":a=us(_r.Months,is.Wide);break;case"MMMMM":a=us(_r.Months,is.Narrow);break;case"LLL":a=us(_r.Months,is.Abbreviated,$c.Standalone);break;case"LLLL":a=us(_r.Months,is.Wide,$c.Standalone);break;case"LLLLL":a=us(_r.Months,is.Narrow,$c.Standalone);break;case"w":a=h6(1);break;case"ww":a=h6(2);break;case"W":a=h6(1,!0);break;case"d":a=Jo(fr.Date,1);break;case"dd":a=Jo(fr.Date,2);break;case"c":case"cc":a=Jo(fr.Day,1);break;case"ccc":a=us(_r.Days,is.Abbreviated,$c.Standalone);break;case"cccc":a=us(_r.Days,is.Wide,$c.Standalone);break;case"ccccc":a=us(_r.Days,is.Narrow,$c.Standalone);break;case"cccccc":a=us(_r.Days,is.Short,$c.Standalone);break;case"E":case"EE":case"EEE":a=us(_r.Days,is.Abbreviated);break;case"EEEE":a=us(_r.Days,is.Wide);break;case"EEEEE":a=us(_r.Days,is.Narrow);break;case"EEEEEE":a=us(_r.Days,is.Short);break;case"a":case"aa":case"aaa":a=us(_r.DayPeriods,is.Abbreviated);break;case"aaaa":a=us(_r.DayPeriods,is.Wide);break;case"aaaaa":a=us(_r.DayPeriods,is.Narrow);break;case"b":case"bb":case"bbb":a=us(_r.DayPeriods,is.Abbreviated,$c.Standalone,!0);break;case"bbbb":a=us(_r.DayPeriods,is.Wide,$c.Standalone,!0);break;case"bbbbb":a=us(_r.DayPeriods,is.Narrow,$c.Standalone,!0);break;case"B":case"BB":case"BBB":a=us(_r.DayPeriods,is.Abbreviated,$c.Format,!0);break;case"BBBB":a=us(_r.DayPeriods,is.Wide,$c.Format,!0);break;case"BBBBB":a=us(_r.DayPeriods,is.Narrow,$c.Format,!0);break;case"h":a=Jo(fr.Hours,1,-12);break;case"hh":a=Jo(fr.Hours,2,-12);break;case"H":a=Jo(fr.Hours,1);break;case"HH":a=Jo(fr.Hours,2);break;case"m":a=Jo(fr.Minutes,1);break;case"mm":a=Jo(fr.Minutes,2);break;case"s":a=Jo(fr.Seconds,1);break;case"ss":a=Jo(fr.Seconds,2);break;case"S":a=Jo(fr.FractionalSeconds,1);break;case"SS":a=Jo(fr.FractionalSeconds,2);break;case"SSS":a=Jo(fr.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":a=VP(sf.Short);break;case"ZZZZZ":a=VP(sf.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":a=VP(sf.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":a=VP(sf.Long);break;default:return null}return d6[i]=a,a}(c);u+=h?h(n,e,l):"''"===c?"'":c.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),u}function $P(i,a,e){const t=new Date(0);return t.setFullYear(i,a,e),t.setHours(0,0,0),t}function lf(i,a){const e=function NFe(i){return Du(i)[jr.LocaleId]}(i);if(cI[e]=cI[e]||{},cI[e][a])return cI[e][a];let t="";switch(a){case"shortDate":t=sv(i,Mu.Short);break;case"mediumDate":t=sv(i,Mu.Medium);break;case"longDate":t=sv(i,Mu.Long);break;case"fullDate":t=sv(i,Mu.Full);break;case"shortTime":t=PP(i,Mu.Short);break;case"mediumTime":t=PP(i,Mu.Medium);break;case"longTime":t=PP(i,Mu.Long);break;case"fullTime":t=PP(i,Mu.Full);break;case"short":const n=lf(i,"shortTime"),r=lf(i,"shortDate");t=LP(uI(i,Mu.Short),[n,r]);break;case"medium":const s=lf(i,"mediumTime"),o=lf(i,"mediumDate");t=LP(uI(i,Mu.Medium),[s,o]);break;case"long":const l=lf(i,"longTime"),u=lf(i,"longDate");t=LP(uI(i,Mu.Long),[l,u]);break;case"full":const c=lf(i,"fullTime"),h=lf(i,"fullDate");t=LP(uI(i,Mu.Full),[c,h])}return t&&(cI[e][a]=t),t}function LP(i,a){return a&&(i=i.replace(/\{([^}]+)}/g,function(e,t){return null!=a&&t in a?a[t]:e})),i}function Vg(i,a,e="-",t,n){let r="";(i<0||n&&i<=0)&&(n?i=1-i:(i=-i,r=e));let s=String(i);for(;s.length0||o>-e)&&(o+=e),i===fr.Hours)0===o&&-12===e&&(o=12);else if(i===fr.FractionalSeconds)return function JFe(i,a){return Vg(i,3).substring(0,a)}(o,a);const l=Xd(s,Ro.MinusSign);return Vg(o,a,l,t,n)}}function us(i,a,e=$c.Format,t=!1){return function(n,r){return function tBe(i,a,e,t,n,r){switch(e){case _r.Months:return function jFe(i,a,e){const t=Du(i),r=Yd([t[jr.MonthsFormat],t[jr.MonthsStandalone]],a);return Yd(r,e)}(a,n,t)[i.getMonth()];case _r.Days:return function WFe(i,a,e){const t=Du(i),r=Yd([t[jr.DaysFormat],t[jr.DaysStandalone]],a);return Yd(r,e)}(a,n,t)[i.getDay()];case _r.DayPeriods:const s=i.getHours(),o=i.getMinutes();if(r){const u=function UFe(i){const a=Du(i);return rae(a),(a[jr.ExtraData][2]||[]).map(t=>"string"==typeof t?c6(t):[c6(t[0]),c6(t[1])])}(a),c=function XFe(i,a,e){const t=Du(i);rae(t);const r=Yd([t[jr.ExtraData][0],t[jr.ExtraData][1]],a)||[];return Yd(r,e)||[]}(a,n,t),h=u.findIndex(d=>{if(Array.isArray(d)){const[g,p]=d,m=s>=g.hours&&o>=g.minutes,_=s0?Math.floor(n/60):Math.ceil(n/60);switch(i){case sf.Short:return(n>=0?"+":"")+Vg(s,2,r)+Vg(Math.abs(n%60),2,r);case sf.ShortGMT:return"GMT"+(n>=0?"+":"")+Vg(s,1,r);case sf.Long:return"GMT"+(n>=0?"+":"")+Vg(s,2,r)+":"+Vg(Math.abs(n%60),2,r);case sf.Extended:return 0===t?"Z":(n>=0?"+":"")+Vg(s,2,r)+":"+Vg(Math.abs(n%60),2,r);default:throw new Error(`Unknown zone width "${i}"`)}}}const iBe=0,NP=4;function oae(i){return $P(i.getFullYear(),i.getMonth(),i.getDate()+(NP-i.getDay()))}function h6(i,a=!1){return function(e,t){let n;if(a){const r=new Date(e.getFullYear(),e.getMonth(),1).getDay()-1,s=e.getDate();n=1+Math.floor((s+r)/7)}else{const r=oae(e),s=function nBe(i){const a=$P(i,iBe,1).getDay();return $P(i,0,1+(a<=NP?NP:NP+7)-a)}(r.getFullYear()),o=r.getTime()-s.getTime();n=1+Math.round(o/6048e5)}return Vg(n,i,Xd(t,Ro.MinusSign))}}function OP(i,a=!1){return function(e,t){return Vg(oae(e).getFullYear(),i,Xd(t,Ro.MinusSign),a)}}const d6={};function lae(i,a){i=i.replace(/:/g,"");const e=Date.parse("Jan 01, 1970 00:00:00 "+i)/6e4;return isNaN(e)?a:e}function uae(i){return i instanceof Date&&!isNaN(i.valueOf())}const uBe=/^(\d+)?\.((\d+)(-(\d+))?)?$/,cae=22,WP=".",hI="0",cBe=";",hBe=",",g6="#";function p6(i,a,e,t,n,r,s=!1){let o="",l=!1;if(isFinite(i)){let u=function pBe(i){let t,n,r,s,o,a=Math.abs(i)+"",e=0;for((n=a.indexOf(WP))>-1&&(a=a.replace(WP,"")),(r=a.search(/e/i))>0?(n<0&&(n=r),n+=+a.slice(r+1),a=a.substring(0,r)):n<0&&(n=a.length),r=0;a.charAt(r)===hI;r++);if(r===(o=a.length))t=[0],n=1;else{for(o--;a.charAt(o)===hI;)o--;for(n-=r,t=[],s=0;r<=o;r++,s++)t[s]=Number(a.charAt(r))}return n>cae&&(t=t.splice(0,cae-1),e=n-1,n=1),{digits:t,exponent:e,integerLen:n}}(i);s&&(u=function gBe(i){if(0===i.digits[0])return i;const a=i.digits.length-i.integerLen;return i.exponent?i.exponent+=2:(0===a?i.digits.push(0,0):1===a&&i.digits.push(0),i.integerLen+=2),i}(u));let c=a.minInt,h=a.minFrac,d=a.maxFrac;if(r){const x=r.match(uBe);if(null===x)throw new Error(`${r} is not a valid digit info`);const w=x[1],T=x[3],P=x[5];null!=w&&(c=f6(w)),null!=T&&(h=f6(T)),null!=P?d=f6(P):null!=T&&h>d&&(d=h)}!function mBe(i,a,e){if(a>e)throw new Error(`The minimum number of digits after fraction (${a}) is higher than the maximum (${e}).`);let t=i.digits,n=t.length-i.integerLen;const r=Math.min(Math.max(a,n),e);let s=r+i.integerLen,o=t[s];if(s>0){t.splice(Math.max(i.integerLen,s));for(let h=s;h=5)if(s-1<0){for(let h=0;h>s;h--)t.unshift(0),i.integerLen++;t.unshift(1),i.integerLen++}else t[s-1]++;for(;n=u?p.pop():l=!1),d>=10?1:0},0);c&&(t.unshift(c),i.integerLen++)}(u,h,d);let g=u.digits,p=u.integerLen;const m=u.exponent;let _=[];for(l=g.every(x=>!x);p0?_=g.splice(p,g.length):(_=g,g=[0]);const y=[];for(g.length>=a.lgSize&&y.unshift(g.splice(-a.lgSize,g.length).join(""));g.length>a.gSize;)y.unshift(g.splice(-a.gSize,g.length).join(""));g.length&&y.unshift(g.join("")),o=y.join(Xd(e,t)),_.length&&(o+=Xd(e,n)+_.join("")),m&&(o+=Xd(e,Ro.Exponential)+"+"+m)}else o=Xd(e,Ro.Infinity);return o=i<0&&!l?a.negPre+o+a.negSuf:a.posPre+o+a.posSuf,o}function dae(i,a,e,t,n){const s=m6(FP(a,lI.Currency),Xd(a,Ro.MinusSign));return s.minFrac=function KFe(i){let a;const e=aae[i];return e&&(a=e[2]),"number"==typeof a?a:2}(t),s.maxFrac=s.minFrac,p6(i,s,a,Ro.CurrencyGroup,Ro.CurrencyDecimal,n).replace("\xa4",e).replace("\xa4","").trim()}function dI(i,a,e){return p6(i,m6(FP(a,lI.Percent),Xd(a,Ro.MinusSign)),a,Ro.Group,Ro.Decimal,e,!0).replace(new RegExp("%","g"),Xd(a,Ro.PercentSign))}function lv(i,a,e){return p6(i,m6(FP(a,lI.Decimal),Xd(a,Ro.MinusSign)),a,Ro.Group,Ro.Decimal,e)}function m6(i,a="-"){const e={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},t=i.split(cBe),n=t[0],r=t[1],s=-1!==n.indexOf(WP)?n.split(WP):[n.substring(0,n.lastIndexOf(hI)+1),n.substring(n.lastIndexOf(hI)+1)],o=s[0],l=s[1]||"";e.posPre=o.substring(0,o.indexOf(g6));for(let c=0;c{class i{constructor(e,t,n,r){this._iterableDiffers=e,this._keyValueDiffers=t,this._ngEl=n,this._renderer=r,this.initialClasses=mae,this.stateMap=new Map}set klass(e){this.initialClasses=null!=e?e.trim().split(b6):mae}set ngClass(e){this.rawClass="string"==typeof e?e.trim().split(b6):e}ngDoCheck(){for(const t of this.initialClasses)this._updateState(t,!0);const e=this.rawClass;if(Array.isArray(e)||e instanceof Set)for(const t of e)this._updateState(t,!0);else if(null!=e)for(const t of Object.keys(e))this._updateState(t,!!e[t]);this._applyStateDiff()}_updateState(e,t){const n=this.stateMap.get(e);void 0!==n?(n.enabled!==t&&(n.changed=!0,n.enabled=t),n.touched=!0):this.stateMap.set(e,{enabled:t,changed:!0,touched:!0})}_applyStateDiff(){for(const e of this.stateMap){const t=e[0],n=e[1];n.changed?(this._toggleClass(t,n.enabled),n.changed=!1):n.touched||(n.enabled&&this._toggleClass(t,!1),this.stateMap.delete(t)),n.touched=!1}}_toggleClass(e,t){(e=e.trim()).length>0&&e.split(b6).forEach(n=>{t?this._renderer.addClass(this._ngEl.nativeElement,n):this._renderer.removeClass(this._ngEl.nativeElement,n)})}static#e=this.\u0275fac=function(t){return new(t||i)(A(nc),A(kT),A(Ze),A(Ia))};static#t=this.\u0275dir=ve({type:i,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"},standalone:!0})}return i})();class bBe{constructor(a,e,t,n){this.$implicit=a,this.ngForOf=e,this.index=t,this.count=n}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 zn=(()=>{class i{set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}constructor(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const e=this._ngForOf;!this._differ&&e&&(this._differ=this._differs.find(e).create(this.ngForTrackBy))}if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const t=this._viewContainer;e.forEachOperation((n,r,s)=>{if(null==n.previousIndex)t.createEmbeddedView(this._template,new bBe(n.item,this._ngForOf,-1,-1),null===s?void 0:s);else if(null==s)t.remove(null===r?void 0:r);else if(null!==r){const o=t.get(r);t.move(o,s),_ae(o,n)}});for(let n=0,r=t.length;n{_ae(t.get(n.currentIndex),n)})}static ngTemplateContextGuard(e,t){return!0}static#e=this.\u0275fac=function(t){return new(t||i)(A(Tn),A(ot),A(nc))};static#t=this.\u0275dir=ve({type:i,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"},standalone:!0})}return i})();function _ae(i,a){i.context.$implicit=a.item}let Ht=(()=>{class i{constructor(e,t){this._viewContainer=e,this._context=new yBe,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=t}set ngIf(e){this._context.$implicit=this._context.ngIf=e,this._updateView()}set ngIfThen(e){bae("ngIfThen",e),this._thenTemplateRef=e,this._thenViewRef=null,this._updateView()}set ngIfElse(e){bae("ngIfElse",e),this._elseTemplateRef=e,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(e,t){return!0}static#e=this.\u0275fac=function(t){return new(t||i)(A(Tn),A(ot))};static#t=this.\u0275dir=ve({type:i,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"},standalone:!0})}return i})();class yBe{constructor(){this.$implicit=null,this.ngIf=null}}function bae(i,a){if(a&&!a.createEmbeddedView)throw new Error(`${i} must be a TemplateRef, but received '${go(a)}'.`)}class y6{constructor(a,e){this._viewContainerRef=a,this._templateRef=e,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(a){a&&!this._created?this.create():!a&&this._created&&this.destroy()}}let uv=(()=>{class i{constructor(){this._defaultViews=[],this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(e){this._ngSwitch=e,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(e){this._defaultViews.push(e)}_matchCase(e){const t=e===this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||t,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),t}_updateDefaultCases(e){if(this._defaultViews.length>0&&e!==this._defaultUsed){this._defaultUsed=e;for(const t of this._defaultViews)t.enforceState(e)}}static#e=this.\u0275fac=function(t){return new(t||i)};static#t=this.\u0275dir=ve({type:i,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"},standalone:!0})}return i})(),jP=(()=>{class i{constructor(e,t,n){this.ngSwitch=n,n._addCase(),this._view=new y6(e,t)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}static#e=this.\u0275fac=function(t){return new(t||i)(A(Tn),A(ot),A(uv,9))};static#t=this.\u0275dir=ve({type:i,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"},standalone:!0})}return i})(),GP=(()=>{class i{constructor(e,t,n){n._addDefault(new y6(e,t))}static#e=this.\u0275fac=function(t){return new(t||i)(A(Tn),A(ot),A(uv,9))};static#t=this.\u0275dir=ve({type:i,selectors:[["","ngSwitchDefault",""]],standalone:!0})}return i})(),wu=(()=>{class i{constructor(e,t,n){this._ngEl=e,this._differs=t,this._renderer=n,this._ngStyle=null,this._differ=null}set ngStyle(e){this._ngStyle=e,!this._differ&&e&&(this._differ=this._differs.find(e).create())}ngDoCheck(){if(this._differ){const e=this._differ.diff(this._ngStyle);e&&this._applyChanges(e)}}_setStyle(e,t){const[n,r]=e.split("."),s=-1===n.indexOf("-")?void 0:Zm.DashCase;null!=t?this._renderer.setStyle(this._ngEl.nativeElement,n,r?`${t}${r}`:t,s):this._renderer.removeStyle(this._ngEl.nativeElement,n,s)}_applyChanges(e){e.forEachRemovedItem(t=>this._setStyle(t.key,null)),e.forEachAddedItem(t=>this._setStyle(t.key,t.currentValue)),e.forEachChangedItem(t=>this._setStyle(t.key,t.currentValue))}static#e=this.\u0275fac=function(t){return new(t||i)(A(Ze),A(kT),A(Ia))};static#t=this.\u0275dir=ve({type:i,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"},standalone:!0})}return i})(),Ki=(()=>{class i{constructor(e){this._viewContainerRef=e,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null,this.ngTemplateOutletInjector=null}ngOnChanges(e){if(this._shouldRecreateView(e)){const t=this._viewContainerRef;if(this._viewRef&&t.remove(t.indexOf(this._viewRef)),!this.ngTemplateOutlet)return void(this._viewRef=null);const n=this._createContextForwardProxy();this._viewRef=t.createEmbeddedView(this.ngTemplateOutlet,n,{injector:this.ngTemplateOutletInjector??void 0})}}_shouldRecreateView(e){return!!e.ngTemplateOutlet||!!e.ngTemplateOutletInjector}_createContextForwardProxy(){return new Proxy({},{set:(e,t,n)=>!!this.ngTemplateOutletContext&&Reflect.set(this.ngTemplateOutletContext,t,n),get:(e,t,n)=>{if(this.ngTemplateOutletContext)return Reflect.get(this.ngTemplateOutletContext,t,n)}})}static#e=this.\u0275fac=function(t){return new(t||i)(A(Tn))};static#t=this.\u0275dir=ve({type:i,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet",ngTemplateOutletInjector:"ngTemplateOutletInjector"},standalone:!0,features:[pr]})}return i})();function Ng(i,a){return new ft(2100,!1)}class DBe{createSubscription(a,e){return bJ(()=>a.subscribe({next:e,error:t=>{throw t}}))}dispose(a){bJ(()=>a.unsubscribe())}}class CBe{createSubscription(a,e){return a.then(e,t=>{throw t})}dispose(a){}}const vBe=new CBe,MBe=new DBe;let zP=(()=>{class i{constructor(e){this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null,this._ref=e}ngOnDestroy(){this._subscription&&this._dispose(),this._ref=null}transform(e){return this._obj?e!==this._obj?(this._dispose(),this.transform(e)):this._latestValue:(e&&this._subscribe(e),this._latestValue)}_subscribe(e){this._obj=e,this._strategy=this._selectStrategy(e),this._subscription=this._strategy.createSubscription(e,t=>this._updateLatestValue(e,t))}_selectStrategy(e){if(QT(e))return vBe;if(Jte(e))return MBe;throw Ng()}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(e,t){e===this._obj&&(this._latestValue=t,this._ref.markForCheck())}static#e=this.\u0275fac=function(t){return new(t||i)(A(ni,16))};static#t=this.\u0275pipe=ri({name:"async",type:i,pure:!1,standalone:!0})}return i})();const TBe=/(?:[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 x6=(()=>{class i{transform(e){if(null==e)return null;if("string"!=typeof e)throw Ng();return e.replace(TBe,t=>t[0].toUpperCase()+t.slice(1).toLowerCase())}static#e=this.\u0275fac=function(t){return new(t||i)};static#t=this.\u0275pipe=ri({name:"titlecase",type:i,pure:!0,standalone:!0})}return i})();const kBe=new Pt("DATE_PIPE_DEFAULT_TIMEZONE"),EBe=new Pt("DATE_PIPE_DEFAULT_OPTIONS");let Og=(()=>{class i{constructor(e,t,n){this.locale=e,this.defaultTimezone=t,this.defaultOptions=n}transform(e,t,n,r){if(null==e||""===e||e!=e)return null;try{return BP(e,t??this.defaultOptions?.dateFormat??"mediumDate",r||this.locale,n??this.defaultOptions?.timezone??this.defaultTimezone??void 0)}catch(s){throw Ng()}}static#e=this.\u0275fac=function(t){return new(t||i)(A(po,16),A(kBe,24),A(EBe,24))};static#t=this.\u0275pipe=ri({name:"date",type:i,pure:!0,standalone:!0})}return i})(),Gp=(()=>{class i{constructor(e){this._locale=e}transform(e,t,n){if(!S6(e))return null;n=n||this._locale;try{return lv(D6(e),n,t)}catch(r){throw Ng()}}static#e=this.\u0275fac=function(t){return new(t||i)(A(po,16))};static#t=this.\u0275pipe=ri({name:"number",type:i,pure:!0,standalone:!0})}return i})(),cv=(()=>{class i{constructor(e){this._locale=e}transform(e,t,n){if(!S6(e))return null;n=n||this._locale;try{return dI(D6(e),n,t)}catch(r){throw Ng()}}static#e=this.\u0275fac=function(t){return new(t||i)(A(po,16))};static#t=this.\u0275pipe=ri({name:"percent",type:i,pure:!0,standalone:!0})}return i})(),jx=(()=>{class i{constructor(e,t="USD"){this._locale=e,this._defaultCurrencyCode=t}transform(e,t=this._defaultCurrencyCode,n="symbol",r,s){if(!S6(e))return null;s=s||this._locale,"boolean"==typeof n&&(n=n?"symbol":"code");let o=t||this._defaultCurrencyCode;"code"!==n&&(o="symbol"===n||"symbol-narrow"===n?sae(o,"symbol"===n?"wide":"narrow",s):n);try{return dae(D6(e),s,o,t,r)}catch(l){throw Ng()}}static#e=this.\u0275fac=function(t){return new(t||i)(A(po,16),A(rPe,16))};static#t=this.\u0275pipe=ri({name:"currency",type:i,pure:!0,standalone:!0})}return i})();function S6(i){return!(null==i||""===i||i!=i)}function D6(i){if("string"==typeof i&&!isNaN(Number(i)-parseFloat(i)))return Number(i);if("number"!=typeof i)throw new Error(`${i} is not a number`);return i}let pt=(()=>{class i{static#e=this.\u0275fac=function(t){return new(t||i)};static#t=this.\u0275mod=je({type:i});static#i=this.\u0275inj=Ve({})}return i})();function HP(i){return"server"===i}let jBe=(()=>{class i{static#e=this.\u0275prov=Mt({token:i,providedIn:"root",factory:()=>new GBe(Ue(xa),window)})}return i})();class GBe{constructor(a,e){this.document=a,this.window=e,this.offset=()=>[0,0]}setOffset(a){this.offset=Array.isArray(a)?()=>a:a}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(a){this.supportsScrolling()&&this.window.scrollTo(a[0],a[1])}scrollToAnchor(a){if(!this.supportsScrolling())return;const e=function zBe(i,a){const e=i.getElementById(a)||i.getElementsByName(a)[0];if(e)return e;if("function"==typeof i.createTreeWalker&&i.body&&"function"==typeof i.body.attachShadow){const t=i.createTreeWalker(i.body,NodeFilter.SHOW_ELEMENT);let n=t.currentNode;for(;n;){const r=n.shadowRoot;if(r){const s=r.getElementById(a)||r.querySelector(`[name="${a}"]`);if(s)return s}n=t.nextNode()}}return null}(this.document,a);e&&(this.scrollToElement(e),e.focus())}setHistoryScrollRestoration(a){this.supportsScrolling()&&(this.window.history.scrollRestoration=a)}scrollToElement(a){const e=a.getBoundingClientRect(),t=e.left+this.window.pageXOffset,n=e.top+this.window.pageYOffset,r=this.offset();this.window.scrollTo(t-r[0],n-r[1])}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch{return!1}}}class Dae{}function W_(i){return i<=0?()=>ch:Be((a,e)=>{let t=0;a.subscribe(nt(e,n=>{++t<=i&&(e.next(n),i<=t&&e.complete())}))})}function hv(...i){const a=hh(i);return Be((e,t)=>{(a?r6(i,e,a):r6(i,e)).subscribe(t)})}function Dr(i,a){return Be((e,t)=>{let n=0;e.subscribe(nt(t,r=>i.call(a,r,n++)&&t.next(r)))})}function XP(i){return Be((a,e)=>{let t=!1;a.subscribe(nt(e,n=>{t=!0,e.next(n)},()=>{t||e.next(i),e.complete()}))})}function wae(i=g$e){return Be((a,e)=>{let t=!1;a.subscribe(nt(e,n=>{t=!0,e.next(n)},()=>t?e.complete():e.error(i())))})}function g$e(){return new EP}function Dn(i,a){const e=arguments.length>=2;return t=>t.pipe(i?Dr((n,r)=>i(n,r,t)):Ks,W_(1),e?XP(a):wae(()=>new EP))}function dv(i,a){return Li(a)?Uo(i,a,1):Uo(i,1)}function Ul(i,a,e){const t=Li(i)||a||e?{next:i,error:a,complete:e}:i;return t?Be((n,r)=>{var s;null===(s=t.subscribe)||void 0===s||s.call(t);let o=!0;n.subscribe(nt(r,l=>{var u;null===(u=t.next)||void 0===u||u.call(t,l),r.next(l)},()=>{var l;o=!1,null===(l=t.complete)||void 0===l||l.call(t),r.complete()},l=>{var u;o=!1,null===(u=t.error)||void 0===u||u.call(t,l),r.error(l)},()=>{var l,u;o&&(null===(l=t.unsubscribe)||void 0===l||l.call(t)),null===(u=t.finalize)||void 0===u||u.call(t)}))}):Ks}function gv(i){return Be((a,e)=>{let r,t=null,n=!1;t=a.subscribe(nt(e,void 0,void 0,s=>{r=Pi(i(s,gv(i)(a))),t?(t.unsubscribe(),t=null,r.subscribe(e)):n=!0})),n&&(t.unsubscribe(),t=null,r.subscribe(e))})}function pv(i,a){return Be(function p$e(i,a,e,t,n){return(r,s)=>{let o=e,l=a,u=0;r.subscribe(nt(s,c=>{const h=u++;l=o?i(l,c,h):(o=!0,c),t&&s.next(l)},n&&(()=>{o&&s.next(l),s.complete()})))}}(i,a,arguments.length>=2,!0))}function M6(i){return i<=0?()=>ch:Be((a,e)=>{let t=[];a.subscribe(nt(e,n=>{t.push(n),i{for(const n of t)e.next(n);e.complete()},void 0,()=>{t=null}))})}function pI(i){return Be((a,e)=>{try{a.subscribe(e)}finally{e.add(i)}})}function Oe(i){return Be((a,e)=>{Pi(i).subscribe(nt(e,()=>e.complete(),mn)),!e.closed&&a.subscribe(e)})}class _$e extends EFe{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class w6 extends _$e{static makeCurrent(){!function kFe(i){o6||(o6=i)}(new w6)}onAndCancel(a,e,t){return a.addEventListener(e,t),()=>{a.removeEventListener(e,t)}}dispatchEvent(a,e){a.dispatchEvent(e)}remove(a){a.parentNode&&a.parentNode.removeChild(a)}createElement(a,e){return(e=e||this.getDefaultDocument()).createElement(a)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(a){return a.nodeType===Node.ELEMENT_NODE}isShadowRoot(a){return a instanceof DocumentFragment}getGlobalEventTarget(a,e){return"window"===e?window:"document"===e?a:"body"===e?a.body:null}getBaseHref(a){const e=function b$e(){return mI=mI||document.querySelector("base"),mI?mI.getAttribute("href"):null}();return null==e?null:function y$e(i){YP=YP||document.createElement("a"),YP.setAttribute("href",i);const a=YP.pathname;return"/"===a.charAt(0)?a:`/${a}`}(e)}resetBaseElement(){mI=null}getUserAgent(){return window.navigator.userAgent}getCookie(a){return pae(document.cookie,a)}}let YP,mI=null,S$e=(()=>{class i{build(){return new XMLHttpRequest}static#e=this.\u0275fac=function(t){return new(t||i)};static#t=this.\u0275prov=Mt({token:i,factory:i.\u0275fac})}return i})();const T6=new Pt("EventManagerPlugins");let Tae=(()=>{class i{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(n=>{n.manager=this}),this._plugins=e.slice().reverse()}addEventListener(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}getZone(){return this._zone}_findPluginFor(e){let t=this._eventNameToPlugin.get(e);if(t)return t;if(t=this._plugins.find(r=>r.supports(e)),!t)throw new ft(5101,!1);return this._eventNameToPlugin.set(e,t),t}static#e=this.\u0275fac=function(t){return new(t||i)(Ue(T6),Ue(hi))};static#t=this.\u0275prov=Mt({token:i,factory:i.\u0275fac})}return i})();class Iae{constructor(a){this._doc=a}}const I6="ng-app-id";let Aae=(()=>{class i{constructor(e,t,n,r={}){this.doc=e,this.appId=t,this.nonce=n,this.platformId=r,this.styleRef=new Map,this.hostNodes=new Set,this.styleNodesInDOM=this.collectServerRenderedStyles(),this.platformIsServer=HP(r),this.resetHostNodes()}addStyles(e){for(const t of e)1===this.changeUsageCount(t,1)&&this.onStyleAdded(t)}removeStyles(e){for(const t of e)this.changeUsageCount(t,-1)<=0&&this.onStyleRemoved(t)}ngOnDestroy(){const e=this.styleNodesInDOM;e&&(e.forEach(t=>t.remove()),e.clear());for(const t of this.getAllStyles())this.onStyleRemoved(t);this.resetHostNodes()}addHost(e){this.hostNodes.add(e);for(const t of this.getAllStyles())this.addStyleToHost(e,t)}removeHost(e){this.hostNodes.delete(e)}getAllStyles(){return this.styleRef.keys()}onStyleAdded(e){for(const t of this.hostNodes)this.addStyleToHost(t,e)}onStyleRemoved(e){const t=this.styleRef;t.get(e)?.elements?.forEach(n=>n.remove()),t.delete(e)}collectServerRenderedStyles(){const e=this.doc.head?.querySelectorAll(`style[${I6}="${this.appId}"]`);if(e?.length){const t=new Map;return e.forEach(n=>{null!=n.textContent&&t.set(n.textContent,n)}),t}return null}changeUsageCount(e,t){const n=this.styleRef;if(n.has(e)){const r=n.get(e);return r.usage+=t,r.usage}return n.set(e,{usage:t,elements:[]}),t}getStyleElement(e,t){const n=this.styleNodesInDOM,r=n?.get(t);if(r?.parentNode===e)return n.delete(t),r.removeAttribute(I6),r;{const s=this.doc.createElement("style");return this.nonce&&s.setAttribute("nonce",this.nonce),s.textContent=t,this.platformIsServer&&s.setAttribute(I6,this.appId),e.appendChild(s),s}}addStyleToHost(e,t){const n=this.getStyleElement(e,t),r=this.styleRef,s=r.get(t)?.elements;s?s.push(n):r.set(t,{elements:[n],usage:1})}resetHostNodes(){const e=this.hostNodes;e.clear(),e.add(this.doc.head)}static#e=this.\u0275fac=function(t){return new(t||i)(Ue(xa),Ue(SR),Ue(bQ,8),Ue(Zh))};static#t=this.\u0275prov=Mt({token:i,factory:i.\u0275fac})}return i})();const A6={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/"},k6=/%COMP%/g,M$e=new Pt("RemoveStylesOnCompDestroy",{providedIn:"root",factory:()=>!0});function Eae(i,a){return a.map(e=>e.replace(k6,i))}let E6=(()=>{class i{constructor(e,t,n,r,s,o,l,u=null){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.removeStylesOnCompDestroy=r,this.doc=s,this.platformId=o,this.ngZone=l,this.nonce=u,this.rendererByCompId=new Map,this.platformIsServer=HP(o),this.defaultRenderer=new R6(e,s,l,this.platformIsServer)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;this.platformIsServer&&t.encapsulation===tc.ShadowDom&&(t={...t,encapsulation:tc.Emulated});const n=this.getOrCreateRenderer(e,t);return n instanceof Pae?n.applyToHost(e):n instanceof P6&&n.applyStyles(),n}getOrCreateRenderer(e,t){const n=this.rendererByCompId;let r=n.get(t.id);if(!r){const s=this.doc,o=this.ngZone,l=this.eventManager,u=this.sharedStylesHost,c=this.removeStylesOnCompDestroy,h=this.platformIsServer;switch(t.encapsulation){case tc.Emulated:r=new Pae(l,u,t,this.appId,c,s,o,h);break;case tc.ShadowDom:return new A$e(l,u,e,t,s,o,this.nonce,h);default:r=new P6(l,u,t,c,s,o,h)}n.set(t.id,r)}return r}ngOnDestroy(){this.rendererByCompId.clear()}static#e=this.\u0275fac=function(t){return new(t||i)(Ue(Tae),Ue(Aae),Ue(SR),Ue(M$e),Ue(xa),Ue(Zh),Ue(hi),Ue(bQ))};static#t=this.\u0275prov=Mt({token:i,factory:i.\u0275fac})}return i})();class R6{constructor(a,e,t,n){this.eventManager=a,this.doc=e,this.ngZone=t,this.platformIsServer=n,this.data=Object.create(null),this.throwOnSyntheticProps=!0,this.destroyNode=null}destroy(){}createElement(a,e){return e?this.doc.createElementNS(A6[e]||e,a):this.doc.createElement(a)}createComment(a){return this.doc.createComment(a)}createText(a){return this.doc.createTextNode(a)}appendChild(a,e){(Rae(a)?a.content:a).appendChild(e)}insertBefore(a,e,t){a&&(Rae(a)?a.content:a).insertBefore(e,t)}removeChild(a,e){a&&a.removeChild(e)}selectRootElement(a,e){let t="string"==typeof a?this.doc.querySelector(a):a;if(!t)throw new ft(-5104,!1);return e||(t.textContent=""),t}parentNode(a){return a.parentNode}nextSibling(a){return a.nextSibling}setAttribute(a,e,t,n){if(n){e=n+":"+e;const r=A6[n];r?a.setAttributeNS(r,e,t):a.setAttribute(e,t)}else a.setAttribute(e,t)}removeAttribute(a,e,t){if(t){const n=A6[t];n?a.removeAttributeNS(n,e):a.removeAttribute(`${t}:${e}`)}else a.removeAttribute(e)}addClass(a,e){a.classList.add(e)}removeClass(a,e){a.classList.remove(e)}setStyle(a,e,t,n){n&(Zm.DashCase|Zm.Important)?a.style.setProperty(e,t,n&Zm.Important?"important":""):a.style[e]=t}removeStyle(a,e,t){t&Zm.DashCase?a.style.removeProperty(e):a.style[e]=""}setProperty(a,e,t){a[e]=t}setValue(a,e){a.nodeValue=e}listen(a,e,t){if("string"==typeof a&&!(a=af().getGlobalEventTarget(this.doc,a)))throw new Error(`Unsupported event target ${a} for event ${e}`);return this.eventManager.addEventListener(a,e,this.decoratePreventDefault(t))}decoratePreventDefault(a){return e=>{if("__ngUnwrap__"===e)return a;!1===(this.platformIsServer?this.ngZone.runGuarded(()=>a(e)):a(e))&&e.preventDefault()}}}function Rae(i){return"TEMPLATE"===i.tagName&&void 0!==i.content}class A$e extends R6{constructor(a,e,t,n,r,s,o,l){super(a,r,s,l),this.sharedStylesHost=e,this.hostEl=t,this.shadowRoot=t.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const u=Eae(n.id,n.styles);for(const c of u){const h=document.createElement("style");o&&h.setAttribute("nonce",o),h.textContent=c,this.shadowRoot.appendChild(h)}}nodeOrShadowRoot(a){return a===this.hostEl?this.shadowRoot:a}appendChild(a,e){return super.appendChild(this.nodeOrShadowRoot(a),e)}insertBefore(a,e,t){return super.insertBefore(this.nodeOrShadowRoot(a),e,t)}removeChild(a,e){return super.removeChild(this.nodeOrShadowRoot(a),e)}parentNode(a){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(a)))}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}}class P6 extends R6{constructor(a,e,t,n,r,s,o,l){super(a,r,s,o),this.sharedStylesHost=e,this.removeStylesOnCompDestroy=n,this.styles=l?Eae(l,t.styles):t.styles}applyStyles(){this.sharedStylesHost.addStyles(this.styles)}destroy(){this.removeStylesOnCompDestroy&&this.sharedStylesHost.removeStyles(this.styles)}}class Pae extends P6{constructor(a,e,t,n,r,s,o,l){const u=n+"-"+t.id;super(a,e,t,r,s,o,l,u),this.contentAttr=function w$e(i){return"_ngcontent-%COMP%".replace(k6,i)}(u),this.hostAttr=function T$e(i){return"_nghost-%COMP%".replace(k6,i)}(u)}applyToHost(a){this.applyStyles(),this.setAttribute(a,this.hostAttr,"")}createElement(a,e){const t=super.createElement(a,e);return super.setAttribute(t,this.contentAttr,""),t}}let k$e=(()=>{class i extends Iae{constructor(e){super(e)}supports(e){return!0}addEventListener(e,t,n){return e.addEventListener(t,n,!1),()=>this.removeEventListener(e,t,n)}removeEventListener(e,t,n){return e.removeEventListener(t,n)}static#e=this.\u0275fac=function(t){return new(t||i)(Ue(xa))};static#t=this.\u0275prov=Mt({token:i,factory:i.\u0275fac})}return i})();const Fae=["alt","control","meta","shift"],E$e={"\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"},R$e={alt:i=>i.altKey,control:i=>i.ctrlKey,meta:i=>i.metaKey,shift:i=>i.shiftKey};let P$e=(()=>{class i extends Iae{constructor(e){super(e)}supports(e){return null!=i.parseEventName(e)}addEventListener(e,t,n){const r=i.parseEventName(t),s=i.eventCallback(r.fullKey,n,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>af().onAndCancel(e,r.domEventName,s))}static parseEventName(e){const t=e.toLowerCase().split("."),n=t.shift();if(0===t.length||"keydown"!==n&&"keyup"!==n)return null;const r=i._normalizeKey(t.pop());let s="",o=t.indexOf("code");if(o>-1&&(t.splice(o,1),s="code."),Fae.forEach(u=>{const c=t.indexOf(u);c>-1&&(t.splice(c,1),s+=u+".")}),s+=r,0!=t.length||0===r.length)return null;const l={};return l.domEventName=n,l.fullKey=s,l}static matchEventFullKeyCode(e,t){let n=E$e[e.key]||e.key,r="";return t.indexOf("code.")>-1&&(n=e.code,r="code."),!(null==n||!n)&&(n=n.toLowerCase()," "===n?n="space":"."===n&&(n="dot"),Fae.forEach(s=>{s!==n&&(0,R$e[s])(e)&&(r+=s+".")}),r+=n,r===t)}static eventCallback(e,t,n){return r=>{i.matchEventFullKeyCode(r,e)&&n.runGuarded(()=>t(r))}}static _normalizeKey(e){return"esc"===e?"escape":e}static#e=this.\u0275fac=function(t){return new(t||i)(Ue(xa))};static#t=this.\u0275prov=Mt({token:i,factory:i.\u0275fac})}return i})();function Bae(i){return{appProviders:[...Lae,...i?.providers??[]],platformProviders:V$e}}const V$e=[{provide:Zh,useValue:"browser"},{provide:_Q,useValue:function B$e(){w6.makeCurrent()},multi:!0},{provide:xa,useFactory:function L$e(){return function OTe(i){UW=i}(document),document},deps:[]}],N$e=new Pt(""),$ae=[{provide:DP,useClass:class x$e{addToWindow(a){Pr.getAngularTestability=(t,n=!0)=>{const r=a.findTestabilityInTree(t,n);if(null==r)throw new ft(5103,!1);return r},Pr.getAllAngularTestabilities=()=>a.getAllTestabilities(),Pr.getAllAngularRootElements=()=>a.getAllRootElements(),Pr.frameworkStabilizers||(Pr.frameworkStabilizers=[]),Pr.frameworkStabilizers.push(t=>{const n=Pr.getAllAngularTestabilities();let r=n.length,s=!1;const o=function(l){s=s||l,r--,0==r&&t(s)};n.forEach(l=>{l.whenStable(o)})})}findTestabilityInTree(a,e,t){return null==e?null:a.getTestability(e)??(t?af().isShadowRoot(e)?this.findTestabilityInTree(a,e.host,!0):this.findTestabilityInTree(a,e.parentElement,!0):null)}},deps:[]},{provide:mne,useClass:W5,deps:[hi,j5,DP]},{provide:W5,useClass:W5,deps:[hi,j5,DP]}],Lae=[{provide:WW,useValue:"root"},{provide:tf,useFactory:function $$e(){return new tf},deps:[]},{provide:T6,useClass:k$e,multi:!0,deps:[xa,hi,Zh]},{provide:T6,useClass:P$e,multi:!0,deps:[xa]},E6,Aae,Tae,{provide:GR,useExisting:E6},{provide:Dae,useClass:S$e,deps:[]},[]];let O$e=(()=>{class i{constructor(e){}static withServerTransition(e){return{ngModule:i,providers:[{provide:SR,useValue:e.appId}]}}static#e=this.\u0275fac=function(t){return new(t||i)(Ue(N$e,12))};static#t=this.\u0275mod=je({type:i});static#i=this.\u0275inj=Ve({providers:[...Lae,...$ae],imports:[pt,ZPe]})}return i})(),Vae=(()=>{class i{constructor(e){this._doc=e}getTitle(){return this._doc.title}setTitle(e){this._doc.title=e||""}static#e=this.\u0275fac=function(t){return new(t||i)(Ue(xa))};static#t=this.\u0275prov=Mt({token:i,factory:function(t){let n=null;return n=t?new t:function j$e(){return new Vae(Ue(xa))}(),n},providedIn:"root"})}return i})();typeof window<"u"&&window;const Wae=new Pt("HammerGestureConfig");let jae=(()=>{class i{constructor(){this.events=[],this.overrides={}}buildHammer(e){const t=new Hammer(e,this.options);t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0});for(const n in this.overrides)t.get(n).set(this.overrides[n]);return t}static#e=this.\u0275fac=function(t){return new(t||i)};static#t=this.\u0275prov=Mt({token:i,factory:i.\u0275fac})}return i})(),Gae=(()=>{class i{static#e=this.\u0275fac=function(t){return new(t||i)};static#t=this.\u0275prov=Mt({token:i,factory:function(t){let n=null;return n=t?new(t||i):Ue(zae),n},providedIn:"root"})}return i})(),zae=(()=>{class i extends Gae{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case ed.NONE:return t;case ed.HTML:return Lp(t,"HTML")?Jh(t):lJ(this._doc,String(t)).toString();case ed.STYLE:return Lp(t,"Style")?Jh(t):t;case ed.SCRIPT:if(Lp(t,"Script"))return Jh(t);throw new ft(5200,!1);case ed.URL:return Lp(t,"URL")?Jh(t):$R(String(t));case ed.RESOURCE_URL:if(Lp(t,"ResourceURL"))return Jh(t);throw new ft(5201,!1);default:throw new ft(5202,!1)}}bypassSecurityTrustHtml(e){return function FIe(i){return new IIe(i)}(e)}bypassSecurityTrustStyle(e){return function BIe(i){return new AIe(i)}(e)}bypassSecurityTrustScript(e){return function $Ie(i){return new kIe(i)}(e)}bypassSecurityTrustUrl(e){return function LIe(i){return new EIe(i)}(e)}bypassSecurityTrustResourceUrl(e){return function VIe(i){return new RIe(i)}(e)}static#e=this.\u0275fac=function(t){return new(t||i)(Ue(xa))};static#t=this.\u0275prov=Mt({token:i,factory:function(t){let n=null;return n=t?new t:function q$e(i){return new zae(i.get(xa))}(Ue(tr)),n},providedIn:"root"})}return i})();const Jn="primary",fI=Symbol("RouteTitle");class U$e{constructor(a){this.params=a||{}}has(a){return Object.prototype.hasOwnProperty.call(this.params,a)}get(a){if(this.has(a)){const e=this.params[a];return Array.isArray(e)?e[0]:e}return null}getAll(a){if(this.has(a)){const e=this.params[a];return Array.isArray(e)?e:[e]}return[]}get keys(){return Object.keys(this.params)}}function mv(i){return new U$e(i)}function X$e(i,a,e){const t=e.path.split("/");if(t.length>i.length||"full"===e.pathMatch&&(a.hasChildren()||t.lengtht[r]===n)}return i===a}function Uae(i){return i.length>0?i[i.length-1]:null}function G_(i){return function xFe(i){return!!i&&(i instanceof ha||Li(i.lift)&&Li(i.subscribe))}(i)?i:QT(i)?Ta(Promise.resolve(i)):Vi(i)}const K$e={exact:function Kae(i,a,e){if(!Gx(i.segments,a.segments)||!KP(i.segments,a.segments,e)||i.numberOfChildren!==a.numberOfChildren)return!1;for(const t in a.children)if(!i.children[t]||!Kae(i.children[t],a.children[t],e))return!1;return!0},subset:Zae},Xae={exact:function Z$e(i,a){return zp(i,a)},subset:function Q$e(i,a){return Object.keys(a).length<=Object.keys(i).length&&Object.keys(a).every(e=>qae(i[e],a[e]))},ignored:()=>!0};function Yae(i,a,e){return K$e[e.paths](i.root,a.root,e.matrixParams)&&Xae[e.queryParams](i.queryParams,a.queryParams)&&!("exact"===e.fragment&&i.fragment!==a.fragment)}function Zae(i,a,e){return Qae(i,a,a.segments,e)}function Qae(i,a,e,t){if(i.segments.length>e.length){const n=i.segments.slice(0,e.length);return!(!Gx(n,e)||a.hasChildren()||!KP(n,e,t))}if(i.segments.length===e.length){if(!Gx(i.segments,e)||!KP(i.segments,e,t))return!1;for(const n in a.children)if(!i.children[n]||!Zae(i.children[n],a.children[n],t))return!1;return!0}{const n=e.slice(0,i.segments.length),r=e.slice(i.segments.length);return!!(Gx(i.segments,n)&&KP(i.segments,n,t)&&i.children[Jn])&&Qae(i.children[Jn],a,r,t)}}function KP(i,a,e){return a.every((t,n)=>Xae[e](i[n].parameters,t.parameters))}class fv{constructor(a=new Gr([],{}),e={},t=null){this.root=a,this.queryParams=e,this.fragment=t}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=mv(this.queryParams)),this._queryParamMap}toString(){return tLe.serialize(this)}}class Gr{constructor(a,e){this.segments=a,this.children=e,this.parent=null,Object.values(e).forEach(t=>t.parent=this)}hasChildren(){return this.numberOfChildren>0}get numberOfChildren(){return Object.keys(this.children).length}toString(){return ZP(this)}}class _I{constructor(a,e){this.path=a,this.parameters=e}get parameterMap(){return this._parameterMap||(this._parameterMap=mv(this.parameters)),this._parameterMap}toString(){return tre(this)}}function Gx(i,a){return i.length===a.length&&i.every((e,t)=>e.path===a[t].path)}let _v=(()=>{class i{static#e=this.\u0275fac=function(t){return new(t||i)};static#t=this.\u0275prov=Mt({token:i,factory:()=>new $6,providedIn:"root"})}return i})();class $6{parse(a){const e=new dLe(a);return new fv(e.parseRootSegment(),e.parseQueryParams(),e.parseFragment())}serialize(a){const e=`/${bI(a.root,!0)}`,t=function aLe(i){const a=Object.keys(i).map(e=>{const t=i[e];return Array.isArray(t)?t.map(n=>`${QP(e)}=${QP(n)}`).join("&"):`${QP(e)}=${QP(t)}`}).filter(e=>!!e);return a.length?`?${a.join("&")}`:""}(a.queryParams);return`${e}${t}${"string"==typeof a.fragment?`#${function iLe(i){return encodeURI(i)}(a.fragment)}`:""}`}}const tLe=new $6;function ZP(i){return i.segments.map(a=>tre(a)).join("/")}function bI(i,a){if(!i.hasChildren())return ZP(i);if(a){const e=i.children[Jn]?bI(i.children[Jn],!1):"",t=[];return Object.entries(i.children).forEach(([n,r])=>{n!==Jn&&t.push(`${n}:${bI(r,!1)}`)}),t.length>0?`${e}(${t.join("//")})`:e}{const e=function eLe(i,a){let e=[];return Object.entries(i.children).forEach(([t,n])=>{t===Jn&&(e=e.concat(a(n,t)))}),Object.entries(i.children).forEach(([t,n])=>{t!==Jn&&(e=e.concat(a(n,t)))}),e}(i,(t,n)=>n===Jn?[bI(i.children[Jn],!1)]:[`${n}:${bI(t,!1)}`]);return 1===Object.keys(i.children).length&&null!=i.children[Jn]?`${ZP(i)}/${e[0]}`:`${ZP(i)}/(${e.join("//")})`}}function Jae(i){return encodeURIComponent(i).replace(/%40/g,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",")}function QP(i){return Jae(i).replace(/%3B/gi,";")}function L6(i){return Jae(i).replace(/\(/g,"%28").replace(/\)/g,"%29").replace(/%26/gi,"&")}function JP(i){return decodeURIComponent(i)}function ere(i){return JP(i.replace(/\+/g,"%20"))}function tre(i){return`${L6(i.path)}${function nLe(i){return Object.keys(i).map(a=>`;${L6(a)}=${L6(i[a])}`).join("")}(i.parameters)}`}const rLe=/^[^\/()?;#]+/;function V6(i){const a=i.match(rLe);return a?a[0]:""}const sLe=/^[^\/()?;=#]+/,lLe=/^[^=?&#]+/,cLe=/^[^&#]+/;class dLe{constructor(a){this.url=a,this.remaining=a}parseRootSegment(){return this.consumeOptional("/"),""===this.remaining||this.peekStartsWith("?")||this.peekStartsWith("#")?new Gr([],{}):new Gr([],this.parseChildren())}parseQueryParams(){const a={};if(this.consumeOptional("?"))do{this.parseQueryParam(a)}while(this.consumeOptional("&"));return a}parseFragment(){return this.consumeOptional("#")?decodeURIComponent(this.remaining):null}parseChildren(){if(""===this.remaining)return{};this.consumeOptional("/");const a=[];for(this.peekStartsWith("(")||a.push(this.parseSegment());this.peekStartsWith("/")&&!this.peekStartsWith("//")&&!this.peekStartsWith("/(");)this.capture("/"),a.push(this.parseSegment());let e={};this.peekStartsWith("/(")&&(this.capture("/"),e=this.parseParens(!0));let t={};return this.peekStartsWith("(")&&(t=this.parseParens(!1)),(a.length>0||Object.keys(e).length>0)&&(t[Jn]=new Gr(a,e)),t}parseSegment(){const a=V6(this.remaining);if(""===a&&this.peekStartsWith(";"))throw new ft(4009,!1);return this.capture(a),new _I(JP(a),this.parseMatrixParams())}parseMatrixParams(){const a={};for(;this.consumeOptional(";");)this.parseParam(a);return a}parseParam(a){const e=function oLe(i){const a=i.match(sLe);return a?a[0]:""}(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){const n=V6(this.remaining);n&&(t=n,this.capture(t))}a[JP(e)]=JP(t)}parseQueryParam(a){const e=function uLe(i){const a=i.match(lLe);return a?a[0]:""}(this.remaining);if(!e)return;this.capture(e);let t="";if(this.consumeOptional("=")){const s=function hLe(i){const a=i.match(cLe);return a?a[0]:""}(this.remaining);s&&(t=s,this.capture(t))}const n=ere(e),r=ere(t);if(a.hasOwnProperty(n)){let s=a[n];Array.isArray(s)||(s=[s],a[n]=s),s.push(r)}else a[n]=r}parseParens(a){const e={};for(this.capture("(");!this.consumeOptional(")")&&this.remaining.length>0;){const t=V6(this.remaining),n=this.remaining[t.length];if("/"!==n&&")"!==n&&";"!==n)throw new ft(4010,!1);let r;t.indexOf(":")>-1?(r=t.slice(0,t.indexOf(":")),this.capture(r),this.capture(":")):a&&(r=Jn);const s=this.parseChildren();e[r]=1===Object.keys(s).length?s[Jn]:new Gr([],s),this.consumeOptional("//")}return e}peekStartsWith(a){return this.remaining.startsWith(a)}consumeOptional(a){return!!this.peekStartsWith(a)&&(this.remaining=this.remaining.substring(a.length),!0)}capture(a){if(!this.consumeOptional(a))throw new ft(4011,!1)}}function ire(i){return i.segments.length>0?new Gr([],{[Jn]:i}):i}function nre(i){const a={};for(const t of Object.keys(i.children)){const r=nre(i.children[t]);if(t===Jn&&0===r.segments.length&&r.hasChildren())for(const[s,o]of Object.entries(r.children))a[s]=o;else(r.segments.length>0||r.hasChildren())&&(a[t]=r)}return function gLe(i){if(1===i.numberOfChildren&&i.children[Jn]){const a=i.children[Jn];return new Gr(i.segments.concat(a.segments),a.children)}return i}(new Gr(i.segments,a))}function zx(i){return i instanceof fv}function are(i){let a;const n=ire(function e(r){const s={};for(const l of r.children){const u=e(l);s[l.outlet]=u}const o=new Gr(r.url,s);return r===i&&(a=o),o}(i.root));return a??n}function rre(i,a,e,t){let n=i;for(;n.parent;)n=n.parent;if(0===a.length)return N6(n,n,n,e,t);const r=function mLe(i){if("string"==typeof i[0]&&1===i.length&&"/"===i[0])return new ore(!0,0,i);let a=0,e=!1;const t=i.reduce((n,r,s)=>{if("object"==typeof r&&null!=r){if(r.outlets){const o={};return Object.entries(r.outlets).forEach(([l,u])=>{o[l]="string"==typeof u?u.split("/"):u}),[...n,{outlets:o}]}if(r.segmentPath)return[...n,r.segmentPath]}return"string"!=typeof r?[...n,r]:0===s?(r.split("/").forEach((o,l)=>{0==l&&"."===o||(0==l&&""===o?e=!0:".."===o?a++:""!=o&&n.push(o))}),n):[...n,r]},[]);return new ore(e,a,t)}(a);if(r.toRoot())return N6(n,n,new Gr([],{}),e,t);const s=function fLe(i,a,e){if(i.isAbsolute)return new tF(a,!0,0);if(!e)return new tF(a,!1,NaN);if(null===e.parent)return new tF(e,!0,0);const t=eF(i.commands[0])?0:1;return function _Le(i,a,e){let t=i,n=a,r=e;for(;r>n;){if(r-=n,t=t.parent,!t)throw new ft(4005,!1);n=t.segments.length}return new tF(t,!1,n-r)}(e,e.segments.length-1+t,i.numberOfDoubleDots)}(r,n,i),o=s.processChildren?xI(s.segmentGroup,s.index,r.commands):lre(s.segmentGroup,s.index,r.commands);return N6(n,s.segmentGroup,o,e,t)}function eF(i){return"object"==typeof i&&null!=i&&!i.outlets&&!i.segmentPath}function yI(i){return"object"==typeof i&&null!=i&&i.outlets}function N6(i,a,e,t,n){let s,r={};t&&Object.entries(t).forEach(([l,u])=>{r[l]=Array.isArray(u)?u.map(c=>`${c}`):`${u}`}),s=i===a?e:sre(i,a,e);const o=ire(nre(s));return new fv(o,r,n)}function sre(i,a,e){const t={};return Object.entries(i.children).forEach(([n,r])=>{t[n]=r===a?e:sre(r,a,e)}),new Gr(i.segments,t)}class ore{constructor(a,e,t){if(this.isAbsolute=a,this.numberOfDoubleDots=e,this.commands=t,a&&t.length>0&&eF(t[0]))throw new ft(4003,!1);const n=t.find(yI);if(n&&n!==Uae(t))throw new ft(4004,!1)}toRoot(){return this.isAbsolute&&1===this.commands.length&&"/"==this.commands[0]}}class tF{constructor(a,e,t){this.segmentGroup=a,this.processChildren=e,this.index=t}}function lre(i,a,e){if(i||(i=new Gr([],{})),0===i.segments.length&&i.hasChildren())return xI(i,a,e);const t=function yLe(i,a,e){let t=0,n=a;const r={match:!1,pathIndex:0,commandIndex:0};for(;n=e.length)return r;const s=i.segments[n],o=e[t];if(yI(o))break;const l=`${o}`,u=t0&&void 0===l)break;if(l&&u&&"object"==typeof u&&void 0===u.outlets){if(!cre(l,u,s))return r;t+=2}else{if(!cre(l,{},s))return r;t++}n++}return{match:!0,pathIndex:n,commandIndex:t}}(i,a,e),n=e.slice(t.commandIndex);if(t.match&&t.pathIndexr!==Jn)&&i.children[Jn]&&1===i.numberOfChildren&&0===i.children[Jn].segments.length){const r=xI(i.children[Jn],a,e);return new Gr(i.segments,r.children)}return Object.entries(t).forEach(([r,s])=>{"string"==typeof s&&(s=[s]),null!==s&&(n[r]=lre(i.children[r],a,s))}),Object.entries(i.children).forEach(([r,s])=>{void 0===t[r]&&(n[r]=s)}),new Gr(i.segments,n)}}function O6(i,a,e){const t=i.segments.slice(0,a);let n=0;for(;n{"string"==typeof t&&(t=[t]),null!==t&&(a[e]=O6(new Gr([],{}),0,t))}),a}function ure(i){const a={};return Object.entries(i).forEach(([e,t])=>a[e]=`${t}`),a}function cre(i,a,e){return i==e.path&&zp(a,e.parameters)}const SI="imperative";class Hp{constructor(a,e){this.id=a,this.url=e}}class DI extends Hp{constructor(a,e,t="imperative",n=null){super(a,e),this.type=0,this.navigationTrigger=t,this.restoredState=n}toString(){return`NavigationStart(id: ${this.id}, url: '${this.url}')`}}class uf extends Hp{constructor(a,e,t){super(a,e),this.urlAfterRedirects=t,this.type=1}toString(){return`NavigationEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}')`}}class bv extends Hp{constructor(a,e,t,n){super(a,e),this.reason=t,this.code=n,this.type=2}toString(){return`NavigationCancel(id: ${this.id}, url: '${this.url}')`}}class yv extends Hp{constructor(a,e,t,n){super(a,e),this.reason=t,this.code=n,this.type=16}}class iF extends Hp{constructor(a,e,t,n){super(a,e),this.error=t,this.target=n,this.type=3}toString(){return`NavigationError(id: ${this.id}, url: '${this.url}', error: ${this.error})`}}class hre extends Hp{constructor(a,e,t,n){super(a,e),this.urlAfterRedirects=t,this.state=n,this.type=4}toString(){return`RoutesRecognized(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class SLe extends Hp{constructor(a,e,t,n){super(a,e),this.urlAfterRedirects=t,this.state=n,this.type=7}toString(){return`GuardsCheckStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class DLe extends Hp{constructor(a,e,t,n,r){super(a,e),this.urlAfterRedirects=t,this.state=n,this.shouldActivate=r,this.type=8}toString(){return`GuardsCheckEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state}, shouldActivate: ${this.shouldActivate})`}}class CLe extends Hp{constructor(a,e,t,n){super(a,e),this.urlAfterRedirects=t,this.state=n,this.type=5}toString(){return`ResolveStart(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class vLe extends Hp{constructor(a,e,t,n){super(a,e),this.urlAfterRedirects=t,this.state=n,this.type=6}toString(){return`ResolveEnd(id: ${this.id}, url: '${this.url}', urlAfterRedirects: '${this.urlAfterRedirects}', state: ${this.state})`}}class MLe{constructor(a){this.route=a,this.type=9}toString(){return`RouteConfigLoadStart(path: ${this.route.path})`}}class wLe{constructor(a){this.route=a,this.type=10}toString(){return`RouteConfigLoadEnd(path: ${this.route.path})`}}class TLe{constructor(a){this.snapshot=a,this.type=11}toString(){return`ChildActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ILe{constructor(a){this.snapshot=a,this.type=12}toString(){return`ChildActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class ALe{constructor(a){this.snapshot=a,this.type=13}toString(){return`ActivationStart(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class kLe{constructor(a){this.snapshot=a,this.type=14}toString(){return`ActivationEnd(path: '${this.snapshot.routeConfig&&this.snapshot.routeConfig.path||""}')`}}class dre{constructor(a,e,t){this.routerEvent=a,this.position=e,this.anchor=t,this.type=15}toString(){return`Scroll(anchor: '${this.anchor}', position: '${this.position?`${this.position[0]}, ${this.position[1]}`:null}')`}}class W6{}class j6{constructor(a){this.url=a}}class ELe{constructor(){this.outlet=null,this.route=null,this.injector=null,this.children=new CI,this.attachRef=null}}let CI=(()=>{class i{constructor(){this.contexts=new Map}onChildOutletCreated(e,t){const n=this.getOrCreateContext(e);n.outlet=t,this.contexts.set(e,n)}onChildOutletDestroyed(e){const t=this.getContext(e);t&&(t.outlet=null,t.attachRef=null)}onOutletDeactivated(){const e=this.contexts;return this.contexts=new Map,e}onOutletReAttached(e){this.contexts=e}getOrCreateContext(e){let t=this.getContext(e);return t||(t=new ELe,this.contexts.set(e,t)),t}getContext(e){return this.contexts.get(e)||null}static#e=this.\u0275fac=function(t){return new(t||i)};static#t=this.\u0275prov=Mt({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();class gre{constructor(a){this._root=a}get root(){return this._root.value}parent(a){const e=this.pathFromRoot(a);return e.length>1?e[e.length-2]:null}children(a){const e=G6(a,this._root);return e?e.children.map(t=>t.value):[]}firstChild(a){const e=G6(a,this._root);return e&&e.children.length>0?e.children[0].value:null}siblings(a){const e=z6(a,this._root);return e.length<2?[]:e[e.length-2].children.map(n=>n.value).filter(n=>n!==a)}pathFromRoot(a){return z6(a,this._root).map(e=>e.value)}}function G6(i,a){if(i===a.value)return a;for(const e of a.children){const t=G6(i,e);if(t)return t}return null}function z6(i,a){if(i===a.value)return[a];for(const e of a.children){const t=z6(i,e);if(t.length)return t.unshift(a),t}return[]}class Wg{constructor(a,e){this.value=a,this.children=e}toString(){return`TreeNode(${this.value})`}}function xv(i){const a={};return i&&i.children.forEach(e=>a[e.value.outlet]=e),a}class pre extends gre{constructor(a,e){super(a),this.snapshot=e,U6(this,a)}toString(){return this.snapshot.toString()}}function mre(i,a){const e=function RLe(i,a){const s=new q6([],{},{},"",{},Jn,a,null,{});return new fre("",new Wg(s,[]))}(0,a),t=new Ju([new _I("",{})]),n=new Ju({}),r=new Ju({}),s=new Ju({}),o=new Ju(""),l=new cf(t,n,s,o,r,Jn,a,e.root);return l.snapshot=e.root,new pre(new Wg(l,[]),e)}class cf{constructor(a,e,t,n,r,s,o,l){this.urlSubject=a,this.paramsSubject=e,this.queryParamsSubject=t,this.fragmentSubject=n,this.dataSubject=r,this.outlet=s,this.component=o,this._futureSnapshot=l,this.title=this.dataSubject?.pipe(Et(u=>u[fI]))??Vi(void 0),this.url=a,this.params=e,this.queryParams=t,this.fragment=n,this.data=r}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._paramMap=this.params.pipe(Et(a=>mv(a)))),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=this.queryParams.pipe(Et(a=>mv(a)))),this._queryParamMap}toString(){return this.snapshot?this.snapshot.toString():`Future(${this._futureSnapshot})`}}function H6(i,a,e="emptyOnly"){let t;const{routeConfig:n}=i;return t=null===a||"always"!==e&&""!==n?.path&&(a.component||a.routeConfig?.loadComponent)?{params:i.params,data:i.data,resolve:{...i.data,...i._resolvedData??{}}}:{params:{...a.params,...i.params},data:{...a.data,...i.data},resolve:{...i.data,...a.data,...n?.data,...i._resolvedData}},n&&bre(n)&&(t.resolve[fI]=n.title),t}class q6{get title(){return this.data?.[fI]}constructor(a,e,t,n,r,s,o,l,u){this.url=a,this.params=e,this.queryParams=t,this.fragment=n,this.data=r,this.outlet=s,this.component=o,this.routeConfig=l,this._resolve=u}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._paramMap=mv(this.params)),this._paramMap}get queryParamMap(){return this._queryParamMap||(this._queryParamMap=mv(this.queryParams)),this._queryParamMap}toString(){return`Route(url:'${this.url.map(t=>t.toString()).join("/")}', path:'${this.routeConfig?this.routeConfig.path:""}')`}}class fre extends gre{constructor(a,e){super(e),this.url=a,U6(this,e)}toString(){return _re(this._root)}}function U6(i,a){a.value._routerState=i,a.children.forEach(e=>U6(i,e))}function _re(i){const a=i.children.length>0?` { ${i.children.map(_re).join(", ")} } `:"";return`${i.value}${a}`}function X6(i){if(i.snapshot){const a=i.snapshot,e=i._futureSnapshot;i.snapshot=e,zp(a.queryParams,e.queryParams)||i.queryParamsSubject.next(e.queryParams),a.fragment!==e.fragment&&i.fragmentSubject.next(e.fragment),zp(a.params,e.params)||i.paramsSubject.next(e.params),function Y$e(i,a){if(i.length!==a.length)return!1;for(let e=0;ezp(e.parameters,a[t].parameters))}(i.url,a.url);return e&&!(!i.parent!=!a.parent)&&(!i.parent||Y6(i.parent,a.parent))}function bre(i){return"string"==typeof i.title||null===i.title}let K6=(()=>{class i{constructor(){this.activated=null,this._activatedRoute=null,this.name=Jn,this.activateEvents=new Q,this.deactivateEvents=new Q,this.attachEvents=new Q,this.detachEvents=new Q,this.parentContexts=Ut(CI),this.location=Ut(Tn),this.changeDetector=Ut(ni),this.environmentInjector=Ut(Ko),this.inputBinder=Ut(nF,{optional:!0}),this.supportsBindingToComponentInputs=!0}get activatedComponentRef(){return this.activated}ngOnChanges(e){if(e.name){const{firstChange:t,previousValue:n}=e.name;if(t)return;this.isTrackedInParentContexts(n)&&(this.deactivate(),this.parentContexts.onChildOutletDestroyed(n)),this.initializeOutletWithName()}}ngOnDestroy(){this.isTrackedInParentContexts(this.name)&&this.parentContexts.onChildOutletDestroyed(this.name),this.inputBinder?.unsubscribeFromRouteData(this)}isTrackedInParentContexts(e){return this.parentContexts.getContext(e)?.outlet===this}ngOnInit(){this.initializeOutletWithName()}initializeOutletWithName(){if(this.parentContexts.onChildOutletCreated(this.name,this),this.activated)return;const e=this.parentContexts.getContext(this.name);e?.route&&(e.attachRef?this.attach(e.attachRef,e.route):this.activateWith(e.route,e.injector))}get isActivated(){return!!this.activated}get component(){if(!this.activated)throw new ft(4012,!1);return this.activated.instance}get activatedRoute(){if(!this.activated)throw new ft(4012,!1);return this._activatedRoute}get activatedRouteData(){return this._activatedRoute?this._activatedRoute.snapshot.data:{}}detach(){if(!this.activated)throw new ft(4012,!1);this.location.detach();const e=this.activated;return this.activated=null,this._activatedRoute=null,this.detachEvents.emit(e.instance),e}attach(e,t){this.activated=e,this._activatedRoute=t,this.location.insert(e.hostView),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.attachEvents.emit(e.instance)}deactivate(){if(this.activated){const e=this.component;this.activated.destroy(),this.activated=null,this._activatedRoute=null,this.deactivateEvents.emit(e)}}activateWith(e,t){if(this.isActivated)throw new ft(4013,!1);this._activatedRoute=e;const n=this.location,s=e.snapshot.component,o=this.parentContexts.getOrCreateContext(this.name).children,l=new PLe(e,o,n.injector);this.activated=n.createComponent(s,{index:n.length,injector:l,environmentInjector:t??this.environmentInjector}),this.changeDetector.markForCheck(),this.inputBinder?.bindActivatedRouteToOutletComponent(this),this.activateEvents.emit(this.activated.instance)}static#e=this.\u0275fac=function(t){return new(t||i)};static#t=this.\u0275dir=ve({type:i,selectors:[["router-outlet"]],inputs:{name:"name"},outputs:{activateEvents:"activate",deactivateEvents:"deactivate",attachEvents:"attach",detachEvents:"detach"},exportAs:["outlet"],standalone:!0,features:[pr]})}return i})();class PLe{constructor(a,e,t){this.route=a,this.childContexts=e,this.parent=t}get(a,e){return a===cf?this.route:a===CI?this.childContexts:this.parent.get(a,e)}}const nF=new Pt("");let yre=(()=>{class i{constructor(){this.outletDataSubscriptions=new Map}bindActivatedRouteToOutletComponent(e){this.unsubscribeFromRouteData(e),this.subscribeToRouteData(e)}unsubscribeFromRouteData(e){this.outletDataSubscriptions.get(e)?.unsubscribe(),this.outletDataSubscriptions.delete(e)}subscribeToRouteData(e){const{activatedRoute:t}=e,n=a6([t.queryParams,t.params,t.data]).pipe(Rr(([r,s,o],l)=>(o={...r,...s,...o},0===l?Vi(o):Promise.resolve(o)))).subscribe(r=>{if(!e.isActivated||!e.activatedComponentRef||e.activatedRoute!==t||null===t.component)return void this.unsubscribeFromRouteData(e);const s=sI(t.component);if(s)for(const{templateName:o}of s.inputs)e.activatedComponentRef.setInput(o,r[o]);else this.unsubscribeFromRouteData(e)});this.outletDataSubscriptions.set(e,n)}static#e=this.\u0275fac=function(t){return new(t||i)};static#t=this.\u0275prov=Mt({token:i,factory:i.\u0275fac})}return i})();function vI(i,a,e){if(e&&i.shouldReuseRoute(a.value,e.value.snapshot)){const t=e.value;t._futureSnapshot=a.value;const n=function BLe(i,a,e){return a.children.map(t=>{for(const n of e.children)if(i.shouldReuseRoute(t.value,n.value.snapshot))return vI(i,t,n);return vI(i,t)})}(i,a,e);return new Wg(t,n)}{if(i.shouldAttach(a.value)){const r=i.retrieve(a.value);if(null!==r){const s=r.route;return s.value._futureSnapshot=a.value,s.children=a.children.map(o=>vI(i,o)),s}}const t=function $Le(i){return new cf(new Ju(i.url),new Ju(i.params),new Ju(i.queryParams),new Ju(i.fragment),new Ju(i.data),i.outlet,i.component,i)}(a.value),n=a.children.map(r=>vI(i,r));return new Wg(t,n)}}const Z6="ngNavigationCancelingError";function xre(i,a){const{redirectTo:e,navigationBehaviorOptions:t}=zx(a)?{redirectTo:a,navigationBehaviorOptions:void 0}:a,n=Sre(!1,0,a);return n.url=e,n.navigationBehaviorOptions=t,n}function Sre(i,a,e){const t=new Error("NavigationCancelingError: "+(i||""));return t[Z6]=!0,t.cancellationCode=a,e&&(t.url=e),t}function Dre(i){return i&&i[Z6]}let Cre=(()=>{class i{static#e=this.\u0275fac=function(t){return new(t||i)};static#t=this.\u0275cmp=Se({type:i,selectors:[["ng-component"]],standalone:!0,features:[Je],decls:1,vars:0,template:function(t,n){1&t&&ce(0,"router-outlet")},dependencies:[K6],encapsulation:2})}return i})();function Q6(i){const a=i.children&&i.children.map(Q6),e=a?{...i,children:a}:{...i};return!e.component&&!e.loadComponent&&(a||e.loadChildren)&&e.outlet&&e.outlet!==Jn&&(e.component=Cre),e}function qp(i){return i.outlet||Jn}function MI(i){if(!i)return null;if(i.routeConfig?._injector)return i.routeConfig._injector;for(let a=i.parent;a;a=a.parent){const e=a.routeConfig;if(e?._loadedInjector)return e._loadedInjector;if(e?._injector)return e._injector}return null}class zLe{constructor(a,e,t,n,r){this.routeReuseStrategy=a,this.futureState=e,this.currState=t,this.forwardEvent=n,this.inputBindingEnabled=r}activate(a){const e=this.futureState._root,t=this.currState?this.currState._root:null;this.deactivateChildRoutes(e,t,a),X6(this.futureState.root),this.activateChildRoutes(e,t,a)}deactivateChildRoutes(a,e,t){const n=xv(e);a.children.forEach(r=>{const s=r.value.outlet;this.deactivateRoutes(r,n[s],t),delete n[s]}),Object.values(n).forEach(r=>{this.deactivateRouteAndItsChildren(r,t)})}deactivateRoutes(a,e,t){const n=a.value,r=e?e.value:null;if(n===r)if(n.component){const s=t.getContext(n.outlet);s&&this.deactivateChildRoutes(a,e,s.children)}else this.deactivateChildRoutes(a,e,t);else r&&this.deactivateRouteAndItsChildren(e,t)}deactivateRouteAndItsChildren(a,e){a.value.component&&this.routeReuseStrategy.shouldDetach(a.value.snapshot)?this.detachAndStoreRouteSubtree(a,e):this.deactivateRouteAndOutlet(a,e)}detachAndStoreRouteSubtree(a,e){const t=e.getContext(a.value.outlet),n=t&&a.value.component?t.children:e,r=xv(a);for(const s of Object.keys(r))this.deactivateRouteAndItsChildren(r[s],n);if(t&&t.outlet){const s=t.outlet.detach(),o=t.children.onOutletDeactivated();this.routeReuseStrategy.store(a.value.snapshot,{componentRef:s,route:a,contexts:o})}}deactivateRouteAndOutlet(a,e){const t=e.getContext(a.value.outlet),n=t&&a.value.component?t.children:e,r=xv(a);for(const s of Object.keys(r))this.deactivateRouteAndItsChildren(r[s],n);t&&(t.outlet&&(t.outlet.deactivate(),t.children.onOutletDeactivated()),t.attachRef=null,t.route=null)}activateChildRoutes(a,e,t){const n=xv(e);a.children.forEach(r=>{this.activateRoutes(r,n[r.value.outlet],t),this.forwardEvent(new kLe(r.value.snapshot))}),a.children.length&&this.forwardEvent(new ILe(a.value.snapshot))}activateRoutes(a,e,t){const n=a.value,r=e?e.value:null;if(X6(n),n===r)if(n.component){const s=t.getOrCreateContext(n.outlet);this.activateChildRoutes(a,e,s.children)}else this.activateChildRoutes(a,e,t);else if(n.component){const s=t.getOrCreateContext(n.outlet);if(this.routeReuseStrategy.shouldAttach(n.snapshot)){const o=this.routeReuseStrategy.retrieve(n.snapshot);this.routeReuseStrategy.store(n.snapshot,null),s.children.onOutletReAttached(o.contexts),s.attachRef=o.componentRef,s.route=o.route.value,s.outlet&&s.outlet.attach(o.componentRef,o.route.value),X6(o.route.value),this.activateChildRoutes(a,null,s.children)}else{const o=MI(n.snapshot);s.attachRef=null,s.route=n,s.injector=o,s.outlet&&s.outlet.activateWith(n,s.injector),this.activateChildRoutes(a,null,s.children)}}else this.activateChildRoutes(a,null,t)}}class vre{constructor(a){this.path=a,this.route=this.path[this.path.length-1]}}class aF{constructor(a,e){this.component=a,this.route=e}}function HLe(i,a,e){const t=i._root;return wI(t,a?a._root:null,e,[t.value])}function Sv(i,a){const e=Symbol(),t=a.get(i,e);return t===e?"function"!=typeof i||function g2(i){return null!==zm(i)}(i)?a.get(i):i:t}function wI(i,a,e,t,n={canDeactivateChecks:[],canActivateChecks:[]}){const r=xv(a);return i.children.forEach(s=>{(function ULe(i,a,e,t,n={canDeactivateChecks:[],canActivateChecks:[]}){const r=i.value,s=a?a.value:null,o=e?e.getContext(i.value.outlet):null;if(s&&r.routeConfig===s.routeConfig){const l=function XLe(i,a,e){if("function"==typeof e)return e(i,a);switch(e){case"pathParamsChange":return!Gx(i.url,a.url);case"pathParamsOrQueryParamsChange":return!Gx(i.url,a.url)||!zp(i.queryParams,a.queryParams);case"always":return!0;case"paramsOrQueryParamsChange":return!Y6(i,a)||!zp(i.queryParams,a.queryParams);default:return!Y6(i,a)}}(s,r,r.routeConfig.runGuardsAndResolvers);l?n.canActivateChecks.push(new vre(t)):(r.data=s.data,r._resolvedData=s._resolvedData),wI(i,a,r.component?o?o.children:null:e,t,n),l&&o&&o.outlet&&o.outlet.isActivated&&n.canDeactivateChecks.push(new aF(o.outlet.component,s))}else s&&TI(a,o,n),n.canActivateChecks.push(new vre(t)),wI(i,null,r.component?o?o.children:null:e,t,n)})(s,r[s.value.outlet],e,t.concat([s.value]),n),delete r[s.value.outlet]}),Object.entries(r).forEach(([s,o])=>TI(o,e.getContext(s),n)),n}function TI(i,a,e){const t=xv(i),n=i.value;Object.entries(t).forEach(([r,s])=>{TI(s,n.component?a?a.children.getContext(r):null:a,e)}),e.canDeactivateChecks.push(new aF(n.component&&a&&a.outlet&&a.outlet.isActivated?a.outlet.component:null,n))}function II(i){return"function"==typeof i}function Mre(i){return i instanceof EP||"EmptyError"===i?.name}const rF=Symbol("INITIAL_VALUE");function Dv(){return Rr(i=>a6(i.map(a=>a.pipe(W_(1),hv(rF)))).pipe(Et(a=>{for(const e of a)if(!0!==e){if(e===rF)return rF;if(!1===e||e instanceof fv)return e}return!0}),Dr(a=>a!==rF),W_(1)))}function wre(i){return uh(Ul(a=>{if(zx(a))throw xre(0,a)}),Et(a=>!0===a))}class J6{constructor(a){this.segmentGroup=a||null}}class ej extends Error{constructor(a){super(),this.urlTree=a}}function Cv(i){return RP(new J6(i))}class pVe{constructor(a,e){this.urlSerializer=a,this.urlTree=e}noMatchError(a){return new ft(4002,!1)}lineralizeSegments(a,e){let t=[],n=e.root;for(;;){if(t=t.concat(n.segments),0===n.numberOfChildren)return Vi(t);if(n.numberOfChildren>1||!n.children[Jn])return RP(new ft(4e3,!1));n=n.children[Jn]}}applyRedirectCommands(a,e,t){const n=this.applyRedirectCreateUrlTree(e,this.urlSerializer.parse(e),a,t);if(e.startsWith("/"))throw new ej(n);return n}applyRedirectCreateUrlTree(a,e,t,n){const r=this.createSegmentGroup(a,e.root,t,n);return new fv(r,this.createQueryParams(e.queryParams,this.urlTree.queryParams),e.fragment)}createQueryParams(a,e){const t={};return Object.entries(a).forEach(([n,r])=>{if("string"==typeof r&&r.startsWith(":")){const o=r.substring(1);t[n]=e[o]}else t[n]=r}),t}createSegmentGroup(a,e,t,n){const r=this.createSegments(a,e.segments,t,n);let s={};return Object.entries(e.children).forEach(([o,l])=>{s[o]=this.createSegmentGroup(a,l,t,n)}),new Gr(r,s)}createSegments(a,e,t,n){return e.map(r=>r.path.startsWith(":")?this.findPosParam(a,r,n):this.findOrReturn(r,t))}findPosParam(a,e,t){const n=t[e.path.substring(1)];if(!n)throw new ft(4001,!1);return n}findOrReturn(a,e){let t=0;for(const n of e){if(n.path===a.path)return e.splice(t),n;t++}return a}}const tj={matched:!1,consumedSegments:[],remainingSegments:[],parameters:{},positionalParamSegments:{}};function mVe(i,a,e,t,n){const r=ij(i,a,e);return r.matched?(t=function VLe(i,a){return i.providers&&!i._injector&&(i._injector=w5(i.providers,a,`Route: ${i.path}`)),i._injector??a}(a,t),function hVe(i,a,e,t){const n=a.canMatch;return n&&0!==n.length?Vi(n.map(s=>{const o=Sv(s,i);return G_(function eVe(i){return i&&II(i.canMatch)}(o)?o.canMatch(a,e):i.runInContext(()=>o(a,e)))})).pipe(Dv(),wre()):Vi(!0)}(t,a,e).pipe(Et(s=>!0===s?r:{...tj}))):Vi(r)}function ij(i,a,e){if(""===a.path)return"full"===a.pathMatch&&(i.hasChildren()||e.length>0)?{...tj}:{matched:!0,consumedSegments:[],remainingSegments:e,parameters:{},positionalParamSegments:{}};const n=(a.matcher||X$e)(e,i,a);if(!n)return{...tj};const r={};Object.entries(n.posParams??{}).forEach(([o,l])=>{r[o]=l.path});const s=n.consumed.length>0?{...r,...n.consumed[n.consumed.length-1].parameters}:r;return{matched:!0,consumedSegments:n.consumed,remainingSegments:e.slice(n.consumed.length),parameters:s,positionalParamSegments:n.posParams??{}}}function Tre(i,a,e,t){return e.length>0&&function bVe(i,a,e){return e.some(t=>sF(i,a,t)&&qp(t)!==Jn)}(i,e,t)?{segmentGroup:new Gr(a,_Ve(t,new Gr(e,i.children))),slicedSegments:[]}:0===e.length&&function yVe(i,a,e){return e.some(t=>sF(i,a,t))}(i,e,t)?{segmentGroup:new Gr(i.segments,fVe(i,0,e,t,i.children)),slicedSegments:e}:{segmentGroup:new Gr(i.segments,i.children),slicedSegments:e}}function fVe(i,a,e,t,n){const r={};for(const s of t)if(sF(i,e,s)&&!n[qp(s)]){const o=new Gr([],{});r[qp(s)]=o}return{...n,...r}}function _Ve(i,a){const e={};e[Jn]=a;for(const t of i)if(""===t.path&&qp(t)!==Jn){const n=new Gr([],{});e[qp(t)]=n}return e}function sF(i,a,e){return(!(i.hasChildren()||a.length>0)||"full"!==e.pathMatch)&&""===e.path}class DVe{}class MVe{constructor(a,e,t,n,r,s,o){this.injector=a,this.configLoader=e,this.rootComponentType=t,this.config=n,this.urlTree=r,this.paramsInheritanceStrategy=s,this.urlSerializer=o,this.applyRedirects=new pVe(this.urlSerializer,this.urlTree),this.absoluteRedirectCount=0,this.allowRedirects=!0}noMatchError(a){return new ft(4002,!1)}recognize(){const a=Tre(this.urlTree.root,[],[],this.config).segmentGroup;return this.match(a).pipe(Et(e=>{const t=new q6([],Object.freeze({}),Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,{},Jn,this.rootComponentType,null,{}),n=new Wg(t,e),r=new fre("",n),s=function pLe(i,a,e=null,t=null){return rre(are(i),a,e,t)}(t,[],this.urlTree.queryParams,this.urlTree.fragment);return s.queryParams=this.urlTree.queryParams,r.url=this.urlSerializer.serialize(s),this.inheritParamsAndData(r._root,null),{state:r,tree:s}}))}match(a){return this.processSegmentGroup(this.injector,this.config,a,Jn).pipe(gv(t=>{if(t instanceof ej)return this.urlTree=t.urlTree,this.match(t.urlTree.root);throw t instanceof J6?this.noMatchError(t):t}))}inheritParamsAndData(a,e){const t=a.value,n=H6(t,e,this.paramsInheritanceStrategy);t.params=Object.freeze(n.params),t.data=Object.freeze(n.data),a.children.forEach(r=>this.inheritParamsAndData(r,t))}processSegmentGroup(a,e,t,n){return 0===t.segments.length&&t.hasChildren()?this.processChildren(a,e,t):this.processSegment(a,e,t,t.segments,n,!0).pipe(Et(r=>r instanceof Wg?[r]:[]))}processChildren(a,e,t){const n=[];for(const r of Object.keys(t.children))"primary"===r?n.unshift(r):n.push(r);return Ta(n).pipe(dv(r=>{const s=t.children[r],o=function jLe(i,a){const e=i.filter(t=>qp(t)===a);return e.push(...i.filter(t=>qp(t)!==a)),e}(e,r);return this.processSegmentGroup(a,o,s,r)}),pv((r,s)=>(r.push(...s),r)),XP(null),function m$e(i,a){const e=arguments.length>=2;return t=>t.pipe(i?Dr((n,r)=>i(n,r,t)):Ks,M6(1),e?XP(a):wae(()=>new EP))}(),Uo(r=>{if(null===r)return Cv(t);const s=Ire(r);return function wVe(i){i.sort((a,e)=>a.value.outlet===Jn?-1:e.value.outlet===Jn?1:a.value.outlet.localeCompare(e.value.outlet))}(s),Vi(s)}))}processSegment(a,e,t,n,r,s){return Ta(e).pipe(dv(o=>this.processSegmentAgainstRoute(o._injector??a,e,o,t,n,r,s).pipe(gv(l=>{if(l instanceof J6)return Vi(null);throw l}))),Dn(o=>!!o),gv(o=>{if(Mre(o))return function SVe(i,a,e){return 0===a.length&&!i.children[e]}(t,n,r)?Vi(new DVe):Cv(t);throw o}))}processSegmentAgainstRoute(a,e,t,n,r,s,o){return function xVe(i,a,e,t){return!!(qp(i)===t||t!==Jn&&sF(a,e,i))&&("**"===i.path||ij(a,i,e).matched)}(t,n,r,s)?void 0===t.redirectTo?this.matchSegmentAgainstRoute(a,n,t,r,s):this.allowRedirects&&o?this.expandSegmentAgainstRouteUsingRedirect(a,n,e,t,r,s):Cv(n):Cv(n)}expandSegmentAgainstRouteUsingRedirect(a,e,t,n,r,s){const{matched:o,consumedSegments:l,positionalParamSegments:u,remainingSegments:c}="**"===n.path?Are(r):ij(e,n,r);if(!o)return Cv(e);n.redirectTo.startsWith("/")&&(this.absoluteRedirectCount++,this.absoluteRedirectCount>31&&(this.allowRedirects=!1));const h=this.applyRedirects.applyRedirectCommands(l,n.redirectTo,u);return this.applyRedirects.lineralizeSegments(n,h).pipe(Uo(d=>this.processSegment(a,t,e,d.concat(c),s,!1)))}matchSegmentAgainstRoute(a,e,t,n,r){let s;return"**"===t.path?(s=Vi(Are(n)),e.children={}):s=mVe(e,t,n,a),s.pipe(Rr(o=>o.matched?this.getChildConfig(a=t._injector??a,t,n).pipe(Rr(({routes:l})=>{const u=t._loadedInjector??a,{consumedSegments:c,remainingSegments:h,parameters:d}=o,g=new q6(c,d,Object.freeze({...this.urlTree.queryParams}),this.urlTree.fragment,function IVe(i){return i.data||{}}(t),qp(t),t.component??t._loadedComponent??null,t,function AVe(i){return i.resolve||{}}(t)),{segmentGroup:p,slicedSegments:m}=Tre(e,c,h,l);if(0===m.length&&p.hasChildren())return this.processChildren(u,l,p).pipe(Et(y=>null===y?null:new Wg(g,y)));if(0===l.length&&0===m.length)return Vi(new Wg(g,[]));const _=qp(t)===r;return this.processSegment(u,l,p,m,_?Jn:r,!0).pipe(Et(y=>new Wg(g,y instanceof Wg?[y]:[])))})):Cv(e)))}getChildConfig(a,e,t){return e.children?Vi({routes:e.children,injector:a}):e.loadChildren?void 0!==e._loadedRoutes?Vi({routes:e._loadedRoutes,injector:e._loadedInjector}):function cVe(i,a,e,t){const n=a.canLoad;return void 0===n||0===n.length?Vi(!0):Vi(n.map(s=>{const o=Sv(s,i);return G_(function KLe(i){return i&&II(i.canLoad)}(o)?o.canLoad(a,e):i.runInContext(()=>o(a,e)))})).pipe(Dv(),wre())}(a,e,t).pipe(Uo(n=>n?this.configLoader.loadChildren(a,e).pipe(Ul(r=>{e._loadedRoutes=r.routes,e._loadedInjector=r.injector})):function gVe(i){return RP(Sre(!1,3))}())):Vi({routes:[],injector:a})}}function TVe(i){const a=i.value.routeConfig;return a&&""===a.path}function Ire(i){const a=[],e=new Set;for(const t of i){if(!TVe(t)){a.push(t);continue}const n=a.find(r=>t.value.routeConfig===r.value.routeConfig);void 0!==n?(n.children.push(...t.children),e.add(n)):a.push(t)}for(const t of e){const n=Ire(t.children);a.push(new Wg(t.value,n))}return a.filter(t=>!e.has(t))}function Are(i){return{matched:!0,parameters:i.length>0?Uae(i).parameters:{},consumedSegments:i,remainingSegments:[],positionalParamSegments:{}}}function EVe(i,a){return Uo(e=>{const{targetSnapshot:t,guards:{canActivateChecks:n}}=e;if(!n.length)return Vi(e);const r=n.map(u=>u.route),s=new Set(r),o=kre(r[0].parent).slice(1);let l=0;return Ta(o).pipe(dv(u=>s.has(u)?function RVe(i,a,e,t){const n=i.routeConfig,r=i._resolve;return void 0!==n?.title&&!bre(n)&&(r[fI]=n.title),function PVe(i,a,e,t){const n=B6(i);if(0===n.length)return Vi({});const r={};return Ta(n).pipe(Uo(s=>function FVe(i,a,e,t){const n=MI(a)??t,r=Sv(i,n);return G_(r.resolve?r.resolve(a,e):n.runInContext(()=>r(a,e)))}(i[s],a,e,t).pipe(Dn(),Ul(o=>{r[s]=o}))),M6(1),function f$e(i){return Et(()=>i)}(r),gv(s=>Mre(s)?ch:RP(s)))}(r,i,a,t).pipe(Et(s=>(i._resolvedData=s,i.data=H6(i,i.parent,e).resolve,null)))}(u,t,i,a):(u.data=H6(u,u.parent,i).resolve,Vi(void 0))),Ul(()=>l++),M6(1),Uo(u=>l===o.length?Vi(e):ch))})}function kre(i){const a=i.children.map(e=>kre(e)).flat();return[i,...a]}function nj(i){return Rr(a=>{const e=i(a);return e?Ta(e).pipe(Et(()=>a)):Vi(a)})}let Ere=(()=>{class i{buildTitle(e){let t,n=e.root;for(;void 0!==n;)t=this.getResolvedTitleForRoute(n)??t,n=n.children.find(r=>r.outlet===Jn);return t}getResolvedTitleForRoute(e){return e.data[fI]}static#e=this.\u0275fac=function(t){return new(t||i)};static#t=this.\u0275prov=Mt({token:i,factory:()=>Ut(BVe),providedIn:"root"})}return i})(),BVe=(()=>{class i extends Ere{constructor(e){super(),this.title=e}updateTitle(e){const t=this.buildTitle(e);void 0!==t&&this.title.setTitle(t)}static#e=this.\u0275fac=function(t){return new(t||i)(Ue(Vae))};static#t=this.\u0275prov=Mt({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();const vv=new Pt("",{providedIn:"root",factory:()=>({})}),Mv=new Pt("ROUTES");let aj=(()=>{class i{constructor(){this.componentLoaders=new WeakMap,this.childrenLoaders=new WeakMap,this.compiler=Ut(cne)}loadComponent(e){if(this.componentLoaders.get(e))return this.componentLoaders.get(e);if(e._loadedComponent)return Vi(e._loadedComponent);this.onLoadStartListener&&this.onLoadStartListener(e);const t=G_(e.loadComponent()).pipe(Et(Rre),Ul(r=>{this.onLoadEndListener&&this.onLoadEndListener(e),e._loadedComponent=r}),pI(()=>{this.componentLoaders.delete(e)})),n=new Jne(t,()=>new Z).pipe(s6());return this.componentLoaders.set(e,n),n}loadChildren(e,t){if(this.childrenLoaders.get(t))return this.childrenLoaders.get(t);if(t._loadedRoutes)return Vi({routes:t._loadedRoutes,injector:t._loadedInjector});this.onLoadStartListener&&this.onLoadStartListener(t);const r=function $Ve(i,a,e,t){return G_(i.loadChildren()).pipe(Et(Rre),Uo(n=>n instanceof Iie||Array.isArray(n)?Vi(n):Ta(a.compileModuleAsync(n))),Et(n=>{t&&t(i);let r,s,o=!1;return Array.isArray(n)?(s=n,!0):(r=n.create(e).injector,s=r.get(Mv,[],{optional:!0,self:!0}).flat()),{routes:s.map(Q6),injector:r}}))}(t,this.compiler,e,this.onLoadEndListener).pipe(pI(()=>{this.childrenLoaders.delete(t)})),s=new Jne(r,()=>new Z).pipe(s6());return this.childrenLoaders.set(t,s),s}static#e=this.\u0275fac=function(t){return new(t||i)};static#t=this.\u0275prov=Mt({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function Rre(i){return function LVe(i){return i&&"object"==typeof i&&"default"in i}(i)?i.default:i}let rj=(()=>{class i{static#e=this.\u0275fac=function(t){return new(t||i)};static#t=this.\u0275prov=Mt({token:i,factory:()=>Ut(VVe),providedIn:"root"})}return i})(),VVe=(()=>{class i{shouldProcessUrl(e){return!0}extract(e){return e}merge(e,t){return e}static#e=this.\u0275fac=function(t){return new(t||i)};static#t=this.\u0275prov=Mt({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();const Pre=new Pt(""),Fre=new Pt("");function NVe(i,a,e){const t=i.get(Fre),n=i.get(xa);return i.get(hi).runOutsideAngular(()=>{if(!n.startViewTransition||t.skipNextTransition)return t.skipNextTransition=!1,Promise.resolve();let r;const s=new Promise(u=>{r=u}),o=n.startViewTransition(()=>(r(),function OVe(i){return new Promise(a=>{see(a,{injector:i})})}(i))),{onViewTransitionCreated:l}=t;return l&&function RTe(i,a){i instanceof kx&&i.assertNotDestroyed();const t=kp(i),n=Hl(void 0);try{return a()}finally{kp(t),Hl(n)}}(i,()=>l({transition:o,from:a,to:e})),s})}let oF=(()=>{class i{get hasRequestedNavigation(){return 0!==this.navigationId}constructor(){this.currentNavigation=null,this.currentTransition=null,this.lastSuccessfulNavigation=null,this.events=new Z,this.transitionAbortSubject=new Z,this.configLoader=Ut(aj),this.environmentInjector=Ut(Ko),this.urlSerializer=Ut(_v),this.rootContexts=Ut(CI),this.location=Ut(oI),this.inputBindingEnabled=null!==Ut(nF,{optional:!0}),this.titleStrategy=Ut(Ere),this.options=Ut(vv,{optional:!0})||{},this.paramsInheritanceStrategy=this.options.paramsInheritanceStrategy||"emptyOnly",this.urlHandlingStrategy=Ut(rj),this.createViewTransition=Ut(Pre,{optional:!0}),this.navigationId=0,this.afterPreactivation=()=>Vi(void 0),this.rootComponentType=null,this.configLoader.onLoadEndListener=n=>this.events.next(new wLe(n)),this.configLoader.onLoadStartListener=n=>this.events.next(new MLe(n))}complete(){this.transitions?.complete()}handleNavigationRequest(e){const t=++this.navigationId;this.transitions?.next({...this.transitions.value,...e,id:t})}setupNavigations(e,t,n){return this.transitions=new Ju({id:0,currentUrlTree:t,currentRawUrl:t,extractedUrl:this.urlHandlingStrategy.extract(t),urlAfterRedirects:this.urlHandlingStrategy.extract(t),rawUrl:t,extras:{},resolve:null,reject:null,promise:Promise.resolve(!0),source:SI,restoredState:null,currentSnapshot:n.snapshot,targetSnapshot:null,currentRouterState:n,targetRouterState:null,guards:{canActivateChecks:[],canDeactivateChecks:[]},guardsResult:null}),this.transitions.pipe(Dr(r=>0!==r.id),Et(r=>({...r,extractedUrl:this.urlHandlingStrategy.extract(r.rawUrl)})),Rr(r=>{this.currentTransition=r;let s=!1,o=!1;return Vi(r).pipe(Ul(l=>{this.currentNavigation={id:l.id,initialUrl:l.rawUrl,extractedUrl:l.extractedUrl,trigger:l.source,extras:l.extras,previousNavigation:this.lastSuccessfulNavigation?{...this.lastSuccessfulNavigation,previousNavigation:null}:null}}),Rr(l=>{const u=!e.navigated||this.isUpdatingInternalState()||this.isUpdatedBrowserUrl();if(!u&&"reload"!==(l.extras.onSameUrlNavigation??e.onSameUrlNavigation)){const h="";return this.events.next(new yv(l.id,this.urlSerializer.serialize(l.rawUrl),h,0)),l.resolve(null),ch}if(this.urlHandlingStrategy.shouldProcessUrl(l.rawUrl))return Vi(l).pipe(Rr(h=>{const d=this.transitions?.getValue();return this.events.next(new DI(h.id,this.urlSerializer.serialize(h.extractedUrl),h.source,h.restoredState)),d!==this.transitions?.getValue()?ch:Promise.resolve(h)}),function kVe(i,a,e,t,n,r){return Uo(s=>function CVe(i,a,e,t,n,r,s="emptyOnly"){return new MVe(i,a,e,t,n,s,r).recognize()}(i,a,e,t,s.extractedUrl,n,r).pipe(Et(({state:o,tree:l})=>({...s,targetSnapshot:o,urlAfterRedirects:l}))))}(this.environmentInjector,this.configLoader,this.rootComponentType,e.config,this.urlSerializer,this.paramsInheritanceStrategy),Ul(h=>{r.targetSnapshot=h.targetSnapshot,r.urlAfterRedirects=h.urlAfterRedirects,this.currentNavigation={...this.currentNavigation,finalUrl:h.urlAfterRedirects};const d=new hre(h.id,this.urlSerializer.serialize(h.extractedUrl),this.urlSerializer.serialize(h.urlAfterRedirects),h.targetSnapshot);this.events.next(d)}));if(u&&this.urlHandlingStrategy.shouldProcessUrl(l.currentRawUrl)){const{id:h,extractedUrl:d,source:g,restoredState:p,extras:m}=l,_=new DI(h,this.urlSerializer.serialize(d),g,p);this.events.next(_);const y=mre(0,this.rootComponentType).snapshot;return this.currentTransition=r={...l,targetSnapshot:y,urlAfterRedirects:d,extras:{...m,skipLocationChange:!1,replaceUrl:!1}},this.currentNavigation.finalUrl=d,Vi(r)}{const h="";return this.events.next(new yv(l.id,this.urlSerializer.serialize(l.extractedUrl),h,1)),l.resolve(null),ch}}),Ul(l=>{const u=new SLe(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot);this.events.next(u)}),Et(l=>(this.currentTransition=r={...l,guards:HLe(l.targetSnapshot,l.currentSnapshot,this.rootContexts)},r)),function iVe(i,a){return Uo(e=>{const{targetSnapshot:t,currentSnapshot:n,guards:{canActivateChecks:r,canDeactivateChecks:s}}=e;return 0===s.length&&0===r.length?Vi({...e,guardsResult:!0}):function nVe(i,a,e,t){return Ta(i).pipe(Uo(n=>function uVe(i,a,e,t,n){const r=a&&a.routeConfig?a.routeConfig.canDeactivate:null;return r&&0!==r.length?Vi(r.map(o=>{const l=MI(a)??n,u=Sv(o,l);return G_(function JLe(i){return i&&II(i.canDeactivate)}(u)?u.canDeactivate(i,a,e,t):l.runInContext(()=>u(i,a,e,t))).pipe(Dn())})).pipe(Dv()):Vi(!0)}(n.component,n.route,e,a,t)),Dn(n=>!0!==n,!0))}(s,t,n,i).pipe(Uo(o=>o&&function YLe(i){return"boolean"==typeof i}(o)?function aVe(i,a,e,t){return Ta(a).pipe(dv(n=>r6(function sVe(i,a){return null!==i&&a&&a(new TLe(i)),Vi(!0)}(n.route.parent,t),function rVe(i,a){return null!==i&&a&&a(new ALe(i)),Vi(!0)}(n.route,t),function lVe(i,a,e){const t=a[a.length-1],r=a.slice(0,a.length-1).reverse().map(s=>function qLe(i){const a=i.routeConfig?i.routeConfig.canActivateChild:null;return a&&0!==a.length?{node:i,guards:a}:null}(s)).filter(s=>null!==s).map(s=>Qne(()=>Vi(s.guards.map(l=>{const u=MI(s.node)??e,c=Sv(l,u);return G_(function QLe(i){return i&&II(i.canActivateChild)}(c)?c.canActivateChild(t,i):u.runInContext(()=>c(t,i))).pipe(Dn())})).pipe(Dv())));return Vi(r).pipe(Dv())}(i,n.path,e),function oVe(i,a,e){const t=a.routeConfig?a.routeConfig.canActivate:null;if(!t||0===t.length)return Vi(!0);const n=t.map(r=>Qne(()=>{const s=MI(a)??e,o=Sv(r,s);return G_(function ZLe(i){return i&&II(i.canActivate)}(o)?o.canActivate(a,i):s.runInContext(()=>o(a,i))).pipe(Dn())}));return Vi(n).pipe(Dv())}(i,n.route,e))),Dn(n=>!0!==n,!0))}(t,r,i,a):Vi(o)),Et(o=>({...e,guardsResult:o})))})}(this.environmentInjector,l=>this.events.next(l)),Ul(l=>{if(r.guardsResult=l.guardsResult,zx(l.guardsResult))throw xre(0,l.guardsResult);const u=new DLe(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects),l.targetSnapshot,!!l.guardsResult);this.events.next(u)}),Dr(l=>!!l.guardsResult||(this.cancelNavigationTransition(l,"",3),!1)),nj(l=>{if(l.guards.canActivateChecks.length)return Vi(l).pipe(Ul(u=>{const c=new CLe(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(c)}),Rr(u=>{let c=!1;return Vi(u).pipe(EVe(this.paramsInheritanceStrategy,this.environmentInjector),Ul({next:()=>c=!0,complete:()=>{c||this.cancelNavigationTransition(u,"",2)}}))}),Ul(u=>{const c=new vLe(u.id,this.urlSerializer.serialize(u.extractedUrl),this.urlSerializer.serialize(u.urlAfterRedirects),u.targetSnapshot);this.events.next(c)}))}),nj(l=>{const u=c=>{const h=[];c.routeConfig?.loadComponent&&!c.routeConfig._loadedComponent&&h.push(this.configLoader.loadComponent(c.routeConfig).pipe(Ul(d=>{c.component=d}),Et(()=>{})));for(const d of c.children)h.push(...u(d));return h};return a6(u(l.targetSnapshot.root)).pipe(XP(),W_(1))}),nj(()=>this.afterPreactivation()),Rr(()=>{const{currentSnapshot:l,targetSnapshot:u}=r,c=this.createViewTransition?.(this.environmentInjector,l.root,u.root);return c?Ta(c).pipe(Et(()=>r)):Vi(r)}),Et(l=>{const u=function FLe(i,a,e){const t=vI(i,a._root,e?e._root:void 0);return new pre(t,a)}(e.routeReuseStrategy,l.targetSnapshot,l.currentRouterState);return this.currentTransition=r={...l,targetRouterState:u},this.currentNavigation.targetRouterState=u,r}),Ul(()=>{this.events.next(new W6)}),((i,a,e,t)=>Et(n=>(new zLe(a,n.targetRouterState,n.currentRouterState,e,t).activate(i),n)))(this.rootContexts,e.routeReuseStrategy,l=>this.events.next(l),this.inputBindingEnabled),W_(1),Ul({next:l=>{s=!0,this.lastSuccessfulNavigation=this.currentNavigation,this.events.next(new uf(l.id,this.urlSerializer.serialize(l.extractedUrl),this.urlSerializer.serialize(l.urlAfterRedirects))),this.titleStrategy?.updateTitle(l.targetRouterState.snapshot),l.resolve(!0)},complete:()=>{s=!0}}),Oe(this.transitionAbortSubject.pipe(Ul(l=>{throw l}))),pI(()=>{s||o||this.cancelNavigationTransition(r,"",1),this.currentNavigation?.id===r.id&&(this.currentNavigation=null)}),gv(l=>{if(o=!0,Dre(l))this.events.next(new bv(r.id,this.urlSerializer.serialize(r.extractedUrl),l.message,l.cancellationCode)),function LLe(i){return Dre(i)&&zx(i.url)}(l)?this.events.next(new j6(l.url)):r.resolve(!1);else{this.events.next(new iF(r.id,this.urlSerializer.serialize(r.extractedUrl),l,r.targetSnapshot??void 0));try{r.resolve(e.errorHandler(l))}catch(u){r.reject(u)}}return ch}))}))}cancelNavigationTransition(e,t,n){const r=new bv(e.id,this.urlSerializer.serialize(e.extractedUrl),t,n);this.events.next(r),e.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(t){return new(t||i)};static#t=this.\u0275prov=Mt({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();function WVe(i){return i!==SI}let jVe=(()=>{class i{static#e=this.\u0275fac=function(t){return new(t||i)};static#t=this.\u0275prov=Mt({token:i,factory:()=>Ut(zVe),providedIn:"root"})}return i})();class GVe{shouldDetach(a){return!1}store(a,e){}shouldAttach(a){return!1}retrieve(a){return null}shouldReuseRoute(a,e){return a.routeConfig===e.routeConfig}}let zVe=(()=>{class i extends GVe{static#e=this.\u0275fac=(()=>{let e;return function(n){return(e||(e=pi(i)))(n||i)}})();static#t=this.\u0275prov=Mt({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Bre=(()=>{class i{static#e=this.\u0275fac=function(t){return new(t||i)};static#t=this.\u0275prov=Mt({token:i,factory:()=>Ut(HVe),providedIn:"root"})}return i})(),HVe=(()=>{class i extends Bre{constructor(){super(...arguments),this.location=Ut(oI),this.urlSerializer=Ut(_v),this.options=Ut(vv,{optional:!0})||{},this.canceledNavigationResolution=this.options.canceledNavigationResolution||"replace",this.urlHandlingStrategy=Ut(rj),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.currentUrlTree=new fv,this.rawUrlTree=this.currentUrlTree,this.currentPageId=0,this.lastSuccessfulId=-1,this.routerState=mre(0,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(e){return this.location.subscribe(t=>{"popstate"===t.type&&e(t.url,t.state)})}handleRouterEvent(e,t){if(e instanceof DI)this.stateMemento=this.createStateMemento();else if(e instanceof yv)this.rawUrlTree=t.initialUrl;else if(e instanceof hre){if("eager"===this.urlUpdateStrategy&&!t.extras.skipLocationChange){const n=this.urlHandlingStrategy.merge(t.finalUrl,t.initialUrl);this.setBrowserUrl(n,t)}}else e instanceof W6?(this.currentUrlTree=t.finalUrl,this.rawUrlTree=this.urlHandlingStrategy.merge(t.finalUrl,t.initialUrl),this.routerState=t.targetRouterState,"deferred"===this.urlUpdateStrategy&&(t.extras.skipLocationChange||this.setBrowserUrl(this.rawUrlTree,t))):e instanceof bv&&(3===e.code||2===e.code)?this.restoreHistory(t):e instanceof iF?this.restoreHistory(t,!0):e instanceof uf&&(this.lastSuccessfulId=e.id,this.currentPageId=this.browserPageId)}setBrowserUrl(e,t){const n=this.urlSerializer.serialize(e);if(this.location.isCurrentPathEqualTo(n)||t.extras.replaceUrl){const s={...t.extras.state,...this.generateNgRouterState(t.id,this.browserPageId)};this.location.replaceState(n,"",s)}else{const r={...t.extras.state,...this.generateNgRouterState(t.id,this.browserPageId+1)};this.location.go(n,"",r)}}restoreHistory(e,t=!1){if("computed"===this.canceledNavigationResolution){const r=this.currentPageId-this.browserPageId;0!==r?this.location.historyGo(r):this.currentUrlTree===e.finalUrl&&0===r&&(this.resetState(e),this.resetUrlToCurrentUrlTree())}else"replace"===this.canceledNavigationResolution&&(t&&this.resetState(e),this.resetUrlToCurrentUrlTree())}resetState(e){this.routerState=this.stateMemento.routerState,this.currentUrlTree=this.stateMemento.currentUrlTree,this.rawUrlTree=this.urlHandlingStrategy.merge(this.currentUrlTree,e.finalUrl??this.rawUrlTree)}resetUrlToCurrentUrlTree(){this.location.replaceState(this.urlSerializer.serialize(this.rawUrlTree),"",this.generateNgRouterState(this.lastSuccessfulId,this.currentPageId))}generateNgRouterState(e,t){return"computed"===this.canceledNavigationResolution?{navigationId:e,\u0275routerPageId:t}:{navigationId:e}}static#e=this.\u0275fac=(()=>{let e;return function(n){return(e||(e=pi(i)))(n||i)}})();static#t=this.\u0275prov=Mt({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();var AI=function(i){return i[i.COMPLETE=0]="COMPLETE",i[i.FAILED=1]="FAILED",i[i.REDIRECTING=2]="REDIRECTING",i}(AI||{});function $re(i,a){i.events.pipe(Dr(e=>e instanceof uf||e instanceof bv||e instanceof iF||e instanceof yv),Et(e=>e instanceof uf||e instanceof yv?AI.COMPLETE:e instanceof bv&&(0===e.code||1===e.code)?AI.REDIRECTING:AI.FAILED),Dr(e=>e!==AI.REDIRECTING),W_(1)).subscribe(()=>{a()})}function qVe(i){throw i}const UVe={paths:"exact",fragment:"ignored",matrixParams:"ignored",queryParams:"exact"},XVe={paths:"subset",fragment:"ignored",matrixParams:"ignored",queryParams:"subset"};let el=(()=>{class i{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=Ut(lne),this.stateManager=Ut(Bre),this.options=Ut(vv,{optional:!0})||{},this.pendingTasks=Ut(xP),this.urlUpdateStrategy=this.options.urlUpdateStrategy||"deferred",this.navigationTransitions=Ut(oF),this.urlSerializer=Ut(_v),this.location=Ut(oI),this.urlHandlingStrategy=Ut(rj),this._events=new Z,this.errorHandler=this.options.errorHandler||qVe,this.navigated=!1,this.routeReuseStrategy=Ut(jVe),this.onSameUrlNavigation=this.options.onSameUrlNavigation||"ignore",this.config=Ut(Mv,{optional:!0})?.flat()??[],this.componentInputBindingEnabled=!!Ut(nF,{optional:!0}),this.eventsSubscription=new or,this.isNgZoneEnabled=Ut(hi)instanceof hi&&hi.isInAngularZone(),this.resetConfig(this.config),this.navigationTransitions.setupNavigations(this,this.currentUrlTree,this.routerState).subscribe({error:e=>{this.console.warn(e)}}),this.subscribeToNavigationEvents()}subscribeToNavigationEvents(){const e=this.navigationTransitions.events.subscribe(t=>{try{const n=this.navigationTransitions.currentTransition,r=this.navigationTransitions.currentNavigation;if(null!==n&&null!==r)if(this.stateManager.handleRouterEvent(t,r),t instanceof bv&&0!==t.code&&1!==t.code)this.navigated=!0;else if(t instanceof uf)this.navigated=!0;else if(t instanceof j6){const s=this.urlHandlingStrategy.merge(t.url,n.currentRawUrl),o={skipLocationChange:n.extras.skipLocationChange,replaceUrl:"eager"===this.urlUpdateStrategy||WVe(n.source)};this.scheduleNavigation(s,SI,null,o,{resolve:n.resolve,reject:n.reject,promise:n.promise})}(function KVe(i){return!(i instanceof W6||i instanceof j6)})(t)&&this._events.next(t)}catch(n){this.navigationTransitions.transitionAbortSubject.next(n)}});this.eventsSubscription.add(e)}resetRootComponentType(e){this.routerState.root.component=e,this.navigationTransitions.rootComponentType=e}initialNavigation(){this.setUpLocationChangeListener(),this.navigationTransitions.hasRequestedNavigation||this.navigateToSyncWithBrowser(this.location.path(!0),SI,this.stateManager.restoredState())}setUpLocationChangeListener(){this.nonRouterCurrentEntryChangeSubscription||(this.nonRouterCurrentEntryChangeSubscription=this.stateManager.registerNonRouterCurrentEntryChangeListener((e,t)=>{setTimeout(()=>{this.navigateToSyncWithBrowser(e,"popstate",t)},0)}))}navigateToSyncWithBrowser(e,t,n){const r={replaceUrl:!0},s=n?.navigationId?n:null;if(n){const l={...n};delete l.navigationId,delete l.\u0275routerPageId,0!==Object.keys(l).length&&(r.state=l)}const o=this.parseUrl(e);this.scheduleNavigation(o,t,s,r)}get url(){return this.serializeUrl(this.currentUrlTree)}getCurrentNavigation(){return this.navigationTransitions.currentNavigation}get lastSuccessfulNavigation(){return this.navigationTransitions.lastSuccessfulNavigation}resetConfig(e){this.config=e.map(Q6),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(e,t={}){const{relativeTo:n,queryParams:r,fragment:s,queryParamsHandling:o,preserveFragment:l}=t,u=l?this.currentUrlTree.fragment:s;let h,c=null;switch(o){case"merge":c={...this.currentUrlTree.queryParams,...r};break;case"preserve":c=this.currentUrlTree.queryParams;break;default:c=r||null}null!==c&&(c=this.removeEmptyProps(c));try{h=are(n?n.snapshot:this.routerState.snapshot.root)}catch{("string"!=typeof e[0]||!e[0].startsWith("/"))&&(e=[]),h=this.currentUrlTree.root}return rre(h,e,c,u??null)}navigateByUrl(e,t={skipLocationChange:!1}){const n=zx(e)?e:this.parseUrl(e),r=this.urlHandlingStrategy.merge(n,this.rawUrlTree);return this.scheduleNavigation(r,SI,null,t)}navigate(e,t={skipLocationChange:!1}){return function YVe(i){for(let a=0;a{const r=e[n];return null!=r&&(t[n]=r),t},{})}scheduleNavigation(e,t,n,r,s){if(this.disposed)return Promise.resolve(!1);let o,l,u;s?(o=s.resolve,l=s.reject,u=s.promise):u=new Promise((h,d)=>{o=h,l=d});const c=this.pendingTasks.add();return $re(this,()=>{queueMicrotask(()=>this.pendingTasks.remove(c))}),this.navigationTransitions.handleNavigationRequest({source:t,restoredState:n,currentUrlTree:this.currentUrlTree,currentRawUrl:this.currentUrlTree,rawUrl:e,extras:r,resolve:o,reject:l,promise:u,currentSnapshot:this.routerState.snapshot,currentRouterState:this.routerState}),u.catch(h=>Promise.reject(h))}static#e=this.\u0275fac=function(t){return new(t||i)};static#t=this.\u0275prov=Mt({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})(),Hx=(()=>{class i{constructor(e,t,n,r,s,o){this.router=e,this.route=t,this.tabIndexAttribute=n,this.renderer=r,this.el=s,this.locationStrategy=o,this.href=null,this.commands=null,this.onChanges=new Z,this.preserveFragment=!1,this.skipLocationChange=!1,this.replaceUrl=!1;const l=s.nativeElement.tagName?.toLowerCase();this.isAnchorElement="a"===l||"area"===l,this.isAnchorElement?this.subscription=e.events.subscribe(u=>{u instanceof uf&&this.updateHref()}):this.setTabIndexIfNotOnNativeEl("0")}setTabIndexIfNotOnNativeEl(e){null!=this.tabIndexAttribute||this.isAnchorElement||this.applyAttributeValue("tabindex",e)}ngOnChanges(e){this.isAnchorElement&&this.updateHref(),this.onChanges.next(this)}set routerLink(e){null!=e?(this.commands=Array.isArray(e)?e:[e],this.setTabIndexIfNotOnNativeEl("0")):(this.commands=null,this.setTabIndexIfNotOnNativeEl(null))}onClick(e,t,n,r,s){return!!(null===this.urlTree||this.isAnchorElement&&(0!==e||t||n||r||s||"string"==typeof this.target&&"_self"!=this.target))||(this.router.navigateByUrl(this.urlTree,{skipLocationChange:this.skipLocationChange,replaceUrl:this.replaceUrl,state:this.state}),!this.isAnchorElement)}ngOnDestroy(){this.subscription?.unsubscribe()}updateHref(){this.href=null!==this.urlTree&&this.locationStrategy?this.locationStrategy?.prepareExternalUrl(this.router.serializeUrl(this.urlTree)):null;const e=null===this.href?null:function hJ(i,a,e){return function QIe(i,a){return"src"===a&&("embed"===i||"frame"===i||"iframe"===i||"media"===i||"script"===i)||"href"===a&&("base"===i||"link"===i)?cJ:Jm}(a,e)(i)}(this.href,this.el.nativeElement.tagName.toLowerCase(),"href");this.applyAttributeValue("href",e)}applyAttributeValue(e,t){const n=this.renderer,r=this.el.nativeElement;null!==t?n.setAttribute(r,e,t):n.removeAttribute(r,e)}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(t){return new(t||i)(A(el),A(cf),function hR(i){return function gT(i,a){if("class"===a)return i.classes;if("style"===a)return i.styles;const e=i.attrs;if(e){const t=e.length;let n=0;for(;n{class i{get isActive(){return this._isActive}constructor(e,t,n,r,s){this.router=e,this.element=t,this.renderer=n,this.cdr=r,this.link=s,this.classes=[],this._isActive=!1,this.routerLinkActiveOptions={exact:!1},this.isActiveChange=new Q,this.routerEventsSubscription=e.events.subscribe(o=>{o instanceof uf&&this.update()})}ngAfterContentInit(){Vi(this.links.changes,Vi(null)).pipe(m_()).subscribe(e=>{this.update(),this.subscribeToEachLinkOnChanges()})}subscribeToEachLinkOnChanges(){this.linkInputChangesSubscription?.unsubscribe();const e=[...this.links.toArray(),this.link].filter(t=>!!t).map(t=>t.onChanges);this.linkInputChangesSubscription=Ta(e).pipe(m_()).subscribe(t=>{this._isActive!==this.isLinkActive(this.router)(t)&&this.update()})}set routerLinkActive(e){const t=Array.isArray(e)?e:e.split(" ");this.classes=t.filter(n=>!!n)}ngOnChanges(e){this.update()}ngOnDestroy(){this.routerEventsSubscription.unsubscribe(),this.linkInputChangesSubscription?.unsubscribe()}update(){!this.links||!this.router.navigated||queueMicrotask(()=>{const e=this.hasActiveLinks();this._isActive!==e&&(this._isActive=e,this.cdr.markForCheck(),this.classes.forEach(t=>{e?this.renderer.addClass(this.element.nativeElement,t):this.renderer.removeClass(this.element.nativeElement,t)}),e&&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(e))})}isLinkActive(e){const t=function ZVe(i){return!!i.paths}(this.routerLinkActiveOptions)?this.routerLinkActiveOptions:this.routerLinkActiveOptions.exact||!1;return n=>!!n.urlTree&&e.isActive(n.urlTree,t)}hasActiveLinks(){const e=this.isLinkActive(this.router);return this.link&&e(this.link)||this.links.some(e)}static#e=this.\u0275fac=function(t){return new(t||i)(A(el),A(Ze),A(Ia),A(ni),A(Hx,8))};static#t=this.\u0275dir=ve({type:i,selectors:[["","routerLinkActive",""]],contentQueries:function(t,n,r){if(1&t&<(r,Hx,5),2&t){let s;H(s=q())&&(n.links=s)}},inputs:{routerLinkActiveOptions:"routerLinkActiveOptions",ariaCurrentWhenActive:"ariaCurrentWhenActive",routerLinkActive:"routerLinkActive"},outputs:{isActiveChange:"isActiveChange"},exportAs:["routerLinkActive"],standalone:!0,features:[pr]})}return i})();class Lre{}let QVe=(()=>{class i{constructor(e,t,n,r,s){this.router=e,this.injector=n,this.preloadingStrategy=r,this.loader=s}setUpPreloading(){this.subscription=this.router.events.pipe(Dr(e=>e instanceof uf),dv(()=>this.preload())).subscribe(()=>{})}preload(){return this.processRoutes(this.injector,this.router.config)}ngOnDestroy(){this.subscription&&this.subscription.unsubscribe()}processRoutes(e,t){const n=[];for(const r of t){r.providers&&!r._injector&&(r._injector=w5(r.providers,e,`Route: ${r.path}`));const s=r._injector??e,o=r._loadedInjector??s;(r.loadChildren&&!r._loadedRoutes&&void 0===r.canLoad||r.loadComponent&&!r._loadedComponent)&&n.push(this.preloadConfig(s,r)),(r.children||r._loadedRoutes)&&n.push(this.processRoutes(o,r.children??r._loadedRoutes))}return Ta(n).pipe(m_())}preloadConfig(e,t){return this.preloadingStrategy.preload(t,()=>{let n;n=t.loadChildren&&void 0===t.canLoad?this.loader.loadChildren(e,t):Vi(null);const r=n.pipe(Uo(s=>null===s?Vi(void 0):(t._loadedRoutes=s.routes,t._loadedInjector=s.injector,this.processRoutes(s.injector??e,s.routes))));return t.loadComponent&&!t._loadedComponent?Ta([r,this.loader.loadComponent(t)]).pipe(m_()):r})}static#e=this.\u0275fac=function(t){return new(t||i)(Ue(el),Ue(cne),Ue(Ko),Ue(Lre),Ue(aj))};static#t=this.\u0275prov=Mt({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();const oj=new Pt("");let Vre=(()=>{class i{constructor(e,t,n,r,s={}){this.urlSerializer=e,this.transitions=t,this.viewportScroller=n,this.zone=r,this.options=s,this.lastId=0,this.lastSource="imperative",this.restoredId=0,this.store={},s.scrollPositionRestoration=s.scrollPositionRestoration||"disabled",s.anchorScrolling=s.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(e=>{e instanceof DI?(this.store[this.lastId]=this.viewportScroller.getScrollPosition(),this.lastSource=e.navigationTrigger,this.restoredId=e.restoredState?e.restoredState.navigationId:0):e instanceof uf?(this.lastId=e.id,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.urlAfterRedirects).fragment)):e instanceof yv&&0===e.code&&(this.lastSource=void 0,this.restoredId=0,this.scheduleScrollEvent(e,this.urlSerializer.parse(e.url).fragment))})}consumeScrollEvents(){return this.transitions.events.subscribe(e=>{e instanceof dre&&(e.position?"top"===this.options.scrollPositionRestoration?this.viewportScroller.scrollToPosition([0,0]):"enabled"===this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition(e.position):e.anchor&&"enabled"===this.options.anchorScrolling?this.viewportScroller.scrollToAnchor(e.anchor):"disabled"!==this.options.scrollPositionRestoration&&this.viewportScroller.scrollToPosition([0,0]))})}scheduleScrollEvent(e,t){this.zone.runOutsideAngular(()=>{setTimeout(()=>{this.zone.run(()=>{this.transitions.events.next(new dre(e,"popstate"===this.lastSource?this.store[this.restoredId]:null,t))})},0)})}ngOnDestroy(){this.routerEventsSubscription?.unsubscribe(),this.scrollEventsSubscription?.unsubscribe()}static#e=this.\u0275fac=function(t){!function FJ(){throw new Error("invalid")}()};static#t=this.\u0275prov=Mt({token:i,factory:i.\u0275fac})}return i})();function Up(i,a){return{\u0275kind:i,\u0275providers:a}}function Ore(){const i=Ut(tr);return a=>{const e=i.get(O_);if(a!==e.components[0])return;const t=i.get(el),n=i.get(Wre);1===i.get(lj)&&t.initialNavigation(),i.get(jre,null,aa.Optional)?.setUpPreloading(),i.get(oj,null,aa.Optional)?.init(),t.resetRootComponentType(e.componentTypes[0]),n.closed||(n.next(),n.complete(),n.unsubscribe())}}const Wre=new Pt("",{factory:()=>new Z}),lj=new Pt("",{providedIn:"root",factory:()=>1}),jre=new Pt("");function iNe(i){return Up(0,[{provide:jre,useExisting:QVe},{provide:Lre,useExisting:i}])}function aNe(i){return Up(9,[{provide:Pre,useValue:NVe},{provide:Fre,useValue:{skipNextTransition:!!i?.skipInitialTransition,...i}}])}const Gre=new Pt("ROUTER_FORROOT_GUARD"),rNe=[oI,{provide:_v,useClass:$6},el,CI,{provide:cf,useFactory:function Nre(i){return i.routerState.root},deps:[el]},aj,[]];let zre=(()=>{class i{constructor(e){}static forRoot(e,t){return{ngModule:i,providers:[rNe,[],{provide:Mv,multi:!0,useValue:e},{provide:Gre,useFactory:uNe,deps:[[el,new CC,new pR]]},{provide:vv,useValue:t||{}},t?.useHash?{provide:Wx,useClass:FFe}:{provide:Wx,useClass:iae},{provide:oj,useFactory:()=>{const i=Ut(jBe),a=Ut(hi),e=Ut(vv),t=Ut(oF),n=Ut(_v);return e.scrollOffset&&i.setOffset(e.scrollOffset),new Vre(n,t,i,a,e)}},t?.preloadingStrategy?iNe(t.preloadingStrategy).\u0275providers:[],t?.initialNavigation?cNe(t):[],t?.bindToComponentInputs?Up(8,[yre,{provide:nF,useExisting:yre}]).\u0275providers:[],t?.enableViewTransitions?aNe().\u0275providers:[],[{provide:Hre,useFactory:Ore},{provide:H5,multi:!0,useExisting:Hre}]]}}static forChild(e){return{ngModule:i,providers:[{provide:Mv,multi:!0,useValue:e}]}}static#e=this.\u0275fac=function(t){return new(t||i)(Ue(Gre,8))};static#t=this.\u0275mod=je({type:i});static#i=this.\u0275inj=Ve({})}return i})();function uNe(i){return"guarded"}function cNe(i){return["disabled"===i.initialNavigation?Up(3,[{provide:V5,multi:!0,useFactory:()=>{const a=Ut(el);return()=>{a.setUpLocationChangeListener()}}},{provide:lj,useValue:2}]).\u0275providers:[],"enabledBlocking"===i.initialNavigation?Up(2,[{provide:lj,useValue:0},{provide:V5,multi:!0,deps:[tr],useFactory:a=>{const e=a.get(RFe,Promise.resolve());return()=>e.then(()=>new Promise(t=>{const n=a.get(el),r=a.get(Wre);$re(n,()=>{t(!0)}),a.get(oF).afterPreactivation=()=>(t(!0),r.closed?Vi(void 0):r),n.initialNavigation()}))}}]).\u0275providers:[]]}const Hre=new Pt("");var Dt=en(5861);let qre=(()=>{class i{constructor(e,t){this._renderer=e,this._elementRef=t,this.onChange=n=>{},this.onTouched=()=>{}}setProperty(e,t){this._renderer.setProperty(this._elementRef.nativeElement,e,t)}registerOnTouched(e){this.onTouched=e}registerOnChange(e){this.onChange=e}setDisabledState(e){this.setProperty("disabled",e)}static#e=this.\u0275fac=function(t){return new(t||i)(A(Ia),A(Ze))};static#t=this.\u0275dir=ve({type:i})}return i})(),qx=(()=>{class i extends qre{static#e=this.\u0275fac=(()=>{let e;return function(n){return(e||(e=pi(i)))(n||i)}})();static#t=this.\u0275dir=ve({type:i,features:[Ae]})}return i})();const Ds=new Pt("NgValueAccessor"),pNe={provide:Ds,useExisting:Ce(()=>Tu),multi:!0},fNe=new Pt("CompositionEventMode");let Tu=(()=>{class i extends qre{constructor(e,t,n){super(e,t),this._compositionMode=n,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function mNe(){const i=af()?af().getUserAgent():"";return/android (\d+)/.test(i.toLowerCase())}())}writeValue(e){this.setProperty("value",e??"")}_handleInput(e){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(e)}_compositionStart(){this._composing=!0}_compositionEnd(e){this._composing=!1,this._compositionMode&&this.onChange(e)}static#e=this.\u0275fac=function(t){return new(t||i)(A(Ia),A(Ze),A(fNe,8))};static#t=this.\u0275dir=ve({type:i,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(t,n){1&t&&G("input",function(s){return n._handleInput(s.target.value)})("blur",function(){return n.onTouched()})("compositionstart",function(){return n._compositionStart()})("compositionend",function(s){return n._compositionEnd(s.target.value)})},features:[Ye([pNe]),Ae]})}return i})();function z_(i){return null==i||("string"==typeof i||Array.isArray(i))&&0===i.length}function Xre(i){return null!=i&&"number"==typeof i.length}const zr=new Pt("NgValidators"),H_=new Pt("NgAsyncValidators"),_Ne=/^(?=.{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 Yre{static min(a){return Kre(a)}static max(a){return Zre(a)}static required(a){return Qre(a)}static requiredTrue(a){return function Jre(i){return!0===i.value?null:{required:!0}}(a)}static email(a){return ese(a)}static minLength(a){return tse(a)}static maxLength(a){return ise(a)}static pattern(a){return nse(a)}static nullValidator(a){return null}static compose(a){return use(a)}static composeAsync(a){return cse(a)}}function Kre(i){return a=>{if(z_(a.value)||z_(i))return null;const e=parseFloat(a.value);return!isNaN(e)&&e{if(z_(a.value)||z_(i))return null;const e=parseFloat(a.value);return!isNaN(e)&&e>i?{max:{max:i,actual:a.value}}:null}}function Qre(i){return z_(i.value)?{required:!0}:null}function ese(i){return z_(i.value)||_Ne.test(i.value)?null:{email:!0}}function tse(i){return a=>z_(a.value)||!Xre(a.value)?null:a.value.lengthXre(a.value)&&a.value.length>i?{maxlength:{requiredLength:i,actualLength:a.value.length}}:null}function nse(i){if(!i)return lF;let a,e;return"string"==typeof i?(e="","^"!==i.charAt(0)&&(e+="^"),e+=i,"$"!==i.charAt(i.length-1)&&(e+="$"),a=new RegExp(e)):(e=i.toString(),a=i),t=>{if(z_(t.value))return null;const n=t.value;return a.test(n)?null:{pattern:{requiredPattern:e,actualValue:n}}}}function lF(i){return null}function ase(i){return null!=i}function rse(i){return QT(i)?Ta(i):i}function sse(i){let a={};return i.forEach(e=>{a=null!=e?{...a,...e}:a}),0===Object.keys(a).length?null:a}function ose(i,a){return a.map(e=>e(i))}function lse(i){return i.map(a=>function bNe(i){return!i.validate}(a)?a:e=>a.validate(e))}function use(i){if(!i)return null;const a=i.filter(ase);return 0==a.length?null:function(e){return sse(ose(e,a))}}function uj(i){return null!=i?use(lse(i)):null}function cse(i){if(!i)return null;const a=i.filter(ase);return 0==a.length?null:function(e){return function dNe(...i){const a=UD(i),{args:e,keys:t}=Yne(i),n=new ha(r=>{const{length:s}=e;if(!s)return void r.complete();const o=new Array(s);let l=s,u=s;for(let c=0;c{h||(h=!0,u--),o[c]=d},()=>l--,void 0,()=>{(!l||!h)&&(u||r.next(t?Kne(t,o):o),r.complete())}))}});return a?n.pipe(n6(a)):n}(ose(e,a).map(rse)).pipe(Et(sse))}}function cj(i){return null!=i?cse(lse(i)):null}function hse(i,a){return null===i?[a]:Array.isArray(i)?[...i,a]:[i,a]}function dse(i){return i._rawValidators}function gse(i){return i._rawAsyncValidators}function hj(i){return i?Array.isArray(i)?i:[i]:[]}function uF(i,a){return Array.isArray(i)?i.includes(a):i===a}function pse(i,a){const e=hj(a);return hj(i).forEach(n=>{uF(e,n)||e.push(n)}),e}function mse(i,a){return hj(a).filter(e=>!uF(i,e))}class fse{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(a){this._rawValidators=a||[],this._composedValidatorFn=uj(this._rawValidators)}_setAsyncValidators(a){this._rawAsyncValidators=a||[],this._composedAsyncValidatorFn=cj(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(a){this._onDestroyCallbacks.push(a)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(a=>a()),this._onDestroyCallbacks=[]}reset(a=void 0){this.control&&this.control.reset(a)}hasError(a,e){return!!this.control&&this.control.hasError(a,e)}getError(a,e){return this.control?this.control.getError(a,e):null}}class Lc extends fse{get formDirective(){return null}get path(){return null}}class Iu extends fse{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class _se{constructor(a){this._cd=a}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 rc=(()=>{class i extends _se{constructor(e){super(e)}static#e=this.\u0275fac=function(t){return new(t||i)(A(Iu,2))};static#t=this.\u0275dir=ve({type:i,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(t,n){2&t&&ct("ng-untouched",n.isUntouched)("ng-touched",n.isTouched)("ng-pristine",n.isPristine)("ng-dirty",n.isDirty)("ng-valid",n.isValid)("ng-invalid",n.isInvalid)("ng-pending",n.isPending)},features:[Ae]})}return i})(),q_=(()=>{class i extends _se{constructor(e){super(e)}static#e=this.\u0275fac=function(t){return new(t||i)(A(Lc,10))};static#t=this.\u0275dir=ve({type:i,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(t,n){2&t&&ct("ng-untouched",n.isUntouched)("ng-touched",n.isTouched)("ng-pristine",n.isPristine)("ng-dirty",n.isDirty)("ng-valid",n.isValid)("ng-invalid",n.isInvalid)("ng-pending",n.isPending)("ng-submitted",n.isSubmitted)},features:[Ae]})}return i})();const kI="VALID",hF="INVALID",wv="PENDING",EI="DISABLED";function pj(i){return(dF(i)?i.validators:i)||null}function mj(i,a){return(dF(a)?a.asyncValidators:i)||null}function dF(i){return null!=i&&!Array.isArray(i)&&"object"==typeof i}class Sse{constructor(a,e){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._assignValidators(a),this._assignAsyncValidators(e)}get validator(){return this._composedValidatorFn}set validator(a){this._rawValidators=this._composedValidatorFn=a}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(a){this._rawAsyncValidators=this._composedAsyncValidatorFn=a}get parent(){return this._parent}get valid(){return this.status===kI}get invalid(){return this.status===hF}get pending(){return this.status==wv}get disabled(){return this.status===EI}get enabled(){return this.status!==EI}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(a){this._assignValidators(a)}setAsyncValidators(a){this._assignAsyncValidators(a)}addValidators(a){this.setValidators(pse(a,this._rawValidators))}addAsyncValidators(a){this.setAsyncValidators(pse(a,this._rawAsyncValidators))}removeValidators(a){this.setValidators(mse(a,this._rawValidators))}removeAsyncValidators(a){this.setAsyncValidators(mse(a,this._rawAsyncValidators))}hasValidator(a){return uF(this._rawValidators,a)}hasAsyncValidator(a){return uF(this._rawAsyncValidators,a)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(a={}){this.touched=!0,this._parent&&!a.onlySelf&&this._parent.markAsTouched(a)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(a=>a.markAllAsTouched())}markAsUntouched(a={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(e=>{e.markAsUntouched({onlySelf:!0})}),this._parent&&!a.onlySelf&&this._parent._updateTouched(a)}markAsDirty(a={}){this.pristine=!1,this._parent&&!a.onlySelf&&this._parent.markAsDirty(a)}markAsPristine(a={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(e=>{e.markAsPristine({onlySelf:!0})}),this._parent&&!a.onlySelf&&this._parent._updatePristine(a)}markAsPending(a={}){this.status=wv,!1!==a.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!a.onlySelf&&this._parent.markAsPending(a)}disable(a={}){const e=this._parentMarkedDirty(a.onlySelf);this.status=EI,this.errors=null,this._forEachChild(t=>{t.disable({...a,onlySelf:!0})}),this._updateValue(),!1!==a.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors({...a,skipPristineCheck:e}),this._onDisabledChange.forEach(t=>t(!0))}enable(a={}){const e=this._parentMarkedDirty(a.onlySelf);this.status=kI,this._forEachChild(t=>{t.enable({...a,onlySelf:!0})}),this.updateValueAndValidity({onlySelf:!0,emitEvent:a.emitEvent}),this._updateAncestors({...a,skipPristineCheck:e}),this._onDisabledChange.forEach(t=>t(!1))}_updateAncestors(a){this._parent&&!a.onlySelf&&(this._parent.updateValueAndValidity(a),a.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(a){this._parent=a}getRawValue(){return this.value}updateValueAndValidity(a={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===kI||this.status===wv)&&this._runAsyncValidator(a.emitEvent)),!1!==a.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!a.onlySelf&&this._parent.updateValueAndValidity(a)}_updateTreeValidity(a={emitEvent:!0}){this._forEachChild(e=>e._updateTreeValidity(a)),this.updateValueAndValidity({onlySelf:!0,emitEvent:a.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?EI:kI}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(a){if(this.asyncValidator){this.status=wv,this._hasOwnPendingAsyncValidator=!0;const e=rse(this.asyncValidator(this));this._asyncValidationSubscription=e.subscribe(t=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(t,{emitEvent:a})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(a,e={}){this.errors=a,this._updateControlsErrors(!1!==e.emitEvent)}get(a){let e=a;return null==e||(Array.isArray(e)||(e=e.split(".")),0===e.length)?null:e.reduce((t,n)=>t&&t._find(n),this)}getError(a,e){const t=e?this.get(e):this;return t&&t.errors?t.errors[a]:null}hasError(a,e){return!!this.getError(a,e)}get root(){let a=this;for(;a._parent;)a=a._parent;return a}_updateControlsErrors(a){this.status=this._calculateStatus(),a&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(a)}_initObservables(){this.valueChanges=new Q,this.statusChanges=new Q}_calculateStatus(){return this._allControlsDisabled()?EI:this.errors?hF:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(wv)?wv:this._anyControlsHaveStatus(hF)?hF:kI}_anyControlsHaveStatus(a){return this._anyControls(e=>e.status===a)}_anyControlsDirty(){return this._anyControls(a=>a.dirty)}_anyControlsTouched(){return this._anyControls(a=>a.touched)}_updatePristine(a={}){this.pristine=!this._anyControlsDirty(),this._parent&&!a.onlySelf&&this._parent._updatePristine(a)}_updateTouched(a={}){this.touched=this._anyControlsTouched(),this._parent&&!a.onlySelf&&this._parent._updateTouched(a)}_registerOnCollectionChange(a){this._onCollectionChange=a}_setUpdateStrategy(a){dF(a)&&null!=a.updateOn&&(this._updateOn=a.updateOn)}_parentMarkedDirty(a){return!a&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}_find(a){return null}_assignValidators(a){this._rawValidators=Array.isArray(a)?a.slice():a,this._composedValidatorFn=function DNe(i){return Array.isArray(i)?uj(i):i||null}(this._rawValidators)}_assignAsyncValidators(a){this._rawAsyncValidators=Array.isArray(a)?a.slice():a,this._composedAsyncValidatorFn=function CNe(i){return Array.isArray(i)?cj(i):i||null}(this._rawAsyncValidators)}}class RI extends Sse{constructor(a,e,t){super(pj(e),mj(t,e)),this.controls=a,this._initObservables(),this._setUpdateStrategy(e),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(a,e){return this.controls[a]?this.controls[a]:(this.controls[a]=e,e.setParent(this),e._registerOnCollectionChange(this._onCollectionChange),e)}addControl(a,e,t={}){this.registerControl(a,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}removeControl(a,e={}){this.controls[a]&&this.controls[a]._registerOnCollectionChange(()=>{}),delete this.controls[a],this.updateValueAndValidity({emitEvent:e.emitEvent}),this._onCollectionChange()}setControl(a,e,t={}){this.controls[a]&&this.controls[a]._registerOnCollectionChange(()=>{}),delete this.controls[a],e&&this.registerControl(a,e),this.updateValueAndValidity({emitEvent:t.emitEvent}),this._onCollectionChange()}contains(a){return this.controls.hasOwnProperty(a)&&this.controls[a].enabled}setValue(a,e={}){(function xse(i,a,e){i._forEachChild((t,n)=>{if(void 0===e[n])throw new ft(1002,"")})})(this,0,a),Object.keys(a).forEach(t=>{(function yse(i,a,e){const t=i.controls;if(!(a?Object.keys(t):t).length)throw new ft(1e3,"");if(!t[e])throw new ft(1001,"")})(this,!0,t),this.controls[t].setValue(a[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e)}patchValue(a,e={}){null!=a&&(Object.keys(a).forEach(t=>{const n=this.controls[t];n&&n.patchValue(a[t],{onlySelf:!0,emitEvent:e.emitEvent})}),this.updateValueAndValidity(e))}reset(a={},e={}){this._forEachChild((t,n)=>{t.reset(a?a[n]:null,{onlySelf:!0,emitEvent:e.emitEvent})}),this._updatePristine(e),this._updateTouched(e),this.updateValueAndValidity(e)}getRawValue(){return this._reduceChildren({},(a,e,t)=>(a[t]=e.getRawValue(),a))}_syncPendingControls(){let a=this._reduceChildren(!1,(e,t)=>!!t._syncPendingControls()||e);return a&&this.updateValueAndValidity({onlySelf:!0}),a}_forEachChild(a){Object.keys(this.controls).forEach(e=>{const t=this.controls[e];t&&a(t,e)})}_setUpControls(){this._forEachChild(a=>{a.setParent(this),a._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(a){for(const[e,t]of Object.entries(this.controls))if(this.contains(e)&&a(t))return!0;return!1}_reduceValue(){return this._reduceChildren({},(e,t,n)=>((t.enabled||this.disabled)&&(e[n]=t.value),e))}_reduceChildren(a,e){let t=a;return this._forEachChild((n,r)=>{t=e(t,n,r)}),t}_allControlsDisabled(){for(const a of Object.keys(this.controls))if(this.controls[a].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_find(a){return this.controls.hasOwnProperty(a)?this.controls[a]:null}}const Ux=new Pt("CallSetDisabledState",{providedIn:"root",factory:()=>PI}),PI="always";function FI(i,a,e=PI){fj(i,a),a.valueAccessor.writeValue(i.value),(i.disabled||"always"===e)&&a.valueAccessor.setDisabledState?.(i.disabled),function wNe(i,a){a.valueAccessor.registerOnChange(e=>{i._pendingValue=e,i._pendingChange=!0,i._pendingDirty=!0,"change"===i.updateOn&&Dse(i,a)})}(i,a),function INe(i,a){const e=(t,n)=>{a.valueAccessor.writeValue(t),n&&a.viewToModelUpdate(t)};i.registerOnChange(e),a._registerOnDestroy(()=>{i._unregisterOnChange(e)})}(i,a),function TNe(i,a){a.valueAccessor.registerOnTouched(()=>{i._pendingTouched=!0,"blur"===i.updateOn&&i._pendingChange&&Dse(i,a),"submit"!==i.updateOn&&i.markAsTouched()})}(i,a),function MNe(i,a){if(a.valueAccessor.setDisabledState){const e=t=>{a.valueAccessor.setDisabledState(t)};i.registerOnDisabledChange(e),a._registerOnDestroy(()=>{i._unregisterOnDisabledChange(e)})}}(i,a)}function pF(i,a,e=!0){const t=()=>{};a.valueAccessor&&(a.valueAccessor.registerOnChange(t),a.valueAccessor.registerOnTouched(t)),fF(i,a),i&&(a._invokeOnDestroyCallbacks(),i._registerOnCollectionChange(()=>{}))}function mF(i,a){i.forEach(e=>{e.registerOnValidatorChange&&e.registerOnValidatorChange(a)})}function fj(i,a){const e=dse(i);null!==a.validator?i.setValidators(hse(e,a.validator)):"function"==typeof e&&i.setValidators([e]);const t=gse(i);null!==a.asyncValidator?i.setAsyncValidators(hse(t,a.asyncValidator)):"function"==typeof t&&i.setAsyncValidators([t]);const n=()=>i.updateValueAndValidity();mF(a._rawValidators,n),mF(a._rawAsyncValidators,n)}function fF(i,a){let e=!1;if(null!==i){if(null!==a.validator){const n=dse(i);if(Array.isArray(n)&&n.length>0){const r=n.filter(s=>s!==a.validator);r.length!==n.length&&(e=!0,i.setValidators(r))}}if(null!==a.asyncValidator){const n=gse(i);if(Array.isArray(n)&&n.length>0){const r=n.filter(s=>s!==a.asyncValidator);r.length!==n.length&&(e=!0,i.setAsyncValidators(r))}}}const t=()=>{};return mF(a._rawValidators,t),mF(a._rawAsyncValidators,t),e}function Dse(i,a){i._pendingDirty&&i.markAsDirty(),i.setValue(i._pendingValue,{emitModelToViewChange:!1}),a.viewToModelUpdate(i._pendingValue),i._pendingChange=!1}function Cse(i,a){fj(i,a)}function bj(i,a){if(!i.hasOwnProperty("model"))return!1;const e=i.model;return!!e.isFirstChange()||!Object.is(a,e.currentValue)}function vse(i,a){i._syncPendingControls(),a.forEach(e=>{const t=e.control;"submit"===t.updateOn&&t._pendingChange&&(e.viewToModelUpdate(t._pendingValue),t._pendingChange=!1)})}function yj(i,a){if(!a)return null;let e,t,n;return Array.isArray(a),a.forEach(r=>{r.constructor===Tu?e=r:function ENe(i){return Object.getPrototypeOf(i.constructor)===qx}(r)?t=r:n=r}),n||t||e||null}const PNe={provide:Lc,useExisting:Ce(()=>Tv)},BI=(()=>Promise.resolve())();let Tv=(()=>{class i extends Lc{constructor(e,t,n){super(),this.callSetDisabledState=n,this.submitted=!1,this._directives=new Set,this.ngSubmit=new Q,this.form=new RI({},uj(e),cj(t))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(e){BI.then(()=>{const t=this._findContainer(e.path);e.control=t.registerControl(e.name,e.control),FI(e.control,e,this.callSetDisabledState),e.control.updateValueAndValidity({emitEvent:!1}),this._directives.add(e)})}getControl(e){return this.form.get(e.path)}removeControl(e){BI.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name),this._directives.delete(e)})}addFormGroup(e){BI.then(()=>{const t=this._findContainer(e.path),n=new RI({});Cse(n,e),t.registerControl(e.name,n),n.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(e){BI.then(()=>{const t=this._findContainer(e.path);t&&t.removeControl(e.name)})}getFormGroup(e){return this.form.get(e.path)}updateModel(e,t){BI.then(()=>{this.form.get(e.path).setValue(t)})}setValue(e){this.control.setValue(e)}onSubmit(e){return this.submitted=!0,vse(this.form,this._directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(e){return e.pop(),e.length?this.form.get(e):this.form}static#e=this.\u0275fac=function(t){return new(t||i)(A(zr,10),A(H_,10),A(Ux,8))};static#t=this.\u0275dir=ve({type:i,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(t,n){1&t&&G("submit",function(s){return n.onSubmit(s)})("reset",function(){return n.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ye([PNe]),Ae]})}return i})();function Mse(i,a){const e=i.indexOf(a);e>-1&&i.splice(e,1)}function wse(i){return"object"==typeof i&&null!==i&&2===Object.keys(i).length&&"value"in i&&"disabled"in i}const xj=class extends Sse{constructor(a=null,e,t){super(pj(e),mj(t,e)),this.defaultValue=null,this._onChange=[],this._pendingChange=!1,this._applyFormState(a),this._setUpdateStrategy(e),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator}),dF(e)&&(e.nonNullable||e.initialValueIsDefault)&&(this.defaultValue=wse(a)?a.value:a)}setValue(a,e={}){this.value=this._pendingValue=a,this._onChange.length&&!1!==e.emitModelToViewChange&&this._onChange.forEach(t=>t(this.value,!1!==e.emitViewToModelChange)),this.updateValueAndValidity(e)}patchValue(a,e={}){this.setValue(a,e)}reset(a=this.defaultValue,e={}){this._applyFormState(a),this.markAsPristine(e),this.markAsUntouched(e),this.setValue(this.value,e),this._pendingChange=!1}_updateValue(){}_anyControls(a){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(a){this._onChange.push(a)}_unregisterOnChange(a){Mse(this._onChange,a)}registerOnDisabledChange(a){this._onDisabledChange.push(a)}_unregisterOnDisabledChange(a){Mse(this._onDisabledChange,a)}_forEachChild(a){}_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(a){wse(a)?(this.value=this._pendingValue=a.value,a.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=a}},$Ne={provide:Iu,useExisting:Ce(()=>_h)},Ase=(()=>Promise.resolve())();let _h=(()=>{class i extends Iu{constructor(e,t,n,r,s,o){super(),this._changeDetectorRef=s,this.callSetDisabledState=o,this.control=new xj,this._registered=!1,this.name="",this.update=new Q,this._parent=e,this._setValidators(t),this._setAsyncValidators(n),this.valueAccessor=yj(0,r)}ngOnChanges(e){if(this._checkForErrors(),!this._registered||"name"in e){if(this._registered&&(this._checkName(),this.formDirective)){const t=e.name.previousValue;this.formDirective.removeControl({name:t,path:this._getPath(t)})}this._setUpControl()}"isDisabled"in e&&this._updateDisabled(e),bj(e,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(e){this.viewModel=e,this.update.emit(e)}_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(){FI(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(e){Ase.then(()=>{this.control.setValue(e,{emitViewToModelChange:!1}),this._changeDetectorRef?.markForCheck()})}_updateDisabled(e){const t=e.isDisabled.currentValue,n=0!==t&&we(t);Ase.then(()=>{n&&!this.control.disabled?this.control.disable():!n&&this.control.disabled&&this.control.enable(),this._changeDetectorRef?.markForCheck()})}_getPath(e){return this._parent?function gF(i,a){return[...a.path,i]}(e,this._parent):[e]}static#e=this.\u0275fac=function(t){return new(t||i)(A(Lc,9),A(zr,10),A(H_,10),A(Ds,10),A(ni,8),A(Ux,8))};static#t=this.\u0275dir=ve({type:i,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[Ye([$Ne]),Ae,pr]})}return i})(),_F=(()=>{class i{static#e=this.\u0275fac=function(t){return new(t||i)};static#t=this.\u0275dir=ve({type:i,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]})}return i})();const LNe={provide:Ds,useExisting:Ce(()=>Xx),multi:!0};let Xx=(()=>{class i extends qx{writeValue(e){this.setProperty("value",e??"")}registerOnChange(e){this.onChange=t=>{e(""==t?null:parseFloat(t))}}static#e=this.\u0275fac=(()=>{let e;return function(n){return(e||(e=pi(i)))(n||i)}})();static#t=this.\u0275dir=ve({type:i,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(t,n){1&t&&G("input",function(s){return n.onChange(s.target.value)})("blur",function(){return n.onTouched()})},features:[Ye([LNe]),Ae]})}return i})(),kse=(()=>{class i{static#e=this.\u0275fac=function(t){return new(t||i)};static#t=this.\u0275mod=je({type:i});static#i=this.\u0275inj=Ve({})}return i})();const Sj=new Pt("NgModelWithFormControlWarning"),WNe={provide:Iu,useExisting:Ce(()=>Iv)};let Iv=(()=>{class i extends Iu{set isDisabled(e){}static#e=this._ngModelWarningSentOnce=!1;constructor(e,t,n,r,s){super(),this._ngModelWarningConfig=r,this.callSetDisabledState=s,this.update=new Q,this._ngModelWarningSent=!1,this._setValidators(e),this._setAsyncValidators(t),this.valueAccessor=yj(0,n)}ngOnChanges(e){if(this._isControlChanged(e)){const t=e.form.previousValue;t&&pF(t,this,!1),FI(this.form,this,this.callSetDisabledState),this.form.updateValueAndValidity({emitEvent:!1})}bj(e,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&pF(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(e){this.viewModel=e,this.update.emit(e)}_isControlChanged(e){return e.hasOwnProperty("form")}static#t=this.\u0275fac=function(t){return new(t||i)(A(zr,10),A(H_,10),A(Ds,10),A(Sj,8),A(Ux,8))};static#i=this.\u0275dir=ve({type:i,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[Ye([WNe]),Ae,pr]})}return i})();const jNe={provide:Lc,useExisting:Ce(()=>Yx)};let Yx=(()=>{class i extends Lc{constructor(e,t,n){super(),this.callSetDisabledState=n,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new Q,this._setValidators(e),this._setAsyncValidators(t)}ngOnChanges(e){this._checkFormPresent(),e.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(fF(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(e){const t=this.form.get(e.path);return FI(t,e,this.callSetDisabledState),t.updateValueAndValidity({emitEvent:!1}),this.directives.push(e),t}getControl(e){return this.form.get(e.path)}removeControl(e){pF(e.control||null,e,!1),function RNe(i,a){const e=i.indexOf(a);e>-1&&i.splice(e,1)}(this.directives,e)}addFormGroup(e){this._setUpFormContainer(e)}removeFormGroup(e){this._cleanUpFormContainer(e)}getFormGroup(e){return this.form.get(e.path)}addFormArray(e){this._setUpFormContainer(e)}removeFormArray(e){this._cleanUpFormContainer(e)}getFormArray(e){return this.form.get(e.path)}updateModel(e,t){this.form.get(e.path).setValue(t)}onSubmit(e){return this.submitted=!0,vse(this.form,this.directives),this.ngSubmit.emit(e),"dialog"===e?.target?.method}onReset(){this.resetForm()}resetForm(e=void 0){this.form.reset(e),this.submitted=!1}_updateDomValue(){this.directives.forEach(e=>{const t=e.control,n=this.form.get(e.path);t!==n&&(pF(t||null,e),(i=>i instanceof xj)(n)&&(FI(n,e,this.callSetDisabledState),e.control=n))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(e){const t=this.form.get(e.path);Cse(t,e),t.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(e){if(this.form){const t=this.form.get(e.path);t&&function ANe(i,a){return fF(i,a)}(t,e)&&t.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){fj(this.form,this),this._oldForm&&fF(this._oldForm,this)}_checkFormPresent(){}static#e=this.\u0275fac=function(t){return new(t||i)(A(zr,10),A(H_,10),A(Ux,8))};static#t=this.\u0275dir=ve({type:i,selectors:[["","formGroup",""]],hostBindings:function(t,n){1&t&&G("submit",function(s){return n.onSubmit(s)})("reset",function(){return n.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[Ye([jNe]),Ae,pr]})}return i})();let Kx=(()=>{class i{constructor(){this._validator=lF}ngOnChanges(e){if(this.inputName in e){const t=this.normalizeInput(e[this.inputName].currentValue);this._enabled=this.enabled(t),this._validator=this._enabled?this.createValidator(t):lF,this._onChange&&this._onChange()}}validate(e){return this._validator(e)}registerOnValidatorChange(e){this._onChange=e}enabled(e){return null!=e}static#e=this.\u0275fac=function(t){return new(t||i)};static#t=this.\u0275dir=ve({type:i,features:[pr]})}return i})();const eOe={provide:zr,useExisting:Ce(()=>Av),multi:!0};let Av=(()=>{class i extends Kx{constructor(){super(...arguments),this.inputName="required",this.normalizeInput=we,this.createValidator=e=>Qre}enabled(e){return e}static#e=this.\u0275fac=(()=>{let e;return function(n){return(e||(e=pi(i)))(n||i)}})();static#t=this.\u0275dir=ve({type:i,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(t,n){2&t&&ke("required",n._enabled?"":null)},inputs:{required:"required"},features:[Ye([eOe]),Ae]})}return i})();let Ose=(()=>{class i{static#e=this.\u0275fac=function(t){return new(t||i)};static#t=this.\u0275mod=je({type:i});static#i=this.\u0275inj=Ve({imports:[kse]})}return i})(),bh=(()=>{class i{static withConfig(e){return{ngModule:i,providers:[{provide:Ux,useValue:e.callSetDisabledState??PI}]}}static#e=this.\u0275fac=function(t){return new(t||i)};static#t=this.\u0275mod=je({type:i});static#i=this.\u0275inj=Ve({imports:[Ose]})}return i})(),bF=(()=>{class i{static withConfig(e){return{ngModule:i,providers:[{provide:Sj,useValue:e.warnOnNgModelWithFormControl??"always"},{provide:Ux,useValue:e.callSetDisabledState??PI}]}}static#e=this.\u0275fac=function(t){return new(t||i)};static#t=this.\u0275mod=je({type:i});static#i=this.\u0275inj=Ve({imports:[Ose]})}return i})();const oOe=["addListener","removeListener"],lOe=["addEventListener","removeEventListener"],uOe=["on","off"];function Aa(i,a,e,t){if(Li(e)&&(t=e,e=void 0),t)return Aa(i,a,e).pipe(n6(t));const[n,r]=function dOe(i){return Li(i.addEventListener)&&Li(i.removeEventListener)}(i)?lOe.map(s=>o=>i[s](a,o,e)):function cOe(i){return Li(i.addListener)&&Li(i.removeListener)}(i)?oOe.map(Wse(i,a)):function hOe(i){return Li(i.on)&&Li(i.off)}(i)?uOe.map(Wse(i,a)):[];if(!n&&Ya(i))return Uo(s=>Aa(s,a,e))(Pi(i));if(!n)throw new TypeError("Invalid event target");return new ha(s=>{const o=(...l)=>s.next(1r(o)})}function Wse(i,a){return e=>t=>i[e](a,t)}class gOe extends or{constructor(a,e){super()}schedule(a,e=0){return this}}const yF={setInterval(i,a,...e){const{delegate:t}=yF;return t?.setInterval?t.setInterval(i,a,...e):setInterval(i,a,...e)},clearInterval(i){const{delegate:a}=yF;return(a?.clearInterval||clearInterval)(i)},delegate:void 0};class Rj extends gOe{constructor(a,e){super(a,e),this.scheduler=a,this.work=e,this.pending=!1}schedule(a,e=0){var t;if(this.closed)return this;this.state=a;const n=this.id,r=this.scheduler;return null!=n&&(this.id=this.recycleAsyncId(r,n,e)),this.pending=!0,this.delay=e,this.id=null!==(t=this.id)&&void 0!==t?t:this.requestAsyncId(r,this.id,e),this}requestAsyncId(a,e,t=0){return yF.setInterval(a.flush.bind(a,this),t)}recycleAsyncId(a,e,t=0){if(null!=t&&this.delay===t&&!1===this.pending)return e;null!=e&&yF.clearInterval(e)}execute(a,e){if(this.closed)return new Error("executing a cancelled action");this.pending=!1;const t=this._execute(a,e);if(t)return t;!1===this.pending&&null!=this.id&&(this.id=this.recycleAsyncId(this.scheduler,this.id,null))}_execute(a,e){let n,t=!1;try{this.work(a)}catch(r){t=!0,n=r||new Error("Scheduled action threw falsy error")}if(t)return this.unsubscribe(),n}unsubscribe(){if(!this.closed){const{id:a,scheduler:e}=this,{actions:t}=e;this.work=this.state=this.scheduler=null,this.pending=!1,Qr(t,this),null!=a&&(this.id=this.recycleAsyncId(e,a,null)),this.delay=null,super.unsubscribe()}}}const Pj={now:()=>(Pj.delegate||Date).now(),delegate:void 0};class $I{constructor(a,e=$I.now){this.schedulerActionCtor=a,this.now=e}schedule(a,e=0,t){return new this.schedulerActionCtor(this,a).schedule(t,e)}}$I.now=Pj.now;class Fj extends $I{constructor(a,e=$I.now){super(a,e),this.actions=[],this._active=!1}flush(a){const{actions:e}=this;if(this._active)return void e.push(a);let t;this._active=!0;do{if(t=a.execute(a.state,a.delay))break}while(a=e.shift());if(this._active=!1,t){for(;a=e.shift();)a.unsubscribe();throw t}}}const Zx=new Fj(Rj),pOe=Zx;function xF(i=0,a,e=pOe){let t=-1;return null!=a&&(r2(a)?e=a:t=a),new ha(n=>{let r=function mOe(i){return i instanceof Date&&!isNaN(i)}(i)?+i-e.now():i;r<0&&(r=0);let s=0;return e.schedule(function(){n.closed||(n.next(s++),0<=t?this.schedule(void 0,t):n.complete())},r)})}function jg(i=0,a=Zx){return i<0&&(i=0),xF(i,i,a)}const LI={schedule(i){let a=requestAnimationFrame,e=cancelAnimationFrame;const{delegate:t}=LI;t&&(a=t.requestAnimationFrame,e=t.cancelAnimationFrame);const n=a(r=>{e=void 0,i(r)});return new or(()=>e?.(n))},requestAnimationFrame(...i){const{delegate:a}=LI;return(a?.requestAnimationFrame||requestAnimationFrame)(...i)},cancelAnimationFrame(...i){const{delegate:a}=LI;return(a?.cancelAnimationFrame||cancelAnimationFrame)(...i)},delegate:void 0},U_=new class _Oe extends Fj{flush(a){this._active=!0;const e=this._scheduled;this._scheduled=void 0;const{actions:t}=this;let n;a=a||t.shift();do{if(n=a.execute(a.state,a.delay))break}while((a=t[0])&&a.id===e&&t.shift());if(this._active=!1,n){for(;(a=t[0])&&a.id===e&&t.shift();)a.unsubscribe();throw n}}}(class fOe extends Rj{constructor(a,e){super(a,e),this.scheduler=a,this.work=e}requestAsyncId(a,e,t=0){return null!==t&&t>0?super.requestAsyncId(a,e,t):(a.actions.push(this),a._scheduled||(a._scheduled=LI.requestAnimationFrame(()=>a.flush(void 0))))}recycleAsyncId(a,e,t=0){var n;if(null!=t?t>0:this.delay>0)return super.recycleAsyncId(a,e,t);const{actions:r}=a;null!=e&&(null===(n=r[r.length-1])||void 0===n?void 0:n.id)!==e&&(LI.cancelAnimationFrame(e),a._scheduled=void 0)}});function VI(i,a){return Be((e,t)=>{const{leading:n=!0,trailing:r=!1}=a??{};let s=!1,o=null,l=null,u=!1;const c=()=>{l?.unsubscribe(),l=null,r&&(g(),u&&t.complete())},h=()=>{l=null,u&&t.complete()},d=p=>l=Pi(i(p)).subscribe(nt(t,c,h)),g=()=>{if(s){s=!1;const p=o;o=null,t.next(p),!u&&d(p)}};e.subscribe(nt(t,p=>{s=!0,o=p,(!l||l.closed)&&(n?g():d(p))},()=>{u=!0,(!(r&&s&&l)||l.closed)&&t.complete()}))})}function NI(i,a=Zx,e){const t=xF(i,a);return VI(()=>t,e)}function SF(i){return Be((a,e)=>{let t=!1,n=null,r=null;const s=()=>{if(r?.unsubscribe(),r=null,t){t=!1;const o=n;n=null,e.next(o)}};a.subscribe(nt(e,o=>{r?.unsubscribe(),t=!0,n=o,r=nt(e,s,mn),Pi(i(o)).subscribe(r)},()=>{s(),e.complete()},void 0,()=>{n=r=null}))})}function Bj(i,a=Zx){return Be((e,t)=>{let n=null,r=null,s=null;const o=()=>{if(n){n.unsubscribe(),n=null;const u=r;r=null,t.next(u)}};function l(){const u=s+i,c=a.now();if(c{r=u,s=a.now(),n||(n=a.schedule(l,i),t.add(n))},()=>{o(),t.complete()},void 0,()=>{r=n=null}))})}class yOe extends Z{constructor(a=1/0,e=1/0,t=Pj){super(),this._bufferSize=a,this._windowTime=e,this._timestampProvider=t,this._buffer=[],this._infiniteTimeWindow=!0,this._infiniteTimeWindow=e===1/0,this._bufferSize=Math.max(1,a),this._windowTime=Math.max(1,e)}next(a){const{isStopped:e,_buffer:t,_infiniteTimeWindow:n,_timestampProvider:r,_windowTime:s}=this;e||(t.push(a),!n&&t.push(r.now()+s)),this._trimBuffer(),super.next(a)}_subscribe(a){this._throwIfClosed(),this._trimBuffer();const e=this._innerSubscribe(a),{_infiniteTimeWindow:t,_buffer:n}=this,r=n.slice();for(let s=0;snew yOe(t,a,e),resetOnError:!0,resetOnComplete:!1,resetOnRefCountZero:n})}function DF(i,a=!1){return Be((e,t)=>{let n=0;e.subscribe(nt(t,r=>{const s=i(r,n++);(s||a)&&t.next(r),!s&&t.complete()}))})}const CF=function COe(i,a){return i===a||i!=i&&a!=a},vF=function vOe(i,a){for(var e=i.length;e--;)if(CF(i[e][0],a))return e;return-1};var wOe=Array.prototype.splice;function kv(i){var a=-1,e=null==i?0:i.length;for(this.clear();++a-1},kv.prototype.set=function POe(i,a){var e=this.__data__,t=vF(e,i);return t<0?(++this.size,e.push([i,a])):e[t][1]=a,this};const MF=kv,jse="object"==typeof global&&global&&global.Object===Object&&global;var zOe="object"==typeof self&&self&&self.Object===Object&&self;const Ev=jse||zOe||Function("return this")();var qOe=Ev.Symbol,Gse=Object.prototype,UOe=Gse.hasOwnProperty,XOe=Gse.toString,OI=qOe?qOe.toStringTag:void 0;var QOe=Object.prototype.toString;var zse=qOe?qOe.toStringTag:void 0;const TF=function n3e(i){return null==i?void 0===i?"[object Undefined]":"[object Null]":zse&&zse in Object(i)?function YOe(i){var a=UOe.call(i,OI),e=i[OI];try{i[OI]=void 0;var t=!0}catch{}var n=XOe.call(i);return t&&(a?i[OI]=e:delete i[OI]),n}(i):function JOe(i){return QOe.call(i)}(i)},Qx=function a3e(i){var a=typeof i;return null!=i&&("object"==a||"function"==a)},Lj=function u3e(i){if(!Qx(i))return!1;var a=TF(i);return"[object Function]"==a||"[object GeneratorFunction]"==a||"[object AsyncFunction]"==a||"[object Proxy]"==a};var i,c3e=Ev["__core-js_shared__"],Hse=(i=/[^.]+$/.exec(c3e&&c3e.keys&&c3e.keys.IE_PROTO||""))?"Symbol(src)_1."+i:"";var p3e=Function.prototype.toString;var b3e=/^\[object .+?Constructor\]$/,C3e=RegExp("^"+Function.prototype.toString.call(Object.prototype.hasOwnProperty).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");const M3e=function v3e(i){return!(!Qx(i)||function h3e(i){return!!Hse&&Hse in i}(i))&&(Lj(i)?C3e:b3e).test(function m3e(i){if(null!=i){try{return p3e.call(i)}catch{}try{return i+""}catch{}}return""}(i))},Nj=function I3e(i,a){var e=function w3e(i,a){return i?.[a]}(i,a);return M3e(e)?e:void 0},qse=Nj(Ev,"Map"),WI=Nj(Object,"create");var L3e=Object.prototype.hasOwnProperty;var W3e=Object.prototype.hasOwnProperty;function Rv(i){var a=-1,e=null==i?0:i.length;for(this.clear();++a-1&&i%1==0&&i<=9007199254740991},zj=function zWe(i){return null!=i&&aoe(i.length)&&!Lj(i)};var roe="object"==typeof exports&&exports&&!exports.nodeType&&exports,soe=roe&&"object"==typeof module&&module&&!module.nodeType&&module,ooe=soe&&soe.exports===roe?Ev.Buffer:void 0;const loe=(ooe?ooe.isBuffer:void 0)||function UWe(){return!1};var uoe=Function.prototype.toString,t4e=Object.prototype.hasOwnProperty,i4e=uoe.call(Object);var Cs={};Cs["[object Float32Array]"]=Cs["[object Float64Array]"]=Cs["[object Int8Array]"]=Cs["[object Int16Array]"]=Cs["[object Int32Array]"]=Cs["[object Uint8Array]"]=Cs["[object Uint8ClampedArray]"]=Cs["[object Uint16Array]"]=Cs["[object Uint32Array]"]=!0,Cs["[object Arguments]"]=Cs["[object Array]"]=Cs["[object ArrayBuffer]"]=Cs["[object Boolean]"]=Cs["[object DataView]"]=Cs["[object Date]"]=Cs["[object Error]"]=Cs["[object Function]"]=Cs["[object Map]"]=Cs["[object Number]"]=Cs["[object Object]"]=Cs["[object RegExp]"]=Cs["[object Set]"]=Cs["[object String]"]=Cs["[object WeakMap]"]=!1;var coe="object"==typeof exports&&exports&&!exports.nodeType&&exports,GI=coe&&"object"==typeof module&&module&&!module.nodeType&&module,Hj=GI&&GI.exports===coe&&jse.process,F4e=function(){try{return GI&&GI.require&&GI.require("util").types||Hj&&Hj.binding&&Hj.binding("util")}catch{}}(),doe=F4e&&F4e.isTypedArray;const goe=doe?function E4e(i){return function(a){return i(a)}}(doe):function A4e(i){return jI(i)&&aoe(i.length)&&!!Cs[TF(i)]},qj=function $4e(i,a){if(("constructor"!==a||"function"!=typeof i[a])&&"__proto__"!=a)return i[a]};var V4e=Object.prototype.hasOwnProperty;const O4e=function N4e(i,a,e){var t=i[a];(!V4e.call(i,a)||!CF(t,e)||void 0===e&&!(a in i))&&Oj(i,a,e)};var q4e=/^(?:0|[1-9]\d*)$/;const poe=function U4e(i,a){var e=typeof i;return!!(a=a??9007199254740991)&&("number"==e||"symbol"!=e&&q4e.test(i))&&i>-1&&i%1==0&&i0){if(++a>=800)return arguments[0]}else a=0;return i.apply(void 0,arguments)}}(_5e);const v5e=C5e,w5e=function M5e(i,a){return v5e(function g5e(i,a,e){return a=boe(void 0===a?i.length-1:a,0),function(){for(var t=arguments,n=-1,r=boe(t.length-a,0),s=Array(r);++n1?e[n-1]:void 0,s=n>2?e[2]:void 0;for(r=i.length>3&&"function"==typeof r?(n--,r):void 0,s&&function T5e(i,a,e){if(!Qx(e))return!1;var t=typeof a;return!!("number"==t?zj(e)&&poe(a,e.length):"string"==t&&a in e)&&CF(e[a],i)}(e[0],e[1],s)&&(r=n<3?void 0:r,n=1),a=Object(a);++t>>1|(21845&vs)<<1;HI[vs]=((65280&(X_=(61680&(X_=(52428&X_)>>>2|(13107&X_)<<2))>>>4|(3855&X_)<<4))>>>8|(255&X_)<<8)>>>1}var Xp=function(i,a,e){for(var t=i.length,n=0,r=new sc(a);n>>l]=u}else for(o=new sc(t),n=0;n>>15-i[n]);return o},Y_=new Hr(288);for(vs=0;vs<144;++vs)Y_[vs]=8;for(vs=144;vs<256;++vs)Y_[vs]=9;for(vs=256;vs<280;++vs)Y_[vs]=7;for(vs=280;vs<288;++vs)Y_[vs]=8;var qI=new Hr(32);for(vs=0;vs<32;++vs)qI[vs]=5;var voe=Xp(Y_,9,0),woe=Xp(qI,5,0),UI=function(i){return(i+7)/8|0},K_=function(i,a,e){(null==a||a<0)&&(a=0),(null==e||e>i.length)&&(e=i.length);var t=new(2==i.BYTES_PER_ELEMENT?sc:4==i.BYTES_PER_ELEMENT?Bv:Hr)(e-a);return t.set(i.subarray(a,e)),t},Ioe=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],hr=function(i,a,e){var t=new Error(a||Ioe[i]);if(t.code=i,Error.captureStackTrace&&Error.captureStackTrace(t,hr),!e)throw t;return t},Yp=function(i,a,e){var t=a/8|0;i[t]|=e<<=7&a,i[t+1]|=e>>>8},Vv=function(i,a,e){var t=a/8|0;i[t]|=e<<=7&a,i[t+1]|=e>>>8,i[t+2]|=e>>>16},BF=function(i,a){for(var e=[],t=0;td&&(d=r[t].s);var g=new sc(d+1),p=$F(e[c-1],g,0);if(p>a){t=0;var m=0,_=p-a,y=1<<_;for(r.sort(function(F,O){return g[O.s]-g[F.s]||F.f-O.f});ta))break;m+=y-(1<>>=_;m>0;){var w=r[t].s;g[w]=0&&m;--t){var T=r[t].s;g[T]==a&&(--g[T],++m)}p=a}return[new Hr(g),p]},$F=function(i,a,e){return-1==i.s?Math.max($F(i.l,a,e+1),$F(i.r,a,e+1)):a[i.s]=e},Yj=function(i){for(var a=i.length;a&&!i[--a];);for(var e=new sc(++a),t=0,n=i[0],r=1,s=function(l){e[t++]=l},o=1;o<=a;++o)if(i[o]==n&&o!=a)++r;else{if(!n&&r>2){for(;r>138;r-=138)s(32754);r>2&&(s(r>10?r-11<<5|28690:r-3<<5|12305),r=0)}else if(r>3){for(s(n),--r;r>6;r-=6)s(8304);r>2&&(s(r-3<<5|8208),r=0)}for(;r--;)s(n);r=1,n=i[o]}return[e.subarray(0,t),a]},Nv=function(i,a){for(var e=0,t=0;t>>8,i[n+2]=255^i[n],i[n+3]=255^i[n+1];for(var r=0;r4&&!ue[zI[Le-1]];--Le);var Fe,He,st,ti,it=u+5<<3,Tt=Nv(n,Y_)+Nv(r,qI)+s,Ke=Nv(n,d)+Nv(r,m)+s+14+3*Le+Nv(O,ue)+(2*O[16]+3*O[17]+7*O[18]);if(it<=Tt&&it<=Ke)return LF(a,c,i.subarray(l,l+u));if(Yp(a,c,1+(Ke15&&(Yp(a,c,Un[X]>>>5&127),c+=Un[X]>>>12)}}else Fe=voe,He=Y_,st=woe,ti=qI;for(X=0;X255){var Ui;Vv(a,c,Fe[257+(Ui=t[X]>>>18&31)]),c+=He[Ui+257],Ui>7&&(Yp(a,c,t[X]>>>23&31),c+=$v[Ui]);var Xi=31&t[X];Vv(a,c,st[Xi]),c+=ti[Xi],Xi>3&&(Vv(a,c,t[X]>>>5&8191),c+=Lv[Xi])}else Vv(a,c,Fe[t[X]]),c+=He[t[X]];return Vv(a,c,Fe[256]),c+He[256]},Aoe=new Bv([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),VF=new Hr(0),koe=function(i,a,e,t,n,r){var s=i.length,o=new Hr(t+s+5*(1+Math.ceil(s/7e3))+n),l=o.subarray(t,o.length-n),u=0;if(!a||s<8)for(var c=0;c<=s;c+=65535){var h=c+65535;h>=s&&(l[u>>3]=r),u=LF(l,u+1,i.subarray(c,h))}else{for(var d=Aoe[a-1],g=d>>>13,p=8191&d,m=(1<7e3||ue>24576)&&Fe>423){u=Kj(i,l,0,P,F,O,te,ue,Le,c-Le,u),ue=X=te=0,Le=c;for(var He=0;He<286;++He)F[He]=0;for(He=0;He<30;++He)O[He]=0}var st=2,ti=0,It=p,Mi=Tt-Ke&32767;if(Fe>2&&it==T(c-Mi))for(var qi=Math.min(g,Fe)-1,Un=Math.min(32767,c),Ui=Math.min(258,Fe);Mi<=Un&&--It&&Tt!=Ke;){if(i[c+st]==i[c+st-Mi]){for(var Xi=0;Xist){if(st=Xi,ti=Mi,Xi>qi)break;var Wl=Math.min(Mi,Xi-2),Xa=0;for(He=0;HeXa&&(Xa=vo,Ke=ci)}}}Mi+=(Tt=Ke)-(Ke=_[Tt])+32768&32767}if(ti){P[ue++]=268435456|EF[st]<<18|Xj[ti];var Qu=31&EF[st],Om=31&Xj[ti];te+=$v[Qu]+Lv[Om],++F[257+Qu],++O[Om],De=c+st,++X}else P[ue++]=i[c],++F[i[c]]}}u=Kj(i,l,r,P,F,O,te,ue,Le,c-Le,u),!r&&7&u&&(u=LF(l,u+1,VF))}return K_(o,0,t+UI(u)+n)},Eoe=function(){for(var i=new Int32Array(256),a=0;a<256;++a){for(var e=a,t=9;--t;)e=(1&e&&-306674912)^e>>>1;i[a]=e}return i}(),OF=function(i,a,e,t,n){return koe(i,null==a.level?6:a.level,null==a.mem?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(i.length)))):12+a.mem,e,t,!n)},WF=function(i,a){var e={};for(var t in i)e[t]=i[t];for(var t in a)e[t]=a[t];return e},Poe=function(i,a,e){for(var t=i(),n=i.toString(),r=n.slice(n.indexOf("[")+1,n.lastIndexOf("]")).replace(/\s+/g,"").split(","),s=0;s>>=8};function GF(i,a){return OF(i,a||{},0,0)}var nG=function(i,a,e,t){for(var n in i){var r=i[n],s=a+n,o=t;Array.isArray(r)&&(o=WF(t,r[1]),r=r[0]),r instanceof Hr?e[s]=[r,o]:(e[s+="/"]=[new Hr(0),o],nG(r,s,e,t))}},zoe=typeof TextEncoder<"u"&&new TextEncoder,aG=typeof TextDecoder<"u"&&new TextDecoder;try{aG.decode(VF,{stream:!0})}catch{}function oc(i,a){if(a){for(var e=new Hr(i.length),t=0;t>1)),s=0,o=function(c){r[s++]=c};for(t=0;tr.length){var l=new Hr(s+8+(n-t<<1));l.set(r),r=l}var u=i.charCodeAt(t);u<128||a?o(u):u<2048?(o(192|u>>6),o(128|63&u)):u>55295&&u<57344?(o(240|(u=65536+(1047552&u)|1023&i.charCodeAt(++t))>>18),o(128|u>>12&63),o(128|u>>6&63),o(128|63&u)):(o(224|u>>12),o(128|u>>6&63),o(128|63&u))}return K_(r,0,s)}var YI=function(i){var a=0;if(i)for(var e in i){var t=i[e].length;t>65535&&hr(9),a+=t+4}return a},zF=function(i,a,e,t,n,r,s,o){var l=t.length,u=e.extra,c=o&&o.length,h=YI(u);Js(i,a,null!=s?33639248:67324752),a+=4,null!=s&&(i[a++]=20,i[a++]=e.os),i[a]=20,a+=2,i[a++]=e.flag<<1|(r<0&&8),i[a++]=n&&8,i[a++]=255&e.compression,i[a++]=e.compression>>8;var d=new Date(null==e.mtime?Date.now():e.mtime),g=d.getFullYear()-1980;if((g<0||g>119)&&hr(10),Js(i,a,g<<25|d.getMonth()+1<<21|d.getDate()<<16|d.getHours()<<11|d.getMinutes()<<5|d.getSeconds()>>>1),a+=4,-1!=r&&(Js(i,a,e.crc),Js(i,a+4,r<0?-r-2:r),Js(i,a+8,e.size)),Js(i,a+12,l),Js(i,a+14,h),a+=16,null!=s&&(Js(i,a,c),Js(i,a+6,e.attrs),Js(i,a+10,s),a+=14),i.set(t,a),a+=l,h)for(var p in u){var m=u[p],_=m.length;Js(i,a,+p),Js(i,a+2,_),i.set(m,a+4),a+=4+_}return c&&(i.set(o,a),a+=c),a};function z5e(i,a,e){e||(e=a,a={}),"function"!=typeof e&&hr(7);var t={};nG(i,"",t,a);var n=Object.keys(t),r=n.length,s=0,o=0,l=r,u=new Array(r),c=[],h=function(){for(var _=0;_>>8;i=e},d:function(){return~i}}}(),F=w.length;P.p(w);var O=oc(y),X=O.length,te=T.comment,ue=te&&oc(te),De=ue&&ue.length,Le=YI(T.extra),it=0==T.level?0:8,Tt=function(Ke,Fe){if(Ke)h(),d(Ke,null);else{var He=Fe.length;u[_]=WF(T,{size:F,crc:P.d(),c:Fe,f:O,m:ue,u:X!=y.length||ue&&te.length!=De,compression:it}),s+=30+X+Le+He,o+=76+2*(X+Le)+(De||0)+He,--r||g()}};if(X>65535&&Tt(hr(11,0,1),null),it)if(F<16e4)try{Tt(null,GF(w,T))}catch(Ke){Tt(Ke,null)}else c.push(function L5e(i,a,e){return e||(e=a,a={}),"function"!=typeof e&&hr(7),Ov(i,a,[Qj],function(t){return Z_(GF(t.data[0],t.data[1]))},0,e)}(w,T,Tt));else Tt(null,w)},m=0;m{class i{static#e=this.\u0275fac=function(t){return new(t||i)};static#t=this.\u0275prov=Mt({token:i,factory:()=>Ut(U5e),providedIn:"root"})}return i})();class q5e{}let U5e=(()=>{class i extends sG{constructor(e,t){if(super(),this.animationModuleType=Ut(XW,{optional:!0}),this._nextAnimationId=0,this._renderer=e.createRenderer(t.body,{id:"0",encapsulation:tc.None,styles:[],data:{animation:[]}}),null===this.animationModuleType&&!function Z5e(i){const a=i.\u0275type;return 0===a||1===a}(this._renderer))throw new ft(3600,!1)}build(e){const t=this._nextAnimationId;this._nextAnimationId++;const n=Array.isArray(e)?Yoe(e):e;return Zoe(this._renderer,null,t,"register",[n]),new X5e(t,this._renderer)}static#e=this.\u0275fac=function(t){return new(t||i)(Ue(GR),Ue(xa))};static#t=this.\u0275prov=Mt({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();class X5e extends q5e{constructor(a,e){super(),this._id=a,this._renderer=e}create(a,e){return new Y5e(this._id,a,e||{},this._renderer)}}class Y5e{constructor(a,e,t,n){this.id=a,this.element=e,this._renderer=n,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",t)}_listen(a,e){return this._renderer.listen(this.element,`@@${this.id}:${a}`,e)}_command(a,...e){Zoe(this._renderer,this.element,this.id,a,e)}onDone(a){this._listen("done",a)}onStart(a){this._listen("start",a)}onDestroy(a){this._listen("destroy",a)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(a){this._command("setPosition",a)}getPosition(){return function K5e(i){const a=i.\u0275type;return 0===a?i:1===a?i.animationRenderer:null}(this._renderer)?.engine?.players[this.id]?.getPosition()??0}}function Zoe(i,a,e,t,n){i.setProperty(a,`@@${e}:${t}`,n)}class ZI{constructor(a=0,e=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=a+e}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}onStart(a){this._originalOnStartFns.push(a),this._onStartFns.push(a)}onDone(a){this._originalOnDoneFns.push(a),this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){queueMicrotask(()=>this._onFinish())}_onStart(){this._onStartFns.forEach(a=>a()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach(a=>a()),this._onDestroyFns=[])}reset(){this._started=!1,this._finished=!1,this._onStartFns=this._originalOnStartFns,this._onDoneFns=this._originalOnDoneFns}setPosition(a){this._position=this.totalTime?a*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback(a){const e="start"==a?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}class Qoe{constructor(a){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=a;let e=0,t=0,n=0;const r=this.players.length;0==r?queueMicrotask(()=>this._onFinish()):this.players.forEach(s=>{s.onDone(()=>{++e==r&&this._onFinish()}),s.onDestroy(()=>{++t==r&&this._onDestroy()}),s.onStart(()=>{++n==r&&this._onStart()})}),this.totalTime=this.players.reduce((s,o)=>Math.max(s,o.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(a=>a()),this._onDoneFns=[])}init(){this.players.forEach(a=>a.init())}onStart(a){this._onStartFns.push(a)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach(a=>a()),this._onStartFns=[])}onDone(a){this._onDoneFns.push(a)}onDestroy(a){this._onDestroyFns.push(a)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach(a=>a.play())}pause(){this.players.forEach(a=>a.pause())}restart(){this.players.forEach(a=>a.restart())}finish(){this._onFinish(),this.players.forEach(a=>a.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach(a=>a.destroy()),this._onDestroyFns.forEach(a=>a()),this._onDestroyFns=[])}reset(){this.players.forEach(a=>a.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition(a){const e=a*this.totalTime;this.players.forEach(t=>{const n=t.totalTime?Math.min(1,e/t.totalTime):1;t.setPosition(n)})}getPosition(){const a=this.players.reduce((e,t)=>null===e||t.totalTime>e.totalTime?t:e,null);return null!=a?a.getPosition():0}beforeDestroy(){this.players.forEach(a=>{a.beforeDestroy&&a.beforeDestroy()})}triggerCallback(a){const e="start"==a?this._onStartFns:this._onDoneFns;e.forEach(t=>t()),e.length=0}}const Joe=[Yi({opacity:"{{startOpacity}}"}),Po("{{duration}} {{delay}} {{easing}}",Yi({opacity:"{{endOpacity}}"}))],Vc=At(Joe,{params:{delay:"0s",duration:"350ms",easing:"cubic-bezier(0.390, 0.575, 0.565, 1.000)",endOpacity:1,startOpacity:0}}),zg=At(Joe,{params:{delay:"0s",duration:"350ms",easing:"cubic-bezier(0.390, 0.575, 0.565, 1.000)",endOpacity:0,startOpacity:1}}),J_=[Yi({backfaceVisibility:"hidden",transformStyle:"preserve-3d"}),Po("{{duration}} {{delay}} {{easing}}",KI([Yi({offset:0,transform:"translateZ({{startDistance}})\n rotate3d({{rotateX}}, {{rotateY}}, {{rotateZ}}, {{startAngle}}deg)"}),Yi({offset:1,transform:"translateZ({{endDistance}})\n rotate3d({{rotateX}}, {{rotateY}}, {{rotateZ}}, {{endAngle}}deg)"})]))],lG=At(J_,{params:{delay:"0s",duration:"600ms",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",endAngle:180,endDistance:"0px",rotateX:1,rotateY:0,rotateZ:0,startAngle:0,startDistance:"0px"}}),uG=At(J_,{params:{delay:"0s",duration:"600ms",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",endDistance:"0px",rotateX:1,rotateY:0,rotateZ:0,startAngle:0,startDistance:"0px",endAngle:-180}}),cG=At(J_,{params:{delay:"0s",duration:"600ms",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",endAngle:180,endDistance:"0px",rotateZ:0,startAngle:0,startDistance:"0px",rotateX:0,rotateY:1}}),hG=At(J_,{params:{delay:"0s",duration:"600ms",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",endDistance:"0px",rotateZ:0,startAngle:0,startDistance:"0px",endAngle:-180,rotateX:0,rotateY:1}}),dG=At(J_,{params:{delay:"0s",duration:"600ms",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",endAngle:180,rotateX:1,rotateY:0,rotateZ:0,startAngle:0,startDistance:"0px",endDistance:"170px"}}),gG=At(J_,{params:{delay:"0s",duration:"600ms",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",endAngle:180,rotateX:1,rotateY:0,rotateZ:0,startAngle:0,startDistance:"0px",endDistance:"-170px"}}),pG=At(J_,{params:{delay:"0s",duration:"600ms",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",endAngle:180,rotateZ:0,startAngle:0,startDistance:"0px",endDistance:"170px",rotateX:0,rotateY:1}}),mG=At(J_,{params:{delay:"0s",duration:"600ms",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",endAngle:180,rotateZ:0,startAngle:0,startDistance:"0px",endDistance:"-170px",rotateX:0,rotateY:1}}),ele=[Yi({opacity:"{{ startOpacity }}",height:"{{ startHeight }}",paddingBlock:"{{ startPadding }}"}),Po("{{duration}} {{delay}} {{easing}}",Yi({opacity:"{{ endOpacity }}",height:"{{ endHeight }}",paddingBlock:"{{ endPadding }}"}))],Jx=At(ele,{params:{delay:"0s",duration:"350ms",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",startOpacity:0,endOpacity:1,startHeight:"0px",endHeight:"*",startPadding:"0px",endPadding:"*"}}),eS=At(ele,{params:{delay:"0s",duration:"350ms",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",startOpacity:1,endOpacity:0,startHeight:"*",endHeight:"0px",startPadding:"*",endPadding:"0px"}}),Hg=[Po("{{duration}} {{delay}} {{easing}}",KI([Yi({offset:0,transform:"rotate(0deg) translate{{direction}}(0)",transformOrigin:"{{xPos}} {{yPos}}"}),Yi({offset:.1,transform:"rotate({{endAngle}}deg) translate{{direction}}(-{{startDistance}})"}),Yi({offset:.2,transform:"rotate(-{{startAngle}}deg) translate{{direction}}({{startDistance}})"}),Yi({offset:.3,transform:"rotate({{startAngle}}deg) translate{{direction}}(-{{startDistance}})"}),Yi({offset:.4,transform:"rotate(-{{startAngle}}deg) translate{{direction}}({{startDistance}})"}),Yi({offset:.5,transform:"rotate({{startAngle}}deg) translate{{direction}}(-{{startDistance}})"}),Yi({offset:.6,transform:"rotate(-{{startAngle}}deg) translate{{direction}}({{startDistance}})"}),Yi({offset:.7,transform:"rotate({{startAngle}}deg) translate{{direction}}(-{{startDistance}})"}),Yi({offset:.8,transform:"rotate(-{{endAngle}}deg) translate{{direction}}({{endDistance}})"}),Yi({offset:.9,transform:"rotate({{endAngle}}deg) translate{{direction}}(-{{endDistance}})"}),Yi({offset:1,transform:"rotate(0deg) translate{{direction}}(0)",transformOrigin:"{{xPos}} {{yPos}}"})]))],tle=At(Hg,{params:{delay:"0s",direction:"X",duration:"800ms",easing:"cubic-bezier(0.455, 0.030, 0.515, 0.955)",endAngle:0,endDistance:"8px",startAngle:0,startDistance:"10px",xPos:"center",yPos:"center"}}),ile=At(Hg,{params:{delay:"0s",direction:"Y",duration:"800ms",easing:"cubic-bezier(0.455, 0.030, 0.515, 0.955)",endAngle:0,endDistance:"8px",startAngle:0,startDistance:"10px",xPos:"center",yPos:"center"}}),nle=At(Hg,{params:{delay:"0s",direction:"X",duration:"800ms",easing:"cubic-bezier(0.455, 0.030, 0.515, 0.955)",xPos:"center",endAngle:2,endDistance:"0",startAngle:4,startDistance:"0",yPos:"top"}}),ale=At(Hg,{params:{delay:"0s",duration:"800ms",easing:"cubic-bezier(0.455, 0.030, 0.515, 0.955)",xPos:"center",direction:"Y",endAngle:2,endDistance:"0",startAngle:4,startDistance:"0",yPos:"bottom"}}),rle=At(Hg,{params:{delay:"0s",duration:"800ms",easing:"cubic-bezier(0.455, 0.030, 0.515, 0.955)",direction:"Y",endAngle:2,endDistance:"0",startAngle:4,startDistance:"0",xPos:"right",yPos:"center"}}),sle=At(Hg,{params:{delay:"0s",duration:"800ms",easing:"cubic-bezier(0.455, 0.030, 0.515, 0.955)",direction:"Y",endAngle:2,endDistance:"0",startAngle:4,startDistance:"0",xPos:"left",yPos:"center"}}),ole=At(Hg,{params:{delay:"0s",duration:"800ms",easing:"cubic-bezier(0.455, 0.030, 0.515, 0.955)",direction:"Y",endAngle:8,endDistance:"0",startAngle:10,startDistance:"0",xPos:"center",yPos:"center"}}),lle=At(Hg,{params:{delay:"0s",duration:"800ms",easing:"cubic-bezier(0.455, 0.030, 0.515, 0.955)",direction:"Y",endAngle:2,endDistance:"0",startAngle:4,startDistance:"0",xPos:"right",yPos:"top"}}),ule=At(Hg,{params:{delay:"0s",duration:"800ms",easing:"cubic-bezier(0.455, 0.030, 0.515, 0.955)",direction:"Y",endAngle:2,endDistance:"0",startAngle:4,startDistance:"0",xPos:"right",yPos:"bottom"}}),cle=At(Hg,{params:{delay:"0s",duration:"800ms",easing:"cubic-bezier(0.455, 0.030, 0.515, 0.955)",direction:"Y",endAngle:2,endDistance:"0",startAngle:4,startDistance:"0",xPos:"left",yPos:"bottom"}}),hle=At(Hg,{params:{delay:"0s",duration:"800ms",easing:"cubic-bezier(0.455, 0.030, 0.515, 0.955)",direction:"Y",endAngle:2,endDistance:"0",startAngle:4,startDistance:"0",xPos:"left",yPos:"top"}}),Q5e=[Yi({animationTimingFunction:"ease-out",transform:"scale(1)",transformOrigin:"center center"}),Po("{{duration}} {{delay}} {{easing}}",KI([Yi({animationTimingFunction:"ease-in",offset:.1,transform:"scale(0.91)"}),Yi({animationTimingFunction:"ease-out",offset:.17,transform:"scale(0.98)"}),Yi({animationTimingFunction:"ease-in",offset:.33,transform:"scale(0.87)"}),Yi({animationTimingFunction:"ease-out",offset:.45,transform:"scale(1)"})]))],dle=[Po("{{duration}} {{delay}} {{easing}}",KI([Yi({offset:0,transform:"scale({{fromScale}})"}),Yi({offset:.5,transform:"scale({{toScale}})"}),Yi({offset:1,transform:"scale({{fromScale}})"})]))],J5e=[Po("{{duration}} {{delay}} {{easing}}",KI([Yi({offset:0,opacity:.8,transform:"scale({{fromScale}})"}),Yi({offset:.8,opacity:0,transform:"scale({{midScale}})"}),Yi({offset:1,opacity:0,transform:"scale({{toScale}})"})]))],gle=At(dle,{params:{delay:"0s",duration:".5s",easing:"ease-in-out",fromScale:1,toScale:1.1}}),ple=At(dle,{params:{delay:"0s",duration:".5s",easing:"ease-in-out",fromScale:1,toScale:.9}}),mle=At(Q5e,{params:{delay:"0s",duration:"1.5s",easing:"ease-in-out"}}),fle=At(J5e,{params:{delay:"0s",duration:".8s",easing:"ease-in-out",fromScale:.2,midScale:1.2,toScale:2.2}}),cs=[Yi({opacity:"{{startOpacity}}",transform:"rotate3d({{rotateX}},{{rotateY}},{{rotateZ}},{{startAngle}}deg)",transformOrigin:"{{xPos}} {{yPos}}"}),Po("{{duration}} {{delay}} {{easing}}",Yi({offset:0,opacity:"{{endOpacity}}",transform:"rotate3d({{rotateX}},{{rotateY}},{{rotateZ}},{{endAngle}}deg)",transformOrigin:"{{xPos}} {{yPos}}"}))],_le=At(cs,{params:{delay:"0s",duration:"600ms",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",endAngle:0,endOpacity:1,rotateX:0,rotateY:0,rotateZ:1,startAngle:-360,startOpacity:0,xPos:"center",yPos:"center"}}),ble=At(cs,{params:{delay:"0s",duration:"600ms",endAngle:0,rotateX:0,rotateY:0,rotateZ:1,startAngle:-360,xPos:"center",yPos:"center",easing:"cubic-bezier(0.550, 0.085, 0.680, 0.530)",endOpacity:0,startOpacity:1}}),fG=At(cs,{params:{delay:"0s",duration:"600ms",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",endAngle:0,endOpacity:1,rotateX:0,rotateY:0,rotateZ:1,startAngle:-360,startOpacity:0,yPos:"center",xPos:"top"}}),_G=At(cs,{params:{delay:"0s",duration:"600ms",endAngle:0,rotateX:0,rotateY:0,rotateZ:1,startAngle:-360,yPos:"center",easing:"cubic-bezier(0.550, 0.085, 0.680, 0.530)",endOpacity:0,startOpacity:1,xPos:"top"}}),bG=At(cs,{params:{delay:"0s",duration:"600ms",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",endAngle:0,endOpacity:1,rotateX:0,rotateY:0,rotateZ:1,startAngle:-360,startOpacity:0,yPos:"center",xPos:"right"}}),yG=At(cs,{params:{delay:"0s",duration:"600ms",endAngle:0,rotateX:0,rotateY:0,rotateZ:1,startAngle:-360,yPos:"center",easing:"cubic-bezier(0.550, 0.085, 0.680, 0.530)",endOpacity:0,startOpacity:1,xPos:"right"}}),xG=At(cs,{params:{delay:"0s",duration:"600ms",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",endAngle:0,endOpacity:1,rotateX:0,rotateY:0,rotateZ:1,startAngle:-360,startOpacity:0,yPos:"center",xPos:"bottom"}}),SG=At(cs,{params:{delay:"0s",duration:"600ms",endAngle:0,rotateX:0,rotateY:0,rotateZ:1,startAngle:-360,yPos:"center",easing:"cubic-bezier(0.550, 0.085, 0.680, 0.530)",endOpacity:0,startOpacity:1,xPos:"bottom"}}),DG=At(cs,{params:{delay:"0s",duration:"600ms",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",endAngle:0,endOpacity:1,rotateX:0,rotateY:0,rotateZ:1,startAngle:-360,startOpacity:0,yPos:"center",xPos:"left"}}),CG=At(cs,{params:{delay:"0s",duration:"600ms",endAngle:0,rotateX:0,rotateY:0,rotateZ:1,startAngle:-360,yPos:"center",easing:"cubic-bezier(0.550, 0.085, 0.680, 0.530)",endOpacity:0,startOpacity:1,xPos:"left"}}),qF=At(cs,{params:{delay:"0s",duration:"600ms",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",endAngle:0,endOpacity:1,rotateX:0,rotateY:0,rotateZ:1,startAngle:-360,startOpacity:0,xPos:"right",yPos:"top"}}),UF=At(cs,{params:{delay:"0s",duration:"600ms",endAngle:0,rotateX:0,rotateY:0,rotateZ:1,startAngle:-360,easing:"cubic-bezier(0.550, 0.085, 0.680, 0.530)",endOpacity:0,startOpacity:1,xPos:"right",yPos:"top"}}),XF=At(cs,{params:{delay:"0s",duration:"600ms",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",endAngle:0,endOpacity:1,rotateX:0,rotateY:0,rotateZ:1,startAngle:-360,startOpacity:0,xPos:"right",yPos:"bottom"}}),YF=At(cs,{params:{delay:"0s",duration:"600ms",endAngle:0,rotateX:0,rotateY:0,rotateZ:1,startAngle:-360,easing:"cubic-bezier(0.550, 0.085, 0.680, 0.530)",endOpacity:0,startOpacity:1,xPos:"right",yPos:"bottom"}}),KF=At(cs,{params:{delay:"0s",duration:"600ms",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",endAngle:0,endOpacity:1,rotateX:0,rotateY:0,rotateZ:1,startAngle:-360,startOpacity:0,xPos:"left",yPos:"bottom"}}),ZF=At(cs,{params:{delay:"0s",duration:"600ms",endAngle:0,rotateX:0,rotateY:0,rotateZ:1,startAngle:-360,easing:"cubic-bezier(0.550, 0.085, 0.680, 0.530)",endOpacity:0,startOpacity:1,xPos:"left",yPos:"bottom"}}),QF=At(cs,{params:{delay:"0s",duration:"600ms",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",endAngle:0,endOpacity:1,rotateX:0,rotateY:0,rotateZ:1,startAngle:-360,startOpacity:0,xPos:"left",yPos:"top"}}),JF=At(cs,{params:{delay:"0s",duration:"600ms",endAngle:0,rotateX:0,rotateY:0,rotateZ:1,startAngle:-360,easing:"cubic-bezier(0.550, 0.085, 0.680, 0.530)",endOpacity:0,startOpacity:1,xPos:"left",yPos:"top"}}),yle=At(cs,{params:{delay:"0s",duration:"600ms",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",endAngle:0,endOpacity:1,startAngle:-360,startOpacity:0,xPos:"center",yPos:"center",rotateX:1,rotateY:1,rotateZ:0}}),xle=At(cs,{params:{delay:"0s",duration:"600ms",endAngle:0,startAngle:-360,xPos:"center",yPos:"center",easing:"cubic-bezier(0.550, 0.085, 0.680, 0.530)",endOpacity:0,startOpacity:1,rotateX:1,rotateY:1,rotateZ:0}}),Sle=At(cs,{params:{delay:"0s",duration:"600ms",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",endAngle:0,endOpacity:1,startAngle:-360,startOpacity:0,xPos:"center",yPos:"center",rotateX:-1,rotateY:1,rotateZ:0}}),Dle=At(cs,{params:{delay:"0s",duration:"600ms",endAngle:0,startAngle:-360,xPos:"center",yPos:"center",easing:"cubic-bezier(0.550, 0.085, 0.680, 0.530)",endOpacity:0,startOpacity:1,rotateX:-1,rotateY:1,rotateZ:0}}),Cle=At(cs,{params:{delay:"0s",duration:"600ms",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",endAngle:0,endOpacity:1,startAngle:-360,startOpacity:0,xPos:"center",yPos:"center",rotateX:0,rotateY:1,rotateZ:0}}),vle=At(cs,{params:{delay:"0s",duration:"600ms",endAngle:0,startAngle:-360,xPos:"center",yPos:"center",easing:"cubic-bezier(0.550, 0.085, 0.680, 0.530)",endOpacity:0,startOpacity:1,rotateX:0,rotateY:1,rotateZ:0}}),Mle=At(cs,{params:{delay:"0s",duration:"600ms",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",endAngle:0,endOpacity:1,startAngle:-360,startOpacity:0,xPos:"center",yPos:"center",rotateX:1,rotateY:0,rotateZ:0}}),wle=At(cs,{params:{delay:"0s",duration:"600ms",endAngle:0,startAngle:-360,xPos:"center",yPos:"center",easing:"cubic-bezier(0.550, 0.085, 0.680, 0.530)",endOpacity:0,startOpacity:1,rotateX:1,rotateY:0,rotateZ:0}}),Cr=[Yi({opacity:"{{startOpacity}}",transform:"scale{{direction}}({{fromScale}})",transformOrigin:"{{xPos}} {{yPos}}"}),Po("{{duration}} {{delay}} {{easing}}",Yi({opacity:"{{endOpacity}}",transform:"scale{{direction}}({{toScale}})",transformOrigin:"{{xPos}} {{yPos}}"}))],QI=At(Cr,{params:{delay:"0s",direction:"",duration:"350ms",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",endOpacity:1,fromScale:.5,startOpacity:0,toScale:1,xPos:"50%",yPos:"50%"}}),eB=At(Cr,{params:{delay:"0s",direction:"",duration:"350ms",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",endOpacity:1,fromScale:.5,startOpacity:0,toScale:1,xPos:"0",yPos:"100%"}}),Tle=At(Cr,{params:{delay:"0s",duration:"350ms",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",endOpacity:1,startOpacity:0,toScale:1,xPos:"50%",yPos:"50%",direction:"Y",fromScale:.4}}),vG=At(Cr,{params:{delay:"0s",direction:"",duration:"350ms",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",endOpacity:1,fromScale:.5,startOpacity:0,toScale:1,xPos:"50%",yPos:"0"}}),MG=At(Cr,{params:{delay:"0s",direction:"",duration:"350ms",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",endOpacity:1,fromScale:.5,startOpacity:0,toScale:1,xPos:"0",yPos:"50%"}}),tS=At(Cr,{params:{delay:"0s",duration:"350ms",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",endOpacity:1,startOpacity:0,toScale:1,direction:"Y",fromScale:.4,xPos:"100%",yPos:"0"}}),tB=At(Cr,{params:{delay:"0s",direction:"",duration:"350ms",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",endOpacity:1,fromScale:.5,startOpacity:0,toScale:1,xPos:"100%",yPos:"0"}}),iB=At(Cr,{params:{delay:"0s",direction:"",duration:"350ms",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",endOpacity:1,fromScale:.5,startOpacity:0,toScale:1,xPos:"0",yPos:"0"}}),JI=At(Cr,{params:{delay:"0s",duration:"350ms",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",endOpacity:1,startOpacity:0,toScale:1,direction:"Y",fromScale:.4,xPos:"0",yPos:"100%"}}),wG=At(Cr,{params:{delay:"0s",direction:"",duration:"350ms",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",endOpacity:1,fromScale:.5,startOpacity:0,toScale:1,xPos:"100%",yPos:"50%"}}),Ile=At(Cr,{params:{delay:"0s",duration:"350ms",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",endOpacity:1,startOpacity:0,toScale:1,xPos:"50%",yPos:"50%",direction:"X",fromScale:.4}}),nB=At(Cr,{params:{delay:"0s",direction:"",duration:"350ms",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",endOpacity:1,fromScale:.5,startOpacity:0,toScale:1,xPos:"100%",yPos:"100%"}}),aB=At(Cr,{params:{delay:"0s",duration:"350ms",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",endOpacity:1,startOpacity:0,toScale:1,direction:"X",fromScale:.4,xPos:"0",yPos:"0"}}),TG=At(Cr,{params:{delay:"0s",direction:"",duration:"350ms",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",endOpacity:1,fromScale:.5,startOpacity:0,toScale:1,xPos:"50%",yPos:"100%"}}),rB=At(Cr,{params:{delay:"0s",duration:"350ms",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",endOpacity:1,startOpacity:0,toScale:1,direction:"X",fromScale:.4,xPos:"100%",yPos:"100%"}}),Ale=At(Cr,{params:{delay:"0s",direction:"",duration:"350ms",xPos:"50%",yPos:"50%",easing:"cubic-bezier(0.390, 0.575, 0.565, 1.000)",endOpacity:0,fromScale:1,startOpacity:1,toScale:.5}}),sB=At(Cr,{params:{delay:"0s",direction:"",duration:"350ms",easing:"cubic-bezier(0.390, 0.575, 0.565, 1.000)",endOpacity:0,fromScale:1,startOpacity:1,toScale:.5,xPos:"0",yPos:"100%"}}),oB=At(Cr,{params:{delay:"0s",direction:"",duration:"350ms",easing:"cubic-bezier(0.390, 0.575, 0.565, 1.000)",endOpacity:0,fromScale:1,startOpacity:1,toScale:.5,xPos:"100%",yPos:"100%"}}),kle=At(Cr,{params:{delay:"0s",duration:"350ms",xPos:"50%",yPos:"50%",easing:"cubic-bezier(0.390, 0.575, 0.565, 1.000)",endOpacity:0,fromScale:1,startOpacity:1,direction:"Y",toScale:.3}}),Wv=At(Cr,{params:{delay:"0s",duration:"350ms",easing:"cubic-bezier(0.390, 0.575, 0.565, 1.000)",endOpacity:0,fromScale:1,startOpacity:1,direction:"Y",toScale:.3,xPos:"100%",yPos:"0"}}),lB=At(Cr,{params:{delay:"0s",duration:"350ms",easing:"cubic-bezier(0.390, 0.575, 0.565, 1.000)",endOpacity:0,fromScale:1,startOpacity:1,direction:"Y",toScale:.3,xPos:"0",yPos:"100%"}}),IG=At(Cr,{params:{delay:"0s",direction:"",duration:"350ms",easing:"cubic-bezier(0.390, 0.575, 0.565, 1.000)",endOpacity:0,fromScale:1,startOpacity:1,toScale:.5,xPos:"50%",yPos:"0"}}),AG=At(Cr,{params:{delay:"0s",direction:"",duration:"350ms",easing:"cubic-bezier(0.390, 0.575, 0.565, 1.000)",endOpacity:0,fromScale:1,startOpacity:1,toScale:.5,xPos:"0",yPos:"50%"}}),uB=At(Cr,{params:{delay:"0s",direction:"",duration:"350ms",easing:"cubic-bezier(0.390, 0.575, 0.565, 1.000)",endOpacity:0,fromScale:1,startOpacity:1,toScale:.5,xPos:"100%",yPos:"0"}}),cB=At(Cr,{params:{delay:"0s",direction:"",duration:"350ms",easing:"cubic-bezier(0.390, 0.575, 0.565, 1.000)",endOpacity:0,fromScale:1,startOpacity:1,toScale:.5,xPos:"0",yPos:"0"}}),kG=At(Cr,{params:{delay:"0s",direction:"",duration:"350ms",easing:"cubic-bezier(0.390, 0.575, 0.565, 1.000)",endOpacity:0,fromScale:1,startOpacity:1,toScale:.5,xPos:"100%",yPos:"50%"}}),EG=At(Cr,{params:{delay:"0s",direction:"",duration:"350ms",easing:"cubic-bezier(0.390, 0.575, 0.565, 1.000)",endOpacity:0,fromScale:1,startOpacity:1,toScale:.5,xPos:"50%",yPos:"100%"}}),Ele=At(Cr,{params:{delay:"0s",duration:"350ms",xPos:"50%",yPos:"50%",easing:"cubic-bezier(0.390, 0.575, 0.565, 1.000)",endOpacity:0,fromScale:1,startOpacity:1,direction:"X",toScale:.3}}),hB=At(Cr,{params:{delay:"0s",duration:"350ms",easing:"cubic-bezier(0.390, 0.575, 0.565, 1.000)",endOpacity:0,fromScale:1,startOpacity:1,direction:"X",toScale:.3,xPos:"0",yPos:"0"}}),dB=At(Cr,{params:{delay:"0s",duration:"350ms",easing:"cubic-bezier(0.390, 0.575, 0.565, 1.000)",endOpacity:0,fromScale:1,startOpacity:1,direction:"X",toScale:.3,xPos:"100%",yPos:"100%"}}),lc=[Yi({opacity:"{{startOpacity}}",transform:"{{fromPosition}}"}),Po("{{duration}} {{delay}} {{easing}}",Yi({opacity:"{{endOpacity}}",transform:"{{toPosition}}"}))],gB=At(lc,{params:{delay:"0s",duration:"350ms",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",endOpacity:1,fromPosition:"translateY(-500px)",startOpacity:0,toPosition:"translateY(0)"}}),iS=At(lc,{params:{delay:"0s",duration:"350ms",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",endOpacity:1,fromPosition:"translateX(-500px)",startOpacity:0,toPosition:"translateY(0)"}}),jv=At(lc,{params:{delay:"0s",duration:"350ms",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",endOpacity:1,fromPosition:"translateX(500px)",startOpacity:0,toPosition:"translateY(0)"}}),pB=At(lc,{params:{delay:"0s",duration:"350ms",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",endOpacity:1,fromPosition:"translateY(500px)",startOpacity:0,toPosition:"translateY(0)"}}),mB=At(lc,{params:{delay:"0s",duration:"350ms",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",endOpacity:1,startOpacity:0,fromPosition:"translateY(-500px) translateX(500px)",toPosition:"translateY(0) translateX(0)"}}),fB=At(lc,{params:{delay:"0s",duration:"350ms",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",endOpacity:1,startOpacity:0,fromPosition:"translateY(-500px) translateX(-500px)",toPosition:"translateY(0) translateX(0)"}}),_B=At(lc,{params:{delay:"0s",duration:"350ms",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",endOpacity:1,startOpacity:0,fromPosition:"translateY(500px) translateX(500px)",toPosition:"translateY(0) translateX(0)"}}),bB=At(lc,{params:{delay:"0s",duration:"350ms",easing:"cubic-bezier(0.250, 0.460, 0.450, 0.940)",endOpacity:1,startOpacity:0,fromPosition:"translateY(500px) translateX(-500px)",toPosition:"translateY(0) translateX(0)"}}),yB=At(lc,{params:{delay:"0s",duration:"350ms",easing:"cubic-bezier(0.550, 0.085, 0.680, 0.530)",endOpacity:0,fromPosition:"translateY(0)",startOpacity:1,toPosition:"translateY(-500px)"}}),RG=At(lc,{params:{delay:"0s",duration:"350ms",easing:"cubic-bezier(0.550, 0.085, 0.680, 0.530)",endOpacity:0,fromPosition:"translateY(0)",startOpacity:1,toPosition:"translateX(500px)"}}),xB=At(lc,{params:{delay:"0s",duration:"350ms",easing:"cubic-bezier(0.550, 0.085, 0.680, 0.530)",endOpacity:0,fromPosition:"translateY(0)",startOpacity:1,toPosition:"translateY(500px)"}}),PG=At(lc,{params:{delay:"0s",duration:"350ms",easing:"cubic-bezier(0.550, 0.085, 0.680, 0.530)",endOpacity:0,fromPosition:"translateY(0)",startOpacity:1,toPosition:"translateX(-500px)"}}),SB=At(lc,{params:{delay:"0s",duration:"350ms",easing:"cubic-bezier(0.550, 0.085, 0.680, 0.530)",endOpacity:0,startOpacity:1,fromPosition:"translateY(0) translateX(0)",toPosition:"translateY(-500px) translateX(500px)"}}),DB=At(lc,{params:{delay:"0s",duration:"350ms",easing:"cubic-bezier(0.550, 0.085, 0.680, 0.530)",endOpacity:0,startOpacity:1,fromPosition:"translateY(0) translateX(0)",toPosition:"translateY(500px) translateX(500px)"}}),CB=At(lc,{params:{delay:"0s",duration:"350ms",easing:"cubic-bezier(0.550, 0.085, 0.680, 0.530)",endOpacity:0,startOpacity:1,fromPosition:"translateY(0) translateX(0)",toPosition:"translateY(500px) translateX(-500px)"}}),vB=At(lc,{params:{delay:"0s",duration:"350ms",easing:"cubic-bezier(0.550, 0.085, 0.680, 0.530)",endOpacity:0,startOpacity:1,fromPosition:"translateY(0) translateX(0)",toPosition:"translateY(-500px) translateX(-500px)"}}),uc=[Yi({opacity:"{{startOpacity}}",transform:"rotate{{direction}}({{startAngle}}deg)",transformOrigin:"{{xPos}} {{yPos}}"}),Po("{{duration}} {{delay}} {{easing}}",Yi({opacity:"{{endOpacity}}",transform:"rotate{{direction}}({{endAngle}}deg)",transformOrigin:"{{xPos}} {{yPos}}"}))],FG=At(uc,{params:{delay:"0s",direction:"X",duration:".5s",easing:"cubic-bezier(0.175, 0.885, 0.320, 1.275)",endAngle:0,endOpacity:1,startAngle:-100,startOpacity:0,xPos:"top",yPos:"center"}}),BG=At(uc,{params:{delay:"0s",duration:".5s",easing:"cubic-bezier(0.175, 0.885, 0.320, 1.275)",endAngle:0,endOpacity:1,startAngle:-100,startOpacity:0,direction:"Y",xPos:"center",yPos:"right"}}),$G=At(uc,{params:{delay:"0s",direction:"X",duration:".5s",easing:"cubic-bezier(0.175, 0.885, 0.320, 1.275)",endAngle:0,endOpacity:1,startOpacity:0,yPos:"center",startAngle:100,xPos:"bottom"}}),LG=At(uc,{params:{delay:"0s",duration:".5s",easing:"cubic-bezier(0.175, 0.885, 0.320, 1.275)",endAngle:0,endOpacity:1,startOpacity:0,direction:"Y",startAngle:100,xPos:"center",yPos:"left"}}),VG=At(uc,{params:{delay:"0s",direction:"X",easing:"cubic-bezier(0.175, 0.885, 0.320, 1.275)",endAngle:0,endOpacity:1,startOpacity:0,xPos:"top",yPos:"center",duration:".6s",startAngle:70}}),NG=At(uc,{params:{delay:"0s",easing:"cubic-bezier(0.175, 0.885, 0.320, 1.275)",endAngle:0,endOpacity:1,startOpacity:0,direction:"Y",duration:".6s",startAngle:70,xPos:"center",yPos:"right"}}),OG=At(uc,{params:{delay:"0s",direction:"X",easing:"cubic-bezier(0.175, 0.885, 0.320, 1.275)",endAngle:0,endOpacity:1,startOpacity:0,yPos:"center",duration:".6s",startAngle:-70,xPos:"bottom"}}),WG=At(uc,{params:{delay:"0s",easing:"cubic-bezier(0.175, 0.885, 0.320, 1.275)",endAngle:0,endOpacity:1,startOpacity:0,direction:"Y",duration:".6s",startAngle:-70,xPos:"center",yPos:"left"}}),jG=At(uc,{params:{delay:"0s",direction:"X",xPos:"top",yPos:"center",duration:".55s",easing:"cubic-bezier(0.600, -0.280, 0.735, 0.045)",endAngle:70,endOpacity:0,startAngle:0,startOpacity:1}}),GG=At(uc,{params:{delay:"0s",duration:".55s",easing:"cubic-bezier(0.600, -0.280, 0.735, 0.045)",endAngle:70,endOpacity:0,startAngle:0,startOpacity:1,direction:"Y",xPos:"center",yPos:"right"}}),zG=At(uc,{params:{delay:"0s",direction:"X",yPos:"center",duration:".55s",easing:"cubic-bezier(0.600, -0.280, 0.735, 0.045)",endOpacity:0,startAngle:0,startOpacity:1,endAngle:-70,xPos:"bottom"}}),HG=At(uc,{params:{delay:"0s",duration:".55s",easing:"cubic-bezier(0.600, -0.280, 0.735, 0.045)",endOpacity:0,startAngle:0,startOpacity:1,direction:"Y",endAngle:-70,xPos:"center",yPos:"left"}}),qG=At(uc,{params:{delay:"0s",direction:"X",xPos:"top",yPos:"center",easing:"cubic-bezier(0.600, -0.280, 0.735, 0.045)",endOpacity:0,startAngle:0,startOpacity:1,duration:".45s",endAngle:-100}}),UG=At(uc,{params:{delay:"0s",easing:"cubic-bezier(0.600, -0.280, 0.735, 0.045)",endOpacity:0,startAngle:0,startOpacity:1,direction:"Y",duration:".45s",endAngle:-100,xPos:"center",yPos:"right"}}),XG=At(uc,{params:{delay:"0s",direction:"X",yPos:"center",easing:"cubic-bezier(0.600, -0.280, 0.735, 0.045)",endOpacity:0,startAngle:0,startOpacity:1,duration:".45s",endAngle:100,xPos:"bottom"}}),YG=At(uc,{params:{delay:"0s",easing:"cubic-bezier(0.600, -0.280, 0.735, 0.045)",endOpacity:0,startAngle:0,startOpacity:1,direction:"Y",duration:".45s",endAngle:100,xPos:"center",yPos:"left"}});class MB{constructor(){this.oppositeAnimation=new Map([[Vc,Vc],[zg,zg],[lG,uG],[uG,lG],[hG,cG],[cG,hG],[dG,gG],[gG,dG],[pG,mG],[mG,pG],[Jx,Jx],[eS,eS],[mle,mle],[gle,ple],[ple,gle],[fle,fle],[tle,tle],[ile,ile],[nle,nle],[ale,ale],[rle,rle],[sle,sle],[ole,ole],[lle,lle],[ule,ule],[cle,cle],[hle,hle],[_le,_le],[ble,ble],[fG,xG],[_G,SG],[bG,DG],[yG,CG],[DG,bG],[CG,yG],[xG,fG],[SG,_G],[qF,KF],[UF,ZF],[XF,QF],[YF,JF],[KF,qF],[ZF,UF],[QF,XF],[JF,YF],[yle,yle],[xle,xle],[Sle,Sle],[Dle,Dle],[Cle,Cle],[vle,vle],[Mle,Mle],[wle,wle],[vG,TG],[IG,EG],[wG,MG],[kG,AG],[TG,vG],[EG,IG],[MG,wG],[AG,kG],[QI,QI],[Ale,Ale],[tB,eB],[uB,sB],[nB,iB],[oB,cB],[eB,tB],[sB,uB],[iB,nB],[cB,oB],[tS,JI],[Wv,lB],[JI,tS],[lB,Wv],[Tle,Tle],[kle,kle],[Ile,Ile],[Ele,Ele],[aB,rB],[hB,dB],[rB,aB],[dB,hB],[gB,pB],[yB,xB],[jv,iS],[RG,PG],[pB,gB],[xB,yB],[iS,jv],[PG,RG],[mB,bB],[SB,CB],[_B,fB],[DB,vB],[bB,mB],[CB,SB],[fB,_B],[vB,DB],[FG,$G],[jG,zG],[BG,LG],[GG,HG],[LG,BG],[HG,GG],[$G,FG],[zG,jG],[VG,OG],[qG,XG],[NG,WG],[UG,YG],[OG,VG],[XG,qG],[WG,NG],[YG,UG]]),this.horizontalAnimations=[hG,cG,pG,mG,bG,yG,DG,CG,qF,UF,XF,YF,KF,ZF,QF,JF,wG,kG,MG,AG,tB,uB,nB,oB,eB,sB,iB,cB,aB,hB,rB,dB,jv,RG,iS,PG,mB,SB,_B,DB,bB,CB,fB,vB,BG,GG,LG,HG,NG,UG,WG,YG],this.verticalAnimations=[lG,uG,dG,gG,Jx,eS,fG,_G,xG,SG,qF,UF,XF,YF,KF,ZF,QF,JF,vG,IG,TG,EG,tB,uB,nB,oB,eB,sB,iB,cB,tS,Wv,JI,lB,gB,yB,pB,xB,mB,SB,_B,DB,bB,CB,fB,vB,FG,jG,$G,zG,VG,qG,OG,XG]}static instance(){return this._instance||(this._instance=new this)}reverseAnimationResolver(a){return this.oppositeAnimation.get(a)??a}isHorizontalAnimation(a){return this.horizontalAnimations.includes(a)}isVerticalAnimation(a){return this.verticalAnimations.includes(a)}}class wB{}class TB{}class Zd{constructor(a){this.normalizedNames=new Map,this.lazyUpdate=null,a?"string"==typeof a?this.lazyInit=()=>{this.headers=new Map,a.split("\n").forEach(e=>{const t=e.indexOf(":");if(t>0){const n=e.slice(0,t),r=n.toLowerCase(),s=e.slice(t+1).trim();this.maybeSetNormalizedName(n,r),this.headers.has(r)?this.headers.get(r).push(s):this.headers.set(r,[s])}})}:typeof Headers<"u"&&a instanceof Headers?(this.headers=new Map,a.forEach((e,t)=>{this.setHeaderEntries(t,e)})):this.lazyInit=()=>{this.headers=new Map,Object.entries(a).forEach(([e,t])=>{this.setHeaderEntries(e,t)})}:this.headers=new Map}has(a){return this.init(),this.headers.has(a.toLowerCase())}get(a){this.init();const e=this.headers.get(a.toLowerCase());return e&&e.length>0?e[0]:null}keys(){return this.init(),Array.from(this.normalizedNames.values())}getAll(a){return this.init(),this.headers.get(a.toLowerCase())||null}append(a,e){return this.clone({name:a,value:e,op:"a"})}set(a,e){return this.clone({name:a,value:e,op:"s"})}delete(a,e){return this.clone({name:a,value:e,op:"d"})}maybeSetNormalizedName(a,e){this.normalizedNames.has(e)||this.normalizedNames.set(e,a)}init(){this.lazyInit&&(this.lazyInit instanceof Zd?this.copyFrom(this.lazyInit):this.lazyInit(),this.lazyInit=null,this.lazyUpdate&&(this.lazyUpdate.forEach(a=>this.applyUpdate(a)),this.lazyUpdate=null))}copyFrom(a){a.init(),Array.from(a.headers.keys()).forEach(e=>{this.headers.set(e,a.headers.get(e)),this.normalizedNames.set(e,a.normalizedNames.get(e))})}clone(a){const e=new Zd;return e.lazyInit=this.lazyInit&&this.lazyInit instanceof Zd?this.lazyInit:this,e.lazyUpdate=(this.lazyUpdate||[]).concat([a]),e}applyUpdate(a){const e=a.name.toLowerCase();switch(a.op){case"a":case"s":let t=a.value;if("string"==typeof t&&(t=[t]),0===t.length)return;this.maybeSetNormalizedName(a.name,e);const n=("a"===a.op?this.headers.get(e):void 0)||[];n.push(...t),this.headers.set(e,n);break;case"d":const r=a.value;if(r){let s=this.headers.get(e);if(!s)return;s=s.filter(o=>-1===r.indexOf(o)),0===s.length?(this.headers.delete(e),this.normalizedNames.delete(e)):this.headers.set(e,s)}else this.headers.delete(e),this.normalizedNames.delete(e)}}setHeaderEntries(a,e){const t=(Array.isArray(e)?e:[e]).map(r=>r.toString()),n=a.toLowerCase();this.headers.set(n,t),this.maybeSetNormalizedName(a,n)}forEach(a){this.init(),Array.from(this.normalizedNames.keys()).forEach(e=>a(this.normalizedNames.get(e),this.headers.get(e)))}}class e6e{encodeKey(a){return Rle(a)}encodeValue(a){return Rle(a)}decodeKey(a){return decodeURIComponent(a)}decodeValue(a){return decodeURIComponent(a)}}const i6e=/%(\d[a-f0-9])/gi,n6e={40:"@","3A":":",24:"$","2C":",","3B":";","3D":"=","3F":"?","2F":"/"};function Rle(i){return encodeURIComponent(i).replace(i6e,(a,e)=>n6e[e]??a)}function IB(i){return`${i}`}class eb{constructor(a={}){if(this.updates=null,this.cloneFrom=null,this.encoder=a.encoder||new e6e,a.fromString){if(a.fromObject)throw new Error("Cannot specify both fromString and fromObject.");this.map=function t6e(i,a){const e=new Map;return i.length>0&&i.replace(/^\?/,"").split("&").forEach(n=>{const r=n.indexOf("="),[s,o]=-1==r?[a.decodeKey(n),""]:[a.decodeKey(n.slice(0,r)),a.decodeValue(n.slice(r+1))],l=e.get(s)||[];l.push(o),e.set(s,l)}),e}(a.fromString,this.encoder)}else a.fromObject?(this.map=new Map,Object.keys(a.fromObject).forEach(e=>{const t=a.fromObject[e],n=Array.isArray(t)?t.map(IB):[IB(t)];this.map.set(e,n)})):this.map=null}has(a){return this.init(),this.map.has(a)}get(a){this.init();const e=this.map.get(a);return e?e[0]:null}getAll(a){return this.init(),this.map.get(a)||null}keys(){return this.init(),Array.from(this.map.keys())}append(a,e){return this.clone({param:a,value:e,op:"a"})}appendAll(a){const e=[];return Object.keys(a).forEach(t=>{const n=a[t];Array.isArray(n)?n.forEach(r=>{e.push({param:t,value:r,op:"a"})}):e.push({param:t,value:n,op:"a"})}),this.clone(e)}set(a,e){return this.clone({param:a,value:e,op:"s"})}delete(a,e){return this.clone({param:a,value:e,op:"d"})}toString(){return this.init(),this.keys().map(a=>{const e=this.encoder.encodeKey(a);return this.map.get(a).map(t=>e+"="+this.encoder.encodeValue(t)).join("&")}).filter(a=>""!==a).join("&")}clone(a){const e=new eb({encoder:this.encoder});return e.cloneFrom=this.cloneFrom||this,e.updates=(this.updates||[]).concat(a),e}init(){null===this.map&&(this.map=new Map),null!==this.cloneFrom&&(this.cloneFrom.init(),this.cloneFrom.keys().forEach(a=>this.map.set(a,this.cloneFrom.map.get(a))),this.updates.forEach(a=>{switch(a.op){case"a":case"s":const e=("a"===a.op?this.map.get(a.param):void 0)||[];e.push(IB(a.value)),this.map.set(a.param,e);break;case"d":if(void 0===a.value){this.map.delete(a.param);break}{let t=this.map.get(a.param)||[];const n=t.indexOf(IB(a.value));-1!==n&&t.splice(n,1),t.length>0?this.map.set(a.param,t):this.map.delete(a.param)}}}),this.cloneFrom=this.updates=null)}}class a6e{constructor(){this.map=new Map}set(a,e){return this.map.set(a,e),this}get(a){return this.map.has(a)||this.map.set(a,a.defaultValue()),this.map.get(a)}delete(a){return this.map.delete(a),this}has(a){return this.map.has(a)}keys(){return this.map.keys()}}function Ple(i){return typeof ArrayBuffer<"u"&&i instanceof ArrayBuffer}function Fle(i){return typeof Blob<"u"&&i instanceof Blob}function Ble(i){return typeof FormData<"u"&&i instanceof FormData}class e1{constructor(a,e,t,n){let r;if(this.url=e,this.body=null,this.reportProgress=!1,this.withCredentials=!1,this.responseType="json",this.method=a.toUpperCase(),function r6e(i){switch(i){case"DELETE":case"GET":case"HEAD":case"OPTIONS":case"JSONP":return!1;default:return!0}}(this.method)||n?(this.body=void 0!==t?t:null,r=n):r=t,r&&(this.reportProgress=!!r.reportProgress,this.withCredentials=!!r.withCredentials,r.responseType&&(this.responseType=r.responseType),r.headers&&(this.headers=r.headers),r.context&&(this.context=r.context),r.params&&(this.params=r.params),this.transferCache=r.transferCache),this.headers||(this.headers=new Zd),this.context||(this.context=new a6e),this.params){const s=this.params.toString();if(0===s.length)this.urlWithParams=e;else{const o=e.indexOf("?");this.urlWithParams=e+(-1===o?"?":oh.set(d,a.setHeaders[d]),l)),a.setParams&&(u=Object.keys(a.setParams).reduce((h,d)=>h.set(d,a.setParams[d]),u)),new e1(e,t,r,{params:u,headers:l,context:c,reportProgress:o,responseType:n,withCredentials:s})}}var tb=function(i){return i[i.Sent=0]="Sent",i[i.UploadProgress=1]="UploadProgress",i[i.ResponseHeader=2]="ResponseHeader",i[i.DownloadProgress=3]="DownloadProgress",i[i.Response=4]="Response",i[i.User=5]="User",i}(tb||{});class KG{constructor(a,e=200,t="OK"){this.headers=a.headers||new Zd,this.status=void 0!==a.status?a.status:e,this.statusText=a.statusText||t,this.url=a.url||null,this.ok=this.status>=200&&this.status<300}}class AB extends KG{constructor(a={}){super(a),this.type=tb.ResponseHeader}clone(a={}){return new AB({headers:a.headers||this.headers,status:void 0!==a.status?a.status:this.status,statusText:a.statusText||this.statusText,url:a.url||this.url||void 0})}}class nS extends KG{constructor(a={}){super(a),this.type=tb.Response,this.body=void 0!==a.body?a.body:null}clone(a={}){return new nS({body:void 0!==a.body?a.body:this.body,headers:a.headers||this.headers,status:void 0!==a.status?a.status:this.status,statusText:a.statusText||this.statusText,url:a.url||this.url||void 0})}}class Gv extends KG{constructor(a){super(a,0,"Unknown Error"),this.name="HttpErrorResponse",this.ok=!1,this.message=this.status>=200&&this.status<300?`Http failure during parsing for ${a.url||"(unknown url)"}`:`Http failure response for ${a.url||"(unknown url)"}: ${a.status} ${a.statusText}`,this.error=a.error||null}}function ZG(i,a){return{body:a,headers:i.headers,context:i.context,observe:i.observe,params:i.params,reportProgress:i.reportProgress,responseType:i.responseType,withCredentials:i.withCredentials,transferCache:i.transferCache}}let QG=(()=>{class i{constructor(e){this.handler=e}request(e,t,n={}){let r;if(e instanceof e1)r=e;else{let l,u;l=n.headers instanceof Zd?n.headers:new Zd(n.headers),n.params&&(u=n.params instanceof eb?n.params:new eb({fromObject:n.params})),r=new e1(e,t,void 0!==n.body?n.body:null,{headers:l,context:n.context,params:u,reportProgress:n.reportProgress,responseType:n.responseType||"json",withCredentials:n.withCredentials,transferCache:n.transferCache})}const s=Vi(r).pipe(dv(l=>this.handler.handle(l)));if(e instanceof e1||"events"===n.observe)return s;const o=s.pipe(Dr(l=>l instanceof nS));switch(n.observe||"body"){case"body":switch(r.responseType){case"arraybuffer":return o.pipe(Et(l=>{if(null!==l.body&&!(l.body instanceof ArrayBuffer))throw new Error("Response is not an ArrayBuffer.");return l.body}));case"blob":return o.pipe(Et(l=>{if(null!==l.body&&!(l.body instanceof Blob))throw new Error("Response is not a Blob.");return l.body}));case"text":return o.pipe(Et(l=>{if(null!==l.body&&"string"!=typeof l.body)throw new Error("Response is not a string.");return l.body}));default:return o.pipe(Et(l=>l.body))}case"response":return o;default:throw new Error(`Unreachable: unhandled observe type ${n.observe}}`)}}delete(e,t={}){return this.request("DELETE",e,t)}get(e,t={}){return this.request("GET",e,t)}head(e,t={}){return this.request("HEAD",e,t)}jsonp(e,t){return this.request("JSONP",e,{params:(new eb).append(t,"JSONP_CALLBACK"),observe:"body",responseType:"json"})}options(e,t={}){return this.request("OPTIONS",e,t)}patch(e,t,n={}){return this.request("PATCH",e,ZG(n,t))}post(e,t,n={}){return this.request("POST",e,ZG(n,t))}put(e,t,n={}){return this.request("PUT",e,ZG(n,t))}static#e=this.\u0275fac=function(t){return new(t||i)(Ue(wB))};static#t=this.\u0275prov=Mt({token:i,factory:i.\u0275fac})}return i})();function Lle(i,a){return a(i)}function h6e(i,a){return(e,t)=>a.intercept(e,{handle:n=>i(n,t)})}const g6e=new Pt(""),t1=new Pt(""),Vle=new Pt(""),Nle=new Pt("");function p6e(){let i=null;return(a,e)=>{null===i&&(i=(Ut(g6e,{optional:!0})??[]).reduceRight(h6e,Lle));const t=Ut(xP),n=t.add();return i(a,e).pipe(pI(()=>t.remove(n)))}}let Ole=(()=>{class i extends wB{constructor(e,t){super(),this.backend=e,this.injector=t,this.chain=null,this.pendingTasks=Ut(xP);const n=Ut(Nle,{optional:!0});this.backend=n??e}handle(e){if(null===this.chain){const n=Array.from(new Set([...this.injector.get(t1),...this.injector.get(Vle,[])]));this.chain=n.reduceRight((r,s)=>function d6e(i,a,e){return(t,n)=>e.runInContext(()=>a(t,r=>i(r,n)))}(r,s,this.injector),Lle)}const t=this.pendingTasks.add();return this.chain(e,n=>this.backend.handle(n)).pipe(pI(()=>this.pendingTasks.remove(t)))}static#e=this.\u0275fac=function(t){return new(t||i)(Ue(TB),Ue(Ko))};static#t=this.\u0275prov=Mt({token:i,factory:i.\u0275fac})}return i})();const y6e=/^\)\]\}',?\n/;let jle=(()=>{class i{constructor(e){this.xhrFactory=e}handle(e){if("JSONP"===e.method)throw new ft(-2800,!1);const t=this.xhrFactory;return(t.\u0275loadImpl?Ta(t.\u0275loadImpl()):Vi(null)).pipe(Rr(()=>new ha(r=>{const s=t.build();if(s.open(e.method,e.urlWithParams),e.withCredentials&&(s.withCredentials=!0),e.headers.forEach((m,_)=>s.setRequestHeader(m,_.join(","))),e.headers.has("Accept")||s.setRequestHeader("Accept","application/json, text/plain, */*"),!e.headers.has("Content-Type")){const m=e.detectContentTypeHeader();null!==m&&s.setRequestHeader("Content-Type",m)}if(e.responseType){const m=e.responseType.toLowerCase();s.responseType="json"!==m?m:"text"}const o=e.serializeBody();let l=null;const u=()=>{if(null!==l)return l;const m=s.statusText||"OK",_=new Zd(s.getAllResponseHeaders()),y=function x6e(i){return"responseURL"in i&&i.responseURL?i.responseURL:/^X-Request-URL:/m.test(i.getAllResponseHeaders())?i.getResponseHeader("X-Request-URL"):null}(s)||e.url;return l=new AB({headers:_,status:s.status,statusText:m,url:y}),l},c=()=>{let{headers:m,status:_,statusText:y,url:x}=u(),w=null;204!==_&&(w=typeof s.response>"u"?s.responseText:s.response),0===_&&(_=w?200:0);let T=_>=200&&_<300;if("json"===e.responseType&&"string"==typeof w){const P=w;w=w.replace(y6e,"");try{w=""!==w?JSON.parse(w):null}catch(F){w=P,T&&(T=!1,w={error:F,text:w})}}T?(r.next(new nS({body:w,headers:m,status:_,statusText:y,url:x||void 0})),r.complete()):r.error(new Gv({error:w,headers:m,status:_,statusText:y,url:x||void 0}))},h=m=>{const{url:_}=u(),y=new Gv({error:m,status:s.status||0,statusText:s.statusText||"Unknown Error",url:_||void 0});r.error(y)};let d=!1;const g=m=>{d||(r.next(u()),d=!0);let _={type:tb.DownloadProgress,loaded:m.loaded};m.lengthComputable&&(_.total=m.total),"text"===e.responseType&&s.responseText&&(_.partialText=s.responseText),r.next(_)},p=m=>{let _={type:tb.UploadProgress,loaded:m.loaded};m.lengthComputable&&(_.total=m.total),r.next(_)};return s.addEventListener("load",c),s.addEventListener("error",h),s.addEventListener("timeout",h),s.addEventListener("abort",h),e.reportProgress&&(s.addEventListener("progress",g),null!==o&&s.upload&&s.upload.addEventListener("progress",p)),s.send(o),r.next({type:tb.Sent}),()=>{s.removeEventListener("error",h),s.removeEventListener("abort",h),s.removeEventListener("load",c),s.removeEventListener("timeout",h),e.reportProgress&&(s.removeEventListener("progress",g),null!==o&&s.upload&&s.upload.removeEventListener("progress",p)),s.readyState!==s.DONE&&s.abort()}})))}static#e=this.\u0275fac=function(t){return new(t||i)(Ue(Dae))};static#t=this.\u0275prov=Mt({token:i,factory:i.\u0275fac})}return i})();const tz=new Pt("XSRF_ENABLED"),Gle=new Pt("XSRF_COOKIE_NAME",{providedIn:"root",factory:()=>"XSRF-TOKEN"}),zle=new Pt("XSRF_HEADER_NAME",{providedIn:"root",factory:()=>"X-XSRF-TOKEN"});class Hle{}let C6e=(()=>{class i{constructor(e,t,n){this.doc=e,this.platform=t,this.cookieName=n,this.lastCookieString="",this.lastToken=null,this.parseCount=0}getToken(){if("server"===this.platform)return null;const e=this.doc.cookie||"";return e!==this.lastCookieString&&(this.parseCount++,this.lastToken=pae(e,this.cookieName),this.lastCookieString=e),this.lastToken}static#e=this.\u0275fac=function(t){return new(t||i)(Ue(xa),Ue(Zh),Ue(Gle))};static#t=this.\u0275prov=Mt({token:i,factory:i.\u0275fac})}return i})();function v6e(i,a){const e=i.url.toLowerCase();if(!Ut(tz)||"GET"===i.method||"HEAD"===i.method||e.startsWith("http://")||e.startsWith("https://"))return a(i);const t=Ut(Hle).getToken(),n=Ut(zle);return null!=t&&!i.headers.has(n)&&(i=i.clone({headers:i.headers.set(n,t)})),a(i)}var ib=function(i){return i[i.Interceptors=0]="Interceptors",i[i.LegacyInterceptors=1]="LegacyInterceptors",i[i.CustomXsrfConfiguration=2]="CustomXsrfConfiguration",i[i.NoXsrfProtection=3]="NoXsrfProtection",i[i.JsonpSupport=4]="JsonpSupport",i[i.RequestsMadeViaParent=5]="RequestsMadeViaParent",i[i.Fetch=6]="Fetch",i}(ib||{});const qle=new Pt("LEGACY_INTERCEPTOR_FN"),iz_name="add-child",iz_value='Add Item IconA picture showing an item with a plus sign being added to container.',nz_name="add-row",nz_value='Add Row IconA picture showing a rectangle with a plus sign.',rS_name="pin-left",rS_value='Pin Left IconA picture depicting a pin pointed to the left.',sS_name="unpin-left",sS_value='Unpin Left IconA picture depicting a crossed-out left-pointed pin.',az={name:"case-sensitive",value:'Case Sensitive IconA picture showing the letter A written in both upper and lower case.',categories:["editor"],keywords:["case","sensitive","character","text","mode","sentence","style","change","compare","filter"]},eue={name:"ends-with",value:'Ends With IconA picture showing three dots followed by lowercase a.',categories:["editor"],keywords:["end","character","compare","filter"]},tue={name:"equals",value:'Equals IconA picture showing the equals sign.',categories:["editor"],keywords:["equal","equals","compare","filter","equality","calculation","math"]},iue={name:"is-empty",value:'Is Empty IconA picture showing a dotted square.',categories:["editor"],keywords:["empty","box","nothing"]},nue=[{name:"bottom-percentile-records",value:'Bottom recordsShows percentile records positioned at the bottom.',categories:["editor"]},{name:"bottom-records",value:'Bottom recordsShows records positioned at the bottom.',categories:["editor"]},az,{name:"check",value:'Check IconA picture depicting a check mark.',categories:["editor"],keywords:["check","checked","mark","tick","ok","success"]},{name:"contains",value:'Contains IconA picture showing the lowercase letter A in a square box.',categories:["editor"],keywords:["contains","letter","contain","compare","filter"]},{name:"custom-filter",value:'Custom Filter IconAn icon showing that custom filter is applied.',categories:["editor"],keywords:["custom","filter"]},{name:"does-not-contain",value:'Does-Not-Contain IconA picture showing the lowercase letter A in a crossed-out square box.',categories:["editor"],keywords:["contains","character","contain","compare","filter"]},{name:"does-not-end-with",value:'Does-Not-End-With IconA picture showing crossed-out lines at the end of a square box.',categories:["editor"]},{name:"does-not-start-with",value:'Does-Not-Start-With IconA picture showing crossed-out lines at the beginning of a square box.',categories:["editor"]},{name:"end-expression",value:'End Expression IconA picture showing three dots followed by a right-pointed chevron.',categories:["editor"],keywords:["end","expression","arrow","right"]},eue,tue,{name:"exact-match",value:'Exact Match IconA picture depicting an arrow hitting bulls-eye.',categories:["editor"],keywords:["exact","match","arrow","target","goal","aim","business","dart","bullseye"]},{name:"greater-than",value:'Greater Than IconA picture showing the greater-than symbol.',categories:["editor"],keywords:["greater","more","compare","next","forward","chevron","math","inequalty","arrow"]},{name:"greater-than-or-equal",value:'Greater Than or Equal IconA picture showing the grater-than or equal symbol.',categories:["editor"],keywords:["greater","more","equal","equals","compare","math"]},{name:"is-after",value:'Is After IconA picture showing a square bracket drawn after a vertical line.',categories:["editor"],keywords:["after","comparison","before","convert","decode","render","scan"]},{name:"is-before",value:'Is Before IconA picture showing a square bracket drawn before a vertical line.',categories:["editor"],keywords:["after","comparison","before","convert","decode","render","scan"]},iue,{name:"is-false",value:'Is False IconA picture showing an encircled X symbol.',categories:["editor"],keywords:["false","true","choice","options","yes","no","check","tick","cross"]},{name:"is-not-null",value:'Is Not Null IconA picture showing a crossed-out circle.',categories:["editor"],keywords:["empty","null","void","problem","number","invalid","inoperative","none","nothing"]},{name:"is-null",value:'Is Null IconA picture showing an empty circle.',categories:["editor"],keywords:["null","circle","zero","o"]},{name:"is-true",value:'is True IconA picture showing an encircled check mark symbol.',categories:["editor"],keywords:["true","false","choice","options","yes","no","check","tick","cross"]},{name:"last-month",value:'Last Month IconA picture depicting a calendar with a back-arrow at the end.',categories:["editor"],keywords:["last","calendar","month","date","day","previous","schedule","arrow","left","page"]},{name:"last-quarter",value:'Last Quarter IconA picture depicting a quarter of a circle with an arrow pointing right.',categories:["editor"]},{name:"last-week",value:'Last Week IconA picture depicting a square with an arrow pointing down.',categories:["editor"]},{name:"last-year",value:'Last Year IconA picture depicting a calendar with an back-arrow in the middle.',categories:["editor"],keywords:["last","calendar","month","date","previous","schedule","arrow","left"]},{name:"less-than",value:'Less Than IconA picture showing the less-than symbol.',categories:["editor"],keywords:["less","smaller","compare","previous","back","chevron","math","inequalty","arrow"]},{name:"less-than-or-equal",value:'Less Than or Equal IconA picture showing the lass-than or equal symbol.',categories:["editor"],keywords:["less","smaller","equal","equals","compare","math"]},{name:"match",value:'Match IconA picture depicting two puzzle pieces fitting together.',categories:["editor"],keywords:["match","fit","puzzle","pieces","jigsaw","combination","play","game","toy"]},{name:"month",value:'Month IconA picture depicting a month calendar.',categories:["editor"]},{name:"next-month",value:'Next Month iconA picture depicting a calendar with a forward-arrow at the end.',categories:["editor"],keywords:["next","calendar","month","date","day","following","schedule","arrow","right","page"]},{name:"next-quarter",value:'Next Quarter IconA picture depicting a quarter circle with an arrow pointing right.',categories:["editor"]},{name:"next-week",value:'Next Week IconA picture depicting a square with an arrow pointing right.',categories:["editor"]},{name:"next-year",value:'Next Year iconA picture depicting a calendar with a forward-arrow in the middle.',categories:["editor"],keywords:["next","calendar","month","date","following","schedule","arrow","right"]},{name:"not-empty",value:'Not Empty IconA picture showing a crossed-out dotted square.',categories:["editor"],keywords:["empty","full"]},{name:"not-equal",value:'Not Equal IconA picture showing a crossed-out equals symbol.',categories:["editor"],keywords:["equal","equals","different","compare","filter","equality","calculation","math"]},{name:"previous-quarter",value:'Previous Quarter IconA picture depicting a quarter circle with an arrow pointing left.',categories:["editor"]},{name:"previous-week",value:'Next Week IconA picture depicting a square with an arrow pointing left.',categories:["editor"]},{name:"quarter-four",value:'Quarter Four IconA picture depicting a quarter of a circle next to a three-thirds circle.',categories:["editor"]},{name:"quarter-one",value:'Quarter One IconA picture depicting a quarter of a circle next to a three-thirds circle.',categories:["editor"]},{name:"quarter-three",value:'Quarter Three IconA picture depicting a quarter of a circle next to a three-thirds circle.',categories:["editor"]},{name:"quarter-two",value:'Quarter Two IconA picture depicting a quarter of a circle next to a three-thirds circle.',categories:["editor"]},eue,tue,iue,{name:"select-all",value:'Select All IconA picture showing tree lines and a check mark.',categories:["editor"],keywords:["all","select","check","multiple"]},{name:"start-expression",value:'Start Expression IconA picture showing a left chevron followed by three dots.',categories:["editor"],keywords:["start","expression","arrow","left"]},{name:"starts-with",value:'Starts With IconA picture showing the uppercase letter A followed by three dots.',categories:["editor"],keywords:["start","character","compare","filter"]},{name:"this-month",value:'This Month IconA picture depicting a calendar with an encircled check mark at the end.',categories:["editor"],keywords:["this","calendar","month","date","day","current","schedule","check","page","now"]},{name:"this-quarter",value:'This Quarter IconA picture depicting an arrow pointing right to a quarter of a circle.',categories:["editor"]},{name:"this-week",value:'This Quarter IconA picture depicting a square with an arrow pointing up.',categories:["editor"]},{name:"this-year",value:'This Year IconA picture depicting a stacked calendar with a check mark in the middle.',categories:["editor"],keywords:["this","calendar","month","date","current","schedule","check","now"]},{name:"today",value:'Today IconA picture depicting a calendar with a check mark in the middle.',categories:["editor"],keywords:["today","now","check","date","day","calendar","current","schedule","event"]},{name:"top-percentile-records",value:'Top Percentile Records IconShows percentile records positioned at the top.',categories:["editor"]},{name:"top-records",value:'Top Records IconShows records positioned at the top.',categories:["editor"]},{name:"ungroup",value:'Ungroup IconA picture depicting a broken box with four squares inside it.',categories:["editor"],keywords:["ungroup","exclude","extract"]},{name:"year-to-date",value:'Year To Date IconA picture depicting an year calendar.',categories:["editor"]},{name:"year",value:'Year iconA picture depicting an year calendar.',categories:["editor"]},{name:"yesterday",value:'Yesterday IconA picture depicting a calendar with a back arrow in the middle.',categories:["editor"],keywords:["yesterday","date","calendar","left","arrow","past","previous","day"]},{name:"tomorrow",value:'Tomorrow IconA picture depicting a calendar with a right-pointed arrow in the middle.',categories:["editor"],keywords:["tomorrow","date","calendar","right","arrow","future","next","day"]}],aue={randomUUID:typeof crypto<"u"&&crypto.randomUUID&&crypto.randomUUID.bind(crypto)};let RB;const eze=new Uint8Array(16);function tze(){if(!RB&&(RB=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto),!RB))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return RB(eze)}const ku=[];for(let i=0;i<256;++i)ku.push((i+256).toString(16).slice(1));const nze=function ize(i,a,e){if(aue.randomUUID&&!a&&!i)return aue.randomUUID();const t=(i=i||{}).random||(i.rng||tze)();if(t[6]=15&t[6]|64,t[8]=63&t[8]|128,a){e=e||0;for(let n=0;n<16;++n)a[e+n]=t[n];return a}return function rue(i,a=0){return ku[i[a+0]]+ku[i[a+1]]+ku[i[a+2]]+ku[i[a+3]]+"-"+ku[i[a+4]]+ku[i[a+5]]+"-"+ku[i[a+6]]+ku[i[a+7]]+"-"+ku[i[a+8]]+ku[i[a+9]]+"-"+ku[i[a+10]]+ku[i[a+11]]+ku[i[a+12]]+ku[i[a+13]]+ku[i[a+14]]+ku[i[a+15]]}(t)},aze=["noLigature"],rze=["explicitLigature"],sze=["svgImage"];function oze(i,a){}function lze(i,a){1&i&&at(0)}function uze(i,a){1&i&&ce(0,"div",4),2&i&&b("innerHTML",C().getSvg,uJ)}function cze(i,a){1&i&&be(0)}const Fr=["*"];function hze(i,a){1&i&&be(0)}function dze(i,a){if(1&i&&(D(0,"div",13),$(1,hze,1,0,"ng-container",14),v()),2&i){C();const e=ae(24);f(1),b("ngTemplateOutlet",e)}}function gze(i,a){1&i&&at(0,1)}function pze(i,a){1&i&&at(0,2)}function mze(i,a){1&i&&at(0,3)}const rz=i=>({"igx-input-group__upload-button":i});function fze(i,a){if(1&i){const e=Te();D(0,"igx-prefix",16)(1,"button",17),G("click",function(){return Y(e),K(C(2).uploadButtonHandler())}),L(2),v()()}if(2&i){const e=C(2);f(1),b("displayDensity",e.displayDensity)("disabled",e.disabled)("ngClass",ln(4,rz,e.isTypeLine)),f(1),Ge(" ",e.resourceStrings.igx_input_upload_button," ")}}function _ze(i,a){1&i&&$(0,fze,3,6,"igx-prefix",15),2&i&&b("ngIf",C().isFileType)}function bze(i,a){if(1&i&&(D(0,"div",19)(1,"span"),L(2),v()()),2&i){const e=C(2);b("title",e.fileNames),f(2),me(e.fileNames)}}function yze(i,a){1&i&&$(0,bze,3,2,"div",18),2&i&&b("ngIf",C().isFileType)}function xze(i,a){if(1&i){const e=Te();D(0,"igx-suffix",21),G("click",function(){return Y(e),K(C(2).clearValueHandler())})("keydown.Enter",function(){return Y(e),K(C(2).clearValueHandler())}),D(1,"igx-icon"),L(2,"clear"),v()()}}function Sze(i,a){if(1&i&&$(0,xze,3,0,"igx-suffix",20),2&i){const e=C();b("ngIf",e.isFileType&&e.isFilled)}}function Dze(i,a){1&i&&at(0,4)}function Cze(i,a){1&i&&be(0)}function vze(i,a){1&i&&be(0)}function Mze(i,a){1&i&&be(0)}function wze(i,a){1&i&&be(0)}function Tze(i,a){1&i&&be(0)}function Ize(i,a){1&i&&be(0)}function Aze(i,a){1&i&&be(0)}function kze(i,a){1&i&&ce(0,"div",29)}function Eze(i,a){if(1&i&&(D(0,"div",22)(1,"div",23),$(2,Cze,1,0,"ng-container",14)(3,vze,1,0,"ng-container",14),v(),Re(4),D(5,"div",24),$(6,Mze,1,0,"ng-container",14),v(),Pe(),D(7,"div",25),$(8,wze,1,0,"ng-container",14)(9,Tze,1,0,"ng-container",14),v(),ce(10,"div",26),D(11,"div",27),$(12,Ize,1,0,"ng-container",14)(13,Aze,1,0,"ng-container",14),v(),$(14,kze,1,0,"div",28),v()),2&i){const e=C(),t=ae(8),n=ae(10),r=ae(4),s=ae(6),o=ae(12),l=ae(14),u=ae(16);f(2),b("ngTemplateOutlet",t),f(1),b("ngTemplateOutlet",n),f(3),b("ngTemplateOutlet",r),f(2),b("ngTemplateOutlet",s),f(1),b("ngTemplateOutlet",o),f(3),b("ngTemplateOutlet",l),f(1),b("ngTemplateOutlet",u),f(1),b("ngIf",e.hasBorder)}}function Rze(i,a){1&i&&be(0)}function Pze(i,a){1&i&&be(0)}function Fze(i,a){1&i&&be(0)}function Bze(i,a){1&i&&be(0)}function $ze(i,a){1&i&&be(0)}function Lze(i,a){1&i&&be(0)}function Vze(i,a){1&i&&be(0)}function Nze(i,a){1&i&&ce(0,"div",29)}function Oze(i,a){if(1&i&&($(0,Rze,1,0,"ng-container",14),D(1,"div",22)(2,"div",23),$(3,Pze,1,0,"ng-container",14)(4,Fze,1,0,"ng-container",14),v(),D(5,"div",25),$(6,Bze,1,0,"ng-container",14)(7,$ze,1,0,"ng-container",14),v(),D(8,"div",27),$(9,Lze,1,0,"ng-container",14)(10,Vze,1,0,"ng-container",14),v(),$(11,Nze,1,0,"div",28),v()),2&i){const e=C(),t=ae(4),n=ae(8),r=ae(10),s=ae(6),o=ae(12),l=ae(14),u=ae(16);b("ngTemplateOutlet",t),f(3),b("ngTemplateOutlet",n),f(1),b("ngTemplateOutlet",r),f(2),b("ngTemplateOutlet",s),f(1),b("ngTemplateOutlet",o),f(2),b("ngTemplateOutlet",l),f(1),b("ngTemplateOutlet",u),f(1),b("ngIf",e.hasBorder)}}function Wze(i,a){1&i&&be(0)}function jze(i,a){1&i&&be(0)}function Gze(i,a){1&i&&be(0)}function zze(i,a){1&i&&be(0)}function Hze(i,a){1&i&&be(0)}function qze(i,a){1&i&&be(0)}function Uze(i,a){1&i&&be(0)}function Xze(i,a){if(1&i&&($(0,Wze,1,0,"ng-container",14),D(1,"div",22)(2,"div",23),$(3,jze,1,0,"ng-container",14)(4,Gze,1,0,"ng-container",14),v(),$(5,zze,1,0,"ng-container",14)(6,Hze,1,0,"ng-container",14),D(7,"div",27),$(8,qze,1,0,"ng-container",14)(9,Uze,1,0,"ng-container",14),v()()),2&i){C();const e=ae(4),t=ae(8),n=ae(10),r=ae(6),s=ae(12),o=ae(14),l=ae(16);b("ngTemplateOutlet",e),f(3),b("ngTemplateOutlet",t),f(1),b("ngTemplateOutlet",n),f(1),b("ngTemplateOutlet",r),f(1),b("ngTemplateOutlet",s),f(2),b("ngTemplateOutlet",o),f(1),b("ngTemplateOutlet",l)}}function Yze(i,a){1&i&&be(0)}function Kze(i,a){if(1&i&&(Re(0),$(1,Yze,1,0,"ng-container",14),Pe()),2&i){C(2);const e=ae(22);f(1),b("ngTemplateOutlet",e)}}function Zze(i,a){1&i&&be(0)}function Qze(i,a){if(1&i&&(Re(0),$(1,Zze,1,0,"ng-container",14),Pe()),2&i){C(2);const e=ae(20);f(1),b("ngTemplateOutlet",e)}}function Jze(i,a){1&i&&be(0)}function e8e(i,a){if(1&i&&(Re(0),$(1,Jze,1,0,"ng-container",14),Pe()),2&i){C(2);const e=ae(20);f(1),b("ngTemplateOutlet",e)}}function t8e(i,a){1&i&&be(0)}function i8e(i,a){if(1&i&&(Re(0),$(1,t8e,1,0,"ng-container",14),Pe()),2&i){C(2);const e=ae(18);f(1),b("ngTemplateOutlet",e)}}function n8e(i,a){1&i&&(Re(0,30),$(1,Kze,2,1,"ng-container",31)(2,Qze,2,1,"ng-container",31)(3,e8e,2,1,"ng-container",31)(4,i8e,2,1,"ng-container",32),Pe()),2&i&&(b("ngSwitch",C().theme),f(1),b("ngSwitchCase","bootstrap"),f(1),b("ngSwitchCase","fluent"),f(1),b("ngSwitchCase","indigo-design"))}const sz=[[["igx-hint"],["","igxHint",""]],[["","igxLabel",""]],[["","igxInput",""]],[["igx-prefix"],["","igxPrefix",""]],[["igx-suffix"],["","igxSuffix",""]]],oz=["igx-hint, [igxHint]","[igxLabel]","[igxInput]","igx-prefix, [igxPrefix]","igx-suffix, [igxSuffix]"],sue=["display_container"];function a8e(i,a){}const r8e=["horizontal_container"],PB=["container"],s8e=["checkbox"],o8e=["label"],l8e=["placeholderLabel"];function u8e(i,a){1&i&&at(0,3,["*ngIf","iconTemplate"])}function c8e(i,a){if(1&i&&(D(0,"igx-icon"),L(1),v()),2&i){const e=C();f(1),Ge(" ",e.panel.collapsed?"expand_more":"expand_less"," ")}}const h8e=[[["igx-expansion-panel-title"]],[["igx-expansion-panel-description"]],"*",[["igx-expansion-panel-icon"]]],d8e=["igx-expansion-panel-title","igx-expansion-panel-description","*","igx-expansion-panel-icon"];function g8e(i,a){1&i&&at(0,1,["*ngIf","!collapsed"])}const p8e=[[["igx-expansion-panel-header"]],[["igx-expansion-panel-body"]]],m8e=["igx-expansion-panel-header","igx-expansion-panel-body"],b8e=[[["igx-drop-down-item"]]],y8e=["igx-drop-down-item"],x8e=[[["igx-prefix"],["","igxPrefix",""]],"*",[["igx-suffix"],["","igxSuffix",""]],[["igx-divider"]]],S8e=["igx-prefix, [igxPrefix]","*","igx-suffix, [igxSuffix]","igx-divider"],oue=["scrollContainer"];function D8e(i,a){1&i&&(Re(0),at(1),Pe())}const C8e=["menuItemTemplate"];function v8e(i,a){if(1&i&&(D(0,"igx-icon",4),L(1),v()),2&i){const e=C(2);b("family",e.iconSet)("name",e.iconName),f(1),me(e.iconName)}}function M8e(i,a){if(1&i&&(D(0,"igx-icon"),L(1),v()),2&i){const e=C(2);f(1),me(e.iconName)}}function w8e(i,a){if(1&i){const e=Te();Re(0),D(1,"button",2),G("click",function(n){return Y(e),K(C().handleClick(n))})("mousedown",function(n){return Y(e),K(C().preventEvent(n))}),$(2,v8e,2,3,"igx-icon",3)(3,M8e,2,1,"igx-icon",0),v(),Pe()}if(2&i){const e=C();f(1),b("title",e.labelText),f(1),b("ngIf",e.iconSet),f(1),b("ngIf",!e.iconSet)}}function T8e(i,a){if(1&i&&(D(0,"igx-icon",4),L(1),v()),2&i){const e=C(3);b("family",e.iconSet)("name",e.iconName),f(1),me(e.iconName)}}function I8e(i,a){if(1&i&&(D(0,"igx-icon"),L(1),v()),2&i){const e=C(3);f(1),me(e.iconName)}}function A8e(i,a){if(1&i&&(Re(0),D(1,"div",5,6),$(3,T8e,2,3,"igx-icon",3)(4,I8e,2,1,"igx-icon",0),D(5,"label",7),L(6),v()(),Pe()),2&i){const e=C(2);f(1),b("className",e.containerClass),f(2),b("ngIf",e.iconSet),f(1),b("ngIf",!e.iconSet),f(2),me(e.labelText)}}function k8e(i,a){1&i&&$(0,A8e,7,4,"ng-container",0),2&i&&b("ngIf",C().asMenuItem)}const lue=["igxDirRef"],E8e=["cell"],R8e=["dropdown"];function P8e(i,a){if(1&i&&(Re(0),D(1,"button",5),G("click",function(t){return t.stopPropagation()}),D(2,"igx-icon"),L(3,"more_vert"),v()(),Pe()),2&i){const e=C(),t=ae(4);f(1),b("igxToggleAction",t)("overlaySettings",e.menuOverlaySettings)("title",e.resourceStrings.igx_action_strip_button_more_title)("igxDropDownItemNavigation",t)}}function F8e(i,a){1&i&&be(0)}const ir=i=>({$implicit:i});function B8e(i,a){if(1&i&&(D(0,"igx-drop-down-item",6)(1,"div",7),$(2,F8e,1,0,"ng-container",8),v()()),2&i){const e=a.$implicit;f(2),b("ngTemplateOutlet",e.templateRef)("ngTemplateOutletContext",ln(2,ir,e))}}function $8e(i,a){if(1&i){const e=Te();D(0,"igx-grid-action-button",5),G("actionClick",function(n){return Y(e),K(C(2).startEdit(n))}),v()}if(2&i){const e=C(2);b("asMenuItem",e.asMenuItems)("labelText",e.grid.resourceStrings.igx_grid_actions_edit_label)}}function L8e(i,a){if(1&i){const e=Te();D(0,"igx-grid-action-button",6),G("actionClick",function(n){return Y(e),K(C(2).addRowHandler(n))}),v()}if(2&i){const e=C(2);b("asMenuItem",e.asMenuItems)("labelText",e.grid.resourceStrings.igx_grid_actions_add_label)}}function V8e(i,a){if(1&i){const e=Te();D(0,"igx-grid-action-button",7),G("actionClick",function(n){return Y(e),K(C(2).addRowHandler(n,!0))}),v()}if(2&i){const e=C(2);b("asMenuItem",e.asMenuItems)("labelText",e.grid.resourceStrings.igx_grid_actions_add_child_label)}}function N8e(i,a){if(1&i){const e=Te();D(0,"igx-grid-action-button",8),G("actionClick",function(n){return Y(e),K(C(2).deleteRowHandler(n))}),v()}if(2&i){const e=C(2);b("asMenuItem",e.asMenuItems)("labelText",e.grid.resourceStrings.igx_grid_actions_delete_label)}}function O8e(i,a){if(1&i&&(Re(0),$(1,$8e,1,2,"igx-grid-action-button",1)(2,L8e,1,2,"igx-grid-action-button",2)(3,V8e,1,2,"igx-grid-action-button",3)(4,N8e,1,2,"igx-grid-action-button",4),Pe()),2&i){const e=C();f(1),b("ngIf",!e.disabled&&e.editRow),f(1),b("ngIf",e.addRow&&e.isRootRow),f(1),b("ngIf",e.addChild&&e.hasChildren),f(1),b("ngIf",!e.disabled&&e.deleteRow)}}const q8e=["defaultTemplate"],U8e=["imageTemplate"],X8e=["initialsTemplate"],Y8e=["iconTemplate"];function K8e(i,a){1&i&&at(0)}function Z8e(i,a){1&i&&ce(0,"div",5,6),2&i&&$e("background-image",C().getSrcUrl())}function Q8e(i,a){if(1&i&&(D(0,"span"),L(1),v()),2&i){const e=C();f(1),me(e.initials.substring(0,2))}}function J8e(i,a){if(1&i&&(D(0,"igx-icon"),L(1),v()),2&i){const e=C();f(1),me(e.icon)}}function e7e(i,a){1&i&&be(0)}function t7e(i,a){if(1&i&&(D(0,"span",3),L(1),v()),2&i){const e=C();f(1),me(e.value)}}function i7e(i,a){if(1&i&&(D(0,"igx-icon"),L(1),v()),2&i){const e=C();f(1),me(e.icon)}}function n7e(i,a){if(1&i&&(D(0,"igx-icon",4),L(1),v()),2&i){const e=C();b("family",e.iconSet)("name",e.icon),f(1),me(e.icon)}}function c7e(i,a){if(1&i&&(D(0,"igx-icon"),L(1),v()),2&i){const e=C().$implicit;f(1),me(e.icon)}}function h7e(i,a){if(1&i&&(D(0,"span",5),L(1),v()),2&i){const e=C().$implicit;f(1),me(e.label)}}function d7e(i,a){if(1&i&&(D(0,"button",2)(1,"span"),$(2,c7e,2,1,"igx-icon",3)(3,h7e,2,1,"span",4),v()()),2&i){const e=a.$implicit,t=C();b("displayDensity",t.displayDensity)("selected",e.selected)("disabled",t.disabled||e.disabled)("igxButtonColor",e.color)("igxButtonBackground",e.bgcolor)("igxLabel",e.label)("igxRipple",e.ripple),ke("data-togglable",e.togglable),f(1),$g("igx-button-group__item-content ",t.itemContentCssClass,""),f(1),b("ngIf",e.icon),f(1),b("ngIf",e.label)}}const uue=["yearsBtn"];function g7e(i,a){if(1&i){const e=Te();D(0,"span",3),G("monthSelection",function(n){return Y(e),K(C().selectMonth(n))}),re(1,"date"),L(2),re(3,"titlecase"),v()}if(2&i){const e=a.$implicit,t=a.index,n=C();b("igxCalendarMonth",e)("date",n.date)("index",t),ke("aria-label",Wn(1,6,e,"LLLL"))("tabindex",n.activeMonth===e.getMonth()?0:-1),f(2),Ge(" ",Sr(3,9,n.formattedMonth(e))," ")}}function p7e(i,a){if(1&i){const e=Te();D(0,"span",3),G("yearSelection",function(n){return Y(e),K(C().selectYear(n))}),L(1),v()}if(2&i){const e=a.$implicit,t=C();b("igxCalendarYear",e)("date",t.date),f(1),Ge(" ",t.formattedYear(e)," ")}}function m7e(i,a){1&i&&(D(0,"div",4)(1,"span"),L(2,"Wk"),v()())}function f7e(i,a){if(1&i&&(D(0,"span",5),L(1),re(2,"titlecase"),v()),2&i){const e=a.$implicit;ke("aria-label",e),f(1),Ge(" ",Sr(2,2,e)," ")}}function _7e(i,a){if(1&i&&(D(0,"div",8)(1,"span",9),L(2),v()()),2&i){const e=C().$implicit,t=C();f(2),Ge(" ",t.getWeekNumber(e[0].date)," ")}}function b7e(i,a){if(1&i){const e=Te();D(0,"igx-day-item",10),G("focus",function(){const r=Y(e).$implicit;return K(C(2).activeDate=r.date.toLocaleDateString())})("dateSelection",function(n){return Y(e),K(C(2).selectDay(n))}),L(1),v()}if(2&i){const e=a.$implicit,t=C(2);b("date",e)("selection",t.selection)("selected",t.isSelected(e))("isLastInRange",t.isLastInRange(e))("isFirstInRange",t.isFirstInRange(e))("isWithinRange",t.isWithinRange(e.date,!0))("disabledDates",t.disabledDates)("specialDates",t.specialDates)("outOfRangeDates",t.outOfRangeDates)("hideOutsideDays",t.hideOutsideDays),ke("aria-selected",t.isSelected(e))("aria-disabled",t.isDateDisabled(e.date))("aria-label",t.isFirstInRange(e)?e.date.toDateString()+", "+t.resourceStrings.igx_calendar_range_start:t.isLastInRange(e)?e.date.toDateString()+", "+t.resourceStrings.igx_calendar_range_end:e.date.toDateString())("tabindex",t.tabIndex(e)),f(1),Ge(" ",t.formattedDate(e.date)," ")}}function y7e(i,a){if(1&i&&(D(0,"div",0),$(1,_7e,3,1,"div",6)(2,b7e,2,15,"igx-day-item",7),v()),2&i){const e=a.$implicit,t=C();f(1),b("ngIf",t.showWeekNumbers),f(1),b("ngForOf",e)("ngForTrackBy",t.dateTracker)}}const cue=["months"],hue=["decade"],lz=["days"],x7e=["prevMonthBtn"],S7e=["nextMonthBtn"],D7e=["monthsBtn"];function C7e(i,a){if(1&i&&(D(0,"span"),L(1),v(),D(2,"span"),L(3),v()),2&i){const e=C();f(1),Ge("",e.getFormattedDate().weekday,",\xa0"),f(2),me(e.getFormattedDate().monthday)}}function v7e(i,a){if(1&i&&(D(0,"span",10),L(1),re(2,"date"),re(3,"date"),v()),2&i){const e=C().$implicit,t=C();f(1),Ge(" ",t.monthsViewNumber>1?t.resourceStrings.igx_calendar_first_picker_of.replace("{0}",t.monthsViewNumber.toString())+" "+Wn(2,1,t.getViewDate(e.index),"LLLL yyyy"):t.resourceStrings.igx_calendar_selected_month_is+Wn(3,4,t.getViewDate(e.index),"LLLL yyyy")," ")}}function M7e(i,a){if(1&i){const e=Te();$(0,v7e,4,7,"span",6),D(1,"span",7,8),G("keydown",function(n){const s=Y(e).$implicit,o=C();return K(o.onActiveViewYearKB(o.getViewDate(s.index),n,s.index))})("click",function(){const r=Y(e).$implicit,s=C();return K(s.onActiveViewYear(s.getViewDate(r.index),r.index))}),re(3,"date"),L(4),v(),D(5,"span",7,9),G("keydown",function(n){const s=Y(e).$implicit,o=C();return K(o.onActiveViewDecadeKB(n,o.getViewDate(s.index),s.index))})("click",function(){const r=Y(e).$implicit,s=C();return K(s.onActiveViewDecade(s.getViewDate(r.index),r.index))}),re(7,"date"),L(8),v()}if(2&i){const e=a.$implicit,t=C();b("ngIf",t.monthsViewNumber<2||e.index<1),f(1),ke("aria-label",Wn(3,5,t.getViewDate(e.index),"LLLL")+" "+t.resourceStrings.igx_calendar_select_month),f(3),Ge(" ",t.formattedMonth(t.getViewDate(e.index))," "),f(1),ke("aria-label",Wn(7,8,t.getViewDate(e.index),"yyyy")+" "+t.resourceStrings.igx_calendar_select_year),f(3),Ge(" ",t.formattedYear(t.getViewDate(e.index))," ")}}function w7e(i,a){1&i&&be(0)}function T7e(i,a){if(1&i&&(D(0,"header",11)(1,"h5",12),L(2),v(),D(3,"h2",13),$(4,w7e,1,0,"ng-container",14),v()()),2&i){const e=C(),t=ae(1);f(2),Ge(" ",e.formattedYear(e.headerDate)," "),f(2),b("ngTemplateOutlet",e.headerTemplate?e.headerTemplate:t)("ngTemplateOutletContext",e.headerContext)}}function I7e(i,a){if(1&i&&(Re(0),L(1),Pe()),2&i){const e=C(2);f(1),Ge(" ",e.monthsViewNumber&&e.monthsViewNumber>1?e.resourceStrings.igx_calendar_multi_selection.replace("{0}",e.monthsViewNumber.toString()):e.resourceStrings.igx_calendar_singular_multi_selection," ")}}function A7e(i,a){if(1&i&&(Re(0),L(1),Pe()),2&i){const e=C(2);f(1),Ge(" ",e.monthsViewNumber&&e.monthsViewNumber>1?e.resourceStrings.igx_calendar_range_selection.replace("{0}",e.monthsViewNumber.toString()):e.resourceStrings.igx_calendar_singular_range_selection," ")}}function k7e(i,a){if(1&i&&(Re(0),L(1),Pe()),2&i){const e=C(2);f(1),Ge(" ",e.monthsViewNumber&&e.monthsViewNumber>1?e.resourceStrings.igx_calendar_single_selection.replace("{0}",e.monthsViewNumber.toString()):e.resourceStrings.igx_calendar_singular_single_selection," ")}}function E7e(i,a){1&i&&be(0)}function R7e(i,a){if(1&i&&(D(0,"div",27),re(1,"IgxGetViewDate"),$(2,E7e,1,0,"ng-container",14),v()),2&i){const e=a.index,t=C(2),n=ae(3);$e("width",100/t.monthsViewNumber,"%"),ke("data-month",$t(1,5,e,t.viewDate,!1)),f(2),b("ngTemplateOutlet",t.subheaderTemplate?t.subheaderTemplate:n)("ngTemplateOutletContext",t.getContext(e))}}function P7e(i,a){if(1&i){const e=Te();D(0,"igx-days-view",28,29),G("activeDateChange",function(n){return Y(e),K(C(2).activeDate=n)})("viewChanging",function(n){return Y(e),K(C(2).viewChanging(n))})("dateSelection",function(n){return Y(e),K(C(2).childClicked(n))})("monthsViewBlur",function(){return Y(e),K(C(2).resetActiveDate())}),re(2,"IgxGetViewDate"),v()}if(2&i){const e=a.index,t=C(2);b("changeDaysView",!0)("selection",t.selection)("locale",t.locale)("value",t.value)("activeDate",t.activeDate)("viewDate",Wn(2,13,e,t.viewDate))("weekStart",t.weekStart)("formatOptions",t.formatOptions)("formatViews",t.formatViews)("disabledDates",t.disabledDates)("specialDates",t.specialDates)("hideOutsideDays",t.hideOutsideDays)("showWeekNumbers",t.showWeekNumbers)}}const due=i=>({"min-width.%":i});function F7e(i,a){if(1&i){const e=Te();D(0,"div",15),G("@animateView.done",function(n){return Y(e),K(C().viewRendered(n))})("swiperight",function(){return Y(e),K(C().previousMonth())})("swipeleft",function(){return Y(e),K(C().nextMonth())})("pointerdown",function(){return Y(e),K(C().suppressBlur())}),D(1,"section",16)(2,"span",17),$(3,I7e,2,1,"ng-container",18)(4,A7e,2,1,"ng-container",18)(5,k7e,2,1,"ng-container",18),v(),D(6,"div",19,20),re(8,"date"),D(9,"igx-icon",21),L(10,"keyboard_arrow_left"),v()(),$(11,R7e,3,9,"div",22),re(12,"IgxMonthViewSlots"),D(13,"div",23,24),re(15,"date"),D(16,"igx-icon",21),L(17,"keyboard_arrow_right"),v()()(),D(18,"section",25),G("@animateChange.done",function(n){return Y(e),K(C().animationDone(n))}),$(19,P7e,3,16,"igx-days-view",26),re(20,"IgxMonthViewSlots"),v()()}if(2&i){const e=C();b("@animateView",e.activeView),f(3),b("ngIf","multi"===e.selection),f(1),b("ngIf","range"===e.selection),f(1),b("ngIf","single"===e.selection),f(1),b("startScroll",e.startPrevMonthScroll)("stopScroll",e.stopMonthScroll)("ngStyle",ln(25,due,100/(7*e.monthsViewNumber))),ke("aria-label",e.resourceStrings.igx_calendar_previous_month+", "+Wn(8,15,e.getPrevMonth(e.viewDate),"LLLL")),f(5),b("ngForOf",Sr(12,18,e.monthsViewNumber)),f(2),b("startScroll",e.startNextMonthScroll)("stopScroll",e.stopMonthScroll)("ngStyle",ln(27,due,100/(7*e.monthsViewNumber))),ke("aria-label",e.resourceStrings.igx_calendar_next_month+", "+Wn(15,20,e.getNextMonth(e.viewDate,e.monthsViewNumber),"LLLL")),f(5),b("@animateChange",e.animationAction),f(1),b("ngForOf",Sr(20,23,e.monthsViewNumber))}}function B7e(i,a){if(1&i){const e=Te();D(0,"igx-months-view",30,31),G("@animateView.done",function(n){return Y(e),K(C().viewRendered(n))})("selected",function(n){return Y(e),K(C().changeMonth(n))}),v()}if(2&i){const e=C();b("@animateView",e.activeView)("date",e.viewDate)("locale",e.locale)("formatView",e.formatViews.month)("monthFormat",e.formatOptions.month)}}function $7e(i,a){if(1&i){const e=Te();D(0,"igx-years-view",32,33),G("@animateView.done",function(n){return Y(e),K(C().viewRendered(n))})("selected",function(n){return Y(e),K(C().changeYear(n))}),v()}if(2&i){const e=C();b("@animateView",e.activeView)("date",e.viewDate)("locale",e.locale)("formatView",e.formatViews.year)("yearFormat",e.formatOptions.year)}}const W7e=[[["igx-avatar"],["igx-card-media"],["","igxCardThumbnail",""]],[["","igxCardHeaderTitle",""],["","igxCardHeaderSubtitle",""],["",8,"igx-card-header__title"],["",8,"igx-card-header__subtitle"]],"*"],j7e=["igx-avatar, igx-card-media, [igxCardThumbnail]","\n [igxCardHeaderTitle],\n [igxCardHeaderSubtitle],\n .igx-card-header__title,\n .igx-card-header__subtitle","*"],G7e=[[["","igxStart",""],["","igxButton","",3,"igxButton","icon",3,"igxEnd",""]],"*",[["","igxEnd",""],["","igxButton","icon",3,"igxStart",""],["igx-icon",3,"igxStart",""]]],z7e=["[igxStart], [igxButton]:not([igxButton='icon']):not([igxEnd])","*","[igxEnd], [igxButton='icon']:not([igxStart]), igx-icon:not([igxStart])"],gue=["defaultIndicator"],pue=["chipArea"],a9e=["defaultRemoveIcon"],r9e=["defaultSelectIcon"];function s9e(i,a){1&i&&be(0)}function o9e(i,a){if(1&i&&(D(0,"div",10),$(1,s9e,1,0,"ng-container",11),v()),2&i){const e=C();b("ngClass",e.selectClass(e.selected)),f(1),b("ngTemplateOutlet",e.selectIconTemplate)}}function l9e(i,a){1&i&&be(0)}function u9e(i,a){if(1&i){const e=Te();D(0,"div",12),G("keydown",function(n){return Y(e),K(C().onRemoveBtnKeyDown(n))})("pointerdown",function(n){return Y(e),K(C().onRemoveMouseDown(n))})("mousedown",function(n){return Y(e),K(C().onRemoveMouseDown(n))})("click",function(n){return Y(e),K(C().onRemoveClick(n))})("touchmove",function(){return Y(e),K(C().onRemoveTouchMove())})("touchend",function(n){return Y(e),K(C().onRemoveTouchEnd(n))}),$(1,l9e,1,0,"ng-container",11),v()}if(2&i){const e=C();ke("tabIndex",e.tabIndex),f(1),b("ngTemplateOutlet",e.removeButtonTemplate)}}function c9e(i,a){1&i&&(D(0,"igx-icon"),L(1,"done"),v()),2&i&&ke("aria-label",C().resourceStrings.igx_chip_select)}function h9e(i,a){1&i&&(D(0,"igx-icon"),L(1,"cancel"),v()),2&i&&ke("aria-label",C().resourceStrings.igx_chip_remove)}const uz=[[["igx-prefix"],["","igxPrefix",""]],"*",[["igx-suffix"],["","igxSuffix",""]]],d9e=i=>({chip:i}),mue=["igx-prefix,[igxPrefix]","*","igx-suffix,[igxSuffix]"];function g9e(i,a){if(1&i){const e=Te();Re(0),D(1,"igx-checkbox",2),G("click",function(n){return Y(e),K(C().disableCheck(n))}),v(),Pe()}if(2&i){const e=C();f(1),b("checked",e.selected)("readonly",!0)("disableRipple",!0)("disableTransitions",e.disableTransitions)("tabindex",-1)}}const cz=["inputGroup"],p9e=["comboInput"],m9e=["searchInput"],f9e=["dropdownItemContainer"],_9e=["primitive"],b9e=["complex"];function y9e(i,a){1&i&&(Re(0),at(1),Pe())}function x9e(i,a){1&i&&be(0)}function S9e(i,a){if(1&i&&(Re(0),$(1,x9e,1,0,"ng-container",15),Pe()),2&i){const e=C(2);f(1),b("ngTemplateOutlet",e.clearIconTemplate)}}function D9e(i,a){if(1&i&&(D(0,"igx-icon"),L(1),v()),2&i){const e=C(2);f(1),Ge(" ",e.clearIcon," ")}}function C9e(i,a){if(1&i){const e=Te();D(0,"igx-suffix",25),G("click",function(n){return Y(e),K(C().handleClearItems(n))}),$(1,S9e,2,1,"ng-container",10)(2,D9e,2,1,"igx-icon",10),v()}if(2&i){const e=C();f(1),b("ngIf",e.clearIconTemplate),f(1),b("ngIf",!e.clearIconTemplate)}}function v9e(i,a){1&i&&be(0)}function M9e(i,a){if(1&i&&(Re(0),$(1,v9e,1,0,"ng-container",26),Pe()),2&i){const e=C();f(1),b("ngTemplateOutlet",e.toggleIconTemplate)("ngTemplateOutletContext",ln(2,ir,e.collapsed))}}function w9e(i,a){if(1&i&&(D(0,"igx-icon"),L(1),v()),2&i){const e=C();f(1),Ge(" ",e.toggleIcon," ")}}function T9e(i,a){if(1&i){const e=Te();D(0,"igx-suffix",31),G("click",function(){return Y(e),K(C(2).toggleCaseSensitive())}),D(1,"span",32),ce(2,"igx-icon",33),v()()}if(2&i){const e=C(2);f(1),b("ngClass",e.filteringOptions.caseSensitive?"igx-combo__case-icon--active":"igx-combo__case-icon"),f(1),b("active",e.filteringOptions.caseSensitive)}}function I9e(i,a){if(1&i){const e=Te();D(0,"igx-input-group",27)(1,"input",28,29),G("ngModelChange",function(n){return Y(e),K(C().searchValue=n)})("ngModelChange",function(n){return Y(e),K(C().handleInputChange(n))})("keyup",function(n){return Y(e),K(C().handleKeyUp(n))})("keydown",function(n){return Y(e),K(C().handleKeyDown(n))})("focus",function(n){return Y(e),K(C().dropdown.onBlur(n))}),v(),$(3,T9e,3,2,"igx-suffix",30),v()}if(2&i){const e=C();b("displayDensity",e.displayDensity),f(1),b("ngModel",e.searchValue),ke("placeholder",e.searchPlaceholder),f(2),b("ngIf",e.showSearchCaseIcon)}}function A9e(i,a){1&i&&be(0)}function k9e(i,a){1&i&&be(0)}const fue=(i,a,e,t,n)=>({$implicit:i,data:a,valueKey:e,groupKey:t,displayKey:n});function E9e(i,a){if(1&i&&(Re(0),$(1,k9e,1,0,"ng-container",26),Pe()),2&i){const e=C().$implicit,t=C(),n=ae(37);f(1),b("ngTemplateOutlet",t.headerItemTemplate?t.headerItemTemplate:n)("ngTemplateOutletContext",Na(2,fue,e,t.data,t.valueKey,t.groupKey,t.displayKey))}}function R9e(i,a){1&i&&be(0,null,35)}const _ue=(i,a,e,t)=>({$implicit:i,data:a,valueKey:e,displayKey:t});function P9e(i,a){if(1&i&&(Re(0),$(1,R9e,2,0,"ng-container",26),Pe()),2&i){const e=C().$implicit,t=C();f(1),b("ngTemplateOutlet",t.template)("ngTemplateOutletContext",jp(2,_ue,e,t.data,t.valueKey,t.displayKey))}}function F9e(i,a){if(1&i&&(D(0,"igx-combo-item",34),$(1,E9e,2,8,"ng-container",10)(2,P9e,2,7,"ng-container",10),v()),2&i){const e=a.$implicit,t=a.index;b("itemHeight",C().itemHeight)("value",e)("isHeader",null==e?null:e.isHeader)("index",t)("role",null!=e&&e.isHeader?"group":"option"),f(1),b("ngIf",null==e?null:e.isHeader),f(1),b("ngIf",!(null!=e&&e.isHeader))}}function B9e(i,a){1&i&&be(0)}function $9e(i,a){if(1&i&&(D(0,"div",39),$(1,B9e,1,0,"ng-container",15),v()),2&i){const e=C(2),t=ae(33);f(1),b("ngTemplateOutlet",e.emptyTemplate?e.emptyTemplate:t)}}function L9e(i,a){1&i&&be(0)}function V9e(i,a){if(1&i&&(D(0,"igx-combo-add-item",40),$(1,L9e,1,0,"ng-container",15),v()),2&i){const e=C(2),t=ae(35);b("itemHeight",e.itemHeight)("tabindex",e.dropdown.collapsed?-1:e.customValueFlag?1:-1)("index",e.virtualScrollContainer.igxForOf.length),f(1),b("ngTemplateOutlet",e.addItemTemplate?e.addItemTemplate:t)}}function N9e(i,a){if(1&i&&(D(0,"div",36),$(1,$9e,2,1,"div",37)(2,V9e,2,4,"igx-combo-add-item",38),v()),2&i){const e=C();f(1),b("ngIf",0===e.filteredData.length),f(1),b("ngIf",e.isAddButtonVisible())}}function O9e(i,a){1&i&&be(0)}function W9e(i,a){1&i&&L(0),2&i&&Ge(" ",a.$implicit[a.displayKey],"\n")}function j9e(i,a){1&i&&L(0),2&i&&Ge(" ",a.$implicit,"\n")}function G9e(i,a){if(1&i&&(D(0,"span"),L(1),v()),2&i){const e=C();f(1),me(e.resourceStrings.igx_combo_empty_message)}}function z9e(i,a){1&i&&(D(0,"button",41),L(1,"Add item"),v())}function H9e(i,a){1&i&&L(0),2&i&&Ge(" ",a.$implicit[a.valueKey],"\n")}const bue=[[["","igxLabel",""]],[["igx-prefix"]],[["igx-hint"],["","igxHint",""]],[["igx-suffix"]]],br=(i,a,e,t,n)=>[i,a,e,t,n],yue=["[igxLabel]","igx-prefix","igx-hint, [igxHint]","igx-suffix"];function _He(i,a){if(1&i){const e=Te();D(0,"button",5,6),G("click",function(){Y(e);const n=C(3);return K(n.calendarClose.emit({owner:n}))}),L(2),v()}if(2&i){const e=C(3);f(2),Ge(" ",e.closeButtonLabel," ")}}function bHe(i,a){if(1&i){const e=Te();D(0,"button",5,7),G("click",function(){Y(e);const n=C(3);return K(n.todaySelection.emit({owner:n}))}),L(2),v()}if(2&i){const e=C(3);f(2),Ge(" ",e.todayButtonLabel," ")}}function yHe(i,a){if(1&i&&(D(0,"div",3),$(1,_He,3,1,"button",4)(2,bHe,3,1,"button",4),v()),2&i){const e=C(2);f(1),b("ngIf",e.closeButtonLabel),f(1),b("ngIf",e.todayButtonLabel)}}function xHe(i,a){if(1&i&&$(0,yHe,3,2,"div",2),2&i){const e=C();b("ngIf",e.closeButtonLabel||e.todayButtonLabel)}}function SHe(i,a){1&i&&be(0)}function DHe(i,a){if(1&i){const e=Te();D(0,"igx-prefix",7),G("click",function(){return Y(e),K(C().toggle())}),D(1,"igx-icon",8),L(2,"today"),v()()}if(2&i){const e=C();f(1),b("title",e.value?e.pickerResourceStrings.igx_date_picker_change_date:e.pickerResourceStrings.igx_date_picker_choose_date)}}function CHe(i,a){if(1&i){const e=Te();D(0,"igx-suffix",7),G("click",function(){return Y(e),K(C().clear())}),D(1,"igx-icon"),L(2,"clear"),v()()}}const xue=[[["","igxLabel",""]],[["igx-prefix"],["","igxPrefix",""]],[["igx-suffix"],["","igxSuffix",""]],[["igx-hint"],["","igxHint",""]]],Sue=["[igxLabel]","igx-prefix,[igxPrefix]","igx-suffix,[igxSuffix]","igx-hint,[igxHint]"];function vHe(i,a){if(1&i&&(D(0,"div",9),L(1),v()),2&i){const e=C();ke("id",e.titleId),f(1),Ge(" ",e.title," ")}}function MHe(i,a){1&i&&at(0,0,["*ngIf","!title"])}function wHe(i,a){if(1&i&&(D(0,"span",10),L(1),v()),2&i){const e=C();f(1),me(e.message)}}function THe(i,a){1&i&&at(0,1,["*ngIf","!message"])}function IHe(i,a){if(1&i){const e=Te();D(0,"button",13),G("click",function(n){return Y(e),K(C(2).onInternalLeftButtonSelect(n))}),L(1),v()}if(2&i){const e=C(2);Cu("igxButtonColor",e.leftButtonColor),Cu("igxButtonBackground",e.leftButtonBackgroundColor),Cu("igxRipple",e.leftButtonRipple),b("igxFocus",e.isOpen)("igxButton",e.leftButtonType),f(1),Ge(" ",e.leftButtonLabel," ")}}function AHe(i,a){if(1&i){const e=Te();D(0,"button",13),G("click",function(n){return Y(e),K(C(2).onInternalRightButtonSelect(n))}),L(1),v()}if(2&i){const e=C(2);Cu("igxButtonColor",e.rightButtonColor),Cu("igxButtonBackground",e.rightButtonBackgroundColor),Cu("igxRipple",e.rightButtonRipple),b("igxFocus",e.isOpen)("igxButton",e.rightButtonType),f(1),Ge(" ",e.rightButtonLabel," ")}}function kHe(i,a){if(1&i&&(D(0,"div",11),$(1,IHe,2,6,"button",12)(2,AHe,2,6,"button",12),v()),2&i){const e=C();f(1),b("ngIf",e.leftButtonLabel),f(1),b("ngIf",e.rightButtonLabel)}}function EHe(i,a){1&i&&at(0,2,["*ngIf","!leftButtonLabel && !rightButtonLabel"])}const RHe=[[["igx-dialog-title"],["","igxDialogTitle",""]],"*",[["igx-dialog-actions"],["","igxDialogActions",""]]],PHe=["igx-dialog-title,[igxDialogTitle]","*","igx-dialog-actions,[igxDialogActions]"];function FHe(i,a){if(1&i&&(D(0,"h4",7),L(1),v()),2&i){const e=C();ke("id",e.titleID),f(1),me(e.title)}}function BHe(i,a){if(1&i){const e=Te();D(0,"igx-input-group",8)(1,"input",9),G("ngModelChange",function(n){return Y(e),K(C().filterCriteria=n)}),v()()}if(2&i){const e=C();f(1),b("ngModel",e.filterCriteria)("placeholder",e.filterColumnsPrompt),ke("aria-describedby",e.titleID)}}function $He(i,a){if(1&i){const e=Te();D(0,"igx-checkbox",10),G("click",function(){const r=Y(e).$implicit;return K(C().toggleColumn(r))}),L(1),v()}if(2&i){const e=a.$implicit,t=C();$e("margin-left",e.level*t.indentation,"px"),b("readonly",!0)("checked",t.actionsDirective.columnChecked(e)),f(1),Ge(" ",e.header||e.field," ")}}const LHe=["igx-prefix, [igxPrefix]","*","igx-suffix, [igxSuffix]"],FB=["input"];function VHe(i,a){1&i&&be(0)}function NHe(i,a){if(1&i&&(Re(0),$(1,VHe,1,0,"ng-container",15),Pe()),2&i){const e=C();f(1),b("ngTemplateOutlet",e.toggleIconTemplate)("ngTemplateOutletContext",ln(2,ir,e.collapsed))}}function OHe(i,a){if(1&i&&(D(0,"igx-icon"),L(1),v()),2&i){const e=C(),t=ae(1);f(1),Ge(" ","material"===t.theme?e.collapsed?"expand_more":"expand_less":e.collapsed?"arrow_drop_down":"arrow_drop_up"," ")}}function WHe(i,a){1&i&&at(0,5,["*ngTemplateOutlet","headerTemplate"])}function jHe(i,a){if(1&i&&(D(0,"div",16),$(1,WHe,1,0,"ng-content",17),v()),2&i){const e=C();f(1),b("ngTemplateOutlet",e.headerTemplate)}}function GHe(i,a){1&i&&be(0)}function zHe(i,a){if(1&i&&(D(0,"div",18),$(1,GHe,1,0,"ng-container",17),v()),2&i){const e=C();f(1),b("ngTemplateOutlet",e.footerTemplate)}}const HHe=[[["","igxLabel",""]],[["igx-prefix"],["","igxPrefix",""]],[["igx-suffix"],["","igxSuffix",""]],[["igx-hint"],["","igxHint",""]],[["igx-select-item"],["igx-select-item-group"]],"*"],qHe=["[igxLabel]","igx-prefix,[igxPrefix]","igx-suffix,[igxSuffix]","igx-hint, [igxHint]","igx-select-item, igx-select-item-group","*"],UHe=["hourList"],XHe=["minuteList"],YHe=["secondsList"],KHe=["ampmList"];function ZHe(i,a){if(1&i){const e=Te();D(0,"igx-prefix",15),G("click",function(){return Y(e),K(C().toggle())}),D(1,"igx-icon",16),L(2,"access_time"),v()()}if(2&i){const e=C();f(1),b("title",e.value?e.resourceStrings.igx_time_picker_change_time:e.resourceStrings.igx_time_picker_choose_time)}}function QHe(i,a){if(1&i){const e=Te();D(0,"igx-suffix",15),G("click",function(n){return Y(e),C().clear(),K(n.stopPropagation())}),D(1,"igx-icon"),L(2,"clear"),v()()}}function JHe(i,a){if(1&i){const e=Te();D(0,"button",20),G("click",function(){return Y(e),K(C(3).cancelButtonClick())}),L(1),v()}if(2&i){const e=C(3);f(1),Ge(" ",e.cancelButtonLabel," ")}}function eqe(i,a){if(1&i){const e=Te();D(0,"button",20),G("click",function(){return Y(e),K(C(3).okButtonClick())}),L(1),v()}if(2&i){const e=C(3);f(1),Ge(" ",e.okButtonLabel," ")}}function tqe(i,a){if(1&i&&(D(0,"div",18),$(1,JHe,2,1,"button",19)(2,eqe,2,1,"button",19),v()),2&i){const e=C(2);f(1),b("ngIf",e.cancelButtonLabel),f(1),b("ngIf",e.okButtonLabel)}}function iqe(i,a){if(1&i&&$(0,tqe,3,2,"div",17),2&i){const e=C();b("ngIf",e.cancelButtonLabel||e.okButtonLabel)}}function nqe(i,a){if(1&i&&(D(0,"div",21)(1,"h2",22)(2,"span"),L(3),re(4,"timeFormatPipe"),v()()()),2&i){const e=C();f(3),me(Sr(4,1,e.selectedDate))}}function aqe(i,a){if(1&i&&(D(0,"span",26,27),L(2),v()),2&i){const e=a.$implicit,t=ae(1);b("igxTimeItem",e),ke("role",t.isSelectedTime?"spinbutton":null)("aria-valuenow",t.isSelectedTime?t.hourValue:null)("aria-valuemin",t.isSelectedTime?t.minValue:null)("aria-valuemax",t.isSelectedTime?t.maxValue:null),f(2),me(e)}}const rqe=(i,a,e,t)=>[i,"hour",a,e,t];function sqe(i,a){if(1&i&&(D(0,"div",23,24),$(2,aqe,3,6,"span",25),re(3,"timeItemPipe"),v()),2&i){const e=C();b("igxItemList","hourList"),f(2),b("ngForOf",Xt(3,2,jp(8,rqe,e.hourItems,e.selectedDate,e.minDropdownValue,e.maxDropdownValue)))}}function oqe(i,a){if(1&i&&(D(0,"span",30,27),L(2),v()),2&i){const e=a.$implicit,t=ae(1);b("igxTimeItem",e),ke("role",t.isSelectedTime?"spinbutton":null)("aria-valuenow",t.isSelectedTime?e:null)("aria-valuemin",t.isSelectedTime?t.minValue:null)("aria-valuemax",t.isSelectedTime?t.maxValue:null),f(2),me(e)}}const lqe=(i,a,e,t)=>[i,"minutes",a,e,t];function uqe(i,a){if(1&i&&(D(0,"div",23,28),$(2,oqe,3,6,"span",29),re(3,"timeItemPipe"),v()),2&i){const e=C();b("igxItemList","minuteList"),f(2),b("ngForOf",Xt(3,2,jp(8,lqe,e.minuteItems,e.selectedDate,e.minDropdownValue,e.maxDropdownValue)))}}function cqe(i,a){if(1&i&&(D(0,"span",33,27),L(2),v()),2&i){const e=a.$implicit,t=ae(1);b("igxTimeItem",e),ke("role",t.isSelectedTime?"spinbutton":null)("aria-valuenow",t.isSelectedTime?e:null)("aria-valuemin",t.isSelectedTime?t.minValue:null)("aria-valuemax",t.isSelectedTime?t.maxValue:null),f(2),me(e)}}const hqe=(i,a,e,t)=>[i,"seconds",a,e,t];function dqe(i,a){if(1&i&&(D(0,"div",23,31),$(2,cqe,3,6,"span",32),re(3,"timeItemPipe"),v()),2&i){const e=C();b("igxItemList","secondsList"),f(2),b("ngForOf",Xt(3,2,jp(8,hqe,e.secondsItems,e.selectedDate,e.minDropdownValue,e.maxDropdownValue)))}}function gqe(i,a){if(1&i&&(D(0,"span",36,27),L(2),v()),2&i){const e=a.$implicit,t=ae(1);b("igxTimeItem",e),ke("role",t.isSelectedTime?"spinbutton":null)("aria-valuenow",t.isSelectedTime?e:null)("aria-valuemin",t.isSelectedTime?t.minValue:null)("aria-valuemax",t.isSelectedTime?t.maxValue:null),f(2),me(e)}}const pqe=(i,a,e,t)=>[i,"ampm",a,e,t];function mqe(i,a){if(1&i&&(D(0,"div",23,34),$(2,gqe,3,6,"span",35),re(3,"timeItemPipe"),v()),2&i){const e=C();b("igxItemList","ampmList"),f(2),b("ngForOf",Xt(3,2,jp(8,pqe,e.ampmItems,e.selectedDate,e.minDropdownValue,e.maxDropdownValue)))}}function fqe(i,a){1&i&&be(0)}const _qe=(i,a)=>({"igx-time-picker--dropdown":i,"igx-time-picker--vertical":a});function bqe(i,a){if(1&i&&(D(0,"div",3)(1,"div",4)(2,"span"),L(3),v()(),D(4,"div",5)(5,"span"),L(6),v()()()),2&i){const e=C();f(3),me(e.resourceStrings.igx_query_builder_and_label),f(3),me(e.resourceStrings.igx_query_builder_or_label)}}const yqe=["fieldSelect"],xqe=["conditionSelect"],Sqe=["searchValueInput"],hz=["picker"],Dqe=["addRootAndGroupButton"],Cqe=["addConditionButton"],vqe=["editingInputsContainer"],Mqe=["addModeContainer"],wqe=["currentGroupButtonsContainer"],Due=["expressionsContainer"],Cue=["overlayOutlet"];function Tqe(i,a){1&i&&ce(0,"igx-query-builder-header",11),2&i&&b("title",C().resourceStrings.igx_query_builder_title)}function Iqe(i,a){if(1&i){const e=Te();Re(0),D(1,"button",12,13),G("click",function(){return Y(e),K(C().addAndGroup())}),D(3,"igx-icon"),L(4,"add"),v(),D(5,"span"),L(6),v()(),D(7,"button",12),G("click",function(){return Y(e),K(C().addOrGroup())}),D(8,"igx-icon"),L(9,"add"),v(),D(10,"span"),L(11),v()(),D(12,"div",14)(13,"h6",15),L(14),v()(),Pe()}if(2&i){const e=C();f(1),b("displayDensity",e.displayDensity),f(5),me(e.resourceStrings.igx_query_builder_and_group),f(1),b("displayDensity",e.displayDensity),f(4),me(e.resourceStrings.igx_query_builder_or_group),f(3),Ge(" ",e.resourceStrings.igx_query_builder_initial_text," ")}}function Aqe(i,a){if(1&i){const e=Te();D(0,"button",16,17),G("click",function(){const n=Y(e),r=n.$implicit,s=n.afterExpression;return K(C().addCondition(r,s))}),D(2,"igx-icon"),L(3,"add"),v(),D(4,"span"),L(5),v()(),D(6,"button",16),G("click",function(){const n=Y(e),r=n.$implicit,s=n.afterExpression;return K(C().addAndGroup(r,s))}),D(7,"igx-icon"),L(8,"add"),v(),D(9,"span"),L(10),v()(),D(11,"button",16),G("click",function(){const n=Y(e),r=n.$implicit,s=n.afterExpression;return K(C().addOrGroup(r,s))}),D(12,"igx-icon"),L(13,"add"),v(),D(14,"span"),L(15),v()()}if(2&i){const e=C();b("displayDensity",e.displayDensity)("disabled",e.hasEditedExpression),f(5),me(e.resourceStrings.igx_query_builder_add_condition),f(1),b("displayDensity",e.displayDensity)("disabled",e.hasEditedExpression),f(4),me(e.resourceStrings.igx_query_builder_and_group),f(1),b("displayDensity",e.displayDensity)("disabled",e.hasEditedExpression),f(4),me(e.resourceStrings.igx_query_builder_or_group)}}function kqe(i,a){if(1&i&&(D(0,"span",28),L(1),re(2,"fieldFormatter"),re(3,"date"),v()),2&i){const e=C(2).$implicit,t=C();f(1),Ge(" ",t.isDate(e.expression.searchVal)?t.getFormatter(e.expression.fieldName)?$t(2,1,e.expression.searchVal,t.getFormatter(e.expression.fieldName),void 0):Qn(3,5,e.expression.searchVal,t.getFormat(e.expression.fieldName),void 0,t.locale):e.expression.searchVal," ")}}function Eqe(i,a){if(1&i){const e=Te();D(0,"igx-icon",30),G("keydown",function(n){return Y(e),K(C(4).invokeClick(n))})("click",function(){Y(e);const n=C(3).$implicit;return K(C().enterExpressionAdd(n))}),L(1," add "),v()}}function Rqe(i,a){if(1&i){const e=Te();D(0,"div",29)(1,"igx-icon",30),G("keydown",function(n){return Y(e),K(C(3).invokeClick(n))})("click",function(){Y(e);const n=C(2).$implicit;return K(C().enterExpressionEdit(n))}),L(2," edit "),v(),$(3,Eqe,2,0,"igx-icon",31),v()}if(2&i){const e=C(2).$implicit,t=C();f(3),b("ngIf",!e.inAddMode&&(e.parent!==t.currentGroup||e!==t.currentGroup.children[t.currentGroup.children.length-1]))}}function Pqe(i,a){if(1&i){const e=Te();D(0,"div",21),G("mouseenter",function(){return Y(e),K(C().$implicit.hovered=!0)})("mouseleave",function(){return Y(e),K(C().$implicit.hovered=!1)}),D(1,"igx-chip",22),G("keydown",function(n){return Y(e),K(C(2).invokeClick(n))})("click",function(){Y(e);const n=C().$implicit;return K(C().onChipClick(n))})("dblclick",function(){Y(e);const n=C().$implicit;return K(C().onChipDblClick(n))})("remove",function(){Y(e);const n=C().$implicit;return K(C().onChipRemove(n))})("selectedChanged",function(){return Y(e),K(C(2).onChipSelectionEnd())}),D(2,"span",23),L(3),v(),D(4,"igx-prefix"),ce(5,"igx-icon",24),v(),D(6,"span",25),L(7),v(),$(8,kqe,4,10,"span",26),v(),$(9,Rqe,4,1,"div",27),v()}if(2&i){const e=C().$implicit,t=C();f(1),b("data",e)("displayDensity","compact"===t.displayDensity?"cosy":t.displayDensity)("removable",!0)("selected",e.selected),f(2),me(e.fieldLabel||e.expression.fieldName),f(2),b("name",e.expression.condition.iconName),f(2),Ge(" ",t.getConditionFriendlyName(e.expression.condition.name)," "),f(1),b("ngIf",!e.expression.condition.isUnary),f(1),b("ngIf",e.selected&&1===t.selectedExpressions.length||e.hovered)}}function Fqe(i,a){if(1&i&&(D(0,"igx-select-item",47),L(1),v()),2&i){const e=a.$implicit;b("value",e),f(1),Ge(" ",e.label||e.header||e.field," ")}}function Bqe(i,a){if(1&i&&(D(0,"igx-prefix"),ce(1,"igx-icon",24),v()),2&i){C();const e=ae(6),t=C(2);f(1),b("name",t.selectedField.filters.condition(e.value).iconName)}}function $qe(i,a){if(1&i&&(D(0,"igx-select-item",48)(1,"div",49),ce(2,"igx-icon",24),D(3,"span",50),L(4),v()()()),2&i){const e=a.$implicit,t=C(3);b("value",e)("text",t.getConditionFriendlyName(e)),f(2),b("name",t.selectedField.filters.condition(e).iconName),f(2),me(t.getConditionFriendlyName(e))}}function Lqe(i,a){if(1&i){const e=Te();D(0,"igx-input-group",51)(1,"input",52,53),G("ngModelChange",function(n){return Y(e),K(C(3).searchValue=n)}),v()()}if(2&i){const e=C(3);b("displayDensity","compact"),f(1),b("disabled",!e.selectedField||!e.selectedCondition||e.selectedField&&e.selectedField.filters.condition(e.selectedCondition).isUnary)("type",e.selectedField&&"number"===e.selectedField.dataType?"number":"text")("placeholder",e.resourceStrings.igx_query_builder_value_placeholder)("ngModel",e.searchValue)}}function Vqe(i,a){if(1&i){const e=Te();D(0,"igx-date-picker",54,55),G("valueChange",function(n){return Y(e),K(C(3).searchValue=n)})("keydown",function(n){return Y(e),K(C(3).openPicker(n))})("click",function(){return Y(e),K(ae(1).open())}),ce(2,"igx-picker-toggle")(3,"igx-picker-clear"),v()}if(2&i){const e=C(3);b("value",e.searchValue)("readOnly",!0)("displayDensity","compact")("placeholder",e.resourceStrings.igx_query_builder_date_placeholder)("disabled",!e.selectedField||!e.selectedCondition||e.selectedField&&e.selectedField.filters.condition(e.selectedCondition).isUnary)("locale",e.locale)("outlet",e.pickerOutlet)("formatter",e.selectedField.formatter)("displayFormat",e.selectedField.pipeArgs.format)("weekStart",e.selectedField.pipeArgs.weekStart)}}function Nqe(i,a){if(1&i){const e=Te();D(0,"igx-time-picker",56,55),G("valueChange",function(n){return Y(e),K(C(3).searchValue=n)})("click",function(){return Y(e),K(ae(1).open())})("keydown",function(n){return Y(e),K(C(3).openPicker(n))}),ce(2,"igx-picker-toggle")(3,"igx-picker-clear"),v()}if(2&i){const e=C(3);b("value",e.searchValue)("displayDensity","compact")("placeholder",e.resourceStrings.igx_query_builder_time_placeholder)("readOnly",!0)("disabled",!e.selectedField||!e.selectedCondition||e.selectedField&&e.selectedField.filters.condition(e.selectedCondition).isUnary)("locale",e.locale)("outlet",e.pickerOutlet)("formatter",e.selectedField.formatter)("inputFormat",e.selectedField.defaultTimeFormat)}}function Oqe(i,a){if(1&i){const e=Te();D(0,"igx-input-group",57,58)(2,"input",59,60),G("ngModelChange",function(n){return Y(e),K(C(3).searchValue=n)}),v()()}if(2&i){const e=C(3);b("displayDensity","compact"),f(2),b("placeholder",e.resourceStrings.igx_query_builder_date_placeholder)("ngModel",e.searchValue)("disabled",!e.selectedField||!e.selectedCondition||e.selectedField&&e.selectedField.filters.condition(e.selectedCondition).isUnary)("igxDateTimeEditor",e.selectedField.defaultDateTimeFormat)}}function Wqe(i,a){if(1&i){const e=Te();D(0,"div",32,33)(2,"igx-select",34,35),G("ngModelChange",function(n){return Y(e),K(C(2).selectedField=n)}),$(4,Fqe,2,2,"igx-select-item",36),v(),D(5,"igx-select",37,38),G("ngModelChange",function(n){return Y(e),K(C(2).selectedCondition=n)}),$(7,Bqe,2,1,"igx-prefix",3)(8,$qe,5,4,"igx-select-item",39),v(),$(9,Lqe,3,5,"igx-input-group",40)(10,Vqe,4,10,"igx-date-picker",41)(11,Nqe,4,9,"igx-time-picker",42)(12,Oqe,4,5,"igx-input-group",43),D(13,"div",44)(14,"button",45),G("click",function(){return Y(e),K(C(2).commitOperandEdit())}),D(15,"igx-icon"),L(16,"check"),v()(),D(17,"button",46),G("click",function(){return Y(e),K(C(2).cancelOperandEdit())}),D(18,"igx-icon"),L(19,"close"),v()()()()}if(2&i){const e=ae(6),t=C(2);f(2),b("displayDensity","compact")("overlaySettings",t.fieldSelectOverlaySettings)("placeholder",t.resourceStrings.igx_query_builder_column_placeholder)("ngModel",t.selectedField),f(2),b("ngForOf",t.fields),f(1),b("displayDensity","compact")("overlaySettings",t.conditionSelectOverlaySettings)("placeholder",t.resourceStrings.igx_query_builder_condition_placeholder)("ngModel",t.selectedCondition)("disabled",!t.selectedField),f(2),b("ngIf",t.selectedField&&e.value&&t.selectedField.filters.condition(e.value)),f(1),b("ngForOf",t.getConditionList()),f(1),b("ngIf",!t.selectedField||"date"!==t.selectedField.dataType&&"time"!==t.selectedField.dataType&&"dateTime"!==t.selectedField.dataType),f(1),b("ngIf",t.selectedField&&"date"===t.selectedField.dataType),f(1),b("ngIf",t.selectedField&&"time"===t.selectedField.dataType),f(1),b("ngIf",t.selectedField&&"dateTime"===t.selectedField.dataType),f(2),b("displayDensity",t.displayDensity)("disabled",!t.operandCanBeCommitted()),f(3),b("displayDensity",t.displayDensity)}}function jqe(i,a){1&i&&be(0)}function Gqe(i,a){if(1&i){const e=Te();D(0,"div",61,62),$(2,jqe,1,0,"ng-container",63),D(3,"button",46),G("click",function(){return Y(e),K(C(2).cancelOperandAdd())}),D(4,"igx-icon"),L(5,"close"),v()()()}if(2&i){const e=C().$implicit,t=C(),n=ae(6);f(2),b("ngTemplateOutlet",n)("ngTemplateOutletContext",t.context(e.parent,e)),f(1),b("displayDensity",t.displayDensity)}}function zqe(i,a){if(1&i&&$(0,Pqe,10,9,"div",18)(1,Wqe,20,19,"div",19)(2,Gqe,6,3,"div",20),2&i){const e=a.$implicit;b("ngIf",!e.inEditMode),f(1),b("ngIf",e.inEditMode),f(1),b("ngIf",e.inAddMode)}}function Hqe(i,a){1&i&&be(0)}function qqe(i,a){if(1&i&&(Re(0),$(1,Hqe,1,0,"ng-container",63),Pe()),2&i){const e=a.$implicit,t=C(2),n=ae(10),r=ae(8);f(1),b("ngTemplateOutlet",t.isExpressionGroup(e)?n:r)("ngTemplateOutletContext",t.context(e))}}function Uqe(i,a){1&i&&be(0)}function Xqe(i,a){if(1&i){const e=Te();D(0,"button",16),G("click",function(){Y(e);const n=C(2).$implicit;return K(C().endGroup(n))}),D(1,"span"),L(2),v()()}if(2&i){const e=C(2).$implicit,t=C();b("displayDensity",t.displayDensity)("disabled",t.hasEditedExpression||e.children.length<2),f(2),me(t.resourceStrings.igx_query_builder_end_group)}}function Yqe(i,a){if(1&i&&(D(0,"div",61,68),$(2,Uqe,1,0,"ng-container",63)(3,Xqe,3,3,"button",69),v()),2&i){const e=C().$implicit,t=C(),n=ae(6);f(2),b("ngTemplateOutlet",n)("ngTemplateOutletContext",t.context(e)),f(1),b("ngIf",e!==t.rootGroup)}}const Kqe=(i,a,e)=>({"igx-filter-tree__line--and":i,"igx-filter-tree__line--or":a,"igx-filter-tree__line--selected":e});function Zqe(i,a){if(1&i){const e=Te();D(0,"div",64)(1,"div",65),G("keydown",function(n){return Y(e),K(C().invokeClick(n))})("click",function(){const r=Y(e).$implicit;return K(C().onGroupClick(r))}),v(),D(2,"div",66),$(3,qqe,2,2,"ng-container",67)(4,Yqe,4,3,"div",20),v()()}if(2&i){const e=a.$implicit,t=C();f(1),b("ngClass",JT(3,Kqe,0===e.operator,1===e.operator,e.selected)),f(2),b("ngForOf",e.children),f(1),b("ngIf",t.currentGroup===e)}}function Qqe(i,a){1&i&&be(0)}function Jqe(i,a){if(1&i&&(Re(0),$(1,Qqe,1,0,"ng-container",63),Pe()),2&i){const e=C(),t=ae(10);f(1),b("ngTemplateOutlet",t)("ngTemplateOutletContext",e.context(e.rootGroup))}}function eUe(i,a){if(1&i){const e=Te();Re(0),D(1,"igx-buttongroup",70),G("selected",function(n){return Y(e),K(C().selectFilteringLogic(n))}),v(),D(2,"button",16),G("click",function(){return Y(e),K(C().ungroup())}),ce(3,"igx-icon",71),D(4,"span"),L(5),v()(),D(6,"button",72),G("click",function(){return Y(e),K(C().deleteGroup())}),D(7,"igx-icon"),L(8,"delete"),v(),D(9,"span"),L(10),v()(),Pe()}if(2&i){const e=C();f(1),b("displayDensity",e.displayDensity)("values",e.filteringLogics),f(1),b("displayDensity",e.displayDensity)("disabled",!e.contextualGroup.parent),f(3),me(e.resourceStrings.igx_query_builder_ungroup),f(1),b("displayDensity",e.displayDensity),f(4),me(e.resourceStrings.igx_query_builder_delete)}}function tUe(i,a){if(1&i){const e=Te();Re(0),D(1,"button",12),G("click",function(){return Y(e),K(C().createAndGroup())}),L(2),v(),D(3,"button",12),G("click",function(){return Y(e),K(C().createOrGroup())}),L(4),v(),D(5,"button",72),G("click",function(){return Y(e),K(C().deleteFilters())}),L(6),v(),Pe()}if(2&i){const e=C();f(1),b("displayDensity",e.displayDensity),f(1),Ge(" ",e.resourceStrings.igx_query_builder_create_and_group," "),f(1),b("displayDensity",e.displayDensity),f(1),Ge(" ",e.resourceStrings.igx_query_builder_create_or_group," "),f(1),b("displayDensity",e.displayDensity),f(1),Ge(" ",e.resourceStrings.igx_query_builder_delete_filters," ")}}const iUe=[[["igx-query-builder-header"]]],nUe=(i,a)=>({"igx-filter-contextual-menu--cosy":i,"igx-filter-contextual-menu--compact":a}),aUe=["igx-query-builder-header"],rUe=["queryBuilder"],sUe=i=>({"igx-advanced-filter":!0,"igx-advanced-filter--inline":i});function oUe(i,a){if(1&i){const e=Te();D(0,"article",1),G("dragStart",function(n){return Y(e),K(C().dragStart(n))})("dragMove",function(n){return Y(e),K(C().onDragMove(n))})("keydown",function(n){return Y(e),K(C().onKeyDown(n))}),D(1,"igx-query-builder",2,3),ce(3,"igx-query-builder-header",4),v(),D(4,"footer",5)(5,"div",6)(6,"button",7),G("click",function(n){return Y(e),K(C().onClearButtonClick(n))}),L(7),v()(),D(8,"div",8)(9,"button",7),G("click",function(){return Y(e),K(C().cancelChanges())}),L(10),v()(),D(11,"div",9)(12,"button",10),G("click",function(n){return Y(e),K(C().onApplyButtonClick(n))}),L(13),v()()()()}if(2&i){const e=C();b("ghost",!1)("dragTolerance",0)("ngClass",ln(13,sUe,e.inline)),f(1),b("locale",e.grid.locale)("fields",e.filterableFields)("expressionTree",e.grid.advancedFilteringExpressionsTree),f(2),b("title",e.grid.resourceStrings.igx_grid_advanced_filter_title),f(3),b("displayDensity",e.displayDensity),f(1),Ge(" ",e.grid.resourceStrings.igx_grid_excel_custom_dialog_clear," "),f(2),b("displayDensity",e.displayDensity),f(1),Ge(" ",e.grid.resourceStrings.igx_grid_excel_cancel," "),f(2),b("displayDensity",e.displayDensity),f(1),Ge(" ",e.grid.resourceStrings.igx_grid_excel_apply," ")}}function lUe(i,a){if(1&i){const e=Te();D(0,"div",1),G("keydown",function(n){return Y(e),K(C().onClearFilterKeyDown(n))})("click",function(){return Y(e),K(C().clearFilter())}),D(1,"span"),L(2),v(),D(3,"igx-icon"),L(4,"clear"),v()()}if(2&i){const e=C();b("ngClass",e.clearFilterClass()),ke("aria-disabled",!e.esf.column.filteringExpressionsTree),f(2),me(e.esf.grid.resourceStrings.igx_grid_excel_filter_clear)}}const uUe=["dropdownConditions"],cUe=["logicOperatorButtonGroup"],hUe=["inputValues"];function dUe(i,a){1&i&&ce(0,"igx-icon",12),2&i&&b("name",C().getIconName())}function gUe(i,a){1&i&&(D(0,"igx-icon"),L(1,"filter_list"),v())}function pUe(i,a){if(1&i&&(D(0,"igx-select-item",13)(1,"div",14),ce(2,"igx-icon",12),D(3,"span",15),L(4),v()()()),2&i){const e=a.$implicit,t=C();b("value",e)("text",t.getConditionFriendlyName(e))("selected",t.isConditionSelected(e)),f(2),b("name",t.getCondition(e).iconName),f(2),me(t.translateCondition(e))}}function mUe(i,a){if(1&i){const e=Te();D(0,"button",16),G("click",function(){return Y(e),K(C().onRemoveButtonClick())}),D(1,"igx-icon"),L(2,"cancel"),v()()}2&i&&b("displayDensity",C().displayDensity)}function fUe(i,a){if(1&i){const e=Te();D(0,"igx-buttongroup",null,17)(2,"span",18,19),G("keydown",function(n){return Y(e),K(C().onLogicOperatorKeyDown(n,0))})("click",function(n){return Y(e),K(C().onLogicOperatorButtonClicked(n,0))}),L(4),v(),D(5,"span",18,20),G("keydown",function(n){return Y(e),K(C().onLogicOperatorKeyDown(n,1))})("click",function(n){return Y(e),K(C().onLogicOperatorButtonClicked(n,1))}),L(7),v()()}if(2&i){const e=C();f(2),b("displayDensity",e.displayDensity)("selected",0===e.expressionUI.afterOperator),f(2),Ge(" ",e.grid.resourceStrings.igx_grid_filter_operator_and," "),f(1),b("displayDensity",e.displayDensity)("selected",1===e.expressionUI.afterOperator),f(2),Ge(" ",e.grid.resourceStrings.igx_grid_filter_operator_or," ")}}function _Ue(i,a){1&i&&ce(0,"igx-icon",11),2&i&&b("name",C().getIconName())}function bUe(i,a){1&i&&(D(0,"igx-icon"),L(1,"filter_list"),v())}function yUe(i,a){if(1&i&&(D(0,"igx-select-item",12),ce(1,"igx-icon",11),D(2,"span"),L(3),v()()),2&i){const e=a.$implicit,t=C();b("value",e)("text",t.getConditionFriendlyName(e))("selected",t.isConditionSelected(e)),f(1),b("name",t.getCondition(e).iconName),f(2),me(t.translateCondition(e))}}function xUe(i,a){if(1&i){const e=Te();D(0,"igx-date-picker",13,14),G("valueChange",function(n){return Y(e),K(C().expressionUI.expression.searchVal=n)})("click",function(){return Y(e),K(ae(1).open())}),ce(2,"igx-picker-toggle")(3,"igx-picker-clear"),v()}if(2&i){const e=C();let t;b("weekStart",null!==(t=e.column.pipeArgs.weekStart)&&void 0!==t?t:e.weekStart)("value",e.expressionUI.expression.searchVal)("locale",e.grid.locale)("outlet",e.grid.outlet)("displayDensity",e.displayDensity)("readOnly",!0)("placeholder",e.inputDatePlaceholder)("displayFormat",e.column.pipeArgs.format)("formatter",e.column.formatter)("disabled",e.expressionUI.expression.condition&&e.expressionUI.expression.condition.isUnary)}}function SUe(i,a){if(1&i){const e=Te();D(0,"igx-time-picker",15,14),G("valueChange",function(n){return Y(e),K(C().expressionUI.expression.searchVal=n)})("click",function(){return Y(e),K(ae(1).open())}),ce(2,"igx-picker-toggle")(3,"igx-picker-clear"),v()}if(2&i){const e=C();b("inputFormat",e.column.defaultTimeFormat)("value",e.expressionUI.expression.searchVal)("locale",e.grid.locale)("outlet",e.grid.outlet)("displayDensity",e.displayDensity)("readOnly",!0)("placeholder",e.inputTimePlaceholder)("displayFormat",e.column.pipeArgs.format)("formatter",e.column.formatter)("disabled",e.expressionUI.expression.condition&&e.expressionUI.expression.condition.isUnary)}}function DUe(i,a){if(1&i){const e=Te();D(0,"igx-input-group",16,17)(3,"input",18,19),G("ngModelChange",function(n){return Y(e),K(C().expressionUI.expression.searchVal=n)}),v()()}if(2&i){const e=C();b("displayDensity",e.displayDensity),f(3),b("placeholder",e.inputDatePlaceholder)("igxDateTimeEditor",e.column.defaultDateTimeFormat)("ngModel",e.expressionUI.expression.searchVal)("disabled",e.expressionUI.expression.condition&&e.expressionUI.expression.condition.isUnary)}}function CUe(i,a){if(1&i){const e=Te();D(0,"button",20),G("click",function(){return Y(e),K(C().onRemoveButtonClick())}),D(1,"igx-icon"),L(2,"cancel"),v()()}2&i&&b("displayDensity",C().displayDensity)}function vUe(i,a){if(1&i){const e=Te();D(0,"igx-buttongroup",null,21)(2,"span",22,23),G("keydown",function(n){return Y(e),K(C().onLogicOperatorKeyDown(n,0))})("click",function(n){return Y(e),K(C().onLogicOperatorButtonClicked(n,0))}),L(4),v(),D(5,"span",22,24),G("keydown",function(n){return Y(e),K(C().onLogicOperatorKeyDown(n,1))})("click",function(n){return Y(e),K(C().onLogicOperatorButtonClicked(n,1))}),L(7),v()()}if(2&i){const e=C();f(2),b("displayDensity",e.displayDensity)("selected",0===e.expressionUI.afterOperator),f(2),Ge(" ",e.grid.resourceStrings.igx_grid_filter_operator_and," "),f(1),b("displayDensity",e.displayDensity)("selected",1===e.expressionUI.afterOperator),f(2),Ge(" ",e.grid.resourceStrings.igx_grid_filter_operator_or," ")}}const MUe=["toggle"],wUe=["defaultExpressionTemplate"],TUe=["dateExpressionTemplate"];function IUe(i,a){if(1&i){const e=Te();D(0,"igx-excel-style-date-expression",15),G("expressionRemoved",function(n){return Y(e),K(C(2).onExpressionRemoved(n))})("logicOperatorChanged",function(n){return Y(e),K(C(2).onLogicOperatorChanged(n))}),v()}if(2&i){const e=a.$implicit,t=C(2);b("expressionUI",e)("column",t.column)("grid",t.grid)("displayDensity",t.displayDensity)("expressionsList",t.expressionsList)}}function AUe(i,a){if(1&i&&(Re(0),$(1,IUe,1,5,"igx-excel-style-date-expression",14),Pe()),2&i){const e=C();f(1),b("ngForOf",e.expressionsList)}}function kUe(i,a){if(1&i){const e=Te();D(0,"igx-excel-style-default-expression",15),G("expressionRemoved",function(n){return Y(e),K(C(2).onExpressionRemoved(n))})("logicOperatorChanged",function(n){return Y(e),K(C(2).onLogicOperatorChanged(n))}),v()}if(2&i){const e=a.$implicit,t=C(2);b("expressionUI",e)("column",t.column)("grid",t.grid)("displayDensity",t.displayDensity)("expressionsList",t.expressionsList)}}function EUe(i,a){if(1&i&&(Re(0),$(1,kUe,1,5,"igx-excel-style-default-expression",14),Pe()),2&i){const e=C();f(1),b("ngForOf",e.expressionsList)}}const RUe=(i,a)=>({"igx-excel-filter__secondary--cosy":i,"igx-excel-filter__secondary--compact":a}),PUe=["customDialog"],FUe=["subMenu"];function BUe(i,a){if(1&i&&(D(0,"igx-drop-down-item",7)(1,"div",8),ce(2,"igx-icon",9),D(3,"span",10),L(4),v()()()),2&i){const e=a.$implicit,t=C(2);b("value",e),f(2),b("name",t.getCondition(e).iconName),f(2),me(t.translateCondition(e))}}function $Ue(i,a){if(1&i&&(D(0,"igx-drop-down-item")(1,"div",8)(2,"igx-icon"),L(3,"filter_list"),v(),D(4,"span",10),L(5),v()()()),2&i){const e=C(2);f(5),me(e.esf.grid.resourceStrings.igx_grid_excel_custom_filter)}}function LUe(i,a){if(1&i){const e=Te();Re(0),D(1,"div",1),G("keydown",function(n){return Y(e),K(C().onTextFilterKeyDown(n))})("click",function(n){return Y(e),K(C().onTextFilterClick(n))}),D(2,"span"),L(3),v(),D(4,"igx-icon"),L(5,"keyboard_arrow_right"),v()(),D(6,"igx-drop-down",2,3),G("selectionChanging",function(n){return Y(e),K(C().onSubMenuSelection(n))})("closed",function(){return Y(e),K(C().onSubMenuClosed())}),D(8,"div"),$(9,BUe,5,3,"igx-drop-down-item",4)(10,$Ue,6,1,"igx-drop-down-item",0),v()(),ce(11,"igx-excel-style-custom-dialog",5,6),Pe()}if(2&i){const e=ae(7),t=C();f(1),b("igxDropDownItemNavigation",e),ke("aria-controls",e.listId)("aria-activedescendant",e.collapsed||null==e.focusedItem?null:e.focusedItem.id),f(2),me(t.subMenuText),f(3),b("maxHeight","397px")("displayDensity",t.esf.displayDensity),f(3),b("ngForOf",t.conditions),f(1),b("ngIf",t.showCustomFilterItem()),f(1),b("column",t.esf.column)("filteringService",t.esf.grid.filteringService)("overlayComponentId",t.esf.overlayComponentId)("displayDensity",t.esf.displayDensity)}}function VUe(i,a){if(1&i){const e=Te();D(0,"button",5),G("click",function(){return Y(e),K(C(2).esf.onSelect())}),D(1,"igx-icon"),L(2,"done"),v()()}if(2&i){const e=C(2);b("ngClass",e.esf.column.selected?"igx-excel-filter__actions-selected":"igx-excel-filter__actions-select"),ke("aria-label",e.esf.column.selected?e.esf.grid.resourceStrings.igx_grid_excel_deselect:e.esf.grid.resourceStrings.igx_grid_excel_select)}}function NUe(i,a){if(1&i){const e=Te();D(0,"button",6),G("click",function(){return Y(e),K(C(2).esf.onPin())}),ce(1,"igx-icon",7),v()}if(2&i){const e=C(2);ke("aria-label",e.esf.column.pinned?e.esf.grid.resourceStrings.igx_grid_excel_unpin:e.esf.grid.resourceStrings.igx_grid_excel_pin),f(1),b("name",e.esf.column.pinned?"unpin-left":"pin-left")}}function OUe(i,a){if(1&i){const e=Te();D(0,"button",6),G("click",function(){return Y(e),K(C(2).esf.onHideToggle())}),D(1,"igx-icon"),L(2),v()()}if(2&i){const e=C(2);ke("aria-label",e.esf.column.hidden?e.esf.grid.resourceStrings.igx_grid_excel_show:e.esf.grid.resourceStrings.igx_grid_excel_hide),f(2),me(e.esf.column.hidden?"visibility":"visibility_off")}}function WUe(i,a){if(1&i&&(D(0,"header",1)(1,"h4"),L(2),v(),D(3,"div",2),$(4,VUe,3,2,"button",3)(5,NUe,2,2,"button",4)(6,OUe,3,2,"button",4),v()()),2&i){const e=C();f(2),me(e.esf.column.header||e.esf.column.field),f(2),b("ngIf",e.showSelecting),f(1),b("ngIf",e.showPinning),f(1),b("ngIf",e.showHiding)}}function jUe(i,a){if(1&i){const e=Te();D(0,"div",1),G("click",function(){return Y(e),K(C().esf.onHideToggle())}),D(1,"span"),L(2),v(),D(3,"igx-icon"),L(4),v()()}if(2&i){const e=C();f(2),me(e.esf.column.hidden?e.esf.grid.resourceStrings.igx_grid_excel_show:e.esf.grid.resourceStrings.igx_grid_excel_hide),f(2),me(e.esf.column.hidden?"visibility":"visibility_off")}}function GUe(i,a){if(1&i){const e=Te();Re(0),D(1,"header"),L(2),v(),D(3,"igx-buttongroup")(4,"button",1),G("click",function(){return Y(e),K(C().onMoveButtonClicked(0))}),D(5,"igx-icon"),L(6,"arrow_back"),v(),D(7,"span"),L(8),v()(),D(9,"button",1),G("click",function(){return Y(e),K(C().onMoveButtonClicked(1))}),D(10,"span"),L(11),v(),D(12,"igx-icon"),L(13,"arrow_forwards"),v()()(),Pe()}if(2&i){const e=C();f(2),Ge(" ",e.esf.grid.resourceStrings.igx_grid_excel_filter_moving_header,"\n"),f(2),b("displayDensity",e.esf.displayDensity)("disabled",e.canNotMoveLeft),f(4),Ge(" ","compact"===e.esf.displayDensity?e.esf.grid.resourceStrings.igx_grid_excel_filter_moving_left_short:e.esf.grid.resourceStrings.igx_grid_excel_filter_moving_left," "),f(1),b("displayDensity",e.esf.displayDensity)("disabled",e.canNotMoveRight),f(2),Ge(" ","compact"===e.esf.displayDensity?e.esf.grid.resourceStrings.igx_grid_excel_filter_moving_right_short:e.esf.grid.resourceStrings.igx_grid_excel_filter_moving_right," ")}}function zUe(i,a){if(1&i){const e=Te();D(0,"div",1),G("click",function(){return Y(e),K(C().esf.onPin())}),D(1,"span"),L(2),v(),ce(3,"igx-icon",2),v()}if(2&i){const e=C();b("ngClass",e.esf.column.pinned?"igx-excel-filter__actions-unpin":"igx-excel-filter__actions-pin"),f(2),me(e.esf.column.pinned?e.esf.grid.resourceStrings.igx_grid_excel_unpin:e.esf.grid.resourceStrings.igx_grid_excel_pin),f(1),Cu("name",e.esf.column.pinned?"unpin-left":"pin-left")}}const vue=["indicator"],HUe=(i,a,e,t,n)=>({"igx-linear-bar__value--start":i,"igx-linear-bar__value--center":a,"igx-linear-bar__value--end":e,"igx-linear-bar__value--top":t,"igx-linear-bar__value--hidden":n}),qUe=["circle"];function UUe(i,a){1&i&&(zd(),be(0))}function XUe(i,a){1&i&&(zd(),D(0,"linearGradient",9),ce(1,"stop",10)(2,"stop",11),v()),2&i&&b("id",C().gradientId)}function YUe(i,a){1&i&&be(0)}function KUe(i,a){if(1&i&&(zd(),Cx(),D(0,"span",12),$(1,YUe,1,0,"ng-container",5),v()),2&i){const e=C(),t=ae(11);f(1),b("ngTemplateOutlet",e.textTemplate?e.textTemplate.template:t)("ngTemplateOutletContext",e.context)}}function ZUe(i,a){if(1&i&&(zd(),L(0)),2&i){const e=C();Ge(" ",e.textContent?e.textContent:e.valueInPercent+"%","\n")}}const QUe=["ghostTemplate"],JUe=["childrenContainer"];function eXe(i,a){}function tXe(i,a){1&i&&$(0,eXe,0,0,"ng-template")}function iXe(i,a){1&i&&$(0,tXe,1,0,null,1),2&i&&(C(),b("ngTemplateOutlet",ae(9)))}function nXe(i,a){}function aXe(i,a){1&i&&$(0,nXe,0,0,"ng-template")}function rXe(i,a){1&i&&(D(0,"div",7,8),at(2),v())}function sXe(i,a){if(1&i&&(D(0,"igx-icon"),L(1),v()),2&i){const e=C();ke("aria-label",e.expanded?e.resourceStrings.igx_collapse:e.resourceStrings.igx_expand),f(1),Ge(" ",e.expanded?"keyboard_arrow_down":"keyboard_arrow_right"," ")}}function oXe(i,a){if(1&i&&ce(0,"igx-checkbox",9),2&i){const e=C();b("checked",e.selected)("readonly",!0)("indeterminate",e.indeterminate)("tabindex",-1)}}function lXe(i,a){1&i&&ce(0,"span",19)}function uXe(i,a){1&i&&be(0)}const cXe=i=>({"igx-tree-node__toggle-button--hidden":i});function hXe(i,a){if(1&i){const e=Te();D(0,"span",20),G("click",function(){return Y(e),K(C(2).indicatorClick())}),$(1,uXe,1,0,"ng-container",21),v()}if(2&i){const e=C(2);b("ngClass",ln(3,cXe,!(null!=e._children&&e._children.length))),f(1),b("ngTemplateOutlet",e.expandIndicatorTemplate)("ngTemplateOutletContext",ln(5,ir,e.expanded))}}function dXe(i,a){1&i&&(D(0,"span",22),ce(1,"igx-circular-bar",23),v()),2&i&&(f(1),b("animate",!1)("indeterminate",!0)("textVisibility",!1))}function gXe(i,a){1&i&&be(0)}function pXe(i,a){if(1&i){const e=Te();D(0,"div",24),G("pointerdown",function(n){return n.preventDefault()})("click",function(n){return Y(e),K(C(2).onSelectorClick(n))}),$(1,gXe,1,0,"ng-container",1),v()}if(2&i){C(2);const e=ae(7);f(1),b("ngTemplateOutlet",e)}}function mXe(i,a){1&i&&ce(0,"span",19)}const fXe=(i,a,e,t)=>({"igx-tree-node__wrapper--selected":i,"igx-tree-node__wrapper--active":a,"igx-tree-node__wrapper--focused":e,"igx-tree-node__wrapper--disabled":t}),qg=()=>[];function _Xe(i,a){if(1&i){const e=Te();D(0,"div",10,11),G("pointerdown",function(n){return Y(e),K(C().onPointerDown(n))})("focus",function(){return Y(e),K(C().handleFocus())})("blur",function(){return Y(e),K(C().clearFocus())}),D(2,"div",12),$(3,lXe,1,0,"span",13),v(),$(4,hXe,2,7,"span",14)(5,dXe,2,3,"span",15)(6,pXe,2,1,"div",16),D(7,"div",17),at(8,1),v()(),D(9,"div",18),$(10,mXe,1,0,"span",13),ce(11,"div"),v()}if(2&i){const e=C();b("tabIndex",e.tabIndex)("ngClass",jp(8,fXe,e.selected,e.active,e.focused,e.disabled)),ke("role",e.role),f(3),b("ngForOf",ql(13,qg).constructor(e.level)),f(1),b("ngIf",!e.loading),f(1),b("ngIf",e.loading),f(1),b("ngIf",e.showSelectors),f(4),b("ngForOf",ql(14,qg).constructor(e.level))}}function bXe(i,a){}function yXe(i,a){1&i&&$(0,bXe,0,0,"ng-template")}function xXe(i,a){if(1&i&&(D(0,"div",25),$(1,yXe,1,0,null,1),v()),2&i){C();const e=ae(9);f(1),b("ngTemplateOutlet",e)}}const SXe=[[["igx-tree-node"]],"*"],DXe=["igx-tree-node","*"],CXe=[[["igx-tree-node"]]],vXe=["igx-tree-node"],MXe=["leftPanningTmpl"],wXe=["rightPanningTmpl"];function TXe(i,a){1&i&&be(0)}function IXe(i,a){if(1&i&&(D(0,"div",7,8),$(2,TXe,1,0,"ng-container",9),v()),2&i){const e=C();$e("width",e.offsetWidthInRem,"rem")("height",e.offsetHeightInRem,"rem"),f(2),b("ngTemplateOutlet",e.list.listItemLeftPanningTemplate.template)("ngTemplateOutletContext",e.context)}}function AXe(i,a){1&i&&be(0)}function kXe(i,a){if(1&i&&(D(0,"div",10,11),$(2,AXe,1,0,"ng-container",9),v()),2&i){const e=C();$e("width",e.offsetWidthInRem,"rem")("height",e.offsetHeightInRem,"rem"),f(2),b("ngTemplateOutlet",e.list.listItemRightPanningTemplate.template)("ngTemplateOutletContext",e.context)}}function EXe(i,a){1&i&&at(0)}function RXe(i,a){1&i&&(D(0,"div",12),at(1,1),v())}function PXe(i,a){1&i&&(D(0,"div",13),at(1,2),v())}function FXe(i,a){1&i&&(D(0,"div",14),at(1,3),v())}function BXe(i,a){1&i&&be(0)}function $Xe(i,a){if(1&i&&(Re(0),$(1,BXe,1,0,"ng-container",15),Pe()),2&i){C();const e=ae(3);f(1),b("ngTemplateOutlet",e)}}function LXe(i,a){1&i&&be(0)}function VXe(i,a){1&i&&be(0)}function NXe(i,a){1&i&&be(0)}function OXe(i,a){1&i&&be(0)}function WXe(i,a){if(1&i&&(Re(0),D(1,"div",16),$(2,LXe,1,0,"ng-container",15)(3,VXe,1,0,"ng-container",15)(4,NXe,1,0,"ng-container",15)(5,OXe,1,0,"ng-container",15),v(),Pe()),2&i){C();const e=ae(5),t=ae(7),n=ae(9),r=ae(3);f(2),b("ngTemplateOutlet",e),f(1),b("ngTemplateOutlet",t),f(1),b("ngTemplateOutlet",n),f(1),b("ngTemplateOutlet",r)}}const jXe=["*",[["","igxListThumbnail",""],["igx-list__item-thumbnail"],["igx-avatar"]],[["","igxListLine",""],["",8,"igx-list__item-lines"],["","igxListLineTitle",""],["","igxListLineSubTitle",""],["",8,"igx-list__item-line-title"],["",8,"igx-list__item-line-subtitle"]],[["","igxListAction",""],["",8,"igx-list__item-actions"]]],GXe=["*","[igxListThumbnail], igx-list__item-thumbnail, igx-avatar","[igxListLine], .igx-list__item-lines, [igxListLineTitle], [igxListLineSubTitle], .igx-list__item-line-title, .igx-list__item-line-subtitle","[igxListAction], .igx-list__item-actions"],zXe=["defaultEmptyList"],HXe=["defaultDataLoading"];function qXe(i,a){if(1&i&&(D(0,"article",3),L(1),v()),2&i){const e=C();f(1),Ge(" ",e.resourceStrings.igx_list_no_items," ")}}function UXe(i,a){if(1&i&&(D(0,"article",3),L(1),v()),2&i){const e=C();f(1),Ge(" ",e.resourceStrings.igx_list_loading," ")}}function XXe(i,a){1&i&&be(0)}function YXe(i,a){if(1&i&&(Re(0),$(1,XXe,1,0,"ng-container",4),Pe()),2&i){const e=C();f(1),b("ngTemplateOutlet",e.template)("ngTemplateOutletContext",e.context)}}const KXe=["list"],ZXe=["selectAllCheckbox"],QXe=["addToCurrentFilterCheckbox"],JXe=["tree"],eYe=["defaultExcelStyleLoadingValuesTemplate"];function tYe(i,a){if(1&i){const e=Te();D(0,"igx-icon",14),G("click",function(){return Y(e),K(C().clearInput())}),L(1," clear "),v()}}function iYe(i,a){if(1&i){const e=Te();D(0,"igx-list-item")(1,"igx-checkbox",22),G("change",function(n){return Y(e),K(C(2).onCheckboxChange(n))}),L(2),v()()}if(2&i){const e=a.$implicit;f(1),b("value",e)("tabindex",-1)("checked",null==e?null:e.isSelected)("disableRipple",!0)("indeterminate",null==e?null:e.indeterminate)("disableTransitions",!0),f(1),Ge(" ",e.label," ")}}function nYe(i,a){1&i&&be(0)}function aYe(i,a){if(1&i&&(D(0,"div",23),$(1,nYe,1,0,"ng-container",24),v()),2&i){const e=C(2);f(1),b("ngTemplateOutlet",e.valuesLoadingTemplate)}}function rYe(i,a){1&i&&be(0)}function sYe(i,a){1&i&&$(0,rYe,1,0,"ng-container",24),2&i&&(C(2),b("ngTemplateOutlet",ae(9)))}function oYe(i,a){if(1&i&&(D(0,"igx-list",15,16)(2,"div",17),$(3,iYe,3,7,"igx-list-item",18),v(),$(4,aYe,2,1,"ng-template",19)(5,sYe,1,1,"ng-template",20),D(6,"div",21),L(7),v()()),2&i){const e=C();b("displayDensity",e.esf.displayDensity)("isLoading",e.isLoading),f(3),b("igxForOf",e.displayedListData)("igxForScrollOrientation","vertical")("igxForContainerSize",e.containerSize)("igxForItemSize",e.itemSize),f(4),Ge(" ",null==e.esf.grid?null:e.esf.grid.resourceStrings.igx_grid_excel_matches_count.replace("{0}",e.matchesCount)," ")}}function lYe(i,a){if(1&i&&(D(0,"div",32)(1,"igx-checkbox",36,37),L(3),v()()),2&i){const e=C(3);f(1),b("value",e.addToCurrentFilterItem)("checked",e.addToCurrentFilterItem.isSelected)("disableRipple",!0)("disableTransitions",!0),f(2),Ge(" ",e.addToCurrentFilterItem.label," ")}}function uYe(i,a){if(1&i){const e=Te();D(0,"div",31)(1,"div",32)(2,"igx-checkbox",33,34),G("change",function(n){return Y(e),K(C(2).onSelectAllCheckboxChange(n))}),L(4),v()(),$(5,lYe,4,5,"div",35),v()}if(2&i){const e=C(2);f(2),b("value",e.selectAllItem)("checked",null==e.selectAllItem?null:e.selectAllItem.isSelected)("disableRipple",!0)("indeterminate",null==e.selectAllItem?null:e.selectAllItem.indeterminate)("disableTransitions",!0),f(2),Ge(" ",e.selectAllItem.label," "),f(1),b("ngIf",e.searchValue)}}function cYe(i,a){if(1&i&&(D(0,"igx-tree-node",38)(1,"div"),L(2),v()()),2&i){const e=a.$implicit;b("data",e)("selected",e.isSelected),f(2),me(e.label)}}function hYe(i,a){if(1&i&&(D(0,"igx-tree-node",38)(1,"div"),L(2),v(),$(3,cYe,3,3,"igx-tree-node",29),v()),2&i){const e=a.$implicit;b("data",e)("selected",e.isSelected),f(2),me(e.label),f(1),b("ngForOf",e.children)}}function dYe(i,a){if(1&i&&(D(0,"igx-tree-node",38)(1,"div"),L(2),v(),$(3,hYe,4,4,"igx-tree-node",29),v()),2&i){const e=a.$implicit;b("data",e)("selected",e.isSelected),f(2),me(e.label),f(1),b("ngForOf",e.children)}}function gYe(i,a){if(1&i&&(D(0,"igx-tree-node",38)(1,"div"),L(2),v(),$(3,dYe,4,4,"igx-tree-node",29),v()),2&i){const e=a.$implicit;b("data",e)("selected",e.isSelected),f(2),me(e.label),f(1),b("ngForOf",e.children)}}function pYe(i,a){if(1&i&&(D(0,"igx-tree-node",38)(1,"div"),L(2),v(),$(3,gYe,4,4,"igx-tree-node",29),v()),2&i){const e=a.$implicit;b("data",e)("selected",e.isSelected),f(2),me(e.label),f(1),b("ngForOf",e.children)}}function mYe(i,a){if(1&i&&(D(0,"igx-tree-node",38)(1,"div"),L(2),v(),$(3,pYe,4,4,"igx-tree-node",29),v()),2&i){const e=a.$implicit;b("data",e)("selected",e.isSelected),f(2),me(e.label),f(1),b("ngForOf",e.children)}}function fYe(i,a){if(1&i&&(D(0,"igx-tree-node",38)(1,"div"),L(2),v(),$(3,mYe,4,4,"igx-tree-node",29),v()),2&i){const e=a.$implicit;b("data",e)("selected",e.isSelected),f(2),me(e.label),f(1),b("ngForOf",e.children)}}function _Ye(i,a){if(1&i&&(D(0,"igx-tree-node",38)(1,"div"),L(2),v(),$(3,fYe,4,4,"igx-tree-node",29),v()),2&i){const e=a.$implicit;b("data",e)("selected",e.isSelected),f(2),me(e.label),f(1),b("ngForOf",e.children)}}function bYe(i,a){if(1&i&&(D(0,"igx-tree-node",38)(1,"div"),L(2),v(),$(3,_Ye,4,4,"igx-tree-node",29),v()),2&i){const e=a.$implicit;b("data",e)("selected",e.isSelected),f(2),me(e.label),f(1),b("ngForOf",e.children)}}function yYe(i,a){if(1&i&&(D(0,"igx-tree-node",38)(1,"div"),L(2),v(),$(3,bYe,4,4,"igx-tree-node",29),v()),2&i){const e=a.$implicit;b("data",e)("selected",e.isSelected),f(2),me(e.label),f(1),b("ngForOf",e.children)}}function xYe(i,a){1&i&&be(0)}function SYe(i,a){if(1&i&&(D(0,"div",23),$(1,xYe,1,0,"ng-container",24),v()),2&i){const e=C(2);f(1),b("ngTemplateOutlet",e.valuesLoadingTemplate)}}function DYe(i,a){1&i&&be(0)}function CYe(i,a){1&i&&$(0,DYe,1,0,"ng-container",24),2&i&&(C(2),b("ngTemplateOutlet",ae(9)))}function vYe(i,a){if(1&i){const e=Te();D(0,"div",25),$(1,uYe,6,7,"div",26),D(2,"igx-tree",27,28),G("nodeSelection",function(n){return Y(e),K(C().onNodeSelectionChange(n))}),$(4,yYe,4,4,"igx-tree-node",29),v(),$(5,SYe,2,1,"ng-template",19)(6,CYe,1,1,"ng-template",30),v()}if(2&i){const e=C();f(1),b("ngIf",!e.isTreeEmpty()),f(1),b("displayDensity",e.esf.displayDensity),f(2),b("ngForOf",e.displayedListData),f(2),b("ngIf",e.isTreeEmpty())}}function MYe(i,a){if(1&i&&(D(0,"div",39),L(1),v()),2&i){const e=C();f(1),Ge(" ",null==e.esf.grid?null:e.esf.grid.resourceStrings.igx_grid_excel_no_matches," ")}}function wYe(i,a){1&i&&ce(0,"igx-circular-bar",40),2&i&&b("indeterminate",!0)}function TYe(i,a){if(1&i){const e=Te();D(0,"div",1),G("click",function(){return Y(e),K(C().esf.onSelect())}),D(1,"span"),L(2),v(),D(3,"igx-icon"),L(4,"done"),v()()}if(2&i){const e=C();b("ngClass",e.esf.column.selected?"igx-excel-filter__actions-selected":"igx-excel-filter__actions-select"),ke("aria-pressed",e.esf.column.selected),f(2),me(e.esf.grid.resourceStrings.igx_grid_excel_select)}}const IYe=["sortButtonGroup"];function AYe(i,a){if(1&i){const e=Te();Re(0),D(1,"header"),L(2),v(),D(3,"igx-buttongroup",null,1)(5,"button",2),G("click",function(){return Y(e),K(C().onSortButtonClicked(1))}),D(6,"igx-icon"),L(7,"arrow_upwards"),v(),D(8,"span"),L(9),v()(),D(10,"button",2),G("click",function(){return Y(e),K(C().onSortButtonClicked(2))}),D(11,"igx-icon"),L(12,"arrow_downwards"),v(),D(13,"span"),L(14),v()()(),Pe()}if(2&i){const e=C();f(2),Ge(" ",e.esf.grid.resourceStrings.igx_grid_excel_filter_sorting_header,"\n"),f(3),b("displayDensity",e.esf.displayDensity),ke("data-togglable",!0),f(4),Ge(" ","compact"===e.esf.displayDensity?e.esf.grid.resourceStrings.igx_grid_excel_filter_sorting_asc_short:e.esf.grid.resourceStrings.igx_grid_excel_filter_sorting_asc," "),f(1),b("displayDensity",e.esf.displayDensity),ke("data-togglable",!0),f(4),Ge(" ","compact"===e.esf.displayDensity?e.esf.grid.resourceStrings.igx_grid_excel_filter_sorting_desc_short:e.esf.grid.resourceStrings.igx_grid_excel_filter_sorting_desc," ")}}const kYe=["mainDropdown"],EYe=["defaultExcelColumnOperations"],RYe=["defaultExcelFilterOperations"];function PYe(i,a){1&i&&ce(0,"igx-excel-style-sorting")}function FYe(i,a){1&i&&ce(0,"igx-excel-style-moving")}function BYe(i,a){1&i&&ce(0,"igx-excel-style-pinning")}function $Ye(i,a){1&i&&ce(0,"igx-excel-style-hiding")}function LYe(i,a){1&i&&ce(0,"igx-excel-style-selecting")}function VYe(i,a){if(1&i&&(ce(0,"igx-excel-style-header",5),$(1,PYe,1,0,"igx-excel-style-sorting",6)(2,FYe,1,0,"igx-excel-style-moving",6)(3,BYe,1,0,"igx-excel-style-pinning",6)(4,$Ye,1,0,"igx-excel-style-hiding",6)(5,LYe,1,0,"igx-excel-style-selecting",6)),2&i){const e=C();b("showHiding","comfortable"!==e.displayDensity&&!(null!=e.column&&e.column.disableHiding))("showPinning","comfortable"!==e.displayDensity&&!(null!=e.column&&e.column.disablePinning))("showSelecting","comfortable"!==e.displayDensity&&e.columnSelectable()),f(1),b("ngIf",null==e.column?null:e.column.sortable),f(1),b("ngIf",null==e.grid?null:e.grid.moving),f(1),b("ngIf",!(null!=e.column&&e.column.disablePinning)&&"comfortable"===e.displayDensity),f(1),b("ngIf",!(null!=e.column&&e.column.disableHiding)&&"comfortable"===e.displayDensity),f(1),b("ngIf",e.columnSelectable()&&"comfortable"===e.displayDensity)}}function NYe(i,a){1&i&&ce(0,"igx-excel-style-clear-filters")(1,"igx-excel-style-conditional-filter")(2,"igx-excel-style-search")}function OYe(i,a){1&i&&(Re(0),at(1),Pe())}function WYe(i,a){1&i&&(Re(0),at(1,1),Pe())}const jYe=[[["igx-excel-style-column-operations"],["","igxExcelStyleColumnOperations",""]],[["igx-excel-style-filter-operations"],["","igxExcelStyleFilterOperations",""]]],GYe=(i,a)=>({"igx-excel-filter__menu--cosy":i,"igx-excel-filter__menu--compact":a}),zYe=["igx-excel-style-column-operations,[igxExcelStyleColumnOperations]","igx-excel-style-filter-operations,[igxExcelStyleFilterOperations]"],HYe=["defaultESFHeaderIconTemplate"],qYe=["defaultSortHeaderIconTemplate"];function UYe(i,a){if(1&i&&(D(0,"span",6),L(1),v()),2&i){const e=C();b("title",e.title),f(1),me(e.column.header||e.column.field)}}function XYe(i,a){1&i&&(D(0,"igx-icon"),L(1,"more_vert"),v())}function YYe(i,a){if(1&i&&(D(0,"igx-icon"),L(1),v()),2&i){const e=C();f(1),me(e.sortDirection<2?"arrow_upward":"arrow_downward")}}function KYe(i,a){1&i&&be(0)}function ZYe(i,a){1&i&&be(0)}function QYe(i,a){if(1&i){const e=Te();Re(0),D(1,"div",8),G("pointerdown",function(n){return Y(e),K(C(2).onPointerDownIndicator(n))})("click",function(n){return Y(e),K(C(2).onSortingIconClick(n))}),re(2,"sortingIndex"),$(3,ZYe,1,0,"ng-container",4),v(),Pe()}if(2&i){const e=C(2);f(1),ke("data-sortIndex","single"===e.grid.sortingOptions.mode&&e.grid.sortingExpressions.length<=1?null:Wn(2,3,e.column.field,e.grid.sortingExpressions)),f(2),b("ngTemplateOutlet",e.sortIconTemplate)("ngTemplateOutletContext",ln(6,ir,e))}}function JYe(i,a){1&i&&be(0)}function eKe(i,a){if(1&i){const e=Te();Re(0),D(1,"div",9),G("pointerdown",function(n){return Y(e),K(C(2).onPointerDownIndicator(n))})("click",function(n){return Y(e),K(C(2).onFilteringIconClick(n))}),$(2,JYe,1,0,"ng-container",4),v(),Pe()}if(2&i){const e=C(2);f(1),b("ngClass",e.filterIconClassName),f(1),b("ngTemplateOutlet",e.esfIconTemplate)("ngTemplateOutletContext",ln(3,ir,e))}}function tKe(i,a){if(1&i&&(Re(0),D(1,"div",7),$(2,QYe,4,8,"ng-container",5)(3,eKe,3,5,"ng-container",5),v(),Pe()),2&i){const e=C();f(2),b("ngIf",e.column.sortable&&!e.disabled),f(1),b("ngIf",e.grid.allowFiltering&&e.column.filterable&&"excelStyleFilter"===e.grid.filterMode)}}const BB=(i,a)=>({$implicit:i,column:a}),iKe=["emptyFilter"],nKe=["defaultFilter"],aKe=["complexFilter"],Mue=["chipsArea"],rKe=["moreIcon"],sKe=["ghostChip"],oKe=["complexChip"];function lKe(i,a){if(1&i){const e=Te();D(0,"igx-chips-area",4)(1,"igx-chip",5,6),G("click",function(){return Y(e),K(C().onChipClicked())}),D(3,"igx-icon",7),L(4,"filter_list"),v(),D(5,"span"),L(6),v()()()}if(2&i){const e=C();ke("draggable",!1),f(1),b("displayDensity",e.displayDensity)("tabIndex",-1),ke("draggable",!1),f(2),ke("draggable",!1),f(2),ke("draggable",!1),f(1),me(e.filteringService.grid.resourceStrings.igx_grid_filter)}}function uKe(i,a){if(1&i){const e=Te();D(0,"igx-chip",15),G("click",function(){Y(e);const n=C().$implicit;return K(C(2).onChipClicked(n.expression))})("remove",function(n){Y(e);const r=C().$implicit;return K(C(2).onChipRemoved(n,r))}),ce(1,"igx-icon",16),D(2,"span",null,17),L(4),v()()}if(2&i){const e=C().$implicit,t=C(2);b("removable",!0)("tabIndex",-1)("displayDensity",t.displayDensity),f(1),b("name",e.expression.condition.iconName),f(3),Ge(" ",t.filteringService.getChipLabel(e.expression)," ")}}function cKe(i,a){if(1&i&&(D(0,"span",18),L(1),v()),2&i){const e=C().$implicit,t=C(2);f(1),me(t.filteringService.getOperatorAsString(e.afterOperator))}}function hKe(i,a){if(1&i&&(Re(0),$(1,uKe,5,5,"igx-chip",13)(2,cKe,2,1,"span",14),Pe()),2&i){const e=a.last,t=a.index,n=C(2);f(1),b("ngIf",n.isChipVisible(t)),f(1),b("ngIf",!e&&n.isChipVisible(t+1))}}function dKe(i,a){if(1&i){const e=Te();D(0,"igx-chips-area",4,8),$(2,hKe,3,2,"ng-container",9),D(3,"div",10,11),G("click",function(){return Y(e),K(C().onChipClicked())}),D(5,"igx-icon"),L(6,"filter_list"),v(),ce(7,"igx-badge",12),v()()}if(2&i){const e=C();f(2),b("ngForOf",e.expressionsList),f(1),b("ngClass",e.filteringIndicatorClass()),f(4),b("value",e.moreFiltersCount)}}function gKe(i,a){if(1&i){const e=Te();D(0,"igx-chip",19,20),G("remove",function(){return Y(e),K(C().clearFiltering())}),D(2,"igx-icon",7),L(3,"filter_list"),v(),D(4,"span"),L(5),v()()}if(2&i){const e=C();b("removable",!0)("displayDensity",e.displayDensity)("tabIndex",-1),f(5),me(e.filteringService.grid.resourceStrings.igx_grid_complex_filter)}}function pKe(i,a){1&i&&be(0)}function mKe(i,a){1&i&&ce(0,"span",7)}function fKe(i,a){if(1&i&&(ce(0,"igx-grid-header-group",9),re(1,"igxHeaderGroupStyle")),2&i){const e=C().$implicit,t=C(2);b("ngClass",e.headerGroupClasses)("ngStyle",$t(1,7,e.headerGroupStyles,e,t.grid.pipeTrigger))("column",e)("igxColumnMovingDrag",e)("ghostHost",t.grid.outlet.nativeElement)("igxColumnMovingDrop",e),ke("droppable",!0)}}function _Ke(i,a){if(1&i&&(Re(0),$(1,fKe,2,11,"igx-grid-header-group",8),Pe()),2&i){const e=a.$implicit;f(1),b("ngIf",!e.hidden)}}function bKe(i,a){1&i&&ce(0,"span",10)}const yKe=(i,a)=>({"igx-grid-th--pinned-last":i,"igx-grid-th--pinned-first":a}),wue=(i,a)=>({"grid-template-rows":i,"grid-template-columns":a});function xKe(i,a){if(1&i&&(Re(0),$(1,mKe,1,0,"span",3),D(2,"div",4),$(3,_Ke,2,1,"ng-container",5),v(),$(4,bKe,1,0,"span",6),Pe()),2&i){const e=C();f(1),b("ngIf",e.grid.moving),f(1),b("ngClass",Qs(5,yKe,e.hasLastPinnedChildColumn,e.hasFirstPinnedChildColumn))("ngStyle",Qs(8,wue,e.column.getGridTemplate(!0),e.column.getGridTemplate(!1))),f(1),b("ngForOf",e.column.children),f(1),b("ngIf",e.grid.moving)}}function SKe(i,a){if(1&i&&(D(0,"span",11),L(1),v()),2&i){const e=C();b("title",e.title),f(1),me(e.column.header)}}function DKe(i,a){if(1&i&&(D(0,"igx-icon"),L(1),v()),2&i){const e=C();f(1),Ge("",e.column.expanded?"expand_more":"chevron_right"," ")}}function CKe(i,a){1&i&&ce(0,"span",7)}function vKe(i,a){1&i&&be(0)}function MKe(i,a){if(1&i){const e=Te();Re(0),D(1,"div",15),G("pointerdown",function(n){return Y(e),K(C(2).onPointerDownIndicator(n))})("click",function(n){return Y(e),K(C(2).toggleExpandState(n))}),$(2,vKe,1,0,"ng-container",13),v(),Pe()}if(2&i){const e=C(2),t=ae(4);f(2),b("ngTemplateOutlet",e.column.collapsibleIndicatorTemplate?e.column.collapsibleIndicatorTemplate:t)("ngTemplateOutletContext",Qs(2,BB,e.column,e.column))}}function wKe(i,a){1&i&&be(0)}function TKe(i,a){if(1&i&&(D(0,"igx-grid-header-group",18),re(1,"igxHeaderGroupWidth"),re(2,"igxHeaderGroupWidth"),re(3,"igxHeaderGroupStyle"),v()),2&i){const e=C().$implicit,t=C(3);$e("min-width",$t(1,7,e.calcWidth,t.grid.defaultHeaderGroupMinWidth,t.grid.hasColumnLayouts))("flex-basis",$t(2,11,e.calcWidth,t.grid.defaultHeaderGroupMinWidth,t.grid.hasColumnLayouts)),b("ngClass",e.headerGroupClasses)("ngStyle",$t(3,15,e.headerGroupStyles,e,t.grid.pipeTrigger))("column",e)}}function IKe(i,a){if(1&i&&(Re(0),$(1,TKe,4,19,"igx-grid-header-group",17),Pe()),2&i){const e=a.$implicit;f(1),b("ngIf",!e.hidden)}}function AKe(i,a){if(1&i&&(D(0,"div",16),$(1,IKe,2,1,"ng-container",5),v()),2&i){const e=C(2);f(1),b("ngForOf",e.column.children)}}function kKe(i,a){1&i&&ce(0,"span",10)}const EKe=(i,a,e,t,n,r)=>({"igx-grid-th--pinned-last":i,"igx-grid-th--pinned-first":a,"igx-grid-th--collapsible":e,"igx-grid-th--selectable":t,"igx-grid-th--selected":n,"igx-grid-th--active":r});function RKe(i,a){if(1&i){const e=Te();Re(0),$(1,CKe,1,0,"span",3),D(2,"div",12),G("pointerdown",function(n){return Y(e),K(C().pointerdown(n))})("click",function(n){return Y(e),K(C().groupClicked(n))})("pointerenter",function(){return Y(e),K(C().onPinterEnter())})("pointerleave",function(){return Y(e),K(C().onPointerLeave())}),$(3,MKe,3,5,"ng-container",0)(4,wKe,1,0,"ng-container",13),v(),$(5,AKe,2,1,"div",14)(6,kKe,1,0,"span",6),Pe()}if(2&i){const e=C(),t=ae(2);f(1),b("ngIf",e.grid.moving),f(1),b("ngClass",Oa(14,EKe,e.hasLastPinnedChildColumn,e.hasFirstPinnedChildColumn,e.column.collapsible,e.selectable,e.selected,e.activeGroup))("igxColumnMovingDrag",e.column)("ghostHost",e.grid.outlet.nativeElement)("igxColumnMovingDrop",e.column),ke("aria-label",e.column.header||e.column.field)("aria-expanded",e.column.expanded)("aria-selected",e.column.selected)("droppable",!0),f(1),b("ngIf",e.column.collapsible),f(1),b("ngTemplateOutlet",e.column.headerTemplate?e.column.headerTemplate:t)("ngTemplateOutletContext",Qs(21,BB,e.column,e.column)),f(1),b("ngIf",!e.grid.isPivot),f(1),b("ngIf",e.grid.moving)}}function PKe(i,a){1&i&&ce(0,"span",7)}function FKe(i,a){1&i&&ce(0,"igx-grid-filtering-cell",22),2&i&&(b("column",C(2).column),ke("draggable",!1))}function BKe(i,a){if(1&i&&ce(0,"span",23),2&i){const e=C(2);$e("cursor",e.colResizingService.resizeCursor),b("igxResizeHandle",e.column),ke("draggable",!1)}}function $Ke(i,a){1&i&&ce(0,"span",10)}function LKe(i,a){if(1&i){const e=Te();Re(0),$(1,PKe,1,0,"span",3),D(2,"igx-grid-header",19),G("pointerdown",function(){return Y(e),K(C().activate())}),re(3,"igxHeaderGroupStyle"),v(),$(4,FKe,1,2,"igx-grid-filtering-cell",20)(5,BKe,1,4,"span",21)(6,$Ke,1,0,"span",6),Pe()}if(2&i){const e=C();f(1),b("ngIf",e.grid.moving),f(1),b("id",e.grid.id+"_"+e.column.field)("ngClass",e.column.headerClasses)("ngStyle",$t(3,13,e.column.headerStyles,e.column,e.grid.pipeTrigger))("igxColumnMovingDrag",e.column)("ghostHost",e.grid.outlet.nativeElement)("igxColumnMovingDrop",e.column)("column",e.column)("density",e.grid.displayDensity),ke("droppable",!0),f(2),b("ngIf",e.grid.allowFiltering&&"quickFilter"===e.grid.filterMode),f(1),b("ngIf",!e.column.columnGroup&&e.column.resizable),f(1),b("ngIf",e.grid.moving)}}const VKe=["defaultFilterUI"],NKe=["defaultDateUI"],OKe=["defaultTimeUI"],WKe=["defaultDateTimeUI"],jKe=["inputGroupConditions"],GKe=["inputGroupPrefix"],zKe=["operand"],HKe=["closeButton"],qKe=["operators"];function UKe(i,a){if(1&i&&(D(0,"igx-drop-down-item",19)(1,"div",20),ce(2,"igx-icon",21),D(3,"span",22),L(4),v()()()),2&i){const e=a.$implicit,t=C();b("value",e)("selected",t.isConditionSelected(e)),f(2),b("name",t.getCondition(e).iconName),f(2),me(t.translateCondition(e))}}function XKe(i,a){if(1&i){const e=Te();D(0,"igx-suffix")(1,"igx-icon",30),G("keydown",function(n){return Y(e),K(C(2).onCommitKeyDown(n))})("click",function(){return Y(e),K(C(2).onCommitClick())}),L(2,"done"),v(),D(3,"igx-icon",30),G("keydown",function(n){return Y(e),K(C(2).onClearKeyDown(n))})("click",function(){return Y(e),K(C(2).onClearClick())}),L(4,"clear"),v()()}}function YKe(i,a){if(1&i){const e=Te();D(0,"igx-input-group",23,24),G("focusout",function(){return Y(e),K(C().onInputGroupFocusout())}),D(2,"igx-prefix",25,26),G("click",function(n){return Y(e),K(C().inputGroupPrefixClick(n))})("keydown",function(n){return Y(e),K(C().onPrefixKeyDown(n))}),ce(4,"igx-icon",21),v(),D(5,"input",27,28),G("input",function(n){return Y(e),K(C().onInput(n))})("click",function(){return Y(e),K(C().onInputClick())})("compositionstart",function(){return Y(e),K(C().onCompositionStart())})("compositionend",function(){return Y(e),K(C().onCompositionEnd())})("keydown",function(n){return Y(e),K(C().onInputKeyDown(n))})("keyup",function(){return Y(e),K(C().onInputKeyUp())}),v(),$(7,XKe,5,0,"igx-suffix",29),v()}if(2&i){const e=C(),t=ae(1);b("displayDensity",e.displayDensity),f(2),b("igxDropDownItemNavigation",t),f(2),b("name",e.getIconName()),f(1),b("placeholder",e.placeholder)("value",e.value)("type",e.type)("readonly",e.isUnaryCondition),f(2),b("ngIf",e.value||0===e.value)}}function KKe(i,a){if(1&i){const e=Te();D(0,"igx-suffix")(1,"igx-icon",30),G("keydown",function(n){return Y(e),K(C(2).onCommitKeyDown(n))})("click",function(n){return Y(e),K(C(2).onCommitClick(n))}),L(2,"done"),v(),D(3,"igx-icon",30),G("keydown",function(n){return Y(e),K(C(2).onClearKeyDown(n))})("click",function(n){return Y(e),K(C(2).clearInput(n))}),L(4,"clear"),v()()}}function ZKe(i,a){if(1&i){const e=Te();D(0,"igx-date-picker",31,32),G("valueChange",function(n){return Y(e),K(C().value=n)})("click",function(){Y(e);const n=ae(1);return K(C().expression.condition.isUnary?null:n.open())})("keydown",function(n){return Y(e),K(C().onInputKeyDown(n))})("focusout",function(){return Y(e),K(C().onInputGroupFocusout())})("closed",function(){return Y(e),K(C().focusEditElement())}),D(2,"igx-prefix",25,26),G("click",function(n){return Y(e),K(C().inputGroupPrefixClick(n))})("keydown",function(n){return Y(e),K(C().onPrefixKeyDown(n))}),ce(4,"igx-icon",21),v(),$(5,KKe,5,0,"igx-suffix",29),ce(6,"igx-picker-toggle")(7,"igx-picker-clear"),v()}if(2&i){const e=C(),t=ae(1);b("value",e.value)("readOnly",!0)("outlet",e.filteringService.grid.outlet)("locale",e.filteringService.grid.locale)("displayFormat",e.column.pipeArgs.format)("formatter",e.column.formatter)("placeholder",e.placeholder)("weekStart",e.column.pipeArgs.weekStart)("displayDensity",e.displayDensity),f(2),b("igxDropDownItemNavigation",t),f(2),b("name",e.expression.condition.iconName),f(1),b("ngIf",e.value)}}function QKe(i,a){if(1&i){const e=Te();D(0,"igx-suffix")(1,"igx-icon",30),G("keydown",function(n){return Y(e),K(C(2).onCommitKeyDown(n))})("click",function(n){return Y(e),K(C(2).onCommitClick(n))}),L(2,"done"),v(),D(3,"igx-icon",30),G("keydown",function(n){return Y(e),K(C(2).onClearKeyDown(n))})("click",function(n){return Y(e),K(C(2).clearInput(n))}),L(4,"clear"),v()()}}function JKe(i,a){if(1&i){const e=Te();D(0,"igx-time-picker",33,32),G("valueChange",function(n){return Y(e),K(C().value=n)})("closed",function(){return Y(e),K(C().focusEditElement())})("focusout",function(){return Y(e),K(C().onInputGroupFocusout())})("keydown",function(n){return Y(e),K(C().onInputKeyDown(n))})("click",function(){Y(e);const n=ae(1);return K(C().expression.condition.isUnary?null:n.open())}),D(2,"igx-prefix",25,26),G("click",function(n){return Y(e),K(C().inputGroupPrefixClick(n))})("keydown",function(n){return Y(e),K(C().onPrefixKeyDown(n))}),ce(4,"igx-icon",21),v(),$(5,QKe,5,0,"igx-suffix",29),ce(6,"igx-picker-toggle")(7,"igx-picker-clear"),v()}if(2&i){const e=C(),t=ae(1);b("value",e.value)("inputFormat",e.column.defaultTimeFormat)("locale",e.filteringService.grid.locale)("formatter",e.column.formatter)("outlet",e.filteringService.grid.outlet)("displayDensity",e.displayDensity)("readOnly",!0)("placeholder",e.placeholder),f(2),b("igxDropDownItemNavigation",t),f(2),b("name",e.expression.condition.iconName),f(1),b("ngIf",e.value)}}function eZe(i,a){if(1&i){const e=Te();D(0,"igx-suffix")(1,"igx-icon",30),G("keydown",function(n){return Y(e),K(C(2).onCommitKeyDown(n))})("click",function(){return Y(e),K(C(2).onCommitClick())}),L(2,"done"),v(),D(3,"igx-icon",30),G("keydown",function(n){return Y(e),K(C(2).onClearKeyDown(n))})("click",function(){return Y(e),K(C(2).onClearClick())}),L(4,"clear"),v()()}}function tZe(i,a){if(1&i){const e=Te();D(0,"igx-input-group",23,24),G("focusout",function(){return Y(e),K(C().onInputGroupFocusout())}),D(2,"igx-prefix",25,26),G("click",function(n){return Y(e),K(C().inputGroupPrefixClick(n))})("keydown",function(n){return Y(e),K(C().onPrefixKeyDown(n))}),ce(4,"igx-icon",21),v(),D(5,"input",34,28),G("valueChange",function(n){return Y(e),K(C().onInput(n))})("click",function(){return Y(e),K(C().onInputClick())})("keydown",function(n){return Y(e),K(C().onInputKeyDown(n))})("keyup",function(){return Y(e),K(C().onInputKeyUp())}),v(),$(7,eZe,5,0,"igx-suffix",29),v()}if(2&i){const e=C(),t=ae(1);b("displayDensity",e.displayDensity),f(2),b("igxDropDownItemNavigation",t),f(2),b("name",e.getIconName()),f(1),b("placeholder",e.placeholder)("igxDateTimeEditor",e.column.defaultDateTimeFormat)("value",e.value)("readonly",e.isUnaryCondition),f(2),b("ngIf",e.value||0===e.value)}}function iZe(i,a){1&i&&be(0)}function nZe(i,a){if(1&i){const e=Te();D(0,"button",35),G("keydown",function(n){return Y(e),K(C().onLeftArrowKeyDown(n))})("click",function(){return Y(e),K(C().scrollChipsOnArrowPress("left"))}),D(1,"igx-icon"),L(2,"navigate_before"),v()()}}function aZe(i,a){if(1&i){const e=Te();D(0,"span",41)(1,"button",42),G("click",function(n){Y(e);const r=C().index;return K(C().toggleOperatorsDropDown(n,r))}),D(2,"igx-icon"),L(3,"expand_more"),v(),D(4,"span"),L(5),v()(),D(6,"igx-drop-down",43,44),G("selectionChanging",function(n){Y(e);const r=C().$implicit;return K(C().onLogicOperatorChanged(n,r))}),D(8,"igx-drop-down-item",19),L(9),v(),D(10,"igx-drop-down-item",19),L(11),v()()()}if(2&i){const e=ae(7),t=C().$implicit,n=C();f(1),b("igxDropDownItemNavigation",e)("displayDensity",n.displayDensity),f(4),me(n.filteringService.getOperatorAsString(t.afterOperator)),f(1),b("displayDensity",n.column.grid.displayDensity),f(2),b("value",0)("selected",0===t.afterOperator),f(1),me(n.filteringService.grid.resourceStrings.igx_grid_filter_operator_and),f(1),b("value",1)("selected",1===t.afterOperator),f(1),me(n.filteringService.grid.resourceStrings.igx_grid_filter_operator_or)}}function rZe(i,a){if(1&i){const e=Te();Re(0,36),D(1,"igx-chip",37,38),G("pointerdown",function(n){Y(e);const r=ae(2);return K(C().onChipPointerdown(n,r))})("click",function(n){const s=Y(e).$implicit;return K(C().onChipClick(n,s))})("keydown",function(n){const s=Y(e).$implicit;return K(C().onChipKeyDown(n,s))})("remove",function(n){const s=Y(e).$implicit;return K(C().onChipRemoved(n,s))}),ce(3,"igx-icon",39),D(4,"span"),L(5),v()(),$(6,aZe,12,10,"span",40),Pe()}if(2&i){const e=a.$implicit,t=a.last,n=C();f(1),b("selectable",!1)("selected",e.isSelected)("displayDensity",n.displayDensity)("removable",!0),f(2),b("name",e.expression.condition.iconName),f(2),me(n.filteringService.getChipLabel(e.expression)),f(1),b("ngIf",!t)}}function sZe(i,a){if(1&i){const e=Te();D(0,"button",45),G("click",function(){return Y(e),K(C().scrollChipsOnArrowPress("right"))}),D(1,"igx-icon"),L(2,"navigate_next"),v()()}}const Tue=["headerVirtualContainer"],oZe=["headerDragContainer"],lZe=["headerSelectorContainer"],uZe=["headerGroupContainer"],Iue=["headSelectorBaseTemplate"],cZe=["headerHierarchyExpander"];function hZe(i,a){if(1&i&&(Re(0),ce(1,"span",8),Pe()),2&i){const e=C();f(1),$e("left",e.grid.pinnedWidth,"px"),b("igxColumnMovingDrop",e.headerContainer)}}function dZe(i,a){if(1&i&&(Re(0),ce(1,"span",9),Pe()),2&i){const e=C();f(1),$e("left",e.grid.pinnedWidth,"px"),b("igxColumnMovingDrop",e.headerContainer)}}function gZe(i,a){1&i&&be(0)}function pZe(i,a){if(1&i&&(Re(0),D(1,"div",10,11),G("pointerdown",function(t){return t.preventDefault()}),D(3,"div",12),$(4,gZe,1,0,"ng-container",13),v()(),Pe()),2&i){const e=C();f(1),ct("igx-grid__drag-indicator--header",!e.grid.isRowSelectable),f(3),b("ngTemplateOutlet",e.grid.dragIndicatorIconTemplate||e.grid.dragIndicatorIconBase)}}function mZe(i,a){1&i&&be(0,null,17)}function fZe(i,a){if(1&i){const e=Te();Re(0),D(1,"div",14,15),G("click",function(n){return Y(e),K(C().headerRowSelection(n))})("pointerdown",function(n){return n.preventDefault()}),$(3,mZe,2,0,"ng-container",16),v(),Pe()}if(2&i){const e=C(),t=ae(17);f(1),ct("igx-grid__cbx-selection--push",e.grid.filteringService.isFilterRowVisible),f(2),b("ngTemplateOutlet",e.grid.headSelectorTemplate||t)("ngTemplateOutletContext",e.rowSelectorsContext)}}function _Ze(i,a){1&i&&be(0)}const bZe=(i,a,e)=>({"igx-grid__hierarchical-expander igx-grid__hierarchical-expander--header igx-grid__tr-action":i,"igx-grid__hierarchical-expander--push":a,"igx-grid__hierarchical-expander--no-border":e});function yZe(i,a){if(1&i){const e=Te();Re(0),D(1,"div",18,19),G("click",function(){return Y(e),K(C().grid.toggleAll())})("pointerdown",function(n){return n.preventDefault()}),$(3,_Ze,1,0,"ng-container",16),v(),Pe()}if(2&i){const e=C();f(1),b("hidden",!e.grid.hasExpandableChildren||!e.grid.hasVisibleColumns)("ngClass",JT(4,bZe,e.grid.hasExpandableChildren,e.grid.filteringService.isFilterRowVisible,e.grid.isRowSelectable||e.grid.rowDraggable)),f(2),b("ngTemplateOutlet",e.grid.iconTemplate)("ngTemplateOutletContext",ln(8,ir,e.grid))}}function xZe(i,a){1&i&&be(0)}function SZe(i,a){if(1&i){const e=Te();Re(0),D(1,"div",20,21),G("click",function(){return Y(e),K(C().grid.toggleAllGroupRows())})("pointerdown",function(n){return n.preventDefault()}),$(3,xZe,1,0,"ng-container",16),v(),Pe()}if(2&i){const e=C();f(1),Su(e.indentationCSSClasses),f(2),b("ngTemplateOutlet",e.grid.iconTemplate)("ngTemplateOutletContext",ln(5,ir,e.grid))}}function DZe(i,a){if(1&i&&(Re(0),D(1,"igx-grid-header-group",23),re(2,"igxHeaderGroupWidth"),re(3,"igxHeaderGroupWidth"),re(4,"igxHeaderGroupStyle"),v(),Pe()),2&i){const e=a.$implicit,t=C(2);f(1),$e("min-width",$t(2,7,e.resolvedWidth,t.grid.defaultHeaderGroupMinWidth,t.hasMRL))("flex-basis",$t(3,11,e.resolvedWidth,t.grid.defaultHeaderGroupMinWidth,t.hasMRL)),b("ngClass",e.headerGroupClasses)("ngStyle",$t(4,15,e.headerGroupStyles,e,t.grid.pipeTrigger))("column",e)}}function CZe(i,a){if(1&i&&(Re(0),$(1,DZe,5,19,"ng-container",22),re(2,"igxTopLevel"),Pe()),2&i){const e=C();f(1),b("ngForOf",Sr(2,1,e.pinnedColumnCollection))}}function vZe(i,a){if(1&i&&(D(0,"igx-grid-header-group",23),re(1,"igxHeaderGroupWidth"),re(2,"igxHeaderGroupWidth"),re(3,"igxHeaderGroupStyle"),v()),2&i){const e=a.$implicit,t=C();$e("min-width",$t(1,7,e.resolvedWidth,t.grid.defaultHeaderGroupMinWidth,t.hasMRL))("flex-basis",$t(2,11,e.resolvedWidth,t.grid.defaultHeaderGroupMinWidth,t.hasMRL)),b("ngClass",e.headerGroupClasses)("ngStyle",$t(3,15,e.headerGroupStyles,e,t.grid.pipeTrigger))("column",e)}}function MZe(i,a){if(1&i&&(Re(0),D(1,"igx-grid-header-group",23),re(2,"igxHeaderGroupWidth"),re(3,"igxHeaderGroupWidth"),re(4,"igxHeaderGroupStyle"),v(),Pe()),2&i){const e=a.$implicit,t=C(2);f(1),$e("min-width",$t(2,9,e.resolvedWidth,t.grid.defaultHeaderGroupMinWidth,t.hasMRL))("flex-basis",$t(3,13,e.resolvedWidth,t.grid.defaultHeaderGroupMinWidth,t.hasMRL))("left",e.rightPinnedOffset),b("ngClass",e.headerGroupClasses)("ngStyle",$t(4,17,e.headerGroupStyles,e,t.grid.pipeTrigger))("column",e)}}function wZe(i,a){if(1&i&&(Re(0),$(1,MZe,5,21,"ng-container",22),re(2,"igxTopLevel"),Pe()),2&i){const e=C();f(1),b("ngForOf",Sr(2,1,e.pinnedColumnCollection))}}function TZe(i,a){if(1&i&&(Re(0),ce(1,"igx-grid-filtering-row",24,25),Pe()),2&i){const e=C();f(1),$e("width",e.width,"px"),b("column",e.grid.filteringService.filteredColumn)}}function IZe(i,a){if(1&i&&(Re(0),ce(1,"span",26),Pe()),2&i){const e=C();f(1),b("igxColumnMovingDrop",e.headerContainer)}}const AZe=i=>({visibility:i});function kZe(i,a){if(1&i&&(D(0,"div",27),ce(1,"igx-checkbox",28,29),v()),2&i){const e=a.$implicit,t=C();f(1),b("tabindex",-1)("readonly",!0)("checked",e.selectedCount>0&&t.grid.selectionService.areAllRowSelected())("disableRipple",!0)("ngStyle",ln(7,AZe,t.grid.isMultiRowSelectionEnabled?"visible":"hidden"))("indeterminate",e.selectedCount>0&&t.grid.selectionService.hasSomeRowSelected())("aria-label",t.grid.headSelectorBaseAriaLabel)}}function EZe(i,a){if(1&i&&(D(0,"span"),L(1),v()),2&i){const e=C();f(1),me(null==e.grid?null:e.grid.resourceStrings.igx_grid_toolbar_advanced_filtering_button_label)}}function RZe(i,a){1&i&&at(0,2)}function PZe(i,a){1&i&&ce(0,"igx-grid-toolbar-advanced-filtering")}function FZe(i,a){if(1&i&&(D(0,"igx-grid-toolbar-actions"),$(1,PZe,1,0,"igx-grid-toolbar-advanced-filtering",2),v()),2&i){const e=C();f(1),b("ngIf",e.grid.allowAdvancedFiltering)}}function BZe(i,a){1&i&&be(0)}function $Ze(i,a){1&i&&(D(0,"div",5),ce(1,"igx-linear-bar",6),v()),2&i&&(f(1),b("indeterminate",!0))}const LZe=[[["","igxGridToolbarTitle",""],["igx-grid-toolbar-title"]],"*",[["","igxGridToolbarActions",""],["igx-grid-toolbar-actions"]]],VZe=["[igxGridToolbarTitle],igx-grid-toolbar-title","*","[igxGridToolbarActions],igx-grid-toolbar-actions"];function NZe(i,a){1&i&&be(0)}function OZe(i,a){if(1&i&&(Re(0),$(1,NZe,1,0,"ng-container",2),Pe()),2&i){const e=C(),t=ae(2);f(1),b("ngTemplateOutlet",e.summaryTemplate?e.summaryTemplate:t)("ngTemplateOutletContext",ln(2,ir,e.summaryResults))}}function WZe(i,a){if(1&i&&(Re(0),D(1,"div",4)(2,"span",5),L(3),v(),D(4,"span",6),L(5),v()(),Pe()),2&i){const e=a.$implicit,t=C(2);f(1),$e("height",t.itemHeight,"px"),f(1),b("title",e.label),f(1),me(t.translateSummary(e)),f(1),b("title",t.formatSummaryResult(e)),f(1),Ge(" ",t.formatSummaryResult(e)," ")}}function jZe(i,a){1&i&&$(0,WZe,6,6,"ng-container",3),2&i&&b("ngForOf",C().summaryResults)}function GZe(i,a){if(1&i&&(Re(0),D(1,"div",4),G("pointerdown",function(t){return t.preventDefault()}),v(),Pe()),2&i){const e=C(2);f(1),$e("min-width",e.grid.summariesMargin,"px")("flex-basis",e.grid.summariesMargin,"px")}}function zZe(i,a){1&i&&be(0)}function HZe(i,a){if(1&i&&(Re(0),$(1,zZe,1,0,"ng-container",5),Pe()),2&i){const e=C(2),t=ae(2);f(1),b("ngTemplateOutlet",t)("ngTemplateOutletContext",e.getContext(e))}}function qZe(i,a){if(1&i&&ce(0,"igx-grid-summary-cell",6),2&i){const e=a.$implicit,t=C(2);$e("max-height",t.minHeight,"px")("min-height",t.minHeight,"px")("min-width",e.resolvedWidth)("max-width",e.resolvedWidth)("flex-basis",e.resolvedWidth),ct("igx-grid-summary--cosy","cosy"===t.grid.displayDensity)("igx-grid-summary--compact","compact"===t.grid.displayDensity)("igx-grid-summary--empty",!e.hasSummary)("igx-grid-summary--pinned-last",e.isLastPinned),b("column",e)("rowIndex",t.index)("firstCellIndentation",t.firstCellIndentation)("summaryResults",t.getColumnSummaries(e.field))("summaryTemplate",e.summaryTemplate)("hasSummary",e.hasSummary)("density",t.grid.displayDensity)("summaryFormatter",e.summaryFormatter)("active",t.isCellActive(e.visibleIndex))}}function UZe(i,a){1&i&&be(0)}function XZe(i,a){if(1&i&&(Re(0),$(1,UZe,1,0,"ng-container",5),Pe()),2&i){const e=C(2),t=ae(2);f(1),b("ngTemplateOutlet",t)("ngTemplateOutletContext",e.getContext(e))}}function YZe(i,a){if(1&i&&(Re(0),$(1,GZe,2,4,"ng-container",0)(2,HZe,2,2,"ng-container",0)(3,qZe,1,27,"ng-template",2,3,he),re(5,"igxNotGrouped"),$(6,XZe,2,2,"ng-container",0),Pe()),2&i){const e=C();f(1),b("ngIf",e.grid.summariesMargin),f(1),b("ngIf",e.pinnedColumns.length>0&&e.grid.isPinningToStart),f(1),b("igxGridForOf",Sr(5,9,e.unpinnedColumns))("igxForScrollContainer",e.grid.parentVirtDir)("igxForScrollOrientation","horizontal")("igxForContainerSize",e.grid.unpinnedWidth)("igxForTrackBy",e.grid.trackColumnChanges)("igxForSizePropName","calcPixelWidth"),f(3),b("ngIf",e.pinnedColumns.length>0&&!e.grid.isPinningToStart)}}function KZe(i,a){if(1&i&&ce(0,"igx-grid-summary-cell",8),2&i){const e=a.$implicit,t=C(2);$e("max-height",t.minHeight,"px")("min-height",t.minHeight,"px")("min-width",e.resolvedWidth)("max-width",e.resolvedWidth)("flex-basis",e.resolvedWidth)("left",e.rightPinnedOffset),ct("igx-grid-summary--cosy","cosy"===t.grid.displayDensity)("igx-grid-summary--compact","compact"===t.grid.displayDensity)("igx-grid-summary--empty",!e.hasSummary)("igx-grid-summary--pinned-first",e.isFirstPinned)("igx-grid-summary--pinned-last",e.isLastPinned),b("column",e)("firstCellIndentation",t.firstCellIndentation)("rowIndex",t.index)("summaryResults",t.getColumnSummaries(e.field))("summaryTemplate",e.summaryTemplate)("hasSummary",e.hasSummary)("density",t.grid.displayDensity)("active",t.isCellActive(e.visibleIndex))}}function ZZe(i,a){1&i&&($(0,KZe,1,30,"igx-grid-summary-cell",7),re(1,"igxNotGrouped")),2&i&&b("ngForOf",Sr(1,1,C().pinnedColumns))}function QZe(i,a){if(1&i){const e=Te();D(0,"button",4),G("click",function(){return Y(e),K(C().triggerAction())}),L(1),v()}if(2&i){const e=C();f(1),Ge(" ",e.actionText,"\n")}}const JZe=["*",[["","igxButton",""]]],eQe=["*","[igxButton]"];function tQe(i,a){1&i&&ce(0,"igx-page-size")}function iQe(i,a){1&i&&ce(0,"igx-page-nav")}const nQe=[[["","igxPaginatorContent",""],["igx-paginator-content"]]],aQe=["[igxPaginatorContent],igx-paginator-content"];function rQe(i,a){if(1&i&&(D(0,"igx-select-item",4),L(1),v()),2&i){const e=a.$implicit;b("value",e),f(1),Ge(" ",e," ")}}function sQe(i,a){if(1&i){const e=Te();Re(0),D(1,"igx-chip",5),G("keyDown",function(n){return Y(e),K(C().handleKeyDown(n.owner.id,n.originalEvent))})("remove",function(n){return Y(e),K(C().clearGrouping(n.owner.id))})("chipClick",function(){const r=Y(e).$implicit;return K(C().handleClick(r.fieldName))}),re(2,"igxGroupByMeta"),re(3,"igxGroupByMeta"),re(4,"igxGroupByMeta"),re(5,"igxGroupByMeta"),D(6,"span"),L(7),re(8,"igxGroupByMeta"),v(),D(9,"igx-icon",6),L(10),v()(),D(11,"span",7)(12,"igx-icon",8),L(13,"arrow_forward"),v()(),Pe()}if(2&i){const e=a.$implicit,t=a.last,n=C();f(1),b("id",e.fieldName)("title",Wn(2,9,e.fieldName,n.grid).title)("displayDensity",n.grid.displayDensity)("removable",$t(3,12,e.fieldName,n.grid,n.grid.groupablePipeTrigger).groupable)("draggable",$t(4,16,e.fieldName,n.grid,n.grid.groupablePipeTrigger).groupable)("disabled",!$t(5,20,e.fieldName,n.grid,n.grid.groupablePipeTrigger).groupable),f(6),me(Wn(8,24,e.fieldName,n.grid).title),f(3),me(1===e.dir?"arrow_upward":"arrow_downward"),f(2),b("hidden",t&&!n.dropAreaVisible)}}function oQe(i,a){1&i&&be(0)}function lQe(i,a){if(1&i&&(D(0,"igx-icon",9),L(1,"group_work"),v(),D(2,"span",10),L(3),v()),2&i){const e=C();f(3),me(e.dropAreaMessage)}}const uQe=["loadingOverlay"],cQe=["igxLoadingOverlayOutlet"],hQe=["emptyFilteredGrid"],dQe=["defaultEmptyGrid"],gQe=["defaultLoadingGrid"],pQe=["verticalScrollContainer"],mQe=["verticalScrollHolder"],fQe=["scr"],_Qe=["footer"],bQe=["tbody"],yQe=["pinContainer"],xQe=["tfoot"],SQe=["igxRowEditingOverlayOutlet"],DQe=["dragIndicatorIconBase"],CQe=["rowEditingOverlay"],vQe=["igxFilteringOverlayOutlet"],dz=["defaultExpandedTemplate"],gz=["defaultCollapsedTemplate"],MQe=["defaultESFHeaderIcon"],wQe=["defaultRowEditTemplate"],TQe=["summaryRow"],IQe=["row"],AQe=["pinnedRow"],kQe=["groupContent"],EQe=["defaultGroupByExpandedTemplate"],RQe=["defaultGroupByCollapsedTemplate"];function PQe(i,a){1&i&&(Re(0),D(1,"div",10)(2,"igx-icon"),L(3,"drag_indicator"),v()(),Pe()),2&i&&(f(2),$e("visibility","hidden"))}function FQe(i,a){}function BQe(i,a){1&i&&$(0,FQe,0,0,"ng-template",null,12,he)}const $Qe=(i,a,e)=>({selectedCount:i,totalCount:a,groupRow:e});function LQe(i,a){if(1&i){const e=Te();Re(0),D(1,"div",11),G("pointerdown",function(n){return n.preventDefault()})("click",function(n){return Y(e),K(C().onGroupSelectorClick(n))}),$(2,BQe,2,0,null,3),v(),Pe()}if(2&i){const e=C(),t=ae(16);f(2),b("ngTemplateOutlet",e.grid.groupByRowSelectorTemplate?e.grid.groupByRowSelectorTemplate:t)("ngTemplateOutletContext",ln(6,ir,JT(2,$Qe,e.selectedRowsInTheGroup.length,e.groupRow.records.length,e.groupRow)))}}function VQe(i,a){1&i&&be(0)}function NQe(i,a){1&i&&be(0)}function OQe(i,a){1&i&&(D(0,"igx-icon"),L(1,"expand_more"),v())}function WQe(i,a){1&i&&(D(0,"igx-icon"),L(1,"chevron_right"),v())}function jQe(i,a){if(1&i&&(D(0,"div",13)(1,"igx-icon",14),L(2,"group_work"),v(),D(3,"span",15),L(4),v(),D(5,"span",16),L(6),re(7,"columnFormatter"),re(8,"number"),re(9,"date"),re(10,"currency"),re(11,"percent"),v(),ce(12,"igx-badge",17),v()),2&i){const e=C();f(4),Ge(" ",e.groupRow.column&&e.groupRow.column.header?e.groupRow.column.header:e.groupRow.expression?e.groupRow.expression.fieldName:"",": "),f(2),me(e.formatter?Qn(7,3,e.groupRow.value,e.formatter,e.groupRow.records[0],null):"number"===e.dataType?$t(8,8,e.groupRow.value,e.groupRow.column.pipeArgs.digitsInfo,e.grid.locale):"date"===e.dataType||"time"===e.dataType||"dateTime"===e.dataType?Qn(9,12,e.groupRow.value,e.groupRow.column.pipeArgs.format,e.groupRow.column.pipeArgs.timezone,e.grid.locale):"currency"===e.dataType?Xt(10,17,Na(27,br,e.groupRow.value,e.currencyCode,e.groupRow.column.pipeArgs.display,e.groupRow.column.pipeArgs.digitsInfo,e.grid.locale)):"percent"===e.dataType?$t(11,23,e.groupRow.value,e.groupRow.column.pipeArgs.digitsInfo,e.grid.locale):e.groupRow.value),f(6),b("value",e.groupRow.records?e.groupRow.records.length:0)}}function GQe(i,a){if(1&i&&(D(0,"div",18),ce(1,"igx-checkbox",19,20),v()),2&i){const e=C();f(1),b("tabindex",-1)("readonly",!0)("checked",e.areAllRowsInTheGroupSelected)("disableRipple",!0)("indeterminate",e.groupByRowCheckboxIndeterminateState)("disabled","single"===e.grid.rowSelection)("aria-label",e.groupByRowSelectorBaseAriaLabel)}}const zQe=["errorIcon"],HQe=["defaultError"],qQe=["defaultCell"],UQe=["defaultPinnedIndicator"],XQe=["inlineEditor"],YQe=["addRowCell"],KQe=["error"];function ZQe(i,a){if(1&i&&(D(0,"igx-chip",8),L(1),v()),2&i){const e=C(2);b("disabled",!0)("displayDensity","compact"),f(1),me(e.grid.resourceStrings.igx_grid_pinned_row_indicator)}}function QQe(i,a){1&i&&$(0,ZQe,2,3,"igx-chip",7),2&i&&b("ngIf",C().displayPinnedChip)}function JQe(i,a){if(1&i&&(D(0,"div",12),re(1,"columnFormatter"),re(2,"number"),re(3,"date"),re(4,"currency"),re(5,"percent"),L(6),re(7,"columnFormatter"),re(8,"number"),re(9,"date"),re(10,"currency"),re(11,"percent"),v()),2&i){const e=C(2);b("cssClass",e.highlightClass)("activeCssClass",e.activeHighlightClass)("groupName",e.gridID)("value",e.formatter?Qn(1,9,e.value,e.formatter,e.rowData,e.columnData):"number"===e.column.dataType?$t(2,14,e.value,e.column.pipeArgs.digitsInfo,e.grid.locale):"date"===e.column.dataType||"time"===e.column.dataType||"dateTime"===e.column.dataType?Qn(3,18,e.value,e.column.pipeArgs.format,e.column.pipeArgs.timezone,e.grid.locale):"currency"===e.column.dataType?Xt(4,23,Na(57,br,e.value,e.currencyCode,e.column.pipeArgs.display,e.column.pipeArgs.digitsInfo,e.grid.locale)):"percent"===e.column.dataType?$t(5,29,e.value,e.column.pipeArgs.digitsInfo,e.grid.locale):e.value)("row",e.rowData)("column",e.column.field)("containerClass","igx-grid__td-text")("metadata",e.searchMetadata),f(6),me(e.formatter?Qn(7,33,e.value,e.formatter,e.rowData,e.columnData):"number"===e.column.dataType?$t(8,38,e.value,e.column.pipeArgs.digitsInfo,e.grid.locale):"date"===e.column.dataType||"time"===e.column.dataType||"dateTime"===e.column.dataType?Qn(9,42,e.value,e.column.pipeArgs.format,e.column.pipeArgs.timezone,e.grid.locale):"currency"===e.column.dataType?Xt(10,47,Na(63,br,e.value,e.currencyCode,e.column.pipeArgs.display,e.column.pipeArgs.digitsInfo,e.grid.locale)):"percent"===e.column.dataType?$t(11,53,e.value,e.column.pipeArgs.digitsInfo,e.grid.locale):e.value)}}const $B=(i,a)=>({"igx-icon--success":i,"igx-icon--error":a});function eJe(i,a){if(1&i&&(D(0,"igx-icon",13),L(1),v()),2&i){const e=C(2);b("ngClass",Qs(2,$B,e.value,!e.value)),f(1),me(e.value?"check":"close")}}function tJe(i,a){if(1&i&&(ce(0,"img",14),re(1,"igxCellImageAlt")),2&i){const e=C(2);b("src",e.value,Jm)("alt",Sr(1,2,e.value))}}function iJe(i,a){if(1&i&&$(0,JQe,12,69,"div",9)(1,eJe,2,5,"igx-icon",10)(2,tJe,2,4,"img",11),2&i){const e=C();b("ngIf","boolean"!==e.column.dataType&&"image"!==e.column.dataType||"boolean"===e.column.dataType&&e.formatter),f(1),b("ngIf","boolean"===e.column.dataType&&!e.formatter),f(1),b("ngIf","image"===e.column.dataType)}}function nJe(i,a){if(1&i&&(D(0,"div",12),re(1,"columnFormatter"),re(2,"number"),re(3,"date"),re(4,"currency"),re(5,"percent"),L(6),v()),2&i){const e=C(2);b("cssClass",e.highlightClass)("activeCssClass",e.activeHighlightClass)("groupName",e.gridID)("value",e.formatter?$t(1,9,e.value,e.formatter,e.rowData):"number"===e.column.dataType?$t(2,13,e.value,e.column.pipeArgs.digitsInfo,e.grid.locale):"date"===e.column.dataType||"time"===e.column.dataType||"dateTime"===e.column.dataType?Qn(3,17,e.value,e.column.pipeArgs.format,e.column.pipeArgs.timezone,e.grid.locale):"currency"===e.column.dataType?Xt(4,22,Na(32,br,e.value,e.currencyCode,e.column.pipeArgs.display,e.column.pipeArgs.digitsInfo,e.grid.locale)):"percent"===e.column.dataType?$t(5,28,e.value,e.column.pipeArgs.digitsInfo,e.grid.locale):e.value)("row",e.rowData)("column",e.column.field)("containerClass","igx-grid__td-text")("metadata",e.searchMetadata),f(6),me(e.isEmptyAddRowCell?e.column.header||e.column.field:e.value)}}function aJe(i,a){if(1&i&&$(0,nJe,7,38,"div",9),2&i){const e=C();b("ngIf","boolean"!==e.column.dataType||"boolean"===e.column.dataType&&e.formatter)}}function rJe(i,a){if(1&i){const e=Te();Re(0,16),D(1,"igx-input-group",17)(2,"input",18),G("compositionstart",function(){return Y(e),K(C(2).grid.crudService.isInCompositionMode=!0)})("compositionend",function(){return Y(e),K(C(2).grid.crudService.isInCompositionMode=!1)}),v()(),Pe()}if(2&i){const e=C(2);b("formGroup",e.formGroup),f(2),b("igxFocus",!0)("igxTextSelection",!0)("formControl",e.formControl),ke("aria-describedby",e.ariaDescribeBy)("aria-invalid",e.isInvalid)}}function sJe(i,a){if(1&i&&(Re(0),D(1,"igx-input-group",19),ce(2,"input",20),v(),Pe()),2&i){const e=C(2);f(1),b("formGroup",e.formGroup),f(1),b("igxFocus",!0)("igxTextSelection",!0)("step",e.step)("formControl",e.formControl),ke("aria-describedby",e.ariaDescribeBy)("aria-invalid",e.isInvalid)}}function oJe(i,a){if(1&i&&(Re(0,16),ce(1,"igx-checkbox",21),Pe()),2&i){const e=C(2);b("formGroup",e.formGroup),f(1),b("checked",e.editValue)("igxFocus",!0)("disableRipple",!0)("formControl",e.formControl)}}function lJe(i,a){if(1&i){const e=Te();Re(0,16),D(1,"igx-date-picker",22),G("valueChange",function(n){return Y(e),K(C(2).editValue=n)}),v(),Pe()}if(2&i){const e=C(2);b("formGroup",e.formGroup),f(1),$e("width",100,"%"),b("outlet",e.grid.outlet)("locale",e.grid.locale)("weekStart",e.column.pipeArgs.weekStart)("value",e.editValue)("igxFocus",!0)("formControl",e.formControl)}}function uJe(i,a){if(1&i){const e=Te();Re(0,16),D(1,"igx-time-picker",23),G("valueChange",function(n){return Y(e),K(C(2).editValue=n)}),v(),Pe()}if(2&i){const e=C(2);b("formGroup",e.formGroup),f(1),$e("width",100,"%"),b("outlet",e.grid.outlet)("locale",e.grid.locale)("inputFormat",e.column.defaultTimeFormat)("value",e.editValue)("igxFocus",!0)("formControl",e.formControl)}}function cJe(i,a){if(1&i&&(Re(0),D(1,"igx-input-group",16),ce(2,"input",24),v(),Pe()),2&i){const e=C(2);f(1),b("formGroup",e.formGroup),f(1),b("formControl",e.formControl)("igxDateTimeEditor",e.column.defaultDateTimeFormat)("igxFocus",!0),ke("aria-describedby",e.ariaDescribeBy)("aria-invalid",e.isInvalid)}}function hJe(i,a){if(1&i&&(D(0,"igx-prefix"),L(1),v()),2&i){const e=C(3);f(1),me(e.currencyCodeSymbol)}}function dJe(i,a){if(1&i&&(D(0,"igx-suffix"),L(1),v()),2&i){const e=C(3);f(1),me(e.currencyCodeSymbol)}}function gJe(i,a){if(1&i&&(Re(0),D(1,"igx-input-group",19),$(2,hJe,2,1,"igx-prefix",5),ce(3,"input",20),$(4,dJe,2,1,"igx-suffix",5),v(),Pe()),2&i){const e=C(2);f(1),b("formGroup",e.formGroup),f(1),b("ngIf",e.grid.currencyPositionLeft),f(1),b("igxFocus",!0)("igxTextSelection",!0)("step",e.step)("formControl",e.formControl),ke("aria-describedby",e.ariaDescribeBy)("aria-invalid",e.isInvalid),f(1),b("ngIf",!e.grid.currencyPositionLeft)}}function pJe(i,a){if(1&i&&(Re(0),D(1,"igx-input-group",19),ce(2,"input",20),D(3,"igx-suffix"),L(4),re(5,"percent"),v()(),Pe()),2&i){const e=C(2);f(1),b("formGroup",e.formGroup),f(1),b("igxFocus",!0)("igxTextSelection",!0)("step",e.step)("formControl",e.formControl),ke("aria-describedby",e.ariaDescribeBy)("aria-invalid",e.isInvalid),f(2),Ge(" ",$t(5,8,e.editValue,e.column.pipeArgs.digitsInfo,e.grid.locale)," ")}}function mJe(i,a){if(1&i&&$(0,rJe,3,6,"ng-container",15)(1,sJe,3,7,"ng-container",5)(2,oJe,2,5,"ng-container",15)(3,lJe,2,9,"ng-container",15)(4,uJe,2,9,"ng-container",15)(5,cJe,3,6,"ng-container",5)(6,gJe,5,9,"ng-container",5)(7,pJe,6,12,"ng-container",5),2&i){const e=C();b("ngIf","string"===e.column.dataType||"image"===e.column.dataType),f(1),b("ngIf","number"===e.column.dataType),f(1),b("ngIf","boolean"===e.column.dataType),f(1),b("ngIf","date"===e.column.dataType),f(1),b("ngIf","time"===e.column.dataType),f(1),b("ngIf","dateTime"===e.column.dataType),f(1),b("ngIf","currency"===e.column.dataType),f(1),b("ngIf","percent"===e.column.dataType)}}function fJe(i,a){1&i&&be(0)}function _Je(i,a){1&i&&be(0)}function bJe(i,a){1&i&&be(0)}function yJe(i,a){if(1&i){const e=Te();Re(0),D(1,"igx-icon",25,26),G("mouseover",function(){return Y(e),K(C().errorShowing=!0)})("mouseout",function(){return Y(e),K(C().errorShowing=!1)}),L(3,"error"),v(),D(4,"div",27,28)(7,"div"),$(8,bJe,1,0,"ng-container",4),v()(),Pe()}if(2&i){const e=ae(6),t=C(),n=ae(12);f(1),b("igxTooltipTarget",e)("igxToggleOutlet",t.grid.outlet),f(3),b("id",t.ariaErrorMessage),f(3),$e("width","max-content"),f(1),b("ngTemplateOutlet",t.cellValidationErrorTemplate||n)("ngTemplateOutletContext",t.context)}}function xJe(i,a){if(1&i&&(D(0,"div"),L(1),v()),2&i){const e=C(2);f(1),Ge(" ",e.grid.resourceStrings.igx_grid_required_validation_error," ")}}function SJe(i,a){if(1&i&&(D(0,"div"),L(1),re(2,"igxStringReplace"),v()),2&i){const e=C(2);f(1),Ge(" ",$t(2,1,e.grid.resourceStrings.igx_grid_min_length_validation_error,"{0}",e.formGroup.get(e.column.field).errors.minlength.requiredLength)," ")}}function DJe(i,a){if(1&i&&(D(0,"div"),L(1),re(2,"igxStringReplace"),v()),2&i){const e=C(2);f(1),Ge(" ",$t(2,1,e.grid.resourceStrings.igx_grid_max_length_validation_error,"{0}",e.formGroup.get(e.column.field).errors.maxlength.requiredLength)," ")}}function CJe(i,a){if(1&i&&(D(0,"div"),L(1),re(2,"igxStringReplace"),v()),2&i){const e=C(2);f(1),Ge(" ",$t(2,1,e.grid.resourceStrings.igx_grid_min_validation_error,"{0}",e.formGroup.get(e.column.field).errors.min.min)," ")}}function vJe(i,a){if(1&i&&(D(0,"div"),L(1),re(2,"igxStringReplace"),v()),2&i){const e=C(2);f(1),Ge(" ",$t(2,1,e.grid.resourceStrings.igx_grid_max_validation_error,"{0}",e.formGroup.get(e.column.field).errors.max.max)," ")}}function MJe(i,a){if(1&i&&(D(0,"div"),L(1),v()),2&i){const e=C(2);f(1),Ge(" ",e.grid.resourceStrings.igx_grid_email_validation_error," ")}}function wJe(i,a){if(1&i&&(D(0,"div"),L(1),v()),2&i){const e=C(2);f(1),Ge(" ",e.grid.resourceStrings.igx_grid_pattern_validation_error," ")}}function TJe(i,a){if(1&i&&$(0,xJe,2,1,"div",5)(1,SJe,3,5,"div",5)(2,DJe,3,5,"div",5)(3,CJe,3,5,"div",5)(4,vJe,3,5,"div",5)(5,MJe,2,1,"div",5)(6,wJe,2,1,"div",5),2&i){const e=C();b("ngIf",null==e.formGroup||null==e.formGroup.get(null==e.column?null:e.column.field).errors?null:e.formGroup.get(null==e.column?null:e.column.field).errors.required),f(1),b("ngIf",null==e.formGroup||null==e.formGroup.get(null==e.column?null:e.column.field).errors?null:e.formGroup.get(null==e.column?null:e.column.field).errors.minlength),f(1),b("ngIf",null==e.formGroup||null==e.formGroup.get(null==e.column?null:e.column.field).errors?null:e.formGroup.get(null==e.column?null:e.column.field).errors.maxlength),f(1),b("ngIf",null==e.formGroup||null==e.formGroup.get(null==e.column?null:e.column.field).errors?null:e.formGroup.get(null==e.column?null:e.column.field).errors.min),f(1),b("ngIf",null==e.formGroup||null==e.formGroup.get(null==e.column?null:e.column.field).errors?null:e.formGroup.get(null==e.column?null:e.column.field).errors.max),f(1),b("ngIf",null==e.formGroup||null==e.formGroup.get(null==e.column?null:e.column.field).errors?null:e.formGroup.get(null==e.column?null:e.column.field).errors.email),f(1),b("ngIf",null==e.formGroup||null==e.formGroup.get(null==e.column?null:e.column.field).errors?null:e.formGroup.get(null==e.column?null:e.column.field).errors.pattern)}}const IJe=["indentationDiv"];function AJe(i,a){if(1&i&&(D(0,"igx-chip",10),L(1),v()),2&i){const e=C(2);b("disabled",!0)("displayDensity","compact"),f(1),me(e.grid.resourceStrings.igx_grid_pinned_row_indicator)}}function kJe(i,a){1&i&&$(0,AJe,2,3,"igx-chip",9),2&i&&b("ngIf",C().displayPinnedChip)}function EJe(i,a){if(1&i&&(D(0,"div",14),re(1,"columnFormatter"),re(2,"number"),re(3,"date"),re(4,"currency"),re(5,"percent"),L(6),re(7,"columnFormatter"),re(8,"number"),re(9,"date"),re(10,"currency"),re(11,"percent"),v()),2&i){const e=C(2);b("cssClass",e.highlightClass)("activeCssClass",e.activeHighlightClass)("groupName",e.gridID)("value",e.formatter?$t(1,9,e.value,e.formatter,e.rowData):"number"===e.column.dataType?$t(2,13,e.value,e.column.pipeArgs.digitsInfo,e.grid.locale):"date"===e.column.dataType||"time"===e.column.dataType||"dateTime"===e.column.dataType?Qn(3,17,e.value,e.column.pipeArgs.format,e.column.pipeArgs.timezone,e.grid.locale):"currency"===e.column.dataType?Xt(4,22,Na(55,br,e.value,e.currencyCode,e.column.pipeArgs.display,e.column.pipeArgs.digitsInfo,e.grid.locale)):"percent"===e.column.dataType?$t(5,28,e.value,e.column.pipeArgs.digitsInfo,e.grid.locale):e.value)("row",e.rowData)("column",e.column.field)("containerClass","igx-grid__td-text")("metadata",e.searchMetadata),f(6),me(e.formatter?$t(7,32,e.value,e.formatter,e.rowData):"number"===e.column.dataType?$t(8,36,e.value,e.column.pipeArgs.digitsInfo,e.grid.locale):"date"===e.column.dataType||"time"===e.column.dataType||"dateTime"===e.column.dataType?Qn(9,40,e.value,e.column.pipeArgs.format,e.column.pipeArgs.timezone,e.grid.locale):"currency"===e.column.dataType?Xt(10,45,Na(61,br,e.value,e.currencyCode,e.column.pipeArgs.display,e.column.pipeArgs.digitsInfo,e.grid.locale)):"percent"===e.column.dataType?$t(11,51,e.value,e.column.pipeArgs.digitsInfo,e.grid.locale):e.value)}}function RJe(i,a){if(1&i&&(D(0,"igx-icon",15),L(1),v()),2&i){const e=C(2);b("ngClass",Qs(2,$B,e.value,!e.value)),f(1),me(e.value?"check":"close")}}function PJe(i,a){if(1&i&&(ce(0,"img",16),re(1,"igxCellImageAlt")),2&i){const e=C(2);b("src",e.value,Jm)("alt",Sr(1,2,e.value))}}function FJe(i,a){if(1&i&&$(0,EJe,12,67,"div",11)(1,RJe,2,5,"igx-icon",12)(2,PJe,2,4,"img",13),2&i){const e=C();b("ngIf","boolean"!==e.column.dataType&&"image"!==e.column.dataType||"boolean"===e.column.dataType&&e.formatter),f(1),b("ngIf","boolean"===e.column.dataType&&!e.formatter),f(1),b("ngIf","image"===e.column.dataType)}}function BJe(i,a){if(1&i&&(D(0,"div",14),re(1,"columnFormatter"),re(2,"number"),re(3,"date"),re(4,"currency"),re(5,"percent"),L(6),v()),2&i){const e=C(2);b("cssClass",e.highlightClass)("activeCssClass",e.activeHighlightClass)("groupName",e.gridID)("value",e.formatter?$t(1,9,e.value,e.formatter,e.rowData):"number"===e.column.dataType?$t(2,13,e.value,e.column.pipeArgs.digitsInfo,e.grid.locale):"date"===e.column.dataType||"time"===e.column.dataType||"dateTime"===e.column.dataType?Qn(3,17,e.value,e.column.pipeArgs.format,e.column.pipeArgs.timezone,e.grid.locale):"currency"===e.column.dataType?Xt(4,22,Na(32,br,e.value,e.currencyCode,e.column.pipeArgs.display,e.column.pipeArgs.digitsInfo,e.grid.locale)):"percent"===e.column.dataType?$t(5,28,e.value,e.column.pipeArgs.digitsInfo,e.grid.locale):e.value)("row",e.rowData)("column",e.column.field)("containerClass","igx-grid__td-text")("metadata",e.searchMetadata),f(6),me(e.value?e.value:e.column.header||e.column.field)}}function $Je(i,a){if(1&i&&$(0,BJe,7,38,"div",11),2&i){const e=C();b("ngIf","boolean"!==e.column.dataType||"boolean"===e.column.dataType&&e.formatter)}}function LJe(i,a){if(1&i){const e=Te();Re(0,18),D(1,"igx-input-group",19)(2,"input",20),G("compositionstart",function(){return Y(e),K(C(2).grid.crudService.isInCompositionMode=!0)})("compositionend",function(){return Y(e),K(C(2).grid.crudService.isInCompositionMode=!1)}),v()(),Pe()}if(2&i){const e=C(2);b("formGroup",e.formGroup),f(2),b("igxFocus",!0)("formControl",e.formControl),ke("aria-describedby",e.ariaDescribeBy)("aria-invalid",e.isInvalid)}}function VJe(i,a){if(1&i&&(Re(0),D(1,"igx-input-group",21),ce(2,"input",22),v(),Pe()),2&i){const e=C(2);f(1),b("formGroup",e.formGroup),f(1),b("igxFocus",!0)("step",e.step)("formControl",e.formControl),ke("aria-describedby",e.ariaDescribeBy)("aria-invalid",e.isInvalid)}}function NJe(i,a){if(1&i&&(Re(0,18),ce(1,"igx-checkbox",23),Pe()),2&i){const e=C(2);b("formGroup",e.formGroup),f(1),b("checked",e.editValue)("igxFocus",!0)("disableRipple",!0)("formControl",e.formControl)}}function OJe(i,a){if(1&i){const e=Te();Re(0,18),D(1,"igx-date-picker",24),G("valueChange",function(n){return Y(e),K(C(2).editValue=n)}),v(),Pe()}if(2&i){const e=C(2);b("formGroup",e.formGroup),f(1),$e("width",100,"%"),b("outlet",e.grid.outlet)("locale",e.grid.locale)("weekStart",e.column.pipeArgs.weekStart)("value",e.editValue)("igxFocus",!0)("formControl",e.formControl)}}function WJe(i,a){if(1&i){const e=Te();Re(0,18),D(1,"igx-time-picker",25),G("valueChange",function(n){return Y(e),K(C(2).editValue=n)}),v(),Pe()}if(2&i){const e=C(2);b("formGroup",e.formGroup),f(1),$e("width",100,"%"),b("outlet",e.grid.outlet)("locale",e.grid.locale)("inputFormat",e.column.defaultTimeFormat)("value",e.editValue)("igxFocus",!0)("formControl",e.formControl)}}function jJe(i,a){if(1&i&&(Re(0),D(1,"igx-input-group",18),ce(2,"input",26),v(),Pe()),2&i){const e=C(2);f(1),b("formGroup",e.formGroup),f(1),b("formControl",e.formControl)("igxDateTimeEditor",e.column.defaultDateTimeFormat)("igxFocus",!0),ke("aria-describedby",e.ariaDescribeBy)("aria-invalid",e.isInvalid)}}function GJe(i,a){if(1&i&&(D(0,"igx-prefix"),L(1),v()),2&i){const e=C(3);f(1),me(e.currencyCodeSymbol)}}function zJe(i,a){if(1&i&&(D(0,"igx-suffix"),L(1),v()),2&i){const e=C(3);f(1),me(e.currencyCodeSymbol)}}function HJe(i,a){if(1&i&&(Re(0),D(1,"igx-input-group",21),$(2,GJe,2,1,"igx-prefix",4),ce(3,"input",22),$(4,zJe,2,1,"igx-suffix",4),v(),Pe()),2&i){const e=C(2);f(1),b("formGroup",e.formGroup),f(1),b("ngIf",e.grid.currencyPositionLeft),f(1),b("igxFocus",!0)("step",e.step)("formControl",e.formControl),ke("aria-describedby",e.ariaDescribeBy)("aria-invalid",e.isInvalid),f(1),b("ngIf",!e.grid.currencyPositionLeft)}}function qJe(i,a){if(1&i&&(Re(0),D(1,"igx-input-group",21),ce(2,"input",22),D(3,"igx-suffix"),L(4),re(5,"percent"),v()(),Pe()),2&i){const e=C(2);f(1),b("formGroup",e.formGroup),f(1),b("igxFocus",!0)("step",e.step)("formControl",e.formControl),ke("aria-describedby",e.ariaDescribeBy)("aria-invalid",e.isInvalid),f(2),Ge(" ",$t(5,7,e.editValue,e.column.pipeArgs.digitsInfo,e.grid.locale)," ")}}function UJe(i,a){if(1&i&&$(0,LJe,3,5,"ng-container",17)(1,VJe,3,6,"ng-container",4)(2,NJe,2,5,"ng-container",17)(3,OJe,2,9,"ng-container",17)(4,WJe,2,9,"ng-container",17)(5,jJe,3,6,"ng-container",4)(6,HJe,5,8,"ng-container",4)(7,qJe,6,11,"ng-container",4),2&i){const e=C();b("ngIf","string"===e.column.dataType||"image"===e.column.dataType),f(1),b("ngIf","number"===e.column.dataType),f(1),b("ngIf","boolean"===e.column.dataType),f(1),b("ngIf","date"===e.column.dataType),f(1),b("ngIf","time"===e.column.dataType),f(1),b("ngIf","dateTime"===e.column.dataType),f(1),b("ngIf","currency"===e.column.dataType),f(1),b("ngIf","percent"===e.column.dataType)}}function XJe(i,a){1&i&&be(0)}function YJe(i,a){if(1&i){const e=Te();Re(0),D(1,"div",27,28),G("click",function(n){return Y(e),K(C().toggle(n))})("focus",function(){return Y(e),K(C().onIndicatorFocus())}),$(3,XJe,1,0,"ng-container",5),v(),Pe()}if(2&i){const e=C();f(3),b("ngTemplateOutlet",e.iconTemplate)("ngTemplateOutletContext",ln(2,ir,e.row))}}function KJe(i,a){1&i&&be(0)}function ZJe(i,a){1&i&&be(0)}function QJe(i,a){1&i&&be(0)}function JJe(i,a){if(1&i){const e=Te();Re(0),D(1,"igx-icon",29,30),G("mouseover",function(){return Y(e),K(C().errorShowing=!0)})("mouseout",function(){return Y(e),K(C().errorShowing=!1)}),L(3,"error"),v(),D(4,"div",31,32)(7,"div"),$(8,QJe,1,0,"ng-container",5),v()(),Pe()}if(2&i){const e=ae(6),t=C(),n=ae(17);f(1),b("igxTooltipTarget",e)("igxToggleOutlet",t.grid.outlet),f(3),b("id",t.ariaErrorMessage),f(3),$e("width","max-content"),f(1),b("ngTemplateOutlet",t.cellValidationErrorTemplate||n)("ngTemplateOutletContext",t.context)}}function eet(i,a){1&i&&(D(0,"igx-icon"),L(1,"expand_more"),v())}function tet(i,a){1&i&&(D(0,"igx-icon"),L(1,"chevron_right"),v())}function iet(i,a){if(1&i&&(D(0,"div"),L(1),v()),2&i){const e=C(2);f(1),Ge(" ",e.grid.resourceStrings.igx_grid_required_validation_error," ")}}function net(i,a){if(1&i&&(D(0,"div"),L(1),re(2,"igxStringReplace"),v()),2&i){const e=C(2);f(1),Ge(" ",$t(2,1,e.grid.resourceStrings.igx_grid_min_length_validation_error,"{0}",e.formGroup.get(e.column.field).errors.minlength.requiredLength)," ")}}function aet(i,a){if(1&i&&(D(0,"div"),L(1),re(2,"igxStringReplace"),v()),2&i){const e=C(2);f(1),Ge(" ",$t(2,1,e.grid.resourceStrings.igx_grid_max_length_validation_error,"{0}",e.formGroup.get(e.column.field).errors.maxlength.requiredLength)," ")}}function ret(i,a){if(1&i&&(D(0,"div"),L(1),re(2,"igxStringReplace"),v()),2&i){const e=C(2);f(1),Ge(" ",$t(2,1,e.grid.resourceStrings.igx_grid_min_validation_error,"{0}",e.formGroup.get(e.column.field).errors.min.min)," ")}}function set(i,a){if(1&i&&(D(0,"div"),L(1),re(2,"igxStringReplace"),v()),2&i){const e=C(2);f(1),Ge(" ",$t(2,1,e.grid.resourceStrings.igx_grid_max_validation_error,"{0}",e.formGroup.get(e.column.field).errors.max.max)," ")}}function oet(i,a){if(1&i&&(D(0,"div"),L(1),v()),2&i){const e=C(2);f(1),Ge(" ",e.grid.resourceStrings.igx_grid_email_validation_error," ")}}function uet(i,a){if(1&i&&(D(0,"div"),L(1),v()),2&i){const e=C(2);f(1),Ge(" ",e.grid.resourceStrings.igx_grid_pattern_validation_error," ")}}function cet(i,a){if(1&i&&$(0,iet,2,1,"div",4)(1,net,3,5,"div",4)(2,aet,3,5,"div",4)(3,ret,3,5,"div",4)(4,set,3,5,"div",4)(5,oet,2,1,"div",4)(6,uet,2,1,"div",4),2&i){const e=C();b("ngIf",null==e.formGroup||null==e.formGroup.get(null==e.column?null:e.column.field).errors?null:e.formGroup.get(null==e.column?null:e.column.field).errors.required),f(1),b("ngIf",null==e.formGroup||null==e.formGroup.get(null==e.column?null:e.column.field).errors?null:e.formGroup.get(null==e.column?null:e.column.field).errors.minlength),f(1),b("ngIf",null==e.formGroup||null==e.formGroup.get(null==e.column?null:e.column.field).errors?null:e.formGroup.get(null==e.column?null:e.column.field).errors.maxlength),f(1),b("ngIf",null==e.formGroup||null==e.formGroup.get(null==e.column?null:e.column.field).errors?null:e.formGroup.get(null==e.column?null:e.column.field).errors.min),f(1),b("ngIf",null==e.formGroup||null==e.formGroup.get(null==e.column?null:e.column.field).errors?null:e.formGroup.get(null==e.column?null:e.column.field).errors.max),f(1),b("ngIf",null==e.formGroup||null==e.formGroup.get(null==e.column?null:e.column.field).errors?null:e.formGroup.get(null==e.column?null:e.column.field).errors.email),f(1),b("ngIf",null==e.formGroup||null==e.formGroup.get(null==e.column?null:e.column.field).errors?null:e.formGroup.get(null==e.column?null:e.column.field).errors.pattern)}}function het(i,a){1&i&&be(0)}function det(i,a){1&i&&be(0)}function get(i,a){if(1&i){const e=Te();D(0,"div",9),G("animationend",function(){return Y(e),K(C().animationEndHandler())}),$(1,det,1,0,"ng-container",0),v()}if(2&i){const e=C(),t=ae(4);ct("igx-grid__tr--add-animate",e.triggerAddAnimationClass),f(1),b("ngTemplateOutlet",t)}}function pet(i,a){1&i&&be(0)}function met(i,a){if(1&i&&(Re(0),D(1,"div",11),G("click",function(t){return t.stopPropagation()}),$(2,pet,1,0,"ng-container",0),v(),Pe()),2&i){const e=C(2);f(1),Su(e.resolveDragIndicatorClasses),b("igxRowDrag",e)("ghostTemplate",e.grid.getDragGhostCustomTemplate()),f(1),b("ngTemplateOutlet",e.grid.dragIndicatorIconTemplate?e.grid.dragIndicatorIconTemplate:e.grid.dragIndicatorIconBase)}}function fet(i,a){}function _et(i,a){1&i&&$(0,fet,0,0,"ng-template")}const Aue=(i,a,e,t)=>({index:i,rowID:a,key:e,selected:t});function bet(i,a){if(1&i){const e=Te();Re(0),D(1,"div",12),G("pointerdown",function(n){return n.preventDefault()})("click",function(n){return Y(e),K(C(2).onRowSelectorClick(n))}),$(2,_et,1,0,null,13),v(),Pe()}if(2&i){const e=C(2),t=ae(8);f(2),b("ngTemplateOutlet",e.grid.rowSelectorTemplate?e.grid.rowSelectorTemplate:t)("ngTemplateOutletContext",ln(7,ir,jp(2,Aue,e.viewIndex,e.key,e.key,e.selected)))}}function yet(i,a){if(1&i&&(Re(0),D(1,"div",14),G("pointerdown",function(t){return t.preventDefault()})("click",function(t){return t.stopPropagation()}),v(),Pe()),2&i){const e=C(2);f(1),$g("igx-grid__row-indentation igx-grid__row-indentation--level-",e.grid.groupingExpressions.length,"")}}function xet(i,a){1&i&&be(0)}function Det(i,a){if(1&i&&$(0,xet,1,0,"ng-container",13),2&i){const e=a.$implicit,t=C(4),n=ae(12),r=ae(10);b("ngTemplateOutlet",0===e.visibleIndex&&t.grid.hasDetails?n:r)("ngTemplateOutletContext",t.getContext(e,t))}}function Cet(i,a){if(1&i&&(Re(0),$(1,Det,1,2,"ng-template",17),re(2,"igxNotGrouped"),Pe()),2&i){const e=C(3);f(1),b("ngForOf",Sr(2,1,e.pinnedColumns))}}function vet(i,a){1&i&&be(0)}function Met(i,a){if(1&i&&$(0,vet,1,0,"ng-container",13),2&i){const e=a.$implicit,t=C(3),n=ae(12),r=ae(10);b("ngTemplateOutlet",0===e.visibleIndex&&t.grid.hasDetails?n:r)("ngTemplateOutletContext",t.getContext(e,t))}}function wet(i,a){1&i&&be(0)}function Tet(i,a){if(1&i&&$(0,wet,1,0,"ng-container",13),2&i){const e=a.$implicit,t=C(4),n=ae(12),r=ae(10);b("ngTemplateOutlet",0===e.visibleIndex&&t.grid.hasDetails?n:r)("ngTemplateOutletContext",t.getContext(e,t))}}function Iet(i,a){if(1&i&&(Re(0),$(1,Tet,1,2,"ng-template",17),re(2,"igxNotGrouped"),Pe()),2&i){const e=C(3);f(1),b("ngForOf",Sr(2,1,e.pinnedColumns))}}function Aet(i,a){if(1&i&&(Re(0),$(1,Cet,3,3,"ng-container",10)(2,Met,1,2,"ng-template",15,16,he),re(4,"igxNotGrouped"),$(5,Iet,3,3,"ng-container",10),Pe()),2&i){const e=C(2);f(1),b("ngIf",e.pinnedColumns.length>0&&e.grid.isPinningToStart),f(1),b("igxGridForOf",Sr(4,8,e.unpinnedColumns))("igxForScrollContainer",e.grid.parentVirtDir)("igxForScrollOrientation","horizontal")("igxForContainerSize",e.grid.unpinnedWidth)("igxForSizePropName","calcPixelWidth")("igxForTrackBy",e.grid.trackColumnChanges),f(3),b("ngIf",e.pinnedColumns.length>0&&!e.grid.isPinningToStart)}}function ket(i,a){1&i&&be(0)}function Eet(i,a){if(1&i&&(Re(0),$(1,ket,1,0,"ng-container",13),Pe()),2&i){const e=C(3),t=ae(6);f(1),b("ngTemplateOutlet",t)("ngTemplateOutletContext",e.getContextMRL(e.pinnedColumns,e))}}function Ret(i,a){1&i&&be(0)}function Pet(i,a){if(1&i&&$(0,Ret,1,0,"ng-container",13),2&i){const e=a.$implicit,t=C(4),n=ae(16),r=ae(14);b("ngTemplateOutlet",0===e.visibleIndex&&t.grid.hasDetails?n:r)("ngTemplateOutletContext",t.getContext(e,t))}}function Fet(i,a){if(1&i&&(D(0,"div",18),$(1,Pet,1,2,"ng-template",17),v()),2&i){const e=a.$implicit;b("ngStyle",Qs(2,wue,e.getGridTemplate(!0),e.getGridTemplate(!1))),f(1),b("ngForOf",e.children)}}function Bet(i,a){1&i&&be(0)}function $et(i,a){if(1&i&&(Re(0),$(1,Bet,1,0,"ng-container",13),Pe()),2&i){const e=C(3),t=ae(6);f(1),b("ngTemplateOutlet",t)("ngTemplateOutletContext",e.getContextMRL(e.pinnedColumns,e))}}function Let(i,a){if(1&i&&(Re(0),$(1,Eet,2,2,"ng-container",10)(2,Fet,2,5,"ng-template",15,16,he),re(4,"igxTopLevel"),$(5,$et,2,2,"ng-container",10),Pe()),2&i){const e=C(2);f(1),b("ngIf",e.pinnedColumns.length>0&&e.grid.isPinningToStart),f(1),b("igxGridForOf",Sr(4,8,e.unpinnedColumns))("igxForScrollContainer",e.grid.parentVirtDir)("igxForScrollOrientation","horizontal")("igxForContainerSize",e.grid.unpinnedWidth)("igxForSizePropName","calcPixelWidth")("igxForTrackBy",e.grid.trackColumnChanges),f(3),b("ngIf",e.pinnedColumns.length>0&&!e.grid.isPinningToStart)}}function Vet(i,a){if(1&i&&$(0,met,3,5,"ng-container",10)(1,bet,3,9,"ng-container",10)(2,yet,2,3,"ng-container",10)(3,Aet,6,10,"ng-container",10)(4,Let,6,10,"ng-container",10),2&i){const e=C();b("ngIf",e.rowDraggable),f(1),b("ngIf",e.showRowSelectors),f(1),b("ngIf",e.grid.groupingExpressions.length>0),f(1),b("ngIf",!e.grid.hasColumnLayouts),f(1),b("ngIf",e.grid.hasColumnLayouts)}}function Net(i,a){1&i&&be(0)}function Oet(i,a){if(1&i&&$(0,Net,1,0,"ng-container",13),2&i){const e=a.$implicit,t=C(3),n=ae(16),r=ae(14);b("ngTemplateOutlet",0===e.visibleIndex&&t.grid.hasDetails?n:r)("ngTemplateOutletContext",t.getContext(e,t))}}const Wet=(i,a,e)=>({"grid-template-rows":i,"grid-template-columns":a,"z-index":e});function jet(i,a){if(1&i&&(D(0,"div",18),$(1,Oet,1,2,"ng-template",17),v()),2&i){const e=a.$implicit;$e("left",C(2).mrlRightPinnedOffset),ct("igx-grid__td--pinned-last",e.hasLastPinnedChildColumn)("igx-grid__td--pinned-first",e.hasFirstPinnedChildColumn),b("ngStyle",JT(8,Wet,e.getGridTemplate(!0),e.getGridTemplate(!1),e.pinned?1:null)),f(1),b("ngForOf",e.children)}}function Get(i,a){1&i&&($(0,jet,2,12,"div",19),re(1,"igxTopLevel")),2&i&&b("ngForOf",Sr(1,1,a.$implicit))}function zet(i,a){if(1&i&&(D(0,"div",20),ce(1,"igx-checkbox",21),v()),2&i){const e=C();f(1),b("tabindex",-1)("checked",e.selected)("readonly",!0)("disabled",e.deleted)("disableRipple",!0)("disableTransitions",e.grid.disableTransitions)("aria-label",e.rowCheckboxAriaLabel)}}const xh=(i,a,e,t,n,r,s)=>[i,a,e,t,n,r,s],vr=(i,a,e,t,n,r)=>[i,a,e,t,n,r];function Het(i,a){if(1&i&&(D(0,"igx-grid-cell",22,23),re(2,"transactionState"),re(3,"igxCellStyleClasses"),re(4,"igxCellStyles"),re(5,"dataMapper"),v()),2&i){const e=a.$implicit,t=C();$e("min-height",t.cellHeight,"px")("min-width",e.resolvedWidth)("max-width",e.resolvedWidth)("flex-basis",e.resolvedWidth)("left",e.rightPinnedOffset),ct("igx-grid__td--edited",Xt(2,38,vu(66,xh,t.key,e.field,t.grid.rowEditable,t.grid.transactions,t.grid.pipeTrigger,t.grid.gridAPI.crudService.cell,t.grid.gridAPI.crudService.row)))("igx-grid__td--pinned",e.pinned)("igx-grid__td--number","number"===e.dataType||"percent"===e.dataType||"currency"===e.dataType)("igx-grid__td--bool","boolean"===e.dataType)("igx-grid__td--image","image"===e.dataType),b("ngClass",Xt(3,46,Oa(74,vr,e.cellClasses,t.data[e.field],t.data,e.field,t.viewIndex,t.grid.pipeTrigger)))("ngStyle",Xt(4,53,Oa(81,vr,e.cellStyles,t.data[e.field],t.data,e.field,t.viewIndex,t.grid.pipeTrigger)))("editMode",e.editable&&t.grid.crudService.targetInEdit(t.index,e.index))("column",e)("formatter",e.formatter)("intRow",t)("lastPinned",e.columnLayoutChild?null:e.isLastPinned)("firstPinned",e.columnLayoutChild?null:e.isFirstPinned)("rowData",t.data)("width",e.getCellWidth())("visibleColumnIndex",e.visibleIndex)("value",Xt(5,60,Na(88,br,t.data,e.field,t.grid.pipeTrigger,t.data[e.field],e.hasNestedPath)))("cellTemplate",e.bodyTemplate)("cellValidationErrorTemplate",e.errorTemplate)("lastSearchInfo",t.grid.lastSearchInfo)("active",t.isCellActive(e.visibleIndex))("cellSelectionMode",t.grid.cellSelection)("displayPinnedChip",t.shouldDisplayPinnedChip(e.visibleIndex))}}function qet(i,a){if(1&i&&(D(0,"igx-expandable-grid-cell",24,23),re(2,"transactionState"),re(3,"igxCellStyleClasses"),re(4,"igxCellStyles"),re(5,"dataMapper"),v()),2&i){const e=a.$implicit,t=C();$e("min-height",t.cellHeight,"px")("min-width",e.resolvedWidth)("max-width",e.resolvedWidth)("flex-basis",e.resolvedWidth),ct("igx-grid__td--pinned",e.pinned)("igx-grid__td--edited",Xt(2,32,vu(60,xh,t.key,e.field,t.grid.rowEditable,t.grid.transactions,t.grid.pipeTrigger,t.grid.gridAPI.crudService.cell,t.grid.gridAPI.crudService.row)))("igx-grid__td--number",("number"===e.dataType||"percent"===e.dataType||"currency"===e.dataType)&&0!==e.visibleIndex),b("ngClass",Xt(3,40,Oa(68,vr,e.cellClasses,t.data[e.field],t.data,e.field,t.viewIndex,t.grid.pipeTrigger)))("ngStyle",Xt(4,47,Oa(75,vr,e.cellStyles,t.data[e.field],t.data,e.field,t.viewIndex,t.grid.pipeTrigger)))("expanded",t.expanded)("editMode",e.editable&&t.grid.crudService.targetInEdit(t.index,e.index))("column",e)("formatter",e.formatter)("intRow",t)("lastPinned",e.columnLayoutChild?null:e.isLastPinned)("rowData",t.data)("width",e.getCellWidth())("visibleColumnIndex",e.visibleIndex)("value",Xt(5,54,Na(82,br,t.data,e.field,t.grid.pipeTrigger,t.data[e.field],e.hasNestedPath)))("cellTemplate",e.bodyTemplate)("cellValidationErrorTemplate",e.errorTemplate)("lastSearchInfo",t.grid.lastSearchInfo)("active",t.isCellActive(e.visibleIndex))("cellSelectionMode",t.grid.cellSelection)("displayPinnedChip",t.shouldDisplayPinnedChip(e.visibleIndex))}}function Uet(i,a){if(1&i&&(D(0,"igx-grid-cell",25,23),re(2,"transactionState"),re(3,"igxCellStyleClasses"),re(4,"igxCellStyles"),re(5,"dataMapper"),v()),2&i){const e=a.$implicit,t=C();$e("grid-row-end",e.rowEnd)("grid-column-end",e.colEnd)("grid-row-start",e.rowStart)("grid-column-start",e.colStart)("min-height",t.cellHeight,"px"),ct("igx-grid__td--edited",Xt(2,33,vu(61,xh,t.key,e.field,t.grid.rowEditable,t.grid.transactions,t.grid.pipeTrigger,t.grid.gridAPI.crudService.cell,t.grid.gridAPI.crudService.row)))("igx-grid__td--pinned",e.pinned)("igx-grid__td--number","number"===e.dataType||"percent"===e.dataType||"currency"===e.dataType),b("ngClass",Xt(3,41,Oa(69,vr,e.cellClasses,t.data[e.field],t.data,e.field,t.viewIndex,t.grid.pipeTrigger)))("ngStyle",Xt(4,48,Oa(76,vr,e.cellStyles,t.data[e.field],t.data,e.field,t.viewIndex,t.grid.pipeTrigger)))("editMode",e.editable&&t.grid.crudService.targetInEdit(t.index,e.index))("column",e)("lastPinned",e.columnLayoutChild?null:e.isLastPinned)("firstPinned",e.columnLayoutChild?null:e.isFirstPinned)("formatter",e.formatter)("intRow",t)("rowData",t.data)("visibleColumnIndex",e.visibleIndex)("value",Xt(5,55,Na(83,br,t.data,e.field,t.grid.pipeTrigger,t.data[e.field],e.hasNestedPath)))("cellTemplate",e.bodyTemplate)("cellValidationErrorTemplate",e.errorTemplate)("lastSearchInfo",t.grid.lastSearchInfo)("active",t.isCellActive(e.visibleIndex))("cellSelectionMode",t.grid.cellSelection)("displayPinnedChip",t.shouldDisplayPinnedChip(e.visibleIndex))}}function Xet(i,a){if(1&i&&(D(0,"igx-expandable-grid-cell",26,23),re(2,"transactionState"),re(3,"igxCellStyleClasses"),re(4,"igxCellStyles"),re(5,"dataMapper"),v()),2&i){const e=a.$implicit,t=C();$e("grid-row-end",e.rowEnd)("grid-column-end",e.colEnd)("grid-row-start",e.rowStart)("grid-column-start",e.colStart)("min-height",t.cellHeight,"px"),ct("igx-grid__td--edited",Xt(2,33,vu(61,xh,t.key,e.field,t.grid.rowEditable,t.grid.transactions,t.grid.pipeTrigger,t.grid.gridAPI.crudService.cell,t.grid.gridAPI.crudService.row)))("igx-grid__td--pinned",e.pinned)("igx-grid__td--number",("number"===e.dataType||"percent"===e.dataType||"currency"===e.dataType)&&0!==e.visibleIndex),b("ngClass",Xt(3,41,Oa(69,vr,e.cellClasses,t.data[e.field],t.data,e.field,t.viewIndex,t.grid.pipeTrigger)))("ngStyle",Xt(4,48,Oa(76,vr,e.cellStyles,t.data[e.field],t.data,e.field,t.viewIndex,t.grid.pipeTrigger)))("expanded",t.expanded)("editMode",e.editable&&t.grid.crudService.targetInEdit(t.index,e.index))("column",e)("lastPinned",e.columnLayoutChild?null:e.isLastPinned)("formatter",e.formatter)("intRow",t)("rowData",t.data)("visibleColumnIndex",e.visibleIndex)("value",Xt(5,55,Na(83,br,t.data,e.field,t.grid.pipeTrigger,t.data[e.field],e.hasNestedPath)))("cellTemplate",e.bodyTemplate)("cellValidationErrorTemplate",e.errorTemplate)("lastSearchInfo",t.grid.lastSearchInfo)("active",t.isCellActive(e.visibleIndex))("cellSelectionMode",t.grid.cellSelection)("displayPinnedChip",t.shouldDisplayPinnedChip(e.visibleIndex))}}const pz=["record_template"],Yet=["detail_template_container"],Ket=["group_template"],kue=["summary_template"];function Zet(i,a){if(1&i&&(Re(0),ce(1,"igx-grid-group-by-area",61,62),Pe()),2&i){const e=C();f(1),$e("flex-basis",e.outerWidth,"px"),b("grid",e)("expressions",e.groupingExpressions)("sortingExpressions",e.sortingExpressions)("density",e.displayDensity)("dropAreaTemplate",e.dropAreaTemplate)("dropAreaMessage",e.dropAreaMessage)}}function Qet(i,a){1&i&&ce(0,"span",63),2&i&&(b("igxColumnMovingDrop",C().headerContainer),ke("droppable",!0))}function Jet(i,a){if(1&i&&ce(0,"span",64),2&i){const e=C();$e("left",e.pinnedWidth,"px"),b("igxColumnMovingDrop",e.headerContainer),ke("droppable",!0)}}function ett(i,a){1&i&&be(0)}function ttt(i,a){1&i&&be(0)}function itt(i,a){if(1&i&&(Re(0),$(1,ttt,1,0,"ng-container",69),Pe()),2&i){const e=a.$implicit,t=a.index,n=C(4),r=ae(27);f(1),b("ngTemplateOutlet",r)("ngTemplateOutletContext",n.getContext(e,t,!0))}}const mz=(i,a)=>({"igx-grid__tr--pinned-bottom":i,"igx-grid__tr--pinned-top":a});function ntt(i,a){if(1&i&&(D(0,"div",66,67),$(2,itt,2,2,"ng-container",68),v()),2&i){const e=C().ngIf,t=C(2);$e("width",t.calcWidth,"px"),b("ngClass",Qs(4,mz,!t.isRowPinningToTop,t.isRowPinningToTop)),f(2),b("ngForOf",e)}}function att(i,a){if(1&i&&(Re(0),$(1,ntt,3,7,"div",65),Pe()),2&i){const e=a.ngIf;f(1),b("ngIf",e.length>0)}}const Eue=(i,a,e,t,n,r,s)=>[i,a,e,t,n,r,s,!0],fz=(i,a,e,t,n,r)=>[i,a,e,t,n,r,!0];function rtt(i,a){if(1&i&&($(0,att,2,1,"ng-container",0),re(1,"gridSort"),re(2,"gridFiltering"),re(3,"gridRowPinning"),re(4,"gridAddRow"),re(5,"visibleColumns"),re(6,"gridTransaction")),2&i){const e=C();b("ngIf",Xt(1,1,Oa(42,fz,Xt(2,9,vu(34,Eue,Qn(3,18,$t(4,23,Wn(5,27,$t(6,30,e.data,e.id,e.pipeTrigger),e.hasVisibleColumns),!0,e.pipeTrigger),e.id,!0,e.pipeTrigger),e.filteringExpressionsTree,e.filterStrategy,e.advancedFilteringExpressionsTree,e.id,e.pipeTrigger,e.filteringPipeTrigger)),e.sortingExpressions,e.groupingExpressions,e.sortStrategy,e.id,e.pipeTrigger)))}}function stt(i,a){}function ott(i,a){if(1&i){const e=Te();$(0,stt,0,0,"ng-template",70),G("cachedViewLoaded",function(n){return Y(e),K(C().cachedViewLoaded(n))})("viewCreated",function(n){return Y(e),K(C().viewCreatedHandler(n))})("viewMoved",function(n){return Y(e),K(C().viewMovedHandler(n))})}if(2&i){const e=a.$implicit,t=a.index,n=C();b("igxTemplateOutlet",n.getRowTemplate(e))("igxTemplateOutletContext",n.getContext(e,t))}}function ltt(i,a){1&i&&be(0)}const i1=(i,a,e,t,n,r,s,o,l,u,c)=>[i,a,e,t,n,r,s,o,l,!1,u,c];function utt(i,a){if(1&i&&(ce(0,"igx-grid-row",71,72),re(2,"igxGridRowClasses"),re(3,"igxGridRowStyles")),2&i){const e=a.index,t=a.$implicit,n=a.disabled,r=ae(1),s=C();b("gridID",s.id)("index",e)("data",t)("disabled",n)("ngClass",Xt(2,6,V_(24,i1,[s.rowClasses,r,r.inEditMode,r.selected,r.dirty,r.deleted,r.dragging,e,s.hasColumnLayouts,t,s.pipeTrigger])))("ngStyle",Qn(3,19,s.rowStyles,t,e,s.pipeTrigger))}}function ctt(i,a){if(1&i&&(ce(0,"igx-grid-row",73,74),re(3,"igxGridRowClasses"),re(4,"igxGridRowStyles")),2&i){const e=a.index,t=a.$implicit,n=ae(1),r=C();b("gridID",r.id)("index",e)("data",t)("ngClass",Xt(3,5,V_(23,i1,[r.rowClasses,n,n.inEditMode,n.selected,n.dirty,n.deleted,n.dragging,e,r.hasColumnLayouts,t,r.pipeTrigger])))("ngStyle",Qn(4,18,r.rowStyles,t,e,r.pipeTrigger))}}function htt(i,a){if(1&i&&ce(0,"igx-grid-groupby-row",75,72),2&i){const e=a.index,t=a.$implicit,n=C();b("gridID",n.id)("index",e)("groupRow",t)("hideGroupRowSelectors",n.hideRowSelectors)("rowDraggable",n.rowDraggable)}}function dtt(i,a){if(1&i&&ce(0,"igx-grid-summary-row",76,77),2&i){const e=a.index,t=a.$implicit;b("gridID",C().id)("summaries",t.summaries)("index",e)}}function gtt(i,a){if(1&i&&(Re(0),ce(1,"div"),Pe()),2&i){const e=C(2);f(1),$g("igx-grid__row-indentation igx-grid__row-indentation--level-",e.groupingExpressions.length,"")}}function ptt(i,a){}const mtt=i=>({"igx-grid__tr-container":!0,"igx-grid__tr-container--active":i});function ftt(i,a){if(1&i){const e=Te();D(0,"div",78,79),G("pointerdown",function(){const r=Y(e).index,s=ae(1);return K(C().detailsViewFocused(s,r))}),D(2,"div",80),$(3,gtt,2,3,"ng-container",0)(4,ptt,0,0,"ng-template",81),v()()}if(2&i){const e=a.index,t=a.$implicit,n=C();b5("id","",n.id,"_",e,""),b("ngClass",ln(7,mtt,n.isDetailActive(e))),ke("data-rowindex",e),f(3),b("ngIf",n.groupingExpressions.length>0),f(1),b("ngTemplateOutlet",n.detailTemplate)("ngTemplateOutletContext",n.getDetailsContext(t,e))}}function _tt(i,a){1&i&&be(0)}function btt(i,a){1&i&&ce(0,"igx-circular-bar",82),2&i&&b("indeterminate",!0)}function ytt(i,a){1&i&&ce(0,"span",83),2&i&&(b("igxColumnMovingDrop",C().headerContainer),ke("droppable",!0))}function xtt(i,a){}function Stt(i,a){if(1&i&&(ce(0,"igx-grid-summary-row",84,77),re(2,"igxGridSummaryDataPipe")),2&i){const e=C();$e("width",e.calcWidth,"px")("height",e.summaryRowHeight,"px"),b("gridID",e.id)("summaries",Wn(2,7,e.id,e.summaryService.retriggerRootPipe))("index",e.dataView.length)}}function Dtt(i,a){}function Ctt(i,a){1&i&&be(0)}function vtt(i,a){if(1&i&&(D(0,"span"),$(1,Ctt,1,0,"ng-container",7),v()),2&i){const e=C(2),t=ae(76);f(1),b("ngTemplateOutlet",e.addRowEmptyTemplate||t)}}function Mtt(i,a){if(1&i&&(D(0,"span",85)(1,"span"),L(2),v(),$(3,vtt,2,1,"span",0),v()),2&i){const e=C();f(2),me(e.emptyFilteredGridMessage),f(1),b("ngIf",e.showAddButton)}}function wtt(i,a){1&i&&be(0)}function Ttt(i,a){if(1&i&&(D(0,"span"),$(1,wtt,1,0,"ng-container",7),v()),2&i){const e=C(2),t=ae(76);f(1),b("ngTemplateOutlet",e.addRowEmptyTemplate||t)}}function Itt(i,a){if(1&i&&(D(0,"span",85)(1,"span"),L(2),v(),$(3,Ttt,2,1,"span",0),v()),2&i){const e=C();f(2),me(e.emptyGridMessage),f(1),b("ngIf",e.showAddButton)}}function Att(i,a){if(1&i){const e=Te();D(0,"button",86),G("click",function(n){return Y(e),K(C().crudService.enterAddRowMode(null,!1,n))}),L(1),v()}if(2&i){const e=C();f(1),Ge(" ",e.resourceStrings.igx_grid_add_row_label," ")}}function ktt(i,a){1&i&&(D(0,"div",87),ce(1,"igx-circular-bar",82),v()),2&i&&(f(1),b("indeterminate",!0))}const Rue=i=>({"igx-grid__group-expand-btn--push":i});function Ett(i,a){if(1&i&&(D(0,"igx-icon",88),L(1,"unfold_less"),v()),2&i){const e=C();b("ngClass",ln(1,Rue,e.filteringService.isFilterRowVisible))}}function Rtt(i,a){if(1&i&&(D(0,"igx-icon",88),L(1,"unfold_more"),v()),2&i){const e=C();b("ngClass",ln(1,Rue,e.filteringService.isFilterRowVisible))}}function Ptt(i,a){1&i&&be(0)}const _z=(i,a)=>({rowChangesCount:i,endEdit:a});function Ftt(i,a){if(1&i&&(D(0,"div",18,89)(2,"div",90),$(3,Ptt,1,0,"ng-container",69),v()()),2&i){const e=C();f(2),b("className",e.bannerClass),f(1),b("ngTemplateOutlet",e.rowEditContainer)("ngTemplateOutletContext",Qs(3,_z,e.rowChangesCount,e.endEdit.bind(e)))}}function Btt(i,a){if(1&i&&L(0),2&i){const e=C();id(" You have ",e.rowChangesCount," changes in this row and ",e.hiddenColumnsCount," hidden columns\n")}}function $tt(i,a){if(1&i){const e=Te();D(0,"button",91),G("click",function(n){return Y(e),K(C().endRowEditTabStop(!1,n))}),L(1),v(),D(2,"button",91),G("click",function(n){return Y(e),K(C().endRowEditTabStop(!0,n))}),L(3),v()}if(2&i){const e=C();f(1),me(e.resourceStrings.igx_grid_row_edit_btn_cancel),f(2),me(e.resourceStrings.igx_grid_row_edit_btn_done)}}function Ltt(i,a){1&i&&be(0)}function Vtt(i,a){1&i&&be(0)}function Ntt(i,a){if(1&i&&(D(0,"div",92)(1,"span",93),$(2,Ltt,1,0,"ng-container",69),v()(),D(3,"div",94)(4,"div",95),$(5,Vtt,1,0,"ng-container",69),v()()),2&i){const e=C(),t=ae(85),n=ae(87);f(2),b("ngTemplateOutlet","IgxAddRow"===(null==e.crudService.row?null:e.crudService.row.getClassName())?e.rowAddTextTemplate:e.rowEditTextTemplate?e.rowEditTextTemplate:t)("ngTemplateOutletContext",ln(4,ir,"IgxAddRow"!==(null==e.crudService.row?null:e.crudService.row.getClassName())?e.rowChangesCount:null)),f(3),b("ngTemplateOutlet",e.rowEditActionsTemplate?e.rowEditActionsTemplate:n)("ngTemplateOutletContext",ln(6,ir,e.endEdit.bind(e)))}}function Ott(i,a){1&i&&(D(0,"igx-icon"),L(1,"drag_indicator"),v())}function Wtt(i,a){1&i&&ce(0,"igx-grid-column-resizer")}const Pue=[[["igx-grid-toolbar"]],[["igx-grid-footer"]],[["igx-paginator"]]],Fue=(i,a,e,t,n,r,s,o)=>[i,a,e,t,n,r,s,o],Bue=["igx-grid-toolbar","igx-grid-footer","igx-paginator"];function Rnt(i,a){if(1&i){const e=Te();Re(0),D(1,"button",1,2),G("click",function(){Y(e);const n=ae(2),r=ae(11),s=ae(10);return K(C().toggle(n,r,s))}),D(3,"igx-icon"),L(4),v(),D(5,"span"),L(6),v(),D(7,"span"),L(8),v()(),D(9,"igx-column-actions",3,4),G("opened",function(){Y(e);const n=ae(11);return K(C().focusSearch(n.element))}),v(),Pe()}if(2&i){const e=C();f(1),b("title",null==e.grid?null:e.grid.resourceStrings.igx_grid_toolbar_hiding_button_tooltip)("displayDensity",e.grid.displayDensity),f(3),me(e.grid.hiddenColumnsCount?"visibility_off":"visibility"),f(2),me(e.grid.hiddenColumnsCount),f(2),me(e.buttonText),f(1),b("grid",e.grid)("title",e.title||(null==e.grid?null:e.grid.resourceStrings.igx_grid_toolbar_hiding_title))("filterColumnsPrompt",e.prompt||(null==e.grid?null:e.grid.resourceStrings.igx_grid_toolbar_actions_filter_prompt))("hideFilter",e.hideFilter)("filterCriteria",e.filterCriteria)("columnDisplayOrder",e.columnDisplayOrder)("columnsAreaMaxHeight",e.columnsAreaMaxHeight)("uncheckAllText",e.uncheckAllText)("checkAllText",e.checkAllText)("indentation",e.indentetion)}}function Pnt(i,a){if(1&i){const e=Te();Re(0),D(1,"button",1,2),G("click",function(){Y(e);const n=ae(2),r=ae(10),s=ae(9);return K(C().toggle(n,r,s))}),ce(3,"igx-icon",3),D(4,"span"),L(5),v(),D(6,"span"),L(7),v()(),D(8,"igx-column-actions",4,5),G("opened",function(){Y(e);const n=ae(10);return K(C().focusSearch(n.element))}),v(),Pe()}if(2&i){const e=C();f(1),b("title",null==e.grid?null:e.grid.resourceStrings.igx_grid_toolbar_pinning_button_tooltip)("displayDensity",e.grid.displayDensity),f(2),b("name",e.grid.pinnedColumnsCount?"pin-left":"unpin-left"),f(2),me(e.grid.pinnedColumnsCount),f(2),me(e.buttonText),f(1),b("grid",e.grid)("title",e.title||(null==e.grid?null:e.grid.resourceStrings.igx_grid_toolbar_pinning_title))("filterColumnsPrompt",e.prompt||(null==e.grid?null:e.grid.resourceStrings.igx_grid_toolbar_actions_filter_prompt))("hideFilter",e.hideFilter)("filterCriteria",e.filterCriteria)("columnDisplayOrder",e.columnDisplayOrder)("columnsAreaMaxHeight",e.columnsAreaMaxHeight)("uncheckAllText",e.uncheckAllText)("checkAllText",e.checkAllText)("indentation",e.indentetion)}}function Xot(i,a){if(1&i){const e=Te();D(0,"igx-icon",5),G("click",function(){return Y(e),K(C()._triggerAction())}),L(1),v()}if(2&i){const e=C();f(1),Ge(" ",e.actionButtonIcon," ")}}function Yot(i,a){if(1&i&&(D(0,"h1",6),L(1),v()),2&i){const e=C();ke("id",e.titleId),f(1),Ge(" ",e.title," ")}}const Kot=[[["igx-navbar-action"],["","igxNavbarAction",""]],[["igx-navbar-title"],["","igxNavbarTitle",""]],"*"],Zot=["igx-navbar-action, [igxNavbarAction]","igx-navbar-title, [igxNavbarTitle]","*"],Qot=["aside"],Jot=["overlay"],elt=["dummy"];function tlt(i,a){1&i&&(D(0,"div",8),L(1,"Navigation Drawer"),v(),D(2,"div",9),L(3," Start by adding"),v(),D(4,"div",9)(5,"code"),L(6,""),v()(),D(7,"div",9),L(8," And some items inside "),v(),D(9,"div",9),L(10," Style with igxDrawerItem "),v(),D(11,"div",9),L(12," and igxRipple directives"),v()),2&i&&b("isHeader",!0)}function ilt(i,a){1&i&&be(0)}let zv=(()=>{class i{constructor(){this.navs={}}add(e,t){this.navs[e]=t}remove(e){delete this.navs[e]}get(e){if(e)return this.navs[e]}toggle(e,...t){if(this.navs[e])return this.navs[e].toggle(...t)}open(e,...t){if(this.navs[e])return this.navs[e].open(...t)}close(e,...t){if(this.navs[e])return this.navs[e].close(...t)}static#e=this.\u0275fac=function(t){return new(t||i)};static#t=this.\u0275prov=Mt({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();const n1={};let yz=0,Lue=!1;const Dht=i=>(i=>{if(n1.hasOwnProperty(i)){const a=n1[i];delete n1[i],a()}})(i.data),LB=()=>window.ResizeObserver,Bn=(i,a)=>{const e=[];if(!i)return e;let t=i.length;for(;t--;)e[t]=a?Kp(i[t]):i[t];return e},xz=(i,a)=>{const e=[];if(!i)return e;for(const t of i){const n=Kp(t);Array.isArray(t[a])&&(n[a]=xz(n[a],a)),e.push(n)}return e},df=(i,a)=>kF(i,a,(e,t)=>{if(Array.isArray(t))return t}),Kp=i=>{if(Eu(i))return new Date(i.getTime());if(Array.isArray(i))return[...i];if(i instanceof Map||i instanceof Set)return i;if(nb(i)){const a={};for(const e of Object.keys(i))a[e]=Kp(i[e]);return a}return i},Qd=i=>Eu(i)?isNaN(i.getTime())?null:i:i?new Date(i):null,nb=i=>!(!i||"[object Object]"!==i.toString()),Eu=i=>i instanceof Date,Hv=(i,a)=>Eu(i)&&Eu(a)?i.getTime()===a.getTime():i===a,Nue=i=>isNaN(i)&&void 0!==i&&"string"!=typeof i;let un=(()=>{class i{constructor(e){this.platformId=e,this.isBrowser=function WBe(i){return"browser"===i}(this.platformId),this.isIOS=this.isBrowser&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!("MSStream"in window),this.isFirefox=this.isBrowser&&/Firefox[\/\s](\d+\.\d+)/.test(navigator.userAgent),this.isEdge=this.isBrowser&&/Edge[\/\s](\d+\.\d+)/.test(navigator.userAgent),this.isChromium=this.isBrowser&&(/Chrom|e?ium/g.test(navigator.userAgent)||/Google Inc/g.test(navigator.vendor))&&!/Edge/g.test(navigator.userAgent),this.KEYMAP={ENTER:"Enter",SPACE:" ",ESCAPE:"Escape",ARROW_DOWN:"ArrowDown",ARROW_UP:"ArrowUp",ARROW_LEFT:"ArrowLeft",ARROW_RIGHT:"ArrowRight",END:"End",HOME:"Home",PAGE_DOWN:"PageDown",PAGE_UP:"PageUp",F2:"F2",TAB:"Tab",SEMICOLON:";",DELETE:"Delete",BACKSPACE:"Backspace",CONTROL:"Control",X:"x",Y:"y",Z:"z"}}getNodeSizeViaRange(e,t,n){let s,r=null;if(this.isFirefox||(r=t.style.overflow,t.style.overflow="visible"),n){const u=n.style;s=[u.width,u.minWidth,u.flexBasis],u.width="",u.minWidth="",u.flexBasis=""}e.selectNodeContents(t);const o=t.getBoundingClientRect().width/t.offsetWidth,l=e.getBoundingClientRect().width/o;return this.isFirefox||(t.style.overflow=r),n&&(n.style.width=s[0],n.style.minWidth=s[1],n.style.flexBasis=s[2]),l}isActivationKey(e){return e.key===this.KEYMAP.ENTER||e.key===this.KEYMAP.SPACE}isFilteringKeyCombo(e){return e.key===this.KEYMAP.ESCAPE||e.ctrlKey&&e.shiftKey&&"l"===e.key.toLowerCase()}isLeftClick(e){return 0===e.button}isNavigationKey(e){return[this.KEYMAP.HOME,this.KEYMAP.END,this.KEYMAP.SPACE,this.KEYMAP.ARROW_DOWN,this.KEYMAP.ARROW_LEFT,this.KEYMAP.ARROW_RIGHT,this.KEYMAP.ARROW_UP].includes(e)}static#e=this.\u0275fac=function(t){return new(t||i)(Ue(Zh))};static#t=this.\u0275prov=Mt({token:i,factory:i.\u0275fac,providedIn:"root"})}return i})();const Sz=i=>{let a=[];return i.forEach(e=>{if(a.push(e),e.children){const t=Array.isArray(e.children)?e.children:e.children.toArray();a=a.concat(Sz(t))}}),a},Oue=new Set(["arrowleft","left","arrowright","right","home","end"]),ab=new Set(["down","up","left","right","arrowdown","arrowup","arrowleft","arrowright","home","end","space","spacebar"," "]),VB=(new Set("up down arrowup arrowdown home end".split(" ")),new Set("right down arrowright arrowdown".split(" "))),NB=new Set("left up arrowleft arrowup".split(" ")),Wue=new Set(["+","add","\u2260","\xb1","="]),Dz=new Set([...Array.from(ab),...Array.from(Wue),"enter","f2","escape","esc","pagedown","pageup"]),Cz=new Set([...Array.from(ab),"escape","esc","l","\xac"]),vz=i=>new ha(a=>{const e=new(LB())(n=>{a.next(n)});return e.observe(i),()=>e.disconnect()}),jue=(i,a)=>{if(!a)return!i;if(i.size!==a.size)return!1;let e=!0;const t=Array.from(a.keys());for(const n of t)if(e=!!i.has(n)&&i.get(n)===a.get(n),!e)break;return e},fo=(i,a)=>{const e=a?.split(".")??[];let t=i[e.shift()];return e.forEach(n=>{t&&(t=t[n])}),t},Mz=(i,a,e,t)=>{let n=0;const r=()=>{const s=Math.min(n+a,i);for(;n{i.apply(void 0,a)};const e=window.location;window.postMessage(yz+"",e.protocol+"//"+e.host)}(r):t()};r()},qv=(i,a,e,t)=>null==i||""===i?"":BP(i,a,e,t),wz=new jx(void 0).transform,Uv=i=>{const a=parseFloat(getComputedStyle(document.documentElement).getPropertyValue("--ig-base-font-size"));return Number(i)/a};var a1=function(i){return i[i.None=0]="None",i[i.IncorrectPageIndex=1]="IncorrectPageIndex",i[i.IncorrectRecordsPerPage=2]="IncorrectRecordsPerPage",i}(a1||{}),an=function(i){return i.ADD="add",i.DELETE="delete",i.UPDATE="update",i}(an||{}),Jd=function(i){return i.UNDO="undo",i.REDO="redo",i.CLEAR="clear",i.ADD="add",i.END="endPending",i}(Jd||{}),En=function(i){return i[i.None=0]="None",i[i.Asc=1]="Asc",i[i.Desc=2]="Desc",i}(En||{});let oS=(()=>{class i{static#e=this._instance=null;constructor(){}static instance(){return this._instance||(this._instance=new this)}sort(e,t,n,r,s,o,l){const u=t,c=n===En.Desc?-1:1;return this.arraySort(e,(d,g)=>this.compareObjects(d,g,u,c,r,s,o,l))}compareValues(e,t){const r=null==t;return null==e?r?0:-1:r||e>t?1:ei.length===a.length&&i.every((t,n)=>{const s=e.find(o=>o.fieldName===t.fieldName).groupingComparer||oS.instance().compareValues;return t.fieldName===a[n].fieldName&&0===s(t.value,a[n].value)}),Iz=i=>{const a=[];if(void 0!==i&&i.expression)for(a.push({fieldName:i.expression.fieldName,value:i.value});i.groupParent;)a.unshift({fieldName:(i=i.groupParent).expression.fieldName,value:i.value});return a},OB="dateTime";class WB{sort(a,e,t){return this.sortDataRecursive(a,e,0,t)}groupDataRecursive(a,e,t,n,r,s=null,o=[],l={data:[],metadata:[]}){const u=e.expressions,c=e.expansion;let h=0,d=[];for(;hTz(O.hierarchy||[{fieldName:x.expression.fieldName,value:x.value}],w,u)),P=T?T.expanded:e.defaultExpanded;let F;if(d.push(x),r.push(null),l.data.push(x),l.metadata.push(null),t=u||c<=1)return a;const h=e[t];h.strategy||(h.strategy=oS.instance());const d=n?.getColumnByName(h.fieldName),g="date"===d?.dataType||d?.dataType===OB,p="time"===d?.dataType||d?.dataType===OB,m="string"===d?.dataType;if(a=h.strategy.sort(a,h.fieldName,h.dir,h.ignoreCase,this.getFieldValue,g,p,n),t===u-1)return a;for(r=0;r1&&(o=this.sortDataRecursive(o,e,t+1,n)),s=0;s{const l=ra.cloneTreeGridRecord(o);l.parent=n,l.children&&(l.children=ra.treeGridSort(l.children,e,t,l,r)),s.push(l)}),s=ra.sort(s,e,t,r),s}static cloneTreeGridRecord(a){return{key:a.key,data:a.data,children:a.children,isFilteredOutParent:a.isFilteredOutParent,level:a.level,expanded:a.expanded}}static group(a,e,t=new Aht,n=null,r=[],s={data:[],metadata:[]}){return r.splice(0,r.length),t.groupBy(a,e,n,r,s)}static page(a,e,t){if(!e)return a;const n=void 0!==t?t:a.length,r=e.index,s=[],o=void 0!==t&&e.recordsPerPage>t?t:e.recordsPerPage;return e.metadata={countPages:0,countRecords:n,error:a1.None},r<0||isNaN(r)?(e.metadata.error=a1.IncorrectPageIndex,s):o<=0||isNaN(o)?(e.metadata.error=a1.IncorrectRecordsPerPage,s):(e.metadata.countPages=Math.ceil(n/o),n?r>=e.metadata.countPages?(e.metadata.error=a1.IncorrectPageIndex,s):a.slice(r*o,(r+1)*o):a)}static correctPagingState(a,e){const t=Math.ceil(e/a.recordsPerPage)-1;!isNaN(t)&&a.index>t&&(a.index=t)}static getHierarchy(a){return Iz(a)}static isHierarchyMatch(a,e,t){return Tz(a,e,t)}static mergeTransactions(a,e,t,n=new r1,r=!1){return a.forEach((s,o)=>{const l=t?s[t]:s,u=e.find(c=>c.id===l);u&&u.type===an.UPDATE&&(a[o]=df(n.clone(a[o]),u.newValue))}),r&&e.filter(s=>s.type===an.DELETE).forEach(s=>{const o=a.findIndex(t?l=>l[t]===s.id:l=>l===s.id);0<=o&&os.type===an.ADD).map(s=>s.newValue)),a}static mergeHierarchicalTransactions(a,e,t,n,r=new r1,s=!1){for(const o of e)if(o.path){const l=this.findParentFromPath(a,n,t,o.path);let u=l?l[t]:a;switch(o.type){case an.ADD:l&&!l[t]&&(l[t]=u=[]),u.push(o.newValue);break;case an.UPDATE:const c=u.findIndex(h=>h[n]===o.id);-1!==c&&(u[c]=df(r.clone(u[c]),o.newValue));break;case an.DELETE:if(s){const h=u.findIndex(d=>d[n]===o.id);-1!==h&&u.splice(h,1)}}}else a.push(o.newValue);return a}static parseValue(a,e){return(a===xt.Number||a===xt.Currency||a===xt.Percent)&&(e=parseFloat(e)),e}static findParentFromPath(a,e,t,n){let s,r=a;for(const o of n){if(s=r&&r.find(l=>l[e]===o),!s)break;r=s[t]}return s}}class Ru{static getKeysFromData(a){const e=a.length;if(0===e)return[];const t=a[0],n=a[Math.floor(e/2)],r=a[e-1],s=Object.keys(t),o=Object.keys(n),l=Object.keys(r),u=new Set(s.concat(o).concat(l));return Ru.isSpecialData(t)?["Column 1"]:Array.from(u)}static saveBlobToFile(a,e){const t=document.createElement("a"),n=window.URL.createObjectURL(a);t.download=e,t.href=n,document.body.appendChild(t),t.click(),document.body.removeChild(t),window.URL.revokeObjectURL(n)}static stringToArrayBuffer(a){const e=new ArrayBuffer(a.length),t=new Uint8Array(e);for(let n=0;n!==a.length;++n)t[n]=255&a.charCodeAt(n);return e}static isSpecialData(a){return"string"==typeof a||"number"==typeof a||a instanceof Date}static hasValue(a){return null!=a}static isNullOrWhitespaces(a){return null==a||!a.trim()}static sanitizeValue(a){return this.hasValue(a)?String(a).replace(/&/g,"&").replace(//g,">").replace(/"/g,""").replace(/'/g,"'"):""}}var Az=function(i){return i[i.Regular=0]="Regular",i[i.Advanced=1]="Advanced",i}(Az||{});class In{constructor(a,e){this.filteringOperands=[],this.operator=a,this.fieldName=e}static empty(a){return!a||!a.filteringOperands||!a.filteringOperands.length}find(a){const e=this.findIndex(a);return e>-1?this.filteringOperands[e]:null}findIndex(a){let e;for(let t=0;t{let o=fo(s,n);const l=a.formatter&&this.shouldFormatFilterValues(a);return o=l?a.formatter(o,s):o,{value:o,label:this.getFilterItemLabel(a,o,!l,s)}});return r=this.getUniqueFilterItems(a,r),Promise.resolve(r)}getFilterItemLabel(a,e,t,n){if(a.formatter)return t?a.formatter(e,n):e;const{display:r,format:s,digitsInfo:o,currencyCode:l,timezone:u}=a.pipeArgs,c=a.grid.locale;switch(a.dataType){case xt.Date:case xt.DateTime:case xt.Time:return qv(e,s,c,u);case xt.Currency:return wz(e,l||ov(c),r,o,c);case xt.Number:return lv(e,c,o);case xt.Percent:return dI(e,c,o);default:return e}}getUniqueFilterItems(a,e){const t=e.reduce((r,s)=>{let o=s.value;if(a.dataType===xt.String&&a.filteringIgnoreCase)o=o?.toString().toLowerCase();else if(a.dataType===xt.DateTime)o=s.value?.toString(),s.value=o&&new Date(o);else if(a.dataType===xt.Time){const l=o&&new Date(o);o=l?(new Date).setHours(l.getHours(),l.getMinutes(),l.getSeconds()):o,s.value=o&&new Date(o)}else if(a.dataType===xt.Date){const l=o&&new Date(o);o=l?new Date(l.getFullYear(),l.getMonth(),l.getDate()).toISOString():o,s.value=l}return r.has(o)?r:r.set(o,s)},new Map);return Array.from(t.values())}shouldFormatFilterValues(a){return!1}}let kz=(()=>{class i extends Uue{static#e=this._instance=null;constructor(){super()}static instance(){return this._instance||(this._instance=new this)}filter(e,t,n,r){let s,o;const l=e.length,u=[];if(In.empty(t)&&In.empty(n)||!l)return e;for(s=0;s0?c:null}this.matchRecord(o,e,r)&&this.matchRecord(o,t,r)?u.push(o):o.children&&o.children.length>0&&(o.isFilteredOutParent=!0,u.push(o))}return u}isHierarchicalFilterField(a){return this.hierarchicalFilterFields&&-1!==this.hierarchicalFilterFields.indexOf(a)}getFilterItems(a,e){if(!this.isHierarchicalFilterField(a.field))return super.getFilterItems(a,e);let t=a.grid.gridAPI.filterTreeDataByExpressions(e);t=ra.treeGridSort(t,[{fieldName:a.field,dir:En.Asc,ignoreCase:a.sortingIgnoreCase}],a.grid.sortStrategy,null,a.grid);const n=this.getHierarchicalFilterItems(t,a);return Promise.resolve(n)}getHierarchicalFilterItems(a,e,t){return a?.map(n=>{let r=fo(n.data,e.field);const s=e.formatter&&this.shouldFormatFilterValues(e);r=s?e.formatter(r,n.data):r;const l={value:t?r||0===r?`${t.value}.[${r}]`:r:`[${r}]`};return l.label=this.getFilterItemLabel(e,r,!s,n.data),l.children=this.getHierarchicalFilterItems(n.children,e,l),l})}}const sb_quickFilter="quickFilter",sb_excelStyleFilter="excelStyleFilter",nd_top="top",nd_bottom="bottom",ad_rootLevelOnly="rootLevelOnly",ad_childLevelsOnly="childLevelsOnly",ad_rootAndChildLevels="rootAndChildLevels",sa_none="none",sa_single="single",sa_multiple="multiple",sa_multipleCascade="multipleCascade",Ez_Alphabetical="Alphabetical",Ez_DisplayOrder="DisplayOrder";var Rz=function(i){return i[i.Start=0]="Start",i[i.End=1]="End",i}(Rz||{}),Xue=function(i){return i[i.Top=0]="Top",i[i.Bottom=1]="Bottom",i}(Xue||{}),lS=function(i){return i[i.Local=0]="Local",i[i.Remote=1]="Remote",i}(lS||{}),s1=function(i){return i[i.Grid=0]="Grid",i[i.TreeGrid=1]="TreeGrid",i}(s1||{}),ga=function(i){return i.GroupedRecord="GroupedRecord",i.TreeGridRecord="TreeGridRecord",i.DataRecord="DataRecord",i.HierarchicalGridRecord="HierarchicalGridRecord",i.HeaderRecord="HeaderRecord",i.SummaryRecord="SummaryRecord",i.PivotGridRecord="PivotGridRecord",i}(ga||{}),hs=function(i){return i.RowHeader="RowHeader",i.ColumnHeader="ColumnHeader",i.MultiRowHeader="MultiRowHeader",i.MultiColumnHeader="MultiColumnHeader",i}(hs||{});class Pht{get columnIndex(){return this._columnIndex}set columnIndex(a){this._columnIndex=a,this.userSetIndex=!0}constructor(a){this.userSetIndex=!1,this.header=a.header,this.field=a.field,this.cancel=a.cancel,this.skipFormatter=a.skipFormatter,this.grid=a.grid,this.owner=a.owner,this._columnIndex=a.columnIndex}}const Zp="default",o1="igxGridRootSummary",ob="grid-parent",Xg="GRID_LEVEL_COL",Fz="grid-child-";class Yue{constructor(){this.exportEnded=new Q,this.rowExporting=new Q,this.columnExporting=new Q,this._sort=null,this._ownersMap=new Map,this._setChildSummaries=!1,this.summaries=new Map,this.rowIslandCounter=-1,this.flatRecords=[],this.pivotGridColumns=[],this.pivotGridKeyValueMap=new Map}export(a,e){if(null==e)throw Error("No options provided!");this.options=e,this.locale=a.locale;let t=a.columns;this.options.ignoreMultiColumnHeaders&&(t=t.filter(s=>void 0===s.children));const n=this.getColumns(t),r=a.nativeElement.tagName.toLowerCase();if("igx-hierarchical-grid"===r){this._ownersMap.set(a,n);const s=a.childLayoutList;for(const o of s)this.mapHierarchicalGridColumns(o,a.data[0])}else"igx-pivot-grid"===r?(this.pivotGridColumns=[],this.isPivotGridExport=!0,this.pivotGridKeyValueMap=new Map,this.pivotGridRowDimensionsMap=new Map,a.pivotConfiguration.rows.filter(s=>s.enabled).forEach(s=>{this.addToRowDimensionsMap(s,s.memberName)}),this._ownersMap.set(Zp,n)):this._ownersMap.set(Zp,n);this.summaries=this.prepareSummaries(a),this._setChildSummaries=this.summaries.size>1&&a.summaryCalculationMode!==ad_rootLevelOnly,this.addLevelColumns(),this.prepareData(a),this.addLevelData(),this.addPivotGridColumns(a),this.exportGridRecordsData(this.flatRecords,a)}exportData(a,e){if(null==e)throw Error("No options provided!");this.options=e;const t=a.map(n=>({data:n,type:ga.DataRecord,level:0}));this.exportGridRecordsData(t)}addToRowDimensionsMap(a,e){this.pivotGridRowDimensionsMap[a.memberName]=e,a.childLevel&&this.addToRowDimensionsMap(a.childLevel,e)}exportGridRecordsData(a,e){if(0===this._ownersMap.size){const o=a.filter(d=>d.type!==ga.SummaryRecord).map(d=>d.data),l=Ru.getKeysFromData(o),u=l.map(d=>({header:d,field:d,skip:!1,headerType:hs.ColumnHeader,level:0,columnSpan:1})),c=new Array(l.length).fill(8.43);this._ownersMap.set(Zp,{columns:u,columnWidths:c,indexOfLastPinnedColumn:-1,maxLevel:0})}let t=!1;for(const[o,l]of this._ownersMap){let u=0,c=1,h=l.indexOfLastPinnedColumn;l.columns.forEach((d,g)=>{if(!d.skip){const p={header:Ru.isNullOrWhitespaces(d.header)?"Column"+c++:d.header,field:d.field,columnIndex:g,cancel:!1,skipFormatter:!1,grid:o===Zp?e:o},m=new Pht(p);if(this.columnExporting.emit(m),d.header=m.header,d.skip=m.cancel,d.skipFormatter=m.skipFormatter,m.userSetIndex&&(d.exportIndex=m.columnIndex,t=!0),d.skip){g<=h&&u++,this.calculateColumnSpans(d,l,d.columnSpan);const _=l.columns.filter(y=>!y.skip);_.length>0&&(this._ownersMap.get(o).maxLevel=_.sort((y,x)=>x.level-y.level)[0].level)}this._sort&&this._sort.fieldName===d.field&&(d.skip?this._sort=null:this._sort.fieldName=d.header)}}),h-=u,t&&(l.columns=this.reorderColumns(l.columns))}const n=new Array,r=a[0]?.data,s=Ru.isSpecialData(r);Mz(a.length,100,o=>{this.exportRow(n,a[o],o,s)},()=>{this.exportDataImplementation(n,this.options,()=>{this.resetDefaults()})})}calculateColumnSpans(a,e,t){a.headerType===hs.MultiColumnHeader&&a.skip&&e.columns.filter(s=>s.columnGroupParent===a.columnGroup).forEach(s=>{s.headerType===hs.MultiColumnHeader?(s.columnSpan=0,s.columnGroupParent=null,s.skip=!0,this.calculateColumnSpans(s,e,s.columnSpan)):s.skip=!0});const n=e.columns.filter(r=>null!==a.columnGroupParent&&r.columnGroup===a.columnGroupParent)[0];void 0!==n&&(n.columnSpan-=t,null!==n.columnGroupParent&&this.calculateColumnSpans(n,e,t),0===n.columnSpan&&(n.skip=!0))}exportRow(a,e,t,n){if(!n){const o=this._ownersMap.get(void 0===e.owner?Zp:e.owner).columns;if(e.type!==ga.HeaderRecord){const l=o.filter(u=>u.headerType===hs.ColumnHeader&&!u.skip).sort((u,c)=>u.startIndex-c.startIndex).sort((u,c)=>u.pinnedIndex-c.pinnedIndex);e.data=l.reduce((u,c)=>{if(!c.skip){let h=fo(e.data,c.field);const d=c.formatter&&!c.skipFormatter&&e.type!==ga.GroupedRecord;"date"!==c.dataType&&"dateTime"!==c.dataType&&"time"!==c.dataType||e.type===ga.SummaryRecord||e.type===ga.GroupedRecord||h instanceof Date||d||null==h?"string"===c.dataType&&h instanceof Date&&(h=h.toString()):h=new Date(h);let p=d?c.formatter(h,e.data):h;this.isPivotGridExport&&!isNaN(parseFloat(p))&&(p=parseFloat(p)),u[c.field]=p}return u},{})}else{const l=o.filter(u=>u.skip).map(u=>u.header?u.header:u.field);e.data=e.data.filter(u=>-1===l.indexOf(u))}}const r={rowData:e.data,rowIndex:t,cancel:!1};this.rowExporting.emit(r),r.cancel||a.push(e)}reorderColumns(a){const e=a.filter(o=>!o.skip),t=e.length,n=e.filter(o=>!isNaN(o.exportIndex)).sort((o,l)=>o.exportIndex-l.exportIndex),r=n.map(o=>o.exportIndex);n.forEach(o=>{e.splice(e.indexOf(o),1)});const s=new Array(t);if(n.length>Math.max(...r))return n.concat(e);r.forEach((o,l)=>{if(o<0||o>=t)e.push(n[l]);else{let u=o;for(;u0||a.advancedFilteringExpressionsTree&&a.advancedFilteringExpressionsTree.filteringOperands.length>0,n=a.groupingExpressions?a.groupingExpressions.concat(a.sortingExpressions||[]):a.sortingExpressions,r=n&&n.length>0;let s=!1;switch(e){case"igx-pivot-grid":this.preparePivotGridData(a);break;case"igx-hierarchical-grid":this.prepareHierarchicalGridData(a,t,r),s=!0;break;case"igx-tree-grid":this.prepareTreeGridData(a,t,r);break;default:this.prepareGridData(a,t,r)}this.summaries.size>0&&a.summaryCalculationMode!==ad_childLevelsOnly&&(s?this.setSummaries(o1,0,!1,a):this.setSummaries(o1))}preparePivotGridData(a){for(const e of a.filteredSortedData){const t=Object.fromEntries(e.aggregationValues);e.dimensionValues.forEach((r,s)=>{t[this.pivotGridRowDimensionsMap[s]]=r}),this.flatRecords.push({data:t,level:e.level,type:ga.PivotGridRecord})}}prepareHierarchicalGridData(a,e,t){if(e&&this.options.ignoreFiltering||t&&this.options.ignoreSorting){let r=a.data;e&&!this.options.ignoreFiltering&&(r=rb.filter(r,{expressionsTree:a.filteringExpressionsTree,advancedExpressionsTree:a.advancedFilteringExpressionsTree,strategy:a.filterStrategy},a)),t&&!this.options.ignoreSorting&&(this._sort=Kp(a.sortingExpressions[0]),r=ra.sort(r,a.sortingExpressions,a.sortStrategy,a)),this.addHierarchicalGridData(a,r)}else this.addHierarchicalGridData(a,a.filteredSortedData)}addHierarchicalGridData(a,e){const t=a.childLayoutList,n=this._ownersMap.get(a).columns.map(r=>r.field);for(const r of e){const s=!!a.expansionStates.has(r)&&a.expansionStates.get(r),l={data:Object.keys(r).filter(u=>n.includes(u)).reduce((u,c)=>(u[c]=r[c],u),{}),level:0,type:ga.HierarchicalGridRecord,owner:a,hierarchicalOwner:ob};this.flatRecords.push(l);for(const u of t){const c={rowID:u.primaryKey?r[u.primaryKey]:r,rowIslandKey:u.key},h=a?.gridAPI.getChildGrid([c]),d=this.prepareIslandData(u,h,r[u.key])||[];this.getAllChildColumnsAndData(u,d,s,h)}}}prepareSummaries(a){let e=new Map;if(this.options.exportSummaries&&a.summaryService.summaryCacheMap.size>0){const t=a.summaryService.summaryCacheMap;switch(a.summaryCalculationMode){case ad_childLevelsOnly:t.delete(o1);break;case ad_rootLevelOnly:for(const n of t.keys())n!==o1&&t.delete(n)}e=t}return e}prepareIslandData(a,e,t){if(void 0!==e){const n=e.filteringExpressionsTree&&e.filteringExpressionsTree.filteringOperands.length>0||e.advancedFilteringExpressionsTree&&e.advancedFilteringExpressionsTree.filteringOperands.length>0,r=e.sortingExpressions&&e.sortingExpressions.length>0;n&&this.options.ignoreFiltering||r&&this.options.ignoreSorting?(n&&!this.options.ignoreFiltering&&(t=rb.filter(t,{expressionsTree:e.filteringExpressionsTree,advancedExpressionsTree:e.advancedFilteringExpressionsTree,strategy:e.filterStrategy},e)),r&&!this.options.ignoreSorting&&(this._sort=Kp(e.sortingExpressions[0]),t=ra.sort(t,e.sortingExpressions,e.sortStrategy,e))):t=e.filteredSortedData}else{const n=a.filteringExpressionsTree&&a.filteringExpressionsTree.filteringOperands.length>0||a.advancedFilteringExpressionsTree&&a.advancedFilteringExpressionsTree.filteringOperands.length>0,r=a.sortingExpressions&&a.sortingExpressions.length>0;(n&&!this.options.ignoreFiltering||r&&!this.options.ignoreSorting)&&(n&&!this.options.ignoreFiltering&&(t=rb.filter(t,{expressionsTree:a.filteringExpressionsTree,advancedExpressionsTree:a.advancedFilteringExpressionsTree,strategy:a.filterStrategy},a)),r&&!this.options.ignoreSorting&&(this._sort=Kp(a.sortingExpressions[0]),t=ra.sort(t,a.sortingExpressions,a.sortStrategy,a)))}return t}getAllChildColumnsAndData(a,e,t,n){const r=`${Fz}${++this.rowIslandCounter}`,l={data:this._ownersMap.get(a).columns.filter(u=>u.headerType===hs.ColumnHeader).map(u=>u.header?u.header:u.field),level:a.level,type:ga.HeaderRecord,owner:a,hidden:!t,hierarchicalOwner:r};if(e&&e.length>0){this.flatRecords.push(l);for(const u of e){const c={data:u,level:a.level,type:ga.HierarchicalGridRecord,owner:a,hidden:!t,hierarchicalOwner:r};if(c.summaryKey=a.key,this.flatRecords.push(c),a.children.length>0){const h=void 0!==n&&!!n.expansionStates.has(u)&&n.expansionStates.get(u);for(const d of a.children){const g={rowID:d.primaryKey?u[d.primaryKey]:u,rowIslandKey:d.key},p=n?.gridAPI.getChildGrid([g]),m=this.prepareIslandData(a,p,u[d.key])||[];this.getAllChildColumnsAndData(d,m,h,p)}}}if(n){const u=this.prepareSummaries(n);for(const c of u.keys()){const h=u.get(c);this.setSummaries(a.key,a.level,!t,a,h,r)}}}}prepareGridData(a,e,t){const n={expressions:a.groupingExpressions,expansion:a.groupingExpansionState,defaultExpanded:a.groupsExpanded},r=a.groupingExpressions&&a.groupingExpressions.length>0;if(e&&this.options.ignoreFiltering||t&&this.options.ignoreSorting||r&&this.options.ignoreGrouping){let o=a.data;if(e&&!this.options.ignoreFiltering&&(o=rb.filter(o,{expressionsTree:a.filteringExpressionsTree,advancedExpressionsTree:a.advancedFilteringExpressionsTree,strategy:a.filterStrategy},a)),t&&!this.options.ignoreSorting){const l=a.groupingExpressions?a.groupingExpressions.concat(a.sortingExpressions||[]):a.sortingExpressions;o=ra.sort(o,l,a.sortStrategy,a)}if(r&&!this.options.ignoreGrouping){const l=[];ra.group(Bn(o),n,a.groupStrategy,a,l),o=l}r&&!this.options.ignoreGrouping?this.addGroupedData(a,o,n,!0):this.addFlatData(o)}else r?this.addGroupedData(a,a.groupsRecords,n,!0):this.addFlatData(a.filteredSortedData)}prepareTreeGridData(a,e,t){if(e&&this.options.ignoreFiltering||t&&this.options.ignoreSorting){let r=a.rootRecords;if(e&&!this.options.ignoreFiltering){const s={expressionsTree:a.filteringExpressionsTree,advancedExpressionsTree:a.advancedFilteringExpressionsTree,strategy:a.filterStrategy?a.filterStrategy:new jB};r=s.strategy.filter(r,s.expressionsTree,s.advancedExpressionsTree)}t&&!this.options.ignoreSorting&&(this._sort=Kp(a.sortingExpressions[0]),r=ra.treeGridSort(r,a.sortingExpressions,a.sortStrategy)),this.addTreeGridData(r)}else this.addTreeGridData(a.processedRootRecords)}addTreeGridData(a,e=!0,t){if(a)for(const n of a)this.flatRecords.push({data:n.data,level:n.level,hidden:!e,type:ga.TreeGridRecord,summaryKey:n.key,hierarchicalOwner:0===n.level?ob:t}),n.children&&this.getTreeGridChildData(n.children,n.key,n.level,n.expanded&&e)}getTreeGridChildData(a,e,t,n=!0){const r=`${Fz}${++this.rowIslandCounter}`;let s=t,o=!n;for(const l of a)if(l.children&&l.children.length>0)this.addTreeGridData([l],n,r),s=l.level;else{const u={data:l.data,level:l.level,hidden:!n,type:ga.DataRecord,hierarchicalOwner:r};this._setChildSummaries&&(u.summaryKey=e),this.flatRecords.push(u),s=l.level,o=!n}this._setChildSummaries&&this.setSummaries(e,s,o,null,null,r)}addFlatData(a){if(a)for(const e of a)this.flatRecords.push({data:e,type:ga.DataRecord,level:0})}setSummaries(a,e=0,t=!1,n,r,s){const o=r??this.summaries.get(a);if(o){const u=[...o.values()].sort((c,h)=>h.length-c.length)[0];for(let c=0;c({label:_.label,value:_.summaryResult}));h[g]=m[c]}const d={data:h,type:ga.SummaryRecord,level:e,hidden:t,summaryKey:a,hierarchicalOwner:s};n&&(d.owner=n),this.flatRecords.push(d)}}}addGroupedData(a,e,t,n,r=!0,s=[]){if(!e)return;let o="";const l=this._ownersMap.get(Zp).columns.filter(u=>u.headerType===hs.ColumnHeader&&!u.skip).sort((u,c)=>u.startIndex-c.startIndex).sort((u,c)=>u.pinnedIndex-c.pinnedIndex)[0].field;for(const u of e){let c=u.value;const h=n?ob:`${Fz}${++this.rowIslandCounter}`,d=Iz(u),g=t.expansion.find(T=>Tz(T.hierarchy||[{fieldName:u.expression.fieldName,value:c}],d,a.groupingExpressions)),p=g?g.expanded:t.defaultExpanded;if(c instanceof Date){const T=6e4*c.getTimezoneOffset(),P=new Date(c-T).toISOString();c=new Og(a.locale).transform(P)}const _=u.column&&u.column.header?u.column.header:u.expression.fieldName;c=null!==c?c:"";const y={data:{[l]:`${_}: ${c??"(Blank)"} (${u.records.length})`},level:u.level,hidden:!r,type:ga.GroupedRecord,hierarchicalOwner:h};this.flatRecords.push(y);let x="",w="";if(this._setChildSummaries&&(x=`'${_}': '${c}'`,s=s.filter(T=>T!==o),o=x,s.push(x),w=`{ ${s.join(", ")} }`,y.summaryKey=w),u.groups.length>0)this.addGroupedData(a,u.groups,t,!1,p&&r,s);else{const T=u.records;for(const P of T){const F={data:P,level:u.level+1,hidden:!(p&&r),type:ga.DataRecord,hierarchicalOwner:h};w&&(F.summaryKey=w),this.flatRecords.push(F)}}this._setChildSummaries&&(this.setSummaries(w,u.level+1,!(p&&r),null,null,h),s.pop())}}getColumns(a){const e=[],t=[],n=[];let r=-1,s=-1,o=0;return a.forEach(u=>{const c=Ru.isNullOrWhitespaces(u.header)?u.field:u.header,h=!u.hidden||this.options.ignoreColumnsVisibility,d=this.options.ignoreColumnsOrder||this.options.ignoreColumnsVisibility?u.index:u.visibleIndex,g=Number(u.width?.slice(0,-2))||8.43,p=this.options.ignoreMultiColumnHeaders?0:u.level,m=u.columnGroup,_=m?u.allChildren.filter(x=>!(x.columnGroup||!this.options.ignoreColumnsVisibility&&x.hidden)).length:1,y={header:Ru.sanitizeValue(c),dataType:u.dataType,field:u.field,skip:!h,formatter:u.formatter,skipFormatter:!1,headerType:m?hs.MultiColumnHeader:hs.ColumnHeader,columnSpan:_,level:p,startIndex:d,pinnedIndex:u.pinned?u.hidden?NaN:u.grid.pinnedColumns.indexOf(u):Number.MAX_VALUE,columnGroupParent:u.parent?u.parent:null,columnGroup:m?u:null};"currency"===u.dataType&&(y.currencyCode=u.pipeArgs.currencyCode?u.pipeArgs.currencyCode:ov(this.locale),y.displayFormat=u.pipeArgs.display?u.pipeArgs.display:"symbol",y.digitsInfo=u.pipeArgs.digitsInfo?u.pipeArgs.digitsInfo:"1.0-2"),"date"===u.dataType&&(y.dateFormat=sv(this.locale,Mu.Medium)),"dateTime"===u.dataType&&(y.dateFormat=uI(this.locale,Mu.Medium)),this.options.ignoreColumnsOrder&&y.startIndex!==y.pinnedIndex&&(y.pinnedIndex=Number.MAX_VALUE),u.level>o&&!this.options.ignoreMultiColumnHeaders&&(o=u.level),-1!==d?(e.push(y),t.push(g),s=Math.max(s,e.indexOf(y))):n.push(y),u.pinned&&h&&y.headerType===hs.ColumnHeader&&r++}),n.forEach(u=>{e[++s]=u}),{columns:e,columnWidths:t,indexOfLastPinnedColumn:r,maxLevel:o}}mapHierarchicalGridColumns(a,e){let t,n;if(a.autoGenerate){n=e[a.key];const r=a.children.map(o=>o.key),s=n.map(o=>{const l={};return Object.keys(o).map(u=>{r.includes(u)||(l[u]=o[u])}),l});t=this.getAutoGeneratedColumns(s)}else t=this.getColumns(a.columns);if(this._ownersMap.set(a,t),a.children.length>0)for(const r of a.children)this.mapHierarchicalGridColumns(r,void 0!==n?n[0]:{})}getAutoGeneratedColumns(a){const e=[],t=[];return Object.keys(a[0]).forEach((s,o)=>{e.push({header:s,field:s,dataType:"string",skip:!1,headerType:hs.ColumnHeader,columnSpan:1,level:0,startIndex:o,pinnedIndex:Number.MAX_VALUE}),t.push(8.43)}),{columns:e,columnWidths:t,indexOfLastPinnedColumn:-1,maxLevel:0}}addPivotGridColumns(a){if("igx-pivot-grid"!==a.nativeElement.tagName.toLowerCase())return;const e=a.pivotConfiguration.rows.filter(n=>n.enabled).map((n,r)=>({name:n.memberName,level:r}));this.preparePivotGridColumns(e),this.pivotGridFilterFieldsCount=e.length;const t=this._ownersMap.get(Zp);t.columns.unshift(...this.pivotGridColumns),t.columnWidths.unshift(...Array(this.pivotGridColumns.length).fill(200)),t.indexOfLastPinnedColumn=e.length-1,t.maxRowLevel=e.length,this._ownersMap.set(Zp,t)}preparePivotGridColumns(a,e){if(0===a.length)return;let t=0;const n=a[0],r=this.flatRecords.map(o=>o.data),s={};if(r.forEach(o=>{const l=o[n.name];s[l]||(s[l]=[]),s[l].push(o)}),e){const o=[...this.pivotGridKeyValueMap.keys()],l=[...this.pivotGridKeyValueMap.values()];for(const u of Object.keys(s))s[u]=s[u].filter(c=>o.every(h=>Object.keys(c).includes(h))&&l.every(h=>Object.values(c).includes(h))),0===s[u].length&&delete s[u]}for(const o of Object.keys(s)){const l=s[o].length,u={rowSpan:l,field:o,header:o,startIndex:t,skip:!1,pinnedIndex:0,level:n.level,dataType:"string",headerType:s[o].length>1?hs.MultiRowHeader:hs.RowHeader};if(e?u.columnGroupParent=e:u.columnGroup=o,this.pivotGridColumns.push(u),a.length>1){this.pivotGridKeyValueMap.set(n.name,o);const c=a.filter(h=>h!==n);this.preparePivotGridColumns(c,o),this.pivotGridKeyValueMap.delete(n.name)}t+=l}}addLevelColumns(){this.options.exportSummaries&&this.summaries.size>0&&this._ownersMap.forEach(a=>{a.columns.push({header:Xg,dataType:"number",field:Xg,skip:!1,skipFormatter:!1,headerType:hs.ColumnHeader,columnSpan:1,level:0}),a.columnWidths.push(20)})}addLevelData(){if(this.options.exportSummaries&&this.summaries.size>0)for(const a of this.flatRecords)(a.type===ga.DataRecord||a.type===ga.TreeGridRecord||a.type===ga.HierarchicalGridRecord)&&(a.data[Xg]=a.level)}resetDefaults(){this._sort=null,this.flatRecords=[],this.options={},this._ownersMap.clear(),this.rowIslandCounter=0}}class Kue{constructor(a,e,t=[]){this._data=a,this.columns=t,this._headerRecord="",this._dataRecords="",this._eor="\r\n",this._escapeCharacters=["\r","\n","\r\n"],this._delimiterLength=1,this._isSpecialData=!1,this.setDelimiter(e)}prepareData(a){if(!this._data||0===this._data.length)return"";let e=[];return e=a||Ru.getKeysFromData(this._data),0===e.length?"":(this._isSpecialData=Ru.isSpecialData(this._data[0]),this._escapeCharacters.push(this._delimiter),this._headerRecord=this.processHeaderRecord(e,this._data.length),this._dataRecords=this.processDataRecords(this._data,e),this._headerRecord+this._dataRecords)}prepareDataAsync(a){const e=this.columns?.filter(r=>!r.skip).sort((r,s)=>r.startIndex-s.startIndex).sort((r,s)=>r.pinnedIndex-s.pinnedIndex),t=e&&e.length?e.map(r=>r.field):Ru.getKeysFromData(this._data);this._isSpecialData=Ru.isSpecialData(this._data[0]),this._escapeCharacters.push(this._delimiter);const n=e&&e.length?e.map(r=>r.header??r.field):t;this._headerRecord=this.processHeaderRecord(n,this._data.length),0!==t.length&&(this._data&&0!==this._data.length||0!==t.length)?this.processDataRecordsAsync(this._data,t,r=>{a(this._headerRecord+r)}):a("")}processField(a,e){let t=Ru.hasValue(a)?String(a):"";return e.some(n=>t.includes(n))&&(t=`"${t}"`),t+this._delimiter}processHeaderRecord(a,e){let t="";for(const r of a)t+=this.processField(r,this._escapeCharacters);const n=t.slice(0,-this._delimiterLength);return e>0?n+this._eor:n}processRecord(a,e){const t=new Array(e.length);for(let n=0;n{n[r]=this.processRecord(a[r],e)},()=>{t(n.join(""))})}setDelimiter(a){this._delimiter=a,this._delimiterLength=a.length}}class Zue{constructor(a,e){this._fileExtension=e,this.ignoreColumnsVisibility=!1,this.ignoreFiltering=!1,this.ignoreColumnsOrder=!1,this.ignoreSorting=!1,this.ignoreGrouping=!1,this.ignoreMultiColumnHeaders=!1,this.exportSummaries=!0,this.freezeHeaders=!1,this.alwaysExportHeaders=!0,this.setFileName(a)}setFileName(a){this._fileName=a+(!1===a.endsWith(this._fileExtension)?this._fileExtension:"")}get fileName(){return this._fileName}set fileName(a){this.setFileName(a)}}var Il=function(i){return i[i.RootExcelFolder=0]="RootExcelFolder",i[i.RootRelsExcelFolder=1]="RootRelsExcelFolder",i[i.DocPropsExcelFolder=2]="DocPropsExcelFolder",i[i.XLExcelFolder=3]="XLExcelFolder",i[i.XLRelsExcelFolder=4]="XLRelsExcelFolder",i[i.ThemeExcelFolder=5]="ThemeExcelFolder",i[i.WorksheetsExcelFolder=6]="WorksheetsExcelFolder",i[i.WorksheetsRelsExcelFolder=7]="WorksheetsRelsExcelFolder",i[i.TablesExcelFolder=8]="TablesExcelFolder",i}(Il||{}),Ms=function(i){return i[i.RootRelsFile=0]="RootRelsFile",i[i.AppFile=1]="AppFile",i[i.CoreFile=2]="CoreFile",i[i.WorkbookRelsFile=3]="WorkbookRelsFile",i[i.ThemeFile=4]="ThemeFile",i[i.WorksheetFile=5]="WorksheetFile",i[i.StyleFile=6]="StyleFile",i[i.WorkbookFile=7]="WorkbookFile",i[i.ContentTypesFile=8]="ContentTypesFile",i[i.SharedStringsFile=9]="SharedStringsFile",i[i.WorksheetRelsFile=10]="WorksheetRelsFile",i[i.TablesFile=11]="TablesFile",i}(Ms||{});let Br=(()=>{class i{static#e=this.XML_STRING='\r\n';static#t=this.SHARED_STRING_RELATIONSHIP='';static getRels(){return i.XML_STRING+''}static getApp(e){return i.XML_STRING+`Microsoft Excel0falseWorksheets1${e}falsefalsefalse16.0300`}static getCore(){return i.XML_STRING+'2015-06-05T18:17:20Z2015-06-05T18:17:26Z'}static getTheme(){return i.XML_STRING+''}static getStyles(){return i.XML_STRING+''}static getWorkbook(e){return i.XML_STRING+``}static getWorksheetRels(){return i.XML_STRING+''}static getWorkbookRels(e){let t=i.XML_STRING+'';return e&&(t+=i.SHARED_STRING_RELATIONSHIP),t+="",t}static getSheetXML(e,t,n,r,s,o=0,l){const u=o>0;return`${i.XML_STRING}\n\n${u?'':""}\n${l?"":``}\n${t}\n\n${n}\n${r}\n\n${s?'':""}`}static getSharedStringXML(e,t,n){return i.XML_STRING+''+n+""}static getContentTypesXML(e,t){let n=i.XML_STRING+'\n \n \n \n \n \n \n \n ';return n+=e?'\t':"",n+=t?'':"",n+="",n}static getTablesXML(e,t,n,r){return`${i.XML_STRING}\n ${r}${n}\n
`}static getExcelColumn(e){let t="";for(;e>=0;)t=String.fromCharCode(65+e%26)+t,e=Math.floor(e/26)-1;return t}}return i})();class Bht{writeElement(a){a[".rels"]=oc(Br.getRels())}}class $ht{writeElement(a,e){a["app.xml"]=oc(Br.getApp(e.options.worksheetName))}}class Lht{writeElement(a){a["core.xml"]=oc(Br.getCore())}}class Vht{writeElement(a,e){a["workbook.xml.rels"]=oc(Br.getWorkbookRels(!e.isEmpty||e.options.alwaysExportHeaders))}}class Nht{writeElement(a){a["theme1.xml"]=oc(Br.getTheme())}}let Que=(()=>{class i{constructor(){this.maxOutlineLevel=0,this.sheetData="",this.dimension="",this.freezePane="",this.rowHeight="",this.mergeCellStr="",this.mergeCellsCounter=0,this.rowIndex=0,this.pivotGridRowHeadersMap=new Map,this.dimensionMap=new Map,this.hierarchicalDimensionMap=new Map,this.currentSummaryOwner="",this.currentHierarchicalOwner="",this.firstColumn=Number.MAX_VALUE,this.firstDataRow=Number.MAX_VALUE,this.currencyStyleMap=new Map([["USD",{styleXf:5,symbol:"$"}],["GBP",{styleXf:6,symbol:"\xa3"}],["CNY",{styleXf:7,symbol:"\xa5"}],["EUR",{styleXf:8,symbol:"\u20ac"}],["JPY",{styleXf:9,symbol:"\xa5"}]])}static#e=this.MIN_WIDTH=8.43;writeElement(){}writeElementAsync(e,t){var n=this;return(0,Dt.Z)(function*(){return new Promise(r=>{n.prepareDataAsync(t,(s,o)=>{e["sheet1.xml"]=oc(Br.getSheetXML(n.dimension,n.freezePane,s,o,(!t.isEmpty||t.options.alwaysExportHeaders)&&t.options.exportAsTable,n.maxOutlineLevel,t.isHierarchical)),r()})})})()}prepareDataAsync(e,t){this.sheetData="";let n="";const r=e.dataDictionary;if(this.rowIndex=0,!e.isEmpty||e.options.alwaysExportHeaders&&0!==e.owner.columns.length){const s=e.owner,o=e.isHierarchical,l=e.hasMultiColumnHeader,u=e.hasMultiRowHeader,c=s.columns.some(m=>void 0!==m.exportIndex),h=e.options.rowHeight;this.isValidGrid=e.isHierarchical||e.isTreeGrid||e.isGroupedGrid,this.rowHeight=h?` ht="${h}" customHeight="1"`:"",this.sheetData+="";let d=[];for(let m=0;m<=s.maxRowLevel;m++)d=s.columns.filter(_=>_.level===m&&_.rowSpan>0&&!_.skip),this.printHeaders(e,d,m,!0),this.rowIndex++;this.rowIndex=0;for(let m=0;m<=s.maxLevel;m++){this.rowIndex++;const _=this.pivotGridRowHeadersMap.get(this.rowIndex)??"";this.sheetData+=`${_}`;const y=s.columns.filter(x=>x.headerType!==hs.RowHeader&&x.headerType!==hs.MultiRowHeader);d=l?y.filter(x=>(x.level0&&!x.skip).sort((x,w)=>x.startIndex-w.startIndex).sort((x,w)=>x.pinnedIndex-w.pinnedIndex):c?y.filter(x=>!x.skip):y.filter(x=>!x.skip).sort((x,w)=>x.startIndex-w.startIndex).sort((x,w)=>x.pinnedIndex-w.pinnedIndex),this.printHeaders(e,d,m,!1),this.sheetData+=""}const p=e.options.freezeHeaders?2+(e.options.ignoreMultiColumnHeaders?0:s.maxLevel):1;if(o){if(n+=``,e.options.freezeHeaders){const _=Br.getExcelColumn(0)+p;this.freezePane=``}}else{if(this.dimension="A1:"+Br.getExcelColumn(e.hasSummaries?e.columnCount+1:e.columnCount-1)+e.rowCount,n+="",l)n+=``;else for(let w=0;w0||(P=i.MIN_WIDTH),n+=``}const _=e.indexOfLastPinnedColumn,y=_+1;let x=Br.getExcelColumn(y)+p;void 0===_||-1===_||e.options.ignorePinning||e.options.ignoreColumnsOrder?e.options.freezeHeaders&&(x=Br.getExcelColumn(0)+p,this.freezePane=``):this.freezePane=``}e.hasSummaries&&(n+=``),n+="",this.processDataRecordsAsync(e,m=>{this.sheetData+=m,this.sheetData+="",(l||u)&&this.mergeCellsCounter>0&&(this.sheetData+=`${this.mergeCellStr}`),t(n,this.sheetData)})}else this.sheetData+="",this.dimension="A1",t("",this.sheetData)}processDataRecordsAsync(e,t){const n=[],r=e.options.rowHeight;this.rowHeight=r?' ht="'+r+'" customHeight="1"':"";const s=e.isHierarchical,o=e.owner.columns.some(u=>void 0!==u.exportIndex);let l=[];Mz(e.rowCount-e.multiColumnHeaderRows-1,1e3,u=>{if(!e.isEmpty){if(s){const c=e.data[u];if(c.type===ga.HeaderRecord){const h=e.owners.get(c.owner);h.columns.some(g=>!g.skip&&g.headerType===hs.MultiColumnHeader)&&this.hGridPrintMultiColHeaders(e,n,c,h)}l=Object.keys(e.data[u].data)}else l=o?e.rootKeys:e.owner.columns.filter(c=>c.headerType===hs.ColumnHeader&&!c.skip).sort((c,h)=>c.startIndex-h.startIndex).sort((c,h)=>c.pinnedIndex-h.pinnedIndex).map(c=>c.field);n.push(this.processRow(e,u,l,s))}},()=>{t(n.join(""))})}hGridPrintMultiColHeaders(e,t,n,r){for(let s=0;s0?` outlineLevel="${o}"`:"";this.maxOutlineLevel=this.maxOutlineLevel